commit | 0b98e885e707a679fffb096aa802cfe4a80ce334 | [log] [tgz] |
---|---|---|
author | Daniel Scharrer <daniel@constexpr.org> | Fri Nov 11 21:36:36 2016 +0100 |
committer | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | Fri Nov 11 22:40:32 2016 +0100 |
tree | bca094c54c3c9d28f3e8c8822187dcec9ef74ac4 | |
parent | 74d5d393df23b13dd03dcb11b1798910dc339753 [diff] |
ac/nir/llvm: Fix setting function attributes for intrinsics This fixes a NULL pointer dereference for intrinsics with more than one function attribute introduced in commit 2fdaf38. The fix is ported from the lp_build_intrinsic changes in commit 8bdd52c. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>