HomePhabricator

[TableGen][ISel] Do a better job of factoring ScopeMatchers created during…

Description

[TableGen][ISel] Do a better job of factoring ScopeMatchers created during creation of SwitchTypeMatcher.

Previously we were factoring when the ScopeMatcher was initially created, but it might get more Matchers added to it later. Delay factoring until we have fully created/populated the ScopeMatchers.

This reduces X86 isel tables by 154 bytes.

Details

Committed
ctopperNov 20 2016, 8:07 PM
Parents
rL287519: [X86] Remove duplicate instructions for (v)movq and replace with patterns on…
Branches
Unknown
Tags
Unknown