It currently only checks it in Inliner, which is wrong for generic functions that we happen to not call. Patch forthcoming.
Created attachment 320157 [details] the patch
Created attachment 320158 [details] the patch
Comment on attachment 320158 [details] the patch r=me
Comment on attachment 320158 [details] the patch r=me too.
Landed in https://trac.webkit.org/changeset/221750/webkit
<rdar://problem/34693528>
Migrated to https://github.com/gpuweb/WHLSL/issues/148