diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2008-06-06 19:50:46 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2008-06-06 19:50:46 +0000 |
| commit | 9bf9110d938acbb6719045331bc495c832655c0c (patch) | |
| tree | 39af5e08af7567977180621160ba8e22f8b1fcdd /llvm/lib/Target/PowerPC/PPCISelLowering.cpp | |
| parent | 2e34af659ad46199a48612637d1c19a761abe578 (diff) | |
| download | bcm5719-llvm-9bf9110d938acbb6719045331bc495c832655c0c.tar.gz bcm5719-llvm-9bf9110d938acbb6719045331bc495c832655c0c.zip | |
PPC preferred loop alignment is 16.
llvm-svn: 52056
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp index f528143a8ba..10256e7ded3 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/llvm/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 |

