<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emscripten-fastcomp/include/llvm/Bitcode/NaCl, branch master</title>
<subtitle>LLVM with the emscripten fastcomp javascript backend</subtitle>
<id>https://git.amat.us/emscripten-fastcomp/atom/include/llvm/Bitcode/NaCl?h=master</id>
<link rel='self' href='https://git.amat.us/emscripten-fastcomp/atom/include/llvm/Bitcode/NaCl?h=master'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/'/>
<updated>2013-11-21T18:34:00Z</updated>
<entry>
<title>Clean up handling of PNaCl bitcode headers.</title>
<updated>2013-11-21T18:34:00Z</updated>
<author>
<name>Karl Schimpf</name>
<email>kschimpf@google.com</email>
</author>
<published>2013-11-21T18:34:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=7026af7138fccfb256456b04b375d39b025bdb7c'/>
<id>urn:sha1:7026af7138fccfb256456b04b375d39b025bdb7c</id>
<content type='text'>
Write out all of PNaCl bitcode headers using a single interface
function.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3720
R=jvoung@chromium.org

Review URL: https://codereview.chromium.org/61753017
</content>
</entry>
<entry>
<title>Define comparison for PNaCl bitcode abbreviations.</title>
<updated>2013-11-21T17:40:15Z</updated>
<author>
<name>Karl Schimpf</name>
<email>kschimpf@google.com</email>
</author>
<published>2013-11-15T21:47:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=757414ba931360b0c65851c2583e511d67948d91'/>
<id>urn:sha1:757414ba931360b0c65851c2583e511d67948d91</id>
<content type='text'>
Define comparison of bitcode abbreviations so that we can add bitcode
abbreviations to collections.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3720
</content>
</entry>
<entry>
<title>Factor out bitcode parser from pnacl-bcanalyzer.</title>
<updated>2013-11-07T16:54:33Z</updated>
<author>
<name>Karl Schimpf</name>
<email>kschimpf@google.com</email>
</author>
<published>2013-11-07T16:54:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=2796c5b8a31ea88cc24bf3449a95319928c93519'/>
<id>urn:sha1:2796c5b8a31ea88cc24bf3449a95319928c93519</id>
<content type='text'>
Factors out bitcode parser from pnacl-bcanalyzer, so that it can also
be used for PNaCl bitcode to bitcode rewriters.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3720
R=jvoung@chromium.org

Review URL: https://codereview.chromium.org/48623003
</content>
</entry>
<entry>
<title>PNaCl bitcode: Reject CAST_PTRTOINT and CAST_INTTOPTR</title>
<updated>2013-10-03T15:08:25Z</updated>
<author>
<name>Mark Seaborn</name>
<email>mseaborn@chromium.org</email>
</author>
<published>2013-10-03T15:08:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=8ed96f4d0ca9b8114875997f1f0196fc89a41a04'/>
<id>urn:sha1:8ed96f4d0ca9b8114875997f1f0196fc89a41a04</id>
<content type='text'>
Make the reader and writer stricter so that we can be sure we're not
accidentally generating ptrtoint or inttoptr instructions in pexe
files.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3590
TEST=toolchain trybots

Review URL: https://codereview.chromium.org/25607006
</content>
</entry>
<entry>
<title>Remove code referring to PNaCl version 1, since it is no longer used.</title>
<updated>2013-09-18T21:24:56Z</updated>
<author>
<name>Karl Schimpf</name>
<email>kschimpf@google.com</email>
</author>
<published>2013-09-18T21:24:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=197cadba6026114ce62ed57dafe2125e70500a6b'/>
<id>urn:sha1:197cadba6026114ce62ed57dafe2125e70500a6b</id>
<content type='text'>
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3590
R=mseaborn@chromium.org

Review URL: https://codereview.chromium.org/24232002
</content>
</entry>
<entry>
<title>Report fatal translator errors to the browser</title>
<updated>2013-09-13T21:29:09Z</updated>
<author>
<name>Derek Schuff</name>
<email>dschuff@chromium.org</email>
</author>
<published>2013-09-13T21:29:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=f8cb03fe2634ee927b3b6aa6ecbdd824cd0bc940'/>
<id>urn:sha1:f8cb03fe2634ee927b3b6aa6ecbdd824cd0bc940</id>
<content type='text'>
Install a fatal error handler for the translator, which stores the error
string, signals an error to the RPC thread, and terminates the thread
(instead of terminating the whole program). This will cause the error to
go to the Javascript console in Chrome

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3519
R=jvoung@chromium.org

