llvm-project/flang/lib
Peter Steinfeld 2018dafce5 [flang] Fix calls to LBOUND() intrinsic for arrays with lower bounds not 1
Constant folding for calls to LBOUND() was not working when the lower bound of
a constant array was not 1.

I fixed this and re-enabled the test in Evaluate/folding16.f90 that previously
was silently failing.  I slightly changed the test to parenthesize the first
argument to exercise all of the new code.

Differential Revision: https://reviews.llvm.org/D95894
2021-02-03 10:53:32 -08:00
..
Common [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
Decimal [flang] Readability improvement in binary->decimal conversion 2020-10-01 15:49:27 -07:00
Evaluate [flang] Fix calls to LBOUND() intrinsic for arrays with lower bounds not 1 2021-02-03 10:53:32 -08:00
Frontend [flang][driver] Disallow non-existent input files in the frontend driver 2021-02-02 10:03:45 +00:00
FrontendTool [flang][driver] Move isFixedFormSuffix and isFreeFormSuffix to flangFrontend 2021-01-19 17:47:40 +00:00
Lower [flang][NFCI] Relpace `LoopOp` Op with `DoLoopOp` Op in FIR Dialect 2021-02-03 22:57:49 +05:30
Optimizer [flang][NFCI] Relpace `LoopOp` Op with `DoLoopOp` Op in FIR Dialect 2021-02-03 22:57:49 +05:30
Parser [flang] Fix parsing of WRITE(I+J) with more accurate look-ahead 2021-02-01 09:07:40 -08:00
Semantics [Flang][OpenMP] Add semantic checks for invalid branches into or out of OpenMP constructs 2021-02-03 16:09:34 +05:30
CMakeLists.txt [flang][driver] Add the new flang compiler and frontend drivers 2020-09-11 10:55:54 +01:00