[PATCH] D122127: [WebAssembly] Use location of operand for operand-based type check errors

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 21 05:00:53 PDT 2022


asb created this revision.
asb added reviewers: pmatos, tlively, aheejin.
Herald added subscribers: ecnelises, sameer.abuasal, sunfish, hiraditya, jgravelle-google, sbc100, dschuff.
Herald added a project: All.
asb requested review of this revision.
Herald added a project: LLVM.

This addresses a series of FIXMEs introduced in D122020 <https://reviews.llvm.org/D122020>.

A follow-up patch addresses the bug that is exposed by this change (an issue with source location information when lexing identifiers).


https://reviews.llvm.org/D122127

Files:
  llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.cpp
  llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.h
  llvm/test/MC/WebAssembly/type-checker-errors.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122127.416898.patch
Type: text/x-patch
Size: 12532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220321/7fb7ca00/attachment.bin>


More information about the llvm-commits mailing list