mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Add a couple llvm_unreachables.
llvm-svn: 155332
This commit is contained in:
parent
6c6ee67efe
commit
f27c3223f7
@ -10291,6 +10291,7 @@ SDValue X86TargetLowering::LowerShift(SDValue Op, SelectionDAG &DAG) const {
|
||||
Res = DAG.getNode(ISD::SUB, dl, VT, Res, Mask);
|
||||
return Res;
|
||||
}
|
||||
llvm_unreachable("Unknown shift opcode.");
|
||||
}
|
||||
|
||||
if (Subtarget->hasAVX2() && VT == MVT::v32i8) {
|
||||
@ -10334,6 +10335,7 @@ SDValue X86TargetLowering::LowerShift(SDValue Op, SelectionDAG &DAG) const {
|
||||
Res = DAG.getNode(ISD::SUB, dl, VT, Res, Mask);
|
||||
return Res;
|
||||
}
|
||||
llvm_unreachable("Unknown shift opcode.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user