From 99d0e5079e86dcd8a7627c1f7bc1858df6b4c969 Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Mon, 15 Jul 2019 13:12:36 +0000 Subject: [PATCH] [mips] Remove "else-after-return". NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366064 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MipsISelLowering.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/Mips/MipsISelLowering.h b/lib/Target/Mips/MipsISelLowering.h index 89bfd9af33b..27bf18c8ba9 100644 --- a/lib/Target/Mips/MipsISelLowering.h +++ b/lib/Target/Mips/MipsISelLowering.h @@ -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); } -- 2.40.0