[X86] Don't pass some many parameters to ParseMemOperand by reference.
authorCraig Topper <craig.topper@intel.com>
Thu, 30 Jul 2020 05:57:28 +0000 (22:57 -0700)
committerCraig Topper <craig.topper@intel.com>
Thu, 30 Jul 2020 06:44:56 +0000 (23:44 -0700)
commit17597442db159829dd167abb638b198ad0afc309
tree11b5d00c953f87b30f8b3e7f215726c3865c32f9
parent032ed39defc7403b94c367fa43432606c418e946
[X86] Don't pass some many parameters to ParseMemOperand by reference.

Pointers and SMLocs are cheap to copy. Even though the function
modifies some of these the caller doesn't use them after the call.
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp