FailedChanges

Summary

  1. [ADT] Remove a workaround for old versions of clang (details)
  2. [PowerPC][NFC] Move codegen tests to PowerPC from MIR/PowerPC (details)
  3. gn build: pacify "gn format" after 371102 (details)
  4. [Sema][Typo Correction] Fix potential infite loop on ambiguity checks (details)
  5. Fix a few spellos in docs. (details)
  6. [X86] Use incDecVectorConstant to simplify the min/max code in (details)
  7. [docs][llvm-readelf][llvm-readobj] Improve --stack-sizes documentation (details)
  8. Fix build in C++20 (details)
  9. Only initialize the streams cout/wcout/cerr/wcerr etc once, rather than (details)
  10. [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom (details)
  11. [lldb] - Update unit tests after lib/ObjectYAML change. (details)
  12. Recommit r370502: Make `vector` unconditionally move elements when (details)
  13. [AArch64][GlobalISel] Add support for sibcalling callees with varargs (details)
  14. [Remarks][NFC] Use StringLiteral for magic numbers (details)
  15. [Remarks][NFC] Forward declare ParsedStringTable (details)
  16. [CMake] Separate the detection Darwin platforms architectures for the (details)
  17. Fix bug in `darwin_test_archs()` when the cache variable is set but (details)
  18. Revert for: [AMDGPU]: PHI Elimination hooks added for custom COPY (details)
  19. Fix failing negative compilation test for some versions of Clang (details)
  20. [NFCI]Create CommonAttributeInfo Type as base type of *Attr and (details)
  21. Fix build error in 371875 (details)
  22. [NFC][InstSimplify] Add some more tests for D67498/D67502 (details)
  23. Reland r371785: Add -Wpoison-system-directories warning (details)
  24. [SLP] add test for vectorization of constant expressions; NFC (details)
  25. Fix various test failures with GCC (details)
  26. Update XFAIL list for new GCC versions (details)
  27. Fix error in ProcessLauncherWindows.cpp (details)
  28. AArch64: fix EXPENSIVE_CHECKS for arm64_32. (details)
  29. Fix pretty printer test with GCC (details)
  30. [Reproducer] Include the this pointer in the API log. (details)
  31. Mark [[nodiscard]] test as unsupported with GCC 5 (details)
  32. [aarch64] move custom isel of extract_vector_elt to td file - NFC (details)
  33. [FPEnv] Document that constrained FP intrinsics cannot be mixed with (details)
  34. [Docs] Bug fix for reference to nonexistent document (details)
  35. [Support] Add overload writeFileAtomically(std::function Writer) (details)
  36. [OPENMP5.0]Add basic support for declare variant directive. (details)
  37. [AArch64][GlobalISel] Tail call memory intrinsics (details)
  38. Fix C++03 build failures due to >> (details)
  39. [llvm-opt-report] Improve error handling (details)
  40. Fix test to use %t for newly created files. (details)
  41. Add dependency from Orc to Passes (details)
  42. [test] Print the log output on failure. (details)
  43. [NFC][libLTO] Rearrange declaration in lto.h (details)
  44. [GlobalISel] Fix insertion point of new instructions to be after PHIs. (details)
  45. [LLDB] Add missing breaks for switch statement (details)
  46. [clang-scan-deps] Fix for headers having the same name as a directory (details)
  47. Make test check position independent as they sometimes come out (details)
  48. [test] Update TestAPILog to pass on Windows. (details)
  49. [WebAssembly] Narrowing and widening SIMD ops (details)
  50. [Reproducer] Move GDB Remote Packet into Utility. (NFC) (details)
  51. [Reproducer] Add reproducer dump command. (details)
  52. Bugpoint: Remove some unnecessary c_str conversions on the journey to (details)
  53. [llvm-objcopy] Add support for response files in llvm-strip and (details)
  54. [llvm-ar] Uncapitalize error messages and delete full stop (details)
  55. [llvm-objcopy] Default --output-target to --input-target when (details)
  56. [llvm-objcopy] Ignore -B --binary-architecture= (details)
  57. [Attributor][Fix] Use right type to replace expressions (details)
  58. [ScheduleDAGMILive] Fix typo in comment. (details)
  59. [Driver] Improve Clang::getDependencyFileName and its tests after (details)
  60. [Driver] Fix multiple bugs related to dependency file options: -M -MM (details)
  61. [clang-scan-deps] Add -M to work around -MT issue after r371918 (details)
Commit b4160cb94c54f0b31d0ce14694950dac7b6cd83f by benny.kra
[ADT] Remove a workaround for old versions of clang
llvm-svn: 371856
The file was modifiedllvm/include/llvm/ADT/DenseMap.h
Commit 455a0db01a04ca28b97f363fc822cbbadf89a59e by Jinsong Ji
[PowerPC][NFC] Move codegen tests to PowerPC from MIR/PowerPC
All tests with -run-pass !=none should not in MIR/, See MIR/README.
``` Tests for codegen passes should NOT be here but in
test/CodeGen/sometarget. As a rule of thumb this directory should only
contain tests using
'llc -run-pass none'.
```
llvm-svn: 371857
The file was removedllvm/test/CodeGen/MIR/PowerPC/machine-backward-cp.mir
The file was addedllvm/test/CodeGen/PowerPC/machine-backward-cp.mir
The file was removedllvm/test/CodeGen/MIR/PowerPC/peephole-miscompile-extswsli.mir
The file was addedllvm/test/CodeGen/PowerPC/prolog_vec_spills.mir
The file was removedllvm/test/CodeGen/MIR/PowerPC/ifcvt-diamond-ret.mir
The file was addedllvm/test/CodeGen/PowerPC/ifcvt-diamond-ret.mir
The file was addedllvm/test/CodeGen/PowerPC/peephole-miscompile-extswsli.mir
The file was removedllvm/test/CodeGen/MIR/PowerPC/prolog_vec_spills.mir
Commit e7e8b51b0314d414ce647ca790186ecbbe567fd7 by nicolasweber
gn build: pacify "gn format" after 371102
llvm-svn: 371858
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
Commit 6d186504216446a1620628057c10bddb9b0b9085 by dallasftball
[Sema][Typo Correction] Fix potential infite loop on ambiguity checks
Summary: This fixes a bug introduced in D62648, where Clang could
infinite loop if it became stuck on a single TypoCorrection when it was
supposed to be testing ambiguous corrections. Although not a common
case, it could happen if there are multiple possible corrections with
the same edit distance.
The fix is simply to wipe the TypoExpr from the `TransformCache` so that
the call to `TransformTypoExpr` doesn't use the `CachedEntry`.
Reviewers: rsmith
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67515
llvm-svn: 371859
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was addedclang/test/Sema/typo-correction-ambiguity.cpp
Commit bb69208df851f94bdd51c4f14b1cf54be3ada599 by nicolasweber
Fix a few spellos in docs.
(Trying to debug an incremental build thing on a bot...)
llvm-svn: 371860
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst
The file was modifiedllvm/docs/CommandGuide/llvm-nm.rst
The file was modifiedllvm/docs/PDB/MsfFile.rst
The file was modifiedllvm/docs/SpeculativeLoadHardening.md
The file was modifiedllvm/docs/BuildingADistribution.rst
The file was modifiedllvm/docs/ORCv2.rst
The file was modifiedllvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl07.rst
Commit 8e0f104916f1a69a1351bd623a105633bb183401 by craig.topper
[X86] Use incDecVectorConstant to simplify the min/max code in
LowerVSETCC.
incDecVectorConstant is used for a similar reason in
LowerVSETCCWithSUBUS so we might as well share the code.
llvm-svn: 371861
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit a2497b43e3998d3e4e22380906f0d3bc5c49adff by jh7370
[docs][llvm-readelf][llvm-readobj] Improve --stack-sizes documentation
llvm-readobj's document was missing --stack-sizes entirely from its
document, so this patch adds it. It also adds a note to the llvm-readelf
description that the switch is only implemented for GNU style output
currently. For reference, --stack-sizes was added in r367942.
Reviewed by: MaskRay
Differential Revision: https://reviews.llvm.org/D67548
llvm-svn: 371862
The file was modifiedllvm/docs/CommandGuide/llvm-readobj.rst
The file was modifiedllvm/docs/CommandGuide/llvm-readelf.rst
Commit 24c1ab26331ae218f27659a1a26cc72d8a264482 by eric
Fix build in C++20
llvm-svn: 371863
The file was modifiedlibcxx/src/experimental/memory_resource.cpp
Commit 7b81a13bfcd1d92f478109f1c87971dafba639d2 by mclow.lists
Only initialize the streams cout/wcout/cerr/wcerr etc once, rather than
any time Init::Init is called. Fixes PR#43300
llvm-svn: 371864
The file was addedlibcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_Init/ios_Init.multiple.pass.cpp
The file was modifiedlibcxx/src/iostream.cpp
Commit 850110272783e85bc79d9fad64add5d303a23ad1 by grimar
[yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom
errors handlers.
This is a continuation of the YAML library error reporting
refactoring/improvement and the idea by itself was mentioned in the
following thread:
https://reviews.llvm.org/D67182?id=218714#inline-603404
This performs a cleanup of all object emitters in the library. It allows
using the custom one provided by the caller.
One of the nice things is that each tool can now print its tool name,
e.g: "yaml2obj: error: <text>"
Also, the code became a bit simpler.
Differential revision: https://reviews.llvm.org/D67445
llvm-svn: 371865
The file was modifiedllvm/lib/ObjectYAML/WasmEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/MachOEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/empty-or-invalid-doc.yaml
The file was modifiedllvm/lib/ObjectYAML/COFFEmitter.cpp
The file was modifiedllvm/tools/llvm-ifs/llvm-ifs.cpp
The file was modifiedllvm/lib/ObjectYAML/yaml2obj.cpp
The file was modifiedllvm/test/tools/yaml2obj/section-size-content.yaml
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/ObjectYAML/wasm/invalid_section_order.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/yaml2obj.h
The file was modifiedllvm/unittests/ObjectYAML/MinidumpYAMLTest.cpp
The file was modifiedllvm/test/tools/yaml2obj/invalid_output_file.test
The file was modifiedllvm/tools/yaml2obj/yaml2obj.cpp
The file was modifiedllvm/test/tools/yaml2obj/invalid-docnum.test
The file was modifiedllvm/test/tools/yaml2obj/missing_document_tag.yaml
The file was modifiedllvm/lib/ObjectYAML/MinidumpEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/dynsymtab-implicit-sections-size-content.yaml
The file was modifiedllvm/test/tools/yaml2obj/reloc-sec-info.yaml
The file was modifiedllvm/test/tools/yaml2obj/coff-invalid-alignment.test
The file was modifiedllvm/test/tools/yaml2obj/multi-doc.test
The file was modifiedllvm/unittests/ObjectYAML/YAML2ObjTest.cpp
Commit 69ba3defafa7afc2ddcc0dc0d541334e0220cbb5 by grimar
[lldb] - Update unit tests after lib/ObjectYAML change.
An update after r371865
llvm-svn: 371866
The file was modifiedlldb/unittests/Process/minidump/MinidumpParserTest.cpp
The file was modifiedlldb/unittests/TestingSupport/TestUtilities.cpp
Commit 2a573784f3679a7abab921018eb1c585dce8e669 by eric
Recommit r370502: Make `vector` unconditionally move elements when
exceptions are disabled.
The patch was reverted due to some confusion about non-movable types. ie
types that explicitly delete their move constructors. However, such
types do not meet the requirement for `MoveConstructible`, which is
required by
`std::vector`:
Summary:
`std::vector<T>` is free choose between using copy or move operations
when it needs to resize. The standard only candidates that the correct
exception safety guarantees are provided. When exceptions are disabled
these guarantees are trivially satisfied. Meaning vector is free to
optimize it's implementation by moving instead of copying.
This patch makes `std::vector` unconditionally move elements when
exceptions are disabled. This optimization is conforming according to
the current standard wording.
There are concerns that moving in `-fno-noexceptions`mode will be a
surprise to users. For example, a user may be surprised to find their
code is slower with exceptions enabled than it is disabled. I'm
sympathetic to this surprised, but I don't think it should block this
optimization.
Reviewers: mclow.lists, ldionne, rsmith Reviewed By: ldionne
Subscribers: zoecarver, christof, dexonsmith, libcxx-commits Tags: #libc
Differential Revision: https://reviews.llvm.org/D62228
llvm-svn: 371867
The file was removedlibcxx/test/std/containers/sequences/vector/vector.modifiers/resize.copy_only.pass.sh.cpp
The file was addedlibcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp
The file was modifiedlibcxx/include/memory
The file was modifiedlibcxx/include/vector
The file was addedlibcxx/test/libcxx/containers/sequences/vector/exception_safety_exceptions_disabled.sh.cpp
Commit 14bfb56b1aea586f489aaa71af13bf742873de46 by Jessica Paquette
[AArch64][GlobalISel] Add support for sibcalling callees with varargs
This adds support for tail calling callees with varargs, equivalent to
how it is done in AArch64ISelLowering.
This only works for sibling calls, and does not add the necessary
support for musttail with varargs. (See r345641 for equivalent
ISelLowering support.) This should be implemented when we stop falling
back on musttail.
Update call-translator-tail-call.ll to show that we can now tail call
varargs.
Differential Revision: https://reviews.llvm.org/D67518
llvm-svn: 371868
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/call-translator-tail-call.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
Commit 1d6fb061cf5a0326b11637ee597addb2e2c230d0 by francisvm
[Remarks][NFC] Use StringLiteral for magic numbers
llvm-svn: 371869
The file was modifiedllvm/include/llvm/Remarks/BitstreamRemarkContainer.h
The file was modifiedllvm/include/llvm/Remarks/RemarkFormat.h
Commit d38f63e5f49279a6bd4c9de654686d789f2dd3d7 by francisvm
[Remarks][NFC] Forward declare ParsedStringTable
llvm-svn: 371870
The file was modifiedllvm/include/llvm/Remarks/RemarkStringTable.h
The file was modifiedllvm/unittests/Remarks/YAMLRemarksSerializerTest.cpp
Commit ef163f5a20dcd1f79f66ae2a71d425345e5453ac by dan
[CMake] Separate the detection Darwin platforms architectures for the
built-ins from the rest of compiler-rt.
The detection of supported platform (os) architectures for Darwin relies
on the `darwin_test_archs()` CMake function. This is used both for
building the builtins (`builtin-config-ix.cmake`) and for the rest of
the compiler-rt (`config-ix.cmake`).
`darwin_test_archs()`  implements a cache, presumably to speed up CMake
re-configures.  Unfortunately this caching is buggy because it depends
on external global state (i.e. the `TEST_COMPILE_ONLY` variable) and
this is not taken into account. For `config-ix.cmake`
`TEST_COMPILE_ONLY` is not set and for `builtin-config-ix.cmake`
`TEST_COMPILE_ONLY` is set to `On`.  This makes the
`darwin_test_archs()` function racey in the sense that a call from one
calling context will poison the cache for the other calling context.
This is actually an issue George Karpenkov discovered a while back and
had an incomplete patch for (https://reviews.llvm.org/D45337) but this
was never merged.
To workaround this, this patch switches to using a different set of
variables for the platform architecture builtins, i.e.
`DARWIN_<OS>_ARCHS` -> `DARWIN_<OS>_BUILTIN_ARCHS`. This avoids the
cache poisoning problem because the cached variable names are different.
This also has the advantage that the the configured architectures for
builtins and the rest of the compiler-rt are now independent and can be
set differently if necessary.
Note in `darwin_test_archs()` we also now pass `-w` to the compiler
because `try_compile_only()` treats compiler warnings as errors.  This
was extremely fragile because compiler warnings (can easily appear due
to a buggy compiler or SDK headers) would cause compiler-rt to think an
architecture on Darwin wasn't supported.
rdar://problem/48637491
llvm-svn: 371871
The file was modifiedcompiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
The file was modifiedcompiler-rt/cmake/builtin-config-ix.cmake
Commit 713da8db39bb4cd1f9a1a5e67b255f6156e8929d by dan
Fix bug in `darwin_test_archs()` when the cache variable is set but
empty.
Summary: If the cache variable named in `${valid_archs}` (e.g.
`DARWIN_osx_BUILTIN_ARCHS`) is set in the cache but is empty then the
cache check
`if(${valid_archs})` will be false so the function will probe the
compiler but the `set(...)` command at the end of the function to update
the cache variable will be a no-op. This is because `set(...)` will not
update an existing cache variable unless the `FORCE` argument is
provided.
To fix this this patch adds `FORCE` so the cache is always updated.
rdar://problem/55323665
Reviewers: vsk, kubamracek
Subscribers: mgorny, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D67530
llvm-svn: 371872
The file was modifiedcompiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
Commit 9ff70132bf89e213f45e54cd2d79a611d14b3d0b by Alexander.Timofeev
Revert for: [AMDGPU]: PHI Elimination hooks added for custom COPY
insertion.
llvm-svn: 371873
The file was removedllvm/test/CodeGen/AMDGPU/phi-elimination-end-cf.mir
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/phi-elimination-assertion.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/PHIElimination.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
Commit 7ff9a9353c24c9da28ad7719c34d859c7009fafa by eric
Fix failing negative compilation test for some versions of Clang
llvm-svn: 371874
The file was modifiedlibcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp
Commit 6a24e8068052cd6b48295959ec4c44eb2ef819c5 by erich.keane
[NFCI]Create CommonAttributeInfo Type as base type of *Attr and
ParsedAttr.
In order to enable future improvements to our attribute diagnostics,
this moves info from ParsedAttr into CommonAttributeInfo, then makes
this type the base of the *Attr and ParsedAttr types. Quite a bit of
refactoring took place, including removing a bunch of redundant Spelling
Index propogation.
Differential Revision: https://reviews.llvm.org/D67368
llvm-svn: 371875
The file was modifiedclang/lib/Sema/ParsedAttr.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaStmtAttr.cpp
The file was modifiedclang/include/clang/AST/Attr.h
The file was modifiedclang/lib/Lex/Pragma.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Lex/PPDirectives.cpp
The file was modifiedclang/lib/Sema/SemaObjCProperty.cpp
The file was modifiedclang/lib/Lex/PPLexerChange.cpp
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/utils/TableGen/ClangAttrEmitter.cpp
The file was modifiedclang/lib/Parse/ParsePragma.cpp
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/include/clang/Lex/Preprocessor.h
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/lib/Parse/Parser.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was addedclang/include/clang/Basic/AttributeCommonInfo.h
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/include/clang/Sema/ParsedAttr.h
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
Commit f9cd381fdfe582734c4533882a8cdde4a880c780 by erich.keane
Fix build error in 371875
Apparently Clang complains about the name hiding here in a way that my
GCC build does not, so a shocking number of buildbots decided to tell me
about it.  Change the name of the variable to prevent the name hiding
and hope we don't have to fix this again.
llvm-svn: 371876
The file was modifiedclang/utils/TableGen/ClangAttrEmitter.cpp
Commit 4cb267f9f5ffed2bbc495ff577287e1d970eba7e by lebedev.ri
[NFC][InstSimplify] Add some more tests for D67498/D67502
llvm-svn: 371877
The file was modifiedllvm/test/Transforms/InstSimplify/result-of-usub-is-non-zero-and-no-overflow.ll
The file was modifiedllvm/test/Transforms/InstSimplify/result-of-add-of-negative-is-non-zero-and-no-underflow.ll
Commit 41d9d5092a17e60615077da6ef22b4f5cfae2c2e by manojgupta
Reland r371785: Add -Wpoison-system-directories warning
When using clang as a cross-compiler, we should not use system headers
to do the compilation. This CL adds support of a new warning flag
-Wpoison-system-directories which emits warnings if --sysroot is set and
headers from common host system location are used. By default the
warning is disabled.
The intention of the warning is to catch bad includes which are usually
generated by third party build system not targeting cross-compilation.
Such cases happen in Chrome OS when someone imports a new package or
upgrade one to a newer version from upstream.
This is reland of r371785 with a fix to test file.
Patch by: denik (Denis Nikitin)
llvm-svn: 371878
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/include/.keep
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/lib/gcc/.keep
The file was modifiedclang/lib/Frontend/InitHeaderSearch.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/lib/.keep
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/include/c++/.keep
The file was addedclang/test/Frontend/warning-poison-system-directories.c
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/lib/.keep
Commit 4ba6717c7e566f3d99122e6b98ae69d560fbb105 by spatel
[SLP] add test for vectorization of constant expressions; NFC
Goes with D67362.
llvm-svn: 371879
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/consecutive-access.ll
Commit ffe8916cf2f6125caa866e636126c81cddf277eb by eric
Fix various test failures with GCC
llvm-svn: 371880
The file was modifiedlibcxx/include/type_traits
The file was modifiedlibcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp
The file was modifiedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp
Commit 75c9eb5ab23554cc1bbb377d06e3197ccc10b589 by eric
Update XFAIL list for new GCC versions
llvm-svn: 371881
The file was modifiedlibcxxabi/test/catch_member_function_pointer_02.pass.cpp
Commit 646a893f1583ecd8af57773bf4cb717a663d92d2 by amccarth
Fix error in ProcessLauncherWindows.cpp
Restored missing parens on a function call.
llvm-svn: 371882
The file was modifiedlldb/source/Host/windows/ProcessLauncherWindows.cpp
Commit 52a89cc07d80858a329c54077b593429b64bf988 by Tim Northover
AArch64: fix EXPENSIVE_CHECKS for arm64_32.
For some reason I'd decided to mark the end-result of a GOT load as
dead. It's clearly not (necessarily).
llvm-svn: 371883
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
Commit 556027085583470dc0db1c821ecdf1b5c1804154 by eric
Fix pretty printer test with GCC
llvm-svn: 371884
The file was modifiedlibcxx/test/pretty_printers/gdb_pretty_printer_test.sh.cpp
Commit 449ca01bac853efbf7d4434784af8457f2e0678f by Jonas Devlieghere
[Reproducer] Include the this pointer in the API log.
The new centralized way of doing API logging through the reproducer
macros is lacking a way to easily correlate instances of API objects.
Logging the this pointer makes that significantly easier. For methods
this is now always passed as the first argument, similar to the self
argument in Python.
This patch also adds a test case for API logging, which uncovered that
we were not quoting strings.
Differential revision: https://reviews.llvm.org/D67538
llvm-svn: 371885
The file was addedlldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
Commit e210c0383bef30dd3d3be18ac4148299303421bd by eric
Mark [[nodiscard]] test as unsupported with GCC 5
llvm-svn: 371886
The file was modifiedlibcxx/test/libcxx/thread/thread.lock/thread.lock.guard/nodiscard.fail.cpp
Commit d93e136be14c49e612bbf7e4e0a388409a93295c by sebpop
[aarch64] move custom isel of extract_vector_elt to td file - NFC
In preparation for def-pat selection of dot product instructions, this
patch moves the custom instruction selection of extract_vector_elt to
the td file. Without this change it is impossible to catch a pattern
that starts with an extract_vector_elt: the custom cpp code is executed
first ahead of the patterns in the td files that are only executed at
the end of the switch statement in SelectCode(Node).
With this patch applied, it becomes possible to select a different
pattern that starts with extract_vector_elt by selecting a higher
complexity than this pattern.
The patch has been tested on aarch64-linux with make check-all.
Differential Revision: https://reviews.llvm.org/D67497
llvm-svn: 371887
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
Commit ed73d4aba87db88afb3e41a8edccf7b768c3a589 by kevin.neal
[FPEnv] Document that constrained FP intrinsics cannot be mixed with
non-constrained
Reviewed by: andrew.w.kaylor, cameron.mcinally, uweigand Approved
by: andrew.w.kaylor Differential Revision:
https://reviews.llvm.org/D67360
llvm-svn: 371888
The file was modifiedllvm/docs/LangRef.rst
Commit c6ffefd2d1a95b7312741fbd3a9972e5f918173b by d4m1887
[Docs] Bug fix for reference to nonexistent document
This commit fixes a bug in which the toctree contained a reference to a
non-existent document.
llvm-svn: 371889
The file was modifiedllvm/docs/index.rst
Commit f69c91780fbb0e9c0e95f70a079f578efdca0bfa by Jan Korous
[Support] Add overload writeFileAtomically(std::function Writer)
Differential Revision: https://reviews.llvm.org/D67424
llvm-svn: 371890
The file was modifiedclang/lib/Serialization/GlobalModuleIndex.cpp
The file was modifiedclang-tools-extra/clangd/index/BackgroundIndexStorage.cpp
The file was modifiedlldb/tools/lldb-server/lldb-platform.cpp
The file was modifiedllvm/include/llvm/Support/FileUtilities.h
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
The file was modifiedllvm/lib/Support/FileUtilities.cpp
The file was modifiedclang/lib/Frontend/ASTUnit.cpp
Commit d158cf64d64b6b1882fd8f09e5d8619cb8529a5f by a.bataev
[OPENMP5.0]Add basic support for declare variant directive.
Added basic support for declare variant directive and its match clause
with user context selector.
llvm-svn: 371892
The file was addedclang/test/OpenMP/declare_variant_messages.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was addedclang/test/OpenMP/declare_variant_messages.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
Commit 727328ab63b20ac275626d793e870a6d0a33cda2 by Jessica Paquette
[AArch64][GlobalISel] Tail call memory intrinsics
Because memory intrinsics are handled differently than other calls, we
need to check them for tail call eligiblity in the legalizer. This
allows us to still inline them when it's beneficial to do so, but also
tail call when possible.
This adds simple tail calling support for when the intrinsic is followed
by a return.
It ports the attribute checks from
`TargetLowering::isInTailCallPosition` into a similarly-named function
in LegalizerHelper.cpp. The target-specific
`isUsedByReturnOnly` hook is not ported here.
Update tailcall-mem-intrinsics.ll to show that GlobalISel can now tail
call memory intrinsics.
Update legalize-memcpy-et-al.mir to have a case where we don't tail
call.
Differential Revision: https://reviews.llvm.org/D67566
llvm-svn: 371893
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AArch64/tailcall-mem-intrinsics.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-memcpy-et-al.mir
Commit cb9216b908de7f7088b9135b6c7453cb0efb9be7 by eric
Fix C++03 build failures due to >>
llvm-svn: 371894
The file was modifiedlibcxx/include/type_traits
Commit 2f9b2eb4b7262c4ea0e6878dd0361e114270fc11 by francisvm
[llvm-opt-report] Improve error handling
* std::move the error extracted from the parsing creation to avoid
asserts
* print a newline after the error message
* create the parser from the metadata
llvm-svn: 371895
The file was modifiedllvm/tools/llvm-opt-report/OptReport.cpp
Commit fc637d03b18c54ca9cc16ccb06f33e3c8b8715d6 by timshen91
Fix test to use %t for newly created files.
This is both for consistency with other `mkdir`s in tests, and fixing
permission issues with the non-temporary cwd during testing (they are
not always writable).
llvm-svn: 371897
The file was modifiedclang/test/Driver/metadata-with-dots.c
Commit fe4dc2e7132492a970ac60d725dea686ffe5f779 by sanjoy
Add dependency from Orc to Passes
Summary: Orc uses registerFunctionAnalyses that's defined in Passes.
Reviewers: dblaikie
Subscribers: mcrosier, bixia, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67477
llvm-svn: 371898
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLVMBuild.txt
Commit a3e27633a839cf1c45b640f88e00530c59f10e8d by Jonas Devlieghere
[test] Print the log output on failure.
This ensures that if the assertion fails we dump the log content. This
should help me investigate what the output looks like on Windows, where
the test is failing.
llvm-svn: 371899
The file was modifiedlldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py
Commit aa89c5ffc30f5a45f3766b8e787a4deb38741e94 by Steven Wu
[NFC][libLTO] Rearrange declaration in lto.h
Summary: Rearrange the function declaration in lto.h so they falls in
the correct doxygen group.
Reviewers: tejohnson, bd1976llvm, deadalnix
Reviewed By: tejohnson
Subscribers: mehdi_amini, inglorion, jkorous, dexonsmith, ributzka,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67565
llvm-svn: 371900
The file was modifiedllvm/include/llvm-c/lto.h
Commit 02bcc86b08dc1f50be401240307d6819483ca822 by aemerson
[GlobalISel] Fix insertion point of new instructions to be after PHIs.
For some reason we sometimes insert new instructions one instruction
before the first non-PHI when legalizing. This can result in having
non-PHI instructions before PHIs, which mean that PHI elimination
doesn't catch them.
Differential Revision: https://reviews.llvm.org/D67570
llvm-svn: 371901
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
Commit 573863ea180b7ce73dda4e019ad94fddf2222363 by timshen91
[LLDB] Add missing breaks for switch statement
llvm-svn: 371902
The file was modifiedlldb/tools/lldb-server/lldb-platform.cpp
Commit ee30b0ecc245a5c50e47de19fa21491b50427ae2 by Alex Lorenz
[clang-scan-deps] Fix for headers having the same name as a directory
Scan deps tool crashes when called on a C++ file, containing an include
that has the same name as a directory. The tool crashes since it finds
foo/dir and tries to read that as a file and fails.
Patch by: kousikk (Kousik Kumar)
Differential Revision: https://reviews.llvm.org/D67091
llvm-svn: 371903
The file was addedclang/test/ClangScanDeps/Inputs/headerwithdirname.json
The file was modifiedclang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
The file was addedclang/test/ClangScanDeps/headerwithdirname.cpp
The file was addedclang/test/ClangScanDeps/Inputs/foodir
Commit 8607b93eabacd5d72f8a6df330e1c70425f4e097 by douglas.yung
Make test check position independent as they sometimes come out
reversed. NFCI.
llvm-svn: 371904
The file was modifiedclang/test/Index/crash-recovery-modules.m
Commit 61dc038f8de01ce765387fa06d8cd5d9276cf62f by Jonas Devlieghere
[test] Update TestAPILog to pass on Windows.
The pretty function macro is including __cdecl on Windows, which was
causing the pattern matching to fail. This should fix that.
llvm-svn: 371905
The file was modifiedlldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py
Commit ae530c5c80048ad3802cb1ed0fde77b6adf0fe57 by tlively
[WebAssembly] Narrowing and widening SIMD ops
Summary: Implements target-specific LLVM intrinsics and clang builtins
for these new SIMD operations, as described at
https://github.com/WebAssembly/simd/blob/master/proposals/simd/SIMD.md#integer-to-integer-narrowing.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish,
cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D67425
llvm-svn: 371906
The file was modifiedclang/include/clang/Basic/BuiltinsWebAssembly.def
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
The file was modifiedclang/test/CodeGen/builtins-wasm.c
The file was modifiedllvm/include/llvm/IR/IntrinsicsWebAssembly.td
The file was modifiedllvm/test/MC/WebAssembly/simd-encodings.s
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-intrinsics.ll
Commit ff5225bfb634369e907c889e16cbee36b260362a by Jonas Devlieghere
[Reproducer] Move GDB Remote Packet into Utility. (NFC)
To support dumping the reproducer's GDB remote packets, we need the
(de)serialization logic to live in Utility rather than the GDB remote
plugin. This patch renames StreamGDBRemote to GDBRemote and moves the
relevant packet code there.
Its uses in the GDBRemoteCommunicationHistory and the
GDBRemoteCommunicationReplayServer are updated as well.
Differential revision: https://reviews.llvm.org/D67523
llvm-svn: 371907
The file was modifiedlldb/source/Utility/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
The file was addedlldb/source/Utility/GDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
The file was removedlldb/include/lldb/Utility/StreamGDBRemote.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.h
The file was modifiedlldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.h
The file was addedlldb/include/lldb/Utility/GDBRemote.h
The file was removedlldb/source/Utility/StreamGDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
Commit 97fc8eb4382e5cb0af67d82bc108620f32746326 by Jonas Devlieghere
[Reproducer] Add reproducer dump command.
This adds a reproducer dump commands which makes it possible to inspect
a reproducer from inside LLDB. Currently it supports the Files, Commands
and Version providers. I'm planning to add support for the GDB Remote
provider in a follow-up patch.
Differential revision: https://reviews.llvm.org/D67474
llvm-svn: 371909
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
The file was addedlldb/lit/Reproducer/TestDump.test
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedlldb/lit/Reproducer/Inputs/FileCapture.in
Commit 4f3a4a8ca2f141bc32070c84b9bd29a5e2a66aa4 by dblaikie
Bugpoint: Remove some unnecessary c_str conversions on the journey to
StringRef
llvm-svn: 371910
The file was modifiedllvm/tools/bugpoint/ToolRunner.cpp
Commit c45fd0cad428f531c30f0629852aab2fcebe7b47 by pozulp.llvm
[llvm-objcopy] Add support for response files in llvm-strip and
llvm-objcopy
Summary: Addresses https://bugs.llvm.org/show_bug.cgi?id=42671
Reviewers: jhenderson, espindola, alexshap, rupprecht
Reviewed By: jhenderson
Subscribers: seiya, emaste, arichardson, jakehehrlich, MaskRay,
abrachet, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65372
llvm-svn: 371911
The file was modifiedllvm/docs/CommandGuide/llvm-strip.rst
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/help-message.test
The file was addedllvm/test/tools/llvm-objcopy/ELF/response-file.test
The file was modifiedllvm/docs/CommandGuide/llvm-objcopy.rst
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/tools/llvm-objcopy/llvm-objcopy.cpp
Commit 8a468031cd0b088d0f0b01df72d981885a6d4e89 by maskray
[llvm-ar] Uncapitalize error messages and delete full stop
Most GNU binutils don't append full stops in error messages. This
convention has been adopted by a bunch of LLVM binary utilities. Make
llvm-ar follow the convention as well.
Reviewed By: grimar
Differential Revision: https://reviews.llvm.org/D67558
llvm-svn: 371912
The file was modifiedllvm/test/Object/archive-update.test
The file was modifiedllvm/test/tools/llvm-ar/print.test
The file was modifiedllvm/test/Object/mri3.test
The file was modifiedllvm/test/tools/llvm-ar/replace.test
The file was modifiedllvm/test/Object/archive-format.test
The file was modifiedllvm/test/tools/llvm-ar/read-only-archive.test
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
The file was modifiedllvm/test/tools/llvm-ar/insert-before.test
The file was modifiedllvm/test/tools/llvm-ar/move-after.test
The file was modifiedllvm/test/tools/llvm-ar/move-before.test
The file was modifiedllvm/test/tools/llvm-ar/quick-append.test
The file was modifiedllvm/test/tools/llvm-ar/count.test
The file was modifiedllvm/test/tools/llvm-ar/insert-after.test
The file was modifiedllvm/test/Object/mri4.test
The file was modifiedllvm/test/tools/llvm-ar/mri-addlib.test
The file was modifiedllvm/test/Object/mri2.test
The file was modifiedllvm/test/Object/mri5.test
The file was modifiedllvm/test/tools/llvm-ar/move.test
The file was modifiedllvm/test/tools/llvm-ar/invalid-command-line.test
The file was modifiedllvm/test/Object/archive-extract.test
Commit ba53030dd0938902dd858f7eac45732295e74120 by maskray
[llvm-objcopy] Default --output-target to --input-target when
unspecified
Fixes PR42171.
In GNU objcopy, if -O (--output-target) is not specified, the value is
copied from -I (--input-target).
``` objcopy -I binary -B i386:x86-64 a.txt b       # b is copied from
a.txt llvm-objcopy -I binary -B i386:x86-64 a.txt b  # b is an x86-64
object file
```
This patch changes our behavior to match GNU. With this change, we can
delete code related to -B handling (D67215).
Reviewed By: jakehehrlich
Differential Revision: https://reviews.llvm.org/D67144
llvm-svn: 371913
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-input-error.test
The file was addedllvm/test/tools/llvm-objcopy/ELF/binary-output-target.test
The file was removedllvm/test/tools/llvm-objcopy/ELF/binary-input-arch.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/new-symbol-visibility.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-input.test
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-input-and-output.test
Commit 2f519d7072bf48a81985fadc2dc145296d612223 by maskray
[llvm-objcopy] Ignore -B --binary-architecture=
GNU objcopy documents that -B is only useful with architecture-less
input (i.e. "binary" or "ihex"). After D67144, -O defaults to -I, and
-B is essentially a NOP.
* If -O is binary/ihex, GNU objcopy ignores -B.
* If -O is elf*, -B provides the e_machine field in GNU objcopy.
So to convert a blob to an ELF, `-I binary -B i386:x86-64 -O
elf64-x86-64` has to be specified.
`-I binary -B i386:x86-64 -O elf64-x86-64` creates an ELF with its
e_machine field set to EM_NONE in GNU objcopy, but a regular x86_64 ELF
in elftoolchain elfcopy. Follow the elftoolchain approach (ignoring -B)
to simplify code. Users that expect their command line portable should
specify -B.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D67215
llvm-svn: 371914
The file was modifiedllvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
The file was modifiedllvm/tools/llvm-objcopy/ObjcopyOpts.td
The file was modifiedllvm/docs/CommandGuide/llvm-objcopy.rst
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.h
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-input-error.test
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.cpp
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.h
Commit e7c6f97039a4c9acee583af9d0e7aac94762d8ac by jdoerfert
[Attributor][Fix] Use right type to replace expressions
Summary: This should be obsolete once the functionality in D66967 is
integrated.
Reviewers: uenoku, sstefan1
Subscribers: hiraditya, bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67231
llvm-svn: 371915
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
Commit 4b191770f49fce1839fc3b3cabdea4c7eab60be1 by mingjie.xing
[ScheduleDAGMILive] Fix typo in comment.
Differential Revision: https://reviews.llvm.org/D67478
llvm-svn: 371916
The file was modifiedllvm/lib/CodeGen/MachineScheduler.cpp
Commit 6fe3d36768bc9323906a4a367371f98e0558a0a1 by maskray
[Driver] Improve Clang::getDependencyFileName and its tests after
rC371853
The test file name metadata-with-dots.c is confusing because -MD and
-MMD have nothing to do with metadata.
llvm-svn: 371917
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was removedclang/test/Driver/metadata-with-dots.c
The file was removedclang/test/Driver/m_and_mm.c
The file was addedclang/test/Driver/m-and-mm.c
Commit 55abd2b2956f91e3f69b375b22ab0f848e08aa20 by maskray
[Driver] Fix multiple bugs related to dependency file options: -M -MM
-MD -MMD -MT -MQ
-M -o test.i => dependency file is test.d, not test.i
-MM -o test.i => dependency file is test.d, not test.i
-M -MMD => bogus warning -Wunused-command-line-argument
-M MT dummy => -w not rendered
llvm-svn: 371918
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/test/Driver/m-and-mm.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 8f6d40e9b1856eb5b6462252b6994635b730b02a by maskray
[clang-scan-deps] Add -M to work around -MT issue after r371918
gcc will complain if -MT is used but neither -M nor -MM is specified:
> cc1: error: to generate dependencies you must specify either -M or -MM
r371918 changed our behavior to match GCC, but apparently
clang-scan-deps is not happy.
llvm-svn: 371920
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp