[PATCH] D99976: Allow invokable sub-classes of IntrinsicInst
    Nikita Popov via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Apr 20 11:19:14 PDT 2021
    
    
  
nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.
LGTM. The number of necessary casts seems to be pretty small, so I think this is a reasonable tradeoff.
================
Comment at: llvm/include/llvm/IR/InstVisitor.h:313
+  RetTy delegateCallBase(Instruction &I) {
+    llvm_unreachable("delegateCallBase called for non-CallInst");
   }
----------------
non-CallBase
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99976/new/
https://reviews.llvm.org/D99976
    
    
More information about the llvm-commits
mailing list