[llvm] [SPARC] Add TTI implementation for getPopcntSupport (PR #178843)

via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 9 07:18:31 PST 2026


================
@@ -0,0 +1,526 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt -passes=loop-idiom -mtriple=sparc -mattr=+v9,+popc -S < %s | FileCheck %s --check-prefixes=SPARC-CPOP
+; RUN: opt -passes=loop-idiom -mtriple=sparcv9 -mattr=+popc -S < %s | FileCheck %s --check-prefixes=SPARC64-CPOP
----------------
koachan wrote:

Aside from some placeholder names everything is exactly the same, it seems.
I'll use a common prefix then, thanks.

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


More information about the llvm-commits mailing list