Dan Gohman
b7c2400fa7
[WebAssembly] Optimize away return instructions using fallthroughs.
...
This saves a small amount of code size, and is a first small step toward
passing values on the stack across block boundaries.
Differential Review: http://reviews.llvm.org/D20450
llvm-svn: 270294
2016-05-21 00:21:56 +00:00
Dan Gohman
0c6f5ac50a
[WebAssembly] Add -m:e to the target triple.
...
This enables ELF-style name mangling, which primarily means using ".L" for
private symbols.
llvm-svn: 257020
2016-01-07 03:19:23 +00:00
Dan Gohman
4172953813
[WebAssembly] Fix legalization of shift operators on large integer types.
...
llvm-svn: 255847
2015-12-16 23:25:51 +00:00
Dan Gohman
28818d7840
[WebAssembly] Tighten up several CHECK tests.
...
llvm-svn: 255255
2015-12-10 14:52:34 +00:00
Dan Gohman
60bddf17c5
[WebAssembly] Fix legalization of f32->f64 EXTLOAD.
...
llvm-svn: 255202
2015-12-10 02:07:53 +00:00
Dan Gohman
a5603b835b
[WebAssembly] Also legalize sign_extend_inreg of i32->i64.
...
llvm-svn: 255191
2015-12-10 01:00:19 +00:00
Dan Gohman
a8483755d3
[WebAssembly] Fix legalization of shift operators with illegal types.
...
llvm-svn: 255181
2015-12-10 00:26:26 +00:00