[llvm-commits] CVS: llvm/lib/Transforms/Utils/ValueMapper.cpp
Reid Spencer
reid at x10sys.com
Wed Feb 14 18:27:24 PST 2007
Changes in directory llvm/lib/Transforms/Utils:
ValueMapper.cpp updated: 1.29 -> 1.30
---
Log message:
For PR1195: http://llvm.org/PR1195 :
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
---
Diffs of the changes: (+2 -2)
ValueMapper.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Transforms/Utils/ValueMapper.cpp
diff -u llvm/lib/Transforms/Utils/ValueMapper.cpp:1.29 llvm/lib/Transforms/Utils/ValueMapper.cpp:1.30
--- llvm/lib/Transforms/Utils/ValueMapper.cpp:1.29 Fri Feb 2 18:08:31 2007
+++ llvm/lib/Transforms/Utils/ValueMapper.cpp Wed Feb 14 20:26:10 2007
@@ -78,7 +78,7 @@
for (unsigned i = 0, e = CE->getNumOperands(); i != e; ++i)
Ops.push_back(cast<Constant>(MapValue(CE->getOperand(i), VM)));
return VM[V] = CE->getWithOperands(Ops);
- } else if (ConstantPacked *CP = dyn_cast<ConstantPacked>(C)) {
+ } else if (ConstantVector *CP = dyn_cast<ConstantVector>(C)) {
for (unsigned i = 0, e = CP->getNumOperands(); i != e; ++i) {
Value *MV = MapValue(CP->getOperand(i), VM);
if (MV != CP->getOperand(i)) {
@@ -92,7 +92,7 @@
Values.push_back(cast<Constant>(MV));
for (++i; i != e; ++i)
Values.push_back(cast<Constant>(MapValue(CP->getOperand(i), VM)));
- return VM[V] = ConstantPacked::get(Values);
+ return VM[V] = ConstantVector::get(Values);
}
}
return VMSlot = C;
More information about the llvm-commits
mailing list