SuccessChanges

Summary

  1. gn build: use better triple on windows (details)
  2. [FPEnv] Add constrained intrinsics for lrint and lround (details)
  3. Test commit (details)
  4. Fix sphinx warnings. (details)
  5. [LLVM-C] Add bindings to create macro debug info (details)
  6. AST - silence static analyzer getAs<> null dereference warnings. NFCI. (details)
  7. RewriteModernObjC - silence static analyzer getAs<> null dereference (details)
  8. [Mips] Fix evaluating J-format branch targets (details)
  9. [Mips] Always save RA when disabling frame pointer elimination (details)
  10. Regenerate ptr-rotate.ll . NFC (details)
  11. Fix another sphinx warning. (details)
  12. [clang] Add test for FindNextToken in Lexer. (details)
  13. Sema - silence static analyzer getAs<> null dereference warnings. NFCI. (details)
  14. Allow update_test_checks.py to not scrub names. (details)
  15. [LoopVectorize] add test that asserted after cost model change (details)
  16. [SampleFDO] Add compression support for any section in ExtBinary profile (details)
  17. [X86][SSE] getTargetShuffleInputs - move VT.isSimple/isVector checks (details)
  18. [libTooling] Add `toString` method to the Stencil class (details)
  19. [llvm-profdata] Minor format fix (details)
  20. Codegen - silence static analyzer getAs<> null dereference warnings. (details)
  21. Fix build errors caused by rL373914. (details)
  22. [clang-format] [NFC] Ensure clang-format is itself clang-formatted. (details)
  23. [clang-format] [PR27004] omits leading space for noexcept when (details)
  24. [Remarks] Pass StringBlockValue as StringRef. (details)
  25. [clangd] Fix raciness in code completion tests (details)
  26. ProcessInstanceInfoMatch: Don't match processes with no name if a name (details)
  27. [DWARFASTParserClang] Delete commented-out typedef, NFC (details)
  28. [DWARFASTParserClang] Factor out structure-like type parsing, NFC (details)
  29. [libTooling][NFC] Fix build break in r373916. (details)
  30. Fix Calling Convention through aliases (details)
  31. [scudo][standalone] Correct releaseToOS behavior (details)
  32. [platform process list] add a flag for showing the processes of all (details)
  33. Try to get clangd tests passing on Windows. (details)
  34. [libc++abi] Remove redundant link flags on Apple platforms (details)
  35. Second attempt to add iterator_range::empty() (details)
  36. [clang] [cmake] Support LLVM_DISTRIBUTION_COMPONENTS in stand-alone (details)
  37. GlobalISel: Add target pre-isel instructions (details)
  38. AMDGPU/GlobalISel: Select more G_INSERT cases (details)
  39. [OPENMP50]Treat range-based for as canonical loop. (details)
  40. [libc++abi] Do not define -Dcxxabi_shared_EXPORTS when building (details)
  41. AMDGPU/GlobalISel: Widen 16-bit G_MERGE_VALUEs sources (details)
  42. AMDGPU/GlobalISel: Use S_MOV_B64 for inline constants (details)
  43. AMDGPU/GlobalISel: Select VALU G_AMDGPU_FFBH_U32 (details)
  44. AMDGPU/GlobalISel: Fix selection of 16-bit shifts (details)
  45. GlobalISel: Partially implement lower for G_INSERT (details)
  46. AMDGPU/GlobalISel: Handle more G_INSERT cases (details)
  47. gn build: try to make system-libs.windows.test pass (details)
  48. [libc++abi] Introduce a LIBCXXABI_LIBRARY_VERSION option (details)
  49. Fix for expanding __pragmas in macro arguments (details)
  50. Attempt to fix a few clang-tidy tests on Windows, see PR43593. (details)
  51. [OPENMP]Fix caonical->canonical, NFC. (details)
  52. [gdb-remote] process properly effective uid (details)
  53. [MachO] Shuffle some things around in ParseSymtab (NFC) (details)
  54. [test] Rename `Modules` to `ObjectFile` (NFC) (details)
  55. [AccelTable] Remove stale comment (NFC) (details)
  56. [debugserver] Include the correct header. (details)
  57. [Bitcode] Update naming of UNOP_NEG to UNOP_FNEG (details)
  58. [InstCombine] dropRedundantMaskingOfLeftShiftInput(): propagate undef (details)
  59. [InstCombine][NFC] dropRedundantMaskingOfLeftShiftInput(): change how we (details)
  60. [InstCombine] Move isSignBitCheck(), handle rest of the predicates (details)
  61. [InstCombine][NFC] Tests for "conditional sign-extend of (details)
  62. [InstCombine] Fold conditional sign-extend of high-bit-extract into (details)
  63. [Attributor] Deduce memory behavior of functions and arguments (details)
  64. [llvm-lipo] Relax the check of the specified input file architecture (details)
  65. [WebAssembly] Add memory intrinsics handling to mayThrow() (details)
  66. Mark constructor as default and remove implementation (NFC) (details)
  67. [llvm-c] Add UnaryOperator to LLVM_FOR_EACH_VALUE_SUBCLASS macro (details)
  68. [CMake] We only want to copy the headers for macOS. (details)
  69. [libc++] Remove C++03 variadics in shared_ptr (v2) (details)
  70. [Attributor][FIX] Remove assertion wrong for on invalid IRPositions (details)
  71. [Diagnostics] Emit better -Wbool-operation's warning message if we known (details)
  72. [llvm-lipo] Add TextAPI to LINK_COMPONENTS (details)
  73. [WebAssembly] Fix unwind mismatch stat computation (details)
  74. [X86] Add new calling convention that guarantees tail call optimization (details)
  75. Add VFS support for sanitizers' blacklist (details)
  76. [tsan] Don't delay SIGTRAP handler (details)
  77. [sanitizer] Print SIGTRAP for corresponding signal (details)
  78. Fix the spelling of my name. (details)
  79. [X86] Add test cases for zero extending a gather index from less than (details)
  80. [X86] Shrink zero extends of gather indices from type less than i32 to (details)
  81. [tsan, go] break commands into multiple lines (details)
  82. [tsan, go] fix Go windows build (details)
  83. [Attributor] Use abstract call sites for call site callback (details)
  84. [Attributor] Use local linkage instead of internal (details)
  85. [Attributor][FIX] Remove initialize calls and add undefs (details)
  86. [Attributor][NFC] Add debug output (details)
  87. AMDGPU/GlobalISel: Clamp G_SITOFP/G_UITOFP sources (details)
  88. [Symbol] Remove unused method ClangASTContext::GetObjCClassName (details)
  89. [lldb] Unifying lldb python path (details)
  90. [clang] Accept -ftrivial-auto-var-init in clang-cl (details)
  91. [msan] Add interceptors: crypt, crypt_r. (details)
  92. [MachO] Fix symbol merging during symtab parsing. (details)
  93. [CMake] Remove stale comment (details)
  94. [CMake] Track test dependencies with add_lldb_test_dependency (details)
  95. DWIMy filterspecs for dotest.py (details)
  96. [lldb] Reverts part of 61f471a (details)
  97. Revert "Add VFS support for sanitizers' blacklist" (details)
  98. [CMake] Add two more uses of add_lldb_test_dependency (details)
  99. Fixing missing lldb-scripts rename from D68370 (details)
  100. Reland 'Add VFS support for sanitizers' blacklist' (details)
  101. test fix: TestLoadUsingPaths should use realpath (details)
  102. Revert "ProcessInstanceInfoMatch: Don't match processes with no name if (details)
  103. [LitConfig] Silenced notes/warnings on quiet. (details)
  104. [sanitizer] Fix signal_trap_handler.cpp on android (details)
  105. [NFC] Fix ubsan-blacklist test (details)
  106. [ItaniumMangle] Fix mangling of GNU __null in an expression to match GCC (details)
  107. [WebAssembly] Add REQUIRES: asserts to cfg-stackify-eh.ll (details)
  108. [ConstantRange] [NFC] replace addWithNoSignedWrap with addWithNoWrap. (details)
  109. [LoopVectorize][PowerPC] Estimate int and float register pressure (details)
  110. [IA] Recognize hexadecimal escape sequences (details)
  111. [llvm-exegesis] Add stabilization test with config (details)
  112. [LoopVectorize] Fix non-debug builds after rL374017 (details)
  113. Report error if -export-dynamic is used with -r (details)
  114. Use /dev/null for tests that we do not need outputs (details)
  115. [Tools] Mark output of tools as text if it is text (details)
  116. [ARM] Generate vcmp instead of vcmpe (details)
  117. [LoopRotate] Unconditionally get ScalarEvolution. (details)
  118. [NFC] Add REQUIRES for r374017 in testcase (details)
  119. [llvm-readobj/llvm-readelf] - Add checks for GNU-style to "all.test" (details)
  120. Fix a -Wpedantic warning (details)
  121. Revert "[lldb-server/android] Show more processes and package name when (details)
  122. [llvm-exegesis] Finish plumbing the `Config` field. (details)
  123. Remove an useless allocation (from by clang-analyzer/scan-build) (details)
  124. [ISEL][ARM][AARCH64] Tracking simple parameter forwarding registers (details)
  125. [MCA][LSUnit] Track loads and stores until retirement. (details)
  126. [Diagnostics] Silence -Wsizeof-array-div for character buffers (details)
Commit a1f5c258d6928de562afaf21f3e4308530ec75cc by nicolasweber
gn build: use better triple on windows
The CMake build uses "x86_64-pc-windows-msvc". The "-msvc" suffix is
important because e.g. clang/test/lit.cfg.py matches against the suffix
"windows-msvc" to compute the presence of the "ms-sdk" and the absence
of the "LP64" feature.
Differential Revision: https://reviews.llvm.org/D68572
llvm-svn: 373899
The file was modifiedllvm/utils/gn/secondary/llvm/triples.gni
Commit 1c3d19c82d93a00d11f0df03ff277411d134e061 by kevin.neal
[FPEnv] Add constrained intrinsics for lrint and lround
Earlier in the year intrinsics for lrint, llrint, lround and llround
were added to llvm. The constrained versions are now implemented here.
Reviewed by: andrew.w.kaylor, craig.topper, cameron.mcinally
Approved by: craig.topper Differential Revision:
https://reviews.llvm.org/D64746
llvm-svn: 373900
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGNodes.h
The file was modifiedllvm/lib/IR/IntrinsicInst.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/test/Feature/fp-intrinsics.ll
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll
Commit b5fbdf1f5e0efb131512097babbd35a9081b8023 by Mirko.Brkusanin
Test commit
Fix comment.
llvm-svn: 373901
The file was modifiedllvm/lib/Target/Mips/MipsSEISelDAGToDAG.h
Commit a6fc72fba9dc3cc5d02236190df9d661563ddfd7 by kevin.neal
Fix sphinx warnings.
Differential Revision: https://reviews.llvm.org/D64746
llvm-svn: 373902
The file was modifiedllvm/docs/LangRef.rst
Commit b63db94fa54789d8241b16e05f2c9d9959afe297 by whitequark
[LLVM-C] Add bindings to create macro debug info
Summary: The C API doesn't have the bindings to create macro debug
information.
Reviewers: whitequark, CodaFi, deadalnix
Reviewed By: whitequark
Subscribers: aprantl, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D58334
llvm-svn: 373903
The file was modifiedllvm/test/Bindings/llvm-c/debug_info.ll
The file was modifiedllvm/lib/IR/DebugInfo.cpp
The file was modifiedllvm/include/llvm-c/DebugInfo.h
The file was modifiedllvm/tools/llvm-c-test/debuginfo.c
Commit 3459a4c770bacf10bced00758bb2b70c4c504207 by llvm-dev
AST - silence static analyzer getAs<> null dereference warnings. NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use castAs<> directly and if not assert
will fire for us.
llvm-svn: 373904
The file was modifiedclang/lib/AST/TemplateBase.cpp
The file was modifiedclang/lib/AST/Interp/Program.cpp
The file was modifiedclang/lib/AST/Mangle.cpp
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
Commit 8dc1700979bc630e6bd8b0912cfc034814e67c7f by llvm-dev
RewriteModernObjC - silence static analyzer getAs<> null dereference
warnings. NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use castAs<> directly and if not assert
will fire for us.
llvm-svn: 373905
The file was modifiedclang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
Commit 19ede2f53b78472c3bc3536f00609d22253a7d52 by simon
[Mips] Fix evaluating J-format branch targets
J/JAL/JALX/JALS are absolute branches, but stay within the current 256
MB-aligned region, so we must include the high bits of the instruction
address when calculating the branch target.
Patch by James Clarke.
Differential Revision: https://reviews.llvm.org/D68548
llvm-svn: 373906
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
The file was addedllvm/test/MC/Mips/mips-jump-pc-region.s
The file was addedllvm/test/MC/Mips/micromips-jump-pc-region.s
Commit 55ac7458280dddf253a235b2180d8053d5b05d0c by simon
[Mips] Always save RA when disabling frame pointer elimination
This ensures that frame-based unwinding will continue to work when
calling a noreturn function; there is not much use having the caller's
frame pointer saved if you don't also have the caller's program counter.
Patch by James Clarke.
Differential Revision: https://reviews.llvm.org/D68542
llvm-svn: 373907
The file was modifiedllvm/test/CodeGen/Mips/dynamic-stack-realignment.ll
The file was modifiedllvm/test/CodeGen/Mips/frame-address.ll
The file was modifiedllvm/test/CodeGen/Mips/tnaked.ll
The file was modifiedllvm/test/CodeGen/Mips/v2i16tof32.ll
The file was modifiedllvm/lib/Target/Mips/MipsSEFrameLowering.cpp
The file was addedllvm/test/CodeGen/Mips/no-frame-pointer-elim.ll
The file was modifiedllvm/test/CodeGen/Mips/cconv/vector.ll
Commit a6a70415c85056ffd3f0b8506a67089365b0322f by deadalnix
Regenerate ptr-rotate.ll . NFC
llvm-svn: 373908
The file was modifiedllvm/test/CodeGen/X86/ptr-rotate.ll
Commit 9f4de84eb0e0f69de66e5fdf99b63678264f3726 by kevin.neal
Fix another sphinx warning.
Differential Revision: https://reviews.llvm.org/D64746
llvm-svn: 373909
The file was modifiedllvm/docs/LangRef.rst
Commit edf5027689c5b63c94262c17a7b8a87de9c55fb1 by usx
[clang] Add test for FindNextToken in Lexer.
Reviewers: ilya-biryukov
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68565
llvm-svn: 373910
The file was modifiedclang/unittests/Lex/LexerTest.cpp
Commit dc4d908d6ebdee57f65e5b82bf598f45439e8f76 by llvm-dev
Sema - silence static analyzer getAs<> null dereference warnings. NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use castAs<> directly and if not assert
will fire for us.
llvm-svn: 373911
The file was modifiedclang/lib/Sema/SemaAccess.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Sema/SemaCoroutine.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
Commit a14ffc7eb741de4fd7484350d11947dea40991fd by greened
Allow update_test_checks.py to not scrub names.
Add a --preserve-names option to tell the script not to replace IR
names. Sometimes tests want those names.  For example if a test is
looking for a modification to an existing instruction we'll want to make
the names.
Differential Revision: https://reviews.llvm.org/D68081
llvm-svn: 373912
The file was modifiedllvm/utils/UpdateTestChecks/common.py
The file was modifiedllvm/utils/update_test_checks.py
Commit b743f18b1f4a140b370b865a681bbed5ceaeab11 by spatel
[LoopVectorize] add test that asserted after cost model change
(PR43582); NFC
llvm-svn: 373913
The file was addedllvm/test/Transforms/LoopVectorize/X86/cost-model-assert.ll
Commit b523790ae1b30a1708d2fc7937f90e283330ef33 by wmi
[SampleFDO] Add compression support for any section in ExtBinary profile
format
Previously ExtBinary profile format only supports compression using zlib
for profile symbol list. In this patch, we extend the compression
support to any section. User can select some or all of the sections to
compress. In an experiment, for a 45M profile in ExtBinary format,
compressing name table reduced its size to 24M, and compressing all the
sections reduced its size to 11M.
Differential Revision: https://reviews.llvm.org/D68253
llvm-svn: 373914
The file was modifiedllvm/lib/ProfileData/SampleProfWriter.cpp
The file was addedllvm/test/tools/llvm-profdata/profile-symbol-list-compress.test
The file was modifiedllvm/include/llvm/ProfileData/SampleProfWriter.h
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
The file was modifiedllvm/test/Transforms/SampleProfile/compressed-profile-symbol-list.ll
The file was modifiedllvm/test/Transforms/SampleProfile/uncompressed-profile-symbol-list.ll
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProfReader.h
The file was addedllvm/test/Transforms/SampleProfile/profile-format-compress.ll
The file was modifiedllvm/lib/ProfileData/SampleProf.cpp
The file was addedllvm/test/tools/llvm-profdata/roundtrip-compress.test
Commit 9c2e12304388eef8b5ce5d1ac07afe52860045ca by llvm-dev
[X86][SSE] getTargetShuffleInputs - move VT.isSimple/isVector checks
inside. NFCI.
Stop all the callers from having to check the value type before calling
getTargetShuffleInputs.
llvm-svn: 373915
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit d5b983555f7a853c4cd95c95b66715ae4976bd55 by yitzhakm
[libTooling] Add `toString` method to the Stencil class
Summary:
`toString` generates a string representation of the stencil.
Patch by Harshal T. Lehri.
Reviewers: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68574
llvm-svn: 373916
The file was modifiedclang/lib/Tooling/Refactoring/Stencil.cpp
The file was modifiedclang/include/clang/Tooling/Refactoring/Stencil.h
The file was modifiedclang/unittests/Tooling/StencilTest.cpp
Commit b3342e180e9c2cc59580796d3c4b88a1b7d65434 by aktoon
[llvm-profdata] Minor format fix
Summary: Minor format fix for output of "llvm-profdata -show"
Reviewers: wmi
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68440
llvm-svn: 373917
The file was modifiedllvm/lib/ProfileData/SampleProf.cpp
Commit 7e38f0c408058ec104df4f92b9d0789ab07f21e8 by llvm-dev
Codegen - silence static analyzer getAs<> null dereference warnings.
NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use castAs<> directly and if not assert
will fire for us.
llvm-svn: 373918
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/lib/CodeGen/CGClass.cpp
The file was modifiedclang/lib/CodeGen/CGCXX.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/CodeGen/CGObjCGNU.cpp
The file was modifiedclang/lib/CodeGen/MicrosoftCXXABI.cpp
The file was modifiedclang/lib/CodeGen/CGAtomic.cpp
Commit 283df8cf742803ad0946dbb2b4ff1e9d1eaed7aa by wmi
Fix build errors caused by rL373914.
llvm-svn: 373919
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProfWriter.h
Commit a65cfe3037a9555b0f85e76cf540d57fdcaac266 by mydeveloperday
[clang-format] [NFC] Ensure clang-format is itself clang-formatted.
Summary: Before making a proposed change, ensure ClangFormat.cpp is
fully clang-formatted,
no functional change just clang-formatting using the in tree
.clang-format.
Reviewers: mitchell-stellar
Reviewed By: mitchell-stellar
Subscribers: Eugene.Zelenko, cfe-commits
Tags: #clang-format, #clang
Differential Revision: https://reviews.llvm.org/D68551
llvm-svn: 373921
The file was modifiedclang/tools/clang-format/ClangFormat.cpp
Commit 2c3f73800fd4918c2c7a8aeaf1188d9a7e85bb87 by mydeveloperday
[clang-format] [PR27004] omits leading space for noexcept when
formatting operator delete()
Summary: clang-format is incorrectly thinking the parameter parens are
part of a cast operation, this is resulting in there sometimes being not
space between the paren and the noexcept (and other keywords like
volatile etc..)
``` void operator++(int) noexcept; void operator++(int &) noexcept; void
operator delete(void *, std::size_t, const std::nothrow_t &)noexcept;
```
Reviewers: klimek, owenpan, mitchell-stellar
Reviewed By: mitchell-stellar
Subscribers: cfe-commits
Tags: #clang-format, #clang
Differential Revision: https://reviews.llvm.org/D68481
llvm-svn: 373922
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit 90b7dc9e716450ec8ce3d64cccbb6acdb750a609 by flo
[Remarks] Pass StringBlockValue as StringRef.
After changing the remark serialization, we now pass StringRefs to the
serializer. We should use StringRef for StringBlockVal, to avoid
creating temporary objects, which then cause StringBlockVal.Value to
point to invalid memory.
Reviewers: thegameg, anemet
Reviewed By: thegameg
Differential Revision: https://reviews.llvm.org/D68571
llvm-svn: 373923
The file was modifiedllvm/lib/Remarks/YAMLRemarkSerializer.cpp
Commit de8599776b52b7d130fbe8373827f6a6a7c9f97d by kadircet
[clangd] Fix raciness in code completion tests
Reviewers: sammccall, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68273
llvm-svn: 373924
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
Commit f7bd5bffede5c97f92caaa5804f1768c0c7bbbc4 by pavel
ProcessInstanceInfoMatch: Don't match processes with no name if a name
match was requested
Since D68289, a couple of tests on linux started being extremely flaky.
All of them were doing name-based attaching and were failing because
they couldn't find an unambiguous process to attach to.
The patch above changed the process finding logic, so that failure to
find a process name does not constitute an error. This meant that a lot
more transient processes showed up in the process list during the test
suite run. Previously, these processes would not appear as they would be
gone by the time we went to read their executable name, arguments, etc.
Now, this alone should not cause an issue were it not for the fact that
we were considering a process with no name as if it matched by default
(even if we were explicitly searching for a process with a specified
name). This meant that any of the "transient" processes with no name
would make the name match ambiguous. That clearly seems like a bug to me
so I fix that.
llvm-svn: 373925
The file was modifiedlldb/unittests/Utility/ProcessInstanceInfoTest.cpp
The file was modifiedlldb/source/Utility/ProcessInfo.cpp
Commit fccfe2c04abf17f9e8860bbc6aefd2090711c92e by Vedant Kumar
[DWARFASTParserClang] Delete commented-out typedef, NFC
(& group together all the protected members & typedefs)
llvm-svn: 373926
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
Commit 40a1853c497d9cbedd7ce8b7edbf3ebb31f826bf by Vedant Kumar
[DWARFASTParserClang] Factor out structure-like type parsing, NFC
Split out the logic to parse structure-like types into a separate
function, in an attempt to reduce the complexity of ParseTypeFromDWARF.
Inspired by discussion in https://reviews.llvm.org/D68130.
Differential Revision: https://reviews.llvm.org/D68422
llvm-svn: 373927
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Commit e4cec2d3c73f7b30edc03b6b8219273fc81fc477 by yitzhakm
[libTooling][NFC] Fix build break in r373916.
r373916 used raw strings inside macro calls, which breaks some builds.
llvm-svn: 373928
The file was modifiedclang/unittests/Tooling/StencilTest.cpp
Commit 8a410bcef02c25b6b3a49fa6483875eb64539aad by erich.keane
Fix Calling Convention through aliases
r369697 changed the behavior of stripPointerCasts to no longer include
aliases.  However, the code in CGDeclCXX.cpp's createAtExitStub counted
on the looking through aliases to properly set the calling convention of
a call.
The result of the change was that the calling convention mismatch of the
call would be replaced with a llvm.trap, causing a runtime crash.
Differential Revision: https://reviews.llvm.org/D68584
llvm-svn: 373929
The file was modifiedllvm/lib/IR/Value.cpp
The file was modifiedclang/lib/CodeGen/CGDeclCXX.cpp
The file was addedclang/test/CodeGenCXX/call-conv-thru-alias.cpp
The file was modifiedllvm/include/llvm/IR/Value.h
Commit bebdab63e84ce058ee4ff8b37de48b73197ae24e by kostyak
[scudo][standalone] Correct releaseToOS behavior
Summary: There was an issue in `releaseToOSMaybe`: one of the criteria
to decide if we should proceed with the release was wrong. Namely:
``` const uptr N = Sci->Stats.PoppedBlocks - Sci->Stats.PushedBlocks; if
(N * BlockSize < PageSize)
return; // No chance to release anything.
```
I meant to check if the amount of bytes in the free list was lower than
a page, but this actually checks if the amount of **in use** bytes was
lower than a page.
The correct code is:
``` const uptr BytesInFreeList =
Region->AllocatedUser -
(Region->Stats.PoppedBlocks - Region->Stats.PushedBlocks) * BlockSize;
if (BytesInFreeList < PageSize)
return 0; // No chance to release anything.
```
Consequences of the bug:
- if a class size has less than a page worth of in-use bytes (allocated
or in a cache), reclaiming would not occur, whatever the amount of
blocks in the free list; in real world scenarios this is unlikely to
happen and be impactful;
- if a class size had less than a page worth of free bytes (and enough
in-use bytes, etc), then reclaiming would be attempted, with likely
no result. This means the reclaiming was overzealous at times.
I didn't have a good way to test for this, so I changed the prototype of
the function to return the number of bytes released, allowing to get the
information needed. The test added fails with the initial criteria.
Another issue is that `ReleaseToOsInterval` can actually be 0, meaning
we always try to release (side note: it's terrible for performances). so
change a `> 0` check to `>= 0`.
Additionally, decrease the `CanRelease` threshold to `PageSize / 32`. I
still have to make that configurable but I will do it at another time.
Finally, rename some variables in `printStats`: I feel like "available"
was too ambiguous, so change it to "total".
Reviewers: morehouse, hctim, eugenis, vitalybuka, cferris
Reviewed By: morehouse
Subscribers: delcypher, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D68471
llvm-svn: 373930
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/primary_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/primary64.h
The file was modifiedcompiler-rt/lib/scudo/standalone/primary32.h
Commit 6e1a0cf46bae77e1a83416f9479884cbb5e0164a by a20012251
[platform process list] add a flag for showing the processes of all
users
Summary: For context: https://reviews.llvm.org/D68293
We need a way to show all the processes on android regardless of the
user id. When you run `platform process list`, you only see the
processes with the same user as the user that launched lldb-server.
However, it's quite useful to see all the processes, though, and it will
lay a foundation for full apk debugging support from lldb.
Before:
``` PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 3234   1               
aarch64-unknown-linux-android adbd 8034   3234            
aarch64-unknown-linux-android sh 9096   3234            
aarch64-unknown-linux-android sh 9098   9096            
aarch64-unknown-linux-android lldb-server
(lldb) ^D
```
Now:
```
(lldb) platform process list -x 205 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 1      0                                  
      init 524    1                                          init 525  
1                                          init 531    1               
                         ueventd 568    1                              
          logd 569    1                 aarch64-unknown-linux-android
servicemanager 570    1                 aarch64-unknown-linux-android
hwservicemanager 571    1                 aarch64-unknown-linux-android
vndservicemanager 577    1                 aarch64-unknown-linux-android
qseecomd 580    577               aarch64-unknown-linux-android qseecomd
... 23816  979                                      
com.android.providers.calendar 24600  979                              
        com.verizon.mips.services 27888  979                           
           com.hualai 28043  2378                                     
com.android.chrome:sandboxed_process0 31449  979                       
               com.att.shm 31779  979                                  
    com.samsung.android.authfw 31846  979                              
        com.samsung.android.server.iris 32014  979                     
                 com.samsung.android.MtpApplication 32045  979         
                             com.samsung.InputEventApp
```
Reviewers: labath,xiaobai,aadsm,clayborg
Subscribers:
llvm-svn: 373931
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
Commit 29f7e17cb8b60ecfe4af313cc22fea7a8feb156c by nicolasweber
Try to get clangd tests passing on Windows.
Part of PR43592. See also r328645.
llvm-svn: 373932
The file was modifiedclang-tools-extra/clangd/test/semantic-highlighting.test
The file was modifiedclang-tools-extra/clangd/test/type-hierarchy.test
Commit f385a381404797f5c44298d34c4ba804fad556d3 by Louis Dionne
[libc++abi] Remove redundant link flags on Apple platforms
These flags are already set when we create the cxxabi_shared target
using the SOVERSION and VERSION target properties, and the install_name
was already being overriden to '@rpath/libc++abi.1.dylib' by CMake
because no 'CMAKE_INSTALL_NAME_DIR' option was specified. So this is
effectively a removal of dead code with no intended functionality
change.
The only think we're losing here is that we used to link against
libSystem.B.dylib instead of libSystem.dylib when building libc++abi for
macOS 10.6 -- however, I strongly suspect nobody's building libc++abi
from source for that target anymore.
llvm-svn: 373934
The file was modifiedlibcxxabi/src/CMakeLists.txt
Commit fdaa74217420729140f1786ea037ac445a724c8e by jordan_rose
Second attempt to add iterator_range::empty()
Doing this makes MSVC complain that `empty(someRange)` could refer to
either C++17's std::empty or LLVM's llvm::empty, which previously we
avoided via SFINAE because std::empty is defined in terms of an empty
member rather than begin and end. So, switch callers over to the new
method as it is added.
https://reviews.llvm.org/D68439
llvm-svn: 373935
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/lib/Transforms/Scalar/NewGVN.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
The file was modifiedllvm/lib/Analysis/LazyCallGraph.cpp
The file was modifiedllvm/lib/IR/DebugInfo.cpp
The file was modifiedllvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
The file was modifiedllvm/lib/Transforms/IPO/PartialInlining.cpp
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp
The file was modifiedllvm/lib/CodeGen/MachineModuleInfo.cpp
The file was modifiedllvm/lib/Transforms/Utils/PredicateInfo.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/lib/Target/BPF/BPFAsmPrinter.cpp
The file was modifiedllvm/include/llvm/ADT/iterator_range.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit cdbeaf548f1ff1ac49dfd26de25a67c8ac081996 by mgorny
[clang] [cmake] Support LLVM_DISTRIBUTION_COMPONENTS in stand-alone
build
Differential Revision: https://reviews.llvm.org/D68412
llvm-svn: 373936
The file was modifiedclang/CMakeLists.txt
Commit 27269054d2df505f576eb3992d3f815c455ac7bb by Matthew.Arsenault
GlobalISel: Add target pre-isel instructions
Allows targets to introduce regbankselectable pseudo-instructions.
Currently the closet feature to this is an intrinsic. However this
requires creating a public intrinsic declaration. This litters the
public intrinsic namespace with operations we don't necessarily want to
expose to IR producers, and would rather leave as private to the
backend.
Use a new instruction bit. A previous attempt tried to keep using enum
value ranges, but it turned into a mess.
llvm-svn: 373937
The file was modifiedllvm/include/llvm/MC/MCInstrDesc.h
The file was modifiedllvm/utils/TableGen/CodeGenInstruction.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-ffbh-u32.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgpu-ffbh-u32.mir
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/include/llvm/Target/Target.td
The file was modifiedllvm/utils/TableGen/InstrInfoEmitter.cpp
The file was modifiedllvm/include/llvm/Target/GenericOpcodes.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/utils/TableGen/CodeGenInstruction.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
Commit b4cbf9862c415ab68725443c39c374573c7932e7 by Matthew.Arsenault
AMDGPU/GlobalISel: Select more G_INSERT cases
At minimum handle the s64 insert type, which are emitted in real cases
during legalization.
We really need TableGen to emit something to emit something like the
inverse of composeSubRegIndices do determine the subreg index to use.
llvm-svn: 373938
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit bef93a98cd26012049b8e64bf27134885fcf9550 by a.bataev
[OPENMP50]Treat range-based for as canonical loop.
According to OpenMP 5.0, range-based for is also considered as a
canonical form of loops.
llvm-svn: 373939
The file was modifiedclang/test/OpenMP/simd_loop_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_loop_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_loop_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_loop_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_loop_messages.cpp
The file was modifiedclang/test/OpenMP/for_loop_messages.cpp
The file was modifiedclang/test/OpenMP/for_simd_loop_messages.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_loop_messages.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_loop_messages.cpp
The file was modifiedclang/test/OpenMP/for_ast_print.cpp
The file was modifiedclang/test/OpenMP/parallel_for_loop_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_loop_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_loop_messages.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_loop_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_loop_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_for_simd_loop_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_loop_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_loop_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_loop_messages.cpp
The file was modifiedclang/include/clang/AST/StmtOpenMP.h
Commit d03068c3e1fbc8b8aa24af8e2a806fafa8a92e26 by Louis Dionne
[libc++abi] Do not define -Dcxxabi_shared_EXPORTS when building
libc++abi
CMake sets adds that definition automatically, but we don't need or use
it.
llvm-svn: 373940
The file was modifiedlibcxxabi/src/CMakeLists.txt
Commit 578fa2819fa64b60dfec66a3b970634c71a39841 by Matthew.Arsenault
AMDGPU/GlobalISel: Widen 16-bit G_MERGE_VALUEs sources
Continue making a mess of merge/unmerge legality.
llvm-svn: 373942
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant-32bit.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-merge-values.mir
Commit 0b2ea91d6d162c3d5af824729ff3f925d163f8ac by Matthew.Arsenault
AMDGPU/GlobalISel: Use S_MOV_B64 for inline constants
This hides some defects in SIFoldOperands when the immediates are split.
llvm-svn: 373943
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-smrd.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-constant.mir
Commit 09ec6918bc737bd3193e3cb1f7b65611ee85facb by Matthew.Arsenault
AMDGPU/GlobalISel: Select VALU G_AMDGPU_FFBH_U32
llvm-svn: 373944
The file was modifiedllvm/lib/Target/AMDGPU/VOP1Instructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-ffbh-u32.mir
Commit 1237aa2996c200ca5ebb448f5145fc8ce7f1646a by Matthew.Arsenault
AMDGPU/GlobalISel: Fix selection of 16-bit shifts
llvm-svn: 373945
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ashr.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-lshr.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-shl.s16.mir
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
Commit 4bcdcad91bc6548790c95e9f9c3ca062515518ea by Matthew.Arsenault
GlobalISel: Partially implement lower for G_INSERT
llvm-svn: 373946
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-insert.mir
Commit 538b73b7976c83e0224239b14aa1354e5d57138d by Matthew.Arsenault
AMDGPU/GlobalISel: Handle more G_INSERT cases
Start manually writing a table to get the subreg index. TableGen should
probably generate this, but I'm not sure what it looks like in the
arbitrary case where subregisters are allowed to not fully cover the
super-registers.
llvm-svn: 373947
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert.mir
Commit 0d19662a6a8f7c3bbabf3b095d6fbf76cf9aa376 by nicolasweber
gn build: try to make system-libs.windows.test pass
llvm-svn: 373948
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
Commit be52ff95063aa3a5f6784d1c3479511d333c7fd6 by Louis Dionne
[libc++abi] Introduce a LIBCXXABI_LIBRARY_VERSION option
That option controls the 'VERSION' attribute of the libc++abi shared
library, which in turn controls the name of the actual dylib being
produced.
llvm-svn: 373949
The file was modifiedlibcxxabi/src/CMakeLists.txt
The file was modifiedlibcxxabi/CMakeLists.txt
Commit 6bdfe3aeba8bb000571c453669817e9f33e24909 by akhuang
Fix for expanding __pragmas in macro arguments
Summary: Avoid parsing __pragma into an annotation token when macro
arguments are pre-expanded. This is what clang currently does when
parsing _Pragmas.
Fixes https://bugs.llvm.org/show_bug.cgi?id=41128, where clang crashed
when trying to get the length of an annotation token.
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68114
llvm-svn: 373950
The file was modifiedclang/test/Preprocessor/pragma_microsoft.c
The file was modifiedclang/lib/Lex/Pragma.cpp
Commit 0db7b6a44c47078f54633a06d59ac60f39e5bc0e by nicolasweber
Attempt to fix a few clang-tidy tests on Windows, see PR43593.
llvm-svn: 373951
The file was modifiedclang-tools-extra/test/clang-tidy/bugprone-unhandled-self-assignment.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/misc-redundant-expression.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/bugprone-branch-clone.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/cppcoreguidelines-init-variables.cpp
Commit d457f7e080259ffe0d0123446a2a2e50a99e0b7e by a.bataev
[OPENMP]Fix caonical->canonical, NFC.
Fixed typo.
llvm-svn: 373952
The file was modifiedclang/include/clang/AST/StmtOpenMP.h
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
Commit 8b6dcc1d8ce672713f0c0c1853f936c5d7b5d6ea by a20012251
[gdb-remote] process properly effective uid
Summary: Someone wrote SetEffectiveSetEffectiveGroupID instead of
SetEffectiveUserID.
After this fix, the android process list can show user names, e.g.
``` PID    PARENT USER       GROUP      EFF USER   EFF GROUP  TRIPLE   
                          ARGUMENTS
====== ====== ========== ========== ========== ==========
============================== ============================ 529    1   
root       0          root       0                                    
   /sbin/ueventd
``` Reviewers: labath,clayborg,aadsm,xiaobai
Subscribers:
llvm-svn: 373953
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
Commit 369407fc52238ba2d11628975e345d766ce24fee by Jonas Devlieghere
[MachO] Shuffle some things around in ParseSymtab (NFC)
llvm-svn: 373954
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
Commit 4db091754b401832b8748b6aa431015771bf0908 by Jonas Devlieghere
[test] Rename `Modules` to `ObjectFile` (NFC)
llvm-svn: 373955
The file was addedlldb/lit/ObjectFile/ELF/section-permissions.yaml
The file was removedlldb/lit/Modules/ELF/netbsd-core-amd64.test
The file was removedlldb/lit/Modules/Breakpad/Inputs/bad-module-id-1.syms
The file was removedlldb/lit/Modules/ELF/section-overlap.yaml
The file was removedlldb/lit/Modules/ELF/PT_LOAD-empty.yaml
The file was addedlldb/lit/ObjectFile/ELF/Inputs/minidebuginfo-main.c
The file was removedlldb/lit/Modules/Breakpad/Inputs/identification-macosx.syms
The file was removedlldb/lit/Modules/ELF/netbsd-exec-8.99.30-amd64.yaml
The file was addedlldb/lit/ObjectFile/Breakpad/Inputs/bad-module-id-3.syms
The file was addedlldb/lit/ObjectFile/Breakpad/Inputs/identification-windows.syms
The file was removedlldb/lit/Modules/ELF/duplicate-section.yaml
The file was addedlldb/lit/ObjectFile/Breakpad/Inputs/sections-trailing-func.syms
The file was addedlldb/lit/ObjectFile/ELF/short-build-id.yaml
The file was addedlldb/lit/ObjectFile/PECOFF/subsections.yaml
The file was addedlldb/lit/ObjectFile/ELF/PT_LOAD-overlap.yaml
The file was addedlldb/lit/ObjectFile/PECOFF/uuid.yaml
The file was removedlldb/lit/Modules/ELF/PT_LOAD-overlap-PT_INTERP.yaml
The file was removedlldb/lit/Modules/Breakpad/sections-trailing-func.test
The file was removedlldb/lit/Modules/PECOFF/sections-names.yaml
The file was addedlldb/lit/ObjectFile/ELF/minidebuginfo-find-symbols.yaml
The file was addedlldb/lit/ObjectFile/ELF/compressed-sections.yaml
The file was addedlldb/lit/ObjectFile/ELF/Inputs/PT_LOAD-overlap-section.elf
The file was removedlldb/lit/Modules/Breakpad/Inputs/identification-windows.syms
The file was removedlldb/lit/Modules/ELF/PT_TLS-overlap-PT_LOAD.yaml
The file was removedlldb/lit/Modules/PECOFF/uuid.yaml
The file was removedlldb/lit/Modules/MachO/lc_build_version.yaml
The file was addedlldb/lit/ObjectFile/PECOFF/basic-info.yaml
The file was addedlldb/lit/ObjectFile/Breakpad/lit.local.cfg
The file was removedlldb/lit/Modules/ELF/PT_LOAD-overlap-PT_TLS.yaml
The file was removedlldb/lit/Modules/Breakpad/Inputs/sections.syms
The file was addedlldb/lit/ObjectFile/ELF/many-sections.s
The file was removedlldb/lit/Modules/ELF/PT_LOAD-overlap-section.yaml
The file was removedlldb/lit/Modules/PECOFF/basic-info-arm64.yaml
The file was addedlldb/lit/ObjectFile/Breakpad/Inputs/bad-module-id-2.syms
The file was removedlldb/lit/Modules/ELF/Inputs/PT_LOAD-overlap-section.elf
The file was addedlldb/lit/ObjectFile/ELF/section-addresses.yaml
The file was removedlldb/lit/Modules/PECOFF/export-dllfunc.yaml
The file was removedlldb/lit/Modules/Breakpad/Inputs/identification-macosx-arm64e.syms
The file was addedlldb/lit/ObjectFile/Breakpad/sections-trailing-func.test
The file was removedlldb/lit/Modules/ELF/minidebuginfo-no-lzma.yaml
The file was addedlldb/lit/ObjectFile/Breakpad/Inputs/discontiguous-sections.syms
The file was removedlldb/lit/Modules/lit.local.cfg
The file was removedlldb/lit/Modules/Breakpad/Inputs/bad-module-id-3.syms
The file was addedlldb/lit/ObjectFile/ELF/base-address.yaml
The file was addedlldb/lit/ObjectFile/ELF/netbsd-exec-8.99.30-amd64.yaml
The file was addedlldb/lit/ObjectFile/ELF/gnu-debuglink.yaml
The file was removedlldb/lit/Modules/Breakpad/lit.local.cfg
The file was removedlldb/lit/Modules/ELF/minidebuginfo-corrupt-xz.yaml
The file was removedlldb/lit/Modules/PECOFF/dep-modules.yaml
The file was removedlldb/lit/Modules/PECOFF/lit.local.cfg
The file was addedlldb/lit/ObjectFile/ELF/minidebuginfo-corrupt-xz.yaml
The file was removedlldb/lit/Modules/Breakpad/sections.test
The file was addedlldb/lit/ObjectFile/ELF/basic-info.yaml
The file was removedlldb/lit/Modules/ELF/minidebuginfo-set-and-hit-breakpoint.test
The file was removedlldb/lit/Modules/Breakpad/Inputs/identification-linux.syms
The file was removedlldb/lit/Modules/Breakpad/Inputs/bad-module-id-2.syms
The file was removedlldb/lit/Modules/ELF/minidebuginfo-find-symbols.yaml
The file was removedlldb/lit/Modules/Breakpad/discontiguous-sections.test
The file was addedlldb/lit/ObjectFile/ELF/PT_LOAD-overlap-PT_TLS.yaml
The file was addedlldb/lit/ObjectFile/MachO/lc_build_version_notools.yaml
The file was removedlldb/lit/Modules/Breakpad/Inputs/sections-trailing-func.syms
The file was addedlldb/lit/ObjectFile/ELF/minidebuginfo-no-lzma.yaml
The file was addedlldb/lit/ObjectFile/Breakpad/Inputs/uuid-matching-mac.syms
The file was removedlldb/lit/Modules/ELF/build-id-case.yaml
The file was addedlldb/lit/ObjectFile/ELF/minidebuginfo-set-and-hit-breakpoint.test
The file was removedlldb/lit/Modules/Breakpad/breakpad-identification.test
The file was addedlldb/lit/ObjectFile/MachO/lc_build_version.yaml
The file was addedlldb/lit/ObjectFile/PECOFF/sections-names.yaml
The file was removedlldb/lit/Modules/ELF/section-addresses.yaml
The file was removedlldb/lit/Modules/PECOFF/basic-info-arm.yaml
The file was addedlldb/lit/ObjectFile/MachO/lc_version_min.yaml
The file was addedlldb/lit/ObjectFile/Breakpad/sections.test
The file was addedlldb/lit/ObjectFile/lit.local.cfg
The file was removedlldb/lit/Modules/ELF/section-types-edgecases.yaml
The file was removedlldb/lit/Modules/ELF/PT_LOAD.yaml
The file was removedlldb/lit/Modules/MachO/lc_version_min.yaml
The file was addedlldb/lit/ObjectFile/Breakpad/Inputs/identification-macosx.syms
The file was addedlldb/lit/ObjectFile/Breakpad/breakpad-identification.test
The file was addedlldb/lit/ObjectFile/ELF/netbsd-core-amd64.test
The file was removedlldb/lit/Modules/ELF/base-address.yaml
The file was removedlldb/lit/Modules/PECOFF/subsections.yaml
The file was removedlldb/lit/Modules/ELF/short-build-id.yaml
The file was removedlldb/lit/Modules/ELF/Inputs/minidebuginfo-main.c
The file was addedlldb/lit/ObjectFile/Breakpad/Inputs/uuid-matching-mac.yaml
The file was addedlldb/lit/ObjectFile/PECOFF/export-dllfunc.yaml
The file was addedlldb/lit/ObjectFile/Breakpad/Inputs/identification-linux.syms
The file was addedlldb/lit/ObjectFile/Breakpad/Inputs/bad-module-id-1.syms
The file was addedlldb/lit/ObjectFile/PECOFF/basic-info-arm64.yaml
The file was addedlldb/lit/ObjectFile/PECOFF/lit.local.cfg
The file was removedlldb/lit/Modules/ELF/section-permissions.yaml
The file was removedlldb/lit/Modules/PECOFF/basic-info.yaml
The file was removedlldb/lit/Modules/ELF/gnu-debuglink.yaml
The file was removedlldb/lit/Modules/ELF/section-types.yaml
The file was removedlldb/lit/Modules/Breakpad/Inputs/uuid-matching-mac.syms
The file was removedlldb/lit/Modules/ELF/aarch64-relocations.yaml
The file was addedlldb/lit/ObjectFile/Breakpad/Inputs/sections.syms
The file was addedlldb/lit/ObjectFile/ELF/build-id-case.yaml
The file was addedlldb/lit/ObjectFile/PECOFF/dep-modules.yaml
The file was addedlldb/lit/ObjectFile/ELF/PT_LOAD-overlap-PT_INTERP.yaml
The file was removedlldb/lit/Modules/Breakpad/Inputs/discontiguous-sections.syms
The file was removedlldb/lit/Modules/Breakpad/Inputs/uuid-matching-mac.yaml
The file was addedlldb/lit/ObjectFile/ELF/PT_LOAD-empty.yaml
The file was addedlldb/lit/ObjectFile/ELF/PT_LOAD.yaml
The file was addedlldb/lit/ObjectFile/PECOFF/basic-info-arm.yaml
The file was removedlldb/lit/Modules/MachO/subsections.yaml
The file was addedlldb/lit/ObjectFile/Breakpad/Inputs/identification-macosx-arm64e.syms
The file was removedlldb/lit/Modules/ELF/many-sections.s
The file was addedlldb/lit/ObjectFile/MachO/subsections.yaml
The file was addedlldb/lit/ObjectFile/ELF/PT_LOAD-overlap-section.yaml
The file was removedlldb/lit/Modules/ELF/PT_LOAD-overlap.yaml
The file was removedlldb/lit/Modules/ELF/compressed-sections.yaml
The file was addedlldb/lit/ObjectFile/Breakpad/uuid-matching-mac.test
The file was addedlldb/lit/ObjectFile/ELF/section-overlap.yaml
The file was addedlldb/lit/ObjectFile/ELF/PT_TLS-overlap-PT_LOAD.yaml
The file was addedlldb/lit/ObjectFile/ELF/aarch64-relocations.yaml
The file was addedlldb/lit/ObjectFile/Breakpad/discontiguous-sections.test
The file was addedlldb/lit/ObjectFile/ELF/Inputs/netbsd-amd64.core
The file was addedlldb/lit/ObjectFile/ELF/section-types.yaml
The file was removedlldb/lit/Modules/MachO/lc_build_version_notools.yaml
The file was removedlldb/lit/Modules/ELF/Inputs/netbsd-amd64.core
The file was addedlldb/lit/ObjectFile/ELF/section-types-edgecases.yaml
The file was removedlldb/lit/Modules/Breakpad/uuid-matching-mac.test
The file was addedlldb/lit/ObjectFile/ELF/duplicate-section.yaml
The file was removedlldb/lit/Modules/ELF/basic-info.yaml
Commit 61446a14219a61940949565d1f270ecd4c185526 by Jonas Devlieghere
[AccelTable] Remove stale comment (NFC)
rdar://55857228
llvm-svn: 373956
The file was modifiedllvm/include/llvm/CodeGen/AccelTable.h
Commit 2b371fbeddc12617c51cd37dffb03e3cfeed9917 by davide
[debugserver] Include the correct header.
<rdar://problem/55916729>
llvm-svn: 373957
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp
Commit 46d317fad4627c92a0289e886695a047ed886e27 by cameron.mcinally
[Bitcode] Update naming of UNOP_NEG to UNOP_FNEG
Differential Revision: https://reviews.llvm.org/D68588
llvm-svn: 373958
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/include/llvm/Bitcode/LLVMBitCodes.h
Commit c3b394ffba583a53e5c1cc45360f18a3e5c023fd by lebedev.ri
[InstCombine] dropRedundantMaskingOfLeftShiftInput(): propagate undef
shift amounts
Summary: When we do `ConstantExpr::getZExt()`, that "extends" `undef` to
`0`, which means that for patterns a/b we'd assume that we must not
produce any bits for that channel, while in reality we simply didn't
care about that channel - i.e. we don't need to mask it.
Reviewers: spatel
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68239
llvm-svn: 373960
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-a.ll
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-d.ll
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-e.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-b.ll
The file was modifiedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-c.ll
Commit cb6d851bb65dbba3e4fc6a82226e9b308b11f89c by lebedev.ri
[InstCombine][NFC] dropRedundantMaskingOfLeftShiftInput(): change how we
deal with mask
Summary: Currently, we pre-check whether we need to produce a mask or
not. This involves some rather magical constants. I'd like to extend
this fold to also handle the situation when there's also a `trunc`
before outer shift. That will require another set of magical constants.
It's ugly.
Instead, we can just compute the mask, and check whether mask is a
pass-through (all-ones) or not. This way we don't need to have any
magical numbers.
This change is NFC other than the fact that we now compute the mask and
then check if we need (and can!) apply it.
Reviewers: spatel
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68470
llvm-svn: 373961
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
Commit 0c73be590e67af0bab088483f167c44538ff449d by lebedev.ri
[InstCombine] Move isSignBitCheck(), handle rest of the predicates
True, no test coverage is being added here. But those non-canonical
predicates that are already handled here already have no test coverage
as far as i can tell. I tried to add tests for them, but all the
patterns already get handled elsewhere.
llvm-svn: 373962
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit 3da71714cbf0e3682b24adbd4ba0b500ff947331 by lebedev.ri
[InstCombine][NFC] Tests for "conditional sign-extend of
high-bit-extract" pattern (PR42389)
https://bugs.llvm.org/show_bug.cgi?id=42389
llvm-svn: 373963
The file was addedllvm/test/Transforms/InstCombine/conditional-variable-length-signext-after-high-bit-extract.ll
Commit 7cdeac43e57274fdac01f61bf2365a9efaffa5e8 by lebedev.ri
[InstCombine] Fold conditional sign-extend of high-bit-extract into
high-bit-extract-with-signext (PR42389)
This can come up in Bit Stream abstractions.
The pattern looks big/scary, but it can't be simplified any further. It
only is so simple because a number of my preparatory folds had happened
already (shift amount reassociation / shift amount reassociation in bit
test, sign bit test detection).
Highlights:
* There are two main flavors: https://rise4fun.com/Alive/zWi
The difference is add vs. sub, and left-shift of -1 vs. 1
* Since we only change the shift opcode,
we can preserve the exact-ness: https://rise4fun.com/Alive/4u4
* There can be truncation after high-bit-extraction:
https://rise4fun.com/Alive/slHc1   (the main pattern i'm after!)
Which means that we need to ignore zext of shift amounts and of NBits.
* The sign-extending magic can be extended itself (in add pattern
via sext, in sub pattern via zext. not the other way around!)
https://rise4fun.com/Alive/NhG
(or those sext/zext can be sinked into `select`!)
Which again means we should pay attention when matching NBits.
* We can have both truncation of extraction and widening of magic:
https://rise4fun.com/Alive/XTw
In other words, i don't believe we need to have any checks on
bitwidths of any of these constructs.
This is worsened in general by the fact that we may have `sext` instead
of `zext` for shift amounts, and we don't yet canonicalize to `zext`,
although we should. I have not done anything about that here.
Also, we really should have something to weed out `sub` like these, by
folding them into `add` variant.
https://bugs.llvm.org/show_bug.cgi?id=42389
llvm-svn: 373964
The file was modifiedllvm/test/Transforms/InstCombine/conditional-variable-length-signext-after-high-bit-extract.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
Commit 1097fab1cf41e786a659b1fe45a1494170be6952 by jdoerfert
[Attributor] Deduce memory behavior of functions and arguments
Deduce the memory behavior, aka "read-none", "read-only", or
"write-only", for functions and arguments.
Reviewers: sstefan1, uenoku
Subscribers: hiraditya, bollu, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67384
llvm-svn: 373965
The file was modifiedllvm/test/Transforms/FunctionAttrs/liveness.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nofree-attributor.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nosync.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/internal-noalias.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noalias_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nocapture.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/norecurse.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/dereferenceable.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/willreturn.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/readattrs.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit f5d700ac05cb3b3fdb22619186ce9f0376dcca10 by shal1t712
[llvm-lipo] Relax the check of the specified input file architecture
cctools lipo only compares the cputypes when it verifies that the
specified (via -arch) input file and the architecture match. This diff
adjusts the behavior of llvm-lipo accordingly.
Differential revision: https://reviews.llvm.org/D68319
Test plan: make check-all
llvm-svn: 373966
The file was modifiedllvm/tools/llvm-lipo/llvm-lipo.cpp
Commit 58af5be28dafedafba3fb20ba35ac0ae4f2c570a by aheejin
[WebAssembly] Add memory intrinsics handling to mayThrow()
Summary: Previously, `WebAssembly::mayThrow()` assumed all inputs are
global addresses. But when intrinsics, such as `memcpy`, `memmove`, or
`memset` are lowered to external symbols in instruction selection and
later emitted as library calls. And these functions don't throw.
This patch adds handling to those memory intrinsics to `mayThrow`
function. But while most of libcalls don't throw, we can't guarantee all
of them don't throw, so currently we conservatively return true for all
other external symbols.
I think a better way to solve this problem is to embed 'nounwind' info
in `TargetLowering::CallLoweringInfo`, so that we can access the info
from the backend. This will also enable transferring 'nounwind'
properties of LLVM IR instructions. Currently we don't transfer that
info and we can only access properties of callee functions, if the
callees are within the module. Other targets don't need this info in the
backend because they do all the processing before isel, but it will help
us because that info will reduce code size increase in fixing unwind
destination mismatches in CFGStackify.
But for now we return false for these memory intrinsics and true for all
other libcalls conservatively.
Reviewers: dschuff
Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68553
llvm-svn: 373967
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyUtilities.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll
Commit 69a3b21a5cd860a66fdea188c561f3336d3d5f66 by Adrian Prantl
Mark constructor as default and remove implementation (NFC)
llvm-svn: 373968
The file was modifiedlldb/source/Core/Mangled.cpp
The file was modifiedlldb/include/lldb/Core/Mangled.h
Commit 60786f9143926e86525abaa917494c406493534a by cameron.mcinally
[llvm-c] Add UnaryOperator to LLVM_FOR_EACH_VALUE_SUBCLASS macro
Note that we are not sure where the tests for these functions lives.
This was discussed in the Phab Diff.
Differential Revision: https://reviews.llvm.org/D68588
llvm-svn: 373969
The file was modifiedllvm/include/llvm-c/Core.h
Commit 33f054a316672b1ef54c9f4e6960ac1e7e5acbf5 by davide
[CMake] We only want to copy the headers for macOS.
<rdar://problem/55916729>
llvm-svn: 373970
The file was modifiedlldb/cmake/modules/LLDBFramework.cmake
Commit a9d43b55c7d2f40b42a1aae7f84917d13121fce3 by z.zoelec2
    [libc++] Remove C++03 variadics in shared_ptr (v2)
    Summary: In my last patch (D67675) I forgot a few variadics. This
patch removes the remaining make_shared and allocate_shared C++03
variadics.
    Reviewers: ldionne, EricWF, mclow.lists
    Subscribers: christof, dexonsmith, libcxx-commits
    Tags: #libc
    Differential Revision: https://reviews.llvm.org/D68000
llvm-svn: 373971
The file was modifiedlibcxx/include/memory
Commit ee33c61e341c23cbffe5c583107353d54fc67be8 by jdoerfert
[Attributor][FIX] Remove assertion wrong for on invalid IRPositions
llvm-svn: 373972
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit aaea76ba02301efd8aa0c8d5da4af400d03b2fb6 by david.bolvansky
[Diagnostics] Emit better -Wbool-operation's warning message if we known
that the result is always true
llvm-svn: 373973
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/Sema/warn-bitwise-negation-bool.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaChecking.cpp
Commit ae5bad7277f497a8b19e331dffc14c74e3db7587 by aheejin
[llvm-lipo] Add TextAPI to LINK_COMPONENTS
Summary: D68319 uses `MachO::getCPUTypeFromArchitecture` and without
this builds with `-DBUILD_SHARED_LIBS=ON` fail.
Reviewers: alexshap
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68594
llvm-svn: 373974
The file was modifiedllvm/tools/llvm-lipo/CMakeLists.txt
Commit daeead4b02f062bf5a21e154ab7726b3e1dd41bd by aheejin
[WebAssembly] Fix unwind mismatch stat computation
Summary: There was a bug when computing the number of unwind destination
mismatches in CFGStackify. When there are many mismatched calls that
share the same (original) destination BB, they have to be counted
separately.
This also fixes a typo and runs `fixUnwindMismatches` only when the wasm
exception handling is enabled. This is to prevent unnecessary
computations and does not change behavior.
Reviewers: dschuff
Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68552
llvm-svn: 373975
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll
Commit f9b67b810e2d413606b0d5891ed9477d819bcab9 by rnk
[X86] Add new calling convention that guarantees tail call optimization
When the target option GuaranteedTailCallOpt is specified, calls with
the fastcc calling convention will be transformed into tail calls if
they are in tail position. This diff adds a new calling convention,
tailcc, currently supported only on X86, which behaves the same way as
fastcc, except that the GuaranteedTailCallOpt flag does not need to
enabled in order to enable tail call optimization.
Patch by Dwight Guth <dwight.guth@runtimeverification.com>!
Reviewed By: lebedev.ri, paquette, rnk
Differential Revision: https://reviews.llvm.org/D67855
llvm-svn: 373976
The file was modifiedllvm/lib/Target/X86/X86Subtarget.h
The file was addedllvm/test/CodeGen/X86/tailcc-stackalign.ll
The file was addedllvm/test/CodeGen/X86/tailccfp.ll
The file was addedllvm/test/CodeGen/X86/tailccfp2.ll
The file was modifiedllvm/lib/AsmParser/LLToken.h
The file was modifiedllvm/lib/CodeGen/Analysis.cpp
The file was addedllvm/test/CodeGen/X86/tailccbyval.ll
The file was addedllvm/test/CodeGen/X86/tailcc-disable-tail-calls.ll
The file was addedllvm/test/CodeGen/X86/tailccpic2.ll
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was addedllvm/test/CodeGen/X86/tailcc-largecode.ll
The file was addedllvm/test/CodeGen/X86/tailccbyval64.ll
The file was modifiedllvm/lib/AsmParser/LLLexer.cpp
The file was addedllvm/test/CodeGen/X86/tailcall-tailcc.ll
The file was addedllvm/test/CodeGen/X86/tailcc-calleesave.ll
The file was addedllvm/test/CodeGen/X86/tailccpic1.ll
The file was addedllvm/test/CodeGen/X86/tailcc-fastisel.ll
The file was addedllvm/test/CodeGen/X86/musttail-tailcc.ll
The file was modifiedllvm/lib/Target/X86/X86FastISel.cpp
The file was addedllvm/test/CodeGen/X86/tailcc-structret.ll
The file was modifiedllvm/lib/Target/X86/X86CallingConv.td
The file was addedllvm/test/CodeGen/X86/tailcc-fastcc.ll
The file was modifiedllvm/include/llvm/IR/CallingConv.h
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/utils/vim/syntax/llvm.vim
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was addedllvm/test/CodeGen/X86/tailccstack64.ll
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/docs/BitCodeFormat.rst
The file was modifiedllvm/docs/CodeGenerator.rst
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
Commit 96ac97a4213287003f08636d0c372b3f71e9cfca by Jan Korous
Add VFS support for sanitizers' blacklist
Differential Revision: https://reviews.llvm.org/D67742
llvm-svn: 373977
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/test/CodeGen/ubsan-blacklist.c
The file was addedclang/test/CodeGen/Inputs/sanitizer-blacklist-vfsoverlay.yaml
Commit 87dd9688493a0e215b4670cbd49c47192eeca7aa by Vitaly Buka
[tsan] Don't delay SIGTRAP handler
Reviewers: eugenis, jfb
Subscribers: #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D68604
llvm-svn: 373978
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was addedcompiler-rt/test/sanitizer_common/TestCases/Linux/signal_trap_handler.cpp
Commit 9917c76107f827ec2ac19cbd5a42939ddd3bd2be by Vitaly Buka
[sanitizer] Print SIGTRAP for corresponding signal
Reviewers: eugenis, jfb
Subscribers: #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D68603
llvm-svn: 373979
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_posix.cpp
The file was addedcompiler-rt/test/sanitizer_common/TestCases/Linux/signal_trap.cpp
Commit 2b9f0b064b48cd14298be7ce99549da0cd5d5596 by joerg
Fix the spelling of my name.
llvm-svn: 373980
The file was modifiedllvm/docs/Proposals/GitHubMove.rst
Commit 7647d3ec7003ff5264d9d3aa1c2262a8f6853be5 by craig.topper
[X86] Add test cases for zero extending a gather index from less than
i32 to i64.
We should be able to use a smaller zero extend.
llvm-svn: 373981
The file was modifiedllvm/test/CodeGen/X86/masked_gather_scatter.ll
Commit be7f81ece9459ed9a72e4be645d86b6ce96484ab by craig.topper
[X86] Shrink zero extends of gather indices from type less than i32 to
types larger than i32.
Gather instructions can use i32 or i64 elements for indices. If the
index is zero extended from a type smaller than i32 to i64, we can
shrink the extend to just extend to i32.
llvm-svn: 373982
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/masked_gather_scatter.ll
Commit 2059105637867f7a02185998a30e7f8228dca280 by Vitaly Buka
[tsan, go] break commands into multiple lines
Summary: Patch by Keith Randall.
Reviewers: dvyukov, vitalybuka
Subscribers: delcypher, jfb, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D68596
llvm-svn: 373983
The file was modifiedcompiler-rt/lib/tsan/go/build.bat
Commit 2fdec42a167c7325f771ba340c3a5eff3d33061a by Vitaly Buka
[tsan, go] fix Go windows build
Summary: Don't use weak exports when building tsan into a shared library
for Go. gcc can't handle the pragmas used to make the weak references.
Include files that have been added since the last update to build.bat.
(We should really find a better way to list all the files needed.)
Add windows version defines (WINVER and _WIN32_WINNT) to get
AcquireSRWLockExclusive and ReleaseSRWLockExclusive defined.
Define GetProcessMemoryInfo to use the kernel32 version. This is kind of
a hack, the windows header files should do this translation for us. I
think we're not in the right family partition (we're using Desktop, but
that translation only happens for App and System partitions???), but
hacking the family partition seems equally gross and I have no idea what
the consequences of that might be.
Patch by Keith Randall.
Reviewers: dvyukov, vitalybuka
Reviewed By: vitalybuka
Subscribers: jfb, delcypher, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D68599
llvm-svn: 373984
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_win_defs.h
The file was modifiedcompiler-rt/lib/tsan/go/build.bat
Commit 661db04b98c9905ec38a218bd421327b7b888c13 by jdoerfert
[Attributor] Use abstract call sites for call site callback
Summary: When we iterate over uses of functions and expect them to be
call sites, we now use abstract call sites to allow callback calls.
Reviewers: sstefan1, uenoku
Subscribers: hiraditya, bollu, hfinkel, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67871
llvm-svn: 373985
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/IR/CallSite.h
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was addedllvm/test/Transforms/FunctionAttrs/callbacks.ll
Commit 766f2cc1a4bbe5008efc75d0439e8cee2813e76c by jdoerfert
[Attributor] Use local linkage instead of internal
Local linkage is internal or private, and private is a specialization of
internal, so either is fine for all our "local linkage" queries.
llvm-svn: 373986
The file was modifiedllvm/test/Transforms/FunctionAttrs/internal-noalias.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit d4bea8830c919ea74eb2a618a0dd6a067654fb97 by jdoerfert
[Attributor][FIX] Remove initialize calls and add undefs
The initialization logic has become part of the Attributor but the
patches that introduced these calls here were in development when the
transition happened.
We also now clean up (undefine) the macros used to create attributes.
llvm-svn: 373987
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 748538e166ef64e8c9bddc7736cc9d44a5574092 by jdoerfert
[Attributor][NFC] Add debug output
llvm-svn: 373988
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit c8a6df71305f1c49f27371c1a4310685854c46c1 by Matthew.Arsenault
AMDGPU/GlobalISel: Clamp G_SITOFP/G_UITOFP sources
llvm-svn: 373989
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-uitofp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sitofp.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit f4c7345b88f8ca56ee350a4a0dbfee7e2db79839 by apl
[Symbol] Remove unused method ClangASTContext::GetObjCClassName
llvm-svn: 373990
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
Commit 61f471a705a5df3d581ba4905337f433bac3ba1f by hhb
[lldb] Unifying lldb python path
Based on mgorny@'s D67890
There are 3 places where python site-package path is calculated
independently:
1. finishSwigPythonLLDB.py where files are written to site-packages.
2. lldb/scripts/CMakeLists.txt where site-packages are installed.
3. ScriptInterpreterPython.cpp where site-packages are added to
PYTHONPATH.
This change creates the path once and use it everywhere. So that they
will not go out of sync.
Also it provides a chance for cross compiling users to specify the right
path for site-packages.
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68442
llvm-svn: 373991
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/scripts/CMakeLists.txt
The file was removedlldb/scripts/get_relative_lib_dir.py
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
The file was modifiedlldb/scripts/finishSwigWrapperClasses.py
The file was modifiedlldb/CMakeLists.txt
The file was modifiedlldb/scripts/Python/finishSwigPythonLLDB.py
Commit 4fde20f4e41231e122a4be0b1d0d9865a3351797 by Vitaly Buka
[clang] Accept -ftrivial-auto-var-init in clang-cl
Reviewers: eugenis, rnk
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68608
llvm-svn: 373992
The file was modifiedclang/test/Driver/cl-options.c
The file was modifiedclang/include/clang/Driver/Options.td
Commit 2e2c93476282990ae6b4845578ced9bf51d43e43 by eugeni.stepanov
[msan] Add interceptors: crypt, crypt_r.
Reviewers: vitalybuka
Subscribers: srhines, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D68431
llvm-svn: 373993
The file was addedcompiler-rt/test/sanitizer_common/TestCases/Linux/crypt_r.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
The file was addedcompiler-rt/test/sanitizer_common/TestCases/Posix/crypt.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
Commit 4bddca306a451f2577ec62dd73c30b5e91a8fb32 by Jonas Devlieghere
[MachO] Fix symbol merging during symtab parsing.
The symtab parser in ObjectFileMachO has logic to coalesce debug (STAB)
and non-debug symbols, based on the address and the symbol name for
static (STSYM) and global symbols (GSYM) respectively. It makes the
assumption that the debug variant is always encountered first. Rather
than creating a second entry in the symbol table for the non-debug
symbol, the latter gets merged into the existing debug symbol.
This breaks when the linker emits the non-debug symbol first. We'd end
up with two entries in the symbol table, each containing part of the
information LLDB relies on. Indeed, commenting out the merging logic
breaks the test suite spectacularly.
This patch solves that problem by always parsing the debug symbols
first. This guarantees that the assumption for merging holds.
I'm not particularly happy with  adding a lambda, but after numerous
attempts this is the best solution I could come up with. The symtab
parsing logic is pretty complex in that it touches a lot of things. I've
experienced first hand that it's very easy to break things. I believe
this approach strikes a balance between fixing the issue while limiting
the risk of regressions.
Differential revision: https://reviews.llvm.org/D68536
llvm-svn: 373994
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was addedlldb/lit/ObjectFile/MachO/symtab.yaml
Commit 6f23e5f6d52b21d479c1faed6054c545f24dff27 by Jonas Devlieghere
[CMake] Remove stale comment
llvm-svn: 373995
The file was modifiedlldb/test/CMakeLists.txt
Commit 37cf39df20825980adf55143005b553bb7e12047 by Jonas Devlieghere
[CMake] Track test dependencies with add_lldb_test_dependency
I often use `ninja lldb-test-deps` to build all the test dependencies
before running a subset of the tests with `lit --filter`. This
functionality seems to break relatively often because test dependencies
are tracked in an ad-hoc way acrooss cmake files. This patch adds a
helper function `add_lldb_test_dependency` to unify test dependency
tracking by adding dependencies to lldb-test-deps.
Differential revision: https://reviews.llvm.org/D68612
llvm-svn: 373996
The file was modifiedlldb/utils/lldb-dotest/CMakeLists.txt
The file was modifiedlldb/cmake/modules/AddLLDB.cmake
The file was modifiedlldb/unittests/CMakeLists.txt
The file was modifiedlldb/test/CMakeLists.txt
The file was modifiedlldb/lit/CMakeLists.txt
The file was modifiedlldb/CMakeLists.txt
Commit 5d10e417e97bfe7581c72460c46f83722ece6693 by lawrence_danna
DWIMy filterspecs for dotest.py
Summary: dotest.py currently requires a filterspec to be of the form
`TestCase.test_method`.   This patch makes it more flexible, so you can
pass `TestModule.TestCase.test_method` or `TestModule.TestCase` or
`TestCase.test_method` or just
`test_method`.
This makes it more convenient to just copy a test name out of the
terminal after running a bunch of tests and use it as a filterspec.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: JDevlieghere
Subscribers: jingham, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68545
llvm-svn: 373997
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest_args.py
Commit 0016b450bee87bec816f764acfb9fa6afc31c352 by hhb
[lldb] Reverts part of 61f471a
Seems I wrongly merged an old patch.
Reverts the change related to python dir for windows.
FileSpec should always contain normalized path. I.e. using '/' even in
windows.
llvm-svn: 373998
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Commit 40943b5193f22182ed9c47aea822167a17072f3d by Jan Korous
Revert "Add VFS support for sanitizers' blacklist"
Fix tests on Windows for now.
This reverts commit 96ac97a4213287003f08636d0c372b3f71e9cfca.
llvm-svn: 373999
The file was modifiedclang/test/CodeGen/ubsan-blacklist.c
The file was removedclang/test/CodeGen/Inputs/sanitizer-blacklist-vfsoverlay.yaml
The file was modifiedclang/lib/AST/ASTContext.cpp
Commit ce3314cf28554265cac55bfabd86a192ebc07674 by Jonas Devlieghere
[CMake] Add two more uses of add_lldb_test_dependency
llvm-svn: 374000
The file was modifiedlldb/lit/CMakeLists.txt
The file was modifiedlldb/CMakeLists.txt
The file was modifiedlldb/test/CMakeLists.txt
Commit ffc67f92514c97558a93b51b46f20c264d2d31e6 by antonio.afonso
Fixing missing lldb-scripts rename from D68370
llvm-svn: 374005
The file was modifiedlldb/CMakeLists.txt
Commit 3dab5e825b8c9ef0e7d129e6aaa382b69f813c48 by Jan Korous
Reland 'Add VFS support for sanitizers' blacklist'
The original patch broke the test for Windows. Trying to fix as per
Reid's suggestions outlined here: https://reviews.llvm.org/rC371663
Differential Revision: https://reviews.llvm.org/D67742
llvm-svn: 374006
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/test/CodeGen/ubsan-blacklist.c
The file was addedclang/test/CodeGen/Inputs/sanitizer-blacklist-vfsoverlay.yaml
Commit 68491f50720de7da61866a478fa1971baa68e4e9 by lawrence_danna
test fix: TestLoadUsingPaths should use realpath
Summary: TestLoadUsingPaths will fail if the build directory has
symlinks in its path, because the real paths reported by the debugger
won't match the symlink-laden paths it's expecting.
This can be solved just by using os.path.realpath on the base path for
the test.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: JDevlieghere
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68618
llvm-svn: 374007
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/load_using_paths/TestLoadUsingPaths.py
Commit e21399b02e2651eb461301452355fc821d28712b by Jonas Devlieghere
Revert "ProcessInstanceInfoMatch: Don't match processes with no name if
a name match was requested"
This breaks TestProcessAttach and TestHelloWorld on Darwin.
llvm-svn: 374008
The file was modifiedlldb/unittests/Utility/ProcessInstanceInfoTest.cpp
The file was modifiedlldb/source/Utility/ProcessInfo.cpp
Commit cb194057b9d6d1cd68b3aa98b59c6cb323293d51 by atrick
[LitConfig] Silenced notes/warnings on quiet.
Lit has a "quiet" option, -q, which is documented to "suppress no error
output". Previously, LitConfig displayed notes and warnings when the
quiet option was specified. The result was that it was not possible to
get only pertinent file/line information to be used by an editor to jump
to the location where checks were failing without passing a number of
unhelpful locations first. Here, the implementations of LitConfig.note
and LitConfig.warning are modified to account for the quiet flag and
avoid displaying if the flag has indeed been set.
Patch by Nate Chandler
Reviewed by yln
Differential Revision: https://reviews.llvm.org/D68044
llvm-svn: 374009
The file was modifiedllvm/utils/lit/lit/LitConfig.py
Commit 54d767f508bbcbdafd57bdbfcc4036173c2708e8 by Vitaly Buka
[sanitizer] Fix signal_trap_handler.cpp on android
llvm-svn: 374010
The file was modifiedcompiler-rt/test/sanitizer_common/TestCases/Linux/signal_trap_handler.cpp
Commit d6609a404fecafe479be8a012b99e3f278f86275 by Jan Korous
[NFC] Fix ubsan-blacklist test
Restored original test and marked tests for VFS as unsupported on
Windows.
llvm-svn: 374011
The file was addedclang/test/CodeGen/ubsan-blacklist-vfs.c
The file was modifiedclang/test/CodeGen/ubsan-blacklist.c
Commit 66e276862781f6edc4e757695e20b69b3fb11d49 by jrtc27
[ItaniumMangle] Fix mangling of GNU __null in an expression to match GCC
Reviewers: rsmith
Reviewed By: rsmith
Subscribers: erik.pilkington, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68368
llvm-svn: 374013
The file was modifiedclang/test/CodeGenCXX/mangle-exprs.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
Commit a58ddba1137dc11462955a5a4aecda112923c8a8 by aheejin
[WebAssembly] Add REQUIRES: asserts to cfg-stackify-eh.ll
This was missing in D68552.
llvm-svn: 374015
The file was modifiedllvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll
Commit 9806a1d5f90a21a16c4bfc6d4bb10e0d5b870573 by czhengsz
[ConstantRange] [NFC] replace addWithNoSignedWrap with addWithNoWrap.
llvm-svn: 374016
The file was modifiedllvm/lib/IR/ConstantRange.cpp
The file was modifiedllvm/unittests/IR/ConstantRangeTest.cpp
The file was modifiedllvm/include/llvm/IR/ConstantRange.h
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit 9f41deccc0e648a006c9f38e11919f181b6c7e0a by wuzish
[LoopVectorize][PowerPC] Estimate int and float register pressure
separately in loop-vectorize
In loop-vectorize, interleave count and vector factor depend on target
register number. Currently, it does not estimate different register
pressure for different register class separately(especially for scalar
type, float type should not be on the same position with int type), so
it's not accurate. Specifically, it causes too many times
interleaving/unrolling, result in too many register spills in loop body
and hurting performance.
So we need classify the register classes in IR level, and importantly
these are abstract register classes, and are not the target register
class of backend provided in td file. It's used to establish the mapping
between the types of IR values and the number of simultaneous live
ranges to which we'd like to limit for some set of those types.
For example, POWER target, register num is special when VSX is enabled.
When VSX is enabled, the number of int scalar register is 32(GPR), float
is 64(VSR), but for int and float vector register both are 64(VSR). So
there should be 2 kinds of register class when vsx is enabled, and 3
kinds of register class when VSX is NOT enabled.
It runs on POWER target, it makes big(+~30%) performance improvement in
one specific bmk(503.bwaves_r) of spec2017 and no other obvious
degressions.
Differential revision: https://reviews.llvm.org/D67148
llvm-svn: 374017
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/lib/Target/XCore/XCoreTargetTransformInfo.h
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/reg-usage-debug.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/reg-usage.ll
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was addedllvm/test/Transforms/LoopVectorize/PowerPC/reg-usage.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp
Commit 411f1885b655ea622fe124a87a6eadfd988d7a5e by isanbard
[IA] Recognize hexadecimal escape sequences
Summary: Implement support for hexadecimal escape sequences to match how
GNU 'as' handles them. I.e., read all hexadecimal characters and
truncate to the lower 16 bits.
Reviewers: nickdesaulniers, jcai19
Subscribers: llvm-commits, hiraditya
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68598
llvm-svn: 374018
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/test/MC/AsmParser/directive_ascii.s
Commit f1ac8151f9cd9a7380b877e4e57213aa9b995e05 by courbet
[llvm-exegesis] Add stabilization test with config
In preparation for D68629.
llvm-svn: 374020
The file was addedllvm/test/tools/llvm-exegesis/X86/analysis-cluster-stabilization-config.test
Commit 18b6fe07bcf44294f200bd2b526cb737ed275c04 by kadircet
[LoopVectorize] Fix non-debug builds after rL374017
llvm-svn: 374021
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 54933667296d687743e8bd44048389b01f2cb94b by ruiu
Report error if -export-dynamic is used with -r
The combination of the two flags doesn't make sense. And other linkers
seem to just ignore --export-dynamic if --relocatable is given, but we
probably should report it as an error to let users know that is an
invalid combination.
Fixes https://bugs.llvm.org/show_bug.cgi?id=43552
Differential Revision: https://reviews.llvm.org/D68441
llvm-svn: 374022
The file was modifiedlld/test/ELF/driver.test
The file was modifiedlld/test/ELF/lto/relocation-model.ll
The file was modifiedlld/ELF/Driver.cpp
Commit d2e9dd3877e903812ed5568e3a59e9e124ca4f85 by ruiu
Use /dev/null for tests that we do not need outputs
llvm-svn: 374023
The file was modifiedlld/test/ELF/driver.test
Commit c9ddda84052659698b921e6c3a5bf7df9df599ce by kai.nacke
[Tools] Mark output of tools as text if it is text
Several LLVM tools write text files/streams without using OF_Text. This
can cause problems on platforms which distinguish between text and
binary output. This PR adds the OF_Text flag for the following tools:
- llvm-dis
- llvm-dwarfdump
- llvm-mca
- llvm-mc (assembler files only)
- opt (assembler files only)
- RemarkStreamer (used e.g. by opt)
Reviewers: rnk, vivekvpandya, Bigcheese, andreadb
Differential Revision: https://reviews.llvm.org/D67696
llvm-svn: 374024
The file was modifiedllvm/lib/IR/RemarkStreamer.cpp
The file was modifiedllvm/tools/llvm-mc/llvm-mc.cpp
The file was modifiedllvm/tools/llvm-dis/llvm-dis.cpp
The file was modifiedllvm/tools/opt/opt.cpp
The file was modifiedllvm/tools/llvm-mca/llvm-mca.cpp
The file was modifiedllvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
Commit 78bfe3ab9475776ae72ca7c9446066f6eb816cc0 by kristof.beyls
[ARM] Generate vcmp instead of vcmpe
Based on the discussion in
http://lists.llvm.org/pipermail/llvm-dev/2019-October/135574.html, the
conclusion was reached that the ARM backend should produce vcmp instead
of vcmpe instructions by default, i.e. not be producing an Invalid
Operation exception when either arguments in a floating point compare
are quiet NaNs.
In the future, after constrained floating point intrinsics for floating
point compare have been introduced, vcmpe instructions probably should
be produced for those intrinsics - depending on the exact semantics
they'll be defined to have.
This patch logically consists of the following parts:
- Revert http://llvm.org/viewvc/llvm-project?rev=294945&view=rev and
http://llvm.org/viewvc/llvm-project?rev=294968&view=rev, which
implemented fine-tuning for when to produce vcmpe (i.e. not do it for
equality comparisons). The complexity introduced by those patches
isn't needed anymore if we just always produce vcmp instead. Maybe
these patches need to be reintroduced again once support is needed to
map potential LLVM-IR constrained floating point compare intrinsics to
the ARM instruction set.
- Simply select vcmp, instead of vcmpe, see simple changes in
lib/Target/ARM/ARMInstrVFP.td
- Adapt lots of tests that tested for vcmpe (instead of vcmp). For all
of these test, the intent of what is tested for isn't related to
whether the vcmp should produce an Invalid Operation exception or not.
Fixes PR43374.
Differential Revision: https://reviews.llvm.org/D68463
llvm-svn: 374025
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
The file was modifiedllvm/test/CodeGen/ARM/fcmp-xo.ll
The file was modifiedllvm/test/CodeGen/Thumb2/float-cmp.ll
The file was modifiedllvm/test/CodeGen/ARM/compare-call.ll
The file was modifiedllvm/test/CodeGen/ARM/vsel.ll
The file was modifiedllvm/lib/Target/ARM/ARMFastISel.cpp
The file was modifiedllvm/test/CodeGen/ARM/2009-07-18-RewriterBug.ll
The file was modifiedllvm/test/CodeGen/ARM/vfp.ll
The file was modifiedllvm/test/CodeGen/ARM/vsel-fp16.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrVFP.td
The file was modifiedllvm/test/CodeGen/ARM/fpcmp.ll
The file was modifiedllvm/test/CodeGen/ARM/fp16-promote.ll
The file was removedllvm/test/CodeGen/ARM/vcmp-crash.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vcmpfr.ll
The file was modifiedllvm/test/CodeGen/ARM/float-helpers.s
The file was modifiedllvm/test/CodeGen/ARM/swifterror.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vcmpf.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vcmpfz.ll
The file was modifiedllvm/test/CodeGen/ARM/ifcvt11.ll
The file was modifiedllvm/test/CodeGen/ARM/fp16-instructions.ll
The file was modifiedllvm/test/CodeGen/ARM/arm-shrink-wrapping.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit a70c5261436322a53187d67b8bdc0445d0463a9a by flo
[LoopRotate] Unconditionally get ScalarEvolution.
Summary: LoopRotate is a loop pass and SE should always be available.
Reviewers: anemet, asbirlea
Reviewed By: asbirlea
Differential Revision: https://reviews.llvm.org/D68573
llvm-svn: 374026
The file was modifiedllvm/lib/Transforms/Scalar/LoopRotation.cpp
Commit 2edc69c05d1e687c9cd12c5409d0da116d1e9521 by wuzish
[NFC] Add REQUIRES for r374017 in testcase
llvm-svn: 374027
The file was modifiedllvm/test/Transforms/LoopVectorize/PowerPC/reg-usage.ll
Commit eec98969603e3d79c73ed8955bcaa581cd5b455a by grimar
[llvm-readobj/llvm-readelf] - Add checks for GNU-style to "all.test"
test case.
We do not check the GNU-style output when -all is given. This patch does
that.
Differential revision: https://reviews.llvm.org/D68462
llvm-svn: 374028
The file was modifiedllvm/test/tools/llvm-readobj/all.test
Commit 07932b108898f64ad5429f9cd23d06baa9e914cb by pavel
Fix a -Wpedantic warning
namespace-closing '}' don't need ';'.
llvm-svn: 374029
The file was modifiedlldb/include/lldb/API/SBCommandReturnObject.h
Commit c41294705bbb9457524df91c525d53ade53b304a by pavel
Revert "[lldb-server/android] Show more processes and package name when
necessary"
This reverts r373758 because it causes several to test to be flaky (=
failing ~90% of the time) on linux.
llvm-svn: 374030
The file was modifiedlldb/source/Host/linux/Host.cpp
Commit 4919534ae4d4029982d5a5ad7ea18f4a681cb602 by courbet
[llvm-exegesis] Finish plumbing the `Config` field.
Summary: Right now there are no snippet generators that emit the
`Config` Field, but I plan to add it to investigate LEA operands for
PR32326.
What was broken was:
- `Config` Was not propagated up until the BenchmarkResult::Key.
- Clustering should really consider different configs as measuring
different things, so we should stabilize on (Opcode, Config) instead of
just Opcode.
Reviewers: gchatelet
Subscribers: tschuett, llvm-commits, lebedev.ri
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68629
llvm-svn: 374031
The file was modifiedllvm/tools/llvm-exegesis/lib/Clustering.cpp
The file was modifiedllvm/test/tools/llvm-exegesis/X86/analysis-cluster-stabilization-config.test
The file was modifiedllvm/tools/llvm-exegesis/lib/CodeTemplate.h
The file was modifiedllvm/tools/llvm-exegesis/lib/SnippetGenerator.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/SnippetFile.cpp
The file was modifiedllvm/unittests/tools/llvm-exegesis/X86/SnippetFileTest.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/BenchmarkCode.h
The file was modifiedllvm/tools/llvm-exegesis/lib/BenchmarkResult.h
The file was modifiedllvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
Commit fb190c82983589eedfde7d1424c350eeb3d00050 by sylvestre
Remove an useless allocation (from by clang-analyzer/scan-build)
https://llvm.org/reports/scan-build/report-TargetInfo.cpp-detectFPCCEligibleStruct-9-1.html#EndPath
llvm-svn: 374032
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
Commit 02682498b86a72a53415a3676042b1a7d30ccbdc by nikola.prica
[ISEL][ARM][AARCH64] Tracking simple parameter forwarding registers
Support for tracking registers that forward function parameters into the
following function frame. For now we only support cases when parameter
is forwarded through single register.
Reviewers: aprantl, vsk, t.p.northover
Reviewed By: vsk
Differential Revision: https://reviews.llvm.org/D66953
llvm-svn: 374033
The file was addedllvm/test/DebugInfo/ARM/call-site-info-output.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
The file was addedllvm/test/DebugInfo/AArch64/call-site-info-output.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 8d6651f7b11ee3bc68d4e5523e44e987b53760bf by Andrea_DiBiagio
[MCA][LSUnit] Track loads and stores until retirement.
Before this patch, loads and stores were only tracked by their
corresponding queues in the LSUnit from dispatch until execute stage. In
practice we should be more conservative and assume that memory opcodes
leave their queues at retirement stage.
Basically, loads should leave the load queue only when they have
completed and delivered their data. We conservatively assume that a load
is completed when it is retired. Stores should be tracked by the store
queue from dispatch until retirement. In practice, stores can only leave
the store queue if their data can be written to the data cache.
This is mostly a mechanical change. With this patch, the retire stage
notifies the LSUnit when a memory instruction is retired. That would
triggers the release of LDQ/STQ entries.  The only visible change is in
memory tests for the bdver2 model. That is because bdver2 is the only
model that defines the load/store queue size.
This patch partially addresses PR39830.
Differential Revision: https://reviews.llvm.org/D68266
llvm-svn: 374034
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/load-throughput.s
The file was modifiedllvm/lib/MCA/Stages/RetireStage.cpp
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/store-throughput.s
The file was modifiedllvm/include/llvm/MCA/HardwareUnits/LSUnit.h
The file was modifiedllvm/lib/MCA/HardwareUnits/LSUnit.cpp
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/load-store-throughput.s
The file was modifiedllvm/lib/MCA/Context.cpp
The file was modifiedllvm/include/llvm/MCA/Stages/RetireStage.h
Commit 67f542aba72f552c4833bb253761dbcc54071016 by jrtc27
[Diagnostics] Silence -Wsizeof-array-div for character buffers
Summary: Character buffers are sometimes used to represent a pool of
memory that contains non-character objects, due to them being synonymous
with a stream of bytes on almost all modern architectures. Often, when
interacting with hardware devices, byte buffers are therefore used as an
intermediary and so we can end Character buffers are sometimes used to
represent a pool of memory that contains non-character objects, due to
them being synonymous with a stream of bytes on almost all modern
architectures. Often, when interacting with hardware devices, byte
buffers are therefore used as an intermediary and so we can end up
generating lots of false-positives.
Moreover, due to the ability of character pointers to alias
non-character pointers, the strict aliasing violations that would
generally be implied by the calculations caught by the warning (if the
calculation itself is in fact correct) do not apply here, and so
although the length calculation may be wrong, that is the only possible
issue.
Reviewers: rsmith, xbolva00, thakis
Reviewed By: xbolva00, thakis
Subscribers: thakis, lebedev.ri, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68526
llvm-svn: 374035
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/Sema/div-sizeof-array.cpp

Summary

  1. [LLDB] Add LLVM 9 to the Matrix bot (details)
  2. [LLDB] Enable mails on the matrix bot (details)
  3. Revert "[LLDB] Enable mails on the matrix bot" (details)
  4. [LLDB] Enable mails on the standalone bot (details)
Commit 61f450148947eda9c3ff69172e71db1fad3c00f1 by Jonas Devlieghere
[LLDB] Add LLVM 9 to the Matrix bot
llvm-svn: 373959
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake-matrix
Commit c4c4260c415566adda854c5a64597662db1da18d by Jonas Devlieghere
[LLDB] Enable mails on the matrix bot
llvm-svn: 374002
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake-matrix
Commit 97d1f8e3e91452d9ab91db8aa2a9f9aa09f62893 by Jonas Devlieghere
Revert "[LLDB] Enable mails on the matrix bot"
This reverts commit 3b05a74c5b56868049a700bc2b7fe56388349f33.
llvm-svn: 374003
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake-matrix
Commit 20166f10552c34f14d08409c030455e83fe1150c by Jonas Devlieghere
[LLDB] Enable mails on the standalone bot
llvm-svn: 374004
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake-standalone