OSDN Git Service

radv/ac: workaround regression in llvm 4.0 release
authorDave Airlie <airlied@redhat.com>
Tue, 14 Mar 2017 21:15:50 +0000 (07:15 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 14 Mar 2017 23:51:53 +0000 (09:51 +1000)
commit7372e3cf5f2df9dd2ec0423a4425baad098bf326
tree2631ae7604f9f22dc2975a43c57fa826ff9113e8
parent3ece76f03dc01bb654f47864b5da3a72c250c8b4
radv/ac: workaround regression in llvm 4.0 release

LLVM 4.0 released with a pretty messy regression, that hopefully
get fixed in the future.

This work around was proposed by Tom, and it fixes the CTS regressions
here at least, I'm not sure if this will cause any major side effects,
but correctness over speed and all that.

radeonsi should possibly consider the same workaround until an llvm
fix can be found.

Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_util.c