[PATCH] D114241: [fir] Add !fir.len_param_index conversion

Diana Picus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 19 06:02:39 PST 2021


rovka created this revision.
rovka added reviewers: clementval, awarzynski, kiranchandramohan, schweitz, jeanPerier.
rovka added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert, arphaman.
rovka requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Convert len_param_index into a constant. The patch contains a lot of
FIXMEs and very likely computes the wrong value. I have a few questions
about the whole thing but I'll add them as comments so it's easier to follow
the discussion.

This patch is part of the upstreaming effort from fir-dev.

Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114241

Files:
  flang/lib/Optimizer/CodeGen/CodeGen.cpp
  flang/test/Fir/convert-to-llvm-target.fir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114241.388482.patch
Type: text/x-patch
Size: 4739 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211119/a769c554/attachment.bin>


More information about the llvm-commits mailing list