| Bob Wilson | 5ceace4 | 2010-12-02 00:25:18 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -verify %s |
| 2 | // RUN: %clang_cc1 -x c++ -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -verify %s | ||||
| 3 | |||||
| 4 | #include <arm_neon.h> | ||||
| 5 | |||||
| 6 | // Radar 8228022: Should not report incompatible vector types. | ||||
| 7 | int32x2_t test(int32x2_t x) { | ||||
| 8 | return vshr_n_s32(x, 31); | ||||
| 9 | } | ||||