From: Chris Lattner Date: Fri, 10 Mar 2006 17:55:10 +0000 (+0000) Subject: weak globals on darwin require an extra load, breaking this test X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=31e66e8b767c6c5f963eff3a2b6e615d6a1ca8e2;p=oota-llvm.git 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 --- 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