From 958df22c9fbd668fadefe003c7df0fb27aeaeb3f Mon Sep 17 00:00:00 2001 From: Sid Manning Date: Mon, 20 Oct 2014 13:08:19 +0000 Subject: [PATCH] Remove unnecessary else. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220200 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp b/lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp index a526942315f..1fd8d7052cf 100644 --- a/lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp +++ b/lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp @@ -39,8 +39,8 @@ static int getMinValue(uint64_t TSFlags) { if (isSigned) return -1U << (bits - 1); - else - return 0; + + return 0; } // Return the maximum value that a constant extendable operand can have @@ -53,8 +53,8 @@ static int getMaxValue(uint64_t TSFlags) { if (isSigned) return ~(-1U << (bits - 1)); - else - return ~(-1U << bits); + + return ~(-1U << bits); } // Return true if the instruction must be extended. -- 2.34.1