[flang-commits] [flang] [flang][Lower] Convert OMP Map and related functions to evaluate::Expr (PR #81626)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Mon Mar 18 09:13:44 PDT 2024


kparzysz wrote:

> > The difference in the test case comes from unfolded conversions of index expressions, which are explicitly of type integer(kind=8).
> 
> I don't see any test case updates. What is this referring to?

I can give you a better answer once I try it out again (I forgot which tests were affected), but some variable names in the output MLIR had the string "kind(8)" or "kind=8" added to it.  This was one visible difference from before my patch, which I wanted to explicitly highlight.  I thought it might be controversial, so eventually I added a function `PeelConvert` in DirectiveCommon.h to strip the outermost convert (if any).  This left the test files unchanged again, but I forgot to remove the comment from the description.


https://github.com/llvm/llvm-project/pull/81626


More information about the flang-commits mailing list