[CFG] Add const qualifier to isPotentiallyReachableFromMany() (NFC)
authorNikita Popov <npopov@redhat.com>
Tue, 18 Oct 2022 08:05:12 +0000 (10:05 +0200)
committerNikita Popov <npopov@redhat.com>
Tue, 18 Oct 2022 08:06:07 +0000 (10:06 +0200)
commite162a73e41402feab4b3870cc7074f053099da64
tree908b9b344e5ad0433a99eff1445511ccaa1e687e
parentc28a977b87defd2f37fd0808d7ba6173133744ce
[CFG] Add const qualifier to isPotentiallyReachableFromMany() (NFC)

Accept a const pointer for StopBB. Unfortunately the worklist has
to use non-const pointers due to LoopInfo interaction.
llvm/include/llvm/Analysis/CFG.h
llvm/lib/Analysis/CFG.cpp