diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-09-07 14:50:25 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-09-07 14:50:25 +0000 |
commit | 3335111af91212195656cb3c42afd72bbdeb699c (patch) | |
tree | 8568f0da3900ee8d865f8e5aed9db096f855bd8a /lib/Frontend/CompilerInvocation.cpp | |
parent | 96b8b58101fe5e5532648db63bd90f5d56c5bea8 (diff) | |
download | clang-3335111af91212195656cb3c42afd72bbdeb699c.tar.gz |
Revert "[OPENMP][NVPTX] Disable runtime-type info for CUDA devices."
Still need the RTTI for NVPTX target to pass sema checks.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341668 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | lib/Frontend/CompilerInvocation.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index 2a05d6fa67..aea81069b5 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/lib/Frontend/CompilerInvocation.cpp @@ -2648,11 +2648,6 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, Opts.Exceptions = 0; Opts.CXXExceptions = 0; } - // NVPTX does not support RTTI. - if (Opts.OpenMPIsDevice && T.isNVPTX()) { - Opts.RTTI = 0; - Opts.RTTIData = 0; - } // Get the OpenMP target triples if any. if (Arg *A = Args.getLastArg(options::OPT_fopenmp_targets_EQ)) { |