[all-commits] [llvm/llvm-project] 07bef0: [OpenMPOpt] Initialize OpenMPIRBuilderConfig::IsGP...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Thu Sep 5 04:30:41 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 07bef02831836748f46ddd285520f351fe18cfe9
https://github.com/llvm/llvm-project/commit/07bef02831836748f46ddd285520f351fe18cfe9
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-09-05 (Thu, 05 Sep 2024)
Changed paths:
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
Log Message:
-----------
[OpenMPOpt] Initialize OpenMPIRBuilderConfig::IsGPU flag (#104456)
This patch ensures the `IsGPU` flag is set by the OpenMPOpt pass, so
that it can be relied upon by `OpenMPIRBuilder` methods when called by
that pass as well.
Since currently there are very limited callers for the
`OpenMPIRBuilder::isGPU()` method, no assertions are being triggered by
the lack of initialization of this flag. However, when more
offloading-related features are implemented, it will eventually start
happening.
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