commit | 8ac3c1bf1ab47d9b7e5fcddeb7620eedcec7bdb3 | [log] [tgz] |
---|---|---|
author | Roland Scheidegger <sroland@vmware.com> | Tue Dec 06 19:59:51 2016 +0100 |
committer | Roland Scheidegger <sroland@vmware.com> | Tue Dec 06 20:06:06 2016 +0100 |
tree | 0071383a12fa4cecd96d7002baefacbea662ca7a | |
parent | fd5f420fbb237a9662532a4111e409f5ec2eba8a [diff] |
gallivm: optimize 16bit->32bit gather path a bit LLVM can't really optimize anything which crosses scalar/vector boundaries, so help a bit with some particular gather operations when the width is expanded (only do it for 16->32bit expansion for now), by doing expansion after fetch. That is probably a better solution anyway even if llvm would recognize it, makes for cleaner IR... Reviewed-by: Jose Fonseca <jfonseca@vmware.com>