[all-commits] [llvm/llvm-project] b90ebb: [flang] Fold the RHS of assignment
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Dec 5 09:31:52 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b90ebbc5bd6d90a7dab405004545865d39840277
https://github.com/llvm/llvm-project/commit/b90ebbc5bd6d90a7dab405004545865d39840277
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-12-05 (Mon, 05 Dec 2022)
Changed paths:
M flang/lib/Semantics/expression.cpp
M flang/test/Evaluate/errors01.f90
M flang/test/Lower/Intrinsics/system_clock.f90
M flang/test/Lower/array-expression.f90
M flang/test/Lower/array-temp.f90
M flang/test/Semantics/boz-literal-constants.f90
Log Message:
-----------
[flang] Fold the RHS of assignment
In order to emit overflow warnings from assignment statements whose
right-hand sides are constants that undergo conversions, run the
right-hand sides of assignments through constant folding after the
conversions have been made explicit in expression analysis.
Differential Revision: https://reviews.llvm.org/D139151
More information about the All-commits
mailing list