From 8ac661cafb34debe1fa64bdb20d6e3eaab281467 Mon Sep 17 00:00:00 2001 From: Marcin Koscielnicki Date: Thu, 21 Apr 2016 17:36:05 +0000 Subject: [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 --- test/CodeGen/PowerPC/stack-protector.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/CodeGen/PowerPC/stack-protector.ll') 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 -- cgit v1.2.3