HomePhabricator

[DFAPacketizer] Use DFAEmitter. NFC.

Authored by jmolloy on Oct 17 2019, 1:34 AM.

Description

[DFAPacketizer] Use DFAEmitter. NFC.

Summary:
This is a NFC change that removes the NFA->DFA construction and emission logic from DFAPacketizerEmitter and instead uses the generic DFAEmitter logic. This allows DFAPacketizer to use the Automaton class from Support and remove a bunch of logic there too.

After this patch, DFAPacketizer is mostly logic for grepping Itineraries and collecting functional units, with no state machine logic. This will allow us to modernize by removing the 16-functional-unit limit and supporting non-itinerary functional units. This is all for followup patches.

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68992

llvm-svn: 375086

Details

Committed
jmolloyOct 17 2019, 1:34 AM
Differential Revision
D68992: [DFAPacketizer] Use DFAEmitter. NFC.
Parents
rG39af8a3a3b66: [DAGCombine][ARM] Enable extending masked loads
Branches
Unknown
Tags
Unknown