[llvm-commits] [llvm][PATCH][Review Requested] Reserve X86 stack registers to avoid assertion failure(s)

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue May 1 12:43:46 PDT 2012


On May 1, 2012, at 12:41 PM, "Gurd, Preston" <preston.gurd at intel.com> wrote:

> Thanks very much, Jakob! Here is a revised and greatly simplified patch, as per your suggestion.
>  
> This patch marks the X86 floating point stack registers ST0-ST7 as reserved in order to avoid assertion failures in the register scavenger. The assertion failures were “Bad machine code: Using an undefined physical register” and “Bad machine code: MBB exits via unconditional fall-through but its successor differs from its CFG successor!”.
>  
> Please review.

LGTM, assuming tests are passing.

/jakob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120501/1f370d0c/attachment.html>


More information about the llvm-commits mailing list