[llvm] [VPlan] Add m_Deferred. NFC (PR #133736)
    Ramkumar Ramachandra via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar 31 08:32:33 PDT 2025
    
    
  
================
@@ -66,6 +66,27 @@ struct specificval_ty {
 
 inline specificval_ty m_Specific(const VPValue *VPV) { return VPV; }
 
+/// Stores a reference to the VPValue *, not the VPValue * itself,
+/// thus can be used in commutative matchers.
+template <typename Class> struct deferredval_ty {
----------------
artagnon wrote:
Is it necessary to match over anything else other than VPValue? Doesn't the name deferredval_ty imply that we're matching a value?
https://github.com/llvm/llvm-project/pull/133736
    
    
More information about the llvm-commits
mailing list