[all-commits] [llvm/llvm-project] ca2d92: [OMPIRBuilder] CANCEL IF(FALSE) is still a cancell...
Tom Eccles via All-commits
all-commits at lists.llvm.org
Wed Oct 22 02:24:36 PDT 2025
Branch: refs/heads/users/tblah/cancel-bug-2
Home: https://github.com/llvm/llvm-project
Commit: ca2d920b4f8b78768c3b1ce833c88a2557037778
https://github.com/llvm/llvm-project/commit/ca2d920b4f8b78768c3b1ce833c88a2557037778
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2025-10-22 (Wed, 22 Oct 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
>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.
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