FailedChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [compiler-rt] Sync NetBSD syscall hooks with 9.99.17 (details)
  2. [compiler-rt] Harmonize __sanitizer_addrinfo with the NetBSD headers (details)
  3. [BPF] fix a bug in __builtin_preserve_field_info() with FIELD_BYTE_SIZE (details)
  4. [DebugInfo] Fix for DW_OP_LLVM_fragment in DIExpression::isImplicit() (details)
  5. [X86] Convert PICStyles::Style to scoped enum class. NFCI. (details)
  6. [X86][SSE] combineX86ShufflesRecursively - don't bother merging shuffles (details)
  7. gn build: (manually) merge 3a399c09 / add76dd3c (details)
  8. [opaque pointer types] Add element type argument to IRBuilder (details)
  9. [SelectionDAG] Fixed null check after dereferencing warning. NFCI. (details)
  10. [BitcodeReader] Fixed null pointer dereferencing warning. NFCI. (details)
  11. [BitcodeReader] Fixed null check after dereferencing warning. NFCI. (details)
  12. [BitcodeReader] Fixed use after move warnings. NFCI. (details)
  13. [LoopUnrollAndJam] Fixed null check after dereferencing warning. NFCI. (details)
  14. [LoopUnrollRuntime] Fixed null check after dereferencing warning. NFCI. (details)
  15. [CHR] Fixed null check after dereferencing warning. NFCI. (details)
  16. [InstructionCombining] Fixed null check after dereferencing warning. (details)
  17. [InstructionCompares] Fixed null check after dereferencing warning. (details)
  18. Revert "[InstructionCompares] Fixed null check after dereferencing (details)
  19. [MemorySSA] Fixed null check after dereferencing warning. NFCI. (details)
  20. [SCEV] Fixed 'Uninitialized variable 'ContainsAddRec' used.' warning. (details)
  21. Revert "[InstructionCombining] Fixed null check after dereferencing (details)
  22. Reland '[InstructionCombining] Fixed null check after dereferencing (details)
