[llvm-commits] [PATCH] Make EarlyCSE understand commutativity

Chris Lattner clattner at apple.com
Mon Oct 1 10:42:01 PDT 2012


On Sep 30, 2012, at 7:07 PM, Michael Ilseman <milseman at apple.com> wrote:

> Attached is a new version. I went with "CanonicalExpr" and added function level comments.

Hi Michael,

Why is this needed?  Why isn't it enough to change the predicate in "DenseMapInfo<SimpleValue>::isEqual" to handle commutative operations?

-Chris



More information about the llvm-commits mailing list