X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FREADME.txt;h=be390961d7cb5346291e5749145fd548e4b5d107;hb=6d92caddc4aa5fc946b294259e00cc35536e61e8;hp=c2635dade4181062bd96f3476b220837dbc71afd;hpb=c04b423f14e8ada1c4c09fa03beed09eced02f43;p=oota-llvm.git diff --git a/lib/Target/README.txt b/lib/Target/README.txt index c2635dade41..be390961d7c 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. + +