[llvm] [OpenMP][NFC] Fix stale DeviceRTL header path in OpenMPIRBuilder (PR #185563)

via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 9 20:07:20 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-flang-openmp

Author: Muyao Xiao (mooxiu)

<details>
<summary>Changes</summary>

The `\see` comment in `OpenMPIRBuilder.h` references `openmp/libomptarget/deviceRTLs/common/include/target.h`. This file no longer exists.

This patch updates the comment to point to the current correct header: `openmp/device/include/Interface.h`.

---
Full diff: https://github.com/llvm/llvm-project/pull/185563.diff


1 Files Affected:

- (modified) llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h (+1-1) 


``````````diff
diff --git a/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h b/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
index f73e10c97e642..c3b4ad35237dc 100644
--- a/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+++ b/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
@@ -3200,7 +3200,7 @@ class OpenMPIRBuilder {
   /// The `omp target` interface
   ///
   /// For more information about the usage of this interface,
-  /// \see openmp/libomptarget/deviceRTLs/common/include/target.h
+  /// \see openmp/device/include/Interface.h
   ///
   ///{
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/185563


More information about the llvm-commits mailing list