[llvm] r251775 - [X86] Remove a 'break' after an llvm_unreachable.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 1 23:24:27 PST 2015
Author: ctopper
Date: Mon Nov 2 01:24:27 2015
New Revision: 251775
URL: http://llvm.org/viewvc/llvm-project?rev=251775&view=rev
Log:
[X86] Remove a 'break' after an llvm_unreachable.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=251775&r1=251774&r2=251775&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Mon Nov 2 01:24:27 2015
@@ -16960,9 +16960,7 @@ static SDValue LowerINTRINSIC_W_CHAIN(SD
SDLoc dl(Op);
switch(IntrData->Type) {
- default:
- llvm_unreachable("Unknown Intrinsic Type");
- break;
+ default: llvm_unreachable("Unknown Intrinsic Type");
case RDSEED:
case RDRAND: {
// Emit the node with the right value type.
More information about the llvm-commits
mailing list