Author: Jan Leyonberg
Date: 2026-03-31T16:04:41-04:00
New Revision: cd8a8e953adb6f7ef000d8f67be21cb362d6dc9c

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

LOG: [CIR] Add OpenMP and OpenACC dialect dependencies (#189726)

This patch adds dependencies on OpenMP and OpenACC dialects to prevent
link errors when compiling with shared libraries.

Added: 
    

Modified: 
    clang/lib/CIR/Dialect/Transforms/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/clang/lib/CIR/Dialect/Transforms/CMakeLists.txt 
b/clang/lib/CIR/Dialect/Transforms/CMakeLists.txt
index 411bbc386b9d1..092ccfac7ddb7 100644
--- a/clang/lib/CIR/Dialect/Transforms/CMakeLists.txt
+++ b/clang/lib/CIR/Dialect/Transforms/CMakeLists.txt
@@ -27,4 +27,6 @@ add_clang_library(MLIRCIRTransforms
   MLIRCIR
   MLIRCIRInterfaces
   MLIRCIRTargetLowering
+  MLIROpenACCDialect
+  MLIROpenMPDialect
 )


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to