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
4 define i32* @inttoptr(i32 %a) {
5 ; MIPS32-LABEL: inttoptr:
6 ; MIPS32: # %bb.0: # %entry
7 ; MIPS32-NEXT: move $2, $4
11 %0 = inttoptr i32 %a to i32*
15 define i32 @ptrtoint(i32* %a) {
16 ; MIPS32-LABEL: ptrtoint:
17 ; MIPS32: # %bb.0: # %entry
18 ; MIPS32-NEXT: move $2, $4
22 %0 = ptrtoint i32* %a to i32