clover: Don't extend illegal integer types.
authorJan Vesely <jan.vesely@rutgers.edu>
Sun, 22 Jul 2018 18:14:21 +0000 (14:14 -0400)
committerJan Vesely <jan.vesely@rutgers.edu>
Thu, 26 Jul 2018 19:38:22 +0000 (15:38 -0400)
commitc2942141ae69e0a9040139dfddefcaf7f211c75b
treed741016a7817bf9f2a26d50dd6823d299d7dce36
parent8794fe3e30f36fe42d14360d42a5c079c07e6a40
clover: Don't extend illegal integer types.

It's OK to pass them in memory, which is what kernel invocation needs.
Fixes regressions since llvm r337535 ("Reapply "AMDGPU: Fix handling of alignment padding in DAG argument lowering"):
scalar-arithmetic-char
scalar-arithmetic-uchar
scalar-arithemtic-short
scalar-arithmetic-ushort
scalar-comparison-char
scalar-comparison-uchar
scalar-comparison-short
scalar-comparison-ushort

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/llvm/codegen/common.cpp
src/gallium/state_trackers/clover/llvm/compat.hpp