[all-commits] [llvm/llvm-project] e20b07: [PowerPC][Future] Add missing changes for PC Realt...

Victor Huang via All-commits all-commits at lists.llvm.org
Thu Apr 23 08:28:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e20b07b021e7a83208ab5ea92cff0dfd3644d144
      https://github.com/llvm/llvm-project/commit/e20b07b021e7a83208ab5ea92cff0dfd3644d144
  Author: Victor Huang <wei.huang at ibm.com>
  Date:   2020-04-23 (Thu, 23 Apr 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPC.h
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp

  Log Message:
  -----------
  [PowerPC][Future] Add missing changes for PC Realtive addressing

1. Use Subtarget.isUsingPCRelativeCalls() in LowerConstantPool to
check if using PCRelative addressing.

2. Change MO_GOT_FLAG = 32 to MO_GOT_FLAG = 8 in PPC.h to use
consecutive bits.

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




More information about the All-commits mailing list