[llvm-commits] CVS: llvm/lib/VMCore/Constants.cpp
Reid Spencer
reid at x10sys.com
Sun Dec 24 10:42:45 PST 2006
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.191 -> 1.192
---
Log message:
Fix some comments.
---
Diffs of the changes: (+2 -2)
Constants.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMCore/Constants.cpp:1.191 llvm/lib/VMCore/Constants.cpp:1.192
--- llvm/lib/VMCore/Constants.cpp:1.191 Sat Dec 23 00:05:41 2006
+++ llvm/lib/VMCore/Constants.cpp Sun Dec 24 12:42:29 2006
@@ -1818,7 +1818,7 @@
std::vector<Constant*> ArgVec;
ArgVec.push_back(LHS);
ArgVec.push_back(RHS);
- // Fake up an opcode value that encodes both the opcode and predicate
+ // Get the key type with both the opcode and predicate
const ExprMapKeyType Key(Instruction::ICmp, ArgVec, pred);
return ExprConstants->getOrCreate(Type::BoolTy, Key);
}
@@ -1835,7 +1835,7 @@
std::vector<Constant*> ArgVec;
ArgVec.push_back(LHS);
ArgVec.push_back(RHS);
- // Fake up an opcode value that encodes both the opcode and predicate
+ // Get the key type with both the opcode and predicate
const ExprMapKeyType Key(Instruction::FCmp, ArgVec, pred);
return ExprConstants->getOrCreate(Type::BoolTy, Key);
}
More information about the llvm-commits
mailing list