[PATCH] D96514: [flang][fir][NFC] Move BoxProcType to TableGen type definition

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 11:47:33 PST 2021


mehdi_amini added inline comments.


================
Comment at: flang/lib/Optimizer/Dialect/FIRType.cpp:1392
+      return mlir::success();
+  return mlir::emitError(loc, "invalid type for boxproc") << eleTy << '\n';
+}
----------------
schweitz wrote:
> mehdi_amini wrote:
> > I didn't ask on the previous revision, but do we already have test coverage on all these? The refactoring could be an opportunity to check this if you can :)
> Still trying to get enough code upstreamed to add the tool to do that. Chicken-and-egg situation.
I don't understand the chicken and egg? 
Adding a `fir-opt` tool *first* seems trivial to me, let me send a patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96514



More information about the llvm-commits mailing list