[all-commits] [llvm/llvm-project] 79cfb6: [SDPatternMatch] Implement conditionally binding a...
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Sep 23 12:51:34 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 79cfb6f2871f3bc5a75697e29e4ac110605a1a9f
https://github.com/llvm/llvm-project/commit/79cfb6f2871f3bc5a75697e29e4ac110605a1a9f
Author: Craig Topper <craig.topper at sifive.com>
Date: 2026-09-23 (Wed, 23 Sep 2026)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
Log Message:
-----------
[SDPatternMatch] Implement conditionally binding a value by using m_AllOf. NFC (#225559)
Making the predicate part of Value_bind has a non-zero code size and
compile time impact. I assume this is because the non conditional
m_Value needs a dummy predicate.
This patch removes the predicate from Value_bind and uses a m_AllOf so
we only pay for the predicate when we need it. This matches how this is
currently done in IR PatternMatch.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list