[ConstraintElimination] Simplify logic for using inverse predicate (NFC)
authorFlorian Hahn <flo@fhahn.com>
Mon, 3 Oct 2022 17:35:58 +0000 (18:35 +0100)
committerFlorian Hahn <flo@fhahn.com>
Mon, 3 Oct 2022 17:35:59 +0000 (18:35 +0100)
commitbdfe986d6601127cf5c31055a8085b0a47af2af6
tree5960e2ca860b427ad86be93d9deee941591836ad
parent9bcda47afcb4af2831654d7c31ad2e956202fed0
[ConstraintElimination] Simplify logic for using inverse predicate (NFC)

Recent improvements to the code structure mean we don't need to reset
the condition's predicate in the IR and later restore it. Remove the
restorer logic.
llvm/lib/Transforms/Scalar/ConstraintElimination.cpp