Files
clang-p2996/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
Craig Topper 4af2e36b1d [CodeGen][NVPTX] Add a TRI function get the Dwarf register number for a virtual register. (#129017)
NVPTX needs to be able to get the Dwarf register number for a virtual
register. The interface we have for this today is on MCRegisterInfo and
take a MCRegister argument. It shouldn't be legal to convert a Register
containing a virtual register to an MCRegister.

This patch adds a getDwarfRegNumForVirtReg function that takes a
Register to TRI and splits the NVPTX override of getDwarfRegNum.
2025-02-27 08:07:30 -08:00

26 KiB