mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
e97165901e
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171730 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
379 B
LLVM
13 lines
379 B
LLVM
; RUN: llc < %s -mtriple=thumb-apple-darwin | FileCheck %s
|
|
; Test the GlobalMerge pass. Check that the pass does not crash when using
|
|
; multiple address spaces.
|
|
|
|
; CHECK: _MergedGlobals:
|
|
@g1 = internal addrspace(1) global i32 1
|
|
@g2 = internal addrspace(1) global i32 2
|
|
|
|
|
|
; CHECK: _MergedGlobals1:
|
|
@g3 = internal addrspace(2) global i32 3
|
|
@g4 = internal addrspace(2) global i32 4
|