[llvm-branch-commits] [llvm] [llvm] Extend CallSiteInfo with TypeId (PR #87574)

Paul Kirth via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Feb 5 16:15:30 PST 2025


ilovepi wrote:

I think we could probably do w/ a few more test cases.

1.  Some direct calls (e.g. foo->bar, bar->fizz, bar->buzz)
2. the indirect callee is ambiguous (you could do this with control flow, or via parameter w/o much difference).
3. the type of the callee matches another function, but the callee is known (simplest case would be two void functions).

There may be other cases we also want  to check, but these three seem like a good start. I imagine they could be useful as you flesh out more features too.

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


More information about the llvm-branch-commits mailing list