[llvm-branch-commits] [llvm] [LoongArch] Add TTI support for cpop with LSX (PR #106961)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Sep 6 00:48:04 PDT 2024


https://github.com/wangleiat updated https://github.com/llvm/llvm-project/pull/106961

>From 456935df7a65147dce6fbb8da8e60094ed647161 Mon Sep 17 00:00:00 2001
From: wanglei <wanglei at loongson.cn>
Date: Mon, 2 Sep 2024 17:59:38 +0800
Subject: [PATCH] remove debug msg

Created using spr 1.3.5-bogner
---
 llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.cpp b/llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.cpp
index 3b227fd7e4345c..5fbc7c734168d1 100644
--- a/llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.cpp
+++ b/llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.cpp
@@ -86,7 +86,6 @@ const char *LoongArchTTIImpl::getRegisterClassName(unsigned ClassID) const {
 TargetTransformInfo::PopcntSupportKind
 LoongArchTTIImpl::getPopcntSupport(unsigned TyWidth) {
   assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2");
-  llvm::errs() << "XXX: " << TyWidth << "\n";
   return ST->hasExtLSX() ? TTI::PSK_FastHardware : TTI::PSK_Software;
 }
 



More information about the llvm-branch-commits mailing list