AMDGPU: Consolidate SMRD TableGen patterns
authorTom Stellard <tstellar@redhat.com>
Sat, 6 Oct 2018 03:32:43 +0000 (03:32 +0000)
committerTom Stellard <tstellar@redhat.com>
Sat, 6 Oct 2018 03:32:43 +0000 (03:32 +0000)
commit251ee083a3e1259ab68887f08162e68c4127c81a
tree8e464ff22ea3b7e314e4c01b6677b31f32876837
parentb0a2a0cf7dddcb79074767f59401859c6ff30fab
AMDGPU: Consolidate SMRD TableGen patterns

Summary:
Merge the SMRD patterns for CI into the same multiclass as the
patterns for other sub-targets.

This removes some duplicate code and will make it easier for some
future GlobalISel changes I would like to do.

Reviewers: arsenm

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits

Differential Revision: https://reviews.llvm.org/D52557

llvm-svn: 343909
llvm/lib/Target/AMDGPU/SMInstructions.td