[llvm] 995d21b - [SelectOpt] Print instruction instead of pointer
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 31 21:12:44 PST 2024
Author: wangpc
Date: 2024-02-01T13:10:52+08:00
New Revision: 995d21bc6ff2220b2887cf9640d936eb99b3c617
URL: https://github.com/llvm/llvm-project/commit/995d21bc6ff2220b2887cf9640d936eb99b3c617
DIFF: https://github.com/llvm/llvm-project/commit/995d21bc6ff2220b2887cf9640d936eb99b3c617.diff
LOG: [SelectOpt] Print instruction instead of pointer
Pull Request: https://github.com/llvm/llvm-project/pull/80125
Added:
Modified:
llvm/lib/CodeGen/SelectOptimize.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectOptimize.cpp b/llvm/lib/CodeGen/SelectOptimize.cpp
index 9c720864358e0..31c4b63698b5d 100644
--- a/llvm/lib/CodeGen/SelectOptimize.cpp
+++ b/llvm/lib/CodeGen/SelectOptimize.cpp
@@ -847,7 +847,7 @@ void SelectOptimizeImpl::findProfitableSIGroupsInnerLoops(
bool SelectOptimizeImpl::isConvertToBranchProfitableBase(
const SelectGroup &ASI) {
SelectLike SI = ASI.front();
- LLVM_DEBUG(dbgs() << "Analyzing select group containing " << SI.getI()
+ LLVM_DEBUG(dbgs() << "Analyzing select group containing " << *SI.getI()
<< "\n");
OptimizationRemark OR(DEBUG_TYPE, "SelectOpti", SI.getI());
OptimizationRemarkMissed ORmiss(DEBUG_TYPE, "SelectOpti", SI.getI());
More information about the llvm-commits
mailing list