[Mesa-dev] [PATCH 5/5] gallivm: enable stores of integer types.
airlied at gmail.com
Mon Feb 6 12:20:00 PST 2012
On Mon, Feb 6, 2012 at 7:47 PM, Jose Fonseca <jfonseca at vmware.com> wrote:
> I really see no point of inferring anything when translating MOVs. The src/dst value will need to be converted from/to a floating point anyway so this is unnecessary complexity AFAICS. If you believe this is really necessary please provide a concrete example.
The problem is MOV from immediate, since immediates are stored as the
correct internal type, so we don't get to infer the src in that case,
then we try to MOV int4* to float4* and llvm crashes.
More information about the mesa-dev