1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -O0 -mtriple=mipsel-linux-gnu -run-pass=regbankselect -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=MIPS32
5 define void @ne_i32() {entry: ret void}
6 define void @eq_ptr() {entry: ret void}
13 tracksRegLiveness: true
18 ; MIPS32-LABEL: name: ne_i32
19 ; MIPS32: liveins: $a0, $a1
20 ; MIPS32: [[COPY:%[0-9]+]]:gprb(s32) = COPY $a0
21 ; MIPS32: [[COPY1:%[0-9]+]]:gprb(s32) = COPY $a1
22 ; MIPS32: [[ICMP:%[0-9]+]]:gprb(s32) = G_ICMP intpred(ne), [[COPY]](s32), [[COPY1]]
23 ; MIPS32: [[COPY2:%[0-9]+]]:gprb(s32) = COPY [[ICMP]](s32)
24 ; MIPS32: $v0 = COPY [[COPY2]](s32)
25 ; MIPS32: RetRA implicit $v0
28 %4:_(s32) = G_ICMP intpred(ne), %0(s32), %1
29 %3:_(s32) = COPY %4(s32)
38 tracksRegLiveness: true
43 ; MIPS32-LABEL: name: eq_ptr
44 ; MIPS32: liveins: $a0, $a1
45 ; MIPS32: [[COPY:%[0-9]+]]:gprb(p0) = COPY $a0
46 ; MIPS32: [[COPY1:%[0-9]+]]:gprb(p0) = COPY $a1
47 ; MIPS32: [[ICMP:%[0-9]+]]:gprb(s32) = G_ICMP intpred(eq), [[COPY]](p0), [[COPY1]]
48 ; MIPS32: [[COPY2:%[0-9]+]]:gprb(s32) = COPY [[ICMP]](s32)
49 ; MIPS32: $v0 = COPY [[COPY2]](s32)
50 ; MIPS32: RetRA implicit $v0
53 %4:_(s32) = G_ICMP intpred(eq), %0(p0), %1
54 %3:_(s32) = COPY %4(s32)