diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-03-12 23:01:35 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-03-12 23:01:35 +0000 |
commit | 379e15e9882482c982c4572e724f6b73e35e3a93 (patch) | |
tree | c356f2c98f4a31caec51f3223b2322be808f053b | |
parent | bcf8ea9554bbed7590b1e13f93de22ba57b4b853 (diff) |
Add this test back.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66838 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/X86/call-imm.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/X86/call-imm.ll b/test/CodeGen/X86/call-imm.ll new file mode 100644 index 0000000000..b99149b687 --- /dev/null +++ b/test/CodeGen/X86/call-imm.ll @@ -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 +} |