mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-25 19:29:53 +00:00
New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40020 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c46eefba2
commit
ccb21fdbb6
11
test/CodeGen/X86/epilogue.ll
Normal file
11
test/CodeGen/X86/epilogue.ll
Normal file
@ -0,0 +1,11 @@
|
||||
; 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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user