radeon/ac: add ac_emit_imsb helper.
authorDave Airlie <airlied@redhat.com>
Thu, 16 Feb 2017 03:42:56 +0000 (03:42 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 16 Feb 2017 22:57:15 +0000 (22:57 +0000)
commitcae1ff1a4b1f696fc6c2496d281c2548a097e753
tree1caddae6ee3494c53476f20f9930f29d23a6e252
parent40bf7ba023a3a9b2027aa0b51adb6a591e472d59
radeon/ac: add ac_emit_imsb helper.

We want to use a different intrinsic on newer llvm, so move this
code to a shared area.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_build.h