Commit 6fb1d40
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 an explicit float.spirv.Constant(NFC) (llvm#127030)1 parent 4c56096 commit 6fb1d40
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