Since now we are able to handle both fixed length & variable
length instructions.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
No objections from me @myhsu ? Just a few minors to address.
There's some clang formatting that needs to be done since you've changed the length :-) of the class name
llvm/utils/TableGen/DecoderEmitter.cpp | ||
---|---|---|
2699 | clang format | |
llvm/utils/TableGen/DisassemblerEmitter.cpp | ||
103 ↗ | (On Diff #421717) | clang format |
130 ↗ | (On Diff #421717) | Raise a bug to track this? |
147 ↗ | (On Diff #421717) | clang format |
153 ↗ | (On Diff #421717) | clang format |
Thanks !
I've noticed the clang-format problem. The weird thing is, It happened after I rename this file, before I change anything in it. That makes me confusing. It should have not happened because I only change the file name.
So I want to take some time looking into it.
llvm/utils/TableGen/DisassemblerEmitter.cpp | ||
---|---|---|
130 ↗ | (On Diff #421717) | I change this TODO just for reflecting the status of this decoder emitter to avoid confusing someone. Resolving this means we need to deploy our varlen encoding infra onto webassembly backend. I don't know whether this is a good idea since this is a non-trivial work I guess. |
I know what is going on.
clang-format only modifies the diff part. Since now I rename the file,
the whole file will be checked and modified by clang-format.
llvm/utils/TableGen/DecoderEmitter.cpp | ||
---|---|---|
485 | Please don't reformat lines that aren't affected by your change. Use clang-format-diff.py |
LGTM, please resolve the formatting issues though
llvm/utils/TableGen/DisassemblerEmitter.cpp | ||
---|---|---|
130 ↗ | (On Diff #421717) | I prefer creating a bug for this (and ping the wasm backend maintainer) but leave the comment unchanged |
clang-format suggested style edits found: