[PATCH] D80953: [AIX] asm output: use character literals in byte lists for strings
David Tenty via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 2 11:32:27 PDT 2020
daltenty added a comment.
I'm sure this may have been considered, but given that .byte also supports a limited string syntax (given with the limitation that it can support ), is there a reason we can't just glue consecutive runs of printable characters together?
e.g. `.byte 'h,'e,'l,'l,'o,' ,'w,'o,'r,'l,'d,'!,0012,0000` becomes:
.byte 'hello world!'
.byte 0012,0000
(Essentially mode shift between writing printable as a string and the comma seperated octal form, and just emitting a new `.byte` directive when we encounter the other type)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80953/new/
https://reviews.llvm.org/D80953
More information about the llvm-commits
mailing list