Makes it possible to decide whether to use segmented stacks globally or on a per-fn basis.
Details
Diff Detail
Event Timeline
This is going in the right direction.
Sorry for taking so long to review.
include/llvm/CodeGen/CommandFlags.h | ||
---|---|---|
194 | Why do you need this option? The point of having a positive attribute (split-stack) attribute is that we can remove the existing codegen option. | |
lib/Target/X86/X86ISelLowering.cpp | ||
10743 | Can't you call ExpandDYNAMIC_STACKALLOC? |
include/llvm/CodeGen/CommandFlags.h | ||
---|---|---|
194 | I guess you don't but I didn't want to break any existing stuff relying on setting it globally. I did change the default mode to be the per-fn attribute. | |
lib/Target/X86/X86ISelLowering.cpp | ||
10743 | Is that possible? I wasn't sure of how to and asking in #llvm didn't yield any answers. |
Why do you need this option? The point of having a positive attribute (split-stack) attribute is that we can remove the existing codegen option.