hiraditya added a comment. In https://reviews.llvm.org/D30667#693739, @dberlin wrote: > Uh, won't this already return false on the call to longjmp? GVNHoist only calls isGuaranteedToTransferExecutionToSuccessor for terminators. https://reviews.llvm.org/D30667