mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Set minimum function alignment to 3 if target is Mips64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152282 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7065b7b203
commit
5fdf50065d
@ -250,7 +250,7 @@ MipsTargetLowering(MipsTargetMachine &TM)
|
||||
setTargetDAGCombine(ISD::AND);
|
||||
setTargetDAGCombine(ISD::OR);
|
||||
|
||||
setMinFunctionAlignment(2);
|
||||
setMinFunctionAlignment(HasMips64 ? 3 : 2);
|
||||
|
||||
setStackPointerRegisterToSaveRestore(IsN64 ? Mips::SP_64 : Mips::SP);
|
||||
computeRegisterProperties();
|
||||
|
Loading…
x
Reference in New Issue
Block a user