[PATCH] D34285: [SROA] Be smarter when copying metadata to retyped loads

Ariel Ben-Yehuda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 26 02:08:21 PDT 2017


arielb1 added a comment.

The assert failure is exactly the reason I wrote this patch. Without
this patch, the !nonnull metadata is copied from the `%bar*` load to
the `i64` load, which triggers the assertion.

> By value do you mean "result"?
>  IE the result of the load?

If that's the LLVM term, yeah.


https://reviews.llvm.org/D34285





More information about the llvm-commits mailing list