[llvm] r366064 - [mips] Remove "else-after-return". NFC
Simon Atanasyan via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 06:12:36 PDT 2019
Author: atanasyan
Date: Mon Jul 15 06:12:36 2019
New Revision: 366064
URL: http://llvm.org/viewvc/llvm-project?rev=366064&view=rev
Log:
[mips] Remove "else-after-return". NFC
Modified:
llvm/trunk/lib/Target/Mips/MipsISelLowering.h
Modified: llvm/trunk/lib/Target/Mips/MipsISelLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsISelLowering.h?rev=366064&r1=366063&r2=366064&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelLowering.h (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelLowering.h Mon Jul 15 06:12:36 2019
@@ -655,7 +655,7 @@ class TargetRegisterClass;
getInlineAsmMemConstraint(StringRef ConstraintCode) const override {
if (ConstraintCode == "R")
return InlineAsm::Constraint_R;
- else if (ConstraintCode == "ZC")
+ if (ConstraintCode == "ZC")
return InlineAsm::Constraint_ZC;
return TargetLowering::getInlineAsmMemConstraint(ConstraintCode);
}
More information about the llvm-commits
mailing list