[AMDGPU] Refactor SOPC & SOPP .td for extension
authorJoe Nash <Joseph.Nash@amd.com>
Mon, 19 Oct 2020 20:52:51 +0000 (16:52 -0400)
committerJoe Nash <Joseph.Nash@amd.com>
Wed, 21 Oct 2020 16:35:52 +0000 (12:35 -0400)
commitf6d7832f4cf8addc0e733df7c7b917959edf7f01
tree312b51f8d7e7fbd9095d68530a9afb5d1c88042a
parent3ac561d8c348a7bdc0313a268d5b3b4dcac118a2
[AMDGPU] Refactor SOPC & SOPP .td for extension

We use the Real vs Pseudo instruction abstraction for other
types of instructions to facilitate changes in opcode
between gpu generations.
This patch introduces that abstraction to SOPC and SOPP.

Reviewed By: rampitec

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

Change-Id: I59d53c2c7058b49d05b60350f4062a9b542d3138
llvm/lib/Target/AMDGPU/SIInstrInfo.td
llvm/lib/Target/AMDGPU/SOPInstructions.td