[PATCH] D129975: [CodeGen] Add MachineFunction::estimateSizeInBytes()

Piggy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 06:35:30 PDT 2022


piggynl planned changes to this revision.
piggynl added a comment.

ARM hard-coded `EK_Inline` as jump table encoding in rG8d3ba7349c2137f1a7f68c0ce5c1345496fc0b63 <https://reviews.llvm.org/rG8d3ba7349c2137f1a7f68c0ce5c1345496fc0b63>. As a result, `std::max(JTI->getEntrySize(DL), JTI->getEntryAlignment(DL))` always returns 1, which causes `test/CodeGen/Thumb/large-fn-switch.ll` to fail.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129975



More information about the llvm-commits mailing list