1 ; RUN: opt < %s -scalarrepl -S | grep {volatile load}
2 ; RUN: opt < %s -scalarrepl -S | grep {volatile store}
4 define i32 @voltest(i32 %T) {
6 %B = getelementptr {i32,i32}* %A, i32 0, i32 0
7 volatile store i32 %T, i32* %B
9 %C = getelementptr {i32,i32}* %A, i32 0, i32 1
10 %X = volatile load i32* %C