projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merging r259798, r259835:
[oota-llvm.git]
/
test
/
Transforms
/
Reassociate
/
shifttest.ll
diff --git
a/test/Transforms/Reassociate/shifttest.ll
b/test/Transforms/Reassociate/shifttest.ll
index 42b1873eedbb96a862934b0206600488579b970f..d9a5336fbfb493704424c1a73a1e8578fed2e20e 100644
(file)
--- a/
test/Transforms/Reassociate/shifttest.ll
+++ b/
test/Transforms/Reassociate/shifttest.ll
@@
-1,7
+1,7
@@
; With shl->mul reassociation, we can see that this is (shl A, 9) * A
;
; With shl->mul reassociation, we can see that this is (shl A, 9) * A
;
-; RUN: opt
%s -reassociate -instcombine | llvm-dis
|\
-; RUN: grep
{shl .*, 9}
+; RUN: opt
< %s -reassociate -instcombine -S
|\
+; RUN: grep
"shl .*, 9"
define i32 @test(i32 %A, i32 %B) {
%X = shl i32 %A, 5 ; <i32> [#uses=1]
define i32 @test(i32 %A, i32 %B) {
%X = shl i32 %A, 5 ; <i32> [#uses=1]