unbreak things

This commit is contained in:
Connor Abbott 2015-06-22 11:59:55 -07:00
parent 841aab6f50
commit e9c21d0ca0
1 changed files with 1 additions and 1 deletions

View File

@ -1277,7 +1277,7 @@ vtn_handle_alu(struct vtn_builder *b, SpvOp opcode,
{
struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_ssa);
val->type = vtn_value(b, w[1], vtn_value_type_type)->type;
val->ssa->type = val->type;
val->ssa = vtn_create_ssa_value(b, val->type);
/* Collect the various SSA sources */
unsigned num_inputs = count - 3;