diff options
author | wangpc <wangpengcheng.pp@bytedance.com> | 2024-01-31 18:16:22 +0800 |
---|---|---|
committer | wangpc <wangpengcheng.pp@bytedance.com> | 2024-02-01 13:10:52 +0800 |
commit | 995d21bc6ff2220b2887cf9640d936eb99b3c617 (patch) | |
tree | ea56419d7b6514e5da1504a19b0fe519bd7b1ca5 | |
parent | 19a10c13e53f4fb7dfecf400bf0ba9f18942e061 (diff) |
[SelectOpt] Print instruction instead of pointer
Pull Request: https://github.com/llvm/llvm-project/pull/80125
-rw-r--r-- | llvm/lib/CodeGen/SelectOptimize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectOptimize.cpp b/llvm/lib/CodeGen/SelectOptimize.cpp index 9c720864358e..31c4b63698b5 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()); |