13 lines · plain
1; RUN: llc < %s -mtriple=i386-apple-darwin9 | FileCheck %s2 3@x = common hidden global i32 0 ; <ptr> [#uses=1]4 5define i32 @t() nounwind readonly {6entry:7; CHECK-LABEL: t:8; CHECK: movl _x, %eax9; CHECK: .comm _x,410 %0 = load i32, ptr @x, align 4 ; <i32> [#uses=1]11 ret i32 %012}13