[clang] 8c6efc0 - [clang][Flang][SystemZ] Enable -mbackchain on Flang (#229863)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 8 04:07:29 PDT 2026
Author: Tulio Magno Quites Machado Filho
Date: 2026-10-08T08:07:24-03:00
New Revision: 8c6efc06653cfb33515d441761a19c1082f0729a
URL: https://github.com/llvm/llvm-project/commit/8c6efc06653cfb33515d441761a19c1082f0729a
DIFF: https://github.com/llvm/llvm-project/commit/8c6efc06653cfb33515d441761a19c1082f0729a.diff
LOG: [clang][Flang][SystemZ] Enable -mbackchain on Flang (#229863)
Enable -mbackchain on Flang now that it supports s390x. This is needed
in order to pass some libomp tests:
libomp :: tasking/omp_untied_taskloop.f90
libomp :: transform/fuse/do-looprange.f90
libomp :: transform/fuse/do.f90
libomp :: transform/tile/do.F90
libomp :: transform/tile/do_2d.f90
libomp :: transform/tile/do_2d_varsizes.f90
libomp :: transform/unroll/heuristic_do.f90
Added:
Modified:
clang/include/clang/Options/Options.td
Removed:
################################################################################
diff --git a/clang/include/clang/Options/Options.td b/clang/include/clang/Options/Options.td
index 9c0f91600ce71..88fbd72f4eae5 100644
--- a/clang/include/clang/Options/Options.td
+++ b/clang/include/clang/Options/Options.td
@@ -6298,7 +6298,7 @@ HelpText<"Not emit the visibility attribute for asm in AIX OS or give all symbol
defm backchain : BoolMOption<"backchain",
CodeGenOpts<"Backchain">, DefaultFalse,
PosFlag<SetTrue, [], [ClangOption], "Link stack frames through backchain on System Z">,
- NegFlag<SetFalse>, BothFlags<[], [ClangOption, CC1Option]>>;
+ NegFlag<SetFalse>, BothFlags<[], [ClangOption, CC1Option, FlangOption]>>;
defm zos_ppa1_name : BoolMOption<"zos-ppa1-name",
CodeGenOpts<"ZOSPPA1Name">, DefaultTrue,
More information about the cfe-commits
mailing list