aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorJakub Kuderski <kubak@google.com>2022-12-13 14:33:22 -0500
committerJakub Kuderski <kubak@google.com>2022-12-13 14:33:31 -0500
commitdbf42f0b1269eacb928efc079fd6ee54975c91da (patch)
treee60086d865404cb5bae31f648eb09e04b28a4f80 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent3a020527c2af10741b12e756de45bd6f774885a4 (diff)
downloadllvm-dbf42f0b1269eacb928efc079fd6ee54975c91da.zip
llvm-dbf42f0b1269eacb928efc079fd6ee54975c91da.tar.gz
llvm-dbf42f0b1269eacb928efc079fd6ee54975c91da.tar.bz2
Reland "[mlir][arith] Add canonicalization patterns for 'mul*i_extended'"
- Add a fold for `mulsi_extended(x, 1)` - Add folds to demote wide integer multiplication to `mul*i_extended` when the result is shifted and truncated: `trunci(shrui(mul(*ext(x), *ext(y)), c)) -> mul*i_extended(x, y)` Reviewed By: Mogball, jpienaar Differential Revision: https://reviews.llvm.org/D139778
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions