llvm-6502/test/Transforms/DeadStoreElimination/volatile-load.ll
2008-04-28 19:51:27 +00:00

9 lines
160 B
LLVM

; RUN: llvm-as < %s | opt -dse | llvm-dis | grep {volatile load}
@g_1 = global i32 0
define void @foo() nounwind {
%t = volatile load i32* @g_1
ret void
}