File tree Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ add_clang_library(MLIRCIRTransforms
1414  SCFPrepare.cpp
1515  CallConvLowering.cpp
1616  HoistAllocas.cpp
17+   MLIRLoweringPrepare.cpp
1718
1819  DEPENDS 
1920  MLIRCIRPassIncGen
Original file line number Diff line number Diff line change 1+ // ===- MLIRLoweringPrepare.cpp - Lowering from CIR to LLVMIR --------------===//
2+ // 
3+ //  Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+ //  See https://llvm.org/LICENSE.txt for license information.
5+ //  SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+ // 
7+ // ===----------------------------------------------------------------------===//
8+ // 
9+ //  This file contains helper function for implementing
10+ //  lowering of CIR operations to LLVMIR.
11+ // 
12+ // ===----------------------------------------------------------------------===//
13+ 
114#include  " mlir/IR/BuiltinOps.h" 
215#include  " mlir/IR/IRMapping.h" 
316#include  " mlir/Pass/Pass.h" 
@@ -109,4 +122,4 @@ std::unique_ptr<mlir::Pass> createMLIRLoweringPreparePass() {
109122  return  std::make_unique<MLIRLoweringPrepare>();
110123}
111124
112- } //  namespace cir
125+ } //  namespace cir
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ add_clang_library(clangCIRLoweringThroughMLIR
99  LowerCIRLoopToSCF.cpp
1010  LowerCIRToMLIR.cpp
1111  LowerMLIRToLLVM.cpp
12-   MLIRLoweringPrepare.cpp
1312
1413  DEPENDS 
1514  MLIRCIROpsIncGen
Original file line number Diff line number Diff line change 1- // ==== - LowerCIRToMLIR.cpp - Lowering from CIR to MLIR --------------------===//
1+ // ===- LowerCIRToMLIR.cpp - Lowering from CIR to MLIR - --------------------===//
22// 
33//  Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44//  See https://llvm.org/LICENSE.txt for license information.
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments