1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 14:02:52 +02:00
llvm-mirror/test/Transforms/FunctionAttrs/2010-10-30-volatile.ll

13 lines
216 B
LLVM
Raw Normal View History

; RUN: opt < %s -functionattrs -S | FileCheck %s
; PR8279
@g = constant i32 1
define void @foo() {
; CHECK: void @foo() #0 {
%tmp = load volatile i32, i32* @g
ret void
}
; CHECK: attributes #0 = { norecurse }