add a nate note

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30399 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-09-15 20:31:36 +00:00
parent 42fe4957a9
commit cbce2f6c1b

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?