forked from OSchip/llvm-project
[globalisel][legalizer] Fix --verify-legalizer-debug-locs values
It was using the enum class name, like so: =DebugLocVerifyLevel::None - No verification Changed it to: =none - No verification
This commit is contained in:
parent
5f69e53e55
commit
7f7f98b154
|
@ -52,11 +52,13 @@ enum class DebugLocVerifyLevel {
|
|||
static cl::opt<DebugLocVerifyLevel> VerifyDebugLocs(
|
||||
"verify-legalizer-debug-locs",
|
||||
cl::desc("Verify that debug locations are handled"),
|
||||
cl::values(clEnumVal(DebugLocVerifyLevel::None, "No verification"),
|
||||
clEnumVal(DebugLocVerifyLevel::Legalizations,
|
||||
"Verify legalizations"),
|
||||
clEnumVal(DebugLocVerifyLevel::LegalizationsAndArtifactCombiners,
|
||||
"Verify legalizations and artifact combines")),
|
||||
cl::values(
|
||||
clEnumValN(DebugLocVerifyLevel::None, "none", "No verification"),
|
||||
clEnumValN(DebugLocVerifyLevel::Legalizations, "legalizations",
|
||||
"Verify legalizations"),
|
||||
clEnumValN(DebugLocVerifyLevel::LegalizationsAndArtifactCombiners,
|
||||
"legalizations+artifactcombiners",
|
||||
"Verify legalizations and artifact combines")),
|
||||
cl::init(DebugLocVerifyLevel::Legalizations));
|
||||
#else
|
||||
// Always disable it for release builds by preventing the observer from being
|
||||
|
|
Loading…
Reference in New Issue