aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-diff/lib
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-08-05 08:31:24 -0700
committerCraig Topper <craig.topper@sifive.com>2021-08-05 08:31:26 -0700
commitf7076cfd3ad39ac71314c2deb5c5517c7c6bfd61 (patch)
treedd532d2f8226d2e20f0be03e533ea934224fafa8 /llvm/tools/llvm-diff/lib
parente9177b09585a8be62fb9d9d28f063323c5e36760 (diff)
downloadllvm-f7076cfd3ad39ac71314c2deb5c5517c7c6bfd61.zip
llvm-f7076cfd3ad39ac71314c2deb5c5517c7c6bfd61.tar.gz
llvm-f7076cfd3ad39ac71314c2deb5c5517c7c6bfd61.tar.bz2
[DAGCombiner][RISCV][AMDGPU] Call SimplifyDemandedBits at the end of visitMULHU to enable known bits contant folding.
We don't have real demanded bits support for MULHU, but we can still use the known bits based constant folding support at the end of SimplifyDemandedBits to simplify a MULHU. This helps with cases where we know the LHS and RHS have enough leading zeros so that the high multiply result is always 0. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D106471
Diffstat (limited to 'llvm/tools/llvm-diff/lib')
0 files changed, 0 insertions, 0 deletions