[PATCH] D86511: [GlobalISel] Fix incorrect setting of ValNo when splitting
Mikael Holmén via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 30 07:09:37 PDT 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG43d239d0fadb: [GlobalISel] Fix incorrect setting of ValNo when splitting (authored by ehjogab, committed by uabelho).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86511/new/
https://reviews.llvm.org/D86511
Files:
llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
Index: llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
===================================================================
--- llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
+++ llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
@@ -285,7 +285,7 @@
}
Args[i].Regs.push_back(Reg);
Args[i].Flags.push_back(Flags);
- if (Handler.assignArg(i + Part, NewVT, NewVT, CCValAssign::Full,
+ if (Handler.assignArg(i, NewVT, NewVT, CCValAssign::Full,
Args[i], Args[i].Flags[Part], CCInfo)) {
// Still couldn't assign this smaller part type for some reason.
return false;
@@ -318,7 +318,7 @@
}
Args[i].Regs.push_back(Unmerge.getReg(PartIdx));
Args[i].Flags.push_back(Flags);
- if (Handler.assignArg(i + PartIdx, NewVT, NewVT, CCValAssign::Full,
+ if (Handler.assignArg(i, NewVT, NewVT, CCValAssign::Full,
Args[i], Args[i].Flags[PartIdx], CCInfo))
return false;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86511.295269.patch
Type: text/x-patch
Size: 1039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200930/9124f6e4/attachment.bin>
More information about the llvm-commits
mailing list