[all-commits] [llvm/llvm-project] c0e8c9: [DomTree] Make assert more precise
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Oct 22 13:42:06 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c0e8c94373b4e97d2eecc53bb16d22e085b73948
https://github.com/llvm/llvm-project/commit/c0e8c94373b4e97d2eecc53bb16d22e085b73948
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2020-10-22 (Thu, 22 Oct 2020)
Changed paths:
M llvm/lib/IR/Dominators.cpp
Log Message:
-----------
[DomTree] Make assert more precise
Per asbirlea's comment, assert that only instructions, constants
and arguments are passed to this API. Simplify returning true
would not be correct for special Value subclasses like MemoryAccess.
More information about the All-commits
mailing list