[llvm] Fixes inlining issue in armv7 (PR #169337)

David Green via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 03:55:40 PST 2025


================
@@ -102,6 +102,53 @@ bool ARMTTIImpl::areInlineCompatible(const Function *Caller,
   // the callers'.
   bool MatchSubset = ((CallerBits & CalleeBits) & InlineFeaturesAllowed) ==
                      (CalleeBits & InlineFeaturesAllowed);
+
+  LLVM_DEBUG({
----------------
davemgreen wrote:

Can we make all this debug output only emit if the matching fails?

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


More information about the llvm-commits mailing list