You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.247
Former-commit-id: 2d6af2e4ed0eda5cbdc2946446ef7718456ad190
This commit is contained in:
parent
279aa8f685
commit
ce8e504569
@ -1,20 +0,0 @@
|
||||
; RUN: opt -global-merge -global-merge-max-offset=100 -S -o - %s | FileCheck %s
|
||||
|
||||
target datalayout = "e-p:64:64"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
||||
; CHECK: @_MergedGlobals = private global { i32, i32 } { i32 1, i32 2 }
|
||||
|
||||
; CHECK: @a = internal alias i32, getelementptr inbounds ({ i32, i32 }, { i32, i32 }* @_MergedGlobals, i32 0, i32 0)
|
||||
@a = internal global i32 1
|
||||
|
||||
; CHECK: @b = internal alias i32, getelementptr inbounds ({ i32, i32 }, { i32, i32 }* @_MergedGlobals, i32 0, i32 1)
|
||||
@b = internal global i32 2
|
||||
|
||||
define void @use() {
|
||||
; CHECK: load i32, i32* getelementptr inbounds ({ i32, i32 }, { i32, i32 }* @_MergedGlobals, i32 0, i32 0)
|
||||
%x = load i32, i32* @a
|
||||
; CHECK: load i32, i32* getelementptr inbounds ({ i32, i32 }, { i32, i32 }* @_MergedGlobals, i32 0, i32 1)
|
||||
%y = load i32, i32* @b
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user