[PATCH] D79301: [LSR] Don't require reuse register under postinc
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 3 03:11:35 PDT 2020
dmgreen created this revision.
dmgreen added reviewers: samparker, bcahoon, gilr, qcolombet, sgundapa.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
LSR has some logic that tries to aggressively reuse registers in formula. This can lead to sub-optimal decision in complex loops where the backend it trying to use shouldFavorPostInc. This disables the re-use in those situations.
https://reviews.llvm.org/D79301
Files:
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
llvm/test/CodeGen/Thumb2/mve-postinc-lsr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79301.261685.patch
Type: text/x-patch
Size: 11046 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200503/e71b0b79/attachment.bin>
More information about the llvm-commits
mailing list