mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Simplify further.
Thanks to Jim Grosbach for noticing it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196846 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -75,24 +75,16 @@ static std::string computeDataLayout(ARMSubtarget &ST) {
|
||||
else
|
||||
Ret += "-f64:64:64-i64:64:64";
|
||||
|
||||
if (ST.isThumb()) {
|
||||
if (ST.isAPCS_ABI())
|
||||
if (ST.isThumb())
|
||||
Ret += "-i16:16:32-i8:8:32-i1:8:32";
|
||||
else
|
||||
Ret += "-i16:16:32-i8:8:32-i1:8:32";
|
||||
}
|
||||
|
||||
if (ST.isAPCS_ABI())
|
||||
Ret += "-v128:32:128-v64:32:64";
|
||||
else
|
||||
Ret += "-v128:64:128-v64:64:64";
|
||||
|
||||
if (ST.isThumb()) {
|
||||
if (ST.isAPCS_ABI())
|
||||
if (ST.isThumb())
|
||||
Ret += "-a:0:32";
|
||||
else
|
||||
Ret += "-a:0:32";
|
||||
}
|
||||
|
||||
Ret += "-n32";
|
||||
|
||||
|
Reference in New Issue
Block a user