diff options
author | Nico Weber <thakis@chromium.org> | 2021-11-17 15:57:31 -0500 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2021-11-17 15:59:23 -0500 |
commit | 36873fb768dbedeb3e9167117d3bb63b3720d214 (patch) | |
tree | d173b67c7980732b62d9500851937393b3957f43 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c46becf500df2a7fb4b4fce16178a036c344315a (diff) | |
download | llvm-36873fb768dbedeb3e9167117d3bb63b3720d214.zip llvm-36873fb768dbedeb3e9167117d3bb63b3720d214.tar.gz llvm-36873fb768dbedeb3e9167117d3bb63b3720d214.tar.bz2 |
[clang] Try to fix test more after ae98182cf7341181e
We need to use the td-based marshalling instead of doing this manually,
else the setting gets lost on the way to codegen in most build configs.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 3efcab5..8d33a59 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1614,18 +1614,6 @@ bool CompilerInvocation::ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, } } - if (Arg *A = Args.getLastArg(options::OPT_inline_asm_EQ)) { - StringRef Value = A->getValue(); - if (Value == "att") { - Opts.InlineAsmDialect = CodeGenOptions::IAD_ATT; - } else if (Value == "intel") { - Opts.InlineAsmDialect = CodeGenOptions::IAD_Intel; - } else { - Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) - << A->getValue(); - } - } - // PIC defaults to -fno-direct-access-external-data while non-PIC defaults to // -fdirect-access-external-data. Opts.DirectAccessExternalData = |