Files
clang-p2996/llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Shilei Tian 70fdd9f0a2 [GlobalISel] Check whether G_CTLZ is legal in matchUMulHToLShr (#126457)
We need to check `G_CTLZ` because the combine uses `G_CTLZ` to get log
base 2,
and it is not always legal for on a target.

Fixes SWDEV-512440.
2025-02-10 00:11:09 -05:00

280 KiB