diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-05-15 21:19:45 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-05-15 21:19:45 +0000 |
commit | f74eb3fa2a0761054277664a9eecb61e93ee614a (patch) | |
tree | 9ad9b507590f0b6d2c47bf20ab95f87498d6d8f5 /lib/System/Unix/Unix.h | |
parent | fc87928ebb4d50850e9b2b36f0c24c4fb17877ba (diff) |
Provide this optimization as well:
ffs(x) -> (x == 0 ? 0 : 1+llvm.cttz(x))
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22068 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix/Unix.h')
0 files changed, 0 insertions, 0 deletions