mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
are correctly marked as used instead of passing all possible argument registers as used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123301 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
213 B
LLVM
14 lines
213 B
LLVM
; RUN: llc -march=sparc -O0 <%s
|
|
|
|
define void @test() nounwind {
|
|
entry:
|
|
%0 = tail call i32 (...)* @foo() nounwind
|
|
tail call void (...)* @bar() nounwind
|
|
ret void
|
|
}
|
|
|
|
declare i32 @foo(...)
|
|
|
|
declare void @bar(...)
|
|
|