summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/stack-protector.ll
diff options
context:
space:
mode:
authorMarcin Koscielnicki <koriakin@0x04.net>2016-04-21 17:36:05 +0000
committerMarcin Koscielnicki <koriakin@0x04.net>2016-04-21 17:36:05 +0000
commit8ac661cafb34debe1fa64bdb20d6e3eaab281467 (patch)
tree8f731f21025c82c759460701f5f9ea449e792f6c /test/CodeGen/PowerPC/stack-protector.ll
parente69bdcfeab268a6cca19a372ca79033800f57acb (diff)
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267017 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/stack-protector.ll')
-rw-r--r--test/CodeGen/PowerPC/stack-protector.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/PowerPC/stack-protector.ll b/test/CodeGen/PowerPC/stack-protector.ll
index 8760f193e50..57d1c7e52b1 100644
--- a/test/CodeGen/PowerPC/stack-protector.ll
+++ b/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