[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:48:57 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 probably want 64-bit multiply, but I don't see the general combine to form umulh from mul + shift 

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


More information about the llvm-commits mailing list