summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Matheson <tomas.matheson@arm.com>2024-02-09 15:58:51 +0000
committerTomas Matheson <tomas.matheson@arm.com>2025-01-21 14:18:46 +0000
commit3fa2cf6b1a6a4509635c2c90bed2876beb748110 (patch)
treed02dfc7349ac8ddc756951daf9df357b0d2a24ca
parent6d10a23346c06334c2ef4e1dbab81d017cf5d445 (diff)
-rw-r--r--llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp b/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
index 013135a9def1..b95fe4eedda8 100644
--- a/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
+++ b/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
@@ -3715,7 +3715,7 @@ static bool hasNullFragReference(const ListInit *LI) {
}
/// Get all the instructions in a tree.
-static void getInstructionsInTree(TreePatternNode &Tree,
+static void getInstructionsInTree(const TreePatternNode &Tree,
SmallVectorImpl<const Record *> &Instrs) {
if (Tree.isLeaf())
return;