HomePhabricator

[TableGen] Fix crash when using HwModes in CodeEmitterGen

Authored by jmolloy on Oct 9 2019, 2:15 AM.

Description

[TableGen] Fix crash when using HwModes in CodeEmitterGen

When an instruction has an encoding definition for only a subset of
the available HwModes, ensure we just avoid generating an encoding
rather than crash.

llvm-svn: 374150

Details

Committed
jmolloyOct 9 2019, 2:15 AM
Parents
rG66f05d738994: [llvm-exegesis] Add missing std::move in rL374146.
Branches
Unknown
Tags
Unknown