<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/test/Transforms/InstSimplify, branch release_32</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/test/Transforms/InstSimplify?h=release_32</id>
<link rel='self' href='https://git.amat.us/llvm/atom/test/Transforms/InstSimplify?h=release_32'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2012-11-26T16:49:56Z</updated>
<entry>
<title>Merging r168186: into the 3.2 release branch.</title>
<updated>2012-11-26T16:49:56Z</updated>
<author>
<name>Pawel Wodnicki</name>
<email>pawel@32bitmicro.com</email>
</author>
<published>2012-11-26T16:49:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=077cee586eda8b0edcca1ff07e823104eff718e7'/>
<id>urn:sha1:077cee586eda8b0edcca1ff07e823104eff718e7</id>
<content type='text'>
InstructionSimplify should be able to simplify A+B==B+A to 'true'
but wasn't due to the same logic bug that caused PR14361.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_32@168593 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Revert r153521 as it's causing large regressions on the nightly testers.</title>
<updated>2012-03-28T18:42:50Z</updated>
<author>
<name>Chad Rosier</name>
<email>mcrosier@apple.com</email>
</author>
<published>2012-03-28T18:42:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=89e2b318e2266a7e3fe44151642c1850ec9bd275'/>
<id>urn:sha1:89e2b318e2266a7e3fe44151642c1850ec9bd275</id>
<content type='text'>
Original commit message for r153521 (aka r153423):
Use the new range metadata in computeMaskedBits and add a new optimization to
instruction simplify that lets us remove an and when loding a boolean value.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153587 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Reapply r153423; the original commit was fine.  The failing test, distray, had </title>
<updated>2012-03-27T17:44:52Z</updated>
<author>
<name>Chad Rosier</name>
<email>mcrosier@apple.com</email>
</author>
<published>2012-03-27T17:44:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=d23a64cc164529739adaedb397e6279269f78efb'/>
<id>urn:sha1:d23a64cc164529739adaedb397e6279269f78efb</id>
<content type='text'>
undefined behavior, which Rafael was kind enough to fix.

Original commit message for r153423:
Use the new range metadata in computeMaskedBits and add a new optimization to
instruction simplify that lets us remove an and when loding a boolean value.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153521 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Revert r153423 as this is causing failures on our internal nightly testers.</title>
<updated>2012-03-26T18:07:14Z</updated>
<author>
<name>Chad Rosier</name>
<email>mcrosier@apple.com</email>
</author>
<published>2012-03-26T18:07:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=cde6650bd05a745e78920e1cd508c3899ebbd644'/>
<id>urn:sha1:cde6650bd05a745e78920e1cd508c3899ebbd644</id>
<content type='text'>
Original commit message:
Use the new range metadata in computeMaskedBits and add a new optimization to
instruction simplify that lets us remove an and when loading a boolean value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153452 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Use the new range metadata in computeMaskedBits and add a new optimization to</title>
<updated>2012-03-26T01:44:11Z</updated>
<author>
<name>Rafael Espindola</name>
<email>rafael.espindola@gmail.com</email>
</author>
<published>2012-03-26T01:44:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=7ddcd35d6beb99118f0b960329b304f9e9a2bf58'/>
<id>urn:sha1:7ddcd35d6beb99118f0b960329b304f9e9a2bf58</id>
<content type='text'>
instruction simplify that lets us remove an and when loding a boolean value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153423 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Teach instsimplify how to simplify comparisons of pointers which are</title>
<updated>2012-03-25T21:28:14Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2012-03-25T21:28:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=58725a66c02865686c70132e8b9bd231eb66da63'/>
<id>urn:sha1:58725a66c02865686c70132e8b9bd231eb66da63</id>
<content type='text'>
constant-offsets of a common base using the generic GEP-walking logic
I added for computing pointer differences in the same situation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153419 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Switch the pointer-difference simplification logic to only work with</title>
<updated>2012-03-25T20:43:07Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2012-03-25T20:43:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=9d9e29b4a83818b066c09c8f832cec7641aa2115'/>
<id>urn:sha1:9d9e29b4a83818b066c09c8f832cec7641aa2115</id>
<content type='text'>
inbounds GEPs. This isn't really necessary for simplifying pointer
differences, but I'm planning to re-use the same code to simplify
pointer comparisons where it is necessary. Since real code almost
exclusively uses inbounds GEPs, it doesn't seem worth it to support the
extra complexity of turning it on and off. If anyone would like that
back, feel free to shout. Note that instcombine will still catch any of
these patterns.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153418 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Generalize the "trunc(ptrtoint(x)) - trunc(ptrtoint(y)) -&gt;</title>
<updated>2012-03-13T14:07:05Z</updated>
<author>
<name>Duncan Sands</name>
<email>baldrick@free.fr</email>
</author>
<published>2012-03-13T14:07:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=bd0fe5642544d4ec3aee1ede7af60c006bae5cbf'/>
<id>urn:sha1:bd0fe5642544d4ec3aee1ede7af60c006bae5cbf</id>
<content type='text'>
trunc(ptrtoint(x-y))" optimization introduced by Chandler.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152626 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Teach instsimplify how to constant fold pointer differences.</title>
<updated>2012-03-12T11:19:31Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2012-03-12T11:19:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=fc72ae613afd7ca2526bb66156bafe8b0054cb3b'/>
<id>urn:sha1:fc72ae613afd7ca2526bb66156bafe8b0054cb3b</id>
<content type='text'>
Typically instcombine has handled this, but pointer differences show up
in several contexts where we would like to get constant folding, and
cannot afford to run instcombine. Specifically, I'm working on improving
the constant folding of arguments used in inline cost analysis with
instsimplify.

Doing this in instsimplify implies some algorithm changes. We have to
handle multiple layers of all-constant GEPs because instsimplify cannot
fold them into a single GEP the way instcombine can. Also, we're only
interested in all-constant GEPs. The result is that this doesn't really
replace the instcombine logic, it's just complimentary and focused on
constant folding.

Reviewed on IRC by Benjamin Kramer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152555 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Make sure we don't return bits outside the mask in ComputeMaskedBits.  PR12189.</title>
<updated>2012-03-05T23:09:40Z</updated>
<author>
<name>Eli Friedman</name>
<email>eli.friedman@gmail.com</email>
</author>
<published>2012-03-05T23:09:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=049d08f5c9e4f9f5c71d8f8d08d846ba15f2ae99'/>
<id>urn:sha1:049d08f5c9e4f9f5c71d8f8d08d846ba15f2ae99</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152066 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
