aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll
blob: 83d05d9d94f764adf6d882b0c1a85e861a4b9108 (plain)
1
2
3
4
5
6
7
; RUN: llvm-as < %s | opt -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
}