[clang] 793ded7 - Fix failing test caused by b70d327

Tex Riddell via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 1 18:05:23 PDT 2024


Author: Tex Riddell
Date: 2024-10-01T18:05:05-07:00
New Revision: 793ded7d0b7f1407636a98007f83074b8dd5f765

URL: https://github.com/llvm/llvm-project/commit/793ded7d0b7f1407636a98007f83074b8dd5f765
DIFF: https://github.com/llvm/llvm-project/commit/793ded7d0b7f1407636a98007f83074b8dd5f765.diff

LOG: Fix failing test caused by b70d327

`clang/test/Sema/aarch64-sve-vector-trig-ops.c` wasn't updated when merging PR #110187, which changed the expected diagnostics for the atan2 test.

Added: 
    

Modified: 
    clang/test/Sema/aarch64-sve-vector-trig-ops.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Sema/aarch64-sve-vector-trig-ops.c b/clang/test/Sema/aarch64-sve-vector-trig-ops.c
index 31f608bf151099..3fe6834be2e0b7 100644
--- a/clang/test/Sema/aarch64-sve-vector-trig-ops.c
+++ b/clang/test/Sema/aarch64-sve-vector-trig-ops.c
@@ -25,7 +25,7 @@ svfloat32_t test_atan_vv_i8mf8(svfloat32_t v) {
 svfloat32_t test_atan2_vv_i8mf8(svfloat32_t v) {
 
   return __builtin_elementwise_atan2(v, v);
-  // expected-error at -1 {{1st argument must be a vector, integer or floating point type}}
+  // expected-error at -1 {{1st argument must be a floating point type}}
 }
 
 svfloat32_t test_sin_vv_i8mf8(svfloat32_t v) {


        


More information about the cfe-commits mailing list