[llvm-branch-commits] [mlir] 195ffcd - [MLIR][NFC] remove unnecessary includes form tablegen command
Alex Zinenko via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Jan 8 05:30:41 PST 2021
Author: Shivam Gupta
Date: 2021-01-08T14:25:52+01:00
New Revision: 195ffcd890f648187cd110965a419c01d6488f66
URL: https://github.com/llvm/llvm-project/commit/195ffcd890f648187cd110965a419c01d6488f66
DIFF: https://github.com/llvm/llvm-project/commit/195ffcd890f648187cd110965a419c01d6488f66.diff
LOG: [MLIR][NFC] remove unnecessary includes form tablegen command
With [[ https://reviews.llvm.org/D77156 | D77156 ]] includes are not needed here.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D94216
Added:
Modified:
mlir/cmake/modules/AddMLIR.cmake
Removed:
################################################################################
diff --git a/mlir/cmake/modules/AddMLIR.cmake b/mlir/cmake/modules/AddMLIR.cmake
index 9709615c7d66..4cfd351d9758 100644
--- a/mlir/cmake/modules/AddMLIR.cmake
+++ b/mlir/cmake/modules/AddMLIR.cmake
@@ -29,7 +29,7 @@ endfunction()
# Generate Documentation
function(add_mlir_doc doc_filename command output_file output_directory)
set(LLVM_TARGET_DEFINITIONS ${doc_filename}.td)
- tablegen(MLIR ${output_file}.md ${command} "-I${MLIR_MAIN_INCLUDE_DIR}" "-I${MLIR_INCLUDE_DIR}")
+ tablegen(MLIR ${output_file}.md ${command})
set(GEN_DOC_FILE ${MLIR_BINARY_DIR}/docs/${output_directory}${output_file}.md)
add_custom_command(
OUTPUT ${GEN_DOC_FILE}
More information about the llvm-branch-commits
mailing list