summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-06-27 18:49:21 +0000
committerChris Lattner <sabre@nondot.org>2008-06-27 18:49:21 +0000
commit5c91f4d7ba422e7d566fa9c262a6cf0553bd3561 (patch)
tree250cffbf939e8939ca6b880eac75c3bf4d83c493 /llvm/lib/CodeGen/MachineInstr.cpp
parent69cb7be3b153fb3dc99eeb6a20ce167276a723f6 (diff)
downloadbcm5719-llvm-5c91f4d7ba422e7d566fa9c262a6cf0553bd3561.tar.gz
bcm5719-llvm-5c91f4d7ba422e7d566fa9c262a6cf0553bd3561.zip
Tweak IRBuilder to explicitly call the setName(const char*) method on Value
instead of passing the name into the instruction ctors. Since most instruction ctors take their name as an std::string, this avoids copying the string to the heap and a malloc and free. Patch by Pratik Solanki! llvm-svn: 52832
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud