We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2cfc21 commit 94b83deCopy full SHA for 94b83de
clang/lib/Driver/ToolChains/Flang.cpp
@@ -530,6 +530,15 @@ void Flang::addTargetOptions(const ArgList &Args,
530
CmdArgs.push_back(A->getValue());
531
}
532
533
+ // FIXME: Remove it when local alias tags are generated by default
534
+ // See: https://github.com/llvm/llvm-project/pull/139682
535
+ // We need this downstream hack due to ARM failure for test case:
536
+ // https://github.com/fujitsu/compiler-test-suite/blob/main/Fortran/0614/0614_0005.f
537
+ if (!Triple.isARM()) {
538
+ CmdArgs.push_back("-mmlir");
539
+ CmdArgs.push_back("-local-alloc-tbaa");
540
+ }
541
+
542
Args.addAllArgs(CmdArgs,
543
{options::OPT_fverbose_asm, options::OPT_fno_verbose_asm});
544
0 commit comments