[llvm] [GlobalISel][TableGen] Take first result for multi-output instructions (PR #81130)
Pierre van Houtryve via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 8 05:22:17 PST 2024
================
@@ -288,11 +288,21 @@ static std::string getMangledRootDefName(StringRef DefOperandName) {
//===- GlobalISelEmitter class --------------------------------------------===//
-static Expected<LLTCodeGen> getInstResultType(const TreePatternNode *Dst) {
+static Expected<LLTCodeGen> getInstResultType(const TreePatternNode *Dst,
+ const CodeGenTarget &Target) {
+ // While allowing more than one output (both implicit and explicit defs)
----------------
Pierre-vh wrote:
nit: phrasing: `While we allow`?
https://github.com/llvm/llvm-project/pull/81130
More information about the llvm-commits
mailing list