blob: fed2255c0e29d67925ab0fbe77428fb36afed766 [file] [log] [blame]
Dan Gohman18800922009-09-11 18:01:28 +00001; RUN: opt < %s -instcombine -disable-output
Chris Lattnerbb4e2a52007-01-18 22:16:03 +00002
Reid Spencerce380562007-01-26 08:25:06 +00003define <4 x i32> @test(<4 x i32> %A) {
Chris Lattnerbb4e2a52007-01-18 22:16:03 +00004 %B = xor <4 x i32> %A, < i32 -1, i32 -1, i32 -1, i32 -1 >
5 %C = and <4 x i32> %B, < i32 -1, i32 -1, i32 -1, i32 -1 >
6 ret <4 x i32> %C
7}