]> granicus.if.org Git - llvm/commit
[PPC] When restoring R30 (PIC base pointer), mark it as <def>
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Thu, 4 May 2017 19:14:54 +0000 (19:14 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Thu, 4 May 2017 19:14:54 +0000 (19:14 +0000)
commit8175a1d583900f3f992ab0dcd6ecf97a7dc04461
tree56bb14987426408d003cd78b024898f6d437ddb5
parentb1cbece4122eff558f363bcaec48e5ee2ec326da
[PPC] When restoring R30 (PIC base pointer), mark it as <def>

This happened on the PPC32/SVR4 path and was discovered when building
FreeBSD on PPC32. It was a typo-class error in the frame lowering code.

This fixes PR26519.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302183 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCFrameLowering.cpp
test/CodeGen/PowerPC/restore-r30.ll [new file with mode: 0644]