llvm/test/CodeGen/AArch64/tailcall_misched_graph.ll: s/REQUIRE/REQUIRES/
[oota-llvm.git] / test / CodeGen / Hexagon / vaddh.ll
1 ; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s
2 ; CHECK: vaddh(r{{[0-9]+}}, r{{[0-9]+}})
3
4 @j = external global i32
5 @k = external global i32
6
7 define void @foo() nounwind {
8 entry:
9   %0 = load i32, i32* @j, align 4
10   %1 = load i32, i32* @k, align 4
11   %2 = call i32 @llvm.hexagon.A2.svaddh(i32 %0, i32 %1)
12   store i32 %2, i32* @k, align 4
13   ret void
14 }
15
16 declare i32 @llvm.hexagon.A2.svaddh(i32, i32) nounwind readnone