HomePhabricator

Implement wave32 DWARF register mapping
Concern Raised24698e526f61

Authored by RamNalamothu on Mon, Mar 23, 3:56 AM.

Description

Implement wave32 DWARF register mapping

Implement the DWARF register mapping described in llvm/docs/AMDGPUUsage.rst.

This enables generating appropriate DWARF register numbers for wave64 and
wave32 modes.

Details

Auditors
jdoerfert
Committed
arsenmMon, Mar 23, 7:24 AM
Parents
rG33942d18b111: [SCCP] Precommit additional range propagation test.
Branches
Unknown
Tags
Unknown

Event Timeline

This commit now has outstanding concerns.Mon, Mar 23, 8:50 AM

llvm/unittests/MC/AMDGPU/DwarfRegMappings.cpp seems to duplicate llvm/unittests/Target/AMDGPU/DwarfRegMappings.cpp in many lines. Is that intended?

llvm/unittests/MC/AMDGPU/DwarfRegMappings.cpp seems to duplicate llvm/unittests/Target/AMDGPU/DwarfRegMappings.cpp in many lines. Is that intended?

Yes, it is intentional. They test same aspect in different paths.