mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
One last cleanup of LLVM's DataLayout strings.
Produce them in the same order on every target. The order is that of getStringRepresentation: e|E-i*-f*-v*-a*-s*-n*-S*. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197411 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -50,8 +50,7 @@ SchedCustomRegistry("r600", "Run R600's custom scheduler",
|
||||
createR600MachineScheduler);
|
||||
|
||||
static std::string computeDataLayout(const AMDGPUSubtarget &ST) {
|
||||
std::string Ret = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256"
|
||||
"-v256:256-v512:512-v1024:1024-v2048:2048-n32:64";
|
||||
std::string Ret = "e";
|
||||
|
||||
if (!ST.is64bit())
|
||||
Ret += "-p:32:32";
|
||||
@@ -59,6 +58,9 @@ static std::string computeDataLayout(const AMDGPUSubtarget &ST) {
|
||||
if (ST.getGeneration() >= AMDGPUSubtarget::SOUTHERN_ISLANDS)
|
||||
Ret += "-p3:32:32";
|
||||
|
||||
Ret += "-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256"
|
||||
"-v512:512-v1024:1024-v2048:2048-n32:64";
|
||||
|
||||
return Ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user