HomePhabricator

[TargetPassConfig] Run MachineVerifier after more passes.

Authored by efriedma on Apr 21 2020, 9:00 PM.

Description

[TargetPassConfig] Run MachineVerifier after more passes.

We were disabling verification for no reason in a bunch of places; just
turn it on.

At this point, there are two key places where we don't run verification:
during register allocation, and after addPreEmitPass. Regalloc probably
isn't worth messing with; it has its own invariants, and verifying
afterwards is probably good enough. For after addPreEmitPass, it's
probably worth investigating improvements.

Details

Committed
efriedmaApr 21 2020, 9:05 PM
Parents
rG5081468a6692: [xray] Avoid text relocations in trampolines for ARM/AArch64
Branches
Unknown
Tags
Unknown