[flang-commits] [flang] [flang] Updating drivers to create data layout before semantics (PR #73301)

via flang-commits flang-commits at lists.llvm.org
Fri Nov 24 06:20:03 PST 2023


================
@@ -0,0 +1,9 @@
+! Test bbc set-up of the target data layout from the host.
+! RUN: bbc %s -o - | FileCheck %s
----------------
jeanPerier wrote:

That is right, flang-new changes are NFC aside from the timing when the TargetMachine is created.
This is already tested here:
- https://github.com/llvm/llvm-project/blob/820b3583c9681a1969814ac3b04a6fe41b87d079/flang/test/Driver/emit-llvm.f90#L9
- https://github.com/llvm/llvm-project/blob/820b3583c9681a1969814ac3b04a6fe41b87d079/flang/test/Driver/emit-mlir.f90#L13

https://github.com/llvm/llvm-project/pull/73301


More information about the flang-commits mailing list