1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -O0 -mtriple=mipsel-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=MIPS32
5 define void @trunc() {entry: ret void}
11 tracksRegLiveness: true
16 ; MIPS32-LABEL: name: trunc
17 ; MIPS32: liveins: $a0, $a1
18 ; MIPS32: [[COPY:%[0-9]+]]:_(s32) = COPY $a0
19 ; MIPS32: $v0 = COPY [[COPY]](s32)
20 ; MIPS32: RetRA implicit $v0
23 %0:_(s64) = G_MERGE_VALUES %1(s32), %2(s32)
24 %3:_(s32) = G_TRUNC %0(s64)