aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2020-11-24 12:48:11 +0100
committerJan Svoboda <jan_svoboda@apple.com>2020-11-26 15:32:38 +0100
commita3258566868b3a16b131e8963932ac21888cb90b (patch)
tree5d827415a877024286e43b1840c2211ea6667803 /clang/lib/Frontend/CompilerInvocation.cpp
parent6464c4a170173a2b476ff4be6e160836032b68fe (diff)
downloadllvm-a3258566868b3a16b131e8963932ac21888cb90b.zip
llvm-a3258566868b3a16b131e8963932ac21888cb90b.tar.gz
llvm-a3258566868b3a16b131e8963932ac21888cb90b.tar.bz2
[clang][cli] Port Target option flags to new option parsing system
Depends on D83697 Original patch by Daniel Grumberg. Differential Revision: https://reviews.llvm.org/D83698
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 144bbe8..fb79dea 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -3753,9 +3753,6 @@ static void ParseTargetArgs(TargetOptions &Opts, ArgList &Args,
Opts.LinkerVersion =
std::string(Args.getLastArgValue(OPT_target_linker_version));
Opts.OpenCLExtensionsAsWritten = Args.getAllArgValues(OPT_cl_ext_EQ);
- Opts.ForceEnableInt128 = Args.hasArg(OPT_fforce_enable_int128);
- Opts.NVPTXUseShortPointers = Args.hasFlag(
- options::OPT_fcuda_short_ptr, options::OPT_fno_cuda_short_ptr, false);
Opts.AllowAMDGPUUnsafeFPAtomics =
Args.hasFlag(options::OPT_munsafe_fp_atomics,
options::OPT_mno_unsafe_fp_atomics, false);