[clang] [flang] [flang] Expose -m32 and -m64 options (PR #132409)

2025-03-27 Thread Jean-Didier PAILLEUX via cfe-commits
@@ -0,0 +1,4 @@ +! Check support of -m64. +! RUN: %flang -target i386-pc-win32 -m64 -### - %s 2>&1 | FileCheck -check-prefix=M64 %s + +! M64: "-triple" "{{[^-]+}}64-{{.*}}" JDPailleux wrote: Ok :-) https://github.com/llvm/llvm-project/pull/132409 __

[clang] [flang] [flang] Expose -m32 and -m64 options (PR #132409)

2025-03-27 Thread Jean-Didier PAILLEUX via cfe-commits
https://github.com/JDPailleux updated https://github.com/llvm/llvm-project/pull/132409 >From 10add8793e15a4767c772556763a8c063c0eb667 Mon Sep 17 00:00:00 2001 From: Jean-Didier Pailleux Date: Tue, 18 Mar 2025 14:51:05 +0100 Subject: [PATCH] [flang] Expose -m64 option --- clang/include/clang/D

[clang] [flang] [flang] Expose -m32 and -m64 options (PR #132409)

2025-03-27 Thread Jean-Didier PAILLEUX via cfe-commits
https://github.com/JDPailleux updated https://github.com/llvm/llvm-project/pull/132409 >From 9522fe01070c44cdb5562b048aa94d68a8117fd1 Mon Sep 17 00:00:00 2001 From: Jean-Didier Pailleux Date: Tue, 18 Mar 2025 14:51:05 +0100 Subject: [PATCH] [flang] Expose -m64 option --- clang/include/clang/D

[clang] [flang] [flang] Expose -m32 and -m64 options (PR #132409)

2025-03-26 Thread Tarun Prabhu via cfe-commits
@@ -0,0 +1,4 @@ +! Check support of -m64. +! RUN: %flang -target i386-pc-win32 -m64 -### - %s 2>&1 | FileCheck -check-prefix=M64 %s + +! M64: "-triple" "{{[^-]+}}64-{{.*}}" tarunprabhu wrote: If the `-target` is given as `i386-*`, this should always return `x86_

[clang] [flang] [flang] Expose -m32 and -m64 options (PR #132409)

2025-03-26 Thread Tarun Prabhu via cfe-commits
https://github.com/tarunprabhu approved this pull request. https://github.com/llvm/llvm-project/pull/132409 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [flang] Expose -m32 and -m64 options (PR #132409)

2025-03-26 Thread Jean-Didier PAILLEUX via cfe-commits
@@ -0,0 +1,6 @@ +! Check support of -m32 and -m64. JDPailleux wrote: Yes, of course https://github.com/llvm/llvm-project/pull/132409 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bi

[clang] [flang] [flang] Expose -m32 and -m64 options (PR #132409)

2025-03-26 Thread Jean-Didier PAILLEUX via cfe-commits
@@ -4671,14 +4671,14 @@ def EB : Flag<["-"], "EB">, Alias; def m16 : Flag<["-"], "m16">, Group, Flags<[NoXarchOption]>, Visibility<[ClangOption, CLOption, DXCOption]>; def m32 : Flag<["-"], "m32">, Group, Flags<[NoXarchOption]>, - Visibility<[ClangOption, CLOption, DXCOption

[clang] [flang] [flang] Expose -m32 and -m64 options (PR #132409)

2025-03-21 Thread Kiran Chandramohan via cfe-commits
@@ -4671,14 +4671,14 @@ def EB : Flag<["-"], "EB">, Alias; def m16 : Flag<["-"], "m16">, Group, Flags<[NoXarchOption]>, Visibility<[ClangOption, CLOption, DXCOption]>; def m32 : Flag<["-"], "m32">, Group, Flags<[NoXarchOption]>, - Visibility<[ClangOption, CLOption, DXCOption

[clang] [flang] [flang] Expose -m32 and -m64 options (PR #132409)

2025-03-21 Thread Kiran Chandramohan via cfe-commits
@@ -0,0 +1,6 @@ +! Check support of -m32 and -m64. kiranchandramohan wrote: Can the file be renamed to be something specific about the enabled options? https://github.com/llvm/llvm-project/pull/132409 ___ cfe-commits m

[clang] [flang] [flang] Expose -m32 and -m64 options (PR #132409)

2025-03-21 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Jean-Didier PAILLEUX (JDPailleux) Changes Exposes `-m32` and `-m64` options for Flang. These options can be used to build libraries or tools (e.g. OpenBlas). --- Full diff: https://github.com/llvm/llvm-project/pull/132409.diff 2 Files

[clang] [flang] [flang] Expose -m32 and -m64 options (PR #132409)

2025-03-21 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-flang-driver Author: Jean-Didier PAILLEUX (JDPailleux) Changes Exposes `-m32` and `-m64` options for Flang. These options can be used to build libraries or tools (e.g. OpenBlas). --- Full diff: https://github.com/llvm/llvm-project/pull/132409.diff 2

[clang] [flang] [flang] Expose -m32 and -m64 options (PR #132409)

2025-03-21 Thread Jean-Didier PAILLEUX via cfe-commits
https://github.com/JDPailleux created https://github.com/llvm/llvm-project/pull/132409 Exposes `-m32` and `-m64` options for Flang. These options can be used to build libraries or tools (e.g. OpenBlas). >From 404fae7c320f38f27aa666b92660341866cec0bd Mon Sep 17 00:00:00 2001 From: Jean-Didier