Skip to content

Commit 0cedb8f

Browse files
committed
[LV] Update checks to actually check VPlan for correct function.
The checks should apply to test_getVectorCallCost, which doesn't have a wide add.
1 parent 66424b1 commit 0cedb8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/Transforms/LoopVectorize/AArch64/extractvalue-no-scalarization-required.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ exit:
6363
; Similar to the test case above, but checks getVectorCallCost as well.
6464
declare float @powf(float, float) readnone nounwind
6565

66-
; Ensure the extractvalue + add instructions are hoisted out
66+
; Ensure the extractvalue instructions are hoisted out
67+
; CM-LABEL: Checking a loop in 'test_getVectorCallCost'
6768
; CM: vector.ph:
6869
; CM: CLONE ir<%a> = extractvalue ir<%sv>
6970
; CM: CLONE ir<%b> = extractvalue ir<%sv>
70-
; CM: WIDEN ir<%add> = add ir<%a>, ir<%b>
7171
; CM: Successor(s): vector loop
7272

7373
; CM: LV: Scalar loop costs: 14.

0 commit comments

Comments
 (0)