ac: fix build after LLVM 5.0 SVN r300718
authorChristoph Haag <haagch+mesadev@frickel.club>
Thu, 20 Apr 2017 08:34:18 +0000 (10:34 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 20 Apr 2017 08:58:19 +0000 (10:58 +0200)
commita9d27c8a33a4aef9b71f716cd08ad3d52bc1591c
tree666cbf590e8fea66c594438dcce3026cc91efe97
parent3af7f8275b806d42daaad6f700c3917f8e33d3e4
ac: fix build after LLVM 5.0 SVN r300718

v2: previously getWithDereferenceableBytes() exists, but addAttr() doesn't take that type

Signed-off-by: Christoph Haag <haagch+mesadev@frickel.club>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Tested-and-reviewed-by: Mike Lothian <mike@fireburn.co.uk>
src/amd/common/ac_llvm_helper.cpp