aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/DeadStoreElimination/volatile-load.ll
blob: c9891bc3228974cf1b1140fcd97acaac7c243987 (plain)
1
2
3
4
5
6
7
8
; RUN: opt %s -dse | llvm-dis | grep {volatile load}

@g_1 = global i32 0

define void @foo() nounwind  {
	%t = volatile load i32* @g_1
	ret void
}