[PATCH] D60462: [TargetLowering][AMDGPU][X86] Improve SimplifyDemandedBits bitcast handling
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 22 06:54:21 PDT 2019
arsenm accepted this revision.
arsenm added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Target/AMDGPU/AMDGPUISelLowering.cpp:3162
+ // this improves the ability to match BFE patterns in isel.
+ if (LHS.getOpcode() == ISD::AND)
+ if (auto *Mask = dyn_cast<ConstantSDNode>(LHS.getOperand(1)))
----------------
Braecs around this
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60462/new/
https://reviews.llvm.org/D60462
More information about the llvm-commits
mailing list