Fix a failing test case after 6c75ab5f66b403f7ca67e86aeed3a58abe10570b
authorAaron Ballman <aaron@aaronballman.com>
Mon, 6 Dec 2021 18:51:26 +0000 (13:51 -0500)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 6 Dec 2021 18:53:43 +0000 (13:53 -0500)
The test is the same whether it's testing _BitInt or _ExtInt, so use
the type which is not deprecated.

clang/test/Sema/builtins-elementwise-math.c

index 1825d0c..19e9c00 100644 (file)
@@ -60,7 +60,7 @@ void test_builtin_elementwise_max(int i, short s, double d, float4 v, int3 iv, i
   enum f { three };
   enum f x = __builtin_elementwise_max(one, three);
 
-  _ExtInt(32) ext;
+  _BitInt(32) ext;
   ext = __builtin_elementwise_max(ext, ext);
 
   const int ci;
@@ -112,7 +112,7 @@ void test_builtin_elementwise_min(int i, short s, double d, float4 v, int3 iv, i
   enum f { three };
   enum f x = __builtin_elementwise_min(one, three);
 
-  _ExtInt(32) ext;
+  _BitInt(32) ext;
   ext = __builtin_elementwise_min(ext, ext);
 
   const int ci;