projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
608034e
)
Alignment is now in bits.
author
Chris Lattner
<sabre@nondot.org>
Sat, 21 Aug 2004 20:15:25 +0000
(20:15 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 21 Aug 2004 20:15:25 +0000
(20:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15976
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/CodeGenTarget.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/CodeGenTarget.cpp
b/utils/TableGen/CodeGenTarget.cpp
index b9c7f5172c4289cc3a13029f0858167e2db915a4..49fd772d2e5dd8c3edc132e665c366445dd273ac 100644
(file)
--- 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();