LLVM's BasicBlock has a single terminator, it is not valid to have two. llvm-svn: 258616
Instead of RAUW with undef, replace the first non-token instruction with unreachable. This fixes PR26263. llvm-svn: 258611