We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a628bc3 commit 9a17a60Copy full SHA for 9a17a60
llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
@@ -2424,8 +2424,7 @@ bool PPCFrameLowering::spillCalleeSavedRegisters(
2424
// or two GPRs, so we need table to record information for later save/restore.
2425
for (const CalleeSavedInfo &Info : CSI) {
2426
if (Info.isSpilledToReg()) {
2427
- auto &SpilledVSR =
2428
- VSRContainingGPRs.FindAndConstruct(Info.getDstReg()).second;
+ auto &SpilledVSR = VSRContainingGPRs[Info.getDstReg()];
2429
assert(SpilledVSR.second == 0 &&
2430
"Can't spill more than two GPRs into VSR!");
2431
if (SpilledVSR.first == 0)
0 commit comments