[PATCH] D154357: [Driver] Recognize powerpc-unknown-eabi as a bare-metal toolchain

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 10 13:46:56 PDT 2023


MaskRay added a comment.

In D154357#4485881 <https://reviews.llvm.org/D154357#4485881>, @jroelofs wrote:

> gcc docs seem to indicate that these are valid triples:
>
> https://gcc.gnu.org/install/specific.html#powerpc-x-eabi

Thanks, good to know. `powerpc-*-eabi` indicates that the eabi environment desginates an embedded system, regardless of the vendor.
It seems that we should remove `if (Triple.getVendor() != llvm::Triple::UnknownVendor)`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154357



More information about the cfe-commits mailing list