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/lib/Target/R600/VIInstructions.td

    r4574 r4664  
    1010//===----------------------------------------------------------------------===//
    1111
    12 let SubtargetPredicate = isVI in {
    13 
    14 defm BUFFER_LOAD_DWORD_VI : MUBUF_Load_Helper_vi <
    15   0x14, "buffer_load_dword", VGPR_32, i32, global_load
    16 >;
    17 
    18 defm BUFFER_LOAD_FORMAT_XYZW_VI : MUBUF_Load_Helper_vi <
    19   0x03, "buffer_load_format_xyzw", VReg_128
    20 >;
    21 
    22 } // End SubtargetPredicate = isVI
    23 
    2412
    2513//===----------------------------------------------------------------------===//
     
    2917let Predicates = [isVI] in {
    3018
    31 // 1. Offset as 8bit DWORD immediate
     19// 1. Offset as 20bit DWORD immediate
    3220def : Pat <
    3321  (SIload_constant v4i32:$sbase, IMM20bit:$offset),
     
    3523>;
    3624
    37 //===----------------------------------------------------------------------===//
    38 // MUBUF Patterns
    39 //===----------------------------------------------------------------------===//
    40 
    41 // Offset in an 32Bit VGPR
    42 def : Pat <
    43   (SIload_constant v4i32:$sbase, i32:$voff),
    44   (BUFFER_LOAD_DWORD_VI_OFFEN $sbase, $voff, 0, 0, 0, 0, 0)
    45 >;
    46 
    47 // Offset in an 32Bit VGPR
    48 def : Pat <
    49   (SIload_constant v4i32:$sbase, i32:$voff),
    50   (BUFFER_LOAD_DWORD_VI_OFFEN $sbase, $voff, 0, 0, 0, 0, 0)
    51 >;
    52 
    53 /* int_SI_vs_load_input */
    54 def : Pat<
    55   (SIload_input v4i32:$tlst, imm:$attr_offset, i32:$buf_idx_vgpr),
    56   (BUFFER_LOAD_FORMAT_XYZW_VI_IDXEN $tlst, $buf_idx_vgpr, imm:$attr_offset, 0, 0, 0, 0)
    57 >;
    58 
    59 defm : MUBUF_Load_Dword <i32, BUFFER_LOAD_DWORD_VI_OFFSET,
    60                          BUFFER_LOAD_DWORD_VI_OFFEN,
    61                          BUFFER_LOAD_DWORD_VI_IDXEN,
    62                          BUFFER_LOAD_DWORD_VI_BOTHEN>;
    63 
    6425} // End Predicates = [isVI]
Note: See TracChangeset for help on using the changeset viewer.