[all-commits] [llvm/llvm-project] 404f0d: Simplify away some SmallVector copies. NFCI.
Benjamin Kramer via All-commits
all-commits at lists.llvm.org
Mon Jul 26 07:35:13 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 404f0d4f7cc7b7497c9725c6c6f20b21df8611bb
https://github.com/llvm/llvm-project/commit/404f0d4f7cc7b7497c9725c6c6f20b21df8611bb
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2021-07-26 (Mon, 26 Jul 2021)
Changed paths:
M llvm/include/llvm/IR/Constants.h
M llvm/include/llvm/IR/DerivedTypes.h
Log Message:
-----------
Simplify away some SmallVector copies. NFCI.
The lifetime of the initializer list is the full expression, so we can
skip storing it in a temporary vector.
More information about the All-commits
mailing list