[PATCH] D11914: WebAssembly: print immediates

JF Bastien via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 11:29:01 PDT 2015


jfb created this revision.
jfb added a reviewer: sunfish.
jfb added a subscriber: llvm-commits.
Herald added a subscriber: jfb.

For now output using C99's hexadecimal floating-point representation.

This patch also cleans up how machine operands are printed: instead of special-casing per type of machine instruction, the code now handles operands generically.

http://reviews.llvm.org/D11914

Files:
  lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  lib/Target/WebAssembly/WebAssemblyInstrInfo.td
  test/CodeGen/WebAssembly/immediates.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11914.31704.patch
Type: text/x-patch
Size: 7652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150810/c434fa73/attachment.bin>


More information about the llvm-commits mailing list