llvm.org GIT mirror llvm / 59b8363
R600/SI: Remove vaddr operand from BUFFER_LOAD_*_OFFSET instructions This operand is never used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213549 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 6 years ago
2 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
596596
597597 let addr64 = 0 in {
598598
599 let offen = 0, idxen = 0 in {
599 let offen = 0, idxen = 0, vaddr = 0 in {
600600 def _OFFSET : MUBUF
601 (ins SReg_128:$srsrc, VReg_32:$vaddr,
601 (ins SReg_128:$srsrc,
602602 u16imm:$offset, SSrc_32:$soffset, i1imm:$glc,
603603 i1imm:$slc, i1imm:$tfe),
604604 asm#" $vdata, $srsrc + $offset + $soffset, glc=$glc, slc=$slc, tfe=$tfe", []>;
26202620 MUBUF bothen> {
26212621
26222622 def : Pat <
2623 (vt (int_SI_buffer_load_dword v4i32:$rsrc, i32:$vaddr, i32:$soffset,
2623 (vt (int_SI_buffer_load_dword v4i32:$rsrc, (i32 imm), i32:$soffset,
26242624 imm:$offset, 0, 0, imm:$glc, imm:$slc,
26252625 imm:$tfe)),
2626 (offset $rsrc, $vaddr, (as_i16imm $offset), $soffset, (as_i1imm $glc),
2626 (offset $rsrc, (as_i16imm $offset), $soffset, (as_i1imm $glc),
26272627 (as_i1imm $slc), (as_i1imm $tfe))
26282628 >;
26292629