aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-05-20 17:48:26 +0000
committerDale Johannesen <dalej@apple.com>2010-05-20 17:48:26 +0000
commit8052a18e2c6bf52ad49c18cad39059238624d03c (patch)
tree8817c25a649dad2d2f38f0d5a11feee1ad8fb847 /lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentba0e38cdf9c1fa6decdd9d3684028281d61b6af8 (diff)
downloadexternal_llvm-8052a18e2c6bf52ad49c18cad39059238624d03c.zip
external_llvm-8052a18e2c6bf52ad49c18cad39059238624d03c.tar.gz
external_llvm-8052a18e2c6bf52ad49c18cad39059238624d03c.tar.bz2
The PPC MFCR instruction implicitly uses all 8 of the CR
registers. Currently it is not so marked, which leads to VCMPEQ instructions that feed into it getting deleted. If it is so marked, local RA complains about this sequence: vreg = MCRF CR0 MFCR <kill of whatever preg got assigned to vreg> All current uses of this instruction are only interested in one of the 8 CR registers, so redefine MFCR to be a normal unary instruction with a CR input (which is emitted only as a comment). That avoids all problems. 7739628. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions