[cfe-commits] r76844 - /cfe/trunk/lib/CodeGen/README.txt

Daniel Dunbar daniel at zuster.org
Wed Jul 22 20:04:07 PDT 2009


Author: ddunbar
Date: Wed Jul 22 22:03:07 2009
New Revision: 76844

URL: http://llvm.org/viewvc/llvm-project?rev=76844&view=rev
Log:
These IRgen improvements have been done.

Technically we could still do a bit more to avoid deferred generation of statics
which we know are used, but I seriously doubt this is important.

Modified:
    cfe/trunk/lib/CodeGen/README.txt

Modified: cfe/trunk/lib/CodeGen/README.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/README.txt?rev=76844&r1=76843&r2=76844&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/README.txt (original)
+++ cfe/trunk/lib/CodeGen/README.txt Wed Jul 22 22:03:07 2009
@@ -45,21 +45,3 @@
 direct branches!
 
 //===---------------------------------------------------------------------===//
-
-There are some more places where we could avoid generating unreachable code. For
-example:
-  void f0(int a) { abort(); if (a) printf("hi"); }
-still generates a call to printf. This doesn't occur much in real
-code, but would still be nice to clean up.
-
-//===---------------------------------------------------------------------===//
-
-Deferred generation of statics incurs some additional
-overhead. Currently it is even possible to construct test cases with
-O(N^2) behavior! For at least simple cases where we can tell a global
-is used, it is probably not worth deferring it. This doesn't solve the
-O(N^2) cases, ,though...
-
-PR3810
-
-//===---------------------------------------------------------------------===//





More information about the cfe-commits mailing list