message: Switch T1 surface to T255 (scratch) in TPM pass
diff: #include <llvm/Support/TargetSelect.h>
  #ifdef ISPC_GENX_ENABLED
  +#include <llvm/Support/CommandLine.h>
  #include <llvm/GenXCodeGen/GenXTarget.h>
  #endif
  @@ -1002,6 +1003,17 @@ int main(int Argc, char *Argv[]) {
  }
  }
  +#ifdef ISPC_GENX_ENABLED
  + // FIXME: how do we handle miltiple errors if there multiple targets here?
  + if (targets.size() == 1 && ISPCTargetIsGen(targets[0])) {
  + std::vector<const char *> SSMOpt(3);
  + SSMOpt[0] = "ispc (LLVM option parsing)";
  + SSMOpt[1] = "-stack-scratch-mem=true";
  + SSMOpt[2] = nullptr;
  + llvm::cl::ParseCommandLineOptions(2, SSMOpt.data());
  + }
  +#endif
  +
  // This needs to happen after the TargetOS is decided.
  setCallingConv(vectorCall, arch);
  