[all-commits] [llvm/llvm-project] b3e88c: [WebAssembly] Serialize params/results in MachineF...

Heejin Ahn via All-commits all-commits at lists.llvm.org
Thu Apr 22 15:31:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3e88ccba7fafc65dc4d0e82265cc4e004daa757
      https://github.com/llvm/llvm-project/commit/b3e88ccba7fafc65dc4d0e82265cc4e004daa757
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M llvm/lib/Target/WebAssembly/Utils/WebAssemblyTypeUtilities.cpp
    M llvm/lib/Target/WebAssembly/Utils/WebAssemblyTypeUtilities.h
    M llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
    M llvm/test/CodeGen/WebAssembly/function-info.mir

  Log Message:
  -----------
  [WebAssembly] Serialize params/results in MachineFunctionInfo

This adds support for YAML serialization of `Params` and `Results`
fields in `WebAssemblyMachineFunctionInfo`. Types are printed as `MVT`'s
string representation. This is for writing MIR tests easier.

The tests added are testing simple parsing and printing of `params` /
`results` fields under `machineFunctionInfo`.

Reviewed By: tlively

Differential Revision: https://reviews.llvm.org/D101029




More information about the All-commits mailing list