message: Switching to IPSCCP.
diff: @@ -534,7 +534,14 @@ void Optimize(llvm::Module *module, int optLevel) {
  optPM.add(llvm::createPromoteMemoryToRegisterPass());
  optPM.add(llvm::createGlobalOptimizerPass());
  optPM.add(llvm::createReassociatePass());
  + // IPConstProp will not be supported by LLVM moving forward.
  + // Switching to IPSCCP which is its recommended functional equivalent.
  + // TODO : Make IPSCCP the default after ISPC 1.14 release.
  +#if ISPC_LLVM_VERSION <= ISPC_LLVM_11_0
  optPM.add(llvm::createIPConstantPropagationPass());
  +#else
  + optPM.add(llvm::createIPSCCPPass());
  +#endif
  optPM.add(CreateReplaceStdlibShiftPass(), 229);
  