[all-commits] [llvm/llvm-project] 5c36ef: [flang] fix a dangling else in allOtherUsesAreSafe...
yebinchon via All-commits
all-commits at lists.llvm.org
Wed Apr 1 09:37:42 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5c36ef884321e293714da6e06239345ba2805d3c
https://github.com/llvm/llvm-project/commit/5c36ef884321e293714da6e06239345ba2805d3c
Author: yebinchon <86588366+yebinchon at users.noreply.github.com>
Date: 2026-04-01 (Wed, 01 Apr 2026)
Changed paths:
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
A flang/test/HLFIR/bufferize-associate-block-ordering.fir
Log Message:
-----------
[flang] fix a dangling else in allOtherUsesAreSafeForAssociate (#189748)
Fix a dangling if condition in allOtherUsesAreSafeForAssociate that
caused isBeforeInBlock to be called even when instructions were known to
not be in the same block, triggering an assertion. The condition was
changed to else if and added brackets.
---------
Co-authored-by: Yebin Chon <ychon at nvidia.com>
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