Registers are printed a lot, so don't create temporary
std::strings. Using char instead of a string to an ostream
saves a function call.
Details
Details
- Reviewers
• tstellarAMD
Diff Detail
Diff Detail
Paths
| Differential D22003
AMDGPU: Remove unnecessary string usage in AsmPrinter ClosedPublic Authored by arsenm on Jul 5 2016, 11:24 AM.
Details
Summary Registers are printed a lot, so don't create temporary
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.Jul 5 2016, 1:35 PM
Revision Contents
Diff 62772 lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h
lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp
|