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* @inttoptr(i32 %a) { 5; MIPS32-LABEL: inttoptr: 6; MIPS32: # %bb.0: # %entry 7; MIPS32-NEXT: move $2, $4 8; MIPS32-NEXT: jr $ra 9; MIPS32-NEXT: nop 10entry: 11 %0 = inttoptr i32 %a to i32* 12 ret i32* %0 13} 14 15define i32 @ptrtoint(i32* %a) { 16; MIPS32-LABEL: ptrtoint: 17; MIPS32: # %bb.0: # %entry 18; MIPS32-NEXT: move $2, $4 19; MIPS32-NEXT: jr $ra 20; MIPS32-NEXT: nop 21entry: 22 %0 = ptrtoint i32* %a to i32 23 ret i32 %0 24} 25