[all-commits] [llvm/llvm-project] 601ed0: [WebAssembly][NFC] Convert StackBased instruction ...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Tue May 17 03:06:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 601ed0b605310cc13d7ca7235c261dc95c2ced44
      https://github.com/llvm/llvm-project/commit/601ed0b605310cc13d7ca7235c261dc95c2ced44
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2022-05-17 (Tue, 17 May 2022)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
    M llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp

  Log Message:
  -----------
  [WebAssembly][NFC] Convert StackBased instruction field to 'bit' from string

This is (IMHO) cleaner and (objectively) more strongly typed than using strings.

A follow-on patch will do the same for IsWasm64.

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




More information about the All-commits mailing list