mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
b4106170dd
cases due to an isel deficiency already noted in lib/Target/X86/README.txt, but they can be matched in this fold-call.ll testcase, for example. This is interesting mainly because it exposes a tricky tblgen bug; tblgen was incorrectly computing the starting index for variable_ops in the case of a complex pattern. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51706 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
273 B
LLVM
11 lines
273 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 | not grep mov
|
|
; RUN: llvm-as < %s | llc -march=x86-64 | not grep mov
|
|
|
|
declare void @bar()
|
|
|
|
define void @foo(i32 %i0, i32 %i1, i32 %i2, i32 %i3, i32 %i4, i32 %i5, void()* %arg) nounwind {
|
|
call void @bar()
|
|
call void %arg()
|
|
ret void
|
|
}
|