[all-commits] [llvm/llvm-project] b77100: [OMPIRBuilder] CANCEL IF(FALSE) is still a cancell...
Tom Eccles via All-commits
all-commits at lists.llvm.org
Wed Nov 19 07:43:26 PST 2025
Branch: refs/heads/users/tblah/cancel-bug-2
Home: https://github.com/llvm/llvm-project
Commit: b771000ef3064dcce5ea35273e71c61e4772e126
https://github.com/llvm/llvm-project/commit/b771000ef3064dcce5ea35273e71c61e4772e126
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2025-11-19 (Wed, 19 Nov 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.
Commit: 8e5c14f3a55a46ddcc5531c0acda463243834fbd
https://github.com/llvm/llvm-project/commit/8e5c14f3a55a46ddcc5531c0acda463243834fbd
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2025-11-19 (Wed, 19 Nov 2025)
Changed paths:
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Log Message:
-----------
Fix nits
Compare: https://github.com/llvm/llvm-project/compare/e603e90afef5...8e5c14f3a55a
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