1 ; RUN: llc -march=hexagon -hexagon-small-data-threshold=0 -disable-hexagon-amodeopt -hexagon-cext-threshold=1 < %s | FileCheck %s
2 ; Check commoning of global addresses.
4 @g0 = external global i32
6 ; Function Attrs: nounwind
7 define zeroext i32 @f0() #0 {
11 %v0 = load i32, i32* @g0, align 1
12 %v1 = mul nsw i32 100, %v0
13 store i32 %v1, i32* @g0, align 1
17 attributes #0 = { nounwind }