Move a DenseMap's declaration outside of a loop, and just call
[oota-llvm.git] / test / Transforms / InstCombine / add.ll
index b4795147c6e6837a58b5df10eace2031f1db613e..6ff2187474f75cf0bb566e7ec0687823a903263f 100644 (file)
@@ -268,3 +268,10 @@ define i32 @test35(i32 %a) {
         ret i32 %tmp2
 }
 
+define i32 @test36(i32 %a) {
+       %x = and i32 %a, -2
+       %y = and i32 %a, -126
+       %z = add i32 %x, %y
+       %q = and i32 %z, 1  ; always zero
+       ret i32 %q
+}