diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2014-12-08 17:47:18 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2014-12-08 17:47:18 +0000 |
commit | d80836ed0969b3b9490a76cd6331691374ec9042 (patch) | |
tree | 335c6396fa53454aadee0fa8dfc9cebf10a77278 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | b56e6cd9b9bdd0fab494da1d0aa474b8c31c2a73 (diff) | |
download | llvm-d80836ed0969b3b9490a76cd6331691374ec9042.zip llvm-d80836ed0969b3b9490a76cd6331691374ec9042.tar.gz llvm-d80836ed0969b3b9490a76cd6331691374ec9042.tar.bz2 |
[X86] Improved tablegen patters for matching TZCNT/LZCNT.
Teach ISel how to match a TZCNT/LZCNT from a conditional move if the
condition code is X86_COND_NE.
Existing tablegen patterns only allowed to match TZCNT/LZCNT from a
X86cond with condition code equal to X86_COND_E. To avoid introducing
extra rules, I added an 'ImmLeaf' definition that checks if the
condition code is COND_E or COND_NE.
llvm-svn: 223668
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions