[llvm-commits] CVS: llvm/lib/Analysis/LiveVar/BBLiveVar.cpp
Misha Brukman
brukman at cs.uiuc.edu
Tue May 20 15:33:01 PDT 2003
Changes in directory llvm/lib/Analysis/LiveVar:
BBLiveVar.cpp updated: 1.32 -> 1.33
---
Log message:
Sparc instruction opcodes now all live under the `V9' namespace.
---
Diffs of the changes:
Index: llvm/lib/Analysis/LiveVar/BBLiveVar.cpp
diff -u llvm/lib/Analysis/LiveVar/BBLiveVar.cpp:1.32 llvm/lib/Analysis/LiveVar/BBLiveVar.cpp:1.33
--- llvm/lib/Analysis/LiveVar/BBLiveVar.cpp:1.32 Tue Jan 14 17:05:00 2003
+++ llvm/lib/Analysis/LiveVar/BBLiveVar.cpp Tue May 20 15:32:21 2003
@@ -91,7 +91,7 @@
// Put Phi operands in UseSet for the incoming edge, not node.
// They must not "hide" later defs, and must be handled specially
// during set propagation over the CFG.
- if (MI->getOpCode() == PHI) { // for a phi node
+ if (MI->getOpCode() == V9::PHI) { // for a phi node
const Value *ArgVal = Op;
const BasicBlock *PredBB = cast<BasicBlock>(*++OpI); // next ptr is BB
@@ -110,7 +110,7 @@
// do for implicit operands as well
for (unsigned i = 0; i < MI->getNumImplicitRefs(); ++i) {
- assert(MI->getOpCode() != PHI && "Phi cannot have implicit opeands");
+ assert(MI->getOpCode() != V9::PHI && "Phi cannot have implicit opeands");
const Value *Op = MI->getImplicitRef(i);
if (Op->getType() == Type::LabelTy) // don't process labels
More information about the llvm-commits
mailing list