[PATCH] D114063: [fir] Add fir.constc conversion

Kiran Chandramohan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 17 01:34:00 PST 2021


kiranchandramohan 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>
----------------
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?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114063/new/

https://reviews.llvm.org/D114063



More information about the llvm-commits mailing list