[all-commits] [llvm/llvm-project] 69a53b: [Flang] Fix perfect loop nest detection (#161554)
Michael Kruse via All-commits
all-commits at lists.llvm.org
Wed Oct 1 14:27:46 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 69a53b8d54a6876dd322923a148d47749b76c5fc
https://github.com/llvm/llvm-project/commit/69a53b8d54a6876dd322923a148d47749b76c5fc
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M flang/lib/Semantics/resolve-directives.cpp
A flang/test/Lower/OpenMP/wsloop-collapse-continue.f90
M flang/test/Semantics/OpenMP/do08.f90
M flang/test/Semantics/OpenMP/do13.f90
Log Message:
-----------
[Flang] Fix perfect loop nest detection (#161554)
PR #160283 uses `Unwrap` to detect a `continue` statement, but it
applied it on the loop body itelf which sometimes finds a trailing
continue statement, but not always. Apply `Unwrap` on the last body
statement instead, where the `continue` is expected.
Fixes #161529
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