aboutsummaryrefslogtreecommitdiff
path: root/backend/lib
diff options
context:
space:
mode:
Diffstat (limited to 'backend/lib')
-rw-r--r--backend/lib/CodeGen/GlobalISel/LegalizerHelper.cpp2
-rw-r--r--backend/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h2
2 files changed, 2 insertions, 2 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()) {
diff --git a/backend/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h b/backend/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h
index ba78c52..36d7486 100644
--- a/backend/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h
+++ b/backend/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h
@@ -7,7 +7,7 @@
namespace rcc {
class MachineIRBuilder;
-}
+} // namespace rcc
namespace rcc::riscv {