AMDGPU: Don't use separate cache arguments for s_buffer_load node
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 30 Jan 2020 02:03:07 +0000 (21:03 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 30 Jan 2020 22:15:26 +0000 (14:15 -0800)
commit97a1d4bc0213c36127b794a5a4a8869fe8cb8fff
treeec8fbbbc76fa1c730c618c5dc563903b455ca1c4
parent90b5ed996bfa97beb9cb96e013913cc956540b95
AMDGPU: Don't use separate cache arguments for s_buffer_load node

There's not much value to this separate node from the intrinsic. Make
the operand structure the same as the intrinsic, so we can reuse the
same pattern for GlobalISel.
llvm/lib/Target/AMDGPU/BUFInstructions.td
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.h
llvm/lib/Target/AMDGPU/SIInstrInfo.td
llvm/lib/Target/AMDGPU/SMInstructions.td