[all-commits] [llvm/llvm-project] 364326: AMDGPU/GlobalISel: Add mem operand to s.buffer.loa...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Feb 5 12:05:08 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 364326ce66ed5cbcb7acc102d066215b69e45595
      https://github.com/llvm/llvm-project/commit/364326ce66ed5cbcb7acc102d066215b69e45595
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-02-05 (Wed, 05 Feb 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.s.buffer.load.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn-s-buffer-load.mir

  Log Message:
  -----------
  AMDGPU/GlobalISel: Add mem operand to s.buffer.load intrinsic

Really the intrinsic definition is wrong, but work around this
here. The DAG lowering introduces an MMO. We have to introduce a new
operation to avoid the verifier complaining about the missing mayLoad.




More information about the All-commits mailing list