[PATCH] D77002: Add /bigobj for SPIRV dialect on MSVC.
Stella Laurenzo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 30 12:30:48 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0af6d27e2ee2: Add /bigobj for SPIRV dialect on MSVC. (authored by stellaraccident).
Herald added a subscriber: grosul1.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77002/new/
https://reviews.llvm.org/D77002
Files:
mlir/lib/Dialect/SPIRV/CMakeLists.txt
Index: mlir/lib/Dialect/SPIRV/CMakeLists.txt
===================================================================
--- mlir/lib/Dialect/SPIRV/CMakeLists.txt
+++ mlir/lib/Dialect/SPIRV/CMakeLists.txt
@@ -1,3 +1,7 @@
+if (MSVC)
+ set_source_files_properties(SPIRVDialect.cpp PROPERTIES COMPILE_FLAGS /bigobj)
+endif()
+
set(LLVM_TARGET_DEFINITIONS SPIRVCanonicalization.td)
mlir_tablegen(SPIRVCanonicalization.inc -gen-rewriters)
add_public_tablegen_target(MLIRSPIRVCanonicalizationIncGen)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77002.253664.patch
Type: text/x-patch
Size: 490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200330/c9ac59cf/attachment-0001.bin>
More information about the llvm-commits
mailing list