[PATCH] D72787: [BPF] Adjust optimizations to generate kernel verifier friendly codes
    Yonghong Song via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Jan 17 20:39:36 PST 2020
    
    
  
yonghong-song added a comment.
@tstellar Thanks for your comments. The MachineInstr SSA based optimization is really a ugly hack. Currently verifier is not able to verify the program correctly, i.e., rejects the program for certain patterns related subregister uses. The commit message provides more information. @ast suggested to look at whether we can improve kernel verifier and I will take a look there. If kernel can be enhanced, I will drop the second MachineInstr SSA pass.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72787/new/
https://reviews.llvm.org/D72787
    
    
More information about the llvm-commits
mailing list