mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
33987986e4
Summary: Otherwise unexpected matches with the path to the tests might happen. Reviewers: rengolin, spatel, efriedma, RKSimon Reviewed By: spatel Subscribers: n.bozhenov, javed.absar, llvm-commits Patch by Andrei Elovikov <andrei.elovikov@intel.com> Differential Revision: https://reviews.llvm.org/D32994 llvm-svn: 306684
23 lines
292 B
LLVM
23 lines
292 B
LLVM
; RUN: llc -mtriple=thumb-eabi < %s | FileCheck %s
|
|
|
|
define i1 @t1(i64 %x) {
|
|
%B = icmp slt i64 %x, 0
|
|
ret i1 %B
|
|
}
|
|
|
|
define i1 @t2(i64 %x) {
|
|
%tmp = icmp ult i64 %x, 4294967296
|
|
ret i1 %tmp
|
|
}
|
|
|
|
define i1 @t3(i32 %x) {
|
|
%tmp = icmp ugt i32 %x, -1
|
|
ret i1 %tmp
|
|
}
|
|
|
|
; CHECK: cmp
|
|
; CHECK-NOT: cmp
|
|
|
|
|
|
|