<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emscripten-fastcomp/lib/CodeGen/RegisterCoalescer.cpp, branch 1.15.0</title>
<subtitle>LLVM with the emscripten fastcomp javascript backend</subtitle>
<id>https://git.amat.us/emscripten-fastcomp/atom/lib/CodeGen/RegisterCoalescer.cpp?h=1.15.0</id>
<link rel='self' href='https://git.amat.us/emscripten-fastcomp/atom/lib/CodeGen/RegisterCoalescer.cpp?h=1.15.0'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/'/>
<updated>2013-03-05T01:00:45Z</updated>
<entry>
<title>Remove unused #includes.</title>
<updated>2013-03-05T01:00:45Z</updated>
<author>
<name>Bill Wendling</name>
<email>isanbard@gmail.com</email>
</author>
<published>2013-03-05T01:00:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=69d37fa6351d5fe2a97ea24a2d0d667a92f14a9c'/>
<id>urn:sha1:69d37fa6351d5fe2a97ea24a2d0d667a92f14a9c</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176467 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>RegisterCoalescer::reMaterializeTrivialDef() can constrain the destination</title>
<updated>2013-02-14T03:25:24Z</updated>
<author>
<name>Cameron Zwarich</name>
<email>zwarich@apple.com</email>
</author>
<published>2013-02-14T03:25:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=1f258a6d53b29f6dfb60436da4aa76e996644d84'/>
<id>urn:sha1:1f258a6d53b29f6dfb60436da4aa76e996644d84</id>
<content type='text'>
register class to match the defining instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175130 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Fix RegisterCoalescer::rematerializeTrivialDef() so that it works on flipped</title>
<updated>2013-02-14T02:51:05Z</updated>
<author>
<name>Cameron Zwarich</name>
<email>zwarich@apple.com</email>
</author>
<published>2013-02-14T02:51:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=1d4673228143965fafbcb679417f5a9be53d0a2a'/>
<id>urn:sha1:1d4673228143965fafbcb679417f5a9be53d0a2a</id>
<content type='text'>
CoalescerPairs. Also, make it take a CoalescerPair directly like other methods
of RegisterCoalescer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175123 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Fix some issues with rematerialization in RegisterCoalescer when the destination</title>
<updated>2013-02-14T02:51:03Z</updated>
<author>
<name>Cameron Zwarich</name>
<email>zwarich@apple.com</email>
</author>
<published>2013-02-14T02:51:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=c5f147459b1704e25df4ff888729dd5d22d73381'/>
<id>urn:sha1:c5f147459b1704e25df4ff888729dd5d22d73381</id>
<content type='text'>
of the copy is a subregister def. The current code assumes that it can do a full
def of the destination register, but it is not checking that the def operand is
read-undef. It also doesn't clear the subregister index of the destination in
the new instruction to reflect the full subregister def.

These issues were found running 'make check' with my next commit that enables
rematerialization in more cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175122 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Debug Info: LiveDebugVarible can remove DBG_VALUEs, make sure we emit them back.</title>
<updated>2013-02-13T01:14:49Z</updated>
<author>
<name>Manman Ren</name>
<email>mren@apple.com</email>
</author>
<published>2013-02-13T01:14:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=4be3853fd0a0e3b37a27afe05327e638e680c463'/>
<id>urn:sha1:4be3853fd0a0e3b37a27afe05327e638e680c463</id>
<content type='text'>
RegisterCoalescer used to depend on LiveDebugVariable. LDV removes DBG_VALUEs
without emitting them at the end.

We fix this by removing LDV from RegisterCoalescer. Also add an assertion to
make sure we call emitDebugValues if DBG_VALUEs are removed at
runOnMachineFunction.

