OSDN Git Service

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)
commit8f60438bd2fae11c5388a51372e4b6e07da58b1c
tree13be7ccaa21a91db816fe364ad3f9f053019baf9
parentb6e91f42927081637ef4a313a840d8dca37508d4
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303904 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstr64Bit.td