Ignore:
Timestamp:
Jul 13, 2015, 2:11:13 PM (4 years ago)
Author:
cameron
Message:

Upgrade LLVM to 3.6.1

Location:
icGREP/icgrep-devel/llvm-3.6.1.src
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/llvm-3.6.1.src/test/CodeGen/R600/local-memory-two-objects.ll

    r4574 r4664  
    1 ; RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck --check-prefix=EG-CHECK %s
    2 ; RUN: llc < %s -march=amdgcn -mcpu=verde -verify-machineinstrs | FileCheck --check-prefix=SI-CHECK --check-prefix=SI %s
    3 ; RUN: llc < %s -march=amdgcn -mcpu=bonaire -verify-machineinstrs | FileCheck --check-prefix=SI-CHECK --check-prefix=CI %s
     1; RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck --check-prefix=EG %s
     2; RUN: llc < %s -march=amdgcn -mcpu=verde -verify-machineinstrs | FileCheck --check-prefix=GCN --check-prefix=SI %s
     3; RUN: llc < %s -march=amdgcn -mcpu=bonaire -verify-machineinstrs | FileCheck --check-prefix=GCN --check-prefix=CI %s
    44
    55@local_memory_two_objects.local_mem0 = internal unnamed_addr addrspace(3) global [4 x i32] undef, align 4
    66@local_memory_two_objects.local_mem1 = internal unnamed_addr addrspace(3) global [4 x i32] undef, align 4
    77
    8 ; EG-CHECK: {{^}}local_memory_two_objects:
     8; EG: {{^}}local_memory_two_objects:
    99
    1010; Check that the LDS size emitted correctly
    11 ; EG-CHECK: .long 166120
    12 ; EG-CHECK-NEXT: .long 8
    13 ; SI-CHECK: .long 47180
    14 ; SI-CHECK-NEXT: .long 38792
     11; EG: .long 166120
     12; EG-NEXT: .long 8
     13; GCN: .long 47180
     14; GCN-NEXT: .long 38792
    1515
    1616; We would like to check the the lds writes are using different
    1717; addresses, but due to variations in the scheduler, we can't do
    1818; this consistently on evergreen GPUs.
    19 ; EG-CHECK: LDS_WRITE
    20 ; EG-CHECK: LDS_WRITE
    21 ; SI-CHECK: ds_write_b32 {{v[0-9]*}}, v[[ADDRW:[0-9]*]]
    22 ; SI-CHECK-NOT: ds_write_b32 {{v[0-9]*}}, v[[ADDRW]]
     19; EG: LDS_WRITE
     20; EG: LDS_WRITE
     21; GCN: ds_write_b32 {{v[0-9]*}}, v[[ADDRW:[0-9]*]]
     22; GCN-NOT: ds_write_b32 {{v[0-9]*}}, v[[ADDRW]]
    2323
    2424; GROUP_BARRIER must be the last instruction in a clause
    25 ; EG-CHECK: GROUP_BARRIER
    26 ; EG-CHECK-NEXT: ALU clause
     25; EG: GROUP_BARRIER
     26; EG-NEXT: ALU clause
    2727
    2828; Make sure the lds reads are using different addresses, at different
    2929; constant offsets.
    30 ; EG-CHECK: LDS_READ_RET {{[*]*}} OQAP, {{PV|T}}[[ADDRR:[0-9]*\.[XYZW]]]
    31 ; EG-CHECK-NOT: LDS_READ_RET {{[*]*}} OQAP, T[[ADDRR]]
     30; EG: LDS_READ_RET {{[*]*}} OQAP, {{PV|T}}[[ADDRR:[0-9]*\.[XYZW]]]
     31; EG-NOT: LDS_READ_RET {{[*]*}} OQAP, T[[ADDRR]]
    3232; SI: v_add_i32_e32 [[SIPTR:v[0-9]+]], 16, v{{[0-9]+}}
    3333; SI: ds_read_b32 {{v[0-9]+}}, [[SIPTR]] [M0]
Note: See TracChangeset for help on using the changeset viewer.