File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed 
utils/bazel/llvm-project-overlay/mlir/python Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -1428,6 +1428,31 @@ filegroup(
14281428    srcs  =  glob (["mlir/dialects/transform/interpreter/*.py" ]),
14291429)
14301430
1431+ ##---------------------------------------------------------------------------## 
1432+ # UB dialect. 
1433+ ##---------------------------------------------------------------------------## 
1434+ 
1435+ gentbl_filegroup (
1436+     name  =  "UbOpsPyGen" ,
1437+     tbl_outs  =  {"mlir/dialects/_ub_ops_gen.py" : [
1438+         "-gen-python-op-bindings" ,
1439+         "-bind-dialect=ub" ,
1440+     ]},
1441+     tblgen  =  "//mlir:mlir-tblgen" ,
1442+     td_file  =  "mlir/dialects/UBOps.td" ,
1443+     deps  =  [
1444+         "//mlir:UBDialectTdFiles" ,
1445+     ],
1446+ )
1447+ 
1448+ filegroup (
1449+     name  =  "UbPyFiles" ,
1450+     srcs  =  [
1451+         "mlir/dialects/ub.py" ,
1452+         ":UbOpsPyGen" ,
1453+     ],
1454+ )
1455+ 
14311456##---------------------------------------------------------------------------## 
14321457# Vector dialect. 
14331458##---------------------------------------------------------------------------## 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments