llvm.org GIT mirror llvm / 15388c4
Fix AVX vs SSE patterns ordering issue for VPCMPESTRM and VPCMPISTRM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149053 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 7 years ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
65826582 }
65836583
65846584 let Defs = [EFLAGS], usesCustomInserter = 1 in {
6585 let AddedComplexity = 1 in
6586 defm VPCMPISTRM128 : pseudo_pcmpistrm<"#VPCMPISTRM128">, Requires<[HasAVX]>;
65856587 defm PCMPISTRM128 : pseudo_pcmpistrm<"#PCMPISTRM128">, Requires<[HasSSE42]>;
6586 defm VPCMPISTRM128 : pseudo_pcmpistrm<"#VPCMPISTRM128">, Requires<[HasAVX]>;
65876588 }
65886589
65896590 let Defs = [XMM0, EFLAGS], neverHasSideEffects = 1, Predicates = [HasAVX] in {
66196620 }
66206621
66216622 let Defs = [EFLAGS], Uses = [EAX, EDX], usesCustomInserter = 1 in {
6623 let AddedComplexity = 1 in
6624 defm VPCMPESTRM128 : pseudo_pcmpestrm<"#VPCMPESTRM128">, Requires<[HasAVX]>;
66226625 defm PCMPESTRM128 : pseudo_pcmpestrm<"#PCMPESTRM128">, Requires<[HasSSE42]>;
6623 defm VPCMPESTRM128 : pseudo_pcmpestrm<"#VPCMPESTRM128">, Requires<[HasAVX]>;
66246626 }
66256627
66266628 let Predicates = [HasAVX],