[all-commits] [llvm/llvm-project] 0d8773: AMDGPU: Use getConstantStringInfo for printf forma...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Jan 13 11:11:51 PST 2023


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

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

  Log Message:
  -----------
  AMDGPU: Use getConstantStringInfo for printf format strings

Tolerated printf format strings that are indexed globals and fixes
asserting on non-null terminated strings.




More information about the All-commits mailing list