|
@@ -45,21 +45,3 @@ On 176.gcc:expr.ll, it looks like over 12% of basic blocks are just
|
|
direct branches!
|
|
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
|
|
|
|
-
|
|
|
|
-//===---------------------------------------------------------------------===//
|
|
|