[LVI] Check ConstantFoldCompareInstOperands() failure (NFCI)
authorNikita Popov <npopov@redhat.com>
Thu, 20 Jul 2023 12:49:08 +0000 (14:49 +0200)
committerNikita Popov <npopov@redhat.com>
Thu, 20 Jul 2023 12:51:03 +0000 (14:51 +0200)
commit781beb3de5a898107c28b74c1a228d86c6eed19e
tree313d42198a1eab476223e8d5d7a838194a5eb99a
parentb846f439240887f5c6ac24eadded2d41ae8c1bd1
[LVI] Check ConstantFoldCompareInstOperands() failure (NFCI)

I don't believe this can happen right now (because we're only
working on icmps and as such can't hit the current fcmp null
paths), but this will be possible in the future when icmp
constant expressions are removed.
llvm/lib/Analysis/LazyValueInfo.cpp