[PATCH] D105500: [flang] Prevent rewrite of shape inquiries to non constant explicit expr

Peter Klausler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 7 13:18:54 PDT 2021


klausler accepted this revision.
klausler added a comment.

It may be the case that shape analysis could always create expressions containing descriptor inquiry operations for non-constant bounds (&c.), and the decision whether to rewrite those inquiries (or not) be moved into folding and controlled by the FoldingContext instead.  Shape analysis, per se, shouldn't be the part of the code that cares about specification vs. executable parts.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105500



More information about the llvm-commits mailing list