[llvm] 8f1e11c - [gn build] Unbreak link after 9ebaf4fef4aac89

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 9 07:56:06 PST 2022


Author: Nico Weber
Date: 2022-12-09T10:55:24-05:00
New Revision: 8f1e11c5a7d70f96943a72649daa69f152d73e90

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

LOG: [gn build] Unbreak link after 9ebaf4fef4aac89

9ebaf4fef4aac89 removed one of two redundant deps in CMake, but it removed the
one dep in the GN build. Since the CMake build still has the dep, so should the
GN build. (Things don't link without it.)

Added: 
    

Modified: 
    llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn
index 6724dca8aae50..163ccc4e3cc6d 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn
@@ -14,6 +14,7 @@ static_library("IPO") {
     "//llvm/lib/Transforms/AggressiveInstCombine",
     "//llvm/lib/Transforms/InstCombine",
     "//llvm/lib/Transforms/Instrumentation",
+    "//llvm/lib/Transforms/Scalar",
     "//llvm/lib/Transforms/Utils",
     "//llvm/lib/Transforms/Vectorize",
   ]


        


More information about the llvm-commits mailing list