aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorSebastian Pop <sebpop@gmail.com>2016-08-11 16:51:48 +0000
committerSebastian Pop <sebpop@gmail.com>2016-08-11 16:51:48 +0000
commit51b4aee94f71bc75100465f336fa8b34161e8a11 (patch)
tree2ff7ad6c2659dc9593cce21204a79cf5b97656eb /llvm/lib/CodeGen/MachineScheduler.cpp
parentec30cc2171c01321c935cd693cbaaba361b95ec5 (diff)
downloadllvm-51b4aee94f71bc75100465f336fa8b34161e8a11.zip
llvm-51b4aee94f71bc75100465f336fa8b34161e8a11.tar.gz
llvm-51b4aee94f71bc75100465f336fa8b34161e8a11.tar.bz2
Add 'inline' attribute to __init to inline the basic_string's constructor
basic_string's constructor calls init which was not getting inlined. This prevented optimization of const string as init would appear as a call in between a string's def and use. Patch by Laxman Sole and Aditya Kumar. Differential Revision: https://reviews.llvm.org/D22782 llvm-svn: 278356
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions