[PATCH] D44355: [AArch64] Fold adds with tprel_lo12_nc and secrel_lo12 into a following ldr/str
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 10 21:32:13 PST 2018
mstorsjo added a comment.
I don't know - this is the way it's done currently for other, normal global variable: An ADDlow can get merged into a following LDR/STR. For cases when the ADDlow isn't merged or matched by something else, there needs to be a fallback rule that lowers it.
I guess I could look at adding other code for matching an ADDXri machine node with LDR/STR, but I don't know if that has got other implications.
Repository:
rL LLVM
https://reviews.llvm.org/D44355
More information about the llvm-commits
mailing list