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

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 15 14:14:09 PST 2021


clementval added inline comments.


================
Comment at: flang/lib/Optimizer/CodeGen/CodeGen.cpp:1464
+    mlir::Type returnValTy = boxCharLen.getResult().getType();
+        llvmStructTy.cast<mlir::LLVM::LLVMStructType>().getBody()[1];
+
----------------
This line seems to be useless. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113763



More information about the llvm-commits mailing list