[PATCH] X86_64 target now obeys llc -disable-red-zone option

Steve King steve at metrokings.com
Mon Oct 13 09:31:20 PDT 2014


Hi, I haven't seen any comments on this patch.  Can someone please
advise or suggest a specific reviewer?
Thanks,
-steve

On Wed, Oct 8, 2014 at 1:52 PM, Steve King <kingshizzle at gmail.com> wrote:
> 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.
>
> http://reviews.llvm.org/D5681
>
> Files:
>   include/llvm/CodeGen/CommandFlags.h
>   include/llvm/Target/TargetOptions.h
>   lib/Target/X86/X86FrameLowering.cpp
>   test/CodeGen/X86/red-zone.ll




More information about the llvm-commits mailing list