[llvm] [X86][CostModel] Estimate the codesize cost of switch (PR #163569)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 15 08:28:17 PDT 2025
https://github.com/nikic commented:
Would it make sense to include this in TargetTransformInfoImpl::getCFInstrCost() instead? The logic isn't really X86 specific.
It looks like a lot of targets just unnecessarily implement this method, with an implementation that is equivalent to the default one.
https://github.com/llvm/llvm-project/pull/163569
More information about the llvm-commits
mailing list