[all-commits] [llvm/llvm-project] 9a733e: [clang][driver] accept maix32/maix64 gcc compat op...

David Tenty via All-commits all-commits at lists.llvm.org
Mon Mar 13 14:06:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a733e8a2c58957591e4dc0a02f9cfa6a06603de
      https://github.com/llvm/llvm-project/commit/9a733e8a2c58957591e4dc0a02f9cfa6a06603de
  Author: David Tenty <daltenty at ibm.com>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/Driver.cpp
    A clang/test/Driver/aix-maix.c

  Log Message:
  -----------
  [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




More information about the All-commits mailing list