Fix a latent bug discovered by r366610: nativecodegen includes X86CodeGen when X86...
authorDaniel Sanders <daniel_l_sanders@apple.com>
Fri, 19 Jul 2019 20:58:11 +0000 (20:58 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Fri, 19 Jul 2019 20:58:11 +0000 (20:58 +0000)
commit4933c717ecbebb235b99f9e7ab6e49c6e18af5b8
tree8bdfcd4673c42d6d92266ebbb94d71924d7b2297
parent18230ecf7ef35858facc20ab2bb0d84fe66e12d7
Fix a latent bug discovered by r366610: nativecodegen includes X86CodeGen when X86 is not compiled

I believe this to have been a latent bug as the same expansion checks for the
existence of ${native_tgt}Info and ${native_tgt}Desc and only adds them if
they were compiled but unconditionally adds ${native_tgt}CodeGen.

This should fix llvm-clang-x86_64-win-fast which builds ARM only on an X86 host and similar builders.

llvm-svn: 366612
llvm/cmake/modules/LLVM-Config.cmake