[PATCH] D30708: [ARM] SMULW [T|B] DAG Combine

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 09:51:28 PST 2017


efriedma added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/TargetLowering.cpp:475
+bool TargetLowering::SimplifyDemandedLowBits(SDValue Op, unsigned BitWidth,
+                                             DAGCombinerInfo &DCI) const {
+
----------------
You can unify SimplifyDemandedLowBits and SimplifyDemandedHighBits by adding one function that takes the DemandedMask as an argument.


https://reviews.llvm.org/D30708





More information about the llvm-commits mailing list