AMDGPU: Avoid code predicates for extload PatFrags
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 16 Jul 2019 02:46:05 +0000 (02:46 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 16 Jul 2019 02:46:05 +0000 (02:46 +0000)
commit1739b700b17c93f6ad21cea2fc7e3febba51d22c
treedfc709080278935ba59118681cf77c3abefbc14e
parent49e14cefbe42262b0dc6e4daa8ac4e48fed8cec5
AMDGPU: Avoid code predicates for extload PatFrags

Use the MemoryVT field. This will be necessary for tablegen to
automatically handle patterns for GlobalISel.

Doesn't handle the d16 lo/hi patterns. Those are a special case since
it involvess the custom node type.

llvm-svn: 366168
llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
llvm/lib/Target/AMDGPU/BUFInstructions.td
llvm/lib/Target/AMDGPU/EvergreenInstructions.td
llvm/lib/Target/AMDGPU/FLATInstructions.td
llvm/lib/Target/AMDGPU/R600Instructions.td