Home | History | Annotate | Download | only in Mips
      1 ; RUN: llc -march=mipsel -mcpu=mips32r2 -mattr=+micromips \
      2 ; RUN:   -relocation-model=pic -O3 < %s | FileCheck %s
      3 
      4 define i32 @main() {
      5 entry:
      6   %retval = alloca i32, align 4
      7   %x = alloca i64, align 8
      8   store i32 0, i32* %retval
      9   %0 = load i64, i64* %x, align 8
     10   %cmp = icmp ne i64 %0, 9223372036854775807
     11   br i1 %cmp, label %if.then, label %if.end
     12 
     13 if.then:
     14   store i32 1, i32* %retval
     15   br label %return
     16 
     17 if.end:
     18   store i32 0, i32* %retval
     19   br label %return
     20 
     21 return:
     22   %1 = load i32, i32* %retval
     23   ret i32 %1
     24 }
     25 
     26 ; CHECK: not16
     27