commit | d873a4b89b365f1e58e808109cd77034517f095d | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Sat Dec 24 11:11:38 2011 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Sat Dec 24 11:11:38 2011 +0000 |
tree | 451529a10fe7ee2c369b9f7cf83c6a64e76f24ab | |
parent | 131f7d35442416943309af1d13bf4462467181a1 [diff] |
Expand more when we have a nice 'tzcnt' instruction, to avoid generating 'bsf' instructions here. This one is actually debatable to my eyes. It's not clear that any chip implementing 'tzcnt' would have a slow 'bsf' for any reason, and unless EFLAGS or a zero input matters, 'tzcnt' is just a longer encoding. Still, this restores the old behavior with 'tzcnt' enabled for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147246 91177308-0d34-0410-b5e6-96231b3b80d8