[PATCH] D113666: [flang][CodeGen] Transform `fir.emboxchar` to a sequence of LLVM MLIR

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 12 02:30:56 PST 2021


clementval accepted this revision.
clementval added a comment.
This revision is now accepted and ready to land.

LG. Just couple of nits



================
Comment at: flang/lib/Optimizer/CodeGen/CodeGen.cpp:1414
+        llvmStructTy.cast<mlir::LLVM::LLVMStructType>().getBody()[1];
+    mlir::Value lenAfterCast =
+        integerCast(loc, rewriter, lenTy, charBufferLen);
----------------
clang-format. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113666



More information about the llvm-commits mailing list