diff options
author | Mircea Trofin <mtrofin@google.com> | 2021-12-06 17:33:13 -0800 |
---|---|---|
committer | Mircea Trofin <mtrofin@google.com> | 2021-12-06 19:42:19 -0800 |
commit | 2bd7384d3a99edd345fcc5e8ee8d550bd65dddb2 (patch) | |
tree | d0675e898270e4d0dd02990730070f281614ca5b /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 02095f2dd7d96768432af8a53e2d743e881e7447 (diff) | |
download | llvm-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