diff options
Diffstat (limited to 'test/Transforms/ScalarRepl/select_promote.ll')
-rw-r--r-- | test/Transforms/ScalarRepl/select_promote.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Transforms/ScalarRepl/select_promote.ll b/test/Transforms/ScalarRepl/select_promote.ll index 18b55a8528..11902cfd33 100644 --- a/test/Transforms/ScalarRepl/select_promote.ll +++ b/test/Transforms/ScalarRepl/select_promote.ll @@ -1,6 +1,7 @@ -; Test promotion of loads that use the result of a select instruction. +; Test promotion of loads that use the result of a select instruction. This +; should be simplified by the instcombine pass. -; RUN: llvm-as < %s | opt -mem2reg | llvm-dis | not grep alloca +; RUN: llvm-as < %s | opt -instcombine -mem2reg | llvm-dis | not grep alloca int %main() { %mem_tmp.0 = alloca int ; <int*> [#uses=3] |