[all-commits] [llvm/llvm-project] f0c3df: [TableGen] Avoid extra IntrusiveRefCntPtr when cal...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sun Apr 16 19:09:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f0c3dfdbf1e3921638fa3dda4944fd84e9bb7e45
https://github.com/llvm/llvm-project/commit/f0c3dfdbf1e3921638fa3dda4944fd84e9bb7e45
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-04-16 (Sun, 16 Apr 2023)
Changed paths:
M llvm/utils/TableGen/CodeGenDAGPatterns.cpp
M llvm/utils/TableGen/CodeGenDAGPatterns.h
Log Message:
-----------
[TableGen] Avoid extra IntrusiveRefCntPtr when calling SimplifyTree. NFC
Add a helper to get modifiable access to the IntrusiveRefCntPtr
stored in the Children array. This avoids copying and overwriting the child.
More information about the All-commits
mailing list