llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[ESIMD] Enable Dead Arguments Elimination for ESIMD kernels

Open v-klochkov opened this issue 2 years ago • 0 comments

The optimization is turned on for non-ESIMD path even with -O0. It also work-arounds the SegFault on host when specialization constants are set on host, but not used on device. In this case it completely removes the kernel parameter holding the address of spec const buffer.

Signed-off-by: Vyacheslav N Klochkov [email protected]

v-klochkov avatar Jul 21 '22 16:07 v-klochkov