[PATCH] D18472: AMDGPU: Remove separate r600 double data layout

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 25 05:54:47 PDT 2016


arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.

This is identical to the other r600 datalayout string.

http://reviews.llvm.org/D18472

Files:
  lib/Basic/Targets.cpp

Index: lib/Basic/Targets.cpp
===================================================================
--- lib/Basic/Targets.cpp
+++ lib/Basic/Targets.cpp
@@ -1747,10 +1747,6 @@
   "e-p: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";
 
-static const char *const DataLayoutStringR600DoubleOps =
-  "e-p: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";
-
 static const char *const DataLayoutStringSI =
   "e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-p24:64:64"
   "-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128"
@@ -1934,7 +1930,7 @@
     case GK_R700_DOUBLE_OPS:
     case GK_EVERGREEN_DOUBLE_OPS:
     case GK_CAYMAN:
-      resetDataLayout(DataLayoutStringR600DoubleOps);
+      resetDataLayout(DataLayoutStringR600);
       hasFP64 = true;
       hasFMAF = true;
       hasLDEXPF = false;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18472.51631.patch
Type: text/x-patch
Size: 923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160325/ad6af8e1/attachment.bin>


More information about the llvm-commits mailing list