[LoopVectorize] Fix test name - the test is for fshl not cttz intrinsic costs
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 21 Sep 2022 14:24:33 +0000 (15:24 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 21 Sep 2022 14:24:43 +0000 (15:24 +0100)
llvm/test/Transforms/LoopVectorize/X86/intrinsiccost.ll

index 8ca1fee..885144f 100644 (file)
@@ -148,7 +148,7 @@ while.end:                                        ; preds = %while.body, %entry
   ret void
 }
 
-; CHECK-COST-LABEL: cttz
+; CHECK-COST-LABEL: fshl
 ; CHECK-COST: Found an estimated cost of 1 for VF 1 For instruction:   %1 = tail call i8 @llvm.fshl.i8(i8 %0, i8 %0, i8 %offset)
 ; CHECK-COST: Found an estimated cost of 1 for VF 2 For instruction:   %1 = tail call i8 @llvm.fshl.i8(i8 %0, i8 %0, i8 %offset)
 ; CHECK-COST: Found an estimated cost of 1 for VF 4 For instruction:   %1 = tail call i8 @llvm.fshl.i8(i8 %0, i8 %0, i8 %offset)
@@ -156,8 +156,8 @@ while.end:                                        ; preds = %while.body, %entry
 ; CHECK-COST: Found an estimated cost of 1 for VF 16 For instruction:   %1 = tail call i8 @llvm.fshl.i8(i8 %0, i8 %0, i8 %offset)
 ; CHECK-COST: Found an estimated cost of 4 for VF 32 For instruction:   %1 = tail call i8 @llvm.fshl.i8(i8 %0, i8 %0, i8 %offset)
 
-define void @cttz(i8* nocapture readonly %pSrc, i8 signext %offset, i8* nocapture noalias %pDst, i32 %blockSize) #0 {
-; CHECK-LABEL: @cttz(
+define void @fshl(i8* nocapture readonly %pSrc, i8 signext %offset, i8* nocapture noalias %pDst, i32 %blockSize) #0 {
+; CHECK-LABEL: @fshl(
 ; CHECK-NEXT:  entry:
 ; CHECK-NEXT:    [[CMP_NOT6:%.*]] = icmp eq i32 [[BLOCKSIZE:%.*]], 0
 ; CHECK-NEXT:    br i1 [[CMP_NOT6]], label [[WHILE_END:%.*]], label [[ITER_CHECK:%.*]]