1; RUN: llc < %s -mtriple=thumb-apple-darwin -arm-global-merge -global-merge-group-by-use=false | FileCheck %s 2; Test the GlobalMerge pass. Check that the pass does not crash when using 3; multiple address spaces. 4 5; CHECK: _MergedGlobals: 6@g1 = internal addrspace(1) global i32 1 7@g2 = internal addrspace(1) global i32 2 8 9 10; CHECK: _MergedGlobals.1: 11@g3 = internal addrspace(2) global i32 3 12@g4 = internal addrspace(2) global i32 4 13