aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorjeanPerier <jperier@nvidia.com>2024-03-19 11:45:31 +0100
committerGitHub <noreply@github.com>2024-03-19 11:45:31 +0100
commitd0829fbdeda0a2faa8cf684e1396e579691bdfa2 (patch)
tree2de8559888fc1ea2287c5b525222a93005819121 /flang/lib/Frontend/CompilerInvocation.cpp
parentd1c37959686db3303f6d5ffaeee12be12facc640 (diff)
downloadllvm-d0829fbdeda0a2faa8cf684e1396e579691bdfa2.zip
llvm-d0829fbdeda0a2faa8cf684e1396e579691bdfa2.tar.gz
llvm-d0829fbdeda0a2faa8cf684e1396e579691bdfa2.tar.bz2
[flang] Enable polymorphic lowering by default (#83285)
Polymorphic entity lowering status is good. The main remaining TODO is to allow lowering of vector subscripted polymorphic entity, but this does not deserve blocking all application using polymorphism. Remove experimental option and enable lowering of polymorphic entity by default.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--flang/lib/Frontend/CompilerInvocation.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/flang/lib/Frontend/CompilerInvocation.cpp b/flang/lib/Frontend/CompilerInvocation.cpp
index 2e3fa1f..c830c7a 100644
--- a/flang/lib/Frontend/CompilerInvocation.cpp
+++ b/flang/lib/Frontend/CompilerInvocation.cpp
@@ -1191,11 +1191,6 @@ bool CompilerInvocation::createFromArgs(
invoc.loweringOpts.setLowerToHighLevelFIR(false);
}
- if (args.hasArg(
- clang::driver::options::OPT_flang_experimental_polymorphism)) {
- invoc.loweringOpts.setPolymorphicTypeImpl(true);
- }
-
// -fno-ppc-native-vector-element-order
if (args.hasArg(clang::driver::options::OPT_fno_ppc_native_vec_elem_order)) {
invoc.loweringOpts.setNoPPCNativeVecElemOrder(true);