nv50/ir: copy value size in SSA-rename pass

This commit is contained in:
Christoph Bumiller 2012-04-06 18:37:24 +02:00
parent 55f9bdb64e
commit f113b6f959
1 changed files with 1 additions and 0 deletions

View File

@ -446,6 +446,7 @@ void RenamePass::search(BasicBlock *bb)
assert(lval);
stmt->def[d].setSSA(
new_LValue(func, targ->nativeFile(lval->reg.file)));
stmt->def[d].get()->reg.size = lval->reg.size;
stmt->def[d].get()->reg.data.id = lval->reg.data.id;
stack[lval->id].push(stmt->def[d].get());
}