[flang-commits] [PATCH] D114063: [fir] Add fir.constc conversion
Diana Picus via Phabricator via flang-commits
flang-commits at lists.llvm.org
Wed Nov 17 02:27:58 PST 2021
rovka added inline comments.
================
Comment at: flang/test/Fir/convert-to-llvm.fir:695
+
+func @test_constc() -> !fir.complex<4> {
+ %0 = fir.constc (#fir.real<4, 1.4>, #fir.real<4, 2.3>) : !fir.complex<4>
----------------
kiranchandramohan wrote:
> I think we do not have this op in fir-ops.fir where we check all the ops. Could you add a similar one there as well?
Great idea, I'll send a separate patch because we actually hit an unreachable while printing constc
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114063/new/
https://reviews.llvm.org/D114063
More information about the flang-commits
mailing list