[DirectX] convert debug records to debug intrinsics · Issue #135395 · llvm/llvm-project (original) (raw)

Problem

DXIL based on LLVMIR 3.7 has no ability to support a debug record and still be valid DXIL.

Temporary fix

This PR was a stop gap to get the pipeline green again:
#135279

Long term fix

The long term fix is the DirectX backend needs to replace debug record and emit debug intrinsics in their place.