1 ; RUN: llc -march=hexagon -disable-hsdr -hexagon-bit=0 < %s | FileCheck %s
2 ; CHECK: combine(r{{[0-9]+}},r{{[0-9]+}})
4 @j = external global i32
5 @k = external global i64
7 define void @foo() nounwind {
9 %0 = load i32, i32* @j, align 4
10 %1 = load i64, i64* @k, align 8
11 %conv = trunc i64 %1 to i32
12 %2 = call i64 @llvm.hexagon.A2.combinew(i32 %0, i32 %conv)
13 store i64 %2, i64* @k, align 8
17 declare i64 @llvm.hexagon.A2.combinew(i32, i32) nounwind readnone