[ConstantRange] Better diagnostic for correctness test failure (NFC)
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 15 Oct 2021 19:35:57 +0000 (21:35 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 15 Oct 2021 19:52:17 +0000 (21:52 +0200)
commit82e858d1bf4bbfa6c25cbf8ae86aced85e4b78f5
tree033509076d19fd05c5da2bcb3a6ea87257f6e944
parentd0e7bdc208491fd5d4245878c1ec2962694e2baa
[ConstantRange] Better diagnostic for correctness test failure (NFC)

Print a friendly error message including the inputs, result and
not-contained element if an exhaustive correctness test fails,
same as we do if the optimality test fails.
llvm/unittests/IR/ConstantRangeTest.cpp