[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)
commit038a0546dbbaf4d2be3417fd60e89af6c2bff4e3
tree55f92f70c8301b393ec8a5134f972798c00a42f8
parent5be171f0bd795e74dc5396d1573153fadd0eddcc
[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.

llvm-svn: 302183
llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
llvm/test/CodeGen/PowerPC/restore-r30.ll [new file with mode: 0644]