[PATCH] D155158: [TableGen][CodeEmitterGen] Fix SubOpAliases MIOperandNo mixup
Ilya Leoshkevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 13 08:29:38 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0249ea611f55: [TableGen][CodeEmitterGen] Fix SubOpAliases MIOperandNo mixup (authored by iii).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155158/new/
https://reviews.llvm.org/D155158
Files:
llvm/utils/TableGen/CodeGenInstruction.cpp
Index: llvm/utils/TableGen/CodeGenInstruction.cpp
===================================================================
--- llvm/utils/TableGen/CodeGenInstruction.cpp
+++ llvm/utils/TableGen/CodeGenInstruction.cpp
@@ -175,7 +175,7 @@
}
OpInfo.SubOpNames[j] = SubArgName;
- SubOpAliases[SubArgName] = std::make_pair(MIOperandNo, j);
+ SubOpAliases[SubArgName] = std::make_pair(i, j);
}
} else if (!EncoderMethod.empty()) {
// If we have no explicit sub-op dag, but have an top-level encoder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155158.540050.patch
Type: text/x-patch
Size: 541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230713/089d6787/attachment.bin>
More information about the llvm-commits
mailing list