[flang-commits] [flang] 1b10920 - [NFC][Flang][Driver] Refactor R_Group options tests
Victor Kingi via flang-commits
flang-commits at lists.llvm.org
Wed Aug 23 08:10:45 PDT 2023
Author: Victor Kingi
Date: 2023-08-23T15:10:39Z
New Revision: 1b10920164695a487669405223f8bbe93799430c
URL: https://github.com/llvm/llvm-project/commit/1b10920164695a487669405223f8bbe93799430c
DIFF: https://github.com/llvm/llvm-project/commit/1b10920164695a487669405223f8bbe93799430c.diff
LOG: [NFC][Flang][Driver] Refactor R_Group options tests
This commit addresses the comment at
https://reviews.llvm.org/D158174#inline-1534036 which
suggested adding a check for un-inlined remarks
printed.
Reviewed By: awarzynski
Differential Revision: https://reviews.llvm.org/D158599
Added:
Modified:
flang/test/Driver/optimization-remark.f90
Removed:
################################################################################
diff --git a/flang/test/Driver/optimization-remark.f90 b/flang/test/Driver/optimization-remark.f90
index 3e121489bf754a..de033783e13c72 100644
--- a/flang/test/Driver/optimization-remark.f90
+++ b/flang/test/Driver/optimization-remark.f90
@@ -21,10 +21,11 @@
! RUN: %flang %s -O1 -Rpass-analysis 2>&1 | FileCheck %s --check-prefix=REMARKS-ANALYSIS
! CHECK: remark: Loop deleted because it is invariant
+! REMARKS-MISSED: {{.*}} will not be inlined into {{.*}} because its definition is unavailable
! REMARKS-MISSED: remark: loop not vectorized
-! REMARKS-MISSED-NOT: instruction cannot be vectorized
+! REMARKS-MISSED-NOT: loop not vectorized: instruction cannot be vectorized
! REMARKS-ANALYSIS: remark: loop not vectorized: instruction cannot be vectorized
-! REMARKS-ANALYSIS-NOT: will not be inlined into {{.*}} because its definition is unavailable
+! REMARKS-ANALYSIS-NOT: {{.*}} will not be inlined into {{.*}} because its definition is unavailable
! REMARKS: remark:
! NO-REMARKS-NOT: remark:
More information about the flang-commits
mailing list