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(
3962
3962
std::optional<int > FI = getLdStFrameID (MI, MFI);
3963
3963
if (!FI || FI < 0 || FI > int (SlotTypes.size ()))
3964
3964
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;
3969
3968
} else {
3970
- SlotTypes[*FI] |= SlotType::GPR;
3969
+ SlotTypes[*FI] |= AArch64InstrInfo::isFpOrNEON (MI)
3970
+ ? SlotType::ZPRorFPR
3971
+ : SlotType::GPR;
3971
3972
}
3972
3973
}
3973
3974
}
You can’t perform that action at this time.
0 commit comments