mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Another forgotten trampoline testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139230 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e8e721f0c2
commit
68b859f757
16
test/CodeGen/X86/2011-08-23-Trampoline.ll
Normal file
16
test/CodeGen/X86/2011-08-23-Trampoline.ll
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
; RUN: llc < %s -march=x86
|
||||||
|
; RUN: llc < %s -march=x86-64
|
||||||
|
|
||||||
|
%struct.FRAME.gnat__perfect_hash_generators__select_char_position__build_identical_keys_sets = type { i32, i32, void (i32, i32)*, i8 (i32, i32)* }
|
||||||
|
|
||||||
|
define fastcc i32 @gnat__perfect_hash_generators__select_char_position__build_identical_keys_sets.5146(i64 %table.0.0, i64 %table.0.1, i32 %last, i32 %pos) {
|
||||||
|
entry:
|
||||||
|
call void @llvm.init.trampoline( i8* null, i8* bitcast (void (%struct.FRAME.gnat__perfect_hash_generators__select_char_position__build_identical_keys_sets*, i32, i32)* @gnat__perfect_hash_generators__select_char_position__build_identical_keys_sets__move.5177 to i8*), i8* null ) ; <i8*> [#uses=0]
|
||||||
|
%tramp22 = call i8* @llvm.adjust.trampoline( i8* null)
|
||||||
|
unreachable
|
||||||
|
}
|
||||||
|
|
||||||
|
declare void @gnat__perfect_hash_generators__select_char_position__build_identical_keys_sets__move.5177(%struct.FRAME.gnat__perfect_hash_generators__select_char_position__build_identical_keys_sets* nest , i32, i32) nounwind
|
||||||
|
|
||||||
|
declare void @llvm.init.trampoline(i8*, i8*, i8*) nounwind
|
||||||
|
declare i8* @llvm.adjust.trampoline(i8*) nounwind
|
Loading…
Reference in New Issue
Block a user