aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/FlowSensitive/ControlFlowContext.cpp
diff options
context:
space:
mode:
authorMarius Brehler <marius.brehler@iml.fraunhofer.de>2024-03-07 11:34:11 +0100
committerGitHub <noreply@github.com>2024-03-07 11:34:11 +0100
commitc40146c214a705a232848144d9412c8a7c73f0fe (patch)
tree50ea45a15488060aed47df9c7af9e68c3a0ec729 /clang/lib/Analysis/FlowSensitive/ControlFlowContext.cpp
parent6f54a54c6f5f644b4f4c79882154fd9737568c8e (diff)
downloadllvm-c40146c214a705a232848144d9412c8a7c73f0fe.zip
llvm-c40146c214a705a232848144d9412c8a7c73f0fe.tar.gz
llvm-c40146c214a705a232848144d9412c8a7c73f0fe.tar.bz2
[mlir][EmitC] Add Arith to EmitC conversions (#84151)
This adds patterns and a pass to convert the Arith dialect to EmitC. For now, this covers arithemtic binary ops operating on floating point types. It is not checked within the patterns whether the types, such as the Tensor type, are supported in the respective EmitC operations. If unsupported types should be converted, the conversion will fail anyway because no legal EmitC operation can be created. This can clearly be improved in a follow up, also resulting in better error messages. Functions for such checks should not solely be used in the conversions and should also be (re)used in the verifier.
Diffstat (limited to 'clang/lib/Analysis/FlowSensitive/ControlFlowContext.cpp')
0 files changed, 0 insertions, 0 deletions