[PATCH] D35579: [SimplifyCFG] Generate lookup tables based on a function attribute
Sumanth Gundapaneni via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 19 10:09:17 PDT 2017
sgundapa added a comment.
> It looks like TargetTransformInfo already has a hook, shouldBuildLookupTables(), for disabling this optimization. Why not just set that to false for Hexagon?
TCM is often small and you don't want to either enable or disable the table generation for a specific backend. As of today,
hexagon-emit-lookup-tables llvm flag control the generation of lookup tables for hexagon backend.
The real problem here is , I do not want the user to use a combination of front end and backend flags to get the desired result.
https://reviews.llvm.org/D35579
More information about the llvm-commits
mailing list