diff options
Diffstat (limited to 'backend/include/rcc/CodeGen/MachineBasicBlock.h')
| -rw-r--r-- | backend/include/rcc/CodeGen/MachineBasicBlock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/include/rcc/CodeGen/MachineBasicBlock.h b/backend/include/rcc/CodeGen/MachineBasicBlock.h index d82477a..da538db 100644 --- a/backend/include/rcc/CodeGen/MachineBasicBlock.h +++ b/backend/include/rcc/CodeGen/MachineBasicBlock.h @@ -113,6 +113,9 @@ public: [[nodiscard]] Expected<void> addLiveIn(PhysicalRegister PhysReg, LaneMask Lanes = LaneMask::all()); [[nodiscard]] Expected<void> removeLiveIn(PhysicalRegister PhysReg); + void clearLiveIns() noexcept { + LiveIns.clear(); + } [[nodiscard]] std::span<const MachineBasicBlockLiveIn> liveIns() const noexcept { return LiveIns; } |
