From 31e66e8b767c6c5f963eff3a2b6e615d6a1ca8e2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 10 Mar 2006 17:55:10 +0000 Subject: [PATCH] weak globals on darwin require an extra load, breaking this test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26695 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/store_op_load_fold.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CodeGen/X86/store_op_load_fold.ll b/test/CodeGen/X86/store_op_load_fold.ll index 8aa971e2473..3c844be605b 100644 --- a/test/CodeGen/X86/store_op_load_fold.ll +++ b/test/CodeGen/X86/store_op_load_fold.ll @@ -2,7 +2,7 @@ ; ; Test the add and load are folded into the store instruction. -%X = weak global short 0 +%X = internal global short 0 void %foo() { %tmp.0 = load short* %X