diff options
author | Kiran Chandramohan <kiran.chandramohan@arm.com> | 2025-01-17 12:27:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-17 12:27:58 +0000 |
commit | 8a229f595a5c0ff354cdfa05cda974a9d56674df (patch) | |
tree | a206f11511b0d2952e43617650e0e7c9732842b3 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | ce3280a64467b5211ced77169f3203c07934e06b (diff) | |
download | llvm-8a229f595a5c0ff354cdfa05cda974a9d56674df.zip llvm-8a229f595a5c0ff354cdfa05cda974a9d56674df.tar.gz llvm-8a229f595a5c0ff354cdfa05cda974a9d56674df.tar.bz2 |
Revert "Revert "Revert "[Flang][Driver] Add a flag to control zero initializa…" (#123330)
Reverts llvm/llvm-project#123097
Reverting due to buildbot failure
https://lab.llvm.org/buildbot/#/builders/89/builds/14577.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | flang/lib/Frontend/CompilerInvocation.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/flang/lib/Frontend/CompilerInvocation.cpp b/flang/lib/Frontend/CompilerInvocation.cpp index 3c6da46..15b1e1e 100644 --- a/flang/lib/Frontend/CompilerInvocation.cpp +++ b/flang/lib/Frontend/CompilerInvocation.cpp @@ -1377,14 +1377,6 @@ bool CompilerInvocation::createFromArgs( invoc.loweringOpts.setNoPPCNativeVecElemOrder(true); } - // -f[no-]init-global-zero - if (args.hasFlag(clang::driver::options::OPT_finit_global_zero, - clang::driver::options::OPT_fno_init_global_zero, - /*default=*/true)) - invoc.loweringOpts.setInitGlobalZero(true); - else - invoc.loweringOpts.setInitGlobalZero(false); - // Preserve all the remark options requested, i.e. -Rpass, -Rpass-missed or // -Rpass-analysis. This will be used later when processing and outputting the // remarks generated by LLVM in ExecuteCompilerInvocation.cpp. |