diff options
author | Stella Laurenzo <stellaraccident@gmail.com> | 2020-07-08 17:54:56 -0700 |
---|---|---|
committer | Stella Laurenzo <stellaraccident@gmail.com> | 2020-07-08 17:56:48 -0700 |
commit | abd6574b4542958bbde0d5b9568598f32417ef0a (patch) | |
tree | cc86fd7b412fc6973a34b83141e7e7cf2680a474 /llvm/lib/Support/CommandLine.cpp | |
parent | 4254ed5c325c4a366a5f763487822414df6a0de4 (diff) | |
download | llvm-abd6574b4542958bbde0d5b9568598f32417ef0a.zip llvm-abd6574b4542958bbde0d5b9568598f32417ef0a.tar.gz llvm-abd6574b4542958bbde0d5b9568598f32417ef0a.tar.bz2 |
Add missing CMake bool canonicalizations.
Summary:
* This allows these flags to be passed on the command line with normal CMake bool-interpreted values like ON/OFF instead of requiring 0/1.
* As-is, if passing ON/OFF, these will cause a parse error in lit.site.cfg.py because Python tries to interpret the string literally.
Reviewers: stephenneuendorffer
Subscribers: mgorny, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, Joonsoo, grosul1, Kayjukh, jurahul, msifontes
Tags: #mlir
Differential Revision: https://reviews.llvm.org/D83451
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions