[all-commits] [llvm/llvm-project] 0bc983: [LICM] Use DomTreeUpdater version of SplitBlockPre...
Joshua Cao via All-commits
all-commits at lists.llvm.org
Sun Sep 29 21:29:06 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0bc98349c84130babb6a4acf2951a0ccc84f574f
https://github.com/llvm/llvm-project/commit/0bc98349c84130babb6a4acf2951a0ccc84f574f
Author: Joshua Cao <cao.joshua at yahoo.com>
Date: 2024-09-29 (Sun, 29 Sep 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/LoopUtils.h
M llvm/lib/Transforms/Scalar/LICM.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
Log Message:
-----------
[LICM] Use DomTreeUpdater version of SplitBlockPredecessors, nfc (#107190)
The DominatorTree version is marked for deprecation, so we use the
DomTreeUpdater version. We also update sinkRegion() to iterate over
basic blocks instead of DomTreeNodes. The loop body calls
SplitBlockPredecessors. The DTU version calls
DomTreeUpdater::apply_updates(), which may call DominatorTree::reset().
This invalidates the worklist of DomTreeNodes to iterate over.
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