[PATCH] D141173: AMDGPU: Use getConstantStringInfo for printf format strings

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 6 17:03:32 PST 2023


arsenm created this revision.
arsenm added reviewers: sameerds, vikramRH, AMDGPU.
Herald added subscribers: kosarev, foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

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


https://reviews.llvm.org/D141173

Files:
  llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  llvm/test/CodeGen/AMDGPU/opencl-printf.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141173.487019.patch
Type: text/x-patch
Size: 35874 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230107/c4278134/attachment-0001.bin>


More information about the llvm-commits mailing list