[PATCH] D80485: [DAGCombiner][PowerPC] Remove isMulhCheaperThanMulShift TLI hook. Use isOperationLegalOrCustom directly instead.
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 14 12:53:02 PDT 2020
dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.
Thanks for doing this. It looks good to me, if the X86 change is not too egregious.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:8212
+ if (!TLI.isOperationLegalOrCustom(MulhOpcode, NarrowVT))
+ return SDValue();
+
----------------
This formatting is a touch off.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80485/new/
https://reviews.llvm.org/D80485
More information about the llvm-commits
mailing list