amd/common: save an instruction in the build_cube_select sequence
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 22 Sep 2017 17:14:16 +0000 (19:14 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 29 Sep 2017 09:43:07 +0000 (11:43 +0200)
commita6ea4c1b9354ff5505ec637b080a7d6b63519bf1
treed5f484bcb3f8120fca7f75b9d17d2fbd3c5d83ed
parent5be5c1e0fa8d57606d85fa6afbfa2db5a9ca4c98
amd/common: save an instruction in the build_cube_select sequence

Avoid a v_cndmask: the absolute value is free due to input modifiers.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/amd/common/ac_llvm_build.c