Commit c273f65
authored
[mlir][spirv] Update example of
Actually the `spirv.Constant dense<[2, 3]> : vector<2xf32>` will cause a error:
```
error: unexpected decimal integer literal for a floating point value
%cst = spirv.Constant dense<[2, 3]> : vector<2xf32>
^
```
The value should be explicite float.spirv.Constant(NFC)1 parent 70b994b commit c273f65
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
0 commit comments