[PATCH] D143576: [LowerTypeTests] Support generating Armv6-M jump tables.

Simon Tatham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 07:49:01 PST 2023


simon_tatham added a comment.

I see what you mean, but in that case, how do we deal with the fact that there are multiple `TargetTransformInfo`s involved? If there was just one for the whole module then that would make sense, but there's one per function. In the current version of the patch I'm iterating over all of them asking about `b.w` support, and making a single decision about the jump table format based on the results of all those queries.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143576



More information about the llvm-commits mailing list