[all-commits] [llvm/llvm-project] 6fb2a8: [mlir][spirv] Truncate Literal String size at max ...

Davide Grohmann via All-commits all-commits at lists.llvm.org
Wed Jun 11 06:56:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fb2a80189016bd4222b174ae4d72e47d0aa58ff
      https://github.com/llvm/llvm-project/commit/6fb2a80189016bd4222b174ae4d72e47d0aa58ff
  Author: Davide Grohmann <6573166+davidegrohmann at users.noreply.github.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M mlir/include/mlir/Target/SPIRV/SPIRVBinaryUtils.h
    M mlir/lib/Target/SPIRV/SPIRVBinaryUtils.cpp

  Log Message:
  -----------
  [mlir][spirv] Truncate Literal String size at max number words (#142916)

If not truncated the SPIRV serialization would not fail but instead
produce an invalid SPIR-V module.

---------

Signed-off-by: Davide Grohmann <davide.grohmann at arm.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list