aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/DeadStoreElimination/volatile-load.ll
blob: 59a1129348b9b24f349ecc667f84efe03b51d681 (plain)
1
2
3
4
5
6
7
8
; RUN: opt < %s -dse -S | grep {volatile load}

@g_1 = global i32 0

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