aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2021-12-06 17:33:13 -0800
committerMircea Trofin <mtrofin@google.com>2021-12-06 19:42:19 -0800
commit2bd7384d3a99edd345fcc5e8ee8d550bd65dddb2 (patch)
treed0675e898270e4d0dd02990730070f281614ca5b /clang/lib/Frontend/CompilerInvocation.cpp
parent02095f2dd7d96768432af8a53e2d743e881e7447 (diff)
downloadllvm-2bd7384d3a99edd345fcc5e8ee8d550bd65dddb2.zip
llvm-2bd7384d3a99edd345fcc5e8ee8d550bd65dddb2.tar.gz
llvm-2bd7384d3a99edd345fcc5e8ee8d550bd65dddb2.tar.bz2
[NFC][MachineInstr] Pass-by-value DebugLoc in CreateMachineInstr
DebugLoc is cheap to move, passing it by-val rather than const ref to take advantage of the fact that it is consumed that way by the MachineInstr ctor, which creates some optimization oportunities. Differential Revision: https://reviews.llvm.org/D115208
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions