diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-23 03:03:07 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-23 03:03:07 +0000 |
commit | f1c8380d26cc392ad8f26e788af176a6e0bf8fd1 (patch) | |
tree | 7b8bd1322c2bcd00545c6dc6ecb3c524df89f5a4 /lib/CodeGen | |
parent | dbfb5f853547c4cc2b4b39e90f01537dd317457a (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/README.txt | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/CodeGen/README.txt b/lib/CodeGen/README.txt index f60cd03ad6..e6d61095bf 100644 --- a/lib/CodeGen/README.txt +++ b/lib/CodeGen/README.txt @@ -45,21 +45,3 @@ On 176.gcc:expr.ll, it looks like over 12% of basic blocks are just 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 - -//===---------------------------------------------------------------------===// |