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

Steve King kingshizzle at gmail.com
Wed Oct 8 13:52:09 PDT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5681.14602.patch
Type: text/x-patch
Size: 3862 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141008/7be77d0c/attachment.bin>


More information about the llvm-commits mailing list