[all-commits] [llvm/llvm-project] 0875ca: [OMPIRBuilder] CANCEL IF(FALSE) is still a cancell...
Tom Eccles via All-commits
all-commits at lists.llvm.org
Wed Oct 22 08:11:45 PDT 2025
Branch: refs/heads/users/tblah/cancel-bug-2
Home: https://github.com/llvm/llvm-project
Commit: 0875ca22603f93cf4f6fa19a4144477e54d814f1
https://github.com/llvm/llvm-project/commit/0875ca22603f93cf4f6fa19a4144477e54d814f1
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.
Commit: e603e90afef5d026053c445d607947a8fc8f5984
https://github.com/llvm/llvm-project/commit/e603e90afef5d026053c445d607947a8fc8f5984
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2025-10-22 (Wed, 22 Oct 2025)
Changed paths:
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Log Message:
-----------
Fix nits
Compare: https://github.com/llvm/llvm-project/compare/ca2d920b4f8b...e603e90afef5
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