[LLVMdev] Doubts about lowering of UMUL_LOHI

Eli Friedman eli.friedman at gmail.com
Thu Dec 18 00:22:09 PST 2008


On Wed, Dec 17, 2008 at 11:49 PM,  <Sachin.Punyani at microchip.com> wrote:
> 2)       Why is custom legalization of this node not allowed?

No target has needed it so far.  Why do you need it?

> 3)       My target does not have any instruction directly matching to this
> operation. How should this node be legalized?

If your target doesn't have this operation, you should mark it Expand;
legalization will take care of the rest.

-Eli



More information about the llvm-dev mailing list