panfrost/midgard: Dead code eliminate MIR
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 21 Apr 2019 16:11:11 +0000 (16:11 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Wed, 24 Apr 2019 02:22:31 +0000 (02:22 +0000)
commit84f09ff43328f2cb56c041fee36735802de8a378
treea96a61ede5e5c0c7ebf579d8f2a4cb64cf564705
parent328a5ef598db141ffbec638fb831f9047cb687bf
panfrost/midgard: Dead code eliminate MIR

We reshuffle the existing "dead move elimination" pass into a generic
dead code elimination layer, fixing bugs incurred with looping in the
process.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/midgard/midgard_compile.c