aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll
blob: 3cbf401e3d2f3d9c9ab37faf450d1bebb8fa503f (plain)
1
2
3
4
5
6
7
; RUN: opt %s -instcombine -disable-output

define <4 x i32> @test(<4 x i32> %A) {
    %B = xor <4 x i32> %A, < i32 -1, i32 -1, i32 -1, i32 -1 > 
    %C = and <4 x i32> %B, < i32 -1, i32 -1, i32 -1, i32 -1 >
    ret <4 x i32> %C
}