[ConstraintElimination] Verify CS and DFSInStack are in sync.(NFC)
authorFlorian Hahn <flo@fhahn.com>
Sat, 30 Jan 2021 17:56:51 +0000 (17:56 +0000)
committerFlorian Hahn <flo@fhahn.com>
Sat, 30 Jan 2021 18:27:04 +0000 (18:27 +0000)
commit39486753d5c69d98d510c9ed43c92f076ec4c602
treee7ee967bf862fbbae2cda68176e39dfb6db44be4
parent627b5bda11a79785a21b1a50070415d4188aba6a
[ConstraintElimination] Verify CS and DFSInStack are in sync.(NFC)

After the main loop is done, we should have one constraint per item in
DFSInStack. Otherwise we added a constraint without a proper DFSInStack
item.
llvm/lib/Transforms/Scalar/ConstraintElimination.cpp