[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LowerInvoke.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Mar 31 16:01:01 PST 2004


Changes in directory llvm/lib/Transforms/Scalar:

LowerInvoke.cpp updated: 1.13 -> 1.14

---
Log message:

Add warning


---
Diffs of the changes:  (+6 -0)

Index: llvm/lib/Transforms/Scalar/LowerInvoke.cpp
diff -u llvm/lib/Transforms/Scalar/LowerInvoke.cpp:1.13 llvm/lib/Transforms/Scalar/LowerInvoke.cpp:1.14
--- llvm/lib/Transforms/Scalar/LowerInvoke.cpp:1.13	Sun Feb 29 19:12:13 2004
+++ llvm/lib/Transforms/Scalar/LowerInvoke.cpp	Wed Mar 31 16:00:30 2004
@@ -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"





More information about the llvm-commits mailing list