[PATCH] D112085: [DAGCombiner] fold bit-hack form of usubsat
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 19 10:39:53 PDT 2021
RKSimon added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:6020
+ if (TLI.isOperationLegal(ISD::USUBSAT, VT))
+ if (SDValue V = foldAndToUsubsat(N, DAG))
----------------
If we could use hasOperation then AVX1 should be able to match this for 256-bit integers as well.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112085/new/
https://reviews.llvm.org/D112085
More information about the llvm-commits
mailing list