[PATCH] D31211: [AMDGPU] Add target triple environment amdgiz and amdgizcl

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 11:12:38 PDT 2017


arsenm added inline comments.


================
Comment at: include/llvm/ADT/Triple.h:202-203
     OpenCL,
-    LastEnvironmentType = OpenCL
+    AMDGIZ,
+    AMDGIZCL,
+    LastEnvironmentType = AMDGIZCL,
----------------
Can you not include these and just directly check getEnvironmentName? We should not be adding temporary junk here


https://reviews.llvm.org/D31211





More information about the llvm-commits mailing list