[llvm] 462dd4f - [SVE][AArch64] Improve specificity of vectorization legality TypeSize test

Joe Ellis via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 10 02:55:41 PST 2020


Author: Joe Ellis
Date: 2020-11-10T10:55:25Z
New Revision: 462dd4f803583924ebd5fc9f91da3751862d97ac

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

LOG: [SVE][AArch64] Improve specificity of vectorization legality TypeSize test

The test was using -O2, where -loop-vectorize will suffice.

Reviewed By: fpetrogalli

Differential Revision: https://reviews.llvm.org/D90685

Added: 
    

Modified: 
    llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll b/llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll
index 9aa8c4d25d9a..addaa42765c9 100644
--- a/llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll
+++ b/llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -O2 -mtriple=aarch64-linux-gnu -mattr=+sve < %s 2>%t | FileCheck %s
+; RUN: opt -S -loop-vectorize -mtriple=aarch64-linux-gnu -mattr=+sve < %s 2>%t | FileCheck %s
 ; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
 
 ; This test is checking that a scalable load inside a loop does not trigger a


        


More information about the llvm-commits mailing list