[flang-commits] [flang] 5155a75 - [NFC][Flang][Driver] Fix failing windows build on optimization-remark.f90
Victor Kingi via flang-commits
flang-commits at lists.llvm.org
Thu Aug 24 06:02:57 PDT 2023
Author: Victor Kingi
Date: 2023-08-24T13:02:51Z
New Revision: 5155a75f87244d7c0b4511b502790abf6dbbcf6d
URL: https://github.com/llvm/llvm-project/commit/5155a75f87244d7c0b4511b502790abf6dbbcf6d
DIFF: https://github.com/llvm/llvm-project/commit/5155a75f87244d7c0b4511b502790abf6dbbcf6d.diff
LOG: [NFC][Flang][Driver] Fix failing windows build on optimization-remark.f90
Disabled linking by adding -c flag
Reviewed By: kiranchandramohan
Differential Revision: https://reviews.llvm.org/D158727
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 de033783e13c72..3effaf1dc8ddd6 100644
--- a/flang/test/Driver/optimization-remark.f90
+++ b/flang/test/Driver/optimization-remark.f90
@@ -7,18 +7,18 @@
! RUN: %flang_fc1 %s -O1 -Rpass -Rno-pass -emit-llvm -o - 2>&1 | FileCheck %s --check-prefix=NO-REMARKS
! Check -Rno-pass, -Rno-pass-analysis, -Rno-pass-missed nothing emitted
-! RUN: %flang %s -O1 -Rno-pass 2>&1 | FileCheck %s --allow-empty --check-prefix=NO-REMARKS
-! RUN: %flang %s -O1 -Rno-pass-missed 2>&1 | FileCheck %s --allow-empty --check-prefix=NO-REMARKS
-! RUN: %flang %s -O1 -Rno-pass-analysis 2>&1 | FileCheck %s --allow-empty --check-prefix=NO-REMARKS
+! RUN: %flang %s -O1 -Rno-pass -c 2>&1 | FileCheck %s --allow-empty --check-prefix=NO-REMARKS
+! RUN: %flang %s -O1 -Rno-pass-missed -c 2>&1 | FileCheck %s --allow-empty --check-prefix=NO-REMARKS
+! RUN: %flang %s -O1 -Rno-pass-analysis -c 2>&1 | FileCheck %s --allow-empty --check-prefix=NO-REMARKS
! Check full -Rpass message is emitted
-! RUN: %flang %s -O1 -Rpass 2>&1 | FileCheck %s
+! RUN: %flang %s -O1 -Rpass -c 2>&1 | FileCheck %s
! Check full -Rpass-missed message is emitted
-! RUN: %flang %s -O1 -Rpass-missed 2>&1 | FileCheck %s --check-prefix=REMARKS-MISSED
+! RUN: %flang %s -O1 -Rpass-missed -c 2>&1 | FileCheck %s --check-prefix=REMARKS-MISSED
! Check full -Rpass-analysis message is emitted
-! RUN: %flang %s -O1 -Rpass-analysis 2>&1 | FileCheck %s --check-prefix=REMARKS-ANALYSIS
+! RUN: %flang %s -O1 -Rpass-analysis -c 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
More information about the flang-commits
mailing list