1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/lib
JF Bastien 1f39c2f623 WebAssembly: implement getScalarShiftAmountTy so we can shift by amount, with type
Summary: This currently sets the shift amount RHS to the same type as the LHS, and assumes that the LHS is a simple type. This isn't currently the case e.g. with weird integers sizes, but will eventually be true and will assert if not. That's what you get for having an experimental backend: break it and you get to keep both pieces. Most backends either set the RHS to MVT::i32 or MVT::i64, but WebAssembly is a virtual ISA and tries to have regular-looking binary operations where both operands are the same type (even if a 64-bit RHS shifter is slightly silly, hey it's free!).

Subscribers: llvm-commits, sunfish, jfb

Differential Revision: http://reviews.llvm.org/D11715

llvm-svn: 243860
2015-08-03 00:00:11 +00:00
..
Analysis De-constify pointers to Type since they can't be modified. NFC 2015-08-01 22:20:21 +00:00
AsmParser De-constify pointers to Type since they can't be modified. NFC 2015-08-01 22:20:21 +00:00
Bitcode DI: Remove DW_TAG_arg_variable and DW_TAG_auto_variable 2015-07-31 18:58:39 +00:00
CodeGen AsmPrinter: Split out non-DIE printing from DIE::print(), NFC 2015-08-02 20:46:49 +00:00
DebugInfo [dwarfdump] Ignore scattered relocations for mach-o. 2015-07-31 20:22:50 +00:00
ExecutionEngine De-constify pointers to Type since they can't be modified. NFC 2015-08-01 22:20:21 +00:00
Fuzzer [libFuzzer] more refactoring of the Mutator and adding tests to it 2015-08-01 02:23:06 +00:00
IR Add support to set/get ordering for load/store from the C API 2015-08-02 12:16:57 +00:00
IRReader
LibDriver Add support for producing thin archives in llvm-lib. 2015-07-17 16:01:11 +00:00
LineEditor
Linker Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
LTO Remove access to the DataLayout in the TargetMachine 2015-07-24 16:04:22 +00:00
MC Use range-based for loops. NFC 2015-08-02 22:34:02 +00:00
Object [COFF] Consider the ImageBase when reporting section addresses 2015-07-31 17:40:24 +00:00
Option Add an ArgList::AddAllArgs that accepts a vector of OptSpecifier. 2015-07-29 17:34:41 +00:00
Passes
ProfileData Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Support Add amdopencl environment to triple 2015-07-30 08:16:51 +00:00
TableGen TableGen: Support folding casts from bits to int 2015-07-31 01:12:06 +00:00
Target WebAssembly: implement getScalarShiftAmountTy so we can shift by amount, with type 2015-08-03 00:00:11 +00:00
Transforms De-constify pointers to Type since they can't be modified. NFC 2015-08-01 22:20:21 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile