[Mlir-commits] [mlir] [MLIR/OpenACC] Remove unneeded LLVMIR include (PR #84543)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Mar 8 11:29:01 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-openacc
Author: Thomas Preud'homme (RoboTux)
<details>
<summary>Changes</summary>
MLIROpenACCTransforms does not use the LLVMIR dialect yet includes
LLVMIR headers. This causes building MLIROpenACCTransforms only from a
clean build to fail. This patch removes the problematic includes.
---
Full diff: https://github.com/llvm/llvm-project/pull/84543.diff
1 Files Affected:
- (modified) mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.h (-5)
``````````diff
diff --git a/mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.h b/mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.h
index 5a11056cda6095..bb93c78bf6eadf 100644
--- a/mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.h
+++ b/mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.h
@@ -9,11 +9,6 @@
#ifndef MLIR_DIALECT_OPENACC_TRANSFORMS_PASSES_H
#define MLIR_DIALECT_OPENACC_TRANSFORMS_PASSES_H
-#include "mlir/Dialect/LLVMIR/Transforms/AddComdats.h"
-#include "mlir/Dialect/LLVMIR/Transforms/LegalizeForExport.h"
-#include "mlir/Dialect/LLVMIR/Transforms/OptimizeForNVVM.h"
-#include "mlir/Dialect/LLVMIR/Transforms/RequestCWrappers.h"
-#include "mlir/Dialect/LLVMIR/Transforms/TypeConsistency.h"
#include "mlir/Pass/Pass.h"
#define GEN_PASS_DECL
``````````
</details>
https://github.com/llvm/llvm-project/pull/84543
More information about the Mlir-commits
mailing list