llvm
llvm copied to clipboard
[ESIMD] Enable Dead Arguments Elimination for ESIMD kernels
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]