[llvm] 3026eca - [LV] Also verify loops in vector loop removal tests.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 31 12:12:00 PST 2024


Author: Florian Hahn
Date: 2024-12-31T20:11:23Z
New Revision: 3026ecaff54b220409ecc254b4f6209801a251b9

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

LOG: [LV] Also verify loops in vector loop removal tests.

Also verify loop info in tests added in 7d6ec3b9680.

Added: 
    

Modified: 
    llvm/test/Transforms/LoopVectorize/vector-loop-backedge-elimination.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopVectorize/vector-loop-backedge-elimination.ll b/llvm/test/Transforms/LoopVectorize/vector-loop-backedge-elimination.ll
index 8bcba56e0d43a0..7e6e5249381cda 100644
--- a/llvm/test/Transforms/LoopVectorize/vector-loop-backedge-elimination.ll
+++ b/llvm/test/Transforms/LoopVectorize/vector-loop-backedge-elimination.ll
@@ -1,7 +1,7 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
-; RUN: opt -passes='loop-vectorize,verify<loops>' -force-vector-width=8 -force-vector-interleave=1 -S %s | FileCheck --check-prefixes=CHECK,VF8UF1 %s
-; RUN: opt -passes='loop-vectorize,verify<loops>' -force-vector-width=8 -force-vector-interleave=2 -S %s | FileCheck --check-prefixes=CHECK,VF8UF2 %s
-; RUN: opt -passes='loop-vectorize,verify<loops>' -force-vector-width=16 -force-vector-interleave=1 -S %s | FileCheck --check-prefixes=CHECK,VF16UF1 %s
+; RUN: opt -passes='loop-vectorize,verify<loops>' -force-vector-width=8 -force-vector-interleave=1 -S %s | FileCheck --check-prefixes=VF8UF1 %s
+; RUN: opt -passes='loop-vectorize,verify<loops>' -force-vector-width=8 -force-vector-interleave=2 -S %s | FileCheck --check-prefixes=VF8UF2 %s
+; RUN: opt -passes='loop-vectorize,verify<loops>' -force-vector-width=16 -force-vector-interleave=1 -S %s | FileCheck --check-prefixes=VF16UF1 %s
 
 target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
 


        


More information about the llvm-commits mailing list