[PATCH] D40727: Syndicate duplicate code between CallInst and InvokeInst

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 1 07:19:58 PST 2017


serge-sans-paille created this revision.

That's a follow-up to a discussion we had we @chandlerc on Callinst and InvokeInst. Still not in a final stage but published here to gather advices.

Possible follow-up if we add a virtual non-template base class to the CallableInst, then with the proper ``isa`` overload we may be able to remove the need of  ``CallSite`` and ``ImmutableCallSite``


Repository:
  rL LLVM

https://reviews.llvm.org/D40727

Files:
  include/llvm/IR/Instructions.h
  lib/IR/Instructions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40727.125138.patch
Type: text/x-patch
Size: 29311 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171201/f07de1b1/attachment.bin>


More information about the llvm-commits mailing list