What is the revision of llvm ? You may try this patch : http://cgit.freedesktop.org/~vlj/llvm/commit/?h=textures&id=5e9129b7626738ff3cc539cc30f28536cd9d5662