FailedChanges

Summary

  1. [GWP-ASan] Add generic unwinders and structure backtrace output. Summary: Adds two flavours of generic unwinder and all the supporting cruft. If the supporting allocator is okay with bringing in sanitizer_common, they can use the fast frame-pointer based unwinder from sanitizer_common. Otherwise, we also provide the backtrace() libc-based unwinder as well. Of course, the allocator can always specify its own unwinder and unwinder-symbolizer. The slightly changed output format is exemplified in the first comment on this patch. It now better incorporates backtrace information, and displays allocation details on the second line. Reviewers: eugenis, vlad.tsyrklevich Reviewed By: eugenis, vlad.tsyrklevich Subscribers: srhines, kubamracek, mgorny, cryptoad, #sanitizers, llvm-commits, morehouse Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D63841
  2. [SimplifyLibCalls] powf(x, sitofp(n)) -> powi(x, n) Summary: Partially solves https://bugs.llvm.org/show_bug.cgi?id=42190 Reviewers: spatel, nikic, efriedma Reviewed By: efriedma Subscribers: efriedma, nikic, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63038
  3. Revert "[NFC][Codegen][X86][AArch64][ARM][PowerPC] Add test coverage for "add-of-inc" vs "sub-of-not"" Some test failures i don't have a moment to investigate. This reverts commit r364930.
  4. clang-format: Add new style option AlignConsecutiveMacros This option behaves similarly to AlignConsecutiveDeclarations and AlignConsecutiveAssignments, aligning the assignment of C/C++ preprocessor macros on consecutive lines. I've worked in many projects (embedded, mostly) where header files full of large, well-aligned "#define" blocks are a common pattern. We normally avoid using clang-format on these files, since it ruins any existing alignment in said blocks. This style option will align "simple" PP macros (no parameters) and PP macros with parameter lists on consecutive lines. Related Bugzilla entry (thanks mcuddie): https://llvm.org/bugs/show_bug.cgi?id=20637 Patch by Nick Renieris (VelocityRa)! Differential Revision: https://reviews.llvm.org/D28462
  5. Provide basic Full LTO extension points Differential Revision: https://reviews.llvm.org/D61738
  6. getMainExecutable: handle realpath() failure, falling back to getprogpath(). Summary: Previously, we'd pass a nullptr to std::string and crash(). This case happens when the binary is deleted while being used (e.g. rebuilding clangd). Reviewers: kadircet Subscribers: ilya-biryukov, kristina, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64068
  7. AMDGPU: Fix broken test
  8. AMDGPU/GlobalISel: Try generated matcher with intrinsics
  9. AMDGPU/GlobalISel: Select mul
  10. GlobalISel: Define GINodeEquiv for G_UMULH/G_SMULH
  11. [NFC][Codegen][X86][AArch64][ARM][PowerPC] Add test coverage for "add-of-inc" vs "sub-of-not" As it is pointed out in https://reviews.llvm.org/D63992, before we get to pick canonical variant in middle-end we should ensure best codegen in backend.
  12. Use --defsym instead of sed in a test. NFC
  13. AMDGPU/GlobalISel: Fix G_GEP with mixed SGPR/VGPR operands The register bank for the destination of the sample argument copy was wrong. We shouldn't be constraining each source to the result register bank. Allow constraining the original register to the right size.
  14. AMDGPU/GlobalISel: Select G_FENCE Manually select to workaround tablegen emitter emitting checks for G_CONSTANT.
  15. GlobalISel: Add G_FENCE The pattern importer is for some reason emitting checks for G_CONSTANT for the immediate operands.
  16. [X86][AVX] combineX86ShuffleChain - pull out CombineShuffleWithExtract lambda. NFCI. Pull out CombineShuffleWithExtract lambda to new combineX86ShuffleChainWithExtract wrapper and refactored it to handle more than 2 shuffle inputs - this will allow combineX86ShufflesRecursively to call this in a future patch.
  17. Removed extra ; after function definition
  18. [clang-tidy] Extend TransformerClangTidyCheck to support adding includes. Summary: This revision implements support for the `AddedIncludes` field in RewriteRule cases; that is, it supports specifying the addition of include directives in files modified by the clang tidy check. Reviewers: ilya-biryukov, gribozavr Subscribers: xazax.hun, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D63893
  19. [NFC][TargetLowering] Some preparatory cleanups around 'prepareUREMEqFold()' from D63963
  20. [APIntTest] multiplicativeInverse(): clarify test Clarify that multiplicative inverse exists for all odd numbers, and does not exist for all even numbers (including 0).
  21. Fix line endings (NFC)
  22. [docs][llvm-readelf] Delete old llvm-readelf.md This was accidentally missed when committing r364800.
  23. [LibTooling] Extend `RewriteRule` with support for adding includes. Summary: This revision allows users to specify the insertion of an included directive (at the top of the file being rewritten) as part of a rewrite rule. These directives are bundled with `RewriteRule` cases, so that different cases can potentially result in different include actions. Reviewers: ilya-biryukov, gribozavr Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D63892
  24. [Object/invalid.test] - Convert Object/corrupt.test to YAML and merge the result into invalid.test Object/corrupt.test has the same purpose as Object/invalid.test: it tests the behavior on invalid inputs. In this patch I converted it to YAML, merged into invalid.test, added comments and removed a few precompiled binaries. Differential revision: https://reviews.llvm.org/D63927
  25. [InstCombine] Shift amount reassociation: fixup constantexpr handling (PR42484) I was actually wondering if there was some nicer way than m_Value()+cast, but apparently what i was really "subconsciously" thinking about was correctness issue. hasNoUnsignedWrap()/hasNoUnsignedWrap() exist for Instruction, not for BinaryOperator, so let's just use m_Instruction(), thus both avoiding a cast, and a crash. Fixes https://bugs.llvm.org/show_bug.cgi?id=42484, https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15587
