[llvm] [TTI] Simplify implementation (NFCI) (PR #136674)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 22 08:03:15 PDT 2025


https://github.com/nikic commented:

Looks like this has already managed to bitrot :)

Generally this makes sense to me. Do you have any idea why this design was used in the first place? There's a few places where LLVM does this concept+model dance where plain virtual dispatch would be a lot simpler and cleaner, and I always feel like I must be missing something...

https://github.com/llvm/llvm-project/pull/136674


More information about the llvm-commits mailing list