Unverified Commit 3e96070b authored by Christian Ulmann's avatar Christian Ulmann Committed by GitHub
Browse files

[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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment