================ @@ -1,4 +1,5 @@ -! RUN: %flang_fc1 -emit-hlfir -mllvm -enable-split-sum-expression-tree-lowering -o - %s | FileCheck %s --check-prefixes=SPLIT,NO-REWRITE +! RUN: %flang_fc1 -emit-hlfir -freal-sum-reassociation -o - %s | FileCheck %s --check-prefixes=SPLIT,NO-REWRITE +! RUN: %flang_fc1 -emit-hlfir -freal-sum-reassociation -fno-real-sum-reassociation -o - %s | FileCheck %s --check-prefixes=DEFAULT,NO-REWRITE ---------------- tarunprabhu wrote:
Instead of adding both `-freal-sum-association` and `-fno-real-sum-association` here, it may be better to have one test for each. Since this is visible in the driver, we should add a driver test with both these options to test that the the last one "wins". https://github.com/llvm/llvm-project/pull/207377 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
