summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-09-07 14:50:25 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-09-07 14:50:25 +0000
commit47b2ed2e166ddf3135f76d3d2d13374d91d9d1b0 (patch)
tree0d144154d1e7d2f6df600e57b633f9451ba5eb4c /clang/lib/Frontend/CompilerInvocation.cpp
parent469304e8fbe9e42f139af782e3c2e1e3ae760b55 (diff)
downloadbcm5719-llvm-47b2ed2e166ddf3135f76d3d2d13374d91d9d1b0.tar.gz
bcm5719-llvm-47b2ed2e166ddf3135f76d3d2d13374d91d9d1b0.zip
Revert "[OPENMP][NVPTX] Disable runtime-type info for CUDA devices."
Still need the RTTI for NVPTX target to pass sema checks. llvm-svn: 341668
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 2a05d6fa67c..aea81069b5e 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/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)) {
OpenPOWER on IntegriCloud