[flang] Prevent a bad folding rewrite
When a subexpression does not have both constant elements and a constant shape, folding is rewriting it into a vector of its elements. This is of course wrong when the shape shows that the result has rank greater than 1. Differential Revision: https://reviews.llvm.org/D134392
Loading
Please sign in to comment