[all-commits] [llvm/llvm-project] 7cfded: [PowerPC] Add clang option -m[no-]pcrel

Lei Huang via All-commits all-commits at lists.llvm.org
Mon Jun 1 13:35:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cfded350a7edc87f4a67f84e4261e44954600d0
      https://github.com/llvm/llvm-project/commit/7cfded350a7edc87f4a67f84e4261e44954600d0
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2020-06-01 (Mon, 01 Jun 2020)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Basic/Targets/PPC.cpp
    M clang/lib/Basic/Targets/PPC.h
    A clang/test/Driver/ppc-pcrel.cpp

  Log Message:
  -----------
  [PowerPC] Add clang option -m[no-]pcrel

Summary:
Add user-facing front end option to turn off pc-relative memops.
This will be compatible with gcc.

Reviewers: stefanp, nemanjai, hfinkel, power-llvm-team, #powerpc, NeHuang, saghir

Reviewed By: stefanp, NeHuang, saghir

Subscribers: saghir, wuzish, shchenz, cfe-commits, kbarton, echristo

Tags: #clang, #powerpc

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




More information about the All-commits mailing list