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
- Repository
- rL LLVM
Event Timeline
lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp | ||
---|---|---|
100 ↗ | (On Diff #36274) | If you're bothering to check this should probably be a checked dyn_cast |