Commit bf992646 authored by Junjie Gu's avatar Junjie Gu Committed by gbsbuild

Remove the code that seems not needed

Change-Id: I949b092f88ca9cd1d17ae6f1520efa85f0d5fb4c
parent 09d58b2d
......@@ -575,6 +575,7 @@ DeSSA::SplitInterferencesForBasicBlock(
// check live-out interference
Value *RootV = getRegRoot(PHI);
#if 0
for (unsigned i = 0; !RootV && i < PHI->getNumOperands(); i++) {
Value* SrcVal = PHI->getOperand(i);
if (!isa<Constant>(SrcVal)) {
......@@ -584,6 +585,7 @@ DeSSA::SplitInterferencesForBasicBlock(
}
}
}
#endif
if (!RootV)
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment