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:
4c37c07
)
PPC preferred loop alignment is 16.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 6 Jun 2008 19:50:46 +0000
(19:50 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 6 Jun 2008 19:50:46 +0000
(19:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52056
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelLowering.cpp
b/lib/Target/PowerPC/PPCISelLowering.cpp
index f528143a8ba4a88fcb265a21b060134527367500..10256e7ded38aee1cf8d6be08cf206e0c630f206 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/
lib/Target/PowerPC/PPCISelLowering.cpp
@@
-363,6
+363,9
@@
PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM)
}
computeRegisterProperties();
+
+ // Perferred loop alignment is 16.
+ setPrefLoopAlignment(16);
}
/// getByValTypeAlignment - Return the desired alignment for ByVal aggregate