diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-08-18 20:04:24 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-08-18 20:04:24 +0000 |
commit | 7593525fcddc2ac7274629c1adc10a52803c7173 (patch) | |
tree | a6b68bcfb39f4cb4b82277e8c8ccc1ace8e34668 /llvm/lib/CodeGen/InstrSched/SchedGraph.cpp | |
parent | de44bc018a2dc7ceeded44d6b1ca3f280b01b859 (diff) | |
download | bcm5719-llvm-7593525fcddc2ac7274629c1adc10a52803c7173.tar.gz bcm5719-llvm-7593525fcddc2ac7274629c1adc10a52803c7173.zip |
Instead of using isDummyPhiInstr, we just compare the opcode with V9::PHI.
llvm-svn: 15906
Diffstat (limited to 'llvm/lib/CodeGen/InstrSched/SchedGraph.cpp')
-rw-r--r-- | llvm/lib/CodeGen/InstrSched/SchedGraph.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp b/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp index 03771fe01d1..e3b3cba5249 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp +++ b/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp @@ -21,6 +21,7 @@ #include "llvm/Target/TargetMachine.h" #include "../../Target/SparcV9/MachineCodeForInstruction.h" #include "../../Target/SparcV9/SparcV9RegInfo.h" +#include "../../Target/SparcV9/SparcV9InstrInfo.h" #include "Support/STLExtras.h" #include <iostream> @@ -561,7 +562,7 @@ void SchedGraph::buildNodesForBB(const TargetMachine& target, unsigned i = 0; for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); I != E; ++I, ++i) - if (!mii.isDummyPhiInstr(I->getOpcode())) { + if (I->getOpcode() != V9::PHI) { SchedGraphNode* node = new SchedGraphNode(getNumNodes(), &MBB, i, target); noteGraphNodeForInstr(I, node); |