[all-commits] [llvm/llvm-project] 86f2a3: [PowerPC] Add __PCREL__ when PC Relative is enabled.

stefanp-ibm via All-commits all-commits at lists.llvm.org
Mon Mar 15 13:13:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86f2a3d17878e430109be209fdb013fb3f4716ee
      https://github.com/llvm/llvm-project/commit/86f2a3d17878e430109be209fdb013fb3f4716ee
  Author: Stefan Pintilie <stefanp at ca.ibm.com>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/test/Preprocessor/init-ppc64.c

  Log Message:
  -----------
  [PowerPC] Add __PCREL__ when PC Relative is enabled.

This patch adds the `__PCREL__` define when PC Relative addressing is enabled.

Reviewed By: nemanjai, #powerpc

Differential Revision: https://reviews.llvm.org/D98546




More information about the All-commits mailing list