CodeGen: Use asm register names in warning message
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 2 Feb 2022 17:49:27 +0000 (12:49 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 2 Feb 2022 19:20:12 +0000 (14:20 -0500)
commita96dbb9035ea91adf369fcafffe49371806e971e
tree49ba34d46d04b67f2c209f8a5f3f93481f05a35b
parent245e25f9c3b4273ee77f5d066ef8b8526f881b69
CodeGen: Use asm register names in warning message

This was using the ugly tablegenerated register enum names, which are
really hideous for register tuples on AMDGPU. Use the prettier names
which are recognized by the asm parser.
llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
llvm/test/CodeGen/AMDGPU/inline-asm-reserved-regs.ll