This allows us to test Polly and the Polly optimizer without actually doing
code generation at the end. By enabling this option, we can also measure the
compile time overhead due to code generation and the cost of LLVM optimizing the
newly generated code.t
llvm-svn: 177516
#ifdef CLOOG_FOUND
CODEGEN_CLOOG,
#endif
- CODEGEN_ISL
+ CODEGEN_ISL,
+ CODEGEN_NONE
};
#ifdef CLOOG_FOUND
clEnumValN(CODEGEN_CLOOG, "cloog", "CLooG"),
#endif
clEnumValN(CODEGEN_ISL, "isl", "isl code generator"),
+ clEnumValN(CODEGEN_NONE, "none", "no code generation"),
clEnumValEnd),
cl::Hidden, cl::init(DefaultCodeGen), cl::ZeroOrMore);
case CODEGEN_ISL:
PM.add(polly::createIslCodeGenerationPass());
break;
+ case CODEGEN_NONE:
+ break;
}
if (CFGPrinter)