This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Assembler: improvements to support trap handlers.
ClosedPublic

Authored by nhaustov on Apr 15 2016, 9:31 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

nhaustov updated this revision to Diff 53902.Apr 15 2016, 9:31 AM
nhaustov retitled this revision from to AMDGPU/SI: Assembler: improvements to support trap handlers..
nhaustov updated this object.
nhaustov added a subscriber: llvm-commits.
artem.tamazov accepted this revision.Apr 18 2016, 3:06 AM
artem.tamazov edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Apr 18 2016, 3:06 AM
This revision was automatically updated to reflect the committed changes.