18 lines · plain
1; RUN: llc -mtriple=hexagon -hexagon-small-data-threshold=0 -disable-hexagon-amodeopt -hexagon-cext-threshold=1 < %s | FileCheck %s2; Check commoning of global addresses.3 4@g0 = external global i325 6; Function Attrs: nounwind7define zeroext i32 @f0() #0 {8b0:9; CHECK: ##g010; CHECK-NOT: ##g011 %v0 = load i32, ptr @g0, align 112 %v1 = mul nsw i32 100, %v013 store i32 %v1, ptr @g0, align 114 ret i32 %v115}16 17attributes #0 = { nounwind }18