[all-commits] [llvm/llvm-project] ecffdc: [Offload] Fix trailing '\0' in ISA name (#190791)

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Apr 7 06:35:37 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecffdc1dba6877c26eef00545f7a0ca04c392132
      https://github.com/llvm/llvm-project/commit/ecffdc1dba6877c26eef00545f7a0ca04c392132
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2026-04-07 (Tue, 07 Apr 2026)

  Changed paths:
    M offload/plugins-nextgen/amdgpu/src/rtl.cpp

  Log Message:
  -----------
  [Offload] Fix trailing '\0' in ISA name (#190791)

Summary:
Recent changes broke this handling by creating a string-ref that
included the null byte. This made the StringRef compare for the
environemtn ISA with the user ISA fail trivially due to mismatching
sizes.



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