[flang-commits] [flang] Make test in optimization-remark.f90 more tolerant (PR #157036)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Fri Sep 5 08:05:56 PDT 2025
================
@@ -19,7 +19,7 @@
! RUN: %flang %s -O2 -Rpass=loop -S %{output} 2>&1 | FileCheck %s --check-prefix=PASS-REGEX-LOOP-ONLY
! Check valid -Rpass-missed regex
-! RUN: %flang %s -O2 -Rpass-missed=loop -S %{output} 2>&1 | FileCheck %s --check-prefix=MISSED-REGEX-LOOP-ONLY
+! RUN: %flang %s -O2 -Rpass-missed=loop -S %{output} 2>&1 | FileCheck %s --allow-empty --check-prefix=MISSED-REGEX-LOOP-ONLY
----------------
tblah wrote:
I can see there are other run lines which also contain `--allow-empty`, but I'm worried that these could prevent us from noticing missing optimisation remarks on platforms which do support them. I think it would be better to mark this test as unsupported on riscv.
https://github.com/llvm/llvm-project/pull/157036
More information about the flang-commits
mailing list