[all-commits] [llvm/llvm-project] 146d44: [LSR] Don't require register reuse under postinc
David Green via All-commits
all-commits at lists.llvm.org
Tue May 5 08:05:23 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 146d44c2511ab4d87f1d9c45dce56ad71427deab
https://github.com/llvm/llvm-project/commit/146d44c2511ab4d87f1d9c45dce56ad71427deab
Author: David Green <david.green at arm.com>
Date: 2020-05-05 (Tue, 05 May 2020)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
M llvm/test/CodeGen/Thumb2/mve-postinc-lsr.ll
Log Message:
-----------
[LSR] Don't require register reuse under postinc
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.
Differential Revision: https://reviews.llvm.org/D79301
More information about the All-commits
mailing list