diff options
author | Justin Lebar <jlebar@google.com> | 2017-01-27 02:04:07 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2017-01-27 02:04:07 +0000 |
commit | 25ebe2d767a0280e738d8eacf45fa9415849f739 (patch) | |
tree | 783d9cba6654944475f884340f0f2b9c62125380 /llvm | |
parent | b2c82a6970b813529be87069a398921ecd4a8cdf (diff) | |
download | bcm5719-llvm-25ebe2d767a0280e738d8eacf45fa9415849f739.tar.gz bcm5719-llvm-25ebe2d767a0280e738d8eacf45fa9415849f739.zip |
[NVPTX] [InstCombine] Add llvm_unreachable to appease MSVC.
llvm-svn: 293253
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp index 8109441eec9..19746651d99 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp @@ -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) { |