[Mlir-commits] [mlir] b925509 - Fix MLIR build after D136931

Slava Zakharin llvmlistbot at llvm.org
Fri Oct 28 17:51:35 PDT 2022


Author: Slava Zakharin
Date: 2022-10-28T17:50:11-07:00
New Revision: b9255099382d0121e567979e7d5b4ca1328b4a41

URL: https://github.com/llvm/llvm-project/commit/b9255099382d0121e567979e7d5b4ca1328b4a41
DIFF: https://github.com/llvm/llvm-project/commit/b9255099382d0121e567979e7d5b4ca1328b4a41.diff

LOG: Fix MLIR build after D136931

ld.lld: error: undefined symbol: mlir::extractFromI64ArrayAttr(mlir::Attribute)
>>> referenced by NVVMToLLVMIRTranslation.cpp:142
  (/llvm-project/mlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp:142)
>>> referenced by NVVMToLLVMIRTranslation.cpp:152
  (/llvm-project/mlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp:152)

Added: 
    

Modified: 
    mlir/lib/Target/LLVMIR/Dialect/NVVM/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Target/LLVMIR/Dialect/NVVM/CMakeLists.txt b/mlir/lib/Target/LLVMIR/Dialect/NVVM/CMakeLists.txt
index a836c1aa5cffe..9f3935b0c3f47 100644
--- a/mlir/lib/Target/LLVMIR/Dialect/NVVM/CMakeLists.txt
+++ b/mlir/lib/Target/LLVMIR/Dialect/NVVM/CMakeLists.txt
@@ -8,6 +8,7 @@ add_mlir_translation_library(MLIRNVVMToLLVMIRTranslation
   Core
 
   LINK_LIBS PUBLIC
+  MLIRDialectUtils
   MLIRIR
   MLIRLLVMDialect
   MLIRNVVMDialect


        


More information about the Mlir-commits mailing list