[all-commits] [llvm/llvm-project] bf2268: [OMPIRBuilder] CANCEL IF(FALSE) is still a cancell...
Tom Eccles via All-commits
all-commits at lists.llvm.org
Mon Dec 1 03:23:35 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bf22687c4842fe4f78cee34ec4e5e2d3e6e1fb59
https://github.com/llvm/llvm-project/commit/bf22687c4842fe4f78cee34ec4e5e2d3e6e1fb59
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2025-12-01 (Mon, 01 Dec 2025)
Changed paths:
M clang/test/OpenMP/cancel_codegen.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M mlir/test/Target/LLVMIR/openmp-cancel.mlir
Log Message:
-----------
[OMPIRBuilder] CANCEL IF(FALSE) is still a cancellation point (#170095)
>From OpenMP 4.0:
> When an if clause is present on a cancel construct and the if
expression
> evaluates to false, the cancel construct does not activate
cancellation.
> The cancellation point associated with the cancel construct is always
> encountered regardless of the value of the if expression.
This wording is retained unmodified in OpenMP 6.0.
This re-opens the already approved PR #164587, which was closed by
accident. The only changes are a rebase.
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