[PATCH] D123717: [DWARF][FIX] Handle the use of multiple registers gracefully

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 13 12:50:14 PDT 2022


jdoerfert created this revision.
jdoerfert added reviewers: arsenm, dblaikie.
Herald added subscribers: kerbowa, bollu, hiraditya, tpr, jvesely.
Herald added a project: All.
jdoerfert requested review of this revision.
Herald added subscribers: sstefan1, wdng.
Herald added a project: LLVM.

Certain applications crashed for us with the AMDGPU backend. While this
is not a proper fix it allows us to compile the code for now. I left a
TODO for someone that understands DWARF.

I used a reproducer that has way too much debug info but I am unsure how
to get rid of it reasonably.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123717

Files:
  llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
  llvm/test/CodeGen/AMDGPU/dwarf-multi-register-use-crash.ll



More information about the llvm-commits mailing list