Now that invoke of an intrinsic is possible (for the llvm.do.nothing intrinsic)
authorDuncan Sands <baldrick@free.fr>
Wed, 26 Sep 2012 17:16:01 +0000 (17:16 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 26 Sep 2012 17:16:01 +0000 (17:16 +0000)
commit44401b7c80f334b4bbe5537fd28ed9da471e2c27
treea551d75d22fd9d5fe2abb2802e66008e74295b8a
parent696e06e4535e4e5125020b6cb5a14935ea06e6a2
Now that invoke of an intrinsic is possible (for the llvm.do.nothing intrinsic)
teach the callgraph logic to not create callgraph edges to intrinsics for invoke
instructions; it already skips this for call instructions.  Fixes PR13903.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164707 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/IPA/CallGraph.cpp
test/Analysis/CallGraph/do-nothing-intrinsic.ll [new file with mode: 0644]