summaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/Common/CodeGenDAGPatterns.h
diff options
context:
space:
mode:
authorSergei Barannikov <barannikov88@gmail.com>2025-11-23 03:22:48 +0300
committerGitHub <noreply@github.com>2025-11-23 00:22:48 +0000
commit0619292195ecd47ac05b0c7759992b400abec52c (patch)
tree8083c89d2efdc825200e5b934043b8768380f7ba /llvm/utils/TableGen/Common/CodeGenDAGPatterns.h
parent2d051adc75b45ff7f213bb5d4ee208ac999fc125 (diff)
[TableGen] Constify CodeGenInstruction where possible (NFC) (#169193)
Diffstat (limited to 'llvm/utils/TableGen/Common/CodeGenDAGPatterns.h')
-rw-r--r--llvm/utils/TableGen/Common/CodeGenDAGPatterns.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/Common/CodeGenDAGPatterns.h b/llvm/utils/TableGen/Common/CodeGenDAGPatterns.h
index aa9a0a442424..24e509868dce 100644
--- a/llvm/utils/TableGen/Common/CodeGenDAGPatterns.h
+++ b/llvm/utils/TableGen/Common/CodeGenDAGPatterns.h
@@ -1224,8 +1224,8 @@ public:
/// Parse the Pattern for an instruction, and insert the result in DAGInsts.
using DAGInstMap = std::map<const Record *, DAGInstruction, LessRecordByID>;
- void parseInstructionPattern(CodeGenInstruction &CGI, const ListInit *Pattern,
- DAGInstMap &DAGInsts);
+ void parseInstructionPattern(const CodeGenInstruction &CGI,
+ const ListInit *Pattern, DAGInstMap &DAGInsts);
const DAGInstruction &getInstruction(const Record *R) const {
auto F = Instructions.find(R);