[all-commits] [llvm/llvm-project] f56b59: [MC][WebAssembly] Fix type checking for bulk memor...

Sam Clegg via All-commits all-commits at lists.llvm.org
Tue Apr 4 14:10:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f56b5921d3954cbd99175d0df44030e7782bc456
      https://github.com/llvm/llvm-project/commit/f56b5921d3954cbd99175d0df44030e7782bc456
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.cpp
    M llvm/test/MC/WebAssembly/bulk-memory-encodings.s

  Log Message:
  -----------
  [MC][WebAssembly] Fix type checking for bulk memory instructions

This code currently assumes that all bulk memory operations occur on
memory 0 which who's type is determined by the wasm32 vs wasm64 target
triple.  Further improvements would be need to support multi-memory.

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




More information about the All-commits mailing list