[PowerPC] [SSP] Fix stack guard load for 32-bit.
authorMarcin Koscielnicki <koriakin@0x04.net>
Thu, 21 Apr 2016 17:36:05 +0000 (17:36 +0000)
committerMarcin Koscielnicki <koriakin@0x04.net>
Thu, 21 Apr 2016 17:36:05 +0000 (17:36 +0000)
commit48d72342ffd5fdbc1b247a97472a4446362e1771
tree79773d1f9d9867b1b628bc6f10ebf9476cb40145
parent6dcf0788fcd19c6e8b2894b2a24bab556fe92157
[PowerPC] [SSP] Fix stack guard load for 32-bit.

r266809 incorrectly used LD to load the stack guard, it should be LWZ.

Differential Revision: http://reviews.llvm.org/D19358

llvm-svn: 267017
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
llvm/test/CodeGen/PowerPC/stack-protector.ll