diff options
author | Dylan Fleming <Dylan.Fleming@arm.com> | 2021-07-26 11:26:28 +0100 |
---|---|---|
committer | Dylan Fleming <Dylan.Fleming@arm.com> | 2021-07-26 11:58:41 +0100 |
commit | 20b0fa91c9eebc7501e280049b61e8de352f3c94 (patch) | |
tree | 900061b9ccbb95b431b2bda2fa6abb84a049fda9 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 0bfc26e3a4bf291f1d64610fe422c82789d752bc (diff) | |
download | llvm-20b0fa91c9eebc7501e280049b61e8de352f3c94.zip llvm-20b0fa91c9eebc7501e280049b61e8de352f3c94.tar.gz llvm-20b0fa91c9eebc7501e280049b61e8de352f3c94.tar.bz2 |
[SVE] Add support for folding for select + masked loads
Add folds to instcombine to support the removal of select instruction when the masked_load is guaranteed to zero the same lanes, i.e. select(mask, mload(,,mask,0), 0) -> mload(,,mask,0).
Patch originally authored by @paulwalker-arm
Reviewed By: david-arm
Differential Revision: https://reviews.llvm.org/D106376
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions