[mlir][pdl][NFC] Extract the execution of each bytecode operation into its own function
authorRiver Riddle <riddleriver@gmail.com>
Tue, 23 Feb 2021 03:01:01 +0000 (19:01 -0800)
committerRiver Riddle <riddleriver@gmail.com>
Tue, 23 Feb 2021 03:02:48 +0000 (19:02 -0800)
commit154cabe722de4d9837d49790e913d2b511f17d70
tree416af91e572930159b3a6e37ef7cad14e3692a70
parentddd556f10e382e64003c98fa9308ce1860cc2ad6
[mlir][pdl][NFC] Extract the execution of each bytecode operation into its own function

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.

Differential Revision: https://reviews.llvm.org/D95716
mlir/lib/Rewrite/ByteCode.cpp