]> granicus.if.org Git - llvm/commit
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)
commita962145e3d2c06e789869997d070f51b222ee1d3
tree8e5dfe616a4cb82e301ea9cb73657a0b0fe9e5e3
parent10d547a3ef5068d7e71a3fa66ded97a0a9e84938
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366612 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/LLVM-Config.cmake