[all-commits] [llvm/llvm-project] 7df434: [TableGen] Avoid vector copy in TreePatter::Inline...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Apr 10 23:02:43 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7df434e3ffebf5cb8b61c8028a9c53dc91bb60e0
https://github.com/llvm/llvm-project/commit/7df434e3ffebf5cb8b61c8028a9c53dc91bb60e0
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-04-10 (Mon, 10 Apr 2023)
Changed paths:
M llvm/utils/TableGen/CodeGenDAGPatterns.h
Log Message:
-----------
[TableGen] Avoid vector copy in TreePatter::InlinePatternFragments. NFC
Instead of copying a vector and clearing the original, we can swap
with an empty vector.
More information about the All-commits
mailing list