diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-31 22:00:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-31 22:00:30 +0000 |
commit | 0e28eca4bc956c72899b470607c0e8fc3c4a35a8 (patch) | |
tree | 88cd5f609a553ff70b370fec5750cd65302267b3 /lib/Transforms | |
parent | b4186e0ccd8dd8630078147e022142a8b65c9383 (diff) | |
download | external_llvm-0e28eca4bc956c72899b470607c0e8fc3c4a35a8.zip external_llvm-0e28eca4bc956c72899b470607c0e8fc3c4a35a8.tar.gz external_llvm-0e28eca4bc956c72899b470607c0e8fc3c4a35a8.tar.bz2 |
Add warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12573 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Utils/LowerInvoke.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Transforms/Utils/LowerInvoke.cpp b/lib/Transforms/Utils/LowerInvoke.cpp index 24033f4..2349d76 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" |