mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-02 10:49:22 +00:00
[NFC] Chec[^k] -> Check
Some test updates all appearing to use the wrong spelling of CHECK.
This commit is contained in:
parent
deec343bfd
commit
c100d7ba36
@ -298,7 +298,7 @@ define i32 @load_doubleword_trunc_word_reuse_shift(i64* %ptr, i64 %off) {
|
||||
; CHECK-LABEL: load_doubleword_trunc_word_reuse_shift:
|
||||
; CHECK: lsl x[[REG1:[0-9]+]], x1, #3
|
||||
; CHECK: ldr w[[REG2:[0-9]+]], [x0, x[[REG1]]]
|
||||
; CHECL: add w0, w[[REG2]], w[[REG1]]
|
||||
; CHECK: add w0, w[[REG2]], w[[REG1]]
|
||||
entry:
|
||||
%idx = getelementptr inbounds i64, i64* %ptr, i64 %off
|
||||
%x = load i64, i64* %idx, align 8
|
||||
|
@ -72,7 +72,7 @@ for.body: ; preds = %entry, %for.body
|
||||
}
|
||||
|
||||
; CHECK-LABEL: full_unroll_sub
|
||||
; CHEC: [[IV:%[^ ]+]] = phi i32
|
||||
; CHECK: [[IV:%[^ ]+]] = phi i32
|
||||
; CHECK: [[AI:%[^ ]+]] = getelementptr inbounds i32, i32* %a, i32 [[IV]]
|
||||
; CHECK: [[BI:%[^ ]+]] = getelementptr inbounds i16*, i16** %b, i32 [[IV]]
|
||||
; CHECK: [[BIJ:%[^ ]+]] = load i16*, i16** [[BI]], align 4
|
||||
|
@ -1,5 +1,5 @@
|
||||
; Disable shrink-wrapping on the first test otherwise we wouldn't
|
||||
; exerce the path for PR18136.
|
||||
; exercise the path for PR18136.
|
||||
; RUN: llc -mtriple=thumbv7-apple-none-macho < %s -enable-shrink-wrap=false -verify-machineinstrs | FileCheck %s --check-prefixes=CHECK-FNSTART,CHECK
|
||||
; RUN: llc -mtriple=thumbv6m-apple-none-macho -frame-pointer=all < %s -verify-machineinstrs | FileCheck %s --check-prefixes=CHECK-FNSTART,CHECK-T1
|
||||
; RUN: llc -mtriple=thumbv6m-apple-none-macho < %s -verify-machineinstrs | FileCheck %s --check-prefixes=CHECK-FNSTART,CHECK-T1-NOFP
|
||||
@ -30,12 +30,12 @@ define void @check_simple() minsize {
|
||||
; iOS always has a frame pointer and messing with the push affects
|
||||
; how it's set in the prologue. Make sure we get that right.
|
||||
; CHECK-IOS: push {r3, r4, r5, r6, r7, lr}
|
||||
; CHECK-NOT: sub sp,
|
||||
; CHECK-IOS-NOT: sub sp,
|
||||
; CHECK-IOS: add r7, sp, #16
|
||||
; CHECK-NOT: sub sp,
|
||||
; CHECK-IOS-NOT: sub sp,
|
||||
; ...
|
||||
; CHECK-NOT: add sp,
|
||||
; CHEC: pop {r3, r4, r5, r6, r7, pc}
|
||||
; CHECK-IOS-NOT: add sp,
|
||||
; CHECK-IOS: pop {r0, r1, r2, r3, r7, pc}
|
||||
|
||||
%var = alloca i8, i32 16
|
||||
call void @bar(i8* %var)
|
||||
|
@ -4,25 +4,25 @@
|
||||
|
||||
define i32 @test_i64_align() "frame-pointer"="all" {
|
||||
; CHECK-LABEL: test_i64_align:
|
||||
; CHECL: movs r0, #8
|
||||
; CHECK: movs r0, #8
|
||||
ret i32 ptrtoint(i64* getelementptr(%struct, %struct* null, i32 0, i32 1) to i32)
|
||||
}
|
||||
|
||||
define i32 @test_f64_align() "frame-pointer"="all" {
|
||||
; CHECK-LABEL: test_f64_align:
|
||||
; CHECL: movs r0, #24
|
||||
; CHECK: movs r0, #24
|
||||
ret i32 ptrtoint(double* getelementptr(%struct, %struct* null, i32 0, i32 3) to i32)
|
||||
}
|
||||
|
||||
define i32 @test_v2f32_align() "frame-pointer"="all" {
|
||||
; CHECK-LABEL: test_v2f32_align:
|
||||
; CHECL: movs r0, #40
|
||||
; CHECK: movs r0, #40
|
||||
ret i32 ptrtoint(<2 x float>* getelementptr(%struct, %struct* null, i32 0, i32 5) to i32)
|
||||
}
|
||||
|
||||
define i32 @test_v4f32_align() "frame-pointer"="all" {
|
||||
; CHECK-LABEL: test_v4f32_align:
|
||||
; CHECL: movs r0, #64
|
||||
; CHECK: movs r0, #64
|
||||
ret i32 ptrtoint(<4 x float>* getelementptr(%struct, %struct* null, i32 0, i32 7) to i32)
|
||||
}
|
||||
|
||||
|
@ -305,7 +305,7 @@ define float @fp-armv8_vmaxnm_NNNole_rev(float %a) {
|
||||
define float @fp-armv8_vmaxnm_NNNu(float %b) {
|
||||
; CHECK-LABEL: "fp-armv8_vmaxnm_NNNu":
|
||||
; CHECK: vmaxnm.f32
|
||||
; CHEC-NOT: vmaxnm.f32
|
||||
; CHECK-NOT: vmaxnm.f32
|
||||
%cmp1 = fcmp ugt float 12., %b
|
||||
%cond1 = select i1 %cmp1, float 12., float %b
|
||||
%cmp2 = fcmp ugt float %cond1, 34.
|
||||
|
@ -13,19 +13,19 @@
|
||||
; $ clang /tmp/a.cc -S -emit-llvm -g -gcodeview -target x86_64-windows-msvc -o t.ll
|
||||
|
||||
; CHECK: Struct (0x{{[0-9A-F]+}}) {
|
||||
; CHEC-NEXT: TypeLeafKind: LF_STRUCTURE (0x1505)
|
||||
; CHEC-NEXT: MemberCount: 0
|
||||
; CHEC-NEXT: Properties [ (0x280)
|
||||
; CHEC-NEXT: ForwardReference (0x80)
|
||||
; CHEC-NEXT: HasUniqueName (0x200)
|
||||
; CHEC-NEXT: ]
|
||||
; CHEC-NEXT: FieldList: 0x0
|
||||
; CHEC-NEXT: DerivedFrom: 0x0
|
||||
; CHEC-NEXT: VShape: 0x0
|
||||
; CHEC-NEXT: SizeOf: 0
|
||||
; CHEC-NEXT: Name: S
|
||||
; CHEC-NEXT: LinkageName: .?AUS@@
|
||||
; CHEC-NEXT: }
|
||||
; CHECK-NEXT: TypeLeafKind: LF_STRUCTURE (0x1505)
|
||||
; CHECK-NEXT: MemberCount: 0
|
||||
; CHECK-NEXT: Properties [ (0x280)
|
||||
; CHECK-NEXT: ForwardReference (0x80)
|
||||
; CHECK-NEXT: HasUniqueName (0x200)
|
||||
; CHECK-NEXT: ]
|
||||
; CHECK-NEXT: FieldList: 0x0
|
||||
; CHECK-NEXT: DerivedFrom: 0x0
|
||||
; CHECK-NEXT: VShape: 0x0
|
||||
; CHECK-NEXT: SizeOf: 0
|
||||
; CHECK-NEXT: Name: S
|
||||
; CHECK-NEXT: LinkageName: .?AUS@@
|
||||
; CHECK-NEXT: }
|
||||
|
||||
; CHECK: Struct (0x{{[0-9A-F]+}}) {
|
||||
; CHECK-NEXT: TypeLeafKind: LF_STRUCTURE (0x1505)
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
@ CHECK: error: expected identifier after '.thumb_set'
|
||||
@ CHECK: .thumb_set
|
||||
@ CHECL: ^
|
||||
@ CHECK: ^
|
||||
|
||||
.thumb_set ., 0x0b5e55ed
|
||||
|
||||
|
@ -76,7 +76,7 @@
|
||||
# CHECK-TRAP: addiu $1, $zero, 1 # encoding: [0x24,0x01,0x00,0x01]
|
||||
# CHECK-TRAP: dsll32 $1, $1, 31 # encoding: [0x00,0x01,0x0f,0xfc]
|
||||
# CHECK-TRAP: teq $zero, $1, 6 # encoding: [0x00,0x01,0x01,0xb4]
|
||||
# CHECH-TRAP: .Ltmp2:
|
||||
# CHECK-TRAP: .Ltmp2:
|
||||
# CHECK-TRAP: mflo $zero # encoding: [0x00,0x00,0x00,0x12]
|
||||
|
||||
ddiv $0,$0
|
||||
|
@ -67,7 +67,7 @@ define void @test_02(i32* %arr, i32* %a_len_ptr) {
|
||||
; CHECK: test_02(
|
||||
; CHECK: entry:
|
||||
; CHECK-NEXT: %len = load i32, i32* %a_len_ptr, align 4, !range !0
|
||||
; CHECH-NEXT: br i1 true, label %loop.preloop.preheader
|
||||
; CHECK-NEXT: br i1 true, label %loop.preloop.preheader
|
||||
; CHECK: mainloop:
|
||||
; CHECK-NEXT: br label %loop
|
||||
; CHECK: loop:
|
||||
|
@ -403,7 +403,7 @@ Symbols:
|
||||
# SIGNAME1-GNU: COMDAT group section [ 1] `.group' [] contains 2 sections:
|
||||
# SIGNAME1-GNU: COMDAT group section [ 2] `.group1' [<?>] contains 2 sections:
|
||||
|
||||
## Chech we report a warning when the string table that contains the signature symbol name is not null-terminated.
|
||||
## Check we report a warning when the string table that contains the signature symbol name is not null-terminated.
|
||||
|
||||
# RUN: yaml2obj %s -DSTRTABCONTENT="0061626361" -DSYM1STNAME=4 -DSYM2STNAME=5 -o %t.signame2.o
|
||||
# RUN: llvm-readobj --elf-section-groups %t.signame2.o 2>&1 | \
|
||||
|
@ -55,7 +55,7 @@
|
||||
# total of nine builds. All builds will be run in parallel.
|
||||
#
|
||||
# The user may control parallelism via the --jobs and --threads
|
||||
# switches. --jobs tells llvm-compilers-checl the maximum total
|
||||
# switches. --jobs tells llvm-compilers-check the maximum total
|
||||
# number of builds to activate in parallel. The user may think of it
|
||||
# as equivalent to the GNU make -j switch. --threads tells
|
||||
# llvm-compilers-check how many worker threads to use to accomplish
|
||||
|
Loading…
Reference in New Issue
Block a user