diff options
author | Quentin Colombet <qcolombet@apple.com> | 2016-07-21 17:26:47 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2016-07-21 17:26:47 +0000 |
commit | a4bcc3f069861f85365bb9076629940cff8d018f (patch) | |
tree | b5b1d84f7fced37a81670e9ee6d51bde20584698 /llvm/lib/CodeGen/GlobalISel | |
parent | c8df88c9b5de8ba52da02d8f68cc96a83eb09263 (diff) | |
download | bcm5719-llvm-a4bcc3f069861f85365bb9076629940cff8d018f.tar.gz bcm5719-llvm-a4bcc3f069861f85365bb9076629940cff8d018f.zip |
[llvm-config][GlobalISel] Canonicalize LLVM_HAS_GLOBAL_ISEL on ON/OFF.
Previously LLVM_HAS_GLOBAL_ISEL would directly get the value of
LLVM_BUILD_GLOBAL_ISEL. This could be any integer value and not just ON
and OFF. The problem is that lit.cfg was checking for ON to define that
global-isel was supported, thus if we were setting
LLVM_BUILD_GLOBAL_ISEL with an integer value, say 1, this test would
fail whereas we do build global-isel and want to test it.
llvm-svn: 276307
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel')
0 files changed, 0 insertions, 0 deletions