[Mlir-commits] [mlir] [MLIR/OpenACC] Remove unneeded LLVMIR include (PR #84543)
Thomas Preud'homme
llvmlistbot at llvm.org
Fri Mar 8 11:28:31 PST 2024
https://github.com/RoboTux created https://github.com/llvm/llvm-project/pull/84543
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.
>From 2716e5d2842ccdde933202aec9eb696e09e0f136 Mon Sep 17 00:00:00 2001
From: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: Fri, 8 Mar 2024 16:28:11 +0000
Subject: [PATCH] [MLIR/OpenACC] Remove unneeded LLVMIR include
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.
---
mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.h | 5 -----
1 file changed, 5 deletions(-)
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
More information about the Mlir-commits
mailing list