diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2023-10-03 18:07:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 18:07:46 -0700 |
commit | 5fc28e7a8d989fffafec2301529d0164a28799b2 (patch) | |
tree | 245c0b0fdfa6e355c4c238e64258f592d9a6a965 /clang/lib/Format/WhitespaceManager.cpp | |
parent | 6a621ed8e4cb02bd55fe4a4a0254615576b70a55 (diff) | |
download | llvm-5fc28e7a8d989fffafec2301529d0164a28799b2.zip llvm-5fc28e7a8d989fffafec2301529d0164a28799b2.tar.gz llvm-5fc28e7a8d989fffafec2301529d0164a28799b2.tar.bz2 |
Improve MLIR Attribute::get() method efficiency by reducing the amount of argument copies (#68067)
This ensures that the proper std::forward/std::move are involved, we go from 6
copy-constructions to 0 (!) on Attribute creation in release builds.
Diffstat (limited to 'clang/lib/Format/WhitespaceManager.cpp')
0 files changed, 0 insertions, 0 deletions