SuccessChanges

Summary

  1. [Docs] Updates sidebar links (details)
  2. [Docs] Bug fix for document not included in toctree (details)
  3. [Support] Add a DataExtractor constructor that takes ArrayRef<uint8_t> (details)
  4. [Attributor] Implement "norecurse" function attribute deduction (details)
  5. Recommit [SampleFDO] Expose an interface to return the size of a section (details)
  6. Test mail. NFC. (details)
  7. SROA: Check Total Bits of vector type (details)
  8. [CodeView] Add pragma push/pop_macro for ARM64_FPSR to enum header (details)
  9. [LLDB] Fix compilation for MinGW, remove redundant class name on inline (details)
  10. [LLDB] Check for the GCC/MinGW compatible arch defines for windows, in (details)
  11. [LLDB] Use LLVM_FALLTHROUGH instead of a custom comment (details)
  12. [LLDB] Use SetErrorStringWithFormatv for cases that use LLVM style (details)
  13. [LLDB] Cast -1 (as invalid socket) to the socket type before comparing (details)
  14. [Docs] Adds new page for Getting Involved articles (details)
  15. [Docs] Updates sidebar links (details)
  16. [NFC][InstSimplify] Add exhaustive test coverage for (details)
  17. [InstSimplify][NFC] Reorganize simplifyUnsignedRangeCheck() to emphasize (details)
  18. [InstSimplify] simplifyUnsignedRangeCheck(): X >= Y && Y == 0  -->  Y == (details)
  19. NFC: Change ObjCQualified*TypesAreCompatible to take (details)
  20. Use _WIN32 instead of _MSC_VER (details)
  21. [X86] Add test memset and memcpy testcases for D67874. NFC (details)
  22. Move classes into anonymous namespaces. NFC. (details)
