[all-commits] [llvm/llvm-project] d6ab91: [mlir][IR] `DominanceInfo`: Deduplicate `properlyD...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Sat Nov 9 22:23:12 PST 2024
Branch: refs/heads/users/matthias-springer/dominance_deduplicate
Home: https://github.com/llvm/llvm-project
Commit: d6ab91c2006c758c592ed964ad790b85808d44e2
https://github.com/llvm/llvm-project/commit/d6ab91c2006c758c592ed964ad790b85808d44e2
Author: Matthias Springer <mspringer at nvidia.com>
Date: 2024-11-10 (Sun, 10 Nov 2024)
Changed paths:
M mlir/include/mlir/IR/Dominance.h
M mlir/lib/IR/Dominance.cpp
Log Message:
-----------
[mlir][IR] `DominanceInfo`: Deduplicate `properlyDominates` implementation
The implementations of `DominanceInfo::properlyDominates` and `PostDominanceInfo::properlyPostDominates` are almost identical: only one line of code is different. Define the function in `DominanceInfoBase` to avoid the code duplication.
Note: This commit is not marked as NFC because `PostDominanceInfo::properlyPostDominates` now also has an `enclosingOpOk` argument.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list