aboutsummaryrefslogtreecommitdiff
path: root/backend/lib/CodeGen
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-08-29 00:24:17 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-08-29 00:24:17 +0800
commit36b5b862c8ab2f75606e23466a3c758ff6d9358b (patch)
treefe24813f287d0f3b547f1e9c1cde50df42e6c010 /backend/lib/CodeGen
parent17bc7d48ed0fca872155f1e68428d8d98ba8d16e (diff)
downloadrcc-project-36b5b862c8ab2f75606e23466a3c758ff6d9358b.tar.gz
rcc-project-36b5b862c8ab2f75606e23466a3c758ff6d9358b.tar.xz
[CodeGen] Apply LLVM declaration style
Diffstat (limited to 'backend/lib/CodeGen')
-rw-r--r--backend/lib/CodeGen/GlobalISel/LegalizerHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/lib/CodeGen/GlobalISel/LegalizerHelper.cpp b/backend/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
index d252a13..8bf6e80 100644
--- a/backend/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+++ b/backend/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
@@ -6428,7 +6428,7 @@ Expected<void> LegalizerHelper::libcall(MachineInstr &Instruction) {
}
const GenericOpcode Generic = static_cast<GenericOpcode>(Instruction.opcode().value());
- auto DestinationOperand = Instruction.operandAt(0);
+ auto *DestinationOperand = Instruction.operandAt(0);
const Register *Destination =
DestinationOperand == nullptr ? nullptr : DestinationOperand->getIf<Register>();
if (Destination == nullptr || !DestinationOperand->isDef()) {