diff --git a/cbackend.cpp b/cbackend.cpp index cb6236bc..b49e1d10 100644 --- a/cbackend.cpp +++ b/cbackend.cpp @@ -2203,6 +2203,10 @@ bool CWriter::doInitialization(llvm::Module &M) { Out << "#undef ISPC_FAST_MATH\n"; } + if (g->opt.forceAlignedMemory) { + Out << "#define ISPC_FORCE_ALIGNED_MEMORY\n"; + } + Out << "#include \"" << includeName << "\"\n"; Out << "\n/* Basic Library Function Declarations */\n";