[llvm] [BPF] Support Jump Table (PR #149715)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jul 22 09:40:00 PDT 2025
    
    
  
yonghong-song wrote:
> > Some data flow analysis will be needed to achieve this. I have not explored this yet.
> 
> In my example above (provided by Eduard initially) there's two jump tables, but only one gotox
Yes. One gotox may corresponds to more than one jump tables just like other compilation optimization like tail merging, etc.
@aspsk Please try the new version. Hopefully it is much uniformed across switch statement gotox and computed goto gotox.
https://github.com/llvm/llvm-project/pull/149715
    
    
More information about the llvm-commits
mailing list