compiler.cfg.ssa.interference.live-ranges: fix kill-indices for ##parallel-copy (issue #22)

db4
Alex Vondrak 2012-12-28 08:49:24 -08:00 committed by Doug Coleman
parent ae0b77a0c4
commit ff1c2c293b
1 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,12 @@ GENERIC: record-insn ( n insn -- )
M: ##phi record-insn
record-defs ;
M: ##parallel-copy record-insn
[ 2 * ] dip
[ record-defs ]
[ uses-vregs [ local-kill-indices get set-at ] with each ]
2bi ;
M: vreg-insn record-insn
[ 2 * ] dip [ record-defs ] [ record-uses ] 2bi ;