[MLIR][LLVM] Avoid exporting broken debug intrinsics without a location (#70643)
LLVM IR does not allow debug intrinsics without a debug attachment. The location export can fail the export of a location due to multiple reasons. To deal with this, this commit adds a check to the debug intrinsic's LLVM builders, that skips them, if the location is `nullptr`. Fixes #60222
parent
7b2e0095
Please register or sign in to comment