[PATCH] D117970: [AArch64] Make getInstSizeInBytes() use instruction size from InstrInfo.td

Son Tuan Vu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 25 02:19:27 PST 2022


tyb0807 updated this revision to Diff 402808.
tyb0807 added a comment.

Move the tablegen querying to the default case to make the code consistent with
ARM version. Update the comment accordingly to clarify the intention of the code


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117970

Files:
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/unittests/Target/AArch64/InstSizes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117970.402808.patch
Type: text/x-patch
Size: 7274 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220125/f07380ba/attachment.bin>


More information about the llvm-commits mailing list