1 // REQUIRES: hexagon-registered-target
3 // RUN: %clang_cc1 -O0 -internal-isystem %S/../../lib/Headers/ \
4 // RUN: -target-cpu hexagonv68 -triple hexagon-unknown-elf \
5 // RUN: -emit-llvm %s -o - | FileCheck %s
7 // RUN: %clang_cc1 -O0 -internal-isystem %S/../../lib/Headers/ \
8 // RUN: -target-cpu hexagonv68 -triple hexagon-unknown-elf -x c++ \
9 // RUN: -emit-llvm %s -o - | FileCheck %s
11 #include <hexagon_protos.h>
13 // expected-no-diagnostics
15 void test_protos(float a
, unsigned int b
) {
17 // CHECK: call i64 @llvm.hexagon.A2.absp
24 // CHECK: call i32 @llvm.hexagon.Y6.dmpoll
26 // CHECK: call i32 @llvm.hexagon.Y6.dmpause