llvm.org GIT mirror llvm / 268e96a
Fix broken CHECK lines git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201479 91177308-0d34-0410-b5e6-96231b3b80d8 Nico Rieck 6 years ago
12 changed file(s) with 25 addition(s) and 25 deletion(s). Raw diff Collapse all Expand all
527527 %r242 = uitofp <16 x i8> undef to <16 x double>
528528 ; CHECK: cost of 64 {{.*}} sitofp
529529 %r243 = sitofp <16 x i8> undef to <16 x double>
530 ; C4ECK: cost of 64 {{.*}} uitofp
530 ; CHECK: cost of 64 {{.*}} uitofp
531531 %r244 = uitofp <16 x i16> undef to <16 x double>
532532 ; CHECK: cost of 64 {{.*}} sitofp
533533 %r245 = sitofp <16 x i16> undef to <16 x double>
6868 ; CHECK-DAG: scvtf [[SIG:s[0-9]+]], {{w[0-9]+}}
6969
7070 %res = fsub float %signed, %unsigned
71 ; CHECL: fsub {{s[0-9]+}}, [[SIG]], [[UNSIG]]
71 ; CHECK: fsub {{s[0-9]+}}, [[SIG]], [[UNSIG]]
7272 ret float %res
7373 ; CHECK: ret
7474 }
55 target triple = "thumbv7-apple-ios5.0.0"
66
77 ; CHECK-GENERIC: strb
8 ; CHECK-GENERIT-NEXT: strb
9 ; CHECK-GENERIT-NEXT: strb
10 ; CHECK-GENERIT-NEXT: strb
11 ; CHECK-GENERIT-NEXT: strb
8 ; CHECK-GENERIC-NEXT: strb
9 ; CHECK-GENERIC-NEXT: strb
10 ; CHECK-GENERIC-NEXT: strb
11 ; CHECK-GENERIC-NEXT: strb
1212 ; CHECK-UNALIGNED: strb
1313 ; CHECK-UNALIGNED: str
1414 define void @foo(i8* nocapture %c) nounwind optsize {
282282 ; CORTEX-A9-MP: .eabi_attribute 23, 3
283283 ; CORTEX-A9-MP: .eabi_attribute 24, 1
284284 ; CORTEX-A9-MP: .eabi_attribute 25, 1
285 ; CORTEX-A9-NOT: .eabi_attribute 27
286 ; CORTEX-A9-NOT: .eabi_attribute 28
285 ; CORTEX-A9-MP-NOT: .eabi_attribute 27
286 ; CORTEX-A9-MP-NOT: .eabi_attribute 28
287287 ; CORTEX-A9-MP: .eabi_attribute 36, 1
288288 ; CORTEX-A9-MP: .eabi_attribute 42, 1
289289 ; CORTEX-A9-MP: .eabi_attribute 68, 1
400400 ; CORTEX-M4-HARD: .eabi_attribute 36, 1
401401 ; CORTEX-M4-HARD-NOT: .eabi_attribute 42
402402 ; CORTEX-M4-HARD-NOT: .eabi_attribute 44
403 ; CORTEX-M4-HRAD-NOT: .eabi_attribute 68
403 ; CORTEX-M4-HARD-NOT: .eabi_attribute 68
404404
405405 ; CORTEX-R5: .cpu cortex-r5
406406 ; CORTEX-R5: .eabi_attribute 6, 10
1414 ; CHECK: vmov.i32 d0, #0
1515
1616 ; CHECK-NONEON-LABEL: test_vmov_imm:
17 ; CHECK_NONEON: vldr s0, {{.?LCPI[0-9]+_[0-9]+}}
17 ; CHECK-NONEON: vldr s0, {{.?LCPI[0-9]+_[0-9]+}}
1818 ret float 0.0
1919 }
2020
2323 ; CHECK: vmvn.i32 d0, #0xb0000000
2424
2525 ; CHECK-NONEON-LABEL: test_vmvn_imm:
26 ; CHECK_NONEON: vldr s0, {{.?LCPI[0-9]+_[0-9]+}}
26 ; CHECK-NONEON: vldr s0, {{.?LCPI[0-9]+_[0-9]+}}
2727 ret float 8589934080.0
2828 }
2929
3232 ; CHECK: vmov.f64 d0, #1.0
3333
3434 ; CHECK-NONEON-LABEL: test_vmov_f64:
35 ; CHECK_NONEON: vmov.f64 d0, #1.0
35 ; CHECK-NONEON: vmov.f64 d0, #1.0
3636
3737 ret double 1.0
3838 }
4242 ; CHECK: vmov.i32 d0, #0
4343
4444 ; CHECK-NONEON-LABEL: test_vmov_double_imm:
45 ; CHECK_NONEON: vldr d0, {{.?LCPI[0-9]+_[0-9]+}}
45 ; CHECK-NONEON: vldr d0, {{.?LCPI[0-9]+_[0-9]+}}
4646 ret double 0.0
4747 }
4848
5151 ; CHECK: vmvn.i32 d0, #0xb0000000
5252
5353 ; CHECK-NONEON-LABEL: test_vmvn_double_imm:
54 ; CHECK_NONEON: vldr d0, {{.?LCPI[0-9]+_[0-9]+}}
54 ; CHECK-NONEON: vldr d0, {{.?LCPI[0-9]+_[0-9]+}}
5555 ret double 0x4fffffff4fffffff
5656 }
5757
6262 ; CHECK: vldr d0, {{.?LCPI[0-9]+_[0-9]+}}
6363
6464 ; CHECK-NONEON-LABEL: test_notvmvn_double_imm:
65 ; CHECK_NONEON: vldr d0, {{.?LCPI[0-9]+_[0-9]+}}
65 ; CHECK-NONEON: vldr d0, {{.?LCPI[0-9]+_[0-9]+}}
6666 ret double 0x4fffffffffffffff
6767 }
2727 ; CHECK-ARM: sub sp, sp, #256
2828 ; CHECK-ARM: .cfi_endproc
2929
30 ; CHECK-ARM-FP_ELIM-LABEL: test1:
31 ; CHECK-ARM-FP_ELIM: .cfi_startproc
32 ; CHECK-ARM-FP_ELIM: sub sp, sp, #256
33 ; CHECK-ARM-FP_ELIM: .cfi_endproc
30 ; CHECK-ARM-FP-ELIM-LABEL: test1:
31 ; CHECK-ARM-FP-ELIM: .cfi_startproc
32 ; CHECK-ARM-FP-ELIM: sub sp, sp, #256
33 ; CHECK-ARM-FP-ELIM: .cfi_endproc
3434
3535 define void @test2() {
3636 %tmp = alloca [ 4168 x i8 ] , align 4
1111 ; }
1212 ; CHECK: cmp
1313 ; CHECK-NEXT: add
14 ; CHECH-NEXT: add
14 ; CHECK-NEXT: add
1515 define i32 @ifcnv_add(i32, i32, i32) nounwind readnone {
1616 %4 = icmp sgt i32 %2, %1
1717 br i1 %4, label %5, label %7
0 ; RUN: llc < %s -march=x86 -mcpu=corei7 | FileCheck %s
11
22 ;CHECK-LABEL: test:
3 ;CHECK-not: pshufd
3 ;CHECK-NOT: pshufd
44 ;CHECK: ret
55 define float @test(<4 x float>* %A) nounwind {
66 entry:
3333
3434 define i64 @test_x86_tbm_bextri_u64_m(i64* nocapture %a) nounwind readonly {
3535 entry:
36 ; CHECK-LABEl: test_x86_tbm_bextri_u64_m:
36 ; CHECK-LABEL: test_x86_tbm_bextri_u64_m:
3737 ; CHECK-NOT: mov
3838 ; CHECK: bextr $
3939 %tmp1 = load i64* %a, align 8
3333 ;CHECK-LABEL: AGEP2:
3434 define i32 @AGEP2(<4 x i32*> %param, <4 x i32> %off) nounwind {
3535 entry:
36 ;CHECK_LABEL: AGEP2
36 ;CHECK-LABEL: AGEP2
3737 ;CHECK: vpslld $2
3838 ;CHECK-NEXT: vpadd
3939 %A2 = getelementptr <4 x i32*> %param, <4 x i32> %off
55 movl foo, %r14d
66 foo:
77
8 // CHECKT: Relocations [
8 // CHECK: Relocations [
99 // CHECK: Section (2) .rela.text {
1010 // CHECK-NEXT: 0x{{[^ ]+}} R_X86_64_32S .text 0x{{[^ ]+}}
1111 // CHECK-NEXT: }
3131 %i = alloca i32, align 4
3232 store volatile i32 10, i32* %i, align 4
3333 ; CHECK: %tmp = load volatile i32* %i, align 4
34 ; CHECK-next: call void @f(i32 undef)
34 ; CHECK-NEXT: call void @f(i32 undef)
3535 %tmp = load volatile i32* %i, align 4
3636 call void @f(i32 %tmp)
3737 ret void