[all-commits] [llvm/llvm-project] c9539f: [PowerPC] Define XL-compatible macros only for AIX...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Wed Sep 29 04:15:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9539f957f57c0c2c59dab98f25215f241d4debf
      https://github.com/llvm/llvm-project/commit/c9539f957f57c0c2c59dab98f25215f241d4debf
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2021-09-29 (Wed, 29 Sep 2021)

  Changed paths:
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/test/CodeGen/builtins-ppc-xlcompat-LoadReseve-StoreCond-64bit-only.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-LoadReseve-StoreCond.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-cas.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-cipher.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-cmplx.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-compare.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-conversionfunc.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-darn.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-error.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-expect.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-fetch.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-fp.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-load-store-reversed-64bit-only.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-load-store-reversed.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-macros.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-math.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-move-tofrom-regs.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-multiply-64bit-only.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-multiply.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-popcnt.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-prefetch.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-pwr8.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-pwr9-64bit.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-pwr9-error.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-pwr9-warning.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-pwr9.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-rotate.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-stfiw.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-swdiv_nochk.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-sync.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-test.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-trap-64bit-only.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-trap.c
    M clang/test/CodeGen/builtins-ppc-xlcompat-vec-error.c
    M clang/test/CodeGen/builtins-ppc-xlcompat.c

  Log Message:
  -----------
  [PowerPC] Define XL-compatible macros only for AIX and Linux

Since XLC only ever shipped on PowerPC AIX and Linux, it is not reasonable to
provide the compatibility macros on any target other than those two. This patch
restricts those macros to AIX/Linux.

Differential revision: https://reviews.llvm.org/D110213




More information about the All-commits mailing list