This simplifies NVPTXAsmPrinter::AggBuffer and its usage. It is also a preparation for D127504.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h | ||
---|---|---|
139–144 | Nit: printAsBytes/ printAsWords or just printBytes/printWords. |
Comment Actions
Thanks!
- Rename printInBytes() -> printBytes(), printInWords() -> printWords()`
- Remove an raw_ostream argument in the constructor of AggBuffer; pass the stream directly to printBytes()/printWords()
- Extract printSymbol() in this patch to further simplify D127504
- isNonGenericPointer -> isGenericPointer
Nit: printAsBytes/ printAsWords or just printBytes/printWords.