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
This commit is contained in:
Chris Lattner 2006-03-10 17:55:10 +00:00
parent 5d832dc330
commit 31e66e8b76

View 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