forked from OSchip/llvm-project
Add /bigobj for SPIRV dialect on MSVC.
Summary: This object file has grown beyond the default limit, and elsewhere in LLVM, we seem to be setting this flag as a one-off, so continuing that here. Reviewers: mravishankar, antiagainst Subscribers: mgorny, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, bader, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77002
This commit is contained in:
parent
4919f2e1c5
commit
0af6d27e2e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue