llvm-project
e992280f - [MLIR] Fix empty optional access in DialectConversion (#168331)

Commit
52 days ago
[MLIR] Fix empty optional access in DialectConversion (#168331) When both `MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS` and MLIR multithreading are enabled, `topLevelFingerPrint` is empty but its value is accessed. This adds a `has_value()` check before dereferencing the optional.
Author
Parents
Loading