mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 23:18:51 +00:00
29020c0a61
This reapplies this patch, with test fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252871 91177308-0d34-0410-b5e6-96231b3b80d8
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 }
|