aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/ConstProp/2008-07-07-VectorCompare.ll
blob: d50ed90b6f38bba33ef1da8d892f23fa99a5cff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llvm-as < %s | opt -constprop | llvm-dis
; PR2529
define <4 x i32> @test1(i32 %argc, i8** %argv) {
entry:  
        %foo = vicmp slt <4 x i32> undef, <i32 14, i32 undef, i32 undef, i32 undef>
        ret <4 x i32> %foo
}

define <4 x i32> @main(i32 %argc, i8** %argv) {
entry:  
        %foo = vicmp slt <4 x i32> <i32 undef, i32 undef, i32 undef, i32
undef>, <i32 undef, i32 undef, i32 undef, i32 undef>
        ret <4 x i32> %foo
}