File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
llvm/lib/Target/AArch64/MCTargetDesc Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -447,20 +447,20 @@ class AArch64MCInstrAnalysis : public MCInstrAnalysis {
447447 const MCRegisterClass &FPR128RC =
448448 MRI.getRegClass (AArch64::FPR128RegClassID);
449449
450- auto ClearsSuperReg = [=](unsigned RegID ) {
450+ auto ClearsSuperReg = [=](MCRegister Reg ) {
451451 // An update to the lower 32 bits of a 64 bit integer register is
452452 // architecturally defined to zero extend the upper 32 bits on a write.
453- if (GPR32RC.contains (RegID ))
453+ if (GPR32RC.contains (Reg ))
454454 return true ;
455455 // SIMD&FP instructions operating on scalar data only acccess the lower
456456 // bits of a register, the upper bits are zero extended on a write. For
457457 // SIMD vector registers smaller than 128-bits, the upper 64-bits of the
458458 // register are zero extended on a write.
459459 // When VL is higher than 128 bits, any write to a SIMD&FP register sets
460460 // bits higher than 128 to zero.
461- return FPR8RC.contains (RegID ) || FPR16RC.contains (RegID ) ||
462- FPR32RC.contains (RegID ) || FPR64RC.contains (RegID ) ||
463- FPR128RC.contains (RegID );
461+ return FPR8RC.contains (Reg ) || FPR16RC.contains (Reg ) ||
462+ FPR32RC.contains (Reg ) || FPR64RC.contains (Reg ) ||
463+ FPR128RC.contains (Reg );
464464 };
465465
466466 Mask.clearAllBits ();
You can’t perform that action at this time.
0 commit comments