X86_64 enables red zone optimization regardless of llc -disable-red-zone command line flag. This patch corrects this with a target option flag checked in X86FrameLowering::emitPrologue(). The existing x86_64 red-zone regression test is extended to check for this case.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I think this is OK. Grosbach, what do you think?
| include/llvm/Target/TargetOptions.h | ||
|---|---|---|
| 195 | Don't duplicate name in comment. | |
Comment Actions
Does this mean the clang -m[no-]red-zone option wasn't hooked up either? Does this fix that if so?
Don't duplicate name in comment.