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(
4088
4088
std::optional<int > FI = getLdStFrameID (MI, MFI);
4089
4089
if (!FI || FI < 0 || FI > int (SlotTypes.size ()))
4090
4090
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;
4095
4094
} else {
4096
- SlotTypes[*FI] |= SlotType::GPR;
4095
+ SlotTypes[*FI] |= AArch64InstrInfo::isFpOrNEON (MI)
4096
+ ? SlotType::ZPRorFPR
4097
+ : SlotType::GPR;
4097
4098
}
4098
4099
}
4099
4100
}
You can’t perform that action at this time.
0 commit comments