PPC: Correct Size for GETtlsADDR
authorKyle Butt <kyle+llvm@iteratee.net>
Thu, 25 May 2017 19:37:41 +0000 (19:37 +0000)
committerKyle Butt <kyle+llvm@iteratee.net>
Thu, 25 May 2017 19:37:41 +0000 (19:37 +0000)
commit13379d7c99f3dca3f36af36ddce6032cc11ce38a
treed8188c801399012b32c6e20c72724fba11458176
parentefd2b8f824e56b7498b9de2a8481e8738f17b6a6
PPC: Correct Size for GETtlsADDR

PPC::GETtlsADDR is lowered to a branch and a nop, by the assembly
printer. Its size was incorrectly marked as 4, correct it to 8. The
incorrect size can cause incorrect branch relaxation in
PPCBranchSelector under the right conditions.

llvm-svn: 303904
llvm/lib/Target/PowerPC/PPCInstr64Bit.td