* also check regtype in get_spill_temp()

git-svn-id: branches/hlcgllvm@26979 -
This commit is contained in:
Jonas Maebe 2014-03-06 21:40:12 +00:00
parent a6a72e210c
commit c095a1b06a

View File

@ -173,6 +173,7 @@ implementation
for i:=0 to taillvm(supstart).ops-1 do
begin
if (taillvm(supstart).oper[i]^.typ=top_reg) and
(getregtype(taillvm(supstart).oper[i]^.reg)=regtype) and
(getsupreg(taillvm(supstart).oper[i]^.reg)=supreg) then
begin
def:=taillvm(supstart).spilling_get_reg_type(i);