mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
11 lines
244 B
LLVM
11 lines
244 B
LLVM
|
; RUN: opt -globalopt < %s -S -o - | FileCheck %s
|
||
|
|
||
|
@GV1 = internal global i64 1
|
||
|
; CHECK: @GV1 = internal unnamed_addr constant i64 1
|
||
|
|
||
|
define void @test1() {
|
||
|
entry:
|
||
|
%0 = load atomic i8* bitcast (i64* @GV1 to i8*) acquire, align 8
|
||
|
ret void
|
||
|
}
|