Sairam Vaidya
Sairam Vaidya
When `-Fdump-constraint` is set, flux now emits a `note: log file saved to .smt2` after each failing item's diagnostics. Old: ``` error[E0999]: refinement type error --> src/foo.rs:3:5 | 3 |...
**Test commit** [ac7b5f5d0feb9c07d56ec6a19cb66483b0780f53](https://github.com/llvm/torch-mlir/commit/ac7b5f5d0feb9c07d56ec6a19cb66483b0780f53) **Description** The verifier for `torch.global_slot.module_initializer` performs a hard `llvm::cast` to `InitializeGlobalSlotsOp` on the block's terminator, causing a crash if the block ends with a different operation. **Steps...
**Test commit** [ac7b5f5d0feb9c07d56ec6a19cb66483b0780f53](https://github.com/llvm/torch-mlir/commit/ac7b5f5d0feb9c07d56ec6a19cb66483b0780f53) **Description** The `GlobalSlotModuleInitializerOp` verifier crashes when its internal block is missing the required `torch.initialize.global_slots` terminator operation. **Steps to reproduce** - Minimal MLIR program (test.mlir) ``` "builtin.module"() ({...
**Test commit** [ac7b5f5d0feb9c07d56ec6a19cb66483b0780f53](https://github.com/llvm/torch-mlir/commit/ac7b5f5d0feb9c07d56ec6a19cb66483b0780f53) **Description** The compiler crashes because `ValueTensorLiteralOp::inferReturnTypes` attempts to construct a `ValueTensorType` using a signless `i64` element type which violates the dialect's type invariants. **Steps to reproduce** -...
**Test commit** [ac7b5f5d0feb9c07d56ec6a19cb66483b0780f53](https://github.com/llvm/torch-mlir/commit/ac7b5f5d0feb9c07d56ec6a19cb66483b0780f53) **Description** The verifier for `torch.global_slot.module_initializer` crashes when `torch.initialize.global_slots` contains an integer attribute in its `slotSymNames` list instead of the expected one. **Steps to reproduce** - Minimal MLIR...
**Test commit** [ac7b5f5d0feb9c07d56ec6a19cb66483b0780f53](https://github.com/llvm/torch-mlir/commit/ac7b5f5d0feb9c07d56ec6a19cb66483b0780f53) **Description** The compiler crashes during verification of `GlobalSlotModuleInitializerOp` because it attempts to build a `SymbolTable` on a module containing non-unique symbols. **Steps to reproduce** - Minimal MLIR...
Test commit: [5a86dc996c26299de63effc927075dcbfb924167](https://github.com/llvm/llvm-project/pull/157520/commits/5a86dc996c26299de63effc927075dcbfb924167) **Description**: `mlir-opt` ends up triggering undefined behavior (null pointer dereference) when processing SPIR-V module with function calls and custom attributes (detected by UndefinedBehaviorSanitizer) **Steps to reproduce** -...
Test commit: [5a86dc996c26299de63effc927075dcbfb924167](https://github.com/llvm/llvm-project/pull/157520/commits/5a86dc996c26299de63effc927075dcbfb924167) **Description**: The SPIR-V to LLVM conversion pass (`-convert-spirv-to-llvm`) fails to handle `spirv.SpecConstant` operations, resulting in a legalization error and a memory leak. **Steps to reproduce** - Minimal...
Test commit: [5a86dc996c26299de63effc927075dcbfb924167](https://github.com/llvm/llvm-project/pull/157520/commits/5a86dc996c26299de63effc927075dcbfb924167) **Description**: The Transform dialect crashes with assertion failure `index < numRegions && "invalid region index"` when the `func.func` transform is applied to non-function operations. From the trace,...
Test commit: [5a86dc996c26299de63effc927075dcbfb924167](https://github.com/llvm/llvm-project/pull/157520/commits/5a86dc996c26299de63effc927075dcbfb924167) **Description**: TOSA `IfOp` verification crashes with a `assertion mightHaveTerminator() failed` when a region is missing its required `tosa.yield` terminator. **Steps to reproduce** - Minimal MLIR program (test.mlir)...