add a note

llvm-svn: 30515
This commit is contained in:
Chris Lattner 2006-09-20 06:32:10 +00:00
parent 8746e2cd57
commit 27d8985a71
1 changed files with 16 additions and 0 deletions

View File

@ -734,3 +734,19 @@ This currently compiles to:
addl $12, %esp
The add\sub pair is really unneeded here.
//===---------------------------------------------------------------------===//
We generate really bad code in some cases due to lowering SETCC/SELECT at
legalize time, which prevents the post-legalize dag combine pass from
understanding the code. As a silly example, this prevents us from folding
stuff like this:
bool %test(ulong %x) {
%tmp = setlt ulong %x, 4294967296
ret bool %tmp
}
into x.h == 0