• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc  -O0 -mtriple=mipsel-linux-gnu -global-isel  -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
3
4define i32 @trunc(i64 %x) {
5; MIPS32-LABEL: trunc:
6; MIPS32:       # %bb.0: # %entry
7; MIPS32-NEXT:    move $2, $4
8; MIPS32-NEXT:    jr $ra
9; MIPS32-NEXT:    nop
10entry:
11  %conv = trunc i64 %x to i32
12  ret i32 %conv
13}
14