You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL] Fix removal of llvm.used for case with spec consts having 2+ u… (#6069)
* [SYCL] Fix removal of llvm.used for case with spec consts having 2+ users
llvm.used array elements may be either bitcasts of spec constants or kernels.
Bitcasts of kernels must be deleted, while bitcasts of spec constants
removal is not required.
This patch removes bitcasts of spec constants only if they have 1 user
and it is safe to remove them.
Signed-off-by: Vyacheslav N Klochkov <vyacheslav.n.klochkov@intel.com>
0 commit comments