Skip to content

Commit fcb5a2b

Browse files
committed
[fir] Force target for FIR to LLVM IR conversion
1 parent 7b5132d commit fcb5a2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

flang/test/Fir/convert-to-llvm-invalid.fir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Test FIR to LLVM IR conversion invalid cases and diagnostics.
22

3-
// RUN: fir-opt --split-input-file --fir-to-llvm-ir --verify-diagnostics %s
3+
// RUN: fir-opt --split-input-file --fir-to-llvm-ir="target=x86_64-unknown-linux-gnu" --verify-diagnostics %s
44

55
func @zero_aggregate() {
66
// expected-error@+1{{failed to legalize operation 'fir.zero_bits'}}

flang/test/Fir/types-to-llvm.fir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Test FIR types conversion.
22

3-
// RUN: fir-opt --split-input-file --fir-to-llvm-ir %s | FileCheck %s
3+
// RUN: fir-opt --split-input-file --fir-to-llvm-ir="target=x86_64-unknown-linux-gnu" %s | FileCheck %s
44

55

66
// Test sequence types `!fir.array`

0 commit comments

Comments
 (0)