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 @@ -4019,12 +4019,13 @@ void AArch64FrameLowering::determineStackHazardSlot(
4019
4019
std::optional<int > FI = getLdStFrameID (MI, MFI);
4020
4020
if (!FI || FI < 0 || FI > int (SlotTypes.size ()))
4021
4021
continue ;
4022
- bool IsScalable = MFI.isScalableStackID (*FI);
4023
- bool IsPPR = IsScalable && isPPRAccess (MI);
4024
- if (IsScalable || AArch64InstrInfo::isFpOrNEON (MI)) {
4025
- SlotTypes[*FI] |= IsPPR ? SlotType::PPR : SlotType::ZPRorFPR;
4022
+ if (MFI.isScalableStackID (*FI)) {
4023
+ SlotTypes[*FI] |=
4024
+ isPPRAccess (MI) ? SlotType::PPR : SlotType::ZPRorFPR;
4026
4025
} else {
4027
- SlotTypes[*FI] |= SlotType::GPR;
4026
+ SlotTypes[*FI] |= AArch64InstrInfo::isFpOrNEON (MI)
4027
+ ? SlotType::ZPRorFPR
4028
+ : SlotType::GPR;
4028
4029
}
4029
4030
}
4030
4031
}
You can’t perform that action at this time.
0 commit comments