message: Remove LLVM freeze instruction for Xe targets
diff: /*
  - Copyright (c) 2022, Intel Corporation
  + Copyright (c) 2022-2023, Intel Corporation
  All rights reserved.
  Redistribution and use in source and binary forms, with or without
  @@ -116,6 +116,18 @@ restart:
  }
  }
  }
  +// SPIR-V translator v15.0 doesn't support LLVM freeze instruction.
  +// https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/1140
  +// Since it's used for optimization only, it's safe to just remove it.
  +#if ISPC_LLVM_VERSION == ISPC_LLVM_15_0
  + else if (llvm::FreezeInst *freeze = llvm::dyn_cast<llvm::FreezeInst>(inst)) {
  + llvm::Value *val = freeze->getOperand(0);
  + freeze->replaceAllUsesWith(val);
  + freeze->eraseFromParent();
  + modifiedAny = true;
  + goto restart;
  + }
  +#endif
  }
  DEBUG_END_BB("LLVM intrinsics replacement");
  return modifiedAny;
  