forked from OSchip/llvm-project
weak globals on darwin require an extra load, breaking this test
llvm-svn: 26695
This commit is contained in:
parent
1420405e6a
commit
0a171d33ca
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue