[flang-commits] [flang] [flang] Complete implementation of OUT_OF_RANGE() (PR #89334)

via flang-commits flang-commits at lists.llvm.org
Fri Apr 19 09:34:55 PDT 2024


https://github.com/jeanPerier approved this pull request.

Definitely a non trivial intrinsic. I can't validate the rewrite formulas, but it looks like the code is doing what the comments say and it has good testing via folding.

Maybe adding a couple rewrite tests (does not have to be as exhaustive as folding) would be good to avoid regressions by people assuming the rewrite should only happens with constant arguments.

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


More information about the flang-commits mailing list