[clang] [clang] constexpr built-in elementwise popcount function. (PR #117473)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 25 04:26:07 PST 2024


================
@@ -666,40 +666,16 @@ void test_builtin_elementwise_log2(float f1, float f2, double d1, double d2,
   vf2 = __builtin_elementwise_log2(vf1);
 }
 
-void test_builtin_elementwise_popcount(si8 vi1, si8 vi2,
-                                  long long int i1, long long int i2, short si,
-                                  _BitInt(31) bi1, _BitInt(31) bi2) {
-
-  
-  // CHECK:      [[I1:%.+]] = load i64, ptr %i1.addr, align 8
----------------
Fznamznon wrote:

Did the IR change for the whole function?
Could you please reflect that in the new checks instead of simply removing the old checks?

https://github.com/llvm/llvm-project/pull/117473


More information about the cfe-commits mailing list