[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp MachOWriter.cpp
Reid Spencer
reid at x10sys.com
Wed Feb 14 18:27:25 PST 2007
Changes in directory llvm/lib/CodeGen:
AsmPrinter.cpp updated: 1.149 -> 1.150
MachOWriter.cpp updated: 1.27 -> 1.28
---
Log message:
For PR1195: http://llvm.org/PR1195 :
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
---
Diffs of the changes: (+3 -3)
AsmPrinter.cpp | 4 ++--
MachOWriter.cpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/CodeGen/AsmPrinter.cpp
diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.149 llvm/lib/CodeGen/AsmPrinter.cpp:1.150
--- llvm/lib/CodeGen/AsmPrinter.cpp:1.149 Sat Feb 10 14:31:59 2007
+++ llvm/lib/CodeGen/AsmPrinter.cpp Wed Feb 14 20:26:09 2007
@@ -805,8 +805,8 @@
}
return;
}
- } else if (const ConstantPacked *CP = dyn_cast<ConstantPacked>(CV)) {
- const PackedType *PTy = CP->getType();
+ } else if (const ConstantVector *CP = dyn_cast<ConstantVector>(CV)) {
+ const VectorType *PTy = CP->getType();
for (unsigned I = 0, E = PTy->getNumElements(); I < E; ++I)
EmitGlobalConstant(CP->getOperand(I));
Index: llvm/lib/CodeGen/MachOWriter.cpp
diff -u llvm/lib/CodeGen/MachOWriter.cpp:1.27 llvm/lib/CodeGen/MachOWriter.cpp:1.28
--- llvm/lib/CodeGen/MachOWriter.cpp:1.27 Tue Feb 13 23:52:17 2007
+++ llvm/lib/CodeGen/MachOWriter.cpp Wed Feb 14 20:26:09 2007
@@ -769,7 +769,7 @@
if (isa<UndefValue>(PC)) {
continue;
- } else if (const ConstantPacked *CP = dyn_cast<ConstantPacked>(PC)) {
+ } else if (const ConstantVector *CP = dyn_cast<ConstantVector>(PC)) {
unsigned ElementSize = TD->getTypeSize(CP->getType()->getElementType());
for (unsigned i = 0, e = CP->getNumOperands(); i != e; ++i)
WorkList.push_back(CPair(CP->getOperand(i), PA+i*ElementSize));
More information about the llvm-commits
mailing list