[llvm-commits] CVS: llvm/utils/TableGen/CodeGenTarget.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Aug 21 13:15:35 PDT 2004
Changes in directory llvm/utils/TableGen:
CodeGenTarget.cpp updated: 1.20 -> 1.21
---
Log message:
Alignment is now in bits.
---
Diffs of the changes: (+1 -2)
Index: llvm/utils/TableGen/CodeGenTarget.cpp
diff -u llvm/utils/TableGen/CodeGenTarget.cpp:1.20 llvm/utils/TableGen/CodeGenTarget.cpp:1.21
--- llvm/utils/TableGen/CodeGenTarget.cpp:1.20 Sat Aug 21 15:00:35 2004
+++ llvm/utils/TableGen/CodeGenTarget.cpp Sat Aug 21 15:15:25 2004
@@ -133,8 +133,7 @@
CodeGenRegisterClass::CodeGenRegisterClass(Record *R) : TheDef(R) {
SpillSize = R->getValueAsInt("Size");
- // FIXME: should convert to bits in all targets.
- SpillAlignment = R->getValueAsInt("Alignment")*8;
+ SpillAlignment = R->getValueAsInt("Alignment");
if (CodeInit *CI = dynamic_cast<CodeInit*>(R->getValueInit("Methods")))
MethodDefinitions = CI->getValue();
More information about the llvm-commits
mailing list