I believe PR34584 was tracking that FIXME, but its since been
closed and a test case was added.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368397
91177308-0d34-0410-b5e6-
96231b3b80d8
return SDValue(N, 0);
}
- // TODO: AVX512 targets should also be able to simplify something like the
- // pattern above, but that pattern will be different. It will either need to
- // match setcc more generally or match PCMPGTM later (in tablegen?).
-
SDValue Value = Mst->getValue();
if (Value.getOpcode() == ISD::TRUNCATE && Value.getNode()->hasOneUse() &&
TLI.isTruncStoreLegal(Value.getOperand(0).getValueType(),