Instead of asserting when the kernel metadata is different than we expect,
we should just skip lowering that function. This fixes assertion
failures with OpenCL argument metadata from older LLVM releases.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp | ||
---|---|---|
100 | If you're bothering to check this should probably be a checked dyn_cast |
If you're bothering to check this should probably be a checked dyn_cast