Commit 75d2c2692112a4bd9327eb5bede0f96be9ea7a47 by d4m1887
[Docs] Updates sidebar links
Adds additional links to sidebar. Also removes Glossary and FAQ from
LLVM Design & Overview section. (These links now reside on the sidebar.)
llvm-svn: 372469
The file was modifiedllvm/docs/_templates/indexsidebar.html
The file was modifiedllvm/docs/index.rst
Commit e75c6b6d48d857a95750f63923ea7d26c220a9a4 by d4m1887
[Docs] Bug fix for document not included in toctree
Fixes 'document not included in toctree' bug for FAQ and Lexicon topics.
llvm-svn: 372470
The file was modifiedllvm/docs/index.rst
Commit 9ec7117506355771a8410b6c92c94bc6f6754ffb by maskray
[Support] Add a DataExtractor constructor that takes ArrayRef<uint8_t>
The new constructor can simplify some llvm-readobj call sites.
Reviewed By: grimar, dblaikie
Differential Revision: https://reviews.llvm.org/D67797
llvm-svn: 372473
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/include/llvm/Support/DataExtractor.h
The file was modifiedllvm/tools/llvm-readobj/DwarfCFIEHPrinter.h
Commit 63f6066b53d5094945fc47f382480290520b1605 by uenoku.tokotoko
[Attributor] Implement "norecurse" function attribute deduction
Summary: This patch introduces `norecurse` function attribute deduction.
`norecurse` will be deduced if the following conditions hold:
* The size of SCC in which the function belongs equals to 1.
* The function doesn't have self-recursion.
* We have `norecurse` for all call site.
To avoid a large change, SCC is calculated using scc_iterator in
InfoCache initialization for now.
Reviewers: jdoerfert, sstefan1
Reviewed By: jdoerfert
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67751
llvm-svn: 372475
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/FunctionAttrs/willreturn.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/norecurse.ll
Commit eee532cd5f908f1ade1752781ce82abbde74047b by wmi
Recommit [SampleFDO] Expose an interface to return the size of a section
or the size of the profile for profile in ExtBinary format.
Fix a test failure on Mac.
[SampleFDO] Expose an interface to return the size of a section or the
size of the profile for profile in ExtBinary format.
Sometimes we want to limit the size of the profile by stripping some
functions with low sample count or by stripping some function names with
small text size from profile symbol list. That requires the profile
reader to have the interfaces returning the size of a section or the
size of total profile. The patch add those interfaces.
At the same time, add some dump facility to show the size of each
section.
Differential revision: https://reviews.llvm.org/D67726
llvm-svn: 372478
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProfReader.h
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was addedllvm/test/tools/llvm-profdata/show-prof-size.test
Commit c62136e6748f1d4f5d94f188203fd998bbb9f588 by quic_ssarda
Test mail. NFC.
Testing commit acces. NFC.
llvm-svn: 372479
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
Commit cd629ea0a8ef55458e1a75a3ef8e43ad68974479 by quic_ssarda
SROA: Check Total Bits of vector type
While Promoting alloca instruction of Vector Type,  Check total size in
bits of its slices too. If they don't match, don't promote the alloca
instruction.
Bug : https://bugs.llvm.org/show_bug.cgi?id=42585
llvm-svn: 372480
The file was addedllvm/test/Transforms/SROA/vector-promotion-different-size.ll
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
Commit 1bfdab52a76bf667aa345b5026f1d524ed6d4ac8 by martin
[CodeView] Add pragma push/pop_macro for ARM64_FPSR to enum header
This fixes (one aspect of) compilation of LLDB with MSVC for ARM64.
LLDB source files include intrin.h, and the MSVC intrin.h transitively
includes arm64intr.h, which has an ARM64_FPSR define, which clashes with
the enum declaration.
Differential Revision: https://reviews.llvm.org/D67864
llvm-svn: 372481
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/CodeViewRegisters.def
Commit f4deacf995c73045a2172f35cbaf289fa97e7abc by martin
[LLDB] Fix compilation for MinGW, remove redundant class name on inline
member
This fixes build errors like these:
NativeRegisterContextWindows.h:22:33: error: extra qualification on
member 'NativeRegisterContextWindows'
NativeRegisterContextWindows::NativeRegisterContextWindows(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
Differential Revision: https://reviews.llvm.org/D67856
llvm-svn: 372482
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows.h
Commit 2e25c44dc3fa97defe03e4b5d813344577d6b5fb by martin
[LLDB] Check for the GCC/MinGW compatible arch defines for windows, in
addition to MSVC defines
This matches how it is done in all other similar ifdefs throughout lldb.
Differential Revision: https://reviews.llvm.org/D67858
llvm-svn: 372483
The file was modifiedlldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp
Commit 5c38730dbd002a9f669bf3fb3c0a8b19e84bdd97 by martin
[LLDB] Use LLVM_FALLTHROUGH instead of a custom comment
This fixes a warning when built with Clang in MinGW mode.
Differential Revision: https://reviews.llvm.org/D67860
llvm-svn: 372484
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
Commit ed78dc8e4371b573e3daca3ee6d39231df218918 by martin
[LLDB] Use SetErrorStringWithFormatv for cases that use LLVM style
format strings
SetErrorStringWithFormat only supports normal printf style format
strings.
Differential Revision: https://reviews.llvm.org/D67862
llvm-svn: 372485
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
Commit 5534a6750087ef4290c58238337b0dad29397f46 by martin
[LLDB] Cast -1 (as invalid socket) to the socket type before comparing
This silences warnings about comparison of integers between unsigned
long long (which is what the Windows SOCKET type is) and signed int when
building in MinGW mode.
Differential Revision: https://reviews.llvm.org/D67863
llvm-svn: 372486
The file was modifiedlldb/source/Host/common/Socket.cpp
The file was modifiedlldb/tools/lldb-vscode/lldb-vscode.cpp
Commit c1b0873d4218f4b3fedd9a38961c26ee2e877e8a by d4m1887
[Docs] Adds new page for Getting Involved articles
Adds a new page for existing Getting Involved, Development Process, and
Community Proposals articles. Also moves Mailing Lists, Meetups and
social events, and IRC sections.
llvm-svn: 372487
The file was addedllvm/docs/GettingInvolved.rst
The file was modifiedllvm/docs/index.rst
Commit 4f86528fc1ce4a3303ec668c1d998b081fedc7f8 by d4m1887
[Docs] Updates sidebar links
Adds sidebar links to mailing lists, IRC, and meetups and social events.
llvm-svn: 372488
The file was modifiedllvm/docs/_templates/indexsidebar.html
Commit ac4dda805217f076e8dda009e7433dd278d7113e by lebedev.ri
[NFC][InstSimplify] Add exhaustive test coverage for
simplifyUnsignedRangeCheck().
One case is not handled.
llvm-svn: 372489
The file was addedllvm/test/Transforms/InstSimplify/unsigned-range-checks.ll
Commit e94f156f778cdc1d20cd836cfc5d6df0b77761e1 by lebedev.ri
[InstSimplify][NFC] Reorganize simplifyUnsignedRangeCheck() to emphasize
and/or symmetry
Only a single `X >= Y && Y == 0  -->  Y == 0` fold appears to be
missing.
llvm-svn: 372490
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit baf809811b066eede7c1093b5c9941e428d6bd5f by lebedev.ri
[InstSimplify] simplifyUnsignedRangeCheck(): X >= Y && Y == 0  -->  Y ==
0
https://rise4fun.com/Alive/v9Y4
llvm-svn: 372491
The file was modifiedllvm/test/Transforms/InstSimplify/unsigned-range-checks.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit c2ca003baffbdb58b4a2e5c9c5163122844a82d3 by jyknight
NFC: Change ObjCQualified*TypesAreCompatible to take
ObjCObjectPointerType arguments.
All callers already had one, just creating a QualType to pass, after
which the function cast it right back.
llvm-svn: 372492
The file was modifiedclang/lib/Sema/SemaDeclObjC.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
Commit 5c82608d200e88f4c06b085bef132f7604a39782 by hhb
Use _WIN32 instead of _MSC_VER
Summary: This way it works better with MinGW.
Subscribers: mstorsjo, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D67887
llvm-svn: 372493
The file was modifiedlldb/source/Core/IOHandler.cpp
Commit 38014c553f0d8aa8b5db4fe7b0a2d98c044580f3 by craig.topper
[X86] Add test memset and memcpy testcases for D67874. NFC
llvm-svn: 372494
The file was modifiedllvm/test/CodeGen/X86/memcpy.ll
The file was modifiedllvm/test/CodeGen/X86/memset-nonzero.ll
The file was modifiedllvm/test/CodeGen/X86/memset-zero.ll
Commit 1b38002c7dae02ab8b97f3d3b076e3e5f58c136f by benny.kra
Move classes into anonymous namespaces. NFC.
llvm-svn: 372495
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.cpp