commit | 9f149bc4ffcf896a4f6474bd73f76f8fe57e9ab9 | [log] [tgz] |
---|---|---|
author | Daniel Sanders <daniel_l_sanders@apple.com> | Wed Oct 03 16:29:24 2018 +0000 |
committer | Daniel Sanders <daniel_l_sanders@apple.com> | Wed Oct 03 16:29:24 2018 +0000 |
tree | 8c6754cbe451e955322f7dae7c5d9a4175400e5b | |
parent | cf8ba840b8a8fac5cecc0c0bddce80c2c29150d6 [diff] |
Correct implementation of -verify-machineinstrs such that it's still overridable for EXPENSIVE_CHECKS -verify-machineinstrs was implemented as a simple bool. As a result, the 'VerifyMachineCode == cl::BOU_UNSET' used by EXPENSIVE_CHECKS to make it on by default but possible to disable didn't work as intended. Changed -verify-machineinstrs to a boolOrDefault to correct this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343696 91177308-0d34-0410-b5e6-96231b3b80d8