Page MenuHomePhabricator

Target: Replace most PatLeaf patterns that match immediates with ImmLeaf patterns. NFCI.
Needs ReviewPublic

Authored by pcc on Oct 6 2016, 7:09 PM.

Details

Summary

This requires that we add two new capabilities to ImmLeaf: the ability to
zero extend the immediate instead of sign extending it, and the ability to
select an immediate of any width. This was done by introducing new classes
that expose those capabilities.

Depends on D25301

Event Timeline

pcc updated this revision to Diff 73876.Oct 6 2016, 7:09 PM
pcc retitled this revision from to Target: Replace most PatLeaf patterns that match immediates with ImmLeaf patterns. NFCI..
pcc updated this object.
pcc added a reviewer: chandlerc.
pcc added a subscriber: llvm-commits.
ast added a subscriber: ast.Oct 6 2016, 7:20 PM

nice cleanup. bpf bits look fine