[llvm] 42048ff - [NFC] Move test vscale-factor-out-constant.ll to AArch64 sub-directory.

Huihui Zhang via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 12:55:56 PDT 2020


Author: Huihui Zhang
Date: 2020-06-04T12:55:28-07:00
New Revision: 42048ff97230dcf64a488a1eb5bbbf2c785b47f8

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

LOG: [NFC] Move test vscale-factor-out-constant.ll to AArch64 sub-directory.

Vscale scalable vector is specific to AArch64 target.

Bring back 'uglygep' check.

Added: 
    llvm/test/Transforms/LoopStrengthReduce/AArch64/vscale-factor-out-constant.ll

Modified: 
    

Removed: 
    llvm/test/Transforms/LoopStrengthReduce/vscale-factor-out-constant.ll


################################################################################
diff  --git a/llvm/test/Transforms/LoopStrengthReduce/vscale-factor-out-constant.ll b/llvm/test/Transforms/LoopStrengthReduce/AArch64/vscale-factor-out-constant.ll
similarity index 99%
rename from llvm/test/Transforms/LoopStrengthReduce/vscale-factor-out-constant.ll
rename to llvm/test/Transforms/LoopStrengthReduce/AArch64/vscale-factor-out-constant.ll
index 40d695b68f8b..5bdbf1cfb6ab 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/vscale-factor-out-constant.ll
+++ b/llvm/test/Transforms/LoopStrengthReduce/AArch64/vscale-factor-out-constant.ll
@@ -8,7 +8,7 @@ target triple = "aarch64-unknown-linux-gnu"
 ; CHECK-LABEL: test
 ; FIXME: Handle VectorType in SCEVExpander::expandAddToGEP.
 ; The generated IR is not ideal with base 'scalar_vector' cast to i8*, and do ugly getelementptr over casted base.
-; : uglygep
+; CHECK: uglygep
 define void @test(i32* %a, i32 %v, i64 %n) {
 entry:
   %scalar_vector = alloca <vscale x 4 x i32>, align 16


        


More information about the llvm-commits mailing list