diff options
| author | Marcin Koscielnicki <koriakin@0x04.net> | 2016-04-21 17:36:05 +0000 |
|---|---|---|
| committer | Marcin Koscielnicki <koriakin@0x04.net> | 2016-04-21 17:36:05 +0000 |
| commit | 48d72342ffd5fdbc1b247a97472a4446362e1771 (patch) | |
| tree | 79773d1f9d9867b1b628bc6f10ebf9476cb40145 /llvm/test | |
| parent | 6dcf0788fcd19c6e8b2894b2a24bab556fe92157 (diff) | |
| download | bcm5719-llvm-48d72342ffd5fdbc1b247a97472a4446362e1771.tar.gz bcm5719-llvm-48d72342ffd5fdbc1b247a97472a4446362e1771.zip | |
[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
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/stack-protector.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/PowerPC/stack-protector.ll b/llvm/test/CodeGen/PowerPC/stack-protector.ll index 8760f193e50..57d1c7e52b1 100644 --- a/llvm/test/CodeGen/PowerPC/stack-protector.ll +++ b/llvm/test/CodeGen/PowerPC/stack-protector.ll @@ -5,7 +5,7 @@ ; DARWIN32: __stack_chk_guard ; DARWIN64: __stack_chk_guard -; LINUX32: ld {{[0-9]+}}, -28680(2) +; LINUX32: lwz {{[0-9]+}}, -28680(2) ; LINUX64: ld {{[0-9]+}}, -28688(13) ; DARWIN32: __stack_chk_fail |

