[llvm] r245800 - Add missing break in AArch64DAGToDAGISel::Select() switch case

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 22 17:42:57 PDT 2015


Author: mehdi_amini
Date: Sat Aug 22 19:42:57 2015
New Revision: 245800

URL: http://llvm.org/viewvc/llvm-project?rev=245800&view=rev
Log:
Add missing break in AArch64DAGToDAGISel::Select() switch case

Reported by coverity.

From: Mehdi Amini <mehdi.amini at apple.com>

Modified:
    llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp

Modified: llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp?rev=245800&r1=245799&r2=245800&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp Sat Aug 22 19:42:57 2015
@@ -2904,6 +2904,7 @@ SDNode *AArch64DAGToDAGISel::Select(SDNo
       break;
     }
     }
+    break;
   }
   case AArch64ISD::LD2post: {
     if (VT == MVT::v8i8)




More information about the llvm-commits mailing list