[PATCH] D124951: [SelectionDAG] Teach getNode to fold (max/min X, X) -> X.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 12:13:20 PDT 2022


RKSimon added a comment.

Don't we need this in DAGCombine as well to handle cases where the same arg appears after another fold?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124951/new/

https://reviews.llvm.org/D124951



More information about the llvm-commits mailing list