[AArch64] Fold adds with tprel_lo12_nc and secrel_lo12 into a following ldr/str
authorMartin Storsjo <martin@martin.st>
Mon, 12 Mar 2018 18:47:43 +0000 (18:47 +0000)
committerMartin Storsjo <martin@martin.st>
Mon, 12 Mar 2018 18:47:43 +0000 (18:47 +0000)
commit7bc64bd889ad01cf2e8f4d3e8d1e82365553231c
treee898a0e4de7866c4cde795467d83931f20b8bcf1
parentee99aa4dd086b907bf4552f5b368a73e5f087655
[AArch64] Fold adds with tprel_lo12_nc and secrel_lo12 into a following ldr/str

Differential Revision: https://reviews.llvm.org/D44355

llvm-svn: 327316
llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/arm64-tls-execs.ll
llvm/test/CodeGen/AArch64/win-tls.ll