summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/call-imm.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-03-11 23:01:47 +0000
committerDan Gohman <gohman@apple.com>2009-03-11 23:01:47 +0000
commit30143763b9a4b670ccb5b064626fbe90ff97830a (patch)
treee985a4a517b8190f65e08a547070758f834b7323 /test/CodeGen/X86/call-imm.ll
parentc40d4f85ddd6f822480f91dacd9646eec055c4ca (diff)
downloadllvm-30143763b9a4b670ccb5b064626fbe90ff97830a.tar.gz
llvm-30143763b9a4b670ccb5b064626fbe90ff97830a.tar.bz2
llvm-30143763b9a4b670ccb5b064626fbe90ff97830a.tar.xz
Revert r66024. The JIT encoding for CALLpcrel32 is wrong -- see PR3773, and the
assembly text output uses an indirect call ("call *") instead of a direct call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/call-imm.ll')
-rw-r--r--test/CodeGen/X86/call-imm.ll9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/CodeGen/X86/call-imm.ll b/test/CodeGen/X86/call-imm.ll
deleted file mode 100644
index 25b911f597..0000000000
--- a/test/CodeGen/X86/call-imm.ll
+++ /dev/null
@@ -1,9 +0,0 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep call | grep 12345678
-; RUN: llvm-as < %s | llc -march=x86-64 | grep call | grep 12345678
-; PR3666
-
-define i32 @main() nounwind {
-entry:
- %0 = call i32 inttoptr (i32 12345678 to i32 (i32)*)(i32 0) nounwind ; <i32> [#uses=1]
- ret i32 %0
-}