[llvm] r251867 - [Hexagon] Fixing mistaken case fallthrough.

Colin LeMahieu via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 16:21:19 PST 2015


Author: colinl
Date: Mon Nov  2 18:21:19 2015
New Revision: 251867

URL: http://llvm.org/viewvc/llvm-project?rev=251867&view=rev
Log:
[Hexagon] Fixing mistaken case fallthrough.

Modified:
    llvm/trunk/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp

Modified: llvm/trunk/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp?rev=251867&r1=251866&r2=251867&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp Mon Nov  2 18:21:19 2015
@@ -1054,6 +1054,7 @@ static void AddSubinstOperands(MCInst *M
     operand = getDRegFromSubinstEncoding(inst & 0x7);
     Op = MCOperand::createReg(operand);
     MI->addOperand(Op);
+    break;
   case Hexagon::V4_SS2_storeh_io:
     // Rs 7-4, u 10-8{3_1}, Rt 3-0
     operand = getRegFromSubinstEncoding((inst & 0xf0) >> 4);




More information about the llvm-commits mailing list