[llvm] [llubi] Add support for llvm.speculative.load. (PR #226839)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 29 00:57:16 PDT 2026
fhahn wrote:
> > Support for the oracle form will be added as follow-up.
>
> It is a bit tricky, as llubi is designed not to handle calls recursively. You may need some hacks in enterCall and runMainLoop to maintain the call stack.
Thanks I put up https://github.com/llvm/llvm-project/pull/227095, which tries to solves this as follows: `enterCall` adjust the callee to execute the oracle function, `returnFromCallee` executes the speculative load
https://github.com/llvm/llvm-project/pull/226839
More information about the llvm-commits
mailing list