<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emscripten-fastcomp/test/CodeGen, branch 1.13.0</title>
<subtitle>LLVM with the emscripten fastcomp javascript backend</subtitle>
<id>https://git.amat.us/emscripten-fastcomp/atom/test/CodeGen?h=1.13.0</id>
<link rel='self' href='https://git.amat.us/emscripten-fastcomp/atom/test/CodeGen?h=1.13.0'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/'/>
<updated>2014-02-28T19:22:37Z</updated>
<entry>
<title>Update tests for recent changes which result in more parens being used in some places.</title>
<updated>2014-02-28T19:22:37Z</updated>
<author>
<name>Dan Gohman</name>
<email>sunfish@mozilla.com</email>
</author>
<published>2014-02-27T02:16:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=3ef11173bf12b5fdc0a21bfd883b057718676e8f'/>
<id>urn:sha1:3ef11173bf12b5fdc0a21bfd883b057718676e8f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move ExpandI64 into lib/Target/JSBackend.</title>
<updated>2014-02-28T19:22:37Z</updated>
<author>
<name>Dan Gohman</name>
<email>sunfish@mozilla.com</email>
</author>
<published>2014-02-26T16:47:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=0dac79df771f7708a03e724126dded4f64531bc5'/>
<id>urn:sha1:0dac79df771f7708a03e724126dded4f64531bc5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement llvm.flt.rounds and disable the createRewriteLLVMIntrinsicsPass pass.</title>
<updated>2014-02-28T19:22:37Z</updated>
<author>
<name>Dan Gohman</name>
<email>sunfish@mozilla.com</email>
</author>
<published>2014-02-26T03:22:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=eaddc5d650f87a861ebdc6d3c49fb155ec791306'/>
<id>urn:sha1:eaddc5d650f87a861ebdc6d3c49fb155ec791306</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Create a test directory for basic JS Codegen</title>
<updated>2014-02-13T02:16:37Z</updated>
<author>
<name>Dan Gohman</name>
<email>sunfish@google.com</email>
</author>
<published>2014-02-13T01:50:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=59147c7295d0698b440f455e9080acc67aa80bff'/>
<id>urn:sha1:59147c7295d0698b440f455e9080acc67aa80bff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cherry-pick LLVM 187787 to prevent tail calls on x86-32 when not appropriate.</title>
<updated>2013-10-11T22:27:57Z</updated>
<author>
<name>Jan Voung</name>
<email>jvoung@chromium.org</email>
</author>
<published>2013-10-11T22:27:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=c036ceaa8225a23a795b50144b1da4b883e984a3'/>
<id>urn:sha1:c036ceaa8225a23a795b50144b1da4b883e984a3</id>
<content type='text'>
See:
http://llvm.org/viewvc/llvm-project?view=revision&amp;revision=187787

The newer version of newlib tickles this x86-32 bug
when building the exception handling tests, which don't
strip the "tail" attribute.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3702

Waiting on trybots, but it seems to have fixed the minimal
reproducer I have:
http://chromegw.corp.google.com/i/tryserver.nacl/builders/nacl-toolchain-linux-pnacl-x86_64/builds/922
http://chromegw.corp.google.com/i/tryserver.nacl/builders/nacl-toolchain-linux-pnacl-x86_32/builds/870
http://chromegw.corp.google.com/i/tryserver.nacl/builders/nacl-toolchain-mac-pnacl-x86_32/builds/875

R=jfb@chromium.org

Review URL: https://codereview.chromium.org/26538008
</content>
</entry>
<entry>
<title>Apply upstream: [mips] Fix a bug in MipsLongBranch::replaceBranch</title>
<updated>2013-10-11T01:35:47Z</updated>
<author>
<name>Petar Jovanovic</name>
<email>petar.jovanovic@rt-rk.com</email>
</author>
<published>2013-10-11T01:35:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=cf1867ae88e6bcac7061ae89694dbc44000e421e'/>
<id>urn:sha1:cf1867ae88e6bcac7061ae89694dbc44000e421e</id>
<content type='text'>
Cherry-pick r191978 from upstream.

Original commit message:

Author: Akira Hatanaka &lt;ahatanaka@mips.com&gt;
Date:   Fri Oct 4 20:51:40 2013 +0000

[mips] Fix a bug in MipsLongBranch::replaceBranch, which was erasing
instructions in delay slots along with the original branch instructions

This has to be cherrypicked, as it is a bug in backend. It was exposed in
a long function inside of llc, which caused llc.nexe to work incorrectly.

TBR= mseaborn@chromium.org, dschuff@chromium.org
BUG= bug in MIPS backend

