1 ; RUN: llc -march=hexagon -hexagon-cext=0 < %s | FileCheck %s
3 @i65_l = external global i65
4 @i65_s = external global i65
5 @i129_l = external global i129
6 @i129_s = external global i129
9 ; CHECK-DAG: r[[REG0:[0-9:]+]] = memd(##i129_l)
10 ; CHECK-DAG: r[[REG1:[0-9:]+]] = memd(##i129_l+8)
11 ; CHECK-DAG: r[[REG2:[0-9]+]] = memub(##i129_l+16)
12 ; CHECK-DAG: memb(##i129_s+16) = r[[REG2]]
13 ; CHECK-DAG: memd(##i129_s+8) = r[[REG1]]
14 ; CHECK-DAG: memd(##i129_s) = r[[REG0]]
15 define void @i129_ls() nounwind {
16 %tmp = load i129, ptr @i129_l
17 store i129 %tmp, ptr @i129_s
22 ; CHECK-DAG: r[[REG0:[0-9:]+]] = memd(##i65_l)
23 ; CHECK-DAG: r[[REG1:[0-9]+]] = memub(##i65_l+8)
24 ; CHECK-DAG: memd(##i65_s) = r[[REG0]]
25 ; CHECK-DAG: memb(##i65_s+8) = r[[REG1]]
26 define void @i65_ls() nounwind {
27 %tmp = load i65, ptr @i65_l
28 store i65 %tmp, ptr @i65_s