<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/test/Transforms/CodeGenPrepare, branch stable</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/test/Transforms/CodeGenPrepare?h=stable</id>
<link rel='self' href='https://git.amat.us/llvm/atom/test/Transforms/CodeGenPrepare?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2012-12-30T01:28:40Z</updated>
<entry>
<title>Tests: rewrite 'opt ... %s' to 'opt ... &lt; %s' so that opt does not emit a ModuleID</title>
<updated>2012-12-30T01:28:40Z</updated>
<author>
<name>Dmitri Gribenko</name>
<email>gribozavr@gmail.com</email>
</author>
<published>2012-12-30T01:28:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=b4912b9dccd7250c372a40ba0734171c6b0f5e9b'/>
<id>urn:sha1:b4912b9dccd7250c372a40ba0734171c6b0f5e9b</id>
<content type='text'>
This is done to avoid odd test failures, like the one fixed in r171243.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171246 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Move load_to_switch.ll to test/CodeGen/SPARC/</title>
<updated>2012-09-19T09:25:03Z</updated>
<author>
<name>Hans Wennborg</name>
<email>hans@hanshq.net</email>
</author>
<published>2012-09-19T09:25:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=c4ba62ca1d53b90a9ff1efce025f8e5d7dd91ca9'/>
<id>urn:sha1:c4ba62ca1d53b90a9ff1efce025f8e5d7dd91ca9</id>
<content type='text'>
Because the test invokes llc -march=sparc, it needs to be in a directory
which is only run when the sparc target is built.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164211 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>CodeGenPrep: turn lookup tables into switches for some targets.</title>
<updated>2012-09-19T07:48:16Z</updated>
<author>
<name>Hans Wennborg</name>
<email>hans@hanshq.net</email>
</author>
<published>2012-09-19T07:48:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=93ba133906da4b12a7c732b897e64541cc570120'/>
<id>urn:sha1:93ba133906da4b12a7c732b897e64541cc570120</id>
<content type='text'>
This is a follow-up from r163302, which added a transformation to
SimplifyCFG that turns some switches into loads from lookup tables.

It was pointed out that some targets, such as GPUs and deeply embedded
targets, might not find this appropriate, but SimplifyCFG doesn't have
enough information about the target to decide this.

This patch adds the reverse transformation to CodeGenPrep: it turns
loads from lookup tables back into switches for targets where we do not
build jump tables (assuming these are also the targets where lookup
tables are inappropriate).

Hopefully we will eventually get to have target information in
SimplifyCFG, and then this CodeGenPrep transformation can be removed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164206 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>During the CodeGenPrepare we often lower intrinsics (such as objsize)</title>
<updated>2012-08-14T05:19:07Z</updated>
<author>
<name>Nadav Rotem</name>
<email>nrotem@apple.com</email>
</author>
<published>2012-08-14T05:19:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=3e883734fab4da8413f16957dd116d4ffd9d3223'/>
<id>urn:sha1:3e883734fab4da8413f16957dd116d4ffd9d3223</id>
<content type='text'>
and allow some optimizations to turn conditional branches into unconditional.
This commit adds a simple control-flow optimization which merges two consecutive
basic blocks which are connected by a single edge. This allows the codegen to
operate on larger basic blocks.

rdar://11973998



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161852 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed.</title>
<updated>2012-02-16T06:28:33Z</updated>
<author>
<name>Eli Bendersky</name>
<email>eli.bendersky@intel.com</email>
</author>
<published>2012-02-16T06:28:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=0f0c411079cd21bb3a81a1b70bf8c67539a16c22'/>
<id>urn:sha1:0f0c411079cd21bb3a81a1b70bf8c67539a16c22</id>
<content type='text'>
Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150664 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Roll r127459 back in:</title>
<updated>2011-03-11T21:52:04Z</updated>
<author>
<name>Cameron Zwarich</name>
<email>zwarich@apple.com</email>
</author>
<published>2011-03-11T21:52:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=899eaa35696bb0a9a625acd70a14876834af6cc5'/>
<id>urn:sha1:899eaa35696bb0a9a625acd70a14876834af6cc5</id>
<content type='text'>
Optimize trivial branches in CodeGenPrepare, which often get created from the
lowering of objectsize intrinsics. Unfortunately, a number of tests were relying
on llc not optimizing trivial branches, so I had to add an option to allow them
to continue to test what they originally tested.

This fixes &lt;rdar://problem/8785296&gt; and &lt;rdar://problem/9112893&gt;.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127498 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Revert r127459, "Optimize trivial branches in CodeGenPrepare, which often get</title>
<updated>2011-03-11T19:30:30Z</updated>
<author>
<name>Daniel Dunbar</name>
<email>daniel@zuster.org</email>
</author>
<published>2011-03-11T19:30:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=950d3db5f478a84242a90cafce0d8dfc4f8b1152'/>
<id>urn:sha1:950d3db5f478a84242a90cafce0d8dfc4f8b1152</id>
<content type='text'>
created from the", it broke some GCC test suite tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127477 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Optimize trivial branches in CodeGenPrepare, which often get created from the</title>
<updated>2011-03-11T04:54:27Z</updated>
<author>
<name>Cameron Zwarich</name>
<email>zwarich@apple.com</email>
</author>
<published>2011-03-11T04:54:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=592ca3fda918c2066d9d78ed360e5fd69066fda7'/>
<id>urn:sha1:592ca3fda918c2066d9d78ed360e5fd69066fda7</id>
<content type='text'>
lowering of objectsize intrinsics. Unfortunately, a number of tests were relying
on llc not optimizing trivial branches, so I had to add an option to allow them
to continue to test what they originally tested.

This fixes &lt;rdar://problem/8785296&gt; and &lt;rdar://problem/9112893&gt;.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127459 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>temporarily revert r123526.  While working on a follow-on patch I</title>
<updated>2011-01-15T07:51:19Z</updated>
<author>
<name>Chris Lattner</name>
<email>sabre@nondot.org</email>
</author>
<published>2011-01-15T07:51:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=6ccb5ef1b504e71b63219437f5bcf4856207949b'/>
<id>urn:sha1:6ccb5ef1b504e71b63219437f5bcf4856207949b</id>
<content type='text'>
realize that ConstantFoldTerminator doesn't preserve dominfo.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123527 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>fix rdar://8785296 - -fcatch-undefined-behavior generates inefficient code</title>
<updated>2011-01-15T07:36:13Z</updated>
<author>
<name>Chris Lattner</name>
<email>sabre@nondot.org</email>
</author>
<published>2011-01-15T07:36:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=eeba3f5695e39ca970a7aeb161558575216005b2'/>
<id>urn:sha1:eeba3f5695e39ca970a7aeb161558575216005b2</id>
<content type='text'>
The basic issue is that isel (very reasonably!) expects conditional branches
to be folded, so CGP leaving around a bunch dead computation feeding
conditional branches isn't such a good idea.  Just fold branches on constants
into unconditional branches.


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