[clang][driver] accept maix32/maix64 gcc compat options
authorDavid Tenty <daltenty@ibm.com>
Wed, 8 Mar 2023 20:48:44 +0000 (15:48 -0500)
committerDavid Tenty <daltenty@ibm.com>
Mon, 13 Mar 2023 21:05:52 +0000 (17:05 -0400)
commit9a733e8a2c58957591e4dc0a02f9cfa6a06603de
treefc6fea3b8570f506713c17085056f711590034e8
parenta8355772690f47215935106567ec77f6d24f06c9
[clang][driver] accept maix32/maix64 gcc compat options

GCC on AIX primarily uses the -maix32 and -maix64 to select the bitmode
to target. In order to be compatible with existing build configurations,
clang should accept these options as well. In this patch we implement
these options for AIX targets.

Differential Revision: https://reviews.llvm.org/D145610
clang/include/clang/Driver/Options.td
clang/lib/Driver/Driver.cpp
clang/test/Driver/aix-maix.c [new file with mode: 0644]