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 @@ -4088,12 +4088,13 @@ void AArch64FrameLowering::determineStackHazardSlot(
40884088 std::optional<int > FI = getLdStFrameID (MI, MFI);
40894089 if (!FI || FI < 0 || FI > int (SlotTypes.size ()))
40904090 continue ;
4091- bool IsScalable = MFI.isScalableStackID (*FI);
4092- bool IsPPR = IsScalable && isPPRAccess (MI);
4093- if (IsScalable || AArch64InstrInfo::isFpOrNEON (MI)) {
4094- SlotTypes[*FI] |= IsPPR ? SlotType::PPR : SlotType::ZPRorFPR;
4091+ if (MFI.isScalableStackID (*FI)) {
4092+ SlotTypes[*FI] |=
4093+ isPPRAccess (MI) ? SlotType::PPR : SlotType::ZPRorFPR;
40954094 } else {
4096- SlotTypes[*FI] |= SlotType::GPR;
4095+ SlotTypes[*FI] |= AArch64InstrInfo::isFpOrNEON (MI)
4096+ ? SlotType::ZPRorFPR
4097+ : SlotType::GPR;
40974098 }
40984099 }
40994100 }
You can’t perform that action at this time.
0 commit comments