llvm-6502/test/Transforms/DeadStoreElimination/volatile-load.ll

9 lines
160 B
LLVM
Raw Normal View History

; 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
}