[llvm-commits] CVS: llvm/lib/Transforms/IPO/MutateStructTypes.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 19 16:36:42 PDT 2003
Changes in directory llvm/lib/Transforms/IPO:
MutateStructTypes.cpp updated: 1.40 -> 1.41
---
Log message:
Change the Opcode enum for PHI nodes from "Instruction::PHINode" to "Instruction::PHI" to be more consistent with the other instructions.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Transforms/IPO/MutateStructTypes.cpp
diff -u llvm/lib/Transforms/IPO/MutateStructTypes.cpp:1.40 llvm/lib/Transforms/IPO/MutateStructTypes.cpp:1.41
--- llvm/lib/Transforms/IPO/MutateStructTypes.cpp:1.40 Sun Oct 12 22:32:08 2003
+++ llvm/lib/Transforms/IPO/MutateStructTypes.cpp Sun Oct 19 16:34:28 2003
@@ -425,7 +425,7 @@
}
// Miscellaneous Instructions
- case Instruction::PHINode: {
+ case Instruction::PHI: {
const PHINode &OldPN = cast<PHINode>(I);
PHINode *PN = new PHINode(ConvertType(OldPN.getType()));
for (unsigned i = 0; i < OldPN.getNumIncomingValues(); ++i)
More information about the llvm-commits
mailing list