[all-commits] [llvm/llvm-project] 5afdd6: [WebAssembly] Update InstPrinter and AsmParser for...

Heejin Ahn via All-commits all-commits at lists.llvm.org
Sat Feb 6 08:55:24 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5afdd64a535cf0a7ff31950f76ccae194d9fbe3f
      https://github.com/llvm/llvm-project/commit/5afdd64a535cf0a7ff31950f76ccae194d9fbe3f
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2021-02-06 (Sat, 06 Feb 2021)

  Changed paths:
    M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.h
    M llvm/test/MC/WebAssembly/annotations.s
    M llvm/test/MC/WebAssembly/basic-assembly-errors.s

  Log Message:
  -----------
  [WebAssembly] Update InstPrinter and AsmParser for new EH instructions

This updates InstPrinter and AsmParser for `delegate` and `catch_all`
instructions. Both will reject programs with multiple `catch_all`s per a
single `try`. And InstPrinter uses `EHInstStack` to figure out whether
to print catch label comments: It does not print catch label comments
for second `catch` or `catch_all` in a `try`.

Reviewed By: aardappel

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




More information about the All-commits mailing list