11 lines
168 B
LLVM
11 lines
168 B
LLVM
|
; RUN: opt < %s -functionattrs -S | FileCheck %s
|
||
|
; PR8279
|
||
|
|
||
|
@g = constant i32 1
|
||
|
|
||
|
define void @foo() {
|
||
|
; CHECK: void @foo() {
|
||
|
%tmp = load volatile i32* @g
|
||
|
ret void
|
||
|
}
|