mirror of
https://github.com/anoma/juvix.git
synced 2024-12-12 14:28:08 +03:00
1410b6354a
* Closes #2702 * For this to give any improvement, we need to run dead code elimination afterwards (#2827). Depends on: * #2828
20 lines
608 B
Haskell
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
|
|
]
|