X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2Ffast-isel-x86-64.ll;fp=test%2FCodeGen%2FX86%2Ffast-isel-x86-64.ll;h=3747d049424d902d0339a9c31fff212c27a5cf52;hb=07ffcb10074a9b62e3c65c544f6df9252a333f0d;hp=33abc385ebd8ef187d015fbc4f5cf788d27ce17d;hpb=e7a8e298fb1edb61bb740f030811aba3166cdd39;p=oota-llvm.git diff --git a/test/CodeGen/X86/fast-isel-x86-64.ll b/test/CodeGen/X86/fast-isel-x86-64.ll index 33abc385ebd..3747d049424 100644 --- 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 +}