weak globals on darwin require an extra load, breaking this test
authorChris Lattner <sabre@nondot.org>
Fri, 10 Mar 2006 17:55:10 +0000 (17:55 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 10 Mar 2006 17:55:10 +0000 (17:55 +0000)
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

index 8aa971e247391ffa31a2ba9c3646e96313c5bc12..3c844be605be1b66b9c529471baf02beeda4034c 100644 (file)
@@ -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