blob: 72f7d2645a0f0b295da020b561c58446666fee12 [file] [log] [blame]
; REQUIRES: asserts
; RUN: llc -mtriple=arm-eabi -stats %s -o - 2>&1 | FileCheck %s
define i32 @t1(i32 %a) {
%b = mul i32 %a, 9
%c = inttoptr i32 %b to ptr
%d = load i32, ptr %c
ret i32 %d
}
define i32 @t2(i32 %a) {
%b = mul i32 %a, -7
%c = inttoptr i32 %b to ptr
%d = load i32, ptr %c
ret i32 %d
}
; CHECK: 4 asm-printer