File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -3962,12 +3962,13 @@ void AArch64FrameLowering::determineStackHazardSlot(
39623962 std::optional<int > FI = getLdStFrameID (MI, MFI);
39633963 if (!FI || FI < 0 || FI > int (SlotTypes.size ()))
39643964 continue ;
3965- bool IsScalable = MFI.isScalableStackID (*FI);
3966- bool IsPPR = IsScalable && isPPRAccess (MI);
3967- if (IsScalable || AArch64InstrInfo::isFpOrNEON (MI)) {
3968- SlotTypes[*FI] |= IsPPR ? SlotType::PPR : SlotType::ZPRorFPR;
3965+ if (MFI.isScalableStackID (*FI)) {
3966+ SlotTypes[*FI] |=
3967+ isPPRAccess (MI) ? SlotType::PPR : SlotType::ZPRorFPR;
39693968 } else {
3970- SlotTypes[*FI] |= SlotType::GPR;
3969+ SlotTypes[*FI] |= AArch64InstrInfo::isFpOrNEON (MI)
3970+ ? SlotType::ZPRorFPR
3971+ : SlotType::GPR;
39713972 }
39723973 }
39733974 }
You can’t perform that action at this time.
0 commit comments