mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
64e756bd07
This reapplies this patch, with test fixes. llvm-svn: 252871
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 }
|