[clang] [driver][AIX] Accept '32_64' and 'any' as valid value for OBJECT_MODE (PR #205180)

David Tenty via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 24 08:06:08 PDT 2026


================
@@ -676,7 +676,8 @@ static llvm::Triple computeTargetTriple(const Driver &D,
 
       if (ObjectMode == "64") {
         AT = Target.get64BitArchVariant().getArch();
-      } else if (ObjectMode == "32") {
+      } else if (ObjectMode == "32" || ObjectMode == "32_64" ||
----------------
daltenty wrote:

I don't think this is the intention, this makes these options mutate the target to the 32-bit variant the same way `OBJECT_MODE=32`. 

We should just ignore these settings and take no action at all.

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


More information about the cfe-commits mailing list