[PATCH] D22003: AMDGPU: Remove unnecessary string usage in AsmPrinter
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 5 11:24:22 PDT 2016
arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added subscribers: kzhuravl, arsenm.
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.
http://reviews.llvm.org/D22003
Files:
lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp
lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22003.62772.patch
Type: text/x-patch
Size: 7218 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160705/899246d6/attachment.bin>
More information about the llvm-commits
mailing list