[flang-commits] [flang] [flang] Add 32-bit AIX target specific in order to build 32-bit flang-rt (PR #136051)

Daniel Chen via flang-commits flang-commits at lists.llvm.org
Thu Apr 17 08:20:48 PDT 2025


================
@@ -1020,6 +1020,37 @@ struct TargetAArch64 : public GenericTarget<TargetAArch64> {
 };
 } // namespace
 
+//===----------------------------------------------------------------------===//
+// PPC (AIX 32 bit) target specifics.
+//===----------------------------------------------------------------------===//
+namespace {
+struct TargetPPC : public GenericTarget<TargetPPC> {
----------------
DanielCChen wrote:

Thanks for the comments!
The reason I used `TargetPPC` is the string is consistent with the triple string and other usages. e.g. We use `powerpc-ibm-aix` and `powerpc64-ibm-aix`. There are also other usages that we use `ppc` for 32-bit and `ppc64` for 64-bit.

https://github.com/llvm/llvm-project/pull/136051


More information about the flang-commits mailing list