Enable the ssa verifier in debug builds (#5354)
Enable regalloc2's SSA verifier in debug builds to check for any outstanding reuse of virtual registers in def constraints. As fuzzing enables debug_assertions, this will enable the SSA verifier when fuzzing as well.
This commit is contained in:
@@ -100,6 +100,9 @@ pub trait MachInst: Clone + Debug {
|
||||
/// (ret/uncond/cond) and target if applicable.
|
||||
fn is_term(&self) -> MachTerminator;
|
||||
|
||||
/// Is this an unconditional trap?
|
||||
fn is_trap(&self) -> bool;
|
||||
|
||||
/// Is this an "args" pseudoinst?
|
||||
fn is_args(&self) -> bool;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user