diff options
author | Martin Wehking <martin.wehking@arm.com> | 2025-10-03 15:52:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-03 15:52:43 +0100 |
commit | f4a39a838ad4b21825be0f54f1f2bf0aad7700e1 (patch) | |
tree | 6251d60466a2c95895924b0ec567383f08ca0715 /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 952b12394ecffce6cf2430aa29b193dd7dc897a8 (diff) | |
download | llvm-f4a39a838ad4b21825be0f54f1f2bf0aad7700e1.zip llvm-f4a39a838ad4b21825be0f54f1f2bf0aad7700e1.tar.gz llvm-f4a39a838ad4b21825be0f54f1f2bf0aad7700e1.tar.bz2 |
Fold SVE mul and mul_u to neg during isel (#160828)
Replace mul and mul_u ops with a neg operation if their second operand
is a splat value -1.
Apply the optimization also for mul_u ops if their first operand is a
splat value -1 due to their commutativity.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions