[all-commits] [llvm/llvm-project] c2601f: [flang][NFC] remove unused fir.constc operation (#...
jeanPerier via All-commits
all-commits at lists.llvm.org
Wed Oct 2 07:17:20 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c2601f1769db7a754d1ff358c3ffe116ae85d5cd
https://github.com/llvm/llvm-project/commit/c2601f1769db7a754d1ff358c3ffe116ae85d5cd
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-10-02 (Wed, 02 Oct 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Fir/fir-ops.fir
Log Message:
-----------
[flang][NFC] remove unused fir.constc operation (#110821)
As part of [RFC to replace fir.complex usages by mlir.complex
type](https://discourse.llvm.org/t/rfc-flang-replace-usages-of-fir-complex-by-mlir-complex-type/82292).
fir.constc is unused so instead of porting it, just remove it.
Complex constants are currently created with inserts in lowering
already. When using mlir complex, we may just want to start using
[complex.constant](https://github.com/llvm/llvm-project/blob/4f6ad17adce1b87cadf0c896d3b38334045196ea/mlir/include/mlir/Dialect/Complex/IR/ComplexOps.td#L131C5-L131C16).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list