[PATCH] D19163: AMDGPU/SI: Assembler: improvements to support trap handlers.

Nikolay Haustov via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 15 09:31:06 PDT 2016


nhaustov created this revision.
nhaustov added reviewers: tstellarAMD, arsenm, artem.tamazov.
nhaustov added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.

Add ParseAMDGPURegister which can be invoked recursively for parsing lists.
Rename getRegForName to getSpecialRegForName.
Support legacy SP3 register list syntax: [s2,s3,s4,s5] or [flat_scratch_lo,flat_scratch_hi].
Add 64-bit registers TBA, TMA where missing.
Add some tests.

http://reviews.llvm.org/D19163

Files:
  lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  lib/Target/AMDGPU/SIRegisterInfo.td
  test/MC/AMDGPU/reg-syntax-extra.s
  test/MC/AMDGPU/trap.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19163.53902.patch
Type: text/x-patch
Size: 13503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160415/56a065ab/attachment.bin>


More information about the llvm-commits mailing list