[NVPTX] [InstCombine] Add llvm_unreachable to appease MSVC.

llvm-svn: 293253
This commit is contained in:
Justin Lebar 2017-01-27 02:04:07 +00:00
parent b2c82a6970
commit 25ebe2d767
1 changed files with 1 additions and 0 deletions

View File

@ -1743,6 +1743,7 @@ static Instruction *SimplifyNVVMIntrinsic(IntrinsicInst *II, InstCombiner &IC) {
Instruction::FDiv, ConstantFP::get(II->getArgOperand(0)->getType(), 1),
II->getArgOperand(0), II->getName());
}
llvm_unreachable("All SpecialCase enumerators should be handled in switch.");
}
Instruction *InstCombiner::visitVAStartInst(VAStartInst &I) {