blob: 8ac9637a86bd13cb4f67b21dc085ab703bf88dcc (
plain)
1
2
3
4
5
6
7
8
9
|
; RUN: llvm-as < %s | opt -globalsmodref-aa -markmodref | llvm-dis | not grep read
; PR2792
@g = global i32 0 ; <i32*> [#uses=1]
define i32 @f() {
%t = volatile load i32* @g ; <i32> [#uses=1]
ret i32 %t
}
|