diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-05-27 18:44:32 +0000 |
commit | 5a5ac124e1efaf208671f01c46edb15f29ed2a0b (patch) | |
tree | a6140557876943cdd800ee997c9317283394b22c /test/CodeGen/Generic/icmp-illegal.ll | |
parent | f03b5bed27d0d2eafd68562ce14f8b5e3f1f0801 (diff) | |
download | src-5a5ac124e1efaf208671f01c46edb15f29ed2a0b.tar.gz src-5a5ac124e1efaf208671f01c46edb15f29ed2a0b.zip |
Vendor import of llvm trunk r238337:vendor/llvm/llvm-trunk-r238337
Notes
Notes:
svn path=/vendor/llvm/dist/; revision=283625
svn path=/vendor/llvm/llvm-trunk-r238337/; revision=283626; tag=vendor/llvm/llvm-trunk-r238337
Diffstat (limited to 'test/CodeGen/Generic/icmp-illegal.ll')
-rw-r--r-- | test/CodeGen/Generic/icmp-illegal.ll | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/icmp-illegal.ll b/test/CodeGen/Generic/icmp-illegal.ll new file mode 100644 index 000000000000..23d20c04652f --- /dev/null +++ b/test/CodeGen/Generic/icmp-illegal.ll @@ -0,0 +1,50 @@ + +; RUN: llc < %s | FileCheck %s + +; CHECK-LABEL: test_ult +define i1 @test_ult(i256 %a) nounwind { + %1 = icmp ult i256 %a, -6432394258550908438 + ret i1 %1 +} + +; CHECK-LABEL: test_ule +define i1 @test_ule(i256 %a) nounwind { + %1 = icmp ule i256 %a, -6432394258550908438 + ret i1 %1 +} + +; CHECK-LABEL: test_ugt +define i1 @test_ugt(i256 %a) nounwind { + %1 = icmp ugt i256 %a, -6432394258550908438 + ret i1 %1 +} + +; CHECK-LABEL: test_uge +define i1 @test_uge(i256 %a) nounwind { + %1 = icmp uge i256 %a, -6432394258550908438 + ret i1 %1 +} + +; CHECK-LABEL: test_slt +define i1 @test_slt(i256 %a) nounwind { + %1 = icmp slt i256 %a, -6432394258550908438 + ret i1 %1 +} + +; CHECK-LABEL: test_sle +define i1 @test_sle(i256 %a) nounwind { + %1 = icmp sle i256 %a, -6432394258550908438 + ret i1 %1 +} + +; CHECK-LABEL: test_sgt +define i1 @test_sgt(i256 %a) nounwind { + %1 = icmp sgt i256 %a, -6432394258550908438 + ret i1 %1 +} + +; CHECK-LABEL: test_sge +define i1 @test_sge(i256 %a) nounwind { + %1 = icmp sge i256 %a, -6432394258550908438 + ret i1 %1 +} |