nv50/ir: copy value size in SSA-rename pass
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Fri, 6 Apr 2012 16:37:24 +0000 (18:37 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 14 Apr 2012 19:54:00 +0000 (21:54 +0200)
src/gallium/drivers/nv50/codegen/nv50_ir_ssa.cpp

index 3f1707f0eb7125645e18a4cec2e14601e32b8d4a..60b12b308c174027239931b9fe6d7f262e616e18 100644 (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());
       }