[llvm] [VPlan] Add VPIRBasicBlock, use to model pre-preheader. (PR #93398)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue May 28 11:27:21 PDT 2024
    
    
  
================
@@ -473,7 +473,7 @@ class VPBlockBase {
   /// that are actually instantiated. Values of this enumeration are kept in the
   /// SubclassID field of the VPBlockBase objects. They are used for concrete
   /// type identification.
-  using VPBlockTy = enum { VPBasicBlockSC, VPRegionBlockSC };
+  using VPBlockTy = enum { VPBasicBlockSC, VPRegionBlockSC, VPIRBasicBlockSC };
----------------
ayalz wrote:
```suggestion
  using VPBlockTy = enum { VPRegionBlockSC, VPBasicBlockSC, VPIRBasicBlockSC };
```
nit: order more logical?
https://github.com/llvm/llvm-project/pull/93398
    
    
More information about the llvm-commits
mailing list