mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
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 = volatile load i32* @g
|
||
|
ret void
|
||
|
}
|