[all-commits] [llvm/llvm-project] 57c9dc: [PowerPC] Do not add the relocation addend to the ...

stefanp-ibm via All-commits all-commits at lists.llvm.org
Mon Jun 15 07:53:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 57c9dc0521ab7ed7fbff0a25da16312e5a410e66
      https://github.com/llvm/llvm-project/commit/57c9dc0521ab7ed7fbff0a25da16312e5a410e66
  Author: Stefan Pintilie <stefanp at ca.ibm.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
    M llvm/test/CodeGen/PowerPC/pcrel-relocation-plus-offset.ll

  Log Message:
  -----------
  [PowerPC] Do not add the relocation addend to the instruction encoding

We should not be adding the relocation addend to the instruction encoding.
This patch removes that and sets those bits to zero.

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




More information about the All-commits mailing list