[all-commits] [llvm/llvm-project] 86021d: [X86] Avoid a std::string copy by replacing auto w...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Jan 21 03:08:48 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 86021d98d3f8b27f7956cee04f11505c2e836e81
https://github.com/llvm/llvm-project/commit/86021d98d3f8b27f7956cee04f11505c2e836e81
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-01-21 (Thu, 21 Jan 2021)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Avoid a std::string copy by replacing auto with const auto&. NFC.
Fixes msvc analyzer warning.
Commit: bc9ab9a5cd6bafc5e1293f3d5d51638f8f5cd26c
https://github.com/llvm/llvm-project/commit/bc9ab9a5cd6bafc5e1293f3d5d51638f8f5cd26c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-01-21 (Thu, 21 Jan 2021)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] CombineToPreIndexedLoadStore - use const APInt& for getAPIntValue(). NFCI.
Cleanup some code to use auto* properly from cast, and use const APInt& for getAPIntValue() to avoid an unnecessary copy.
Compare: https://github.com/llvm/llvm-project/compare/64132f541edd...bc9ab9a5cd6b
More information about the All-commits
mailing list