mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
00acf97feb
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50370 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|