[LSR] Add masked load and store handling
authorDavid Green <david.green@arm.com>
Wed, 4 Mar 2020 11:45:41 +0000 (11:45 +0000)
committerDavid Green <david.green@arm.com>
Wed, 4 Mar 2020 18:36:10 +0000 (18:36 +0000)
commit38e532278e3190f28fec3ac06cc113c63273d4d8
tree6cdff75339a91345d6a500281b8a417b4552bc52
parente98ef0af2c725f12dc60556a039e947ddeeb9f42
[LSR] Add masked load and store handling

This teaches Loop Strength Reduction the details about masked load and
store address operands, so that it can have a better time optimising
them as it would for normal loads and stores.

Differential Revision: https://reviews.llvm.org/D75371
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
llvm/test/CodeGen/Thumb2/mve-postinc-lsr.ll