summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll
blob: fed2255c0e29d67925ab0fbe77428fb36afed766 (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
}