projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check for extractelement with a variable operand for the element number.
[oota-llvm.git]
/
test
/
Transforms
/
GVN
/
pre-basic-add.ll
diff --git
a/test/Transforms/GVN/pre-basic-add.ll
b/test/Transforms/GVN/pre-basic-add.ll
index f00bda3c4469ff09eeb9d4ac5965fb4a297dcf83..c13099fe73491d5a0fa78578a55afd4e88310cac 100644
(file)
--- a/
test/Transforms/GVN/pre-basic-add.ll
+++ b/
test/Transforms/GVN/pre-basic-add.ll
@@
-1,4
+1,4
@@
-; RUN:
llvm-as < %s | opt -gvn -enable-pre | llvm-dis
| grep {.pre}
+; RUN:
opt < %s -gvn -enable-pre -S
| grep {.pre}
@H = common global i32 0 ; <i32*> [#uses=2]
@G = common global i32 0 ; <i32*> [#uses=1]