r319735 - AMDGPU: Don't add fp64 feature to r600 subtargets

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 4 19:51:26 PST 2017


Author: arsenm
Date: Mon Dec  4 19:51:26 2017
New Revision: 319735

URL: http://llvm.org/viewvc/llvm-project?rev=319735&view=rev
Log:
AMDGPU: Don't add fp64 feature to r600 subtargets

Should fix test after r319709

Modified:
    cfe/trunk/lib/Basic/Targets/AMDGPU.cpp

Modified: cfe/trunk/lib/Basic/Targets/AMDGPU.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets/AMDGPU.cpp?rev=319735&r1=319734&r2=319735&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets/AMDGPU.cpp (original)
+++ cfe/trunk/lib/Basic/Targets/AMDGPU.cpp Mon Dec  4 19:51:26 2017
@@ -194,7 +194,7 @@ bool AMDGPUTargetInfo::initFeatureMap(
     case GK_R700_DOUBLE_OPS:
     case GK_EVERGREEN_DOUBLE_OPS:
     case GK_CAYMAN:
-      Features["fp64"] = true;
+      // TODO: Add fp64 when implemented.
       break;
     case GK_NONE:
       return false;




More information about the cfe-commits mailing list