| Chris Lattner | d137a08 | 2008-07-08 05:46:34 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | opt -constprop | llvm-dis | 
| 2 | ; PR2529 | ||||
| 3 | define <4 x i32> @test1(i32 %argc, i8** %argv) { | ||||
| 4 | entry: | ||||
| 5 | %foo = vicmp slt <4 x i32> undef, <i32 14, i32 undef, i32 undef, i32 undef> | ||||
| 6 | ret <4 x i32> %foo | ||||
| 7 | } | ||||
| 8 | |||||
| 9 | define <4 x i32> @main(i32 %argc, i8** %argv) { | ||||
| 10 | entry: | ||||
| 11 | %foo = vicmp slt <4 x i32> <i32 undef, i32 undef, i32 undef, i32 | ||||
| 12 | undef>, <i32 undef, i32 undef, i32 undef, i32 undef> | ||||
| 13 | ret <4 x i32> %foo | ||||
| 14 | } | ||||