[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git] / test / CodeGen / ARM / long-setcc.ll
1 ; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
2
3 define i1 @t1(i64 %x) {
4         %B = icmp slt i64 %x, 0
5         ret i1 %B
6 }
7
8 define i1 @t2(i64 %x) {
9         %tmp = icmp ult i64 %x, 4294967296
10         ret i1 %tmp
11 }
12
13 define i1 @t3(i32 %x) {
14         %tmp = icmp ugt i32 %x, -1
15         ret i1 %tmp
16 }
17
18 ; CHECK: cmp
19 ; CHECK-NOT: cmp
20