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:
parent
7f5fd43f25
commit
037fdeea0f
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user