[PATCH] D24822: [SelectionDAG] Expand MULHU and enable division-by-constant for wide types

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 13:01:01 PDT 2016


efriedma added a comment.

Using Promote to indicate that a larger multiply should be used seems reasonable.

Not sure it really makes sense to say that there are three ways to perform the operation; UMUL_LOHI and MULHU are essentially the same operation, in the same way that DIV and DIVREM are the same operation.


https://reviews.llvm.org/D24822





More information about the llvm-commits mailing list