brintos

brintos / llvm-project-archived public Read only

0
0
Text · 431 B · 8f40a4c Raw
13 lines · plain
1; RUN: llc < %s -mtriple=thumb-apple-darwin -arm-global-merge -global-merge-group-by-use=false | FileCheck %s2; Test the GlobalMerge pass. Check that the pass does not crash when using3; multiple address spaces.4 5; CHECK: _MergedGlobals:6@g1 = internal addrspace(1) global i32 17@g2 = internal addrspace(1) global i32 28 9 10; CHECK: _MergedGlobals.1:11@g3 = internal addrspace(2) global i32 312@g4 = internal addrspace(2) global i32 413