diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-12-24 11:11:38 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-12-24 11:11:38 +0000 |
commit | c9fcde23476ab293cb8d319782176d0a77a72fff (patch) | |
tree | e7bb61b3008b74be8e768d20b264966fa728787b /llvm/lib/Object/ObjectFile.cpp | |
parent | eeb3a1ce3ed2409d4d1ab0dc1f612512a94dd84e (diff) | |
download | llvm-c9fcde23476ab293cb8d319782176d0a77a72fff.zip llvm-c9fcde23476ab293cb8d319782176d0a77a72fff.tar.gz llvm-c9fcde23476ab293cb8d319782176d0a77a72fff.tar.bz2 |
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.
llvm-svn: 147246
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions