[AMDGPU][llvm-mc] Support of Trap Handler registers (TTMP0..11 and TBA/TMA)git status
authorArtem Tamazov <artem.tamazov@amd.com>
Wed, 13 Apr 2016 16:18:41 +0000 (16:18 +0000)
committerArtem Tamazov <artem.tamazov@amd.com>
Wed, 13 Apr 2016 16:18:41 +0000 (16:18 +0000)
commiteb4d5a9b0b30d6754e5308dc3650ffe609cc1d07
tree0863907561b5303940cb309c86d3589e44ebe83e
parent2f6845ba3985b6758ae00615cdc307e55b4bcafc
[AMDGPU][llvm-mc] Support of Trap Handler registers (TTMP0..11 and TBA/TMA)git status

Tests added along with implemented feature.
Note that there is a small leftover of unecessary MI sheduling issue
(more info in the review). CodeGen/AMDGPU/salu-to-valu.ll updated to fix
the false regression.

TODO: Support for TTMP quads, comma-separated syntax in "[]" and more.

Differential Revision: http://reviews.llvm.org/D17825

llvm-svn: 266205
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/lib/Target/AMDGPU/SIRegisterInfo.td
llvm/test/CodeGen/AMDGPU/salu-to-valu.ll
llvm/test/MC/AMDGPU/trap.s [new file with mode: 0644]