aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-10 17:55:10 +0000
committerChris Lattner <sabre@nondot.org>2006-03-10 17:55:10 +0000
commit31e66e8b767c6c5f963eff3a2b6e615d6a1ca8e2 (patch)
tree6af6ad214500d970d2ec531dce30fa3346bccc3d /test/CodeGen
parent5d832dc330899fdd61898cfdcf5552e4e03660fe (diff)
downloadexternal_llvm-31e66e8b767c6c5f963eff3a2b6e615d6a1ca8e2.zip
external_llvm-31e66e8b767c6c5f963eff3a2b6e615d6a1ca8e2.tar.gz
external_llvm-31e66e8b767c6c5f963eff3a2b6e615d6a1ca8e2.tar.bz2
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
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/store_op_load_fold.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/store_op_load_fold.ll b/test/CodeGen/X86/store_op_load_fold.ll
index 8aa971e..3c844be 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