cbalint13 opened a new pull request, #15638:
URL: https://github.com/apache/tvm/pull/15638

   Hi folks,
   
   Some fixes for MLIR based analyzer module introduced by #14690 .
   
   ---
   
   * Make CMake at par with LLVM info:
   ```
   {...}
   -- Use llvm-config=llvm-config-64
   -- LLVM libdir: /usr/lib64
   -- Found MLIR
   -- Build with MLIR
   -- Set TVM_MLIR_VERSION=160
   -- Found LLVM_INCLUDE_DIRS=/usr/include
   {...}
   --    USE_MKL                            : OFF
   --    USE_MLIR                           : ON
   --    USE_MSVC_MT                        : OFF
   {...}
   ```
   
   * Fix several compilation errors:
   ```
   error: cannot convert 'llvm::SmallVector<long int>' to 
'llvm::ArrayRef<mlir::presburger::MPInt>'
   error: no matching function for call to 
'tvm::IntImm::IntImm(tvm::runtime::DataType, mlir::presburger::MPInt&)'
   note:   no known conversion for argument 2 from 'mlir::presburger::MPInt' to 
'int64_t' {aka 'long int'}
   ```
   
   Using ```llvm/mlir 16.0.6``` /  ```gcc-c++-13.2.1```on my side.
   
   Thanks,
   ~Cristian.
   
   Cc @multiverstack-intellif , @wrongtest-intellif , @vinx13, @Hzfengsy , 
@junrushao , @tqchen 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to