diff options
| author | Craig Topper <craig.topper@sifive.com> | 2025-01-18 23:36:56 -0800 |
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2025-01-18 23:37:03 -0800 |
| commit | 4a486e773e0ef1add4515ee47b038c274ced2e76 (patch) | |
| tree | c211d942c40dceb03cd95dc617b067d510f4196d /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
| parent | 81357627deba3411d4dfd2c819639195cdf80770 (diff) | |
[CodeGen] Use Register/MCRegister::isPhysical. NFC
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/MachineBasicBlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index 5ac6472a01e9..9bc8989cbfa1 100644 --- a/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp @@ -644,7 +644,7 @@ void MachineBasicBlock::sortUniqueLiveIns() { Register MachineBasicBlock::addLiveIn(MCRegister PhysReg, const TargetRegisterClass *RC) { assert(getParent() && "MBB must be inserted in function"); - assert(Register::isPhysicalRegister(PhysReg) && "Expected physreg"); + assert(PhysReg.isPhysical() && "Expected physreg"); assert(RC && "Register class is required"); assert((isEHPad() || this == &getParent()->front()) && "Only the entry block and landing pads can have physreg live ins"); |
