[all-commits] [llvm/llvm-project] 8051c1: [AST] Don't use WeakVH for unknown insts (NFCI)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Nov 15 07:46:24 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8051c1db956615980770d50b2fb7aea2093372fa
https://github.com/llvm/llvm-project/commit/8051c1db956615980770d50b2fb7aea2093372fa
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M llvm/include/llvm/Analysis/AliasSetTracker.h
M llvm/lib/Analysis/AliasSetTracker.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list