64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
13 lines
216 B
LLVM
13 lines
216 B
LLVM
; 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 }
|