[fir][NFC] Update fir.iterate_while op
authorEric Schweitz <eschweitz@nvidia.com>
Wed, 29 Sep 2021 16:12:17 +0000 (18:12 +0200)
committerValentin Clement <clementval@gmail.com>
Wed, 29 Sep 2021 16:13:43 +0000 (18:13 +0200)
commit6e2afdb7f508a08018def9f3b33179527159be92
tree0cf02b7d9355c87fb73eba5aeedb283435a166a9
parent9a640a1cb8806353233341bf855cf1508c50f880
[fir][NFC] Update fir.iterate_while op

Add getFinalValueAttrName() and remove specified number of
inlined elements for SmallVector. This patch is mainly motivated
to help the upstreaming effort.

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

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Valentin Clement <clementval@gmail.com>
Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D110710
flang/include/flang/Optimizer/Dialect/FIROps.td
flang/lib/Optimizer/Dialect/FIROps.cpp