This simplifies NVPTXAsmPrinter::AggBuffer and its usage. It is also a preparation for D127504.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
11,190 ms | x64 debian > libFuzzer.libFuzzer::fuzzer-leak.test |
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.