[llvm] 8ae9cf5 - [LoopVectorize][X86] Add uniform shift costs checks for VF=1/2/4
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 13 05:55:09 PDT 2022
Author: Simon Pilgrim
Date: 2022-09-13T13:46:52+01:00
New Revision: 8ae9cf550b60f25be8d7bb21ee61af2fce5e317b
URL: https://github.com/llvm/llvm-project/commit/8ae9cf550b60f25be8d7bb21ee61af2fce5e317b
DIFF: https://github.com/llvm/llvm-project/commit/8ae9cf550b60f25be8d7bb21ee61af2fce5e317b.diff
LOG: [LoopVectorize][X86] Add uniform shift costs checks for VF=1/2/4
Added:
Modified:
llvm/test/Transforms/LoopVectorize/X86/uniformshift.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/LoopVectorize/X86/uniformshift.ll b/llvm/test/Transforms/LoopVectorize/X86/uniformshift.ll
index 8d5500dbd58a8..79426a9285286 100644
--- a/llvm/test/Transforms/LoopVectorize/X86/uniformshift.ll
+++ b/llvm/test/Transforms/LoopVectorize/X86/uniformshift.ll
@@ -2,6 +2,8 @@
; REQUIRES: asserts
; CHECK: 'foo'
+; CHECK: LV: Found an estimated cost of 1 for VF 1 For instruction: %shift = ashr i32 %val, %k
+; CHECK: LV: Found an estimated cost of 1 for VF 2 For instruction: %shift = ashr i32 %val, %k
; CHECK: LV: Found an estimated cost of 1 for VF 4 For instruction: %shift = ashr i32 %val, %k
define void @foo(i32* nocapture %p, i32 %k) local_unnamed_addr #0 {
entry:
More information about the llvm-commits
mailing list