[llvm] r310788 - [X86][TBM] Regenerate bextri intrinsics tests. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 13 04:56:15 PDT 2017
Author: rksimon
Date: Sun Aug 13 04:56:15 2017
New Revision: 310788
URL: http://llvm.org/viewvc/llvm-project?rev=310788&view=rev
Log:
[X86][TBM] Regenerate bextri intrinsics tests. NFCI.
Modified:
llvm/trunk/test/CodeGen/X86/tbm-intrinsics-x86_64.ll
Modified: llvm/trunk/test/CodeGen/X86/tbm-intrinsics-x86_64.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/tbm-intrinsics-x86_64.ll?rev=310788&r1=310787&r2=310788&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/tbm-intrinsics-x86_64.ll (original)
+++ llvm/trunk/test/CodeGen/X86/tbm-intrinsics-x86_64.ll Sun Aug 13 04:56:15 2017
@@ -1,10 +1,12 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -mtriple=x86_64-unknown-unknown -mattr=+tbm < %s | FileCheck %s
define i32 @test_x86_tbm_bextri_u32(i32 %a) nounwind readnone {
+; CHECK-LABEL: test_x86_tbm_bextri_u32:
+; CHECK: # BB#0: # %entry
+; CHECK-NEXT: bextr $2814, %edi, %eax # imm = 0xAFE
+; CHECK-NEXT: retq
entry:
- ; CHECK-LABEL: test_x86_tbm_bextri_u32:
- ; CHECK-NOT: mov
- ; CHECK: bextr $
%0 = tail call i32 @llvm.x86.tbm.bextri.u32(i32 %a, i32 2814)
ret i32 %0
}
@@ -12,20 +14,22 @@ entry:
declare i32 @llvm.x86.tbm.bextri.u32(i32, i32) nounwind readnone
define i32 @test_x86_tbm_bextri_u32_m(i32* nocapture %a) nounwind readonly {
+; CHECK-LABEL: test_x86_tbm_bextri_u32_m:
+; CHECK: # BB#0: # %entry
+; CHECK-NEXT: bextr $2814, (%rdi), %eax # imm = 0xAFE
+; CHECK-NEXT: retq
entry:
- ; CHECK-LABEL: test_x86_tbm_bextri_u32_m:
- ; CHECK-NOT: mov
- ; CHECK: bextr $
%tmp1 = load i32, i32* %a, align 4
%0 = tail call i32 @llvm.x86.tbm.bextri.u32(i32 %tmp1, i32 2814)
ret i32 %0
}
define i64 @test_x86_tbm_bextri_u64(i64 %a) nounwind readnone {
+; CHECK-LABEL: test_x86_tbm_bextri_u64:
+; CHECK: # BB#0: # %entry
+; CHECK-NEXT: bextr $2814, %rdi, %rax # imm = 0xAFE
+; CHECK-NEXT: retq
entry:
- ; CHECK-LABEL: test_x86_tbm_bextri_u64:
- ; CHECK-NOT: mov
- ; CHECK: bextr $
%0 = tail call i64 @llvm.x86.tbm.bextri.u64(i64 %a, i64 2814)
ret i64 %0
}
@@ -33,10 +37,11 @@ entry:
declare i64 @llvm.x86.tbm.bextri.u64(i64, i64) nounwind readnone
define i64 @test_x86_tbm_bextri_u64_m(i64* nocapture %a) nounwind readonly {
+; CHECK-LABEL: test_x86_tbm_bextri_u64_m:
+; CHECK: # BB#0: # %entry
+; CHECK-NEXT: bextr $2814, (%rdi), %rax # imm = 0xAFE
+; CHECK-NEXT: retq
entry:
- ; CHECK-LABEL: test_x86_tbm_bextri_u64_m:
- ; CHECK-NOT: mov
- ; CHECK: bextr $
%tmp1 = load i64, i64* %a, align 8
%0 = tail call i64 @llvm.x86.tbm.bextri.u64(i64 %tmp1, i64 2814)
ret i64 %0
More information about the llvm-commits
mailing list