SuccessChanges

Summary

  1. [ARM] Identity shuffles are legal (details)
  2. ASTContext - silence static analyzer getAs<> null dereference warnings. (details)
  3. MetadataLoader upgradeCUVariables() - silence static analyzer (details)
  4. WinException::emitExceptHandlerTable - silence static analyzer (details)
  5. Fix uninitialized variable warning. NFCI. (details)
  6. Log2_32 returns an unsigned. NFCI. (details)
  7. Fix libc++ pretty printer test for Python 3 after D67238 (details)
  8. LICM - remove unused variable and reduce scope of another variable. (details)
  9. Revert r373431 "Switch lowering: omit range check for bit tests when (details)
  10. [InstSimplify] fold fma/fmuladd with a NaN or undef operand (details)
  11. NFC: directly return when CommonExitBlock != Succ (details)
  12. [lldb][NFC] Create the ASTContext in ClangASTContext exactly once. (details)
  13. [InstCombine] Precommit tests for D68265 (details)
  14. [InstCombine] Simplify fma multiplication to nan for undef or nan (details)
  15. [lldb][NFC] Remove ClangASTContext::Clear (details)
  16. [llvm-objcopy] Add --set-section-alignment (details)
  17. [ModuloSchedule] Peel out prologs and epilogs, generate actual code (details)
  18. gn build: Merge r373462 (details)
  19. AsmPrinter - emitGlobalConstantFP - silence static analyzer null (details)
  20. LoopAccessAnalysis isConsecutiveAccess() - silence static analyzer (details)
  21. MemorySSA tryOptimizePhi - assert that we've found a DefChainEnd. NFCI. (details)
  22. MemorySSAUpdater::applyInsertUpdates - silence static analyzer (details)
  23. [AArch64][SVE] Implement int_aarch64_sve_cnt intrinsic (details)
  24. [llvm-dwarfdump] Fix dumping of wrong locstats map (details)
  25. [lldb] Fix evaluation of nested classes with parent from other CU (details)
  26. [Clangd] Ensure children are always RootStmt in ExtractFunction (Fixes (details)
  27. [Clangd] ExtractFunction: Don't extract body of enclosing function. (details)
  28. [yaml2obj] - Alow Size tag for describing SHT_HASH sections. (details)
  29. SemaInit - silence static analyzer getAs<> null dereference warnings. (details)
  30. SemaOverload - silence static analyzer getAs<> null dereference (details)
  31. [llvm-readelf] - Report a warning when .hash section contains a chain (details)
  32. Reapply r373431 "Switch lowering: omit range check for bit tests when (details)
  33. Silence static analyzer getAs<VectorType> null dereference warnings. (details)
  34. [CodeExtractor] NFC: Refactor sanity checks into isEligible (details)
  35. Type - silence static analyzer getAs<> null dereference warnings. NFCI. (details)
  36. LowerExpectIntrinsic handlePhiDef - silence static analyzer (details)
  37. [llvm] [cmake] Add install targets for missing distribution components (details)
  38. [SLP] add test for vectorization of different widths (PR28457); NFC (details)
  39. [CodeGen] Remove unused MachineMemOperand::print wrappers (PR41772) (details)
  40. [ThinLTO/WPD] Ensure devirtualized targets use promoted symbol when (details)
  41. [libc++] Use PRIVATE instead of PUBLIC when linking against system libs (details)
  42. [Local] Remove unused LazyValueInfo pointer from removeUnreachableBlock. (details)
  43. Add the misc-init-local-variables check. (details)
  44. [AMDGPU] Extend buffer intrinsics with swizzling (details)
  45. gn build: Merge r373489 (details)
  46. [WebAssembly] Error when using wasm64 for ISel (details)
  47. Fix: Actually erase remove the elements from AssumeHandles (details)
  48. [X86] Rewrite to the vXi1 subvector insertion code to not rely on the (details)
  49. [JSON] Use LLVM's library for encoding JSON in (details)
  50. [JSON] Use LLVM's library for encoding JSON in (details)
  51. [JSON] Use LLVM's library for encoding JSON in (details)
  52. [JSON] Use LLVM's library for encoding JSON in (details)
  53. [JSON] Remove Utility/JSON.{h|cpp} (details)
  54. [OPENMP50]Add parsing/sema analysis for declare variant score. (details)
  55. [ARM] Make helpers static. NFC. (details)
  56. [Stencil] Hide implementaion detai. NFC. (details)
  57. [MemorySSA] Update Phi creation when inserting a Def. (details)
  58. [libc++] Revert to using PUBLIC instead of PRIVATE when linking system (details)
  59. [ObjectFileMachO] Catch up with FileDesc changes. (details)
  60. [ObjectFileMachO] FileSpec::SetFile() now takes the style as arg. (details)
  61. [RegisterContextDarwin_arm64] Include the headers for getsysctlbyname. (details)
  62. [ARM64] XPC services are unsupported on device. (details)
  63. [libc++] Use a function to set warning flags per target (details)
  64. [Local] Handle terminators with users in removeUnreachableBlocks. (details)
  65. [TableGen] Improve error reporting of overlapping definitions (NFC) (details)
  66. Handle llvm.launder.invariant.group in msan. (details)
  67. Fix inconsistent indentation in TableGen.cpp (details)
  68. [libc++] Use functions instead of global variables to set libc++ build (details)
  69. [sanitizer_common] Rename OnPrint to __sanitizer_on_print. (details)
  70. [PowerPC] Fix SH field overflow issue (details)
  71. CGObjCMac - silence static analyzer dyn_cast<>/getAs<> null dereference (details)
  72. Recommit "[GlobalOpt] Pass DTU to removeUnreachableBlocks instead of (details)
  73. [Clang][Driver][NFC] Corrected DeviceActionBuilder methods' comments. (details)
  74. [NFC][libc++abi] Convert stray tabs to spaces (details)
  75. ItaniumCXXABI - silence static analyzer getAs<RecordType> null (details)
  76. Fix uninitialized variable warning in CodeGenPGO constructor. NFCI. (details)
  77. [gicombiner] Add the boring boilerplate for the declarative combiner (details)
  78. NFC: add namespace {} (details)
  79. [compiler-rt] Use GetNextInstructionPc in signal handlers (details)
  80. [sanitizer_common] Add __sanitizer_on_print to interface list. (details)
  81. [sanitizer_common] Disable onprint.cpp on Android. (details)
  82. [sanitizer_common] Declare __sanitizer_on_print in Windows interception. (details)
  83. DebugInfo: Simplify RangeSpan to be a plain struct (details)
  84. gn build: (manually) merge r373527 (details)
  85. [LegalizeTypes] Check for already split condition before calilng (details)
  86. [X86] Add test cases for suboptimal vselect+setcc splitting. (details)
  87. [InstCombine] Transform bcopy to memmove (details)
  88. [clang][ifs] Clang Interface Stubs ToolChain plumbing. (details)
  89. Move SanitizerInitializeUnwinder outside anonymous namespace. (details)
  90. DebugInfo: Rename DebugLocStream::Entry::Begin/EndSym to just Begin/End (details)
  91. [NFC][InstCombine] Add tests for 'variable sext of variable high bit (details)
  92. [InstCombine] Bypass high bit extract before variable sign-extension (details)
  93. [gicombiner] Fix a nullptr dereference when -combiners is given a name (details)
  94. [AMDGPU] Fix illegal agpr use by VALU (details)
  95. [gicombiner] Fix windows issue where single quotes in the command are (details)
  96. For P0784R7: allow direct calls to operator new / operator delete from (details)
  97. For P0784R7: support placement new-expressions in constant evaluation. (details)
  98. Mark P0784R7 as complete and start defining its feature-test macro. (details)
  99. Fixing broken builds due to r373538 due to test that should have been (details)
  100. gn build: Merge r373538 (details)
  101. [gicombiner] Add a CodeExpander to handle C++ fragments with variable (details)
  102. Fixing broken builds due to r373538, issues with filepath and hexagon (details)
  103. PR43519: don't inject a diagnostic when constant-evaulation of a (details)
  104. gn build: (manually) merge r373551 (details)
  105. [gicombiner] Make rL373551 compatible with older cmakes (details)
  106. Revert 373538 and follow-ups 373549 and 373552. (details)
  107. gn build: Merge r373556 (details)
  108. [X86] Remove a couple redundant isel patterns that look to have been (details)
  109. [X86] Add broadcast load folding patterns to NoVLX (details)
  110. [HIP] Support -emit-llvm for device compilation (details)
  111. new api class: SBFile (details)
  112. SBDebugger::SetInputFile, SetOutputFile, etc. (details)
  113. factor out an abstract base class for File (details)
  114. Fix driver tests when `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` is `ON` (details)
  115. [X86] Add DAG combine to turn (bitcast (vbroadcast_load)) into just a (details)
  116. AMDGPU/GlobalISel: Expand G_BITCAST legality (details)
  117. AMDGPU/GlobalISel: Don't re-get subtarget (details)
  118. [X86] Add test case for v8i64->v8i8 truncate with avx512 and (details)
  119. Fix libc++ pretty printer test for Python 3 after D67238 (take 2) (details)
  120. [llvm-exegesis][NFC] Rename (details)
  121. Fix a use-after-free in GDBRemoteCommunicationServerLLGS (details)
  122. "Fix" TestFileHandle.py on non-darwin platforms (details)
  123. Update the FAQ: remove stuff related to the previous license + update (details)
  124. [clang][NFC] Fix misspellings in ExternalASTMerger.h (details)
  125. Revert 373555: libLLVM+modules failure with CMake 3.10.2 (details)
  126. [Alignment][NFC] Allow constexpr Align (details)
  127. Revert 373551 (CodeExpander.cpp CMake issue) (details)
  128. Fix uninitialized variable warning. NFCI (details)
  129. Fix uninitialized variable warning. NFCI (details)
  130. Silence static analyzer getAs<RecordType> null dereference warnings. (details)
  131. [AArch64] Static (de)allocation of SVE stack objects. (details)
Commit c9b5ab8b1c7f40983538dc3c06f3db6d04364ca8 by david.green
[ARM] Identity shuffles are legal
Identity shuffles, of the form (0, 1, 2, 3, ...) are perfectly OK under
MVE
(they essentially just become bitcasts). We were not catching that in
the existing set of what we considered legal though. On NEON, they would
be covered by vext's, but that is not generally available in MVE.
This uses ShuffleVectorInst::isIdentityMask which is a little odd to use
here but does what we want and prevents us from just rewriting what is
the same function.
Differential Revision: https://reviews.llvm.org/D68241
llvm-svn: 373446
The file was modifiedllvm/test/CodeGen/Thumb2/mve-shuffleext.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit eed4b122eff653a8a00110ce33270e1b92ea41ca by llvm-dev
ASTContext - silence static analyzer getAs<> null dereference warnings.
NFCI.
The static analyzer is warning about potential null dereferences, but we
should be able to use castAs<> directly and if not assert will fire for
us.
llvm-svn: 373447
The file was modifiedclang/lib/AST/ASTContext.cpp
Commit 2bb217b5fec3e3b98c25a2d5d8d88f3a0b245a2c by llvm-dev
MetadataLoader upgradeCUVariables() - silence static analyzer
dyn_cast_or_null<> null dereference warning. NFCI.
The static analyzer is warning about a potential null dereference, but
we know that the source won't be null so just use dyn_cast, which will
assert if the value somehow is actually null.
llvm-svn: 373448
The file was modifiedllvm/lib/Bitcode/Reader/MetadataLoader.cpp
Commit c9129cea27188a732fddcd6ce14960e3520486ca by llvm-dev
WinException::emitExceptHandlerTable - silence static analyzer
dyn_cast<Function> null dereference warning. NFCI.
The static analyzer is warning about a potential null dereference, but
we should be able to use cast<Function> directly and if not assert will
fire for us.
llvm-svn: 373449
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WinException.cpp
Commit d2a3e898777075b60f3d238c568507c1929cc7e8 by llvm-dev
Fix uninitialized variable warning. NFCI.
llvm-svn: 373450
The file was modifiedllvm/lib/Demangle/MicrosoftDemangle.cpp
Commit d06ee791f347df0dcc4f2bf902b1486da26a1962 by llvm-dev
Log2_32 returns an unsigned. NFCI.
Silences clang static analyzer warning about out of bounds (negative)
shifts.
llvm-svn: 373451
The file was modifiedclang/lib/CodeGen/CGObjCGNU.cpp
Commit 619bcebc05cf0b5cd303bd8ad624e66ab0fcf22f by maskray
Fix libc++ pretty printer test for Python 3 after D67238
llvm-svn: 373452
The file was modifiedlibcxx/test/pretty_printers/gdb_pretty_printer_test.py
Commit da4cbae6961a563d45f53e60cde504d90df26da0 by llvm-dev
LICM - remove unused variable and reduce scope of another variable.
NFCI.
Appeases both clang static analyzer and cppcheck
llvm-svn: 373453
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
Commit 372aece777020ac19894b17b8c81d63f2ec77dad by hans
Revert r373431 "Switch lowering: omit range check for bit tests when
default is unreachable (PR43129)"
This broke
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/19967
> Switch lowering: omit range check for bit tests when default is
unreachable (PR43129)
>
> This is modeled after the same functionality for jump tables, which
was
> added in r357067.
>
> Differential revision: https://reviews.llvm.org/D68131
llvm-svn: 373454
The file was modifiedllvm/include/llvm/CodeGen/SwitchLoweringUtils.h
The file was modifiedllvm/test/CodeGen/X86/switch-bt.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit be21ceb565971bb451078d44c8768c3fc24572e6 by spatel
[InstSimplify] fold fma/fmuladd with a NaN or undef operand
This is intended to be similar to the constant folding results from
D67446 and earlier, but not all operands are constant in these tests, so
the responsibility for folding is left to InstSimplify.
Differential Revision: https://reviews.llvm.org/D67721
llvm-svn: 373455
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/call.ll
Commit b1fe6c90e66b11f0fbb282a0fc760040faf53021 by hiraditya
NFC: directly return when CommonExitBlock != Succ
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68330
llvm-svn: 373456
The file was modifiedllvm/lib/Transforms/Utils/CodeExtractor.cpp
Commit 2eb963abff8e65f79e5c4ac0787ebd65d501e3dd by Raphael Isemann
[lldb][NFC] Create the ASTContext in ClangASTContext exactly once.
Reason for this patch is the Ssame reason as for the previous patches:
Having a ClangASTContext and being able to switch the associated
ASTContext isn't a use case we have (or should have), so let's simplify
all this code. This way it becomes clearer in what order we initialize
data structures.
The DWARFASTParserClangTests changes are necessary as the test is using
a ClangASTContext but relied on the fact that no called function ever
calls getASTContext() on our ClangASTContext (as that would create the
ASTContext). As we now always create the ASTContext the fact that we had
an uninitialized FileSystem made the test crash.
llvm-svn: 373457
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/unittests/SymbolFile/DWARF/DWARFASTParserClangTests.cpp
Commit f2ffa7a1c0e1f95e7baffa31d60b534d52ac9e8a by flo
[InstCombine] Precommit tests for D68265
llvm-svn: 373458
The file was modifiedllvm/test/Transforms/InstCombine/fma.ll
Commit 067ed96e8e5a642d671770ad8b5d109ae00eb9bc by flo
[InstCombine] Simplify fma multiplication to nan for undef or nan
operands.
In similar fashion to D67721, we can simplify FMA multiplications if any
of the operands is NaN or undef. In instcombine, we will simplify the
FMA to an fadd with a NaN operand, which in turn gets folded to NaN.
Note that this just changes SimplifyFMAFMul, so we still not catch the
case where only the Add part of the FMA is Nan/Undef.
Reviewers: cameron.mcinally, mcberg2017, spatel, arsenm
Reviewed By: cameron.mcinally
Differential Revision: https://reviews.llvm.org/D68265
llvm-svn: 373459
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit ecbfb851a07348a16022289f18b96cfa94bd8125 by Raphael Isemann
[lldb][NFC] Remove ClangASTContext::Clear
We now only use this function directly after initialization. As Clear()
resets the ASTContext back to its initial state, this is just a no-op.
There are no other users for this and we no longer can set the
ASTContext after construction, so Clear has no useful purpose anymore.
It's also mostly copy-pasted from Finalize().
llvm-svn: 373460
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit 671fb3435862899db32ed20e680ded2ee665effd by maskray
[llvm-objcopy] Add --set-section-alignment
Fixes PR43181. This option was recently added to GNU objcopy (binutils
PR24942).
`llvm-objcopy -I binary -O elf64-x86-64 --set-section-alignment .data=8`
can set the alignment of .data.
Reviewed By: grimar, jhenderson, rupprecht
Differential Revision: https://reviews.llvm.org/D67656
llvm-svn: 373461
The file was modifiedllvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
The file was modifiedllvm/docs/CommandGuide/llvm-objcopy.rst
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.h
The file was modifiedllvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-input.test
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/tools/llvm-objcopy/ObjcopyOpts.td
The file was addedllvm/test/tools/llvm-objcopy/ELF/set-section-alignment.test
Commit 9026518e7398eeced1f07f5f6003ba047209c033 by jmolloy
[ModuloSchedule] Peel out prologs and epilogs, generate actual code
Summary: This extends the PeelingModuloScheduleExpander to generate
prolog and epilog code, and correctly stitch uses through the prolog,
kernel, epilog DAG.
The key concept in this patch is to ensure that all transforms are
*local*; only a function of a block and its immediate predecessor and
successor. By defining the problem in this way we can inductively
rewrite the entire DAG using only local knowledge that is easy to reason
about.
For example, we assume that all prologs and epilogs are near-perfect
clones of the steady-state kernel. This means that if a block has an
instruction that is predicated out, we can redirect all users of that
instruction to that equivalent instruction in our immediate predecessor.
As all blocks are clones, every instruction must have an equivalent in
every other block.
Similarly we can make the assumption by construction that if a value
defined in a block is used outside that block, the only possible user is
its immediate successors. We maintain this even for values that are used
outside the loop by creating a limited form of LCSSA.
This code isn't small, but it isn't complex.
Enabled a bunch of testing from Hexagon. There are a couple of tests not
enabled yet; I'm about 80% sure there isn't buggy codegen but the tests
are checking for patterns that we don't produce. Those still need a bit
more investigation. In the meantime we
(Google) are happy with the code produced by this on our downstream SMS
implementation, and believe it generates correct code.
Subscribers: mgorny, hiraditya, jsji, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68205
llvm-svn: 373462
The file was modifiedllvm/test/CodeGen/Hexagon/swp-conv3x3-nested.ll
The file was modifiedllvm/test/CodeGen/Hexagon/pipeliner/swp-phi-start.mir
The file was modifiedllvm/test/CodeGen/Hexagon/swp-resmii-1.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-vsum.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-epilog-numphis.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-epilog-phi8.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-pragma-disable.ii
The file was modifiedllvm/test/CodeGen/Hexagon/swp-dep-neg-offset.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-swap.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-carried-1.ll
The file was modifiedllvm/include/llvm/CodeGen/ModuloSchedule.h
The file was modifiedllvm/test/CodeGen/Hexagon/swp-bad-sched.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-phi-ch-offset.ll
The file was addedllvm/lib/CodeGen/MachineLoopUtils.cpp
The file was modifiedllvm/test/CodeGen/Hexagon/swp-const-tc2.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-check-offset.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-stages5.ll
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was modifiedllvm/test/CodeGen/Hexagon/swp-loop-carried-unknown.ll
The file was modifiedllvm/lib/CodeGen/ModuloSchedule.cpp
The file was modifiedllvm/test/CodeGen/Hexagon/swp-vect-dotprod.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-order-copies.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-reuse-phi-6.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-stages4.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-rename.ll
The file was modifiedllvm/lib/CodeGen/MachinePipeliner.cpp
The file was modifiedllvm/test/CodeGen/Hexagon/swp-lots-deps.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-order-deps7.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-disable-Os.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-memrefs-epilog.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-tfri.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-phi-chains.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-carried-dep2.mir
The file was modifiedllvm/test/CodeGen/Hexagon/swp-max.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-change-deps.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-const-tc1.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-const-tc3.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-large-rec.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-carried-dep1.mir
The file was modifiedllvm/test/CodeGen/Hexagon/swp-epilog-phi4.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-subreg.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-multi-loops.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-order.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-epilog-phi2.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-change-dep1.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-kernel-phi1.ll
The file was addedllvm/include/llvm/CodeGen/MachineLoopUtils.h
The file was modifiedllvm/test/CodeGen/Hexagon/swp-art-deps-rec.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-maxstart.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-phi-ref.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-chain-refs.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-prolog-phi.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-vmult.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-resmii.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-listen-loop3.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-sigma.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-new-phi.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-pragma-initiation-interval.ii
The file was modifiedllvm/test/CodeGen/Hexagon/swp-copytophi-dag.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-epilog-phi5.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-phi-dep.ll
Commit 5591722b5bb95ea86ccf366dbe5a38a48180ca96 by llvmgnsyncbot
gn build: Merge r373462
llvm-svn: 373463
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
Commit 369d16a1c629041869b969c6fa31fc157bec1c89 by llvm-dev
AsmPrinter - emitGlobalConstantFP - silence static analyzer null
dereference warning. NFCI.
All the calls to emitGlobalConstantFP should provide a nonnull Type for
the float.
llvm-svn: 373464
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Commit e2ded3d131b79845f407b57de9c4189fdc9a6c0f by llvm-dev
LoopAccessAnalysis isConsecutiveAccess() - silence static analyzer
dyn_cast<SCEVConstant> null dereference warning. NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use cast<SCEVConstant> directly and if
not assert will fire for us.
llvm-svn: 373465
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
Commit 65e115098821925055d6e78312862bf2513f8996 by llvm-dev
MemorySSA tryOptimizePhi - assert that we've found a DefChainEnd. NFCI.
Silences static analyzer null dereference warning.
llvm-svn: 373466
The file was modifiedllvm/lib/Analysis/MemorySSA.cpp
Commit b635964abc780fcc3a1967961737bb8ee0a78541 by llvm-dev
MemorySSAUpdater::applyInsertUpdates - silence static analyzer
dyn_cast<MemoryAccess> null dereference warning. NFCI.
The static analyzer is warning about a potential null dereference, but
we should be able to use cast<MemoryAccess> directly and if not assert
will fire for us.
llvm-svn: 373467
The file was modifiedllvm/lib/Analysis/MemorySSAUpdater.cpp
Commit 822b298958908a41ad748bf25053eed47408c1d7 by kerry.mclaughlin
[AArch64][SVE] Implement int_aarch64_sve_cnt intrinsic
Summary: This patch includes tests for the VecOfBitcastsToInt type added
by D68021
Reviewers: c-rhodes, sdesmalen, rovka
Reviewed By: c-rhodes
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl,
llvm-commits, cfe-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68023
llvm-svn: 373468
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-counting-bits.ll
Commit 45297645aaba19e0cd2e6a4d331b661e1d79c272 by djordje.todorovic
[llvm-dwarfdump] Fix dumping of wrong locstats map
llvm-svn: 373469
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/locstats.ll
The file was modifiedllvm/tools/llvm-dwarfdump/Statistics.cpp
Commit 5c375ed66945f64bcad3f8d4178dc79315a3ee68 by Raphael Isemann
[lldb] Fix evaluation of nested classes with parent from other CU
This makes sure that we associate DIEs that are imported from other CUs
with the appropriate decl context.
Without this fix, nested classes can be dumped directly into their CU
context if their parent was imported from another CU.
Reviewed By: teemperor, labath
Differential Revision: https://reviews.llvm.org/D68278
Patch by Jaroslav Sevcik!
llvm-svn: 373470
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/nested-class-other-compilation-unit/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/nested-class-other-compilation-unit/TestNestedClassWithParentInAnotherCU.py
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/nested-class-other-compilation-unit/shared.h
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/nested-class-other-compilation-unit/other.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/nested-class-other-compilation-unit/main.cpp
Commit f1758079540c17166f0ac439af1e8f609cd94735 by shauryab98
[Clangd] Ensure children are always RootStmt in ExtractFunction (Fixes
#153)
Summary: We weren't always checking if children are RootStmts in
ExtractFunction.
For `void f([[int a]]);`, the ParmVarDecl appeared as a RootStmt since
we didn't perform the check and ended up being casted to a (null) Stmt.
Reviewers: sammccall, kadircet
Subscribers: kristof.beyls, ilya-biryukov, MaskRay, jkorous, arphaman,
usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68182
llvm-svn: 373471
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExtractFunction.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
Commit a24762e773d90c9e195d763297ef04af42ff2e34 by shauryab98
[Clangd] ExtractFunction: Don't extract body of enclosing function.
Summary: This patch disable extraction of the body of the enclosing
function.
`void f() [[{}]]`
Extracting this CompoundStmt would leave the enclosing function without
a body.
Reviewers: sammccall, kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68245
llvm-svn: 373472
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExtractFunction.cpp
Commit 6fa696fb08d54071daac0d867d783d12b9dabd65 by grimar
[yaml2obj] - Alow Size tag for describing SHT_HASH sections.
This is a follow-up for D68085 which allows using "Size" tag together
with "Content" tag or alone.
Differential revision: https://reviews.llvm.org/D68216
llvm-svn: 373473
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/test/tools/yaml2obj/elf-hash-section.yaml
Commit 920ff02ece54bb38fcd91dfae265a1bfd0fb3c69 by llvm-dev
SemaInit - 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: 373474
The file was modifiedclang/lib/Sema/SemaInit.cpp
Commit ed3b68e0dc3c038261bfa591e5223e7f9d1d8b8f by llvm-dev
SemaOverload - 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: 373475
The file was modifiedclang/lib/Sema/SemaOverload.cpp
Commit 4496f07497a883e44477b0d8f4e331cd030ffd6e by grimar
[llvm-readelf] - Report a warning when .hash section contains a chain
with a cycle.
It is possible to craft a .hash section that triggers an infinite loop
in llvm-readelf code. This patch fixes the issue and introduces a
warning.
Differential revision: https://reviews.llvm.org/D68086
llvm-svn: 373476
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/llvm-readobj/elf-hash-symbols.test
Commit 9330005a547926c6bef1704b540f83755bafe8d4 by hans
Reapply r373431 "Switch lowering: omit range check for bit tests when
default is unreachable (PR43129)"
This was reverted in r373454 due to breaking the expensive-checks bot.
This version addresses that by omitting the addSuccessorWithProb() call
when omitting the range check.
> Switch lowering: omit range check for bit tests when default is
unreachable (PR43129)
>
> This is modeled after the same functionality for jump tables, which
was
> added in r357067.
>
> Differential revision: https://reviews.llvm.org/D68131
llvm-svn: 373477
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/test/CodeGen/X86/switch-bt.ll
The file was modifiedllvm/include/llvm/CodeGen/SwitchLoweringUtils.h
Commit e0712019f274d288a6b8335d85652569ccd9caf7 by llvm-dev
Silence static analyzer getAs<VectorType> null dereference warnings.
NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use castAs<VectorType> directly and if
not assert will fire for us.
llvm-svn: 373478
The file was modifiedclang/lib/AST/APValue.cpp
The file was modifiedclang/lib/CodeGen/CGAtomic.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
Commit c4a7b912c26e30b5793f16ddf920a2db762c695a by hiraditya
[CodeExtractor] NFC: Refactor sanity checks into isEligible
Reviewers: fhahn
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68331
llvm-svn: 373479
The file was modifiedllvm/lib/Transforms/Utils/CodeExtractor.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/CodeExtractor.h
Commit 96ab296ea40e6ffb563496c147bfa3d9a55b2cea by llvm-dev
Type - 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: 373480
The file was modifiedclang/lib/AST/Type.cpp
Commit 91b4085b034ef3a432b0063175f8a3bd96ee089c by llvm-dev
LowerExpectIntrinsic handlePhiDef - silence static analyzer
dyn_cast<PHINode> null dereference warning. NFCI.
The static analyzer is warning about a potential null dereference, but
we should be able to use cast<PHINode> directly and if not assert will
fire for us.
llvm-svn: 373481
The file was modifiedllvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
Commit c2c419ca788652d018c29c1f473cd554da15d742 by mgorny
[llvm] [cmake] Add install targets for missing distribution components
Add install targets as necessary to include all files normally installed
in LLVM_DISTRIBUTION_COMPONENTS.  This includes targets for Sphinx docs,
opt-viewer Python modules and TableGens.
Differential Revision: https://reviews.llvm.org/D68339
llvm-svn: 373482
The file was modifiedllvm/cmake/modules/TableGen.cmake
The file was modifiedllvm/tools/opt-viewer/CMakeLists.txt
The file was modifiedllvm/cmake/modules/AddSphinxTarget.cmake
Commit 3f4726b818091e02b1bed07c70012a9e5234d5ac by spatel
[SLP] add test for vectorization of different widths (PR28457); NFC
llvm-svn: 373483
The file was addedllvm/test/Transforms/SLPVectorizer/X86/different-vec-widths.ll
Commit 49c23908777aba4ed42427db2cd7acd141b0406e by llvm-dev
[CodeGen] Remove unused MachineMemOperand::print wrappers (PR41772)
As noted on PR41772, the static analyzer reports that the
MachineMemOperand::print partial wrappers set a number of args to null
pointers that were then dereferenced in the actual implementation.
It turns out that these wrappers are not being used at all (hence why
we're not seeing any crashes), so I'd like to propose we just get rid of
them.
Differential Revision: https://reviews.llvm.org/D68208
llvm-svn: 373484
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineMemOperand.h
Commit 077cc3fcb01d2a38d2591b2e5de3677bdcf8c86d by tejohnson
[ThinLTO/WPD] Ensure devirtualized targets use promoted symbol when
necessary
Summary: This fixes a hole in the handling of devirtualized targets that
were local but need promoting due to devirtualization in another module.
We were not correctly referencing the promoted symbol in some cases.
Make sure the code that updates the name also looks at the ExportedGUIDs
set by utilizing a callback that checks all conditions (the callback
utilized by the internalization/promotion code).
Reviewers: pcc, davidxl, hiraditya
Subscribers: mehdi_amini, Prazek, inglorion, steven_wu, dexonsmith,
dang, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68159
llvm-svn: 373485
The file was modifiedllvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was addedllvm/test/ThinLTO/X86/devirt_promote.ll
The file was addedllvm/test/ThinLTO/X86/Inputs/devirt_promote.ll
Commit ef315b5361e414f93b0f0067084fe9f63e620b54 by Louis Dionne
[libc++] Use PRIVATE instead of PUBLIC when linking against system libs
llvm-svn: 373487
The file was modifiedlibcxx/src/CMakeLists.txt
Commit eb6700b57e969e75014394a02e8130542f3f6457 by flo
[Local] Remove unused LazyValueInfo pointer from removeUnreachableBlock.
There are no users that pass in LazyValueInfo, so we can simplify the
function a bit.
Reviewers: brzycki, asbirlea, davide
Reviewed By: davide
Differential Revision: https://reviews.llvm.org/D68297
llvm-svn: 373488
The file was modifiedllvm/unittests/Transforms/Utils/LocalTest.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/Local.h
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
Commit b879fd05bd7628cfb27d8e127dc8751389dcd1d7 by aaron
Add the misc-init-local-variables check.
This checks finds all primitive type local variables (integers, doubles,
pointers) that are declared without an initial value. Includes fixit
functionality to initialize said variables with a default value. This is
zero for most types and NaN for floating point types. The use of NaNs is
copied from the D programming language.
Patch by Jussi Pakkanen.
llvm-svn: 373489
The file was addedclang-tools-extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
The file was addedclang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-init-variables.rst
The file was addedclang-tools-extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.h
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was addedclang-tools-extra/test/clang-tidy/cppcoreguidelines-init-variables.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
Commit 265e94e65798b24038ea01fe92ff37be550e2c9c by Piotr Sobczak
[AMDGPU] Extend buffer intrinsics with swizzling
Summary: Extend cachepolicy operand in the new VMEM buffer intrinsics to
supply information whether the buffer data is swizzled. Also, propagate
this information to MIR.
Intrinsics updated: int_amdgcn_raw_buffer_load
int_amdgcn_raw_buffer_load_format int_amdgcn_raw_buffer_store
int_amdgcn_raw_buffer_store_format int_amdgcn_raw_tbuffer_load
int_amdgcn_raw_tbuffer_store int_amdgcn_struct_buffer_load
int_amdgcn_struct_buffer_load_format int_amdgcn_struct_buffer_store
int_amdgcn_struct_buffer_store_format int_amdgcn_struct_tbuffer_load
int_amdgcn_struct_tbuffer_store
Furthermore, disable merging of VMEM buffer instructions in SI
Load/Store optimizer, if the "swizzled" bit on the instruction is on.
The default value of the bit is 0, meaning that data in buffer is linear
and buffer instructions can be merged.
There is no difference in the generated code with this commit. However,
in the future it will be expected that front-ends use buffer intrinsics
with correct "swizzled" bit set.
Reviewers: arsenm, nhaehnle, tpr
Reviewed By: nhaehnle
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, arphaman, jfb, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68200
llvm-svn: 373491
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/inserted-wait-states.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/hazard-buffer-store-v-interp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/vmem-to-salu-hazard.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/test/CodeGen/AMDGPU/sched-assert-dead-def-subreg-use-other-subreg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/waitcnt-loop-irreducible.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/fold-immediate-output-mods.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/regcoal-subrange-join-seg.mir
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/mir-canon-multi.mir
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/expected-target-index-name.mir
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/load-store-opt-dlc.mir
The file was modifiedllvm/lib/Target/AMDGPU/BUFInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/schedule-barrier.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/optimize-if-exec-masking.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/sched-crash-dbg-value.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/collapse-endcf.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/fold-imm-f16-f32.mir
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h
The file was modifiedllvm/test/CodeGen/AMDGPU/memory-legalizer-multiple-mem-operands-nontemporal-1.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/collapse-endcf2.mir
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/target-index-operands.mir
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/invalid-target-index-operand.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-reg-scavenger-position.mir
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/phi-elimination-end-cf.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-subranges-another-copymi-not-live.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/hazard-hidden-bundle.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-extend-pruned-subrange.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/nsa-vmem-hazard.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/merge-load-store.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/memory-legalizer-atomic-insert-end.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-private.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-subregjoin-fullcopy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/memory-legalizer-multiple-mem-operands-atomics.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/memory-legalizer-multiple-mem-operands-nontemporal-2.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-private.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.load.ll
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicsAMDGPU.td
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-waitcnts-exp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/break-vmem-soft-clauses.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/invert-br-undef-vcc.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/mubuf-legalize-operands.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/power-sched-no-instr-sunit.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/rename-independent-subregs-mac-operands.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/shrink-vop3-carry-out.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/couldnt-join-subrange-3.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-skips-flat-vmem.mir
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/parse-order-reserved-regs.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-subranges-another-prune-error.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-with-subregs-bad-identical.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/fold-multiple.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/opt-sgpr-to-vgpr-copy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/indirect-addressing-term.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vmem-vcc-hazard.mir
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/memory_clause.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/regcoalesce-dbg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/fold-fi-mubuf.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/lds-branch-vmem-hazard.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/fold-imm-copy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/clamp-omod-special-case.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.store.ll
Commit 9ba60b38ccdad150e59cc10502482dfaa5d0749c by llvmgnsyncbot
gn build: Merge r373489
llvm-svn: 373492
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/cppcoreguidelines/BUILD.gn
Commit 5b74c39d7222d6a8e449d63e7b5eeada712e6fcb by tlively
[WebAssembly] Error when using wasm64 for ISel
Summary: 64-bit WebAssembly (wasm64) is not specified and not supported
in the WebAssembly backend. We do have support for it in clang, however,
and we would like to keep that support because we expect wasm64 to be
specified and supported in the future. For now add an error when trying
to use wasm64 from the backend to minimize user confusion from
unexplained crashes.
Reviewers: aheejin, dschuff, sunfish
Subscribers: sbc100, jgravelle-google, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68254
llvm-svn: 373493
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/cpus.ll
Commit 0cacf136fcbce5eeacd2d225264f62dba272c64f by hiraditya
Fix: Actually erase remove the elements from AssumeHandles
Reviewers: sdmitriev, tejohnson
Reviewed by: tejohnson
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68318
llvm-svn: 373494
The file was modifiedllvm/lib/Analysis/AssumptionCache.cpp
Commit 74c7d6be2843b2040f5b8ca712ee715475369196 by craig.topper
[X86] Rewrite to the vXi1 subvector insertion code to not rely on the
value of bits that might be undef
The previous code tried to do a trick where we would extract the
subvector from the location we were inserting. Then xor that with the
new value. Take the xored value and clear out the bits above the
subvector size. Then shift that xored subvector to the insert location.
And finally xor that with the original vector. Since the old subvector
was used in both xors, this would leave just the new subvector at the
inserted location. Since the surrounding bits had been zeroed no other
bits of the original vector would be modified.
Unfortunately, if the old subvector came from undef we might
aggressively propagate the undef. Then we end up with the XORs not
cancelling because they aren't using the same value for the two uses of
the old subvector. @bkramer gave me a case that demonstrated this, but
we haven't reduced it enough to make it easily readable to see what's
happening.
This patch uses a safer, but more costly approach. It isolate the bits
above the insertion and bits below the insert point and ORs those
together leaving 0 for the insertion location. Then widens the subvector
with 0s in the upper bits, shifts it into position with 0s in the lower
bits. Then we do another OR.
Differential Revision: https://reviews.llvm.org/D68311
llvm-svn: 373495
The file was modifiedllvm/test/CodeGen/X86/avx512-insert-extract.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-calling-conv.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-ext.ll
The file was modifiedllvm/test/CodeGen/X86/masked_store.ll
The file was modifiedllvm/test/CodeGen/X86/vec_smulo.ll
The file was modifiedllvm/test/CodeGen/X86/vec_umulo.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-mask-op.ll
Commit 9beb45671bac3a2ff12e4edba3de2a6c7d2d9ca4 by Jonas Devlieghere
[JSON] Use LLVM's library for encoding JSON in
GDBRemoteCommunicationServerLLGS
This patch replaces the LLDB's JSON implementation with the one from
LLVM in GDBRemoteCommunicationServerLLGS.
Differential revision: https://reviews.llvm.org/D68299
llvm-svn: 373497
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
Commit 2a5a906753d78357bf627cd6547d3250ca6c8388 by Jonas Devlieghere
[JSON] Use LLVM's library for encoding JSON in
GDBRemoteCommunicationClient
This patch replaces the LLDB's JSON implementation with the one from
LLVM in GDBRemoteCommunicationClient.
Differential revision: https://reviews.llvm.org/D68301
llvm-svn: 373498
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
Commit 7cb720dda04c4b9f611c199524039f83911ac66b by Jonas Devlieghere
[JSON] Use LLVM's library for encoding JSON in
GDBRemoteCommunicationServerPlatform
This patch replaces the LLDB's JSON implementation with the one from
LLVM in GDBRemoteCommunicationServerPlatform.
Differential revision: https://reviews.llvm.org/D68302
llvm-svn: 373499
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
Commit 4f8151e62ef1a85929fe241fda3360163135e55a by Jonas Devlieghere
[JSON] Use LLVM's library for encoding JSON in
GDBRemoteCommunicationServerCommon
This patch replaces the LLDB's JSON implementation with the one from
LLVM in GDBRemoteCommunicationServerCommon.
Differential revision: https://reviews.llvm.org/D68304
llvm-svn: 373500
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
Commit 2a0c8b1143225feeae87eff3a963491b14f06daf by Jonas Devlieghere
[JSON] Remove Utility/JSON.{h|cpp}
This patch is the final step in my quest to get rid of the JSON parser
in LLDB. Vedant's coverage report [1] shows that it was mostly untested.
Furthermore, the LLVM implementation has a much nicer API and using it
means one less thing to maintain for LLDB.
[1] http://lab.llvm.org:8080/coverage/coverage-reports/index.html
Differential revision: https://reviews.llvm.org/D68305
llvm-svn: 373501
The file was removedlldb/unittests/Utility/JSONTest.cpp
The file was removedlldb/include/lldb/Utility/JSON.h
The file was modifiedlldb/source/Utility/CMakeLists.txt
The file was modifiedlldb/unittests/Utility/CMakeLists.txt
The file was removedlldb/source/Utility/JSON.cpp
Commit a15a1413ac63aee4de5a03d5aa0ff982751c8ca6 by a.bataev
[OPENMP50]Add parsing/sema analysis for declare variant score.
Context selectors may include optional score clause in format
`score(<expr>):`, where `<expr>` must be a constant integer expression.
Added parsing/sema analysis only.
llvm-svn: 373502
The file was modifiedclang/test/OpenMP/declare_variant_ast_print.c
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/OpenMP/declare_variant_messages.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/test/OpenMP/declare_variant_ast_print.cpp
The file was modifiedclang/test/OpenMP/declare_variant_messages.c
Commit 12e915b3fcc55b8394dce3105a24c009e516d153 by benny.kra
[ARM] Make helpers static. NFC.
llvm-svn: 373503
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit 340406a7400e0a2542ae153f113b3daf2481bbc7 by benny.kra
[Stencil] Hide implementaion detai. NFC.
llvm-svn: 373504
The file was modifiedclang/lib/Tooling/Refactoring/Stencil.cpp
Commit 24ae5ce54b98598ce01d3aec47d25844768f377d by asbirlea
[MemorySSA] Update Phi creation when inserting a Def.
MemoryPhis should be added in the IDF of the blocks newly gaining Defs.
This includes the blocks that gained a Phi and the block gaining a Def,
if the block did not have one before. Resolves PR43427.
llvm-svn: 373505
The file was modifiedllvm/lib/Analysis/MemorySSAUpdater.cpp
The file was addedllvm/test/Analysis/MemorySSA/pr43427.ll
Commit 9cc90ec3499d2c868dcdf492d04181f64208a1d2 by Louis Dionne
[libc++] Revert to using PUBLIC instead of PRIVATE when linking system
libs
It turns out the benchmarks need to link against those libraries
explicitly too, so CMake's propagation of PUBLIC dependencies is used.
llvm-svn: 373506
The file was modifiedlibcxx/src/CMakeLists.txt
Commit 6fdeb0324f2ca33ec2b650945acd0a86418469c1 by davide
[ObjectFileMachO] Catch up with FileDesc changes.
This didn't show up because nobody built __arm64__ in a while.
<rdar://problem/55916729>
llvm-svn: 373507
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
Commit ef46be6c2acdae00cef6981cf30f4b29b7f48917 by davide
[ObjectFileMachO] FileSpec::SetFile() now takes the style as arg.
Another block that's only compiled on __arm64__ and wasn't updated.
<rdar://problem/55916729>
llvm-svn: 373508
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
Commit 293ec1e16a3fac1d06e400913d023a669fbe5bfa by davide
[RegisterContextDarwin_arm64] Include the headers for getsysctlbyname.
This code is only used under __arm64__, use the correct guard.
<rdar://problem/55916729>
llvm-svn: 373509
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm64.cpp
Commit 3c1084373d320947d5dae5478e62fa262fd42e3f by davide
[ARM64] XPC services are unsupported on device.
While around, clean up support for a 8 years old OS.
<rdar://problem/55916729>
llvm-svn: 373510
The file was modifiedlldb/source/Host/macosx/objcxx/Host.mm
Commit c78c0e08be2192b3bc33f449f26480a58e89032b by Louis Dionne
[libc++] Use a function to set warning flags per target
This is part of a larger shift to move to per-target settings and
eradicate global variables from the CMake build. I'm starting small with
warnings only because those are easy to transition over and I want to
see how it pans out, but we can handle all flags like exceptions and
RTTI in the future.
llvm-svn: 373511
The file was modifiedlibcxx/src/CMakeLists.txt
The file was modifiedlibcxx/CMakeLists.txt
Commit a80b6c15425f82521c624ff24c5c0a34cd534d54 by flo
[Local] Handle terminators with users in removeUnreachableBlocks.
Terminators like invoke can have users outside the current basic block.
We have to replace those users with undef, before replacing the
terminator.
This fixes a crash exposed by rL373430.
Reviewers: brzycki, asbirlea, davide, spatel
Reviewed By: asbirlea
Differential Revision: https://reviews.llvm.org/D68327
llvm-svn: 373513
The file was modifiedllvm/unittests/Transforms/Utils/LocalTest.cpp
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
Commit e139a73c5fc1fc7139b08c7ff3adf3a29e1f7dc8 by e.menezes
[TableGen] Improve error reporting of overlapping definitions (NFC)
llvm-svn: 373514
The file was modifiedllvm/utils/TableGen/CodeGenSchedule.cpp
Commit 464df87288f7ff734119da26a1e5eab0d1f57681 by eugeni.stepanov
Handle llvm.launder.invariant.group in msan.
Summary:
[MSan] handle llvm.launder.invariant.group
    Msan used to give false-positives in
    class Foo {
    public:
     virtual ~Foo() {};
   };
    // Return true iff *x is set.
   bool f1(void **x, bool flag);
    Foo* f() {
     void *p;
     bool found;
     found = f1(&p,flag);
     if (found) {
       // p is always set here.
       return static_cast<Foo*>(p); // False positive here.
     }
     return nullptr;
   }
Patch by Ilya Tokar.
Reviewers: #sanitizers, eugenis
Reviewed By: #sanitizers, eugenis
Subscribers: eugenis, Prazek, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68236
llvm-svn: 373515
The file was addedllvm/test/Instrumentation/MemorySanitizer/msan_llvm_strip_invariant.ll
The file was addedllvm/test/Instrumentation/MemorySanitizer/msan_llvm_launder_invariant.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Commit 9ac0cda40a495d6fd78e03fe6432a680a3854c62 by daniel_l_sanders
Fix inconsistent indentation in TableGen.cpp
The anonymous namespace starts out (incorrectly) indented but isn't
indented from the TimeRegionsOpt declaration onwards.
llvm-svn: 373516
The file was modifiedllvm/utils/TableGen/TableGen.cpp
Commit 925d9d2e1443e49f2e4b7a4a674bb7bfe29609b0 by Louis Dionne
[libc++] Use functions instead of global variables to set libc++ build
flags
This commit follows the trend of doing things per-target instead of
modifying the C++ flags globally. It does so for visibility-related
flags, other basic build flags and Windows-specific flags.
llvm-svn: 373517
The file was modifiedlibcxx/src/CMakeLists.txt
The file was modifiedlibcxx/CMakeLists.txt
Commit e55c442b1b65a20c6fece42d4860a5148326a13e by mascasa
[sanitizer_common] Rename OnPrint to __sanitizer_on_print.
Summary: https://reviews.llvm.org/D28596 exposed OnPrint in the global
namespace, which can cause collisions with user-defined OnPrint()
functions.
Reviewers: vitalybuka, dvyukov
Reviewed By: vitalybuka, dvyukov
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67987
llvm-svn: 373518
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_printf.cpp
The file was addedcompiler-rt/test/sanitizer_common/TestCases/onprint.cpp
Commit c7be06797436f558e1c925fae1aba8629cd1f5bf by yi-hong.lyu
[PowerPC] Fix SH field overflow issue
Store rlwinm Rx, Ry, 32, 0, 31 as rlwinm Rx, Ry, 0, 0, 31 and store
rldicl Rx, Ry, 64, 0 as rldicl Rx, Ry, 0, 0. Otherwise SH field is
overflow and fails assertion in assembly printing stage.
Differential Revision: https://reviews.llvm.org/D66991
llvm-svn: 373519
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was addedllvm/test/CodeGen/PowerPC/sh-overflow.mir
Commit 5a8b229c97d0586835f2a136798c9eeea391051a by llvm-dev
CGObjCMac - silence static analyzer dyn_cast<>/getAs<> null dereference
warnings. NFCI.
The static analyzer is warning about potential null dereferences, but we
should be able to use cast<>/castAs<> directly and if not assert will
fire for us.
llvm-svn: 373520
The file was modifiedclang/lib/CodeGen/CGObjCMac.cpp
Commit a03d7b0f24b65d69721dbbbc871df0629efcf774 by flo
Recommit "[GlobalOpt] Pass DTU to removeUnreachableBlocks instead of
recomputing."
The cause for the revert should be fixed by r373513 /
a80b6c15425f82521c624ff24c5c0a34cd534d54
This reverts commit 47dbcbd8ec6bf6c0b9cbe5811e81a37cc55e73ef.
llvm-svn: 373522
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
Commit 5ac9d18e7d9d91a3bfb54bbb65067a5c36f13315 by serguei.n.dmitriev
[Clang][Driver][NFC] Corrected DeviceActionBuilder methods' comments.
Differential Revision: https://reviews.llvm.org/D68355
llvm-svn: 373523
The file was modifiedclang/lib/Driver/Driver.cpp
Commit c5d2746fbea7bd46b0508fbf07cd935c3bb33c3a by Louis Dionne
[NFC][libc++abi] Convert stray tabs to spaces
llvm-svn: 373524
The file was modifiedlibcxxabi/src/cxa_default_handlers.cpp
The file was modifiedlibcxxabi/src/cxa_exception.cpp
Commit f2805470e61d3641ebbe7b03b138a06953a08e5a by llvm-dev
ItaniumCXXABI - silence static analyzer getAs<RecordType> null
dereference warnings. NFCI.
The static analyzer is warning about potential null dereferences, but we
should be able to use castAs<RecordType> directly and if not assert will
fire for us.
llvm-svn: 373525
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
Commit 426078a78182881a75d817fc48008cf7af95fe25 by llvm-dev
Fix uninitialized variable warning in CodeGenPGO constructor. NFCI.
llvm-svn: 373526
The file was modifiedclang/lib/CodeGen/CodeGenPGO.h
Commit 505d7f3105853efefb695e27bc6660227e737b62 by daniel_l_sanders
[gicombiner] Add the boring boilerplate for the declarative combiner
Summary: This is the first of a series of patches extracted from a much
bigger WIP patch. It merely establishes the tblgen pass and the way
empty combiner helpers are declared and integrated into a combiner info.
The tablegen pass takes a -combiners option to select the combiner
helper that will be generated. This can be given multiple values to
generate multiple combiner helpers at once. Doing so helps to minimize
parsing overhead.
The reason for creating a GlobalISel subdirectory in utils/TableGen is
that there will be quite a lot of non-pass files (~15) by the time the
patch series is done.
Reviewers: volkan
Subscribers: mgorny, hiraditya, simoncook, Petar.Avramovic, s.egerton,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68286
llvm-svn: 373527
The file was addedllvm/lib/Target/AArch64/AArch64Combine.td
The file was modifiedllvm/lib/Target/AArch64/AArch64.td
The file was modifiedllvm/utils/TableGen/TableGen.cpp
The file was addedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/utils/TableGen/CMakeLists.txt
The file was modifiedllvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
The file was modifiedllvm/utils/TableGen/TableGenBackends.h
The file was modifiedllvm/lib/Target/AArch64/CMakeLists.txt
The file was addedllvm/utils/TableGen/GICombinerEmitter.cpp
Commit 59bf75caabe4edaeff3754feb58fc70b11520f9b by Vitaly Buka
NFC: add namespace {}
llvm-svn: 373528
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp
Commit d39e7e2cf156f5f444637fb3d26e98d33b1bfc19 by Vitaly Buka
[compiler-rt] Use GetNextInstructionPc in signal handlers
Summary: All other stack trace callers assume that PC contains return
address. HWAsan already use GetNextInstructionPc in similar code.
PR43339
Reviewers: eugenis, kcc, jfb
Subscribers: dexonsmith, dberris, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D68313
llvm-svn: 373529
The file was addedcompiler-rt/test/sanitizer_common/TestCases/Linux/signal_line.cpp
The file was modifiedcompiler-rt/lib/asan/asan_errors.cpp
The file was modifiedcompiler-rt/lib/lsan/lsan.cpp
The file was modifiedcompiler-rt/lib/msan/msan.cpp
The file was modifiedcompiler-rt/lib/ubsan/ubsan_signals_standalone.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
Commit 62f190ce9a8622eb487e261e3860d16140952226 by mascasa
[sanitizer_common] Add __sanitizer_on_print to interface list.
Should fix the current Windows buildbot failure.
llvm-svn: 373530
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
Commit 38ac6bdb83a9bb76c109901960c20d1714339891 by mascasa
[sanitizer_common] Disable onprint.cpp on Android.
The test fails to find the written file on Android.
llvm-svn: 373531
The file was modifiedcompiler-rt/test/sanitizer_common/TestCases/onprint.cpp
Commit 4d39410b1e0896f7b39be15b42de35b96faaee6c by mascasa
[sanitizer_common] Declare __sanitizer_on_print in Windows interception.
Speculative fix for Windows bot.
llvm-svn: 373532
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
Commit b677cb8dc74d2c409214833c27d37a4bda001f37 by dblaikie
DebugInfo: Simplify RangeSpan to be a plain struct
This is an effort to make RangeSpan and DebugLocStream::Entry more
similar to share code for their emission (to reuse the more complicated
code for using (& choosing when to use) base address selection entries,
etc).
It didn't seem like this struct was worth the complexity of
encapsulation - when the members could be initialized by the ctor to any
value (no validation) and the type is assignable (so there's no
mutability or other constraint being implemented by its interface).
llvm-svn: 373533
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfFile.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
Commit 641ecbd014f635dec5414d18f97fab6ffcc64b35 by nicolasweber
gn build: (manually) merge r373527
llvm-svn: 373534
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AArch64/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
Commit 2772b970e30ac2ca17b723f2e0bfac0dd0c99b80 by craig.topper
[LegalizeTypes] Check for already split condition before calilng
SplitVecRes_SETCC in SplitRes_SELECT.
No point in manually splitting the SETCC if it was already done.
llvm-svn: 373535
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
Commit f5bda7fe24edd21a7f3fc71129d1cca8fd277a1d by craig.topper
[X86] Add test cases for suboptimal vselect+setcc splitting.
If the vselect result type needs to be split, it will try to also try to
split the condition if it happens to be a setcc.
With avx512 where k-registers are legal, its probably better to just use
a kshift to split the mask register.
llvm-svn: 373536
The file was modifiedllvm/test/CodeGen/X86/avx512-vselect.ll
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
Commit 6b45029676e5d0b5eb5baddab919c511881dd186 by david.bolvansky
[InstCombine] Transform bcopy to memmove
bcopy is still widely used mainly for network apps. Sadly, LLVM has no
optimizations for bcopy, but there are some for memmove.  Since bcopy ==
memmove, it is profitable to transform bcopy to memmove and use current
optimizations for memmove for free here.
llvm-svn: 373537
The file was addedllvm/test/Transforms/InstCombine/bcopy.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Commit 406de17b9b93f1065954b6e80b1aa54b32a73a14 by puyan
[clang][ifs] Clang Interface Stubs ToolChain plumbing.
This patch enables end to end support for generating ELF interface stubs
directly from clang. Now the following:
clang -emit-interface-stubs -o libfoo.so a.cpp b.cpp c.cpp
will product an ELF binary with visible symbols populated. Visibility
attributes and -fvisibility can be used to control what gets populated.
* Adding ToolChain support for clang Driver IFS Merge Phase
* Implementing a default InterfaceStubs Merge clang Tool, used by
ToolChain
* Adds support for the clang Driver to involve llvm-ifs on ifs files.
* Adds -emit-merged-ifs flag, to tell llvm-ifs to emit a merged ifs text
file
instead of the final object format (normally ELF)
Differential Revision: https://reviews.llvm.org/D63978
llvm-svn: 373538
The file was addedclang/test/InterfaceStubs/object.c
The file was modifiedclang/lib/Driver/ToolChain.cpp
The file was addedclang/test/InterfaceStubs/driver-test.c
The file was modifiedclang/test/InterfaceStubs/function-template-specialization.cpp
The file was modifiedclang/test/InterfaceStubs/class-template-specialization.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/include/clang/Driver/Phases.h
The file was modifiedclang/lib/Driver/Action.cpp
The file was modifiedclang/lib/Driver/Types.cpp
The file was modifiedclang/test/InterfaceStubs/bad-format.cpp
The file was addedclang/test/InterfaceStubs/object-double.c
The file was addedclang/test/InterfaceStubs/object-float.c
The file was addedclang/lib/Driver/ToolChains/InterfaceStubs.h
The file was addedclang/test/InterfaceStubs/conflict-type.ifs
The file was addedclang/test/InterfaceStubs/func.ifs
The file was modifiedclang/test/InterfaceStubs/template-namespace-function.cpp
The file was addedclang/test/InterfaceStubs/merge-conflict-test.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/test/lit.cfg.py
The file was modifiedclang/lib/Driver/Phases.cpp
The file was addedclang/test/InterfaceStubs/object.ifs
The file was modifiedclang/test/InterfaceStubs/externstatic.c
The file was modifiedclang/include/clang/Driver/Types.def
The file was modifiedclang/include/clang/Driver/Action.h
The file was modifiedclang/test/InterfaceStubs/inline.c
The file was modifiedclang/include/clang/Driver/ToolChain.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Driver/CMakeLists.txt
The file was addedclang/lib/Driver/ToolChains/InterfaceStubs.cpp
The file was modifiedclang/test/InterfaceStubs/weak.cpp
Commit 629cad1266bd9ef441eeadf9bcae21e1df094d71 by mascasa
Move SanitizerInitializeUnwinder outside anonymous namespace.
Fixes the Android build breakage introduced in r373528.
llvm-svn: 373539
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp
Commit 11e0bcf8a27c413b53b9061aeea601264bfe2c76 by dblaikie
DebugInfo: Rename DebugLocStream::Entry::Begin/EndSym to just Begin/End
Brings this struct in line with the RangeSpan class so they might
eventually be used by common template code for generating range/loc
lists with less duplicate code.
llvm-svn: 373540
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DebugLocStream.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit 29339149c34d1b8c0058ad863ea8c1b163a70171 by lebedev.ri
[NFC][InstCombine] Add tests for 'variable sext of variable high bit
extract' pattern (PR43523)
https://bugs.llvm.org/show_bug.cgi?id=43523
llvm-svn: 373541
The file was addedllvm/test/Transforms/InstCombine/variable-signext-of-variable-high-bit-extraction.ll
Commit ae3315af075975873df7a33e3835f2170f860b46 by lebedev.ri
[InstCombine] Bypass high bit extract before variable sign-extension
(PR43523)
https://rise4fun.com/Alive/8BY - valid for lshr+trunc+variable sext
https://rise4fun.com/Alive/7jk - the variable sext can be redundant
https://rise4fun.com/Alive/Qslu - 'exact'-ness of first shift can be
preserver
https://rise4fun.com/Alive/IF63 - without trunc we could view this as
                                 more general "drop redundant mask
before right-shift",
                                 but let's handle it here for now
https://rise4fun.com/Alive/iip - likewise, without trunc, variable sext
can be redundant.
There's more patterns for sure - e.g. we can have 'lshr' as the final
shift, but that might be best handled by some more generic transform,
e.g.
"drop redundant masking before right-shift" (PR42456)
I'm singling-out this sext patch because you can only extract high bits
with `*shr` (unlike abstract bit masking), and i *know* this fold is
wanted by existing code.
I don't believe there is much to review here, so i'm gonna opt into
post-review mode here.
https://bugs.llvm.org/show_bug.cgi?id=43523
llvm-svn: 373542
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/variable-signext-of-variable-high-bit-extraction.ll
Commit 2a964eabaa80399d5fb33535a1fcacc033e498e9 by daniel_l_sanders
[gicombiner] Fix a nullptr dereference when -combiners is given a name
that isn't defined
This is unlikely to be the root cause for the windows bot failures but
it would explain the stack trace seen.
llvm-svn: 373543
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
Commit 1384c3a5b896e5f9463fe87d75b35cbdf80e288b by Stanislav.Mekhanoshin
[AMDGPU] Fix illegal agpr use by VALU
When SIFixSGPRCopies attempts to fix an illegal copy from vector to
scalar register it calls moveToVALU(). A copy from an agpr to sgpr
becomes a copy from agpr to agpr, which may result in the illegal
register class at a use of this copy.
Solution is to copy it always into a vgpr. This may result in a
subsequent copy into an agpr if that is what really needed, however
should not happen too often and likely will be folded later.
The opposite situation may not happen because an sgpr is always illegal
where agpr is legal, so such user instructions may not exist.
Differential Revision: https://reviews.llvm.org/D68358
llvm-svn: 373544
The file was addedllvm/test/CodeGen/AMDGPU/fold_acc_copy_into_valu.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/illegal-sgpr-to-vgpr-copy.ll
Commit 603e98948e1482f43de589c3252fa18fd2e1d237 by daniel_l_sanders
[gicombiner] Fix windows issue where single quotes in the command are
passed through to tablegen
llvm-svn: 373545
The file was modifiedllvm/lib/Target/AArch64/CMakeLists.txt
Commit 19ad5239713ce0f2742ca2f9e30ff4663ee5ad90 by richard-llvm
For P0784R7: allow direct calls to operator new / operator delete from
std::allocator::{allocate,deallocate} in constant evaluation.
llvm-svn: 373546
The file was modifiedclang/include/clang/Basic/DiagnosticASTKinds.td
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was addedclang/test/SemaCXX/cxx2a-constexpr-dynalloc.cpp
Commit b542602c5f351d66b0a4213f537fd6fb8dde8dcd by richard-llvm
For P0784R7: support placement new-expressions in constant evaluation.
For now, we restrict this support to use from within the standard
library implementation, since we're required to make parts of the
standard library that use placement new work, but not permitted to make
uses of placement new from user code work.
llvm-svn: 373547
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/SemaCXX/cxx2a-constexpr-dynalloc.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticASTKinds.td
The file was modifiedclang/lib/AST/Interp/State.h
Commit 69e9d84b1ad1c208a4c502d3def8e9234b161e65 by richard-llvm
Mark P0784R7 as complete and start defining its feature-test macro.
Note that this only covers the language side of this feature. (The
library side has its own feature test macro.)
llvm-svn: 373548
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
The file was modifiedclang/test/Lexer/cxx-features.cpp
The file was modifiedclang/www/cxx_status.html
Commit 8581f860c7eff0aa66a86580651be5a410d0f2dd by puyan
Fixing broken builds due to r373538 due to test that should have been
deleted.
test/InterfaceStubs/object.cpp should have been deleted.
llvm-svn: 373549
The file was removedclang/test/InterfaceStubs/object.cpp
Commit 81f2da4d093c54f711e432472c0d3f0012db81b9 by llvmgnsyncbot
gn build: Merge r373538
llvm-svn: 373550
The file was modifiedllvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn
Commit eb27b5de538b6c9fa6726b159b1ae1e2416c0969 by daniel_l_sanders
[gicombiner] Add a CodeExpander to handle C++ fragments with variable
expansion
Summary: This will handle expansion of C++ fragments in the declarative
combiner including custom predicates, and escapes into C++ to aid the
migration effort.
Reviewers: bogner, volkan
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68288
llvm-svn: 373551
The file was modifiedllvm/utils/TableGen/CMakeLists.txt
The file was addedllvm/utils/TableGen/GlobalISel/CodeExpander.h
The file was addedllvm/unittests/TableGen/CMakeLists.txt
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
The file was addedllvm/utils/TableGen/GlobalISel/CodeExpander.cpp
The file was modifiedllvm/unittests/CMakeLists.txt
The file was addedllvm/utils/TableGen/GlobalISel/CMakeLists.txt
The file was addedllvm/unittests/TableGen/CodeExpanderTest.cpp
The file was addedllvm/utils/TableGen/GlobalISel/CodeExpansions.h
Commit 30c8df02ba22a2f9b2af44714f382e2e4a4aafdb by puyan
Fixing broken builds due to r373538, issues with filepath and hexagon
toolchain.
It appears there are some issues with the hexagon toolchain, and also
the file path for the library file. If this doesn't fix the remaining
breakages I will attempt a revert.
llvm-svn: 373552
The file was modifiedclang/test/InterfaceStubs/driver-test.c
Commit 5258202a81598e8f6f97751a0b0045e5aa1b8978 by richard-llvm
PR43519: don't inject a diagnostic when constant-evaulation of a
pointer-to-member call can't determine a callee.
We will have produced a diagnostic already if the callee is known to be
unevaluatable, and diagnosing here rejects valid code during potential
constant expression checking.
llvm-svn: 373553
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
Commit f79f68975d51b389d9f141aa30ab47723a75a868 by nicolasweber
gn build: (manually) merge r373551
llvm-svn: 373554
The file was modifiedllvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
The file was addedllvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/BUILD.gn
The file was addedllvm/utils/gn/secondary/llvm/unittests/TableGen/BUILD.gn
Commit 45f682f47129c05414d4c5ae7be851772273978f by daniel_l_sanders
[gicombiner] Make rL373551 compatible with older cmakes
Newer cmakes appear to be more flexible w.r.t object libraries. Convert
to a static library so that it works with older cmakes too
llvm-svn: 373555
The file was modifiedllvm/unittests/TableGen/CMakeLists.txt
The file was modifiedllvm/utils/TableGen/CMakeLists.txt
The file was modifiedllvm/utils/TableGen/GlobalISel/CMakeLists.txt
Commit 6713f8235bac3a5883af6eee841cb50a8832d754 by nicolasweber
Revert 373538 and follow-ups 373549 and 373552.
They break tests on (at least) macOS.
llvm-svn: 373556
The file was modifiedclang/test/InterfaceStubs/externstatic.c
The file was modifiedclang/include/clang/Driver/Phases.h
The file was removedclang/test/InterfaceStubs/object.ifs
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/test/InterfaceStubs/function-template-specialization.cpp
The file was modifiedclang/lib/Driver/ToolChain.cpp
The file was modifiedclang/lib/Driver/Action.cpp
The file was removedclang/lib/Driver/ToolChains/InterfaceStubs.cpp
The file was removedclang/test/InterfaceStubs/object-double.c
The file was modifiedclang/test/lit.cfg.py
The file was removedclang/lib/Driver/ToolChains/InterfaceStubs.h
The file was removedclang/test/InterfaceStubs/driver-test.c
The file was removedclang/test/InterfaceStubs/object.c
The file was removedclang/test/InterfaceStubs/object-float.c
The file was modifiedclang/test/InterfaceStubs/inline.c
The file was addedclang/test/InterfaceStubs/object.cpp
The file was modifiedclang/test/InterfaceStubs/bad-format.cpp
The file was modifiedclang/include/clang/Driver/ToolChain.h
The file was modifiedclang/lib/Driver/CMakeLists.txt
The file was modifiedclang/lib/Driver/Phases.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Driver/Driver.cpp
The file was removedclang/test/InterfaceStubs/conflict-type.ifs
The file was modifiedclang/test/InterfaceStubs/weak.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Driver/Types.cpp
The file was modifiedclang/include/clang/Driver/Types.def
The file was removedclang/test/InterfaceStubs/func.ifs
The file was modifiedclang/test/InterfaceStubs/template-namespace-function.cpp
The file was modifiedclang/test/InterfaceStubs/class-template-specialization.cpp
The file was modifiedclang/include/clang/Driver/Action.h
The file was removedclang/test/InterfaceStubs/merge-conflict-test.c
Commit d7f93154b3ca042fe3dc9629d5b3b0b50cb4c18e by llvmgnsyncbot
gn build: Merge r373556
llvm-svn: 373558
The file was modifiedllvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn
Commit 241c72ddd9d614903db27333a82360b20941064c by craig.topper
[X86] Remove a couple redundant isel patterns that look to have been
copy/pasted from right above them. NFC
llvm-svn: 373559
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
Commit f849f414699af50023bec96ab4e8f9d2af14bd63 by craig.topper
[X86] Add broadcast load folding patterns to NoVLX
VPMULLQ/VPMAXSQ/VPMAXUQ/VPMINSQ/VPMINUQ patterns.
More fixes for PR36191.
llvm-svn: 373560
The file was modifiedllvm/test/CodeGen/X86/masked_store_trunc_ssat.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-arith.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-packus.ll
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-ssat.ll
The file was modifiedllvm/test/CodeGen/X86/masked_store_trunc_usat.ll
Commit f13b8d4fe962216cd0e1a7dc318709caa1c5b59a by Yaxun.Liu
[HIP] Support -emit-llvm for device compilation
Sometimes it is useful to compile HIP device code to LLVM BC. It is not
convenient to use clang -cc1 since there are lots of options needed.
This patch allows clang driver to compile HIP device code to LLVM BC
with -emit-llvm -c.
Differential Revision: https://reviews.llvm.org/D68284
llvm-svn: 373561
The file was modifiedclang/lib/Driver/Driver.cpp
The file was addedclang/test/Driver/hip-device-compile.hip
Commit 5750453020926ce270aee38bd5eb7f0ff3467237 by lawrence_danna
new api class: SBFile
Summary: SBFile is a scripting API wrapper for lldb_private::File
This is the first step in a project to enable arbitrary python io.IOBase
file objects -- including those that override the read() and write()
methods -- to be used as the main debugger IOStreams.
Currently this is impossible because python file objects must first be
converted into FILE* streams by SWIG in order to be passed into the
debugger.
full prototype: https://github.com/smoofra/llvm-project/tree/files
Reviewers: JDevlieghere, jasonmolenda, zturner, jingham, labath
Reviewed By: labath
Subscribers: labath, mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D67793
llvm-svn: 373562
The file was modifiedlldb/scripts/Python/python-typemaps.swig
The file was modifiedlldb/include/lldb/Host/File.h
The file was modifiedlldb/include/lldb/API/SBError.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was addedlldb/scripts/interface/SBFile.i
The file was addedlldb/source/API/SBFile.cpp
The file was modifiedlldb/source/Host/common/File.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/include/lldb/API/SBDefines.h
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
The file was modifiedlldb/include/lldb/API/LLDB.h
The file was modifiedlldb/source/API/SBReproducer.cpp
The file was addedlldb/include/lldb/API/SBFile.h
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
The file was modifiedlldb/scripts/lldb.swig
The file was modifiedlldb/source/API/CMakeLists.txt
Commit 96898eb6a935533aaebbfbd085150fbf705c0ffc by lawrence_danna
SBDebugger::SetInputFile, SetOutputFile, etc.
Summary: Add new methods to SBDebugger to set IO files as SBFiles
instead of as FILE* streams.
In future commits, the FILE* methods will be deprecated and these will
become the primary way to set the debugger I/O streams.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68181
llvm-svn: 373563
The file was modifiedlldb/include/lldb/API/SBDebugger.h
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
The file was modifiedlldb/source/API/SBDebugger.cpp
The file was modifiedlldb/source/API/SBFile.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/include/lldb/API/SBFile.h
The file was modifiedlldb/scripts/interface/SBDebugger.i
The file was modifiedlldb/source/Core/Debugger.cpp
The file was modifiedlldb/include/lldb/Core/Debugger.h
Commit f913fd6eb0c228041b77a645d76993760d3b1421 by lawrence_danna
factor out an abstract base class for File
Summary: This patch factors out File as an abstract base class and moves
most of its actual functionality into a subclass called NativeFile.   In
the next patch, I'm going to be adding subclasses of File that don't
necessarily have any connection to actual OS files, so they will not
inherit from NativeFile.
This patch was split out as a prerequisite for
https://reviews.llvm.org/D68188
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68317
llvm-svn: 373564
The file was modifiedlldb/source/API/SBDebugger.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was modifiedlldb/source/Host/common/FileSystem.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/source/Core/StreamFile.cpp
The file was modifiedlldb/source/Plugins/Process/Darwin/NativeProcessDarwin.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/scripts/Python/python-typemaps.swig
The file was modifiedlldb/source/Core/Debugger.cpp
The file was modifiedlldb/source/Host/common/File.cpp
The file was modifiedlldb/unittests/Host/FileTest.cpp
The file was modifiedlldb/source/API/SBFile.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/objcxx/PlatformiOSSimulatorCoreSimulatorSupport.mm
The file was modifiedlldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp
The file was modifiedlldb/include/lldb/Host/File.h
Commit 110a24fb44cf643224348605d78f12c63852c536 by sepavloff
Fix driver tests when `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` is `ON`
Some Driver tests relied on the default resource direcory having per-os
per-arch subdirectory layout, and when clang is built with
`-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON`, those test fail, because
clang by default assumes per-target subdirectories.
Explicitly set `-resource-dir` flag to point to a tree with per-os
per-arch layout.
See also: D45604, D62469
Differential Revision: https://reviews.llvm.org/D66981
Patch by Sergej Jaskiewicz <jaskiewiczs@icloud.com>.
llvm-svn: 373565
The file was modifiedclang/test/Driver/print-libgcc-file-name-clangrt.c
The file was modifiedclang/test/Driver/arm-compiler-rt.c
Commit eb420aa3797a5f08bf698ffc0f506a507e4c0ced by craig.topper
[X86] Add DAG combine to turn (bitcast (vbroadcast_load)) into just a
vbroadcast_load if the scalar size is the same.
This improves broadcast load folding of i64 elements on 32-bit targets
where i64 isn't legal.
Previously we had to represent these as vXf64 vbroadcast_loads and a
bitcast to vXi64. But we didn't have any isel patterns looking for that.
This also allows us to remove or simplify some isel patterns that were
looking for bitcasted vbroadcast_loads.
llvm-svn: 373566
The file was modifiedllvm/test/CodeGen/X86/avx512vlvp2intersect-intrinsics.ll
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512vp2intersect-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/avx512ifma-intrinsics-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/avx512ifma-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/avx512dqvl-intrinsics-upgrade.ll
Commit 1c135a39aaeed0baf77a20d825ed77d85408aa38 by Matthew.Arsenault
AMDGPU/GlobalISel: Expand G_BITCAST legality
llvm-svn: 373567
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit efb5a24ab073c1397feaf78fd1678f8fc50876d4 by Matthew.Arsenault
AMDGPU/GlobalISel: Don't re-get subtarget
It's already available in the class.
llvm-svn: 373568
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit 3a6950d3f02956f7c7001ce7f9e6c47ca1423f3f by craig.topper
[X86] Add test case for v8i64->v8i8 truncate with avx512 and
prefer-vector-width/min-legal-vector-width=256. NFC
With vpmovqb, we should be able to do better here until we get
AVX512VBMI on Cannonlake/Icelake.
llvm-svn: 373569
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
Commit c4b5e594b4de3cdfea4ff3daa60a11d4f0b6b7bf by maskray
Fix libc++ pretty printer test for Python 3 after D67238 (take 2)
In both Python 2 and Python 3, gdb.Value.string returns a 'str'. We just
need to delete a `encode("utf-8")` which would return a 'bytes' in
Python 3.
llvm-svn: 373570
The file was modifiedlibcxx/test/pretty_printers/gdb_pretty_printer_test.py
Commit c0292744da798dc208727c0df7c31f90722d6752 by courbet
[llvm-exegesis][NFC] Rename
ExegesisTarget::decrementLoopCounterAndLoop()
Summary: To decrementLoopCounterAndJump, and explicitely take the jump
target.
Reviewers: gchatelet
Subscribers: tschuett, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68375
llvm-svn: 373571
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.h
The file was modifiedllvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/X86/Target.cpp
Commit ecd849ed5696fac0ac6a6eb8f7ec9d1034cb7a40 by pavel
Fix a use-after-free in GDBRemoteCommunicationServerLLGS
Although it's called "GetString", StreamString::GetString actually
returns a StringRef. Creating a json object with a StringRef does not
make a copy, which means the StringRef will be dangling as soon as the
underlying stream is destroyed. Add a .str() to force the json object to
hold a copy of the string.
This fixes nearly every test on linux.
llvm-svn: 373572
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
Commit 0577a0cedbc5be4cd4c20ba53d3dbdac6bff9a0a by pavel
"Fix" TestFileHandle.py on non-darwin platforms
This test exposed a very long standing issue that the python file
objects returned by the FILE* typemap were unusable on non-darwin
platforms. The reason they work on darwin is that they rely on a
non-standard extension to fetch the "mode" of a FILE* object. On other
platforms, this code was #ifdefed out, and so we were returning an empty
mode.
As there's no portable way to get this information, I just change the
non-darwin path to return "r+", which should permit both reading and
writing operations on the object. If the underlying file descriptor
turns out to be incompatible with this mode, the operating system should
return EBADF (or equivalent), instead of the "file not open for XXX"
error from python.
llvm-svn: 373573
The file was modifiedlldb/scripts/Python/python-typemaps.swig
Commit 68eef2bcd06be0ce6e7ddb60c018c7d087e1f70a by sylvestre
Update the FAQ: remove stuff related to the previous license + update
info about the portability of LLVM.
llvm-svn: 373576
The file was modifiedllvm/docs/FAQ.rst
Commit b941cdd6bc1af1c9ecabb2c0fd1aadd56d1f28ac by Raphael Isemann
[clang][NFC] Fix misspellings in ExternalASTMerger.h
llvm-svn: 373577
The file was modifiedclang/include/clang/AST/ExternalASTMerger.h
Commit abc35f1bd8e2d27029dae4752957b83f562011ce by Kristina Brooks
Revert 373555: libLLVM+modules failure with CMake 3.10.2
This reverts rL373555. I've sent an email out regarding the issue.
Commit on GitHub:
https://github.com/llvm/llvm-project/commit/45f682f47129c05414d4c5ae7be851772273978f
llvm-svn: 373579
The file was modifiedllvm/utils/TableGen/GlobalISel/CMakeLists.txt
The file was modifiedllvm/utils/TableGen/CMakeLists.txt
The file was modifiedllvm/unittests/TableGen/CMakeLists.txt
Commit b3af236fb5fc6e50fcc1b54d868f0bff557f3fb1 by gchatelet
[Alignment][NFC] Allow constexpr Align
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68329
llvm-svn: 373580
The file was modifiedllvm/include/llvm/Support/MathExtras.h
The file was modifiedllvm/unittests/Support/MathExtrasTest.cpp
The file was modifiedllvm/include/llvm/Support/Alignment.h
The file was modifiedllvm/unittests/Support/AlignmentTest.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64StackTagging.cpp
Commit 43817e1915bbe5fcead2f33d8effaaf7f10571a5 by Kristina Brooks
Revert 373551 (CodeExpander.cpp CMake issue)
Fix buildbots and revert the CodeExpander commit.
(See
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20190930/699857.html
)
llvm-svn: 373581
The file was removedllvm/unittests/TableGen/CMakeLists.txt
The file was removedllvm/utils/TableGen/GlobalISel/CodeExpander.h
The file was modifiedllvm/utils/TableGen/CMakeLists.txt
The file was removedllvm/utils/TableGen/GlobalISel/CMakeLists.txt
The file was modifiedllvm/unittests/CMakeLists.txt
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
The file was removedllvm/unittests/TableGen/CodeExpanderTest.cpp
The file was removedllvm/utils/TableGen/GlobalISel/CodeExpander.cpp
The file was removedllvm/utils/TableGen/GlobalISel/CodeExpansions.h
Commit b327dc196673c718e9f22b70f0901b3d9ebc5384 by llvm-dev
Fix uninitialized variable warning. NFCI
llvm-svn: 373582
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Commit 44bc1186e4bdb54f7f15dea8e85d9e83827bd0d0 by llvm-dev
Fix uninitialized variable warning. NFCI
llvm-svn: 373583
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
Commit 1cd399c915a746b0426a8a094906fb5f2a6cea12 by llvm-dev
Silence static analyzer getAs<RecordType> null dereference warnings.
NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use castAs<RecordType> directly and if
not assert will fire for us.
llvm-svn: 373584
The file was modifiedclang/lib/CodeGen/CodeGenTypes.cpp
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was modifiedclang/lib/CodeGen/CGCXXABI.cpp
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/AST/Interp/Program.cpp
The file was modifiedclang/lib/Sema/SemaExprMember.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/lib/AST/APValue.cpp
The file was modifiedclang/lib/CodeGen/CGCXX.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/lib/AST/InheritViz.cpp
The file was modifiedclang/lib/AST/VTTBuilder.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/lib/AST/JSONNodeDumper.cpp
The file was modifiedclang/lib/CodeGen/CGExprCXX.cpp
The file was modifiedclang/lib/CodeGen/CGExprConstant.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/lib/Sema/SemaAccess.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/CodeGen/CGClass.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/lib/Frontend/Rewrite/RewriteObjC.cpp
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
The file was modifiedclang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
Commit 4f99b6f0fe425c939bb37f50ae2f3c2d95d52042 by sander.desmalen
[AArch64] Static (de)allocation of SVE stack objects.
Adds support to AArch64FrameLowering to allocate fixed-stack SVE
objects.
The focus of this patch is purely to allow the stack frame to
allocate/deallocate space for scalable SVE objects. More dynamic
allocation (at compile-time, i.e. determining placement of SVE objects
on the stack), or resolving frame-index references that include
scalable-sized offsets, are left for subsequent patches.
SVE objects are allocated in the stack frame as a separate region below
the callee-save area, and above the alignment gap. This is done so that
the SVE objects can be accessed directly from the FP at (runtime)
VL-based offsets to benefit from using the VL-scaled addressing modes.
The layout looks as follows:
     +-------------+
    | stack arg   |  
    +-------------+
    | Callee Saves|
    |   X29, X30  |       (if available)
    |-------------| <- FP (if available)
    |     :       |  
    |  SVE area   |  
    |     :       |  
    +-------------+
    |/////////////| alignment gap.
    |     :       |  
    | Stack objs  |
    |     :       |  
    +-------------+ <- SP after call and frame-setup
SVE and non-SVE stack objects are distinguished using different
StackIDs. The offsets for objects with TargetStackID::SVEVector should
be interpreted as purely scalable offsets within their respective SVE
region.
Reviewers: thegameg, rovka, t.p.northover, efriedma, rengolin, greened
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D61437
llvm-svn: 373585
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/unittests/Target/AArch64/TestStackOffset.cpp
The file was modifiedllvm/include/llvm/CodeGen/MIRYamlMapping.h
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64StackOffset.h
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/framelayout-sve.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.cpp

Summary

  1. [LLDB] Send e-mails to the default recipients (details)
  2. Added new builders lldb-s390x-fedora, lldb-ppc64le-fedora. (details)
Commit 389a5ec9568a7ad0b14527d07bf547b9c5977a27 by Jonas Devlieghere
[LLDB] Send e-mails to the default recipients
llvm-svn: 373490
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake
Commit f2d3405fdb473a0178d2df7079f34071841bd05c by gkistanova
Added new builders lldb-s390x-fedora, lldb-ppc64le-fedora.
Patch by Jan Kratochvil.
llvm-svn: 373521
The file was modifiedbuildbot/osuosl/master/config/status.py
The file was modifiedbuildbot/osuosl/master/config/builders.py
The file was modifiedbuildbot/osuosl/master/config/slaves.py