[all-commits] [llvm/llvm-project] 54aa92: [flang] Undo the effects of CSE for hlfir.exactly_...
Slava Zakharin via All-commits
all-commits at lists.llvm.org
Tue May 20 09:22:27 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 54aa9282edb5a3abe625893a63018bb75dc5c541
https://github.com/llvm/llvm-project/commit/54aa9282edb5a3abe625893a63018bb75dc5c541
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2025-05-20 (Tue, 20 May 2025)
Changed paths:
M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
A flang/test/HLFIR/order_assignments/where-after-cse.fir
Log Message:
-----------
[flang] Undo the effects of CSE for hlfir.exactly_once. (#140190)
CSE may delete operations from hlfir.exactly_once and reuse
the equivalent results from the parent region(s), e.g. from the parent
hlfir.region_assign. This makes it problematic to clone
hlfir.exactly_once before the top-level hlfir.where.
This patch adds a "canonicalizer" that pulls in such operations
back into hlfir.exactly_once.
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