[PATCH] D111660: [FuncSpec] Make sure function is actually the callee before trying to specialize.
    Sjoerd Meijer via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Oct 13 06:26:58 PDT 2021
    
    
  
SjoerdMeijer requested changes to this revision.
SjoerdMeijer added a comment.
This revision now requires changes to proceed.
Oh wait, sorry, regressions test fail, they trigger this assert. We should assert that CS.getCalledFunction() == F? Also, in asserts it is custom to add a message/diagnostic, so that will be:
  assert(CS.getCalledFunction() == F && "function and callee should be same");
or something along those lines.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111660/new/
https://reviews.llvm.org/D111660
    
    
More information about the llvm-commits
mailing list