Commit 01f91c3526efe58aa035c7f27bef817195c7d26c by n54
[compiler-rt] Sync NetBSD syscall hooks with 9.99.17
Document the minimal version supported as 9.0 and add compat code for
renamed syscalls after 9.0.
The file was modifiedcompiler-rt/include/sanitizer/netbsd_syscall_hooks.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_syscalls_netbsd.inc
The file was modifiedcompiler-rt/utils/generate_netbsd_syscalls.awk
Commit 983c4dd8edbed9e28b2f4b2f91759f63acee326a by n54
[compiler-rt] Harmonize __sanitizer_addrinfo with the NetBSD headers
Add missing pad for sparc, alpha and a variation of i386.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h
Commit c4305337716f0f3eb76400f288cd0dee001d744d by yhs
[BPF] fix a bug in __builtin_preserve_field_info() with FIELD_BYTE_SIZE
During deriving proper bitfield access FIELD_BYTE_SIZE, function
Member->getStorageOffsetInBits() is used to get llvm IR type storage
offset in bits so that the byte size can permit aligned loads/stores
with previously derived FIELD_BYTE_OFFSET.
The function should only be used with bitfield members and it will
assert if ASSERT is turned on during cmake build.
Constant *getStorageOffsetInBits() const {
   assert(getTag() == dwarf::DW_TAG_member && isBitField());
   if (auto *C = cast_or_null<ConstantAsMetadata>(getExtraData()))
     return C->getValue();
   return nullptr;
}
This patch fixed the issue by using Member->isBitField() directly and a
test case is added to cover this missing case. This issue is discovered
when running Andrii's linux kernel CO-RE tests.
Differential Revision: https://reviews.llvm.org/D69761
The file was addedllvm/test/CodeGen/BPF/CORE/intrinsic-fieldinfo-byte-size-4.ll
The file was modifiedllvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
Commit e2549a0a2517514f87005a63ce4fddb1877b2307 by bjorn.a.pettersson
[DebugInfo] Fix for DW_OP_LLVM_fragment in DIExpression::isImplicit()
DIExpression::isImplicit() did not handle DW_OP_LLVM_fragment correctly.
It was scanning the elements in the expression by iterating from the
end. But we do not know the position of ops unless we iterate from the
beginning of the expression, since DW_OP:s and their operands are stored
flat in the expression list. The old code also assumed that a
DW_OP_LLVM_fragment only occupied one element in the expression list,
but it actually occupies three elements.
The file was modifiedllvm/lib/IR/DebugInfoMetadata.cpp
The file was addedllvm/test/CodeGen/X86/dbg-value-func-arg.ll
Commit 91661573fdeaf605d7c4e10dbb596be433353739 by llvm-dev
[X86] Convert PICStyles::Style to scoped enum class. NFCI.
Fixes MSVC static analyzer warnings about enum safety, this enum
performs no integer math so it'd be better to fix its scope.
The file was modifiedllvm/lib/Target/X86/X86Subtarget.h
The file was modifiedllvm/lib/Target/X86/X86Subtarget.cpp
Commit 8f29e4407cc609764eeb450dc432297952ec6f49 by llvm-dev
[X86][SSE] combineX86ShufflesRecursively - don't bother merging shuffles
with empty roots. NFCI.
This doesn't affect actual codegen, but is a minor refactor toward
fixing PR43024 where we need to avoid excess changes (folding zeroables
etc.) to the shuffle mask at Depth == 0.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit ce7d5a6bbee89f7bb9696e4894f5280a2d60ccf0 by nicolasweber
gn build: (manually) merge 3a399c09 / add76dd3c
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Target/X86/BUILD.gn
Commit 910718bd038cdac1671069594a11f6b26bad9c8b by craig.topper
[opaque pointer types] Add element type argument to IRBuilder
CreatePreserveStructAccessIndex and CreatePreserveArrayAccessIndex
Summary: These were the only remaining users of the
GetElementPtrInst::getGEPReturnType method that gets the element type
from the pointer type.
Remove that method since its now dead.
Reviewers: jyknight, t.p.northover, arsenm
Reviewed By: arsenm
Subscribers: wdng, arsenm, arphaman, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D69756
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedclang/lib/CodeGen/CGBuilder.h
Commit a18a8db0d49497086b568120fc393b43ef64c7a6 by Dávid Bolvanský
[SelectionDAG] Fixed null check after dereferencing warning. NFCI.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Commit f39d95ea04b91e76a7f80c2b67bdc7ba2904cfa7 by Dávid Bolvanský
[BitcodeReader] Fixed null pointer dereferencing warning. NFCI.
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
Commit 46f372a4aa5d26778b56588c04ba95cbc7b3de20 by Dávid Bolvanský
[BitcodeReader] Fixed null check after dereferencing warning. NFCI.
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
Commit 505a44ae9cf9e9ef47159e1628c094095155d36f by Dávid Bolvanský
[BitcodeReader] Fixed use after move warnings. NFCI.
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
Commit 60cb193a40f4849dae7ec3106dc219e30843ccdd by Dávid Bolvanský
[LoopUnrollAndJam] Fixed null check after dereferencing warning. NFCI.
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp
Commit 914128ab12f3714c0baf79aacfc64cef85c0f72a by Dávid Bolvanský
[LoopUnrollRuntime] Fixed null check after dereferencing warning. NFCI.
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
Commit 8262a5b70163f3136635625a6e15d401009c838d by Dávid Bolvanský
[CHR] Fixed null check after dereferencing warning. NFCI.
The file was modifiedllvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
Commit 8308187fd9bfa08ffad0a636d4dd1d25e7de5a76 by Dávid Bolvanský
[InstructionCombining] Fixed null check after dereferencing warning.
NFCI.
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit b8685cf3042f6a2e129061922bd6b18e3c42258e by Dávid Bolvanský
[InstructionCompares] Fixed null check after dereferencing warning.
NFCI.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit d825ed24d2f324eb02a3a91fdc64f9576f36f45b by Dávid Bolvanský
Revert "[InstructionCompares] Fixed null check after dereferencing
warning. NFCI."
This reverts commit b8685cf3042f6a2e129061922bd6b18e3c42258e.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit 717965ae578040d0a8590eb90b93c9e3168cb995 by Dávid Bolvanský
[MemorySSA] Fixed null check after dereferencing warning. NFCI.
The file was modifiedllvm/lib/Analysis/MemorySSA.cpp
Commit decd8c4844a4310d1018cd7d6b8b34eedb6ed26d by Dávid Bolvanský
[SCEV] Fixed 'Uninitialized variable 'ContainsAddRec' used.' warning.
NFCI.
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit 5b37c018d5c9add833f9a40b870345e2108614e6 by Dávid Bolvanský
Revert "[InstructionCombining] Fixed null check after dereferencing
warning. NFCI."
This reverts commit 8308187fd9bfa08ffad0a636d4dd1d25e7de5a76. This
exposed a bug.
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 058b5028def7fe8b50bec9df33367e80353439a5 by Dávid Bolvanský
Reland '[InstructionCombining] Fixed null check after dereferencing
warning. NFCI.'
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp