projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[x86 fast-isel] Materialize allocas with the correct-sized lea for ILP32
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
fast-isel-x86-64.ll
diff --git
a/test/CodeGen/X86/fast-isel-x86-64.ll
b/test/CodeGen/X86/fast-isel-x86-64.ll
index 33abc385ebd8ef187d015fbc4f5cf788d27ce17d..3747d049424d902d0339a9c31fff212c27a5cf52 100644
(file)
--- a/
test/CodeGen/X86/fast-isel-x86-64.ll
+++ b/
test/CodeGen/X86/fast-isel-x86-64.ll
@@
-302,3
+302,13
@@
define void @test23(i8* noalias sret %result) {
}
declare i8* @foo23()
+
+declare void @takesi32ptr(i32* %arg)
+
+; CHECK-LABEL: allocamaterialize
+define void @allocamaterialize() {
+ %a = alloca i32
+; CHECK: leaq {{.*}}, %rdi
+ call void @takesi32ptr(i32* %a)
+ ret void
+}