[llvm] 71162ad - [LoopVectorize] Fix test name - the test is for fshl not cttz intrinsic costs
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 21 07:25:10 PDT 2022
Author: Simon Pilgrim
Date: 2022-09-21T15:24:43+01:00
New Revision: 71162ad957d1f88d78ae59b266408f7fc04bb74f
URL: https://github.com/llvm/llvm-project/commit/71162ad957d1f88d78ae59b266408f7fc04bb74f
DIFF: https://github.com/llvm/llvm-project/commit/71162ad957d1f88d78ae59b266408f7fc04bb74f.diff
LOG: [LoopVectorize] Fix test name - the test is for fshl not cttz intrinsic costs
Added:
Modified:
llvm/test/Transforms/LoopVectorize/X86/intrinsiccost.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/LoopVectorize/X86/intrinsiccost.ll b/llvm/test/Transforms/LoopVectorize/X86/intrinsiccost.ll
index 8ca1feef6acd0..885144f9bf882 100644
--- a/llvm/test/Transforms/LoopVectorize/X86/intrinsiccost.ll
+++ b/llvm/test/Transforms/LoopVectorize/X86/intrinsiccost.ll
@@ -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:%.*]]
More information about the llvm-commits
mailing list