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

Sam Elliott via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 24 02:59:43 PST 2022


lenary added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:119
-  case AArch64::TLSDESC_CALLSEQ:
-    // This gets lowered to an instruction sequence which takes 16 bytes
-    NumBytes = 16;
----------------
I am slighly concerned about losing these comments - could you move them to the tablegen too (as the tablegen also doesn't tell us what they're eventually lowered to)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117970



More information about the llvm-commits mailing list