[PATCH] D121323: [InstCombine] Fold select based logic of fcmps with same operands when FMF is present.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 14:24:21 PDT 2022


spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.

LGTM - in the case of identical predicates and identical operands, EarlyCSE would get it already. It also seems to do an intersection of the FMF for that case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121323



More information about the llvm-commits mailing list