Skip to content

Commit de551c6

Browse files
authored
[AMDGPU] Support 'F' and 'A' conversion specifiers with ocl printf (#148784)
Runtime support in progress downstream..
1 parent b80b025 commit de551c6

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)