OSDN Git Service

It is possible for several constants which aren't individually absorbing to
authorDuncan Sands <baldrick@free.fr>
Wed, 13 Jun 2012 12:15:56 +0000 (12:15 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 13 Jun 2012 12:15:56 +0000 (12:15 +0000)
commitd34491f6751ae2f8daf3e857c84bcb5b06fba889
treea9d5f9657a7a63f520da1732d6a2a78e6fd7eadc
parentee5a094ccf1f04d3fcc92ac4d2fc8a2926cbb232
It is possible for several constants which aren't individually absorbing to
combine to the absorbing element.  Thanks to nbjoerg on IRC for pointing this
out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158399 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/Reassociate.cpp
test/Transforms/Reassociate/absorption.ll [new file with mode: 0644]