[PATCH] D55401: [WebAssembly] Fix assembler parsing of br_table.
Wouter van Oortmerssen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 17 12:30:43 PST 2018
aardappel marked 2 inline comments as done.
aardappel added inline comments.
================
Comment at: lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp:227
- assert(OpNo < Desc.getNumOperands() &&
- "Unexpected floating-point immediate as a non-fixed operand");
- assert(Desc.TSFlags == 0 &&
----------------
aheejin wrote:
> aardappel wrote:
> > aheejin wrote:
> > > Why was this deleted too?
> > Since we're basically not using variable_ops in the same way as before anymore (not annotated by TSFlags, not used in call in stack mode, and not used in br_table in the same way), keeping these checks didn't make much sense to me.
> Oh what I asked is about
> ```
> assert(OpNo < Desc.getNumOperands() &&
> "Unexpected floating-point immediate as a non-fixed operand");
> ```
> Is this related to `TSFlags` or `variable_ops` too?
Yes, that is what I was claiming. We're not using TSFlags at all anymore.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55401/new/
https://reviews.llvm.org/D55401
More information about the llvm-commits
mailing list