From: Aaron Ballman Date: Mon, 6 Dec 2021 18:51:26 +0000 (-0500) Subject: Fix a failing test case after 6c75ab5f66b403f7ca67e86aeed3a58abe10570b X-Git-Tag: upstream/15.0.7~23866 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ef8ad08db6c154f14c0e060b71106dacd8f29fd;p=platform%2Fupstream%2Fllvm.git 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. --- diff --git a/clang/test/Sema/builtins-elementwise-math.c b/clang/test/Sema/builtins-elementwise-math.c index 1825d0c..19e9c00 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;