[PATCH] D115128: [TableGen][CodeEmitter] Introducing the VarLenCodeEmitterGen infrastructure

Min-Yih Hsu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 13 18:45:41 PST 2021


myhsu updated this revision to Diff 394107.
myhsu marked an inline comment as done.
myhsu added a comment.

Use `APInt::zextOrSelf` to adjust the scratch buffer size in the generated code. Also, avoid generating said code if an instruction only has fixed values.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115128/new/

https://reviews.llvm.org/D115128

Files:
  llvm/include/llvm/Target/Target.td
  llvm/test/TableGen/VarLenEncoder.td
  llvm/utils/TableGen/CMakeLists.txt
  llvm/utils/TableGen/CodeEmitterGen.cpp
  llvm/utils/TableGen/VarLenCodeEmitterGen.cpp
  llvm/utils/TableGen/VarLenCodeEmitterGen.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115128.394107.patch
Type: text/x-patch
Size: 34194 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211214/9a64aebf/attachment-0001.bin>


More information about the llvm-commits mailing list