Add warning
authorChris Lattner <sabre@nondot.org>
Wed, 31 Mar 2004 22:00:30 +0000 (22:00 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 31 Mar 2004 22:00:30 +0000 (22:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12573 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/LowerInvoke.cpp

index 24033f4876aee67eafb19a5e98f0ab825b2b197a..2349d7638d63243d6b0710e8c66888b0b92d4abb 100644 (file)
 // 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"