projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e9a5f
)
One more extract_subreg coalescing bug fix.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 17 Oct 2007 05:29:37 +0000
(
05:29
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 17 Oct 2007 05:29:37 +0000
(
05:29
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43065
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SimpleRegisterCoalescing.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SimpleRegisterCoalescing.cpp
b/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 1d274b3ef18455477efd2aebe464653ff7ccb23a..ee2cbbb8ea5b5f07fca915ca48c109274fcf1113 100644
(file)
--- a/
lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/
lib/CodeGen/SimpleRegisterCoalescing.cpp
@@
-236,7
+236,7
@@
bool SimpleRegisterCoalescing::JoinCopy(MachineInstr *CopyMI,
// If this is a extract_subreg where dst is a physical register, e.g.
// cl = EXTRACT_SUBREG reg1024, 1
// then create and update the actual physical register allocated to RHS.
- const TargetRegisterClass *RC
= mf_->getSSARegMap()->getRegClass(
SrcReg);
+ const TargetRegisterClass *RC
=mf_->getSSARegMap()->getRegClass(rep
SrcReg);
for (const unsigned *SRs = mri_->getSuperRegisters(repDstReg);
unsigned SR = *SRs; ++SRs) {
if (repDstReg == mri_->getSubReg(SR, SubIdx) &&