projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcf8ea9
)
Add this test back.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 12 Mar 2009 23:01:35 +0000
(23:01 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 12 Mar 2009 23:01:35 +0000
(23:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66838
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/X86/call-imm.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/CodeGen/X86/call-imm.ll
b/test/CodeGen/X86/call-imm.ll
new file mode 100644
(file)
index 0000000..
b99149b
--- /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
+}