[llvm-commits] [llvm] r66838 - /llvm/trunk/test/CodeGen/X86/call-imm.ll

Evan Cheng evan.cheng at apple.com
Thu Mar 12 16:01:36 PDT 2009


Author: evancheng
Date: Thu Mar 12 18:01:35 2009
New Revision: 66838

URL: http://llvm.org/viewvc/llvm-project?rev=66838&view=rev
Log:
Add this test back.

Added:
    llvm/trunk/test/CodeGen/X86/call-imm.ll

Added: llvm/trunk/test/CodeGen/X86/call-imm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/call-imm.ll?rev=66838&view=auto

==============================================================================
--- llvm/trunk/test/CodeGen/X86/call-imm.ll (added)
+++ llvm/trunk/test/CodeGen/X86/call-imm.ll Thu Mar 12 18:01:35 2009
@@ -0,0 +1,11 @@
+; RUN: llvm-as < %s | llc -march=x86    | grep call | not grep {*}
+; RUN: llvm-as < %s | llc -march=x86    | grep call | grep 12345678
+; RUN: llvm-as < %s | llc -march=x86-64 | grep call | grep 12345678
+; PR3666
+; PR3773
+
+define i32 @main() nounwind {
+entry:
+	%0 = call i32 inttoptr (i32 12345678 to i32 (i32)*)(i32 0) nounwind		; <i32> [#uses=1]
+	ret i32 %0
+}





More information about the llvm-commits mailing list