[llvm-commits] [llvm] r127976 - /llvm/trunk/lib/Transforms/IPO/GlobalOpt.cpp
Frits van Bommel
fvbommel at gmail.com
Sun Mar 20 13:40:27 PDT 2011
On Sun, Mar 20, 2011 at 9:21 PM, Anders Carlsson <andersca at mac.com> wrote:
> + // We're only interested in calls. Theoretically, we could handle invoke
> + // instructions as well, but neither llvm-gcc nor clang generate invokes
> + // to __cxa_atexit.
> + if (!CS.isCall())
> + continue;
There's not much use for CallSite anymore, is there?
Seems to me you could replace it with dyn_cast<CallInst>() now.
More information about the llvm-commits
mailing list