[PATCH] D47143: [NewGVN] Do not treat LoadExpressions with differing nonnull as equal.

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 21 13:56:36 PDT 2018


dberlin added a comment.

One of the reasons i moved Simplify* to take a SimplifyQuery is so that things like this are possible to add without a tremendous amount of work in Simplify*.

Part of me thinks anything else would be too fragile, but i'm open to ideas.
We are basically using it as a more advanced constant folder that does some reassociation and simplification.


https://reviews.llvm.org/D47143





More information about the llvm-commits mailing list