[PATCH] D30667: GVNHoist: handle basic blocks with UnreachableInst

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 14:59:51 PDT 2017


efriedma added a comment.

If you have a function like this:

define void @f(i32* %z) { unreachable }

We can mark %z nonnull because there's a nonnull assumption along every feasible path.  I'm not sure what that has to do with this patch, though.


Repository:
  rL LLVM

https://reviews.llvm.org/D30667





More information about the llvm-commits mailing list