Review URL: https://codereview.chromium.org/26933005
</content>
</entry>
<entry>
<title>Apply upstream: [mips] Implement llvm.trap intrinsic.</title>
<updated>2013-10-11T01:30:21Z</updated>
<author>
<name>Petar Jovanovic</name>
<email>petar.jovanovic@rt-rk.com</email>
</author>
<published>2013-10-11T01:30:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=24882e3c7fe112de7540242ad91e96328ec4bb63'/>
<id>urn:sha1:24882e3c7fe112de7540242ad91e96328ec4bb63</id>
<content type='text'>
Cherry-pick r187244 from upstream.

Original commit message:

Author: Akira Hatanaka &lt;ahatanaka@mips.com&gt;
Date:   Fri Jul 26 20:58:55 2013 +0000

[mips] Implement llvm.trap intrinsic.
Patch by Sasa Stankovic.

This has to be cherrypicked, as two tests fail due to missing llvm.trap
intrinsic. The tests are:
- run_sysbrk_test
- run_abi_types_test

TBR= mseaborn@chromium.org, dschuff@chromium.org
BUG= sysbrk and abi_types tests fail for MIPS

Review URL: https://codereview.chromium.org/26953003
</content>
</entry>
<entry>
<title>Apply upstream: Add missing ATOMIC_CMP_SWAP case.</title>
<updated>2013-10-11T01:20:45Z</updated>
<author>
<name>Petar Jovanovic</name>
<email>petar.jovanovic@rt-rk.com</email>
</author>
<published>2013-10-11T01:20:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=3ebbc156690e2510a21287c7ece988905a5c2e28'/>
<id>urn:sha1:3ebbc156690e2510a21287c7ece988905a5c2e28</id>
<content type='text'>
Cherry-pick r185186 from upstream.

Original commit message:

Author: Lang Hames &lt;lhames@gmail.com&gt;
Date:   Fri Jun 28 18:36:42 2013 +0000

Add missing case to switch statement - DAGTypeLegalizer::ExpandIntegerResult
should expand ATOMIC_CMP_SWAP nodes the same way that it does for ATOMIC_SWAP.

Since ATOMIC_LOADs on some targets (e.g. older ARM variants) get legalized to
ATOMIC_CMP_SWAPs, the missing case had been causing i64 atomic loads to crash
during isel.

This has to be cherry-picked, as we have experienced the same bug described
in the original message. Missing case caused MIPS 64 atomics to crash.

TBR= mseaborn@chromium.org, dschuff@chromium.org
BUG= crash for MIPS atomics

Review URL: https://codereview.chromium.org/26958002
</content>
</entry>
<entry>
<title>Apply upstream: [mips] Trap on integer division by zero.</title>
<updated>2013-10-11T00:58:15Z</updated>
<author>
<name>Petar Jovanovic</name>
<email>petar.jovanovic@rt-rk.com</email>
</author>
<published>2013-10-11T00:58:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=1b783c13dd573e2611f7fde92e3e66475bdb8918'/>
<id>urn:sha1:1b783c13dd573e2611f7fde92e3e66475bdb8918</id>
<content type='text'>
Cherry-pick r182306 from upstream.

Original commit message:

Author: Akira Hatanaka &lt;ahatanaka@mips.com&gt;
Date:   Mon May 20 18:07:43 2013 +0000

[mips] Trap on integer division by zero.

By default, a teq instruction is inserted after integer divide. No divide-by-zero
checks are performed if option "-mnocheck-zero-division" is used.

TBR= mseaborn@chromium.org, dschuff@chromium.org
BUG= missing trap for MIPS

Review URL: https://codereview.chromium.org/26846007
</content>
</entry>
<entry>
<title>Work around a gcc 4.6.3 / 4.7 bug.</title>
<updated>2013-09-16T19:26:09Z</updated>
<author>
<name>Jim Stichnoth</name>
<email>stichnot@chromium.org</email>
</author>
<published>2013-09-16T19:26:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=591359fae065fb5f86ba957a550503daef727536'/>
<id>urn:sha1:591359fae065fb5f86ba957a550503daef727536</id>
<content type='text'>
GCC bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58416
causes the bf64-1.c test to fail in the GCC torture test suite.
This provides an upstreamable workaround.

Inspection of the LLVM code base showed no other instances of
the pattern that triggers the gcc bug.

This can also be upstreamed as soon as I can get a working
x86-32 upstream build working to verify/test against.  In the
meantime, we can make one pnacl-fyi bot go green again.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3685
R=jfb@chromium.org, jfb@google.com

Review URL: https://codereview.chromium.org/23437037
</content>
</entry>
</feed>
