[AST] Don't use WeakVH for unknown insts (NFCI)
authorNikita Popov <npopov@redhat.com>
Tue, 15 Nov 2022 15:44:35 +0000 (16:44 +0100)
committerNikita Popov <npopov@redhat.com>
Tue, 15 Nov 2022 15:46:05 +0000 (16:46 +0100)
commit8051c1db956615980770d50b2fb7aea2093372fa
tree2900d90ee5d7fdd56613fe32900f9fccb8ef14b3
parent1b829c3d3a8c0488f8aa553eb15c7ee658f491c9
[AST] Don't use WeakVH for unknown insts (NFCI)

After D138014 we do not support using AST with IR that is being
mutated. As such, we also no longer need to track unknown
instructions using WeakVH. Replace with AssertingVH to make sure
that they are not invalidated.
llvm/include/llvm/Analysis/AliasSetTracker.h
llvm/lib/Analysis/AliasSetTracker.cpp