diff options
author | Longsheng Mou <longshengmou@gmail.com> | 2025-02-13 19:56:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-13 19:56:57 +0800 |
commit | 6fb1d40992ac3aff84dfe7616ea7776e1c26ba99 (patch) | |
tree | f2cd9549613df1bb4c0d13bf3a9a1b76a1fb5d96 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4c5609686b101154a7ef20b775dcc40b901cd116 (diff) | |
download | llvm-6fb1d40992ac3aff84dfe7616ea7776e1c26ba99.zip llvm-6fb1d40992ac3aff84dfe7616ea7776e1c26ba99.tar.gz llvm-6fb1d40992ac3aff84dfe7616ea7776e1c26ba99.tar.bz2 |
[mlir][spirv] Update example of `spirv.Constant`(NFC) (#127030)
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.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions