nir: fix assert for wildcard pairs
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 4 May 2016 03:48:39 +0000 (05:48 +0200)
committerEduardo Lima Mitev <elima@igalia.com>
Thu, 5 May 2016 07:33:02 +0000 (09:33 +0200)
commit8698194313f91a3aaec2ad84c4ea5a4892cf5f1a
tree223307905f147d8e4a67fdb6fddcdc9da01efe9e
parentbe5010c4b8635d0292404ac58ed0436ba6637579
nir: fix assert for wildcard pairs

The assert was null checking dest_arr_parent twice. The intention
seems to be to check both dest_ and src_.

Added in d3636da9

Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
src/compiler/nir/nir_lower_var_copies.c