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