craig.topper added a comment. I'd also like to know what happens if you add "(fneg undef) -> undef" fold to DAGCombiner::visitFNEG. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D104440/new/ https://reviews.llvm.org/D104440