[all-commits] [llvm/llvm-project] 7c49f5: [flang][nfc] Add missing `REQUIRES: asserts` in tests
Andrzej WarzyĆski via All-commits
all-commits at lists.llvm.org
Thu Jul 21 02:23:37 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7c49f56956eb48af15dd2d9a6f2f650443e5be2c
https://github.com/llvm/llvm-project/commit/7c49f56956eb48af15dd2d9a6f2f650443e5be2c
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2022-07-21 (Thu, 21 Jul 2022)
Changed paths:
M flang/test/Driver/mlir-pass-pipeline.f90
M flang/test/Fir/basic-program.fir
Log Message:
-----------
[flang][nfc] Add missing `REQUIRES: asserts` in tests
Tests that use `--mlir-pass-statistics-display=` from MLIR require the
following condition to hold: (extracted from LLVM's Statistics.h):
```
#define LLVM_ENABLE_STATS 1
```
This is normally enforced with `REQUIRES: asserts`. This patch updates
relevant Flang tests accordingly.
For "Release" builds (with assertions disabled), the affected tests will
be failing without this change.
Differential Revision: https://reviews.llvm.org/D130185
More information about the All-commits
mailing list