[PATCH] SelectionDAG: Don't do libcall on div/rem if divrem is custom
Ahmed Bougacha
ahmed.bougacha at gmail.com
Tue May 26 16:29:19 PDT 2015
I'm not a big fan, but I don't have a better alternative, so, LGTM, thanks!
In http://reviews.llvm.org/D7803#177402, @jvesely wrote:
> i considered using SDNode, but the line
> SDNode *Res = DAG.getNode(..................).getNode();
> looked a bit long/awkward.
Fair enough. How about using an explicit Res.getValue(0) for DIV instead?
REPOSITORY
rL LLVM
http://reviews.llvm.org/D7803
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list