[all-commits] [llvm/llvm-project] dae293: [SPIR-V] Drop constant zero-sized memcpy/memmove/m...

Arseniy Obolenskiy via All-commits all-commits at lists.llvm.org
Tue Jun 9 06:02:49 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dae2935b32a673557e7060f8e90e73eaae4d6199
      https://github.com/llvm/llvm-project/commit/dae2935b32a673557e7060f8e90e73eaae4d6199
  Author: Arseniy Obolenskiy <arseniy.obolenskiy at amd.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    M llvm/test/CodeGen/SPIRV/llvm-intrinsics/memcpy.align.ll
    M llvm/test/CodeGen/SPIRV/llvm-intrinsics/memmove.ll
    M llvm/test/CodeGen/SPIRV/llvm-intrinsics/memset.ll

  Log Message:
  -----------
  [SPIR-V] Drop constant zero-sized memcpy/memmove/memset before selection (#201904)

A constant zero Size operand is invalid for OpCopyMemorySized, and these
intrinsics are no-ops, so erase them instead of lowering



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