1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-12 14:28:08 +03:00
juvix/test/Reg/Transformation.hs
Łukasz Czajka 1410b6354a
Constant propagation in JuvixReg (#2833)
* Closes #2702 
* For this to give any improvement, we need to run dead code elimination
afterwards (#2827).

Depends on:
* #2828
2024-06-21 12:35:12 +02:00

20 lines
608 B
Haskell

module Reg.Transformation where
import Base
import Reg.Transformation.ConstantPropagation qualified as ConstantPropagation
import Reg.Transformation.CopyPropagation qualified as CopyPropagation
import Reg.Transformation.IdentityTrans qualified as IdentityTrans
import Reg.Transformation.InitBranchVars qualified as InitBranchVars
import Reg.Transformation.SSA qualified as SSA
allTests :: TestTree
allTests =
testGroup
"JuvixReg transformations"
[ IdentityTrans.allTests,
SSA.allTests,
InitBranchVars.allTests,
CopyPropagation.allTests,
ConstantPropagation.allTests
]