Remove some unnecessary unreachables in favor of (sometimes implicit) assertions
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 20 Feb 2015 23:44:24 +0000 (23:44 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 20 Feb 2015 23:44:24 +0000 (23:44 +0000)
commit74c45a19e3c9eafe4a772219a4a88cfd7fa46ec1
tree640a8e25b9b083d4d7434db4dfe6ae8b2208bd18
parentb2c6bf677604b37bb6a1bddc46c7e6bae7081d6f
Remove some unnecessary unreachables in favor of (sometimes implicit) assertions

Also simplify some else-after-return cases including some standard
algorithm convenience/use.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230094 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Instructions.h
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp