commit | 6532ff889cdd671a715ea27cd7fe0e71e4418a91 | [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 | 3de8249078354d25b37b40e0f10b4f88226d3dd4 [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);