summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTReaderDecl.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
commit7a85cadfd63d449cbc0ffb6f81db3c7a91154c2b (patch)
tree97a45c3a714fe9ff07865d08285b8120754389a7 /clang/lib/Serialization/ASTReaderDecl.cpp
parent403258f5a34607f93b69bc44ae52fb7634ae1913 (diff)
downloadbcm5719-llvm-7a85cadfd63d449cbc0ffb6f81db3c7a91154c2b.tar.gz
bcm5719-llvm-7a85cadfd63d449cbc0ffb6f81db3c7a91154c2b.zip
[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. llvm-svn: 209159
Diffstat (limited to 'clang/lib/Serialization/ASTReaderDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud