OSDN Git Service

Add a RM pseudoreg for the rounding mode, which
authorDale Johannesen <dalej@apple.com>
Wed, 29 Oct 2008 18:26:45 +0000 (18:26 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 29 Oct 2008 18:26:45 +0000 (18:26 +0000)
commitb384ab9ea113ad22a9c7034b98060c7470f0dcc5
treee47d7c63447025d87a75367ed896ec60d8083caa
parent492f04c20317bb4f46c7e4898b8467fb56e46be9
Add a RM pseudoreg for the rounding mode, which
allows ppcf128->int conversion to work with
DeadInstructionElimination.  This is now turned
off but RM is harmless.  It does not do a complete
job of modeling the rounding mode.

Revert marking MFCR as using all 7 CR subregisters;
while correct, this caused the problem in PR 2964,
plus the local RA crash noted in the comments.
This was needed to make DeadInstructionElimination,
but as we are not running that, it is backed out
for now.  Eventually it should go back in and the
other problems fixed where they're broken.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58391 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstr64Bit.td
lib/Target/PowerPC/PPCInstrInfo.td
lib/Target/PowerPC/PPCRegisterInfo.cpp
lib/Target/PowerPC/PPCRegisterInfo.td