mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 19:20:28 +00:00
e3464e6bec
mnemonics from their operands instead of single spaces. This makes the assembly output a little more consistent with various other compilers (f.e. GCC), and slightly easier to read. Also, update the regression tests accordingly. llvm-svn: 40648
12 lines
274 B
LLVM
12 lines
274 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 | not grep lea
|
|
; RUN: llvm-as < %s | llc -march=x86 | grep {movl %ebp}
|
|
|
|
declare void @bar(<2 x i64>* %n)
|
|
|
|
define void @foo(i64 %h) {
|
|
%k = trunc i64 %h to i32
|
|
%p = alloca <2 x i64>, i32 %k
|
|
call void @bar(<2 x i64>* %p)
|
|
ret void
|
|
}
|