1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/CodeGen/WebAssembly
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
..
cpus.ll WebAssembly: print basic integer assembly. 2015-07-31 17:53:38 +00:00
integer32.ll WebAssembly: handle more than int32 argument/return 2015-08-01 04:48:44 +00:00
integer64.ll WebAssembly: implement getScalarShiftAmountTy so we can shift by amount, with type 2015-08-03 00:00:11 +00:00
lit.local.cfg
return-void.ll WebAssembly: handle more than int32 argument/return 2015-08-01 04:48:44 +00:00
unused-argument.ll WebAssembly: handle more than int32 argument/return 2015-08-01 04:48:44 +00:00