; RUN: llvm-as < %s | opt -licm -disable-output -stats |& \ ; RUN: grep {memory locations promoted to register} @X = global i32 7 ; [#uses=4] define void @testfunc(i32 %i) { ;