aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bindings/Python/MainModule.cpp
diff options
context:
space:
mode:
authorMartin Wehking <martin.wehking@arm.com>2025-10-03 15:52:43 +0100
committerGitHub <noreply@github.com>2025-10-03 15:52:43 +0100
commitf4a39a838ad4b21825be0f54f1f2bf0aad7700e1 (patch)
tree6251d60466a2c95895924b0ec567383f08ca0715 /mlir/lib/Bindings/Python/MainModule.cpp
parent952b12394ecffce6cf2430aa29b193dd7dc897a8 (diff)
downloadllvm-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 'mlir/lib/Bindings/Python/MainModule.cpp')
0 files changed, 0 insertions, 0 deletions