]> granicus.if.org Git - llvm/commit
[GlobalISel] Use the DISubprogram for translation failure remarks.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Fri, 24 Feb 2017 00:34:44 +0000 (00:34 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Fri, 24 Feb 2017 00:34:44 +0000 (00:34 +0000)
commitabdb8cba99613d19b5a1ad3871cd4cb14c55b5ab
tree12fc5118a6db351d78c22fdc70f76d03d77fb07f
parent0108464498bacd738c7c3f0f45a1faab232808be
[GlobalISel] Use the DISubprogram for translation failure remarks.

Justin added support for DISubprogram locs in r295531 and r296052.
Use that instead of no-loc for constants and arguments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296058 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/IRTranslator.cpp
lib/CodeGen/GlobalISel/InstructionSelect.cpp