This makes the implementation of each bytecode operation much easier to reason about, and lets the compiler decide which implementations are beneficial to inline into the main switch.
Depends On D95715
Differential D95716
[mlir][pdl][NFC] Extract the execution of each bytecode operation into its own function ClosedPublic Authored by rriddle on Jan 29 2021, 7:53 PM.
Details Summary This makes the implementation of each bytecode operation much easier to reason about, and lets the compiler decide which implementations are beneficial to inline into the main switch. Depends On D95715
Diff Detail
Event Timelinerriddle added a child revision: D95717: [mlir][pdl] Add a new !pdl.range<> type.Jan 29 2021, 7:54 PM This revision is now accepted and ready to land.Feb 18 2021, 5:12 PM Closed by commit rG154cabe722de: [mlir][pdl][NFC] Extract the execution of each bytecode operation into its own… (authored by rriddle). · Explain WhyFeb 22 2021, 7:08 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 320263 mlir/lib/Rewrite/ByteCode.cpp
|