[PATCH] D19684: Power9 - Support for -mcpu=pwr9 in the front end

Eric Christopher via cfe-commits cfe-commits at lists.llvm.org
Tue May 3 14:06:14 PDT 2016


echristo accepted this revision.
echristo added a reviewer: echristo.
echristo added a comment.

Please do add tests before committing. Otherwise ok.

Thanks.

-eric


================
Comment at: lib/Basic/Targets.cpp:1239
@@ -1227,1 +1238,3 @@
+  if (defs & ArchDefinePwr9)
+    Builder.defineMacro("_ARCH_PWR9");
   if (defs & ArchDefineA2)
----------------
nemanjai wrote:
> Come to think of it - I should add a test case for this macro. It will be on the next revision if one is required or in the actual commit otherwise.
Please add a test for everything you just added, yes. :)


Repository:
  rL LLVM

http://reviews.llvm.org/D19684





More information about the cfe-commits mailing list