Check for extractelement with a variable operand for the element number.
[oota-llvm.git] / test / Transforms / GVN / mixed.ll
index 0c4f65cf965190f81c5a444628d11e1a232f2f2b..6bfada2f4d5c28713953a6db65854d6eeed92c2c 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep DEADLOAD
-; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep DEADGEP
+; RUN: opt < %s -basicaa -gvn -S | not grep DEADLOAD
+; RUN: opt < %s -basicaa -gvn -S | not grep DEADGEP
 
 define i32 @main(i32** %p) {
 block1: