1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 22:42:46 +02:00
llvm-mirror/test/CodeGen/WebAssembly
JF Bastien 9205d59c82 WebAssembly: floating-point comparisons
Summary:
D11924 implemented part of the floating-point comparisons, this patch implements the rest:
 * Tell ISelLowering that all booleans are either 0 or 1.
 * Expand the eq/ne/lt/le/gt/ge floating-point comparisons to the canonical ones (similar to what Mips32r6InstrInfo.td does).
 * Add tests for ord/uno.
 * Add tests for ueq/one/ult/ule/ugt/uge.
 * Fix existing comparison tests to remove the (res & 1) code, which setBooleanContents stops from generating.

Reviewers: sunfish

Subscribers: llvm-commits, jfb

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

llvm-svn: 244779
2015-08-12 17:53:29 +00:00
..
comparisons_f32.ll WebAssembly: floating-point comparisons 2015-08-12 17:53:29 +00:00
comparisons_f64.ll WebAssembly: floating-point comparisons 2015-08-12 17:53:29 +00:00
comparisons_i32.ll WebAssembly: floating-point comparisons 2015-08-12 17:53:29 +00:00
comparisons_i64.ll WebAssembly: floating-point comparisons 2015-08-12 17:53:29 +00:00
cpus.ll WebAssembly: print basic integer assembly. 2015-07-31 17:53:38 +00:00
fp32.ll WebAssembly: add basic floating-point tests 2015-08-11 02:45:15 +00:00
fp64.ll WebAssembly: add basic floating-point tests 2015-08-11 02:45:15 +00:00
immediates.ll WebAssembly: simply assert on SNaN and NaNs with payloads 2015-08-11 00:49:20 +00:00
integer32.ll WebAssembly: textual emission uses expected opcode names 2015-08-07 01:57:03 +00:00
integer64.ll WebAssembly: textual emission uses expected opcode names 2015-08-07 01:57:03 +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