[llvm-commits] [llvm] r139230 - /llvm/trunk/test/CodeGen/X86/2011-08-23-Trampoline.ll
Duncan Sands
baldrick at free.fr
Wed Sep 7 03:05:15 PDT 2011
Author: baldrick
Date: Wed Sep 7 05:05:14 2011
New Revision: 139230
URL: http://llvm.org/viewvc/llvm-project?rev=139230&view=rev
Log:
Another forgotten trampoline testcase.
Added:
llvm/trunk/test/CodeGen/X86/2011-08-23-Trampoline.ll
Added: llvm/trunk/test/CodeGen/X86/2011-08-23-Trampoline.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2011-08-23-Trampoline.ll?rev=139230&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/2011-08-23-Trampoline.ll (added)
+++ llvm/trunk/test/CodeGen/X86/2011-08-23-Trampoline.ll Wed Sep 7 05:05:14 2011
@@ -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
More information about the llvm-commits
mailing list