[llvm] [GlobalISel] Check whether `G_CTLZ` is legal in `matchUMulHToLShr` (PR #126457)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 9 20:09:31 PST 2025


================
@@ -0,0 +1,98 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
----------------
arsenm wrote:

You would have an easier time reproducing this by directly emitting a multiply + shift by half bitwidth. it just happens one appears inside the div expansion 

https://github.com/llvm/llvm-project/pull/126457


More information about the llvm-commits mailing list