Review URL: https://codereview.chromium.org/23753003
</content>
</entry>
<entry>
<title>Clean up vestigial code for constants in PNaCl bitcode files.</title>
<updated>2013-09-06T20:27:38Z</updated>
<author>
<name>Karl Schimpf</name>
<email>kschimpf@google.com</email>
</author>
<published>2013-09-06T20:27:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=9b86d1e242fec1dce22eda36b8f2eb3d6f1cc380'/>
<id>urn:sha1:9b86d1e242fec1dce22eda36b8f2eb3d6f1cc380</id>
<content type='text'>
* Removes code that is no longer used because global variables are handled
separately.

* Removes CST_CODE_NULL.
* Adds special abbreviations for constant integer 0, replacing
  most of what was lost when CST_CODE_NULL is removed.
* Adds abbreviation for floating point constants.
* Removes CST_CODE_AGGREGATE and CST_CODE_DATA, except for reading
  old PNaCl version 1 bitcode files.
* Removes call to ParseConstants() in ParseModule() since the module
  block no longer contains a constants block (globals are handled
  separately).
* Removes getConstantFwdRef() method, since it is no longer needed.
* Remove ConstantPlaceHolder class, since it is no longer needed.
* Remove ResolvedConstants and ResolveConstantForwardRefs()
from the bitcode reader, since it is no longer needed.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3668
R=mseaborn@chromium.org

Review URL: https://codereview.chromium.org/23522024
</content>
</entry>
<entry>
<title>PNaCl bitcode: Indirect calls: Store return type instead of function type</title>
<updated>2013-09-05T16:41:53Z</updated>
<author>
<name>Mark Seaborn</name>
<email>mseaborn@chromium.org</email>
</author>
<published>2013-09-05T16:41:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=cd4a14419f49fb236d65e5b69d871d6fc61fcb99'/>
<id>urn:sha1:cd4a14419f49fb236d65e5b69d871d6fc61fcb99</id>
<content type='text'>
For indirect call instructions (INST_CALL_INDIRECT), it's not
necessary to store the full function type.  The argument types are
already known from the arguments in the instruction.  We only need to
store the return type to be able to reconstruct the full function
type.

Storing only the return type ID will make the bitcode a little more
compact.  Return type IDs will be frequently-used scalar types, which
can be given smaller type IDs than function types, which are less
frequently used.

This potentially makes the writer simpler: In principle, the writer no
longer needs to make a pass across all functions' bodies to determine
which function types are used in order to build the type table.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3544
TEST=*.ll tests

Review URL: https://codereview.chromium.org/23521005
</content>
</entry>
<entry>
<title>PNaCl bitcode: Don't output the LABEL type in the type table</title>
<updated>2013-09-05T15:46:41Z</updated>
<author>
<name>Mark Seaborn</name>
<email>mseaborn@chromium.org</email>
</author>
<published>2013-09-05T15:46:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=1180f259c88b1eb1000d0aaf5753b3da9f8e4e51'/>
<id>urn:sha1:1180f259c88b1eb1000d0aaf5753b3da9f8e4e51</id>
<content type='text'>
The type ID for the "label" type is never referenced.

The "label" type was only being added to the type table because
EnumerateType() treats BasicBlock and Value operands the same.
However, the rest of the reader and writer treat BasicBlock operands
specially and not like other Values.

Change some tests to use wildcards for some type IDs.  This is so that
I don't have to update all the type ID numbers now that the generated
type tables have changed.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3590
TEST=run small_tests with v2 bitcode format enabled

Review URL: https://codereview.chromium.org/23530031
</content>
</entry>
<entry>
<title>Remove ARRAY/VECTOR types from PNaCl bitcode files.</title>
<updated>2013-09-04T20:34:52Z</updated>
<author>
<name>Karl Schimpf</name>
<email>kschimpf@google.com</email>
</author>
<published>2013-09-04T20:34:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=d8f9bfbc093e7e0c1fab719bc014ba7c6f94ad6d'/>
<id>urn:sha1:d8f9bfbc093e7e0c1fab719bc014ba7c6f94ad6d</id>
<content type='text'>
The value selector list for switch statements are represented using
ARRAY/VECTOR constants, but this information is not put into the bitcode file.
This CL changes the value enumerator to not emit these constants.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3649
R=mseaborn@chromium.org

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