mirror-llvm-project/mlir/unittests
William Moses d8d33abac0
[MLIR] Allow recovering from semi-affine sets in FlatLinearValueConst… (#212346)
…raints

The IntegerSet constructor of FlatLinearValueConstraints asserts when
flattening fails, which happens for semi-affine integer sets. Since the
failure is signalled from inside a constructor, callers have no way to
detect the unsupported case ahead of time and no way to work around it;
they simply crash.

Add an optional `bool *error` parameter to the constructor. When it is
non-null, hitting the unimplemented case sets `*error` to true and
returns instead of asserting, letting callers bail out gracefully.
`*error` is set to false on success. When the pointer is null the
previous assert behavior is retained, so existing callers are
unaffected.
2026-07-27 22:26:34 +00:00
..
ABI [mlir][ABI] Fix scalable vector mapping in ABITypeMapper (#206617) 2026-07-01 15:57:12 +01:00
Analysis [MLIR] Allow recovering from semi-affine sets in FlatLinearValueConst… (#212346) 2026-07-27 22:26:34 +00:00
Bytecode [mlir][bytecode] Add option to elide locations during serialization (#201183) 2026-06-02 22:00:47 +00:00
Conversion [mlir][NFC] update mlir/Dialect create APIs (30/n) (#150643) 2025-07-25 11:48:17 -05:00
Debug [MLIR] Rerun control for actions in execution context (#209197) 2026-07-21 11:53:17 +02:00
Dialect [mlir][OpenACC] Emit multi-IV tile and element loops from ACCLoopTiling (#211651) 2026-07-23 15:22:46 -05:00
ExecutionEngine [AIX] XFAIL mlir testcases on AIX to be investigated NFC (#186157) 2026-03-12 15:29:15 -04:00
Interfaces [mlir] Use explicit op targets for region successors (#203552) 2026-06-15 13:27:59 +00:00
IR [mlir][tblgen]: forward overloaded interface methods to external models (#203507) 2026-06-18 09:23:07 +02:00
Parser
Pass Enable pass instrumentation to signal failures. (#163126) 2025-12-11 14:26:10 +02:00
Rewrite [mlir][nfc] Remove TrivialPatternRewriters (#155248) 2025-08-25 18:50:17 +03:00
Support [mlir] Use custom mlir::Complex type for non-float complex numbers (#191821) 2026-05-06 13:51:29 +01:00
TableGen [mlir][ods] Enable basic string interpolation in constraint summary. (#153603) 2025-11-07 01:00:19 +02:00
Target [mlir] Replace MLIR_ENABLE_ROCM_CONVERSIONS with LLVM_HAS_AMDGPU_TARGET (#182652) 2026-03-13 22:03:05 +00:00
Transforms [mlir] Refactor opaque properties to make them type-safe (#185157) 2026-03-31 19:49:40 -07:00
CMakeLists.txt [mlir][ABI] Add ABITypeMapper and ABIRewriteContext (#190661) 2026-04-30 13:23:01 -05:00