Skip to content
Commit 8eb336c1 authored by Hans Wennborg's avatar Hans Wennborg
Browse files

Re-commit r269828 "X86: Avoid using _chkstk when lowering WIN_ALLOCA instructions"

with an additional fix to make RegAllocFast ignore undef physreg uses. It would
previously get confused about the "push %eax" instruction's use of eax. That
method for adjusting the stack pointer is used in X86FrameLowering::emitSPUpdate
as well, but since that runs after register-allocation, we didn't run into the
RegAllocFast issue before.

llvm-svn: 269949
parent 9430b911
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment