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 @@ -4081,12 +4081,13 @@ void AArch64FrameLowering::determineStackHazardSlot(
4081
4081
std::optional<int > FI = getLdStFrameID (MI, MFI);
4082
4082
if (!FI || FI < 0 || FI > int (SlotTypes.size ()))
4083
4083
continue ;
4084
- bool IsScalable = MFI.isScalableStackID (*FI);
4085
- bool IsPPR = IsScalable && isPPRAccess (MI);
4086
- if (IsScalable || AArch64InstrInfo::isFpOrNEON (MI)) {
4087
- SlotTypes[*FI] |= IsPPR ? SlotType::PPR : SlotType::ZPRorFPR;
4084
+ if (MFI.isScalableStackID (*FI)) {
4085
+ SlotTypes[*FI] |=
4086
+ isPPRAccess (MI) ? SlotType::PPR : SlotType::ZPRorFPR;
4088
4087
} else {
4089
- SlotTypes[*FI] |= SlotType::GPR;
4088
+ SlotTypes[*FI] |= AArch64InstrInfo::isFpOrNEON (MI)
4089
+ ? SlotType::ZPRorFPR
4090
+ : SlotType::GPR;
4090
4091
}
4091
4092
}
4092
4093
}
You can’t perform that action at this time.
0 commit comments