[llvm] [DAGCombiner] Allow tryToFoldExtOfLoad to use a sextload for zext nneg. (PR #81714)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 14 09:51:48 PST 2024
================
@@ -13170,15 +13177,23 @@ static SDValue tryToFoldExtOfLoad(SelectionDAG &DAG, DAGCombiner &Combiner,
!TLI.isLoadExtLegal(ExtLoadType, VT, N0.getValueType())))
----------------
topperc wrote:
Good catch. Maybe I'll just pre-scan for signed setccs instead of trying to integrate it into the existing scan so I can do it early.
https://github.com/llvm/llvm-project/pull/81714
More information about the llvm-commits
mailing list