[InstCombine] canonicalize (bitcast (extractelement X)) --> (extractelement(bitcast X))
[oota-llvm.git] / test / Transforms / SCCP / apint-select.ll
index 57f18044f337203f6ad2b1460ef95642da8ccedb..893331ea98671eeaf048cbf45222392e26a34ff4 100644 (file)
@@ -1,9 +1,9 @@
-; RUN:  llvm-as < %s | opt -sccp -S | not grep select
+; RUN: opt < %s -sccp -S | not grep select
 
 @A = constant i32 10
 
 define i712 @test1() {
-        %P = getelementptr i32* @A, i32 0
+        %P = getelementptr i32, i32* @A, i32 0
         %B = ptrtoint i32* %P to i64
         %BB = and i64 %B, undef
         %C = icmp sge i64 %BB, 0