mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Add a comment, and fix a typo that broke the build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29094 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e05714a10
commit
b64ab8769e
@ -6255,7 +6255,8 @@ static bool DeadPHICycle(PHINode *PN, std::set<PHINode*> &PotentiallyDeadPHIs) {
|
||||
// PHINode simplification
|
||||
//
|
||||
Instruction *InstCombiner::visitPHINode(PHINode &PN) {
|
||||
if (mustPreservePassID(LCSSAID)) return 0;
|
||||
// If LCSSA is around, don't mess with Phi nodes
|
||||
if (mustPreserveAnalysisID(LCSSAID)) return 0;
|
||||
|
||||
if (Value *V = PN.hasConstantValue())
|
||||
return ReplaceInstUsesWith(PN, V);
|
||||
|
Loading…
Reference in New Issue
Block a user