[all-commits] [llvm/llvm-project] dea417: [TableGen] Pass TreePatternNodePtr to InlinePatter...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Apr 10 15:05:14 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dea417f75e56bc87633bdd16711b401503a5a821
https://github.com/llvm/llvm-project/commit/dea417f75e56bc87633bdd16711b401503a5a821
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-04-10 (Mon, 10 Apr 2023)
Changed paths:
M llvm/utils/TableGen/CodeGenDAGPatterns.cpp
M llvm/utils/TableGen/CodeGenDAGPatterns.h
Log Message:
-----------
[TableGen] Pass TreePatternNodePtr to InlinePatternFragments by const reference. NFC
Not all paths through this function require the reference count
to be incremened. Pass by reference so we don't increase the count
unnecessarily.
More information about the All-commits
mailing list