From 045f6bf0eff241682320e07326ccc12e5b5617d2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 24 Mar 2006 19:59:17 +0000 Subject: [PATCH] add a note llvm-svn: 27076 --- lib/Target/README.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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. + +