ac: fix possible truncation of intrinsic name
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 7 Jun 2018 00:30:01 +0000 (10:30 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 7 Jun 2018 23:24:15 +0000 (09:24 +1000)
commitfae3b38770cc524d28368b2287264668ce4e3e46
tree7c50bfeead63090b97f9faa7a2e49f4f1a407b0a
parent4fc2d5e14125709d2eaa23d36f74f11bb760c73e
ac: fix possible truncation of intrinsic name

Fixes the gcc warning:
snprintf’ output between 26 and 33 bytes into a destination of size 32

Fixes: d5f7ebda3ec0 ("ac: add LLVM build functions for subgroup instrinsics")
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_llvm_build.c