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 {
447
447
const MCRegisterClass &FPR128RC =
448
448
MRI.getRegClass (AArch64::FPR128RegClassID);
449
449
450
- auto ClearsSuperReg = [=](unsigned RegID ) {
450
+ auto ClearsSuperReg = [=](MCRegister Reg ) {
451
451
// An update to the lower 32 bits of a 64 bit integer register is
452
452
// architecturally defined to zero extend the upper 32 bits on a write.
453
- if (GPR32RC.contains (RegID ))
453
+ if (GPR32RC.contains (Reg ))
454
454
return true ;
455
455
// SIMD&FP instructions operating on scalar data only acccess the lower
456
456
// bits of a register, the upper bits are zero extended on a write. For
457
457
// SIMD vector registers smaller than 128-bits, the upper 64-bits of the
458
458
// register are zero extended on a write.
459
459
// When VL is higher than 128 bits, any write to a SIMD&FP register sets
460
460
// 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 );
464
464
};
465
465
466
466
Mask.clearAllBits ();
You can’t perform that action at this time.
0 commit comments