summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-03-02 19:45:21 -0800
committerCraig Topper <craig.topper@sifive.com>2025-03-02 22:33:26 -0800
commita70175ab932412ac7d46f3c82cd19384c33fc868 (patch)
treee8d23c45df5d0579af46081614f6e1ba3265969e /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent13cce8c0bcf0f2e5d02f863fcbee47e3d7956eca (diff)
[CodeGen] Use MCRegister and Register. NFC
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineBasicBlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp
index e90b224c98dd..b3a71d114472 100644
--- a/llvm/lib/CodeGen/MachineBasicBlock.cpp
+++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp
@@ -1773,7 +1773,7 @@ MachineBasicBlock::liveout_iterator MachineBasicBlock::liveout_begin() const {
"Liveness information is accurate");
const TargetLowering &TLI = *MF.getSubtarget().getTargetLowering();
- MCPhysReg ExceptionPointer = 0, ExceptionSelector = 0;
+ MCRegister ExceptionPointer, ExceptionSelector;
if (MF.getFunction().hasPersonalityFn()) {
auto PersonalityFn = MF.getFunction().getPersonalityFn();
ExceptionPointer = TLI.getExceptionPointerRegister(PersonalityFn);