[PATCH] Strip opencl.ocl.version metadata

0001-Strip-opencl.ocl.version-metadata.patch (1.42 KB)

LGTM.

I think dedup during linking would be much more useful. I usually see
tons of llvm.ident metadata in addition to ocl.version.

Jan

I’ve had a patch waiting for that for a while: https://reviews.llvm.org/D20582