]> granicus.if.org Git - llvm/commit
Merging r311951 and r312038:
authorTom Stellard <tstellar@redhat.com>
Fri, 29 Sep 2017 23:39:09 +0000 (23:39 +0000)
committerTom Stellard <tstellar@redhat.com>
Fri, 29 Sep 2017 23:39:09 +0000 (23:39 +0000)
commitff6b4d3450d95ef4cd65d4aa9838703358458e39
tree0e13cf75b542bc4af0014d39945932f638d37e95
parent1122b45a01d7742daee96dad3ccb566b1dca2801
Merging r311951 and r312038:

------------------------------------------------------------------------
r311951 | adrian | 2017-08-28 16:07:43 -0700 (Mon, 28 Aug 2017) | 6 lines

Fix a logic error in DwarfExpression::addMachineReg()

This fixes PR34323 and thus splitting undescribable registers into
smaller, describable sub-registers.

https://bugs.llvm.org/show_bug.cgi?id=34323
------------------------------------------------------------------------

------------------------------------------------------------------------
r312038 | joerg | 2017-08-29 14:18:07 -0700 (Tue, 29 Aug 2017) | 2 lines

Simplify test case, so that it works for both trunk and release-5.0.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_50@314567 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfExpression.cpp
test/DebugInfo/Sparc/subreg.ll [new file with mode: 0644]