Files
clang-p2996/mlir/lib/Target/SPIRV
Igor Wodiany 3ce3281989 [mlir][spirv] Check output of getConstantInt (#140568)
This patch adds an assert to check if the result of `getConstantInt` is
non-null. Previously the code failed with Segmentation Fault if
`getConstantInt` failed to look up the value. This primarily occurrs when
the value is defined as OpSpecConstant rather than OpConstant.
2025-06-04 13:15:28 +01:00
..