llvmpipe: Workaround for bug in llvm 2.5.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 29 Sep 2009 16:26:20 +0000 (17:26 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 29 Sep 2009 16:28:15 +0000 (17:28 +0100)
commitbaddcbc5225e12052b3bc8c07a8b65243d76574d
tree7c38c5440f040bfca2b8094f9d7676fd4bb9ba3b
parenta02ecdf8c2fc5783a4bc82e8cd9d36f0dec7ccec
llvmpipe: Workaround for bug in llvm 2.5.

The combination of fptosi
and sitofp (necessary for trunc/floor/ceil/round implementation)
somehow becomes invalid code.

Skip the instruction combining pass when SSE4.1 is not available.
src/gallium/drivers/llvmpipe/lp_jit.c