[flang-commits] [flang] fcb5a2b - [fir] Force target for FIR to LLVM IR conversion
Valentin Clement via flang-commits
flang-commits at lists.llvm.org
Tue Nov 9 05:27:00 PST 2021
Author: Valentin Clement
Date: 2021-11-09T14:26:40+01:00
New Revision: fcb5a2b7d954e4a93ea0ef91bd396a5ab77c76c8
URL: https://github.com/llvm/llvm-project/commit/fcb5a2b7d954e4a93ea0ef91bd396a5ab77c76c8
DIFF: https://github.com/llvm/llvm-project/commit/fcb5a2b7d954e4a93ea0ef91bd396a5ab77c76c8.diff
LOG: [fir] Force target for FIR to LLVM IR conversion
Added:
Modified:
flang/test/Fir/convert-to-llvm-invalid.fir
flang/test/Fir/types-to-llvm.fir
Removed:
################################################################################
diff --git a/flang/test/Fir/convert-to-llvm-invalid.fir b/flang/test/Fir/convert-to-llvm-invalid.fir
index 3ee008860ba7..66b44034c59c 100644
--- a/flang/test/Fir/convert-to-llvm-invalid.fir
+++ b/flang/test/Fir/convert-to-llvm-invalid.fir
@@ -1,6 +1,6 @@
// Test FIR to LLVM IR conversion invalid cases and diagnostics.
-// RUN: fir-opt --split-input-file --fir-to-llvm-ir --verify-diagnostics %s
+// RUN: fir-opt --split-input-file --fir-to-llvm-ir="target=x86_64-unknown-linux-gnu" --verify-diagnostics %s
func @zero_aggregate() {
// expected-error at +1{{failed to legalize operation 'fir.zero_bits'}}
diff --git a/flang/test/Fir/types-to-llvm.fir b/flang/test/Fir/types-to-llvm.fir
index 8bd007ecd202..3bf56d6893f8 100644
--- a/flang/test/Fir/types-to-llvm.fir
+++ b/flang/test/Fir/types-to-llvm.fir
@@ -1,6 +1,6 @@
// Test FIR types conversion.
-// RUN: fir-opt --split-input-file --fir-to-llvm-ir %s | FileCheck %s
+// RUN: fir-opt --split-input-file --fir-to-llvm-ir="target=x86_64-unknown-linux-gnu" %s | FileCheck %s
// Test sequence types `!fir.array`
More information about the flang-commits
mailing list