Author: Aaron Ballman
Date: 2021-12-06T13:53:43-05:00
New Revision: 0ef8ad08db6c154f14c0e060b71106dacd8f29fd

URL: 
https://github.com/llvm/llvm-project/commit/0ef8ad08db6c154f14c0e060b71106dacd8f29fd
DIFF: 
https://github.com/llvm/llvm-project/commit/0ef8ad08db6c154f14c0e060b71106dacd8f29fd.diff

LOG: Fix a failing test case after 6c75ab5f66b403f7ca67e86aeed3a58abe10570b

The test is the same whether it's testing _BitInt or _ExtInt, so use
the type which is not deprecated.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang/test/Sema/builtins-elementwise-math.c 
b/clang/test/Sema/builtins-elementwise-math.c
index 1825d0c684965..19e9c008b3353 100644
--- a/clang/test/Sema/builtins-elementwise-math.c
+++ b/clang/test/Sema/builtins-elementwise-math.c
@@ -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;


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to