Skip to content

[MLIR][OpenACC][NFC] Make OpenACC dialect include absolute #67271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

Groverkss
Copy link
Member

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

@llvmbot
Copy link
Member

llvmbot commented Sep 24, 2023

@llvm/pr-subscribers-openacc
@llvm/pr-subscribers-mlir

@llvm/pr-subscribers-mlir-openacc

Changes

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 --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;

Copy link
Contributor

@razvanlupusoru razvanlupusoru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Groverkss Groverkss merged commit f7bf99f into llvm:main Sep 25, 2023
Guzhu-AMD pushed a commit to GPUOpen-Drivers/llvm-project that referenced this pull request Sep 28, 2023
Local branch amd-gfx d7d5170 Merged main:4c59f809c926 into amd-gfx:1347e75c19d8
Remote branch main f7bf99f [MLIR][OpenACC][NFC] Make OpenACC dialect include absolute (llvm#67271)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants