[PATCH] D105676: [AArch64][GlobalISel] Relax oneuse restriction for PTR_ADD chain combining to check addressing legality.
Sebastian Neubauer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 12 01:38:43 PDT 2021
sebastian-ne added a comment.
Thinking more about it, maybe it makes sense to only skip the combine if `isLegalAddressingMode(MaybeImm2Val->Value) && !isLegalAddressingMode(CombinedImm)`?
(That should also fix the case I mentioned in the last comment.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105676/new/
https://reviews.llvm.org/D105676
More information about the llvm-commits
mailing list