[all-commits] [llvm/llvm-project] 4c303e: [mlir][IR] `DominanceInfo`: Deduplicate `properlyD...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Tue Nov 12 01:58:53 PST 2024
Branch: refs/heads/users/matthias-springer/dominance_deduplicate
Home: https://github.com/llvm/llvm-project
Commit: 4c303e15250570274dc11bfee7f06936fec2a8c9
https://github.com/llvm/llvm-project/commit/4c303e15250570274dc11bfee7f06936fec2a8c9
Author: Matthias Springer <mspringer at nvidia.com>
Date: 2024-11-12 (Tue, 12 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