mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 06:35:30 +00:00
fea85c46c0
infinite recursion. part of PR2529 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53383 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
806 B
LLVM
29 lines
806 B
LLVM
; RUN: llvm-as < %s | opt -constprop -disable-output
|
|
; 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> @test2(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
|
|
}
|
|
|
|
|
|
define <4 x i32> @test3() {
|
|
%foo = vfcmp ueq <4 x float> <float 0.0, float 0.0, float 0.0, float
|
|
undef>, <float 1.0, float 1.0, float 1.0, float undef>
|
|
ret <4 x i32> %foo
|
|
}
|
|
|
|
define <4 x i32> @test4() {
|
|
%foo = vfcmp ueq <4 x float> <float 0.0, float 0.0, float 0.0, float 0.0>, <float 1.0, float 1.0, float 1.0, float 0.0>
|
|
|
|
ret <4 x i32> %foo
|
|
}
|
|
|