From: Chris Lattner Date: Wed, 31 Mar 2004 22:00:30 +0000 (+0000) Subject: Add warning X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0e28eca4bc956c72899b470607c0e8fc3c4a35a8;p=oota-llvm.git Add warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12573 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/LowerInvoke.cpp b/lib/Transforms/Utils/LowerInvoke.cpp index 24033f4876a..2349d7638d6 100644 --- a/lib/Transforms/Utils/LowerInvoke.cpp +++ b/lib/Transforms/Utils/LowerInvoke.cpp @@ -26,6 +26,12 @@ // used for a subset of the programs, it must be specifically enabled by an // option. // +// Note that after this pass runs the CFG is not entirely accurate (exceptional +// control flow edges are not correct anymore) so only very simple things should +// be done after the lowerinvoke pass has run (like generation of native code). +// This should not be used as a general purpose "my LLVM-to-LLVM pass doesn't +// support the invoke instruction yet" lowering pass. +// //===----------------------------------------------------------------------===// #include "llvm/Transforms/Scalar.h"