[PowerPC] The VK_PLT symbolref modifier is only used on 32-bit ELF. [NFC]
authorSean Fertile <sd.fertile@gmail.com>
Wed, 8 Jan 2020 17:32:32 +0000 (12:32 -0500)
committerSean Fertile <sd.fertile@gmail.com>
Thu, 9 Jan 2020 19:07:07 +0000 (14:07 -0500)
commit1a1dbea24df51e441f3517abb8e251df0029dad7
tree1e75a24dd888bdde3e7baaf6b18f6e82aceb7bd2
parent183b5d38d7cffc10ff9f4914b8879ed5b1976e40
[PowerPC] The VK_PLT symbolref modifier is only used on 32-bit ELF. [NFC]

Fix a conditional that guarded code for execution only on 32-bit ELF by
checking that the Subtarget was not 64-bit and not-Darwin. By adding a new
target ABI (AIX), the condition is no longer correct. This code is dead for
AIX, due to a 'report_fatal_error' for thread local storage usage earlier in the
pipeline, but needs to be modifed as part of Darwins removal from the
PowerPC backend.
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp