HomePhabricator

[MCA] [RegisterFile] Allow for skipping Defs with RegID of 0 (rather than…

Authored by holland11 on Jun 16 2021, 3:53 PM.

Description

[MCA] [RegisterFile] Allow for skipping Defs with RegID of 0 (rather than assert(RegID) like we do before this patch).

This patch will allow developers to remove unwanted instruction Defs (most likely from within a target specific InstrPostProcess) by setting that Def's RegisterID to 0.
Differential Revision: https://reviews.llvm.org/D104433