mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-04 19:07:26 +00:00
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:
parent
42fe4957a9
commit
cbce2f6c1b
@ -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?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user