[PATCH] D36802: AMDGPU: Cleanup most of the macros

Brian Sumner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 28 09:52:57 PDT 2017


b-sumner added inline comments.


================
Comment at: lib/Basic/Targets/AMDGPU.cpp:362
+    Builder.defineMacro(Twine("__") + Twine(GPUName));
+    Builder.defineMacro(Twine("__") + Twine(GPUName) + Twine("__"));
+  }
----------------
At the meeting we discussed defining every alias of the given GPU, rather than only the mcpu name.   Were we going to proceed with that?


https://reviews.llvm.org/D36802





More information about the cfe-commits mailing list