[llvm] [IR] Verify oracle functions are only used by llvm.speculative.load. (PR #226669)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 26 08:45:45 PDT 2026


https://github.com/nikic commented:

I think this could fail if the oracle function is merged with another function, and thus additional uses are added.

I think we may want to require these functions to have a special attribute.

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


More information about the llvm-commits mailing list