diff options
author | Craig Topper <craig.topper@intel.com> | 2018-12-17 21:50:06 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-12-17 21:50:06 +0000 |
commit | 8c9d7729916c143fac07ea69acfff3cb13458278 (patch) | |
tree | 6e359b4cf2629c0c92f4e369ec819e11b125f37e /llvm/test | |
parent | 94ee0728e5e8665821ecfc20c2441e4bfc4e0bf2 (diff) | |
download | bcm5719-llvm-8c9d7729916c143fac07ea69acfff3cb13458278.tar.gz bcm5719-llvm-8c9d7729916c143fac07ea69acfff3cb13458278.zip |
[X86] Add T1MSKC and TZMSK to isDefConvertible used by optimizeCompareInstr.
These seem to have been missed when the other TBM instructions were added.
llvm-svn: 349404
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/CodeGen/X86/tbm_patterns.ll | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/X86/tbm_patterns.ll b/llvm/test/CodeGen/X86/tbm_patterns.ll index 2b335ea4268..7ebc5dd0d12 100644 --- a/llvm/test/CodeGen/X86/tbm_patterns.ll +++ b/llvm/test/CodeGen/X86/tbm_patterns.ll @@ -723,7 +723,6 @@ define i32 @test_x86_tbm_t1mskc_u32_z(i32 %a, i32 %b) nounwind { ; CHECK-LABEL: test_x86_tbm_t1mskc_u32_z: ; CHECK: # %bb.0: ; CHECK-NEXT: t1mskcl %edi, %eax -; CHECK-NEXT: testl %eax, %eax ; CHECK-NEXT: cmovel %esi, %eax ; CHECK-NEXT: retq %t0 = xor i32 %a, -1 @@ -767,7 +766,6 @@ define i64 @test_x86_tbm_t1mskc_u64_z(i64 %a, i64 %b) nounwind { ; CHECK-LABEL: test_x86_tbm_t1mskc_u64_z: ; CHECK: # %bb.0: ; CHECK-NEXT: t1mskcq %rdi, %rax -; CHECK-NEXT: testq %rax, %rax ; CHECK-NEXT: cmoveq %rsi, %rax ; CHECK-NEXT: retq %t0 = xor i64 %a, -1 @@ -811,7 +809,6 @@ define i32 @test_x86_tbm_tzmsk_u32_z(i32 %a, i32 %b) nounwind { ; CHECK-LABEL: test_x86_tbm_tzmsk_u32_z: ; CHECK: # %bb.0: ; CHECK-NEXT: tzmskl %edi, %eax -; CHECK-NEXT: testl %eax, %eax ; CHECK-NEXT: cmovel %esi, %eax ; CHECK-NEXT: retq %t0 = xor i32 %a, -1 @@ -855,7 +852,6 @@ define i64 @test_x86_tbm_tzmsk_u64_z(i64 %a, i64 %b) nounwind { ; CHECK-LABEL: test_x86_tbm_tzmsk_u64_z: ; CHECK: # %bb.0: ; CHECK-NEXT: tzmskq %rdi, %rax -; CHECK-NEXT: testq %rax, %rax ; CHECK-NEXT: cmoveq %rsi, %rax ; CHECK-NEXT: retq %t0 = xor i64 %a, -1 |