- test both 32 and 64 bit version
- probe the tail in dynamic-alloca
- generate more concise code
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Rework and improve the patch:
- more documentation
- more assert
- slight update of the way static alloca are probed, leads to slightly smaller code
- completely rework the way dynamic alloca are probed, which leads to smaller and cleaner assembly. As a side effect it also probes the tail.
Comment Actions
Can we have tests for 32-bit mode too? Which I hope would have caught those previous issues.
llvm/lib/Target/X86/X86FrameLowering.cpp | ||
---|---|---|
663 | Register |
Register