[TargetMachine][CodeGenModule] Delete unneeded ppc32 special case from shouldAssumeDS...
authorFangrui Song <i@maskray.me>
Sat, 5 Dec 2020 08:42:07 +0000 (00:42 -0800)
committerFangrui Song <i@maskray.me>
Sat, 5 Dec 2020 08:42:07 +0000 (00:42 -0800)
commit1ab9327d1c01645806394faa648f65e947b65177
treeee41f2884dc1f54c50a954d3fbcf20f21823dd3a
parent2ec43a7b2276673c5556e40c954b1874ee5ec072
[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).
clang/lib/CodeGen/CodeGenModule.cpp
llvm/lib/Target/TargetMachine.cpp