rdar://problem/13183203
Reviewed by Andy &amp; Jakob


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175023 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Fix PR14732 by handling all kinds of IMPLICIT_DEF live ranges.</title>
<updated>2013-01-03T00:47:51Z</updated>
<author>
<name>Jakob Stoklund Olesen</name>
<email>stoklund@2pi.dk</email>
</author>
<published>2013-01-03T00:47:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=251ed7f3e59a857dd92bda1ba4f9305f33deb67b'/>
<id>urn:sha1:251ed7f3e59a857dd92bda1ba4f9305f33deb67b</id>
<content type='text'>
Most IMPLICIT_DEF instructions are removed by the ProcessImplicitDefs
pass, and a few are reinserted by PHIElimination when a PHI argument is
&lt;undef&gt;.

RegisterCoalescer was assuming that all IMPLICIT_DEF live ranges look
like those created by PHIElimination, and that their live range never
leaves the basic block.

The PR14732 test case does tricks with PHI nodes that causes a longer
IMPLICIT_DEF live range to appear. This happens very rarely, but
RegisterCoalescer should be able to handle it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171435 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Move all of the header files which are involved in modelling the LLVM IR</title>
<updated>2013-01-02T11:36:10Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2013-01-02T11:36:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=0b8c9a80f20772c3793201ab5b251d3520b9cea3'/>
<id>urn:sha1:0b8c9a80f20772c3793201ab5b251d3520b9cea3</id>
<content type='text'>
into their new header subdirectory: include/llvm/IR. This matches the
directory structure of lib, and begins to correct a long standing point
of file layout clutter in LLVM.

There are still more header files to move here, but I wanted to handle
them in separate commits to make tracking what files make sense at each
layer easier.

The only really questionable files here are the target intrinsic
tablegen files. But that's a battle I'd rather not fight today.

I've updated both CMake and Makefile build systems (I think, and my
tests think, but I may have missed something).

I've also re-sorted the includes throughout the project. I'll be
committing updates to Clang, DragonEgg, and Polly momentarily.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171366 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Use the new script to sort the includes of every file under lib.</title>
<updated>2012-12-03T16:50:05Z</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2012-12-03T16:50:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=d04a8d4b33ff316ca4cf961e06c9e312eff8e64f'/>
<id>urn:sha1:d04a8d4b33ff316ca4cf961e06c9e312eff8e64f</id>
<content type='text'>
Sooooo many of these had incorrect or strange main module includes.
I have manually inspected all of these, and fixed the main module
include to be the nearest plausible thing I could find. If you own or
care about any of these source files, I encourage you to take some time
and check that these edits were sensible. I can't have broken anything
(I strictly added headers, and reordered them, never removed), but they
may not be the headers you'd really like to identify as containing the
API being implemented.

Many forward declarations and missing includes were added to a header
files to allow them to parse cleanly when included first. The main
module rule does in fact have its merits. =]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169131 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Avoid rewriting instructions twice.</title>
<updated>2012-11-29T00:26:11Z</updated>
<author>
<name>Jakob Stoklund Olesen</name>
<email>stoklund@2pi.dk</email>
</author>
<published>2012-11-29T00:26:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=89bea17af235ea3a69485e73e54e71053c1bd936'/>
<id>urn:sha1:89bea17af235ea3a69485e73e54e71053c1bd936</id>
<content type='text'>
This could cause miscompilations in targets where sub-register
composition is not always idempotent (ARM).

&lt;rdar://problem/12758887&gt;

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168837 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Make the LiveRegMatrix analysis available to targets.</title>
<updated>2012-11-28T19:13:06Z</updated>
<author>
<name>Jakob Stoklund Olesen</name>
<email>stoklund@2pi.dk</email>
</author>
<published>2012-11-28T19:13:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=1ead68d769f27f6d68d4aaeffe4199fa2cacbc95'/>
<id>urn:sha1:1ead68d769f27f6d68d4aaeffe4199fa2cacbc95</id>
<content type='text'>
No functional change, just moved header files.

Targets can inject custom passes between register allocation and
rewriting. This makes it possible to tweak the register allocation
before rewriting, using the full global interference checking available
from LiveRegMatrix.

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