mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
9 lines
160 B
LLVM
9 lines
160 B
LLVM
|
; RUN: llvm-as < %s | opt -dse | llvm-dis | grep {volatile load}
|
||
|
|
||
|
@g_1 = global i32 0
|
||
|
|
||
|
define void @foo() nounwind {
|
||
|
%t = volatile load i32* @g_1
|
||
|
ret void
|
||
|
}
|