diff options
author | Marius Brehler <marius.brehler@iml.fraunhofer.de> | 2024-02-20 14:16:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 14:16:34 +0100 |
commit | dfb70c3a7c65cd5143c942ad8a18f4177c16d74e (patch) | |
tree | 7f991a2754ca715468ee6d478fba9003cf72f851 /llvm/lib/CodeGen | |
parent | ddba6b271c07b4bb640b2f2b742710557a762142 (diff) | |
download | llvm-dfb70c3a7c65cd5143c942ad8a18f4177c16d74e.zip llvm-dfb70c3a7c65cd5143c942ad8a18f4177c16d74e.tar.gz llvm-dfb70c3a7c65cd5143c942ad8a18f4177c16d74e.tar.bz2 |
[mlir][EmitC] Remove `func.constant` from emitter (#82342)
As part of the renaming the Standard dialect to Func dialect, *support*
for the `func.constant` operation was added to the emitter. However, the
emitter cannot emit function types. Hence the emission for a snippet
like
```
%0 = func.constant @myfn : (f32) -> f32
func.func private @myfn(%arg0: f32) -> f32 {
return %arg0 : f32
}
```
failes with `func.mlir:1:6: error: cannot emit type '(f32) -> f32'`.
This removes `func.constant` from the emitter.
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions