[Hexagon] Make local array static in getIntrinsicForHexagonNonClangBuiltin
authorKrzysztof Parzyszek <kparzysz@quicinc.com>
Tue, 22 Nov 2022 17:11:17 +0000 (09:11 -0800)
committerKrzysztof Parzyszek <kparzysz@quicinc.com>
Tue, 22 Nov 2022 17:48:01 +0000 (09:48 -0800)
commitb805853ccb4785811c04f27862a77eb9c8c286f7
tree006e90521094148aa7164fe337a6235349af4ce4
parenta2ef44a5d65932c7bb0f483217826856325b60df
[Hexagon] Make local array static in getIntrinsicForHexagonNonClangBuiltin

It should not be created on every call, the omission of `static` was a bug
in the patch that introduced it.
clang/lib/CodeGen/CGBuiltin.cpp