compiler.cfg.ssa.destruction.tests: a bunch of new tests
parent
5083bdad33
commit
b4f881a9be
|
@ -2,7 +2,7 @@ USING: alien.syntax compiler.cfg.def-use compiler.cfg.instructions
|
|||
compiler.cfg.registers compiler.cfg.ssa.destruction
|
||||
compiler.cfg.ssa.destruction.leaders
|
||||
compiler.cfg.ssa.destruction.private compiler.cfg.utilities
|
||||
cpu.architecture cpu.x86.assembler.operands make namespaces tools.test ;
|
||||
cpu.architecture cpu.x86.assembler.operands kernel make namespaces tools.test ;
|
||||
IN: compiler.cfg.ssa.destruction.tests
|
||||
|
||||
! cleanup-insn
|
||||
|
@ -62,3 +62,21 @@ IN: compiler.cfg.ssa.destruction.tests
|
|||
}
|
||||
} 0 insns>block block>cfg destruct-ssa
|
||||
] unit-test
|
||||
|
||||
! must-eliminate-copy
|
||||
{ } [
|
||||
10 10 must-eliminate-copy
|
||||
] unit-test
|
||||
|
||||
! prepare-insn
|
||||
{ V{ { 2 1 } } } [
|
||||
V{ } clone copies set
|
||||
T{ ##copy { src 1 } { dst 2 } { rep int-rep } } prepare-insn
|
||||
copies get
|
||||
] unit-test
|
||||
|
||||
{ V{ { 3 4 } { 7 8 } } } [
|
||||
V{ } clone copies set
|
||||
T{ ##parallel-copy { values V{ { 3 4 } { 7 8 } } } } prepare-insn
|
||||
copies get
|
||||
] unit-test
|
||||
|
|
Loading…
Reference in New Issue