Revision 364941 by hctim:
[GWP-ASan] Add generic unwinders and structure backtrace output.

Summary:
Adds two flavours of generic unwinder and all the supporting cruft. If the
supporting allocator is okay with bringing in sanitizer_common, they can use
the fast frame-pointer based unwinder from sanitizer_common. Otherwise, we also
provide the backtrace() libc-based unwinder as well. Of course, the allocator
can always specify its own unwinder and unwinder-symbolizer.

The slightly changed output format is exemplified in the first comment on this
patch. It now better incorporates backtrace information, and displays
allocation details on the second line.

Reviewers: eugenis, vlad.tsyrklevich

Reviewed By: eugenis, vlad.tsyrklevich

Subscribers: srhines, kubamracek, mgorny, cryptoad, #sanitizers, llvm-commits, morehouse

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D63841
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/gwp_asan/CMakeLists.txt (diff)compiler-rt.src/lib/gwp_asan/CMakeLists.txt
The file was modified/compiler-rt/trunk/lib/gwp_asan/guarded_pool_allocator.cpp (diff)compiler-rt.src/lib/gwp_asan/guarded_pool_allocator.cpp
The file was modified/compiler-rt/trunk/lib/gwp_asan/guarded_pool_allocator.h (diff)compiler-rt.src/lib/gwp_asan/guarded_pool_allocator.h
The file was added/compiler-rt/trunk/lib/gwp_asan/optional/backtrace.hcompiler-rt.src/lib/gwp_asan/optional/backtrace.h
The file was added/compiler-rt/trunk/lib/gwp_asan/optional/backtrace_linux_libc.cppcompiler-rt.src/lib/gwp_asan/optional/backtrace_linux_libc.cpp
The file was added/compiler-rt/trunk/lib/gwp_asan/optional/backtrace_sanitizer_common.cppcompiler-rt.src/lib/gwp_asan/optional/backtrace_sanitizer_common.cpp
The file was modified/compiler-rt/trunk/lib/gwp_asan/optional/options_parser.cpp (diff)compiler-rt.src/lib/gwp_asan/optional/options_parser.cpp
The file was modified/compiler-rt/trunk/lib/gwp_asan/optional/options_parser.h (diff)compiler-rt.src/lib/gwp_asan/optional/options_parser.h
The file was modified/compiler-rt/trunk/lib/gwp_asan/options.h (diff)compiler-rt.src/lib/gwp_asan/options.h
The file was modified/compiler-rt/trunk/lib/gwp_asan/tests/CMakeLists.txt (diff)compiler-rt.src/lib/gwp_asan/tests/CMakeLists.txt
The file was added/compiler-rt/trunk/lib/gwp_asan/tests/backtrace.cppcompiler-rt.src/lib/gwp_asan/tests/backtrace.cpp
The file was modified/compiler-rt/trunk/lib/gwp_asan/tests/harness.h (diff)compiler-rt.src/lib/gwp_asan/tests/harness.h
The file was modified/compiler-rt/trunk/test/gwp_asan/double_delete.cpp (diff)compiler-rt.src/test/gwp_asan/double_delete.cpp
The file was modified/compiler-rt/trunk/test/gwp_asan/double_deletea.cpp (diff)compiler-rt.src/test/gwp_asan/double_deletea.cpp
The file was modified/compiler-rt/trunk/test/gwp_asan/double_free.cpp (diff)compiler-rt.src/test/gwp_asan/double_free.cpp
The file was modified/compiler-rt/trunk/test/gwp_asan/heap_buffer_overflow.cpp (diff)compiler-rt.src/test/gwp_asan/heap_buffer_overflow.cpp
The file was modified/compiler-rt/trunk/test/gwp_asan/heap_buffer_underflow.cpp (diff)compiler-rt.src/test/gwp_asan/heap_buffer_underflow.cpp
The file was modified/compiler-rt/trunk/test/gwp_asan/invalid_free_left.cpp (diff)compiler-rt.src/test/gwp_asan/invalid_free_left.cpp
The file was modified/compiler-rt/trunk/test/gwp_asan/invalid_free_right.cpp (diff)compiler-rt.src/test/gwp_asan/invalid_free_right.cpp
The file was modified/compiler-rt/trunk/test/gwp_asan/lit.cfg.py (diff)compiler-rt.src/test/gwp_asan/lit.cfg.py
The file was modified/compiler-rt/trunk/test/gwp_asan/realloc.cpp (diff)compiler-rt.src/test/gwp_asan/realloc.cpp
The file was modified/compiler-rt/trunk/test/gwp_asan/use_after_delete.cpp (diff)compiler-rt.src/test/gwp_asan/use_after_delete.cpp
The file was modified/compiler-rt/trunk/test/gwp_asan/use_after_deletea.cpp (diff)compiler-rt.src/test/gwp_asan/use_after_deletea.cpp
The file was modified/compiler-rt/trunk/test/gwp_asan/use_after_free.cpp (diff)compiler-rt.src/test/gwp_asan/use_after_free.cpp
Revision 364940 by xbolva00:
[SimplifyLibCalls] powf(x, sitofp(n)) -> powi(x, n)

Summary:
Partially solves https://bugs.llvm.org/show_bug.cgi?id=42190



Reviewers: spatel, nikic, efriedma

Reviewed By: efriedma

Subscribers: efriedma, nikic, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D63038
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp (diff)llvm.src/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modified/llvm/trunk/test/Transforms/InstCombine/pow-4.ll (diff)llvm.src/test/Transforms/InstCombine/pow-4.ll
The file was modified/llvm/trunk/test/Transforms/InstCombine/pow_fp_int.ll (diff)llvm.src/test/Transforms/InstCombine/pow_fp_int.ll
Revision 364939 by lebedevri:
Revert "[NFC][Codegen][X86][AArch64][ARM][PowerPC] Add test coverage for "add-of-inc" vs "sub-of-not""

Some test failures i don't have a moment to investigate.

This reverts commit r364930.
Change TypePath in RepositoryPath in Workspace
The file was removed/llvm/trunk/test/CodeGen/AArch64/inc-of-add.llllvm.src/test/CodeGen/AArch64/inc-of-add.ll
The file was removed/llvm/trunk/test/CodeGen/AArch64/sub-of-not.llllvm.src/test/CodeGen/AArch64/sub-of-not.ll
The file was removed/llvm/trunk/test/CodeGen/ARM/inc-of-add.llllvm.src/test/CodeGen/ARM/inc-of-add.ll
The file was removed/llvm/trunk/test/CodeGen/ARM/sub-of-not.llllvm.src/test/CodeGen/ARM/sub-of-not.ll
The file was removed/llvm/trunk/test/CodeGen/PowerPC/inc-of-add.llllvm.src/test/CodeGen/PowerPC/inc-of-add.ll
The file was removed/llvm/trunk/test/CodeGen/PowerPC/sub-of-not.llllvm.src/test/CodeGen/PowerPC/sub-of-not.ll
The file was removed/llvm/trunk/test/CodeGen/X86/inc-of-add.llllvm.src/test/CodeGen/X86/inc-of-add.ll
The file was removed/llvm/trunk/test/CodeGen/X86/sub-of-not.llllvm.src/test/CodeGen/X86/sub-of-not.ll
Revision 364938 by sammccall:
clang-format: Add new style option AlignConsecutiveMacros

This option behaves similarly to AlignConsecutiveDeclarations and
AlignConsecutiveAssignments, aligning the assignment of C/C++
preprocessor macros on consecutive lines.

I've worked in many projects (embedded, mostly) where header files full
of large, well-aligned "#define" blocks are a common pattern. We
normally avoid using clang-format on these files, since it ruins any
existing alignment in said blocks. This style option will align "simple"
PP macros (no parameters) and PP macros with parameter lists on
consecutive lines.

Related Bugzilla entry (thanks mcuddie):
https://llvm.org/bugs/show_bug.cgi?id=20637

Patch by Nick Renieris (VelocityRa)!

Differential Revision: https://reviews.llvm.org/D28462
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/docs/ClangFormatStyleOptions.rst (diff)clang.src/docs/ClangFormatStyleOptions.rst
The file was modified/cfe/trunk/include/clang/Format/Format.h (diff)clang.src/include/clang/Format/Format.h
The file was modified/cfe/trunk/lib/Format/Format.cpp (diff)clang.src/lib/Format/Format.cpp
The file was modified/cfe/trunk/lib/Format/WhitespaceManager.cpp (diff)clang.src/lib/Format/WhitespaceManager.cpp
The file was modified/cfe/trunk/lib/Format/WhitespaceManager.h (diff)clang.src/lib/Format/WhitespaceManager.h
The file was modified/cfe/trunk/unittests/Format/FormatTest.cpp (diff)clang.src/unittests/Format/FormatTest.cpp
Revision 364937 by serge_sans_paille:
Provide basic Full LTO extension points

Differential Revision: https://reviews.llvm.org/D61738
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Transforms/IPO/PassManagerBuilder.h (diff)llvm.src/include/llvm/Transforms/IPO/PassManagerBuilder.h
The file was modified/llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp (diff)llvm.src/lib/Transforms/IPO/PassManagerBuilder.cpp
Revision 364936 by sammccall:
getMainExecutable: handle realpath() failure, falling back to getprogpath().

Summary:
Previously, we'd pass a nullptr to std::string and crash().

This case happens when the binary is deleted while being used (e.g. rebuilding clangd).

Reviewers: kadircet

Subscribers: ilya-biryukov, kristina, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64068
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Support/Unix/Path.inc (diff)llvm.src/lib/Support/Unix/Path.inc
Revision 364935 by arsenm:
AMDGPU: Fix broken test
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/waitcnt.mir (diff)llvm.src/test/CodeGen/AMDGPU/waitcnt.mir
Revision 364933 by arsenm:
AMDGPU/GlobalISel: Try generated matcher with intrinsics
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp (diff)llvm.src/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was added/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.mbcnt.lo.mirllvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.mbcnt.lo.mir
The file was added/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.s.barrier.mirllvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.s.barrier.mir
Revision 364932 by arsenm:
AMDGPU/GlobalISel: Select mul
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/VOP3Instructions.td (diff)llvm.src/lib/Target/AMDGPU/VOP3Instructions.td
The file was added/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-mul.mirllvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-mul.mir
Revision 364931 by arsenm:
GlobalISel: Define GINodeEquiv for G_UMULH/G_SMULH
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Target/GlobalISel/SelectionDAGCompat.td (diff)llvm.src/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
The file was added/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-smulh.mirllvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-smulh.mir
The file was added/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-umulh.mirllvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-umulh.mir
Revision 364930 by lebedevri:
[NFC][Codegen][X86][AArch64][ARM][PowerPC] Add test coverage for "add-of-inc" vs "sub-of-not"

As it is pointed out in https://reviews.llvm.org/D63992,
before we get to pick canonical variant in middle-end
we should ensure best codegen in backend.
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/test/CodeGen/AArch64/inc-of-add.llllvm.src/test/CodeGen/AArch64/inc-of-add.ll
The file was added/llvm/trunk/test/CodeGen/AArch64/sub-of-not.llllvm.src/test/CodeGen/AArch64/sub-of-not.ll
The file was added/llvm/trunk/test/CodeGen/ARM/inc-of-add.llllvm.src/test/CodeGen/ARM/inc-of-add.ll
The file was added/llvm/trunk/test/CodeGen/ARM/sub-of-not.llllvm.src/test/CodeGen/ARM/sub-of-not.ll
The file was added/llvm/trunk/test/CodeGen/PowerPC/inc-of-add.llllvm.src/test/CodeGen/PowerPC/inc-of-add.ll
The file was added/llvm/trunk/test/CodeGen/PowerPC/sub-of-not.llllvm.src/test/CodeGen/PowerPC/sub-of-not.ll
The file was added/llvm/trunk/test/CodeGen/X86/inc-of-add.llllvm.src/test/CodeGen/X86/inc-of-add.ll
The file was added/llvm/trunk/test/CodeGen/X86/sub-of-not.llllvm.src/test/CodeGen/X86/sub-of-not.ll
Revision 364929 by probinson:
Use --defsym instead of sed in a test. NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/DebugInfo/X86/dwarfdump-header-64.s (diff)llvm.src/test/DebugInfo/X86/dwarfdump-header-64.s
Revision 364928 by arsenm:
AMDGPU/GlobalISel: Fix G_GEP with mixed SGPR/VGPR operands

The register bank for the destination of the sample argument copy was
wrong. We shouldn't be constraining each source to the result register
bank. Allow constraining the original register to the right size.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp (diff)llvm.src/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-gep.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-gep.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-smrd.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-smrd.mir
Revision 364927 by arsenm:
AMDGPU/GlobalISel: Select G_FENCE

Manually select to workaround tablegen emitter emitting checks for
G_CONSTANT.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp (diff)llvm.src/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was added/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/memory-legalizer-atomic-fence.llllvm.src/test/CodeGen/AMDGPU/GlobalISel/memory-legalizer-atomic-fence.ll
Revision 364926 by arsenm:
GlobalISel: Add G_FENCE

The pattern importer is for some reason emitting checks for G_CONSTANT
for the immediate operands.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/GlobalISel/IRTranslator.h (diff)llvm.src/include/llvm/CodeGen/GlobalISel/IRTranslator.h
The file was modified/llvm/trunk/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h (diff)llvm.src/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
The file was modified/llvm/trunk/include/llvm/Support/TargetOpcodes.def (diff)llvm.src/include/llvm/Support/TargetOpcodes.def
The file was modified/llvm/trunk/include/llvm/Target/GenericOpcodes.td (diff)llvm.src/include/llvm/Target/GenericOpcodes.td
The file was modified/llvm/trunk/include/llvm/Target/GlobalISel/SelectionDAGCompat.td (diff)llvm.src/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
The file was modified/llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp (diff)llvm.src/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modified/llvm/trunk/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp (diff)llvm.src/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
The file was modified/llvm/trunk/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir (diff)llvm.src/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
The file was added/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/irtranslator-fence.llllvm.src/test/CodeGen/AMDGPU/GlobalISel/irtranslator-fence.ll
Revision 364924 by rksimon:
[X86][AVX] combineX86ShuffleChain - pull out CombineShuffleWithExtract lambda. NFCI.

Pull out CombineShuffleWithExtract lambda to new combineX86ShuffleChainWithExtract wrapper and refactored it to handle more than 2 shuffle inputs - this will allow combineX86ShufflesRecursively to call this in a future patch.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (diff)llvm.src/lib/Target/X86/X86ISelLowering.cpp
Revision 364923 by szelethus:
Removed extra ; after function definition
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Support/GenericIteratedDominanceFrontier.h (diff)llvm.src/include/llvm/Support/GenericIteratedDominanceFrontier.h
Revision 364922 by ymandel:
[clang-tidy] Extend TransformerClangTidyCheck to support adding includes.

Summary:
This revision implements support for the `AddedIncludes` field in
RewriteRule cases; that is, it supports specifying the addition of include
directives in files modified by the clang tidy check.

Reviewers: ilya-biryukov, gribozavr

Subscribers: xazax.hun, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D63893
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clang-tidy/utils/TransformerClangTidyCheck.cpp (diff)clang-tools-extra.src/clang-tidy/utils/TransformerClangTidyCheck.cpp
The file was modified/clang-tools-extra/trunk/clang-tidy/utils/TransformerClangTidyCheck.h (diff)clang-tools-extra.src/clang-tidy/utils/TransformerClangTidyCheck.h
The file was modified/clang-tools-extra/trunk/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp (diff)clang-tools-extra.src/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp
Revision 364921 by lebedevri:
[NFC][TargetLowering] Some preparatory cleanups around 'prepareUREMEqFold()' from D63963
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/TargetLowering.h (diff)llvm.src/include/llvm/CodeGen/TargetLowering.h
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Revision 364920 by lebedevri:
[APIntTest] multiplicativeInverse(): clarify test

Clarify that multiplicative inverse exists for all odd numbers,
and does not exist for all even numbers (including 0).
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/unittests/ADT/APIntTest.cpp (diff)llvm.src/unittests/ADT/APIntTest.cpp
Revision 364919 by probinson:
Fix line endings (NFC)
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/tools/llvm-cov/dir-with-filtering.test (diff)llvm.src/test/tools/llvm-cov/dir-with-filtering.test
Revision 364918 by jhenderson:
[docs][llvm-readelf] Delete old llvm-readelf.md

This was accidentally missed when committing r364800.
Change TypePath in RepositoryPath in Workspace
The file was removed/llvm/trunk/docs/CommandGuide/llvm-readelf.mdllvm.src/docs/CommandGuide/llvm-readelf.md
Revision 364917 by ymandel:
[LibTooling] Extend `RewriteRule` with support for adding includes.

Summary:
This revision allows users to specify the insertion of an included directive (at
the top of the file being rewritten) as part of a rewrite rule.  These
directives are bundled with `RewriteRule` cases, so that different cases can
potentially result in different include actions.

Reviewers: ilya-biryukov, gribozavr

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D63892
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Tooling/Refactoring/Transformer.h (diff)clang.src/include/clang/Tooling/Refactoring/Transformer.h
The file was modified/cfe/trunk/lib/Tooling/Refactoring/Transformer.cpp (diff)clang.src/lib/Tooling/Refactoring/Transformer.cpp
The file was modified/cfe/trunk/unittests/Tooling/TransformerTest.cpp (diff)clang.src/unittests/Tooling/TransformerTest.cpp
Revision 364916 by grimar:
[Object/invalid.test] - Convert Object/corrupt.test to YAML and merge the result into invalid.test

Object/corrupt.test has the same purpose as Object/invalid.test:
it tests the behavior on invalid inputs.

In this patch I converted it to YAML, merged into invalid.test,
added comments and removed a few precompiled binaries.

Differential revision: https://reviews.llvm.org/D63927
Change TypePath in RepositoryPath in Workspace
The file was removed/llvm/trunk/test/Object/Inputs/corrupt-invalid-dynamic-table-offset.elf.x86-64llvm.src/test/Object/Inputs/corrupt-invalid-dynamic-table-offset.elf.x86-64
The file was removed/llvm/trunk/test/Object/Inputs/corrupt-invalid-dynamic-table-size.elf.x86-64llvm.src/test/Object/Inputs/corrupt-invalid-dynamic-table-size.elf.x86-64
The file was removed/llvm/trunk/test/Object/Inputs/corrupt-invalid-dynamic-table-too-large.elf.x86-64llvm.src/test/Object/Inputs/corrupt-invalid-dynamic-table-too-large.elf.x86-64
The file was removed/llvm/trunk/test/Object/Inputs/corrupt-invalid-virtual-addr.elf.x86-64llvm.src/test/Object/Inputs/corrupt-invalid-virtual-addr.elf.x86-64
The file was removed/llvm/trunk/test/Object/Inputs/corrupt-version.elf-x86_64llvm.src/test/Object/Inputs/corrupt-version.elf-x86_64
The file was removed/llvm/trunk/test/Object/Inputs/corrupt.elf-x86-64llvm.src/test/Object/Inputs/corrupt.elf-x86-64
The file was removed/llvm/trunk/test/Object/corrupt.testllvm.src/test/Object/corrupt.test
The file was modified/llvm/trunk/test/Object/invalid.test (diff)llvm.src/test/Object/invalid.test
Revision 364915 by lebedevri:
[InstCombine] Shift amount reassociation: fixup constantexpr handling (PR42484)

I was actually wondering if there was some nicer way than m_Value()+cast,
but apparently what i was really "subconsciously" thinking about
was correctness issue.

hasNoUnsignedWrap()/hasNoUnsignedWrap() exist for Instruction,
not for BinaryOperator, so let's just use m_Instruction(),
thus both avoiding a cast, and a crash.

Fixes https://bugs.llvm.org/show_bug.cgi?id=42484,
      https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15587
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineShifts.cpp (diff)llvm.src/lib/Transforms/InstCombine/InstCombineShifts.cpp
The file was modified/llvm/trunk/test/Transforms/InstCombine/shift-amount-reassociation.ll (diff)llvm.src/test/Transforms/InstCombine/shift-amount-reassociation.ll