mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
d93b834b52
Fix test syntax per new rules. llvm-svn: 36133
16 lines
320 B
LLVM
16 lines
320 B
LLVM
; RUN: llvm-as < %s | llc -march=arm -stats |& grep asm-printer | grep 4
|
|
|
|
define i32 @t1(i32 %a) {
|
|
%b = mul i32 %a, 9
|
|
%c = inttoptr i32 %b to i32*
|
|
%d = load i32* %c
|
|
ret i32 %d
|
|
}
|
|
|
|
define i32 @t2(i32 %a) {
|
|
%b = mul i32 %a, -7
|
|
%c = inttoptr i32 %b to i32*
|
|
%d = load i32* %c
|
|
ret i32 %d
|
|
}
|