mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add a regression test to sanity check the PBQP allocator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217057 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
faa7461fc3
commit
07ad198d6c
29
test/CodeGen/Generic/PBQP.ll
Normal file
29
test/CodeGen/Generic/PBQP.ll
Normal file
@ -0,0 +1,29 @@
|
||||
; RUN: llc -regalloc=pbqp < %s
|
||||
|
||||
define i32 @foo() {
|
||||
entry:
|
||||
%call = tail call i32 (...)* @baz()
|
||||
%call1 = tail call i32 (...)* @baz()
|
||||
%call2 = tail call i32 (...)* @baz()
|
||||
%call3 = tail call i32 (...)* @baz()
|
||||
%call4 = tail call i32 (...)* @baz()
|
||||
%call5 = tail call i32 (...)* @baz()
|
||||
%call6 = tail call i32 (...)* @baz()
|
||||
%call7 = tail call i32 (...)* @baz()
|
||||
%call8 = tail call i32 (...)* @baz()
|
||||
%call9 = tail call i32 (...)* @baz()
|
||||
%call10 = tail call i32 (...)* @baz()
|
||||
%call11 = tail call i32 (...)* @baz()
|
||||
%call12 = tail call i32 (...)* @baz()
|
||||
%call13 = tail call i32 (...)* @baz()
|
||||
%call14 = tail call i32 (...)* @baz()
|
||||
%call15 = tail call i32 (...)* @baz()
|
||||
%call16 = tail call i32 (...)* @baz()
|
||||
%call17 = tail call i32 @bar(i32 %call, i32 %call1, i32 %call2, i32 %call3, i32 %call4, i32 %call5, i32 %call6, i32 %call7, i32 %call8, i32 %call9, i32 %call10, i32 %call11, i32 %call12, i32 %call13, i32 %call14, i32 %call15, i32 %call16)
|
||||
ret i32 %call17
|
||||
}
|
||||
|
||||
declare i32 @baz(...)
|
||||
|
||||
declare i32 @bar(i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)
|
||||
|
Loading…
Reference in New Issue
Block a user