[all-commits] [llvm/llvm-project] fdda80: AMDGPU: Fix opaque pointer and other bugs in print...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jan 10 10:39:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdda800ba35e435db45475c404b995de2d5ecbb8
      https://github.com/llvm/llvm-project/commit/fdda800ba35e435db45475c404b995de2d5ecbb8
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
    M llvm/test/CodeGen/AMDGPU/opencl-printf.ll

  Log Message:
  -----------
  AMDGPU: Fix opaque pointer and other bugs in printf of constant strings

Strip pointer casts to get to the global. Fixes not respecting indexed
constant strings. Tolerate non-null terminated and empty strings.




More information about the All-commits mailing list