| Index: src/IceRegAlloc.cpp
|
| diff --git a/src/IceRegAlloc.cpp b/src/IceRegAlloc.cpp
|
| index 8ae852c8abd70482714b4911ee69864355efc5f5..774815e5aa0e7844ffb065f0da9d0a8de2ffbbdd 100644
|
| --- a/src/IceRegAlloc.cpp
|
| +++ b/src/IceRegAlloc.cpp
|
| @@ -219,8 +219,6 @@ void LinearScan::initForInfOnly() {
|
| if (Instr.isDeleted())
|
| continue;
|
| FOREACH_VAR_IN_INST(Var, Instr) {
|
| - if (Var->isRematerializable())
|
| - continue;
|
| if (Var->getIgnoreLiveness())
|
| continue;
|
| if (Var->hasReg() || Var->mustHaveReg()) {
|
| @@ -231,7 +229,7 @@ void LinearScan::initForInfOnly() {
|
| }
|
| }
|
| if (const Variable *Var = Instr.getDest()) {
|
| - if (!Var->isRematerializable() && !Var->getIgnoreLiveness() &&
|
| + if (!Var->getIgnoreLiveness() &&
|
| (Var->hasReg() || Var->mustHaveReg())) {
|
| if (LRBegin[Var->getIndex()] == Inst::NumberSentinel) {
|
| LRBegin[Var->getIndex()] = Instr.getNumber();
|
|
|