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

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Fri Apr 19 12:26:04 PDT 2024


klausler wrote:

> 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.

I added an exhaustive rewriting test.

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


More information about the flang-commits mailing list