[llvm] [AArch64] Replace uaddlv with addv for popcount operation (PR #121934)

Usha Gupta via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 9 05:17:42 PST 2025


================
@@ -243,6 +254,30 @@ define void @ctpop_i64() {
 }
 
 
+define i64 @popcnt(i64 %a, ptr %p) {
----------------
usha1830 wrote:

The only difference is the use of volatile in the above `@ctpop_i64` . But no difference in the output. Perhaps, I can remove this.

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


More information about the llvm-commits mailing list