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:
3c46eef
)
New test.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 18 Jul 2007 21:39:16 +0000
(21:39 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 18 Jul 2007 21:39:16 +0000
(21:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40020
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/X86/epilogue.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/CodeGen/X86/epilogue.ll
b/test/CodeGen/X86/epilogue.ll
new file mode 100644
(file)
index 0000000..
b349ce6
--- /dev/null
+++ b/
test/CodeGen/X86/epilogue.ll
@@ -0,0
+1,11
@@
+; RUN: llvm-as < %s | llc -march=x86 | not grep lea
+; RUN: llvm-as < %s | llc -march=x86 | grep {movl %ebp}
+
+declare void @bar(<2 x i64>* %n)
+
+define void @foo(i64 %h) {
+ %k = trunc i64 %h to i32
+ %p = alloca <2 x i64>, i32 %k
+ call void @bar(<2 x i64>* %p)
+ ret void
+}