[PATCH] D52304: [X86][BMI1]: X86DAGToDAGISel: select BEXTR from x & ~(-1 << nbits) pattern
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 10 23:49:19 PDT 2018
craig.topper added inline comments.
================
Comment at: lib/Target/X86/X86ISelDAGToDAG.cpp:2678
+ ConstantSDNode *ShlCst = dyn_cast<ConstantSDNode>(M0->getOperand(0));
+ if (!ShlCst || !ShlCst->isAllOnesValue())
+ return false;
----------------
ISD::isAllOnesConstant
Repository:
rL LLVM
https://reviews.llvm.org/D52304
More information about the llvm-commits
mailing list