[PATCH] D11924: WebAssembly: implement comparison.

JF Bastien via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 11:44:53 PDT 2015


jfb updated this revision to Diff 31843.
jfb added a comment.

- Use the same 3-operand setcc+cond for FP comparisons as for int. It shouldn't change anything because of TargetSelectionDAG.td:910, but this is confusing...


http://reviews.llvm.org/D11924

Files:
  lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  lib/Target/WebAssembly/WebAssemblyInstrFloat.td
  lib/Target/WebAssembly/WebAssemblyInstrFormats.td
  lib/Target/WebAssembly/WebAssemblyInstrInteger.td
  test/CodeGen/WebAssembly/comparisons_f32.ll
  test/CodeGen/WebAssembly/comparisons_i32.ll
  test/CodeGen/WebAssembly/comparisons_i64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11924.31843.patch
Type: text/x-patch
Size: 11495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150811/7175b3a8/attachment.bin>


More information about the llvm-commits mailing list