commit | 4eeb49ea71e47899f5d9a51b8f3e1fd9762fa7ad | [log] [tgz] |
---|---|---|
author | Daniel Schürmann <daniel.schuermann@campus.tu-berlin.de> | Fri Jan 25 13:56:49 2019 +0100 |
committer | Daniel Schürmann <daniel@schuermann.dev> | Mon Jun 24 18:42:20 2019 +0200 |
tree | dea58e707636cbf9fc89547643d4f5fcdcfc1602 | |
parent | 165b7f3a4487e7ab7738dd9b37f2b3375692f8a2 [diff] |
nir/algebraic: Remove unnecessary iand of [iu]bfe and bfm sources The [iu]bfe and bfm instructions are defined to only use the five least significant bits. This optimizes a common pattern from D3D -> SPIR-V translation. Reviewed-by: Connor Abbott <cwabbott0@gmail.com>