summaryrefslogtreecommitdiffstats
path: root/test/Transforms/DeadStoreElimination/volatile-load.ll
blob: c458284dca768ec270c057b5e05696b5aa7b24c7 (plain)
1
2
3
4
5
6
7
8
; 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
}
OpenPOWER on IntegriCloud