<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/test/Transforms/LoopIdiom, branch stable</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/test/Transforms/LoopIdiom?h=stable</id>
<link rel='self' href='https://git.amat.us/llvm/atom/test/Transforms/LoopIdiom?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2013-01-10T23:32:01Z</updated>
<entry>
<title>PR14904: Segmentation fault running pass 'Recognize loop idioms'</title>
<updated>2013-01-10T23:32:01Z</updated>
<author>
<name>Shuxin Yang</name>
<email>shuxin.llvm@gmail.com</email>
</author>
<published>2013-01-10T23:32:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=253449db20f86b655852a397245ba16ff262452f'/>
<id>urn:sha1:253449db20f86b655852a397245ba16ff262452f</id>
<content type='text'>
The root cause is mistakenly taking for granted that 
    "dyn_cast&lt;Instruction&gt;(a-Value)"
return a non-NULL instruction.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172145 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Fix a mistaken commit that included some debugging code.</title>
<updated>2013-01-07T13:41:55Z</updated>
<author>
<name>David Tweed</name>
<email>david.tweed@arm.com</email>
</author>
<published>2013-01-07T13:41:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=35d711aee057ebc2ac913a956d7c144f522cbf8a'/>
<id>urn:sha1:35d711aee057ebc2ac913a956d7c144f522cbf8a</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171734 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>There was a switch fall-through in the parser for textual LLVM that caused</title>
<updated>2013-01-07T13:32:38Z</updated>
<author>
<name>David Tweed</name>
<email>david.tweed@arm.com</email>
</author>
<published>2013-01-07T13:32:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=d80d608f768e0083122f74df80465effcd70f076'/>
<id>urn:sha1:d80d608f768e0083122f74df80465effcd70f076</id>
<content type='text'>
bogus comparison operands to default to eq/oeq. Fix that, fix a couple of
tests that accidentally passed and test for bogus comparison opeartors
explicitly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171733 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>- Re-enable population count loop idiom recognization </title>
<updated>2012-12-09T03:12:46Z</updated>
<author>
<name>Shuxin Yang</name>
<email>shuxin.llvm@gmail.com</email>
</author>
<published>2012-12-09T03:12:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=5518a1355b8b09bf92419b65ea4e4854734b0ebc'/>
<id>urn:sha1:5518a1355b8b09bf92419b65ea4e4854734b0ebc</id>
<content type='text'>
- fix a bug which cause sigfault.
- add two testing cases which was causing crash


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169687 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Revert the patches adding a popcount loop idiom recognition pass.</title>
<updated>2012-12-08T22:18:29Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2012-12-08T22:18:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=7065a2bcec3b775da12cf8fbcd6fa972d5f2afeb'/>
<id>urn:sha1:7065a2bcec3b775da12cf8fbcd6fa972d5f2afeb</id>
<content type='text'>
There are still bugs in this pass, as well as other issues that are
being worked on, but the bugs are crashers that occur pretty easily in
the wild. Test cases have been sent to the original commit's review
thread.

This reverts the commits:
  r169671: Fix a logic error.
  r169604: Move the popcnt tests to an X86 subdirectory.
  r168931: Initial commit adding the pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169683 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>The test unconditionally assumes a particular cpu has a backend build in the target.</title>
<updated>2012-12-07T15:57:45Z</updated>
<author>
<name>David Tweed</name>
<email>david.tweed@arm.com</email>
</author>
<published>2012-12-07T15:57:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=9f90c7341562bd667879b1aa0ab874da1856e7d0'/>
<id>urn:sha1:9f90c7341562bd667879b1aa0ab874da1856e7d0</id>
<content type='text'>
Buildbots for some hosts may choose to build only their own backend in order to
maximise testing-turnaround time. Move the test into a prefixed directory so
lit's standard "backend specific" suppression can be done.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169604 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>rdar://12100355 (part 1)</title>
<updated>2012-11-29T19:38:54Z</updated>
<author>
<name>Shuxin Yang</name>
<email>shuxin.llvm@gmail.com</email>
</author>
<published>2012-11-29T19:38:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=84fca61ca5fba5c33a799d9133750b6832ddef7e'/>
<id>urn:sha1:84fca61ca5fba5c33a799d9133750b6832ddef7e</id>
<content type='text'>
This revision attempts to recognize following population-count pattern:

 while(a) { c++; ... ; a &amp;= a - 1; ... },
  where &lt;c&gt; and &lt;a&gt;could be used multiple times in the loop body.

 TODO: On X8664 and ARM, __buildin_ctpop() are not expanded to a efficent 
instruction sequence, which need to be improved in the following commits.

Reviewed by Nadav, really appreciate!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168931 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Add a testcase to loop-idiom to cover PR14241 when we start handling</title>
<updated>2012-11-02T08:40:24Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2012-11-02T08:40:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=52df6c2eec06861d9e933bae5b055f0b4e52f74f'/>
<id>urn:sha1:52df6c2eec06861d9e933bae5b055f0b4e52f74f</id>
<content type='text'>
strided loops again.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167287 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Revert the switch of loop-idiom to use the new dependence analysis.</title>
<updated>2012-11-02T08:33:25Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2012-11-02T08:33:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=a864748284f4bab974ffb13b840a611c1f9bc7ac'/>
<id>urn:sha1:a864748284f4bab974ffb13b840a611c1f9bc7ac</id>
<content type='text'>
The new analysis is not yet ready for prime time. It has a *critical*
flawed assumption, and some troubling shortages of testing. Until it's
been hammered into better shape, let's stick with the working code. This
should be easy to revert itself when the analysis is ready.

Fixes PR14241, a miscompile of any memcpy-able loop which uses a pointer
as the induction mechanism. If you have been seeing miscompiles in this
revision range, you really want to test with this backed out. The
results of this miscompile are a bit subtle as they can lead to
downstream passes concluding things are impossible which are in fact
possible.

Thanks to David Blaikie for the majority of the reduction of this
miscompile. I'll be checking in the test case in a non-revert commit.

Revesions reverted here:

r167045: LoopIdiom: Fix a serious missed optimization: we only turned
         top-level loops into memmove.
r166877: LoopIdiom: Add checks to avoid turning memmove into an infinite
         loop.
r166875: LoopIdiom: Recognize memmove loops.
r166874: LoopIdiom: Replace custom dependence analysis with
         DependenceAnalysis.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167286 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>LCSSA: Add a workaround for another nasty SCEV cache invalidation issue.</title>
<updated>2012-10-31T10:01:29Z</updated>
<author>
<name>Benjamin Kramer</name>
<email>benny.kra@googlemail.com</email>
</author>
<published>2012-10-31T10:01:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=4ad3d981b91ac1293b8f2be29e6452d5206107b8'/>
<id>urn:sha1:4ad3d981b91ac1293b8f2be29e6452d5206107b8</id>
<content type='text'>
I'm not entirely happy with this solution, but I don't see a smarter way currently.
Fixes PR14214.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167112 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
