[X86] Add a return to the end of a switch to prevent an accidental fallthrough in...
authorCraig Topper <craig.topper@intel.com>
Wed, 15 Nov 2017 20:42:47 +0000 (20:42 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 15 Nov 2017 20:42:47 +0000 (20:42 +0000)
llvm-svn: 318330

llvm/lib/Target/X86/X86ISelLowering.cpp

index 63ab4d4..532097b 100644 (file)
@@ -24900,6 +24900,7 @@ void X86TargetLowering::ReplaceNodeResults(SDNode *N,
                                    ToVecInt, DAG.getIntPtrConstant(i, dl)));
 
     Results.push_back(DAG.getBuildVector(DstVT, dl, Elts));
+    return;
   }
   }
 }