[llvm] c14b0a7 - [LV] Check for vector instruction in main vector loop.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 3 06:18:00 PDT 2023


Author: Florian Hahn
Date: 2023-07-03T14:16:47+01:00
New Revision: c14b0a7c55ee1cdab8725f2561172096cab86bde

URL: https://github.com/llvm/llvm-project/commit/c14b0a7c55ee1cdab8725f2561172096cab86bde
DIFF: https://github.com/llvm/llvm-project/commit/c14b0a7c55ee1cdab8725f2561172096cab86bde.diff

LOG: [LV] Check for vector instruction in main vector loop.

Update the test to check for the vectorization call in the main vector
loop, not the dead epilogue vector loop as it does currently.

Added: 
    

Modified: 
    llvm/test/Transforms/LoopVectorize/X86/funclet.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopVectorize/X86/funclet.ll b/llvm/test/Transforms/LoopVectorize/X86/funclet.ll
index 023728abe8a648..84d21110e8da97 100644
--- a/llvm/test/Transforms/LoopVectorize/X86/funclet.ll
+++ b/llvm/test/Transforms/LoopVectorize/X86/funclet.ll
@@ -33,7 +33,7 @@ unreachable:                                      ; preds = %entry
 
 ; CHECK-LABEL: define void @test1(
 ; CHECK: %[[cpad:.*]] = catchpad within {{.*}} [ptr null, i32 64, ptr null]
-; CHECK: call <8 x double> @llvm.floor.v8f64(<8 x double> {{.*}}) [ "funclet"(token %[[cpad]]) ]
+; CHECK: call <16 x double> @llvm.floor.v16f64(<16 x double> {{.*}}) [ "funclet"(token %[[cpad]]) ]
 
 declare x86_stdcallcc void @_CxxThrowException(ptr, ptr)
 


        


More information about the llvm-commits mailing list