[PATCH] Add InstCombine to CMake.

Fixes build of bugpoint, llvm-ld and opt.

OK for commit?

Fixes build of bugpoint, llvm-ld and opt.

OK for commit?

Looks good for me

Tobias Grosser <grosser@fim.uni-passau.de> writes:

Fixes build of bugpoint, llvm-ld and opt.

Douglas Gregor in r92519 introduced a fix that looks more correct to
me. Please check that it works for you (use a pristine build directory).a

Generally speaking, LLVM_LINK_COMPONENTS shouldn't be used for linking a
library when that library is an implicit dependence of other libraries
listed on that macro.