summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitReader.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-05-19 20:38:59 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-05-19 20:38:59 +0000
commit8e4a223f7bb3ee0ae6a0888b8e670a6bd4983a0a (patch)
tree629d5a730a36b7a4fafafba32d37a8c012b8ff8b /lib/Bitcode/Reader/BitReader.cpp
parent86ad7b70cb994a9ebde84053026e560a37061ce9 (diff)
downloadllvm-8e4a223f7bb3ee0ae6a0888b8e670a6bd4983a0a.tar.gz
llvm-8e4a223f7bb3ee0ae6a0888b8e670a6bd4983a0a.tar.bz2
llvm-8e4a223f7bb3ee0ae6a0888b8e670a6bd4983a0a.tar.xz
[X86] Add ISel patterns to improve the selection of TZCNT and LZCNT.
Instructions TZCNT (requires BMI1) and LZCNT (requires LZCNT), always provide the operand size as output if the input operand is zero. We can take advantage of this knowledge during instruction selection stage in order to simplify a few corner case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209159 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions