Skip to content

Commit 4a4077a

Browse files
vikramRHgithub-actions[bot]
authored andcommitted
Automerge: [AMDGPU] Support 'F' and 'A' conversion specifiers with ocl printf (#148784)
Runtime support in progress downstream..
2 parents 40990c5 + de551c6 commit 4a4077a

File tree

2 files changed

+214
-58
lines changed

2 files changed

+214
-58
lines changed

llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void AMDGPUPrintfRuntimeBindingImpl::getConversionSpecifiers(
8888
// are %p and %s, which use to know if we
8989
// are either storing a literal string or a
9090
// pointer to the printf buffer.
91-
static const char ConvSpecifiers[] = "cdieEfgGaosuxXp";
91+
static const char ConvSpecifiers[] = "cdieEfFgGaAosuxXp";
9292
size_t CurFmtSpecifierIdx = 0;
9393
size_t PrevFmtSpecifierIdx = 0;
9494

0 commit comments

Comments
 (0)