From: Rafael Espindola Date: Thu, 19 Dec 2013 16:54:10 +0000 (+0000) Subject: Small simplification: p0 is the same as p. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8aedbca8a5ee299f8c268ad064597e9693ef0d6;p=clang Small simplification: p0 is the same as p. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197700 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 417e7b19c6..d6980909d5 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -1431,7 +1431,7 @@ static const char *DescriptionStringR600DoubleOps = static const char *DescriptionStringSI = "e" - "-p0:32:32-p1:64:64-p2:64:64-p3:32:32-p4:32:32-p5:64:64" + "-p: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" diff --git a/test/CodeGen/target-data.c b/test/CodeGen/target-data.c index 1628d5bd0e..a4db2e070a 100644 --- a/test/CodeGen/target-data.c +++ b/test/CodeGen/target-data.c @@ -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-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" +// R600SI: target datalayout = "e-p: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