<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/test/Transforms/InstCombine, branch release_30</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/test/Transforms/InstCombine?h=release_30</id>
<link rel='self' href='https://git.amat.us/llvm/atom/test/Transforms/InstCombine?h=release_30'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2011-11-01T04:51:01Z</updated>
<entry>
<title>Merging r143437:</title>
<updated>2011-11-01T04:51:01Z</updated>
<author>
<name>Bill Wendling</name>
<email>isanbard@gmail.com</email>
</author>
<published>2011-11-01T04:51:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=c6db06a8c4dfc59d3d9c4f6757f584aabc71937b'/>
<id>urn:sha1:c6db06a8c4dfc59d3d9c4f6757f584aabc71937b</id>
<content type='text'>
------------------------------------------------------------------------
r143437 | efriedma | 2011-10-31 21:49:29 -0700 (Mon, 31 Oct 2011) | 3 lines

Make sure we use the right insertion point when instcombine replaces a PHI with another instruction.  (Specifically, don't insert an arbitrary instruction before a PHI.)  Fixes PR11275.


------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_30@143438 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Merging r142168:</title>
<updated>2011-10-19T22:11:55Z</updated>
<author>
<name>Bill Wendling</name>
<email>isanbard@gmail.com</email>
</author>
<published>2011-10-19T22:11:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=a7dea542b6e566e00d06164d417162a9aad1551d'/>
<id>urn:sha1:a7dea542b6e566e00d06164d417162a9aad1551d</id>
<content type='text'>
------------------------------------------------------------------------
r142168 | chandlerc | 2011-10-16 18:11:57 -0700 (Sun, 16 Oct 2011) | 8 lines

Add a routine to swap branch instruction operands, and update any
profile metadata at the same time. Use it to preserve metadata attached
to a branch when re-writing it in InstCombine.

Add metadata to the canonicalize_branch InstCombine test, and check that
it is tranformed correctly.

Reviewed by Nick Lewycky!
------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_30@142545 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Added a testcase for r141599, rdar://problem/10063881.</title>
<updated>2011-10-11T01:32:10Z</updated>
<author>
<name>Lang Hames</name>
<email>lhames@gmail.com</email>
</author>
<published>2011-10-11T01:32:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=eafc8192d193865edf81f78c9d2e958336f9102a'/>
<id>urn:sha1:eafc8192d193865edf81f78c9d2e958336f9102a</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141628 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Revert 141203. InstCombine is looping on unit tests.</title>
<updated>2011-10-05T20:44:29Z</updated>
<author>
<name>Jim Grosbach</name>
<email>grosbach@apple.com</email>
</author>
<published>2011-10-05T20:44:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=e2999b48998508ac426a9c2d67db55a6ca4b4fde'/>
<id>urn:sha1:e2999b48998508ac426a9c2d67db55a6ca4b4fde</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141209 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Update InstCombine worklist after instruction transform is complete.</title>
<updated>2011-10-05T20:05:00Z</updated>
<author>
<name>Jim Grosbach</name>
<email>grosbach@apple.com</email>
</author>
<published>2011-10-05T20:05:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=30c1ff234d30567fc20d6c41d8fd9c3aacbbf9ca'/>
<id>urn:sha1:30c1ff234d30567fc20d6c41d8fd9c3aacbbf9ca</id>
<content type='text'>
When updating the worklist for InstCombine, the Add/AddUsersToWorklist
functions may access the instruction(s) being added, for debug output for
example. If the instructions aren't yet added to the basic block, this
can result in a crash. Finish the instruction transformation before
adjusting the worklist instead.

rdar://10238555


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141203 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Add a new icmp+select optz'n. Also shows off the load(cst) folding added in</title>
<updated>2011-10-02T10:37:37Z</updated>
<author>
<name>Nick Lewycky</name>
<email>nicholas@mxc.ca</email>
</author>
<published>2011-10-02T10:37:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=11357d4f40b2b4101ca39c79574171e058866227'/>
<id>urn:sha1:11357d4f40b2b4101ca39c79574171e058866227</id>
<content type='text'>
r140966.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140969 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>float comparison to double 'zero' constant can just be a float 'zero.'</title>
<updated>2011-09-30T18:45:50Z</updated>
<author>
<name>Jim Grosbach</name>
<email>grosbach@apple.com</email>
</author>
<published>2011-09-30T18:45:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=cbf676b3ba907f72405a02938f5cd85fb3e6a46c'/>
<id>urn:sha1:cbf676b3ba907f72405a02938f5cd85fb3e6a46c</id>
<content type='text'>
InstCombine was incorrectly considering the conversion of the constant
zero to be unsafe.

We want to transform:
define float @bar(float %x) nounwind readnone optsize ssp {
  %conv = fpext float %x to double
  %cmp = fcmp olt double %conv, 0.000000e+00
  %conv1 = zext i1 %cmp to i32
  %conv2 = sitofp i32 %conv1 to float
  ret float %conv2
}

Into:
define float @bar(float %x) nounwind readnone optsize ssp {
  %cmp = fcmp olt float %x, 0.000000e+00   ; &lt;---- This
  %conv1 = zext i1 %cmp to i32
  %conv2 = sitofp i32 %conv1 to float
  ret float %conv2
}


rdar://10215914


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140869 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Add forgotten tests that the cleanup flag is cleared if there</title>
<updated>2011-09-30T17:00:34Z</updated>
<author>
<name>Duncan Sands</name>
<email>baldrick@free.fr</email>
</author>
<published>2011-09-30T17:00:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=5bc93e782e5e2ef33adeb8b395484d2c190abda1'/>
<id>urn:sha1:5bc93e782e5e2ef33adeb8b395484d2c190abda1</id>
<content type='text'>
is a catch-all landingpad clause.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140858 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Inlining often produces landingpad instructions with repeated</title>
<updated>2011-09-30T13:12:16Z</updated>
<author>
<name>Duncan Sands</name>
<email>baldrick@free.fr</email>
</author>
<published>2011-09-30T13:12:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=0ad7b6e773b33f4c4fd3c82c8a5c10ac0597792c'/>
<id>urn:sha1:0ad7b6e773b33f4c4fd3c82c8a5c10ac0597792c</id>
<content type='text'>
catch or repeated filter clauses.  Teach instcombine a bunch
of tricks for simplifying landingpad clauses.  Currently the
code only recognizes the GNU C++ and Ada personality functions,
but that doesn't stop it doing a bunch of "generic" transforms
which are hopefully fine for any real-world personality function.
If these "generic" transforms turn out not to be generic, they
can always be conditioned on the personality function.  Probably
someone should add the ObjC++ personality function.  I didn't as
I don't know anything about it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140852 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Stop emitting instructions with the name "tmp" they eat up memory and have to be uniqued, without any benefit.</title>
<updated>2011-09-27T20:39:19Z</updated>
<author>
<name>Benjamin Kramer</name>
<email>benny.kra@googlemail.com</email>
</author>
<published>2011-09-27T20:39:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=a9390a4d5f5d568059a80970d22194b165d097a7'/>
<id>urn:sha1:a9390a4d5f5d568059a80970d22194b165d097a7</id>
<content type='text'>
If someone prefers %tmp42 to %42, run instnamer.

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