radeon/ac: use llvm.amdgcn.sffbh intrinsic instead of AMDGPU.flbit.i32
authorDave Airlie <airlied@redhat.com>
Thu, 16 Feb 2017 03:46:16 +0000 (03:46 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 16 Feb 2017 22:57:16 +0000 (22:57 +0000)
commit4617ad07e066c70950a1ace34ab62b6209db8836
treebfa9310d229a11ef8a7822082d4aab1465ca5e71
parente933331cd75d91449eda78edf3e830cd09ad9ee2
radeon/ac: use llvm.amdgcn.sffbh intrinsic instead of AMDGPU.flbit.i32

Use the newer intrinsic.

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