[PATCH] D65402: [Attributor][MustExec] Deduce dereferenceable and nonnull attribute using MustBeExecutedContextExplorer
    Hideto Ueno via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Aug  1 10:44:31 PDT 2019
    
    
  
uenoku added a comment.
> Alternatively, we could do the following in the explorer (which I now find much nicer):
> 
> Given a predicate and an program point PP (=instruction), check if that predicate holds for sure if PP is executed. The nice part would be we move the logic there and we could handle "paths" later.
> E.g.,  pred(A) and pred(B) are true, the method could say true for something like PP; if (...) A; else B;
Regarding this, it seems very interesting and I uploaded a prototype for deduction using paths(D65593 <https://reviews.llvm.org/D65593>).
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65402/new/
https://reviews.llvm.org/D65402
    
    
More information about the llvm-commits
mailing list