Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/Dialect/EmitC/invalid_types.mlir | ||
---|---|---|
4 | This error could seemingly have been triggered by either variable name or type, the error message doesn't help much there and the test feels like either of these could be wrong. |
mlir/test/Dialect/EmitC/invalid_types.mlir | ||
---|---|---|
4 | mlir-opt points you to where the error occurs: test/Dialect/EmitC/invalid_types.mlir:5:56: error: expected non empty string %1 = "emitc.variable"(){value = "" : !emitc.opaque<"">} : () -> !emitc.opaque<""> ^ But I can modify the test in way that there is only one empty string: test/Dialect/EmitC/invalid_types.mlir:5:58: error: expected non empty string %1 = "emitc.variable"(){value = "42" : !emitc.opaque<"">} : () -> !emitc.opaque<"mytype"> ^ Before updating the proposed patch, it seems you would prefer if I patch the error message as well, e.g. to "expected non empty string in !emitc.opaque type"? |
mlir/test/Dialect/EmitC/invalid_types.mlir | ||
---|---|---|
4 | Updating the error message too thanks |
This error could seemingly have been triggered by either variable name or type, the error message doesn't help much there and the test feels like either of these could be wrong.