[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Chris Lattner
sabre at nondot.org
Thu Nov 9 20:41:51 PST 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.316 -> 1.317
---
Log message:
commentate
---
Diffs of the changes: (+2 -0)
SelectionDAGISel.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.316 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.317
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.316 Wed Nov 8 00:47:33 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Thu Nov 9 22:41:34 2006
@@ -458,6 +458,8 @@
void visit(Instruction &I) { visit(I.getOpcode(), I); }
void visit(unsigned Opcode, User &I) {
+ // Note: this doesn't use InstVisitor, because it has to work with
+ // ConstantExpr's in addition to instructions.
switch (Opcode) {
default: assert(0 && "Unknown instruction type encountered!");
abort();
More information about the llvm-commits
mailing list