We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
define i64 @foo(i64 %n) nounwind { entry: %buf = alloca i8, i64 %n, align 1 %r = call i64 @bar(i8* %buf, i64 %n) nounwind ret i64 %r } declare i64 @bar(i8* nocapture, i64) nounwind
$ llc -mtriple=x86_64-{win32|mingw32|mingw64} foo: pushq %rbp movq %rsp, %rbp subq $32, %rsp movq %rcx, %rdx leaq 15(%rdx), %rax andq $-16, %rax movq %rsp, %rcx subq %rax, %rcx movq %rcx, %rsp callq bar movq %rbp, %rsp popq %rbp ret
It seems alloca might be expanded w/o DYNAMIC_STACKALLOC after X86 DAG->DAG Instruction Selection.
The text was updated successfully, but these errors were encountered:
See also Michael's patch. http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20101025/110549.html
Sorry, something went wrong.
Fixed in r128206, thank you!
mentioned in issue llvm/llvm-bugzilla-archive#9100
Merge pull request llvm#9149 from felipepiovezan/felipe/cherry-pick-l…
0b4e2f5
…ldb-transform-api-change [Swift] Update for removal of Type::transform()
No branches or pull requests
Extended Description
define i64 @foo(i64 %n) nounwind {
entry:
%buf = alloca i8, i64 %n, align 1
%r = call i64 @bar(i8* %buf, i64 %n) nounwind
ret i64 %r
}
declare i64 @bar(i8* nocapture, i64) nounwind
$ llc -mtriple=x86_64-{win32|mingw32|mingw64}
foo:
pushq %rbp
movq %rsp, %rbp
subq $32, %rsp
movq %rcx, %rdx
leaq 15(%rdx), %rax
andq $-16, %rax
movq %rsp, %rcx
subq %rax, %rcx
movq %rcx, %rsp
callq bar
movq %rbp, %rsp
popq %rbp
ret
It seems alloca might be expanded w/o DYNAMIC_STACKALLOC after X86 DAG->DAG Instruction Selection.
The text was updated successfully, but these errors were encountered: