[Mlir-commits] [mlir] [MLIR][OpenACC][NFC] Make OpenACC dialect include absolute (PR #67271)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Sep 24 12:43:22 PDT 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir-openacc

<details>
<summary>Changes</summary>

MLIR TableGen definitions usually use absolute includes instead of relative includes. This patch makes it consistent for OpenACC operation definations.

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


1 Files Affected:

- (modified) mlir/include/mlir/Dialect/OpenACC/OpenACCOpsTypes.td (+1-1) 


``````````diff
diff --git a/mlir/include/mlir/Dialect/OpenACC/OpenACCOpsTypes.td b/mlir/include/mlir/Dialect/OpenACC/OpenACCOpsTypes.td
index 41a18e4d206d492..4a930ad94c3f175 100644
--- a/mlir/include/mlir/Dialect/OpenACC/OpenACCOpsTypes.td
+++ b/mlir/include/mlir/Dialect/OpenACC/OpenACCOpsTypes.td
@@ -14,7 +14,7 @@
 #define OPENACC_OPS_TYPES
 
 include "mlir/IR/AttrTypeBase.td"
-include "OpenACCBase.td"
+include "mlir/Dialect/OpenACC/OpenACCBase.td"
 
 class OpenACC_Type<string name, string typeMnemonic> : TypeDef<OpenACC_Dialect, name> {
   let mnemonic = typeMnemonic;

``````````

</details>


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


More information about the Mlir-commits mailing list