commit | 8eca275c0f09f24fc6a0305fcec4b15afdc054d7 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Thu Dec 17 23:45:18 2009 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Thu Dec 17 23:45:18 2009 +0000 |
tree | 9db302d9b9ebb015d6c39e1a222a83c94b075fb8 | |
parent | 901d4f36908bed8f2f461d2d2ed75696ed50ceee [diff] [blame] |
Revert accidental commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91635 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/StrongPHIElimination.cpp b/lib/CodeGen/StrongPHIElimination.cpp index 345e228..3c13906 100644 --- a/lib/CodeGen/StrongPHIElimination.cpp +++ b/lib/CodeGen/StrongPHIElimination.cpp
@@ -907,7 +907,7 @@ // Determine which phi node operands need copies for (MachineFunction::iterator I = Fn.begin(), E = Fn.end(); I != E; ++I) - if (!I->empty() && !I->isLandingPad() && + if (!I->empty() && I->begin()->getOpcode() == TargetInstrInfo::PHI) processBlock(I);