================ @@ -1,3 +1,18 @@ +set(LLVM_OPTIONAL_SOURCES + CIROpDefinitions.cpp + ) + +# Compile the TableGen-generated op definitions in shards to reduce the +# compile time of the largest CIR translation unit. +set(LLVM_TARGET_DEFINITIONS CIROpDefinitions.cpp) +foreach(index RANGE 7) ---------------- andykaylor wrote:
It's a bit concerning that we have a hard-coded 7 here, which I assume is paired with the hard-coded 8 in the mlir-tblgen lines in the first file. Is there anything we can do to draw these from a common source? https://github.com/llvm/llvm-project/pull/232894 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
