[all-commits] [llvm/llvm-project] 1065f3: [DomTree] findNearestCommonDominator: assert the n...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Oct 4 15:38:46 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1065f3439bad59323f16e7c8ee568c7d94dcd952
https://github.com/llvm/llvm-project/commit/1065f3439bad59323f16e7c8ee568c7d94dcd952
Author: Fangrui Song <i at maskray.me>
Date: 2020-10-04 (Sun, 04 Oct 2020)
Changed paths:
M llvm/include/llvm/Support/GenericDomTree.h
Log Message:
-----------
[DomTree] findNearestCommonDominator: assert the nodes are in tree
i.e. they cannot be unreachable from the entry (which usually indicate usage errors).
This change allows the removal of some nullptr checks.
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D88758
More information about the All-commits
mailing list