The patch adds an X86 combine for TESTM when one of the operands is a BUILD_VECTOR(0,0,...)
Details
Details
Diff Detail
Diff Detail
Event Timeline
| lib/Target/X86/X86ISelLowering.cpp | ||
|---|---|---|
| 35502 | It's already supported, I somehow missed that. | |
| Paths 
 |  Differential  D36536  
[X86][AVX512] Add combine for TESTM ClosedPublic Authored by guyblank on Aug 9 2017, 10:54 AM. 
Details Summary The patch adds an X86 combine for TESTM when one of the operands is a BUILD_VECTOR(0,0,...) 
Diff Detail Event Timeline
 This revision is now accepted and ready to land.Aug 11 2017, 5:30 AM Closed by commit rL310787: [X86][AVX512] Add combine for TESTM (authored by guyblank).  ·  Explain WhyAug 13 2017, 1:04 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 110520 lib/Target/X86/X86ISelLowering.cpp
 
 test/CodeGen/X86/avx512vl-vec-masked-cmp.ll
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||