[PATCH] D150427: [AMDGPU] Non hostcall printf support for HIP
Matt Arsenault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 30 03:20:19 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp:211
+struct StringData {
+ std::string Str = "";
+ bool isConst = true;
----------------
arsenm wrote:
> Don't need = ""
Can't you just use the raw StringRef out of getConstantStringInfo
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150427/new/
https://reviews.llvm.org/D150427
More information about the cfe-commits
mailing list