This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
c456309f67
llvm-project
/
llvm
/
test
/
ExecutionEngine
/
Interpreter
/
lit.local.cfg
4 lines
101 B
INI
Raw
Normal View
History
Unescape
Escape
Add missing Interpreter intrinsic lowering for sin, cos and ceil llvm-svn: 215209
2014-08-08 23:00:12 +08:00
# These tests require foreign function calls
[cmake] Canonicalize CMake booleans to 0/1 for lit interop Canonicalize all CMake booleans to 0/1 before passing them to lit, to ensure that the Python side handles all of them consistently and correctly. 0/1 is a safe choice of values that trigger the same boolean interpretation in CMake, Python and C++. Furthermore, using them without quotes improves the chance Python will explicitly fail when an incorrect value (such as ON/OFF, TRUE/FALSE, YES/NO) is accidentally passed, rather than silently misinterpreting the value. This replaces a lot of different logics spread around lit site files, attempting to partially reproduce the boolean logic used in CMake and usually silently failing when an uncommon value was used instead. In fact, some of them were never working correctly since different values were assigned in CMake and checked in Python. The alternative solution could be to create a common parser for CMake booleans in lit and use it consistently throughout the site files. However, it does not seem like the best idea to create redundant implementation of the same logic and have to follow upstream if it ever is extended to handle more values. Differential Revision: https://reviews.llvm.org/D28294 llvm-svn: 291284
2017-01-07 05:33:48 +08:00
if not config.enable_ffi:
Add missing Interpreter intrinsic lowering for sin, cos and ceil llvm-svn: 215209
2014-08-08 23:00:12 +08:00
config.unsupported
=
True