1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

NewGVN: Remove useless test in addPhiOfOps.

llvm-svn: 306702
This commit is contained in:
Daniel Berlin 2017-06-29 17:01:10 +00:00
parent 7f5fd43f25
commit 037fdeea0f

View File

@ -2423,8 +2423,7 @@ void NewGVN::addPhiOfOps(PHINode *Op, BasicBlock *BB,
AllTempInstructions.insert(Op); AllTempInstructions.insert(Op);
PHIOfOpsPHIs[BB].push_back(Op); PHIOfOpsPHIs[BB].push_back(Op);
TempToBlock[Op] = BB; TempToBlock[Op] = BB;
if (ExistingValue) RealToTemp[ExistingValue] = Op;
RealToTemp[ExistingValue] = Op;
} }
static bool okayForPHIOfOps(const Instruction *I) { static bool okayForPHIOfOps(const Instruction *I) {