r197660 - Update SI datalayout for 32-bit private pointers
Matt Arsenault
Matthew.Arsenault at amd.com
Wed Dec 18 21:33:14 PST 2013
Author: arsenm
Date: Wed Dec 18 23:33:14 2013
New Revision: 197660
URL: http://llvm.org/viewvc/llvm-project?rev=197660&view=rev
Log:
Update SI datalayout for 32-bit private pointers
Modified:
cfe/trunk/lib/Basic/Targets.cpp
cfe/trunk/test/CodeGen/target-data.c
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=197660&r1=197659&r2=197660&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Wed Dec 18 23:33:14 2013
@@ -1431,8 +1431,7 @@ static const char *DescriptionStringR600
static const char *DescriptionStringSI =
"e"
- ""
- "-p3:32:32"
+ "-p0:32:32-p1:64:64-p2:64:64-p3:32:32-p4:32:32-p5:64:64"
"-i64:64"
"-v16:16-v24:32-v32:32-v48:64-v96:128"
"-v192:256-v256:256-v512:512-v1024:1024-v2048:2048"
Modified: cfe/trunk/test/CodeGen/target-data.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/target-data.c?rev=197660&r1=197659&r2=197660&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/target-data.c (original)
+++ cfe/trunk/test/CodeGen/target-data.c Wed Dec 18 23:33:14 2013
@@ -116,7 +116,7 @@
// RUN: %clang_cc1 -triple r600-unknown -target-cpu hawaii -o - -emit-llvm %s \
// RUN: | FileCheck %s -check-prefix=R600SI
-// R600SI: target datalayout = "e-p3:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64"
+// R600SI: target datalayout = "e-p0:32:32-p1:64:64-p2:64:64-p3:32:32-p4:32:32-p5:64:64-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64"
// RUN: %clang_cc1 -triple aarch64-unknown -o - -emit-llvm %s | \
// RUN: FileCheck %s -check-prefix=AARCH64
More information about the cfe-commits
mailing list