add a nate note

llvm-svn: 30399
This commit is contained in:
Chris Lattner 2006-09-15 20:31:36 +00:00
parent 1bcb3d16cc
commit c9dc375d3e
1 changed files with 6 additions and 0 deletions

View File

@ -240,4 +240,10 @@ _bar: addic r3,r3,-1
subfe r3,r3,r3
blr
//===---------------------------------------------------------------------===//
Legalize should lower ctlz like this:
ctlz(x) = popcnt((x-1) & ~x)
on targets that have popcnt but not ctlz. itanium, what else?