• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3--- |
4
5  define void @trunc() {entry: ret void}
6
7...
8---
9name:            trunc
10alignment:       4
11tracksRegLiveness: true
12body:             |
13  bb.1.entry:
14    liveins: $a0, $a1
15
16    ; MIPS32-LABEL: name: trunc
17    ; MIPS32: liveins: $a0, $a1
18    ; MIPS32: [[COPY:%[0-9]+]]:_(s32) = COPY $a0
19    ; MIPS32: [[COPY1:%[0-9]+]]:_(s32) = COPY $a1
20    ; MIPS32: $v0 = COPY [[COPY]](s32)
21    ; MIPS32: RetRA implicit $v0
22    %1:_(s32) = COPY $a0
23    %2:_(s32) = COPY $a1
24    %0:_(s64) = G_MERGE_VALUES %1(s32), %2(s32)
25    %3:_(s32) = G_TRUNC %0(s64)
26    $v0 = COPY %3(s32)
27    RetRA implicit $v0
28
29...
30