From: Diana Picus Date: Mon, 14 Nov 2016 10:25:43 +0000 (+0000) Subject: GlobalISel: Fix indentation. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e16596f28ce91bb597c3ae5979a56dc071f28b56;p=llvm GlobalISel: Fix indentation. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286808 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp b/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp index 3070a2e6749..34ec509b8ac 100644 --- a/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp +++ b/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp @@ -420,9 +420,9 @@ const RegisterBankInfo::ValueMapping *RegisterBankInfo::getOperandsMapping( RegisterBankInfo::InstructionMapping RegisterBankInfo::getInstrMapping(const MachineInstr &MI) const { - RegisterBankInfo::InstructionMapping Mapping = getInstrMappingImpl(MI); - if (Mapping.isValid()) - return Mapping; + RegisterBankInfo::InstructionMapping Mapping = getInstrMappingImpl(MI); + if (Mapping.isValid()) + return Mapping; llvm_unreachable("The target must implement this"); } diff --git a/lib/Target/AArch64/AArch64TargetMachine.cpp b/lib/Target/AArch64/AArch64TargetMachine.cpp index 9d6e7b0382b..43c548922d3 100644 --- a/lib/Target/AArch64/AArch64TargetMachine.cpp +++ b/lib/Target/AArch64/AArch64TargetMachine.cpp @@ -247,7 +247,7 @@ AArch64TargetMachine::getSubtargetImpl(const Function &F) const { I = llvm::make_unique(TargetTriple, CPU, FS, *this, isLittle); #ifndef LLVM_BUILD_GLOBAL_ISEL - GISelAccessor *GISel = new GISelAccessor(); + GISelAccessor *GISel = new GISelAccessor(); #else AArch64GISelActualAccessor *GISel = new AArch64GISelActualAccessor();