[PATCH] D118377: [LLVM][AIX] Prefer a 32-bit default target triple on AIX
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 27 16:47:35 PST 2022
hubert.reinterpretcast accepted this revision.
hubert.reinterpretcast added a comment.
This revision is now accepted and ready to land.
LGTM with an observation.
================
Comment at: llvm/CMakeLists.txt:706-708
+# expect 32-bit objects by default.
+if("${LLVM_HOST_TRIPLE}" STREQUAL "powerpc64-ibm-aix")
+ set(LLVM_DEFAULT_TARGET_TRIPLE_default "powerpc-ibm-aix")
----------------
This relies on the user not explicitly configuring the host triple to include the AIX version.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118377/new/
https://reviews.llvm.org/D118377
More information about the llvm-commits
mailing list