win64: Call __chkstk through a register with the large code model
Fixes half of PR18582. True dynamic allocas will still have a
CALL64pcrel32 which will fail.
Paths
| Differential D7267
Update comments to use unreachable instead of llvm.trap, as implemented now ClosedPublic Authored by rnk on Jan 29 2015, 2:24 PM.
Details Summary win64: Call __chkstk through a register with the large code model Fixes half of PR18582. True dynamic allocas will still have a
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jan 29 2015, 2:29 PM Closed by commit rL227503: Update comments to use unreachable instead of llvm.trap, as implemented now (authored by rnk). · Explain WhyJan 29 2015, 2:34 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 18988 lib/CodeGen/WinEHPrepare.cpp
lib/Target/X86/X86FrameLowering.h
lib/Target/X86/X86FrameLowering.cpp
lib/Target/X86/X86InstrControl.td
test/CodeGen/X86/win_chkstk.ll
|