llvm-project/flang/test/Evaluate
Mike Kashkarov 35cc2ec4ed [flang] Support FINDLOC/MAXLOC/MINLOC with scalar mask
Previously MASK= elements were accessed in assumption that mask is an array of
input argument rank (and in combination with explicit DIM= argument we had
out-of-bounds access), but for MAXLOC/MINLOC/FINDLOC mask should be be
conformable and could be scalar.

Add new regression tests with scalar mask for verification.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D124408
2022-04-28 18:59:04 +09:00
..
errors01.f90 [flang] Fold SCALE() 2022-01-15 09:31:00 -08:00
expr01.f90 [flang] Represent (parentheses around derived types) 2021-09-23 13:03:13 -07:00
fold-btest.f90 [flang] Fold BTEST 2021-10-18 13:46:46 -07:00
fold-char-cmp.f90 [flang] Fold LGE/LGT/LLE/LLT intrinsic functions 2021-10-14 15:24:03 -07:00
fold-dble.f90 [flang][Evaluate] Fold DBLE 2022-03-23 17:27:05 +00:00
fold-findloc.f90 [flang] Support FINDLOC/MAXLOC/MINLOC with scalar mask 2022-04-28 18:59:04 +09:00
fold-ibits.f90 [flang] Fold IBITS() intrinsic function 2022-04-13 17:06:14 -07:00
fold-ishft.f90 [flang] Fix bogus folding error for ISHFT(x, negative) 2021-10-22 10:38:27 -07:00
fold-nearest.f90 [flang] Fold NEAREST() and its relatives 2022-03-28 11:33:40 -07:00
fold-scale.f90 [flang] Fold SCALE() 2022-01-15 09:31:00 -08:00
fold-spread.f90 [flang] Fold SPREAD 2021-10-28 14:10:16 -07:00
fold-substr.f90 [flasg] Debug folding of substring references 2022-01-14 16:09:06 -08:00
folding01.f90 [flang] Fix usage & catch errors for MAX/MIN with keyword= arguments 2021-11-30 12:53:47 -08:00
folding02.f90 [flang] Fold transformational bessels when host runtime has bessels 2022-04-22 09:37:49 +02:00
folding03.f90 [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
folding04.f90 [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
folding05.f90 [flang] Accept INDEX(..., BACK=array) 2022-01-19 17:37:24 -08:00
folding06.f90 [flang] Fix ORDER= argument to RESHAPE 2021-11-12 10:25:00 -08:00
folding07.f90 [flang] Fix folding of EXPONENT() intrinsic function 2021-12-04 11:23:09 -08:00
folding08.f90 [flang] Fix UBOUND() constant folding for parentheses expr 2022-04-28 18:56:54 +09:00
folding09.f90 [flang] Return true in IsSymplyContiguous for allocatables 2021-11-29 08:28:26 +01:00
folding10.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding11.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding12.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding13.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding14.f90 [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
folding15.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding16.f90 [flang] Set LBOUND() folding for (x) expression as ones 2022-04-20 20:06:11 +03:00
folding17.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding18.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding20.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding21.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding22.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding23.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding24.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding25.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding26.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding27.f90 [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00
folding28.f90 [flang] Fix ICE for sqrt(0.0) evaluation 2022-04-14 12:53:46 +03:00
folding29.f90 [flang] Fold COUNT() 2021-09-16 17:09:23 -07:00
folding30.f90 [flang] Fix folding of ac-implied-do indices in structure c'tors 2021-12-09 18:03:04 -08:00
rewrite01.f90 [flang] Fix Symbol::Rank for ProcEntityDetails 2022-04-15 09:54:48 -07:00
test_folding.py [Flang] Port test_folding.sh to Python 2021-09-06 13:54:56 +00:00