[PATCH] D16676: [mips][microMIPS] Add CodeGen support for SUBU16, SUB, SUBU, DSUB and DSUBU instructions

Simon Dardis via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 06:22:20 PDT 2016


sdardis added a comment.

I've looked farther and you can ignore:

> In MipsSEDAGToDAGISel::selectNode(SDNode *Node), there is an expansion for the ISD:SUBE node which currently expands to Mips::DSUBu / Mips::SUBu. You will need to extend that to cover micromips.


We have tables which perform the correct translation to microMIPS(R6).


http://reviews.llvm.org/D16676





More information about the llvm-commits mailing list