ac: add new helper function to add a integer target dependent function attr.
authorDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2017 00:20:10 +0000 (01:20 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2017 00:37:29 +0000 (01:37 +0100)
commit68c812f6993504ae5b5fe5ea47b86132c98c8fa1
treeddd133b8d8359ccd1eeec5ea715e14ce645e40a4
parent4ba2e6cbfab2ac5adc3d4fe1d35a32cc582781dc
ac: add new helper function to add a integer target dependent function attr.

This is needed to add the max workgroup size attribute.

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