message: Fix experimental intrinsic call for gen.
diff: @@ -310,7 +310,9 @@ Symbol *Module::AddLLVMIntrinsicDecl(const std::string &name, ExprList *args, So
  return nullptr;
  }
  + llvm::Function *funcDecl = nullptr;
  #ifdef ISPC_GENX_ENABLED
  + if (g->target->isGenXTarget()) {
  llvm::GenXIntrinsic::ID ID = llvm::GenXIntrinsic::lookupGenXIntrinsicID(name);
  if (ID == llvm::GenXIntrinsic::not_any_intrinsic) {
  Error(pos, "LLVM intrinsic \"%s\" not supported.", name.c_str());
  @@ -324,20 +326,20 @@ Symbol *Module::AddLLVMIntrinsicDecl(const std::string &name, ExprList *args, So
  }
  }
  llvm::ArrayRef<llvm::Type *> argArr(exprType);
  - llvm::Function *funcDecl = llvm::GenXIntrinsic::getGenXDeclaration(module, ID, argArr);
  -#else
  + funcDecl = llvm::GenXIntrinsic::getGenXDeclaration(module, ID, argArr);
  + }
  +#endif
  + if (!g->target->isGenXTarget()) {
  llvm::TargetMachine *targetMachine = g->target->GetTargetMachine();
  const llvm::TargetIntrinsicInfo *TII = targetMachine->getIntrinsicInfo();
  llvm::Intrinsic::ID ID = llvm::Function::lookupIntrinsicID(llvm::StringRef(name));
  if (ID == llvm::Intrinsic::not_intrinsic && TII) {
  ID = static_cast<llvm::Intrinsic::ID>(TII->lookupName(llvm::StringRef(name)));
  }
  -
  if (ID == llvm::Intrinsic::not_intrinsic) {
  Error(pos, "LLVM intrinsic \"%s\" not supported.", name.c_str());
  return nullptr;
  }
  -
  std::vector<llvm::Type *> exprType;
  if (llvm::Intrinsic::isOverloaded(ID)) {
  int nInits = args->exprs.size();
  @@ -346,13 +348,13 @@ Symbol *Module::AddLLVMIntrinsicDecl(const std::string &name, ExprList *args, So
  }
  }
  llvm::ArrayRef<llvm::Type *> argArr(exprType);
  - llvm::Function *funcDecl = llvm::Intrinsic::getDeclaration(module, ID, argArr);
  + funcDecl = llvm::Intrinsic::getDeclaration(module, ID, argArr);
  llvm::StringRef funcName = funcDecl->getName();
  if (g->target->checkIntrinsticSupport(funcName, pos) == false) {
  return nullptr;
  }
  -#endif
  + }
  Symbol *funcSym = CreateISPCSymbolForLLVMIntrinsic(funcDecl, symbolTable);
  return funcSym;
  