diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/ConstProp/2008-07-07-VectorCompare.ll | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/Transforms/ConstProp/2008-07-07-VectorCompare.ll b/test/Transforms/ConstProp/2008-07-07-VectorCompare.ll index 35f034a..b42b024 100644 --- a/test/Transforms/ConstProp/2008-07-07-VectorCompare.ll +++ b/test/Transforms/ConstProp/2008-07-07-VectorCompare.ll @@ -6,9 +6,17 @@ entry: ret <4 x i32> %foo } -define <4 x i32> @main(i32 %argc, i8** %argv) { +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 +} + |