brintos

brintos / llvm-project-archived public Read only

0
0
Text · 371 B · 033d26b Raw
10 lines · c
1// RUN: %clang_cc1 -triple arm64-apple-darwin -target-feature +neon -Wvector-conversion -fsyntax-only -ffreestanding -verify %s2 3// REQUIRES: aarch64-registered-target || arm-registered-target4 5#include <arm_neon.h>6 7int16x8_t foo(uint8x8_t p0, int16x8_t p1) {8  return vqmovun_high_s16(p0, p1); // expected-warning {{incompatible vector types returning 'uint8x16_t'}}9}10