[all-commits] [llvm/llvm-project] 1ab932: [TargetMachine][CodeGenModule] Delete unneeded ppc...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Dec 5 00:47:18 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ab9327d1c01645806394faa648f65e947b65177
      https://github.com/llvm/llvm-project/commit/1ab9327d1c01645806394faa648f65e947b65177
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-12-05 (Sat, 05 Dec 2020)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M llvm/lib/Target/TargetMachine.cpp

  Log Message:
  -----------
  [TargetMachine][CodeGenModule] Delete unneeded ppc32 special case from shouldAssumeDSOLocal

PPCMCInstLower does not actually call shouldAssumeDSOLocal for ppc32 so this is dead.
Actually Clang ppc32 does produce a pair of absolute relocations which match GCC.

This also fixes a comment (R_PPC_COPY and R_PPC64_COPY do exist).




More information about the All-commits mailing list