diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-21 20:15:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-21 20:15:25 +0000 |
commit | 037d732e09e23369c7fe89eb5a325e8d1fb61e91 (patch) | |
tree | cb535f3b87f218b43527e3b3618ae945261efeee /utils/TableGen/CodeGenTarget.cpp | |
parent | 608034ec1a11c5b546f20775736652bcaf30049c (diff) |
Alignment is now in bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15976 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenTarget.cpp')
-rw-r--r-- | utils/TableGen/CodeGenTarget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp index b9c7f5172c..49fd772d2e 100644 --- a/utils/TableGen/CodeGenTarget.cpp +++ b/utils/TableGen/CodeGenTarget.cpp @@ -133,8 +133,7 @@ void CodeGenTarget::ReadRegisterClasses() const { 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(); |