[PATCH] D56052: X86DAGToDAGISel::matchBitExtract() with truncation (PR36419)
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 14 14:12:51 PST 2019
craig.topper added inline comments.
================
Comment at: lib/Target/X86/X86ISelDAGToDAG.cpp:2822
+ MVT XVT = NVT;
+ if (!Subtarget->hasBMI2() && X.getOpcode() == ISD::TRUNCATE &&
+ X.getOperand(0).getOpcode() == ISD::SRL) {
----------------
Should we ensure the truncate input has only one use?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56052/new/
https://reviews.llvm.org/D56052
More information about the llvm-commits
mailing list