[llvm] cf637a6 - [SVE][InstCombine] Improve specificity of InstCombine TypeSize test

Joe Ellis via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 3 07:26:50 PST 2020


Author: Joe Ellis
Date: 2020-11-03T15:24:44Z
New Revision: cf637a69e742a9b820a75882fe22512564fb271f

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

LOG: [SVE][InstCombine] Improve specificity of InstCombine TypeSize test

The test was using -O2, where -instcombine will suffice.

Reviewed By: sdesmalen

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

Added: 
    

Modified: 
    llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll b/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll
index 6e8d0fd4e99c..c20128d5fe02 100644
--- a/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll
+++ b/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -O2 -mtriple=aarch64-linux-gnu -mattr=+sve < %s 2>%t
+; RUN: opt -S -instcombine < %s 2>%t
 ; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
 
 ; This regression test is verifying that the optimization defined by


        


More information about the llvm-commits mailing list