This patch marks the X86 floating point stack registers ST0-ST7 as reserved
authorPreston Gurd <preston.gurd@intel.com>
Tue, 1 May 2012 19:50:22 +0000 (19:50 +0000)
committerPreston Gurd <preston.gurd@intel.com>
Tue, 1 May 2012 19:50:22 +0000 (19:50 +0000)
commit66413b61f0fee8f8177aeadb27d16e8eb7d30472
tree3b16a87ed22323c108208470143508eb52fbb98d
parent686c01854e49748ef2e23851bd0abfa8b9b414f3
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!”.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155930 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp