[InstCombine] Split off SSE4a tests.
[oota-llvm.git] / test / Transforms / InstCombine / select-load-call.ll
index c134030e6189f1f21766c99dc921d309b5f3d9e1..ad0ef4f85eb27f9526a38a886cac95643fcdf36f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | grep {ret i32 1}
+; RUN: opt < %s -instcombine -S | grep "ret i32 1"
 
 declare void @test2()
 
@@ -10,6 +10,6 @@ define i32 @test(i1 %cond, i32 *%P) {
   call void @test2() readonly
 
   %P2 = select i1 %cond, i32 *%P, i32* %A
-  %V = load i32* %P2
+  %V = load i32, i32* %P2
   ret i32 %V
 }