[CMake] LTO depends on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Fri, 18 Nov 2016 23:03:51 +0000 (23:03 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 18 Nov 2016 23:03:51 +0000 (23:03 +0000)
commitcaf299ffe179e059f8f37534f3150ebf10b7159c
tree9e4d991628439b201ce22f62a391372112643287
parentae3c4eec5ab73bf4635939b938eaf4bdbfc6b12b
[CMake] LTO depends on intrinsics_gen

lto.cpp has the following include chain:

llvm/Bitcode/BitcodeReader.h
llvm/IR/ModuleSummaryIndex.h
llvm/IR/Module.h
llvm/IR/Function.h
llvm/IR/Argument.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means LTO needs to depend on intrinsics_gen.

llvm-svn: 287393
llvm/tools/lto/CMakeLists.txt