Dan Gohman | fce288f | 2009-09-09 00:09:15 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -mtriple=powerpc-apple-darwin9 | not grep non_lazy_ptr |
Evan Cheng | ae94e59 | 2008-12-05 01:06:39 +0000 | [diff] [blame] | 2 | |
3 | @x = weak hidden global i32 0 ; <i32*> [#uses=1] | ||||
4 | |||||
5 | define i32 @t() nounwind readonly { | ||||
6 | entry: | ||||
7 | %0 = load i32* @x, align 4 ; <i32> [#uses=1] | ||||
8 | ret i32 %0 | ||||
9 | } |