[PATCH] D80758: [PowerPC] Add -m[no-]power10-vector clang and llvm option

Lei Huang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 2 07:08:50 PDT 2020


lei accepted this revision.
lei added a comment.

LGTM. 
Minor nit can be addressed during commit.



================
Comment at: clang/lib/Basic/Targets/PPC.cpp:413
+      Features["power9-vector"] = Features["power10-vector"] = false;
+    if (Name == "power9-vector")
+      Features["power10-vector"] = false;
----------------
nit: this should be an `else if`, same as what you did on line 401.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80758/new/

https://reviews.llvm.org/D80758





More information about the cfe-commits mailing list