diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-24 19:59:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-24 19:59:17 +0000 |
commit | e6cd96d4672242f620b8e97b28d0e120e1293856 (patch) | |
tree | f411a71cc95e78e11fbec8be5ce3bb635adda012 | |
parent | 43fbbc36dc64243a1a57b072d37bccf6dad4d3cb (diff) |
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27076 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/README.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt index c2635dade4..be390961d7 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -138,3 +138,15 @@ And teach the dag combiner enough to simplify the code expanded before legalize. It seems plausible that this knowledge would let it simplify other stuff too. +//===---------------------------------------------------------------------===// + +The loop unroller should be enhanced to be able to unroll loops that aren't +single basic blocks. It should be able to handle stuff like this: + + for (i = 0; i < c1; ++i) + if (c2 & (1 << i)) + foo + +where c1/c2 are constants. + + |