[llvm] 01d7a18 - [llvm] Add missing dependency of libLLVMCodeGen on vt_gen

Jon Roelofs via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 16:03:04 PST 2024


Author: Jon Roelofs
Date: 2024-12-17T17:02:55-07:00
New Revision: 01d7a187a4a80afc77300641ab5a86b271e8343f

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

LOG: [llvm] Add missing dependency of libLLVMCodeGen on vt_gen

```
llvm-project/llvm/include/llvm/CodeGenTypes/MachineValueType.h:43:10: fatal error: 'llvm/CodeGen/GenVT.inc' file not found
   43 | #include "llvm/CodeGen/GenVT.inc"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
```

rdar://141643651

Added: 
    

Modified: 
    llvm/lib/CodeGen/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/CMakeLists.txt b/llvm/lib/CodeGen/CMakeLists.txt
index 7b47c0e6f75dbe..145fd2fac8b564 100644
--- a/llvm/lib/CodeGen/CMakeLists.txt
+++ b/llvm/lib/CodeGen/CMakeLists.txt
@@ -263,6 +263,7 @@ add_llvm_component_library(LLVMCodeGen
 
   DEPENDS
   intrinsics_gen
+  vt_gen
   ${MLDeps}
 
   LINK_COMPONENTS


        


More information about the llvm-commits mailing list