FailedChanges

Summary

  1. Handle is_legacy_mode in ClangLTOBuilder. Refactored to simplify the code.
  2. Handle is_legacy_mode in LLDPerformanceTestsuite.
  3. Added the step name param to LLVMBuildFactory.addGetSourcecodeForProject.
  4. Added zorg to the list of SVN projects.
  5. [sanitizers] Increase default "git clone --depth" to 100
  6. Apply defaut cmake flags to ABITestsuitBuilder.
  7. Remove -DLLVM_USE_LINKER from Windows self host bots. LLVM_USE_LINKER sets the -fuse-ld. This is redundant as the linker is set to lld-link. Differential Revision: https://reviews.llvm.org/D69098
  8. Add LLVMGitPoller to listen for changes in the monorepo.
  9. Separate automatic schedulers for builders depending on is_legacy_mode. Changes from SVN should be scheduled for builders which checkout from SVN, changes from github should be scheduled for builders which checkout from github. For a transition period we need the both types of schedulers. Patch by Andrei Lebedev. Differential Revision: https://reviews.llvm.org/D69159
  10. Refactored ClangBuilde.getClangCMakeBuildFactory and ClangBuilde.getClangCMakeGCSBuildFactory to support github. ClangBuilde.getClangBuildFactory, ClangBuilde.addClangGCCTests, ClangBuilde.addClangGDBTests, ClangBuilde.addModernClangGDBTests, and ClangBuilde.getClangTestsIgnoresFromPath are deprecated. Patch by Andrei Lebedev. Differential Revision: https://reviews.llvm.org/D69158
  11. Added LLVMPoller to work with github. LLVM Git Poller functionally is the same as LLVM SVN Poller and will act as a drop in place replacement once the transition to github is complete. Based on the Buildbot 0.8.5 GitPoller. Patch by Alex Orlov. Differential Revision: https://reviews.llvm.org/D69154
  12. Check out the test-suite first to prevent poisoning got_revision property.
  13. Added support for github author names.
  14. LLVMBuildFactory code cleaning. Cleaned dialing with repourl, added protection from potential leakage of is_legacy_mode kwarg, more radable name for src_dir. Patch by Andrei Lebedev Differential Revision: https://reviews.llvm.org/D69081
  15. Updated UnifiedTreeBuilder to fully support is_legacy_mode. This allows to use the newly added LLVMBuildFactory ability to transparently use SVN or github and switch between depending on the is_legacy_mode attribute, and adds a github support to UnifiedTreeBuilder. Patch by Andrei Lebedev Differential Revision: https://reviews.llvm.org/D69049
  16. Added support for git/github to LLVMBuildFactory. Now LLVMBuildFactory supports both a "legacy mode" with SVN checkout and a git/github checkout. This provides a transparent way of dialing with the source code in all the bots which use LLVMBuildFactory directly or indirectly through UnifiedTreeBuilder. is_legacy_mode is True by default to keep the status quo, but later will be changed to False to migrate all the supported bots to github. Patch by Andrei Lebedev Differential Revision: https://reviews.llvm.org/D69046
  17. Reverted r375035 and r375036 to fix the commit message and author name.
  18. Added support for is_legacy_mode to ABITestsuitBuilder.
  19. ClangBuilder code cleaning. NFC.
Revision 375353 by gkistanova:
Handle is_legacy_mode in ClangLTOBuilder. Refactored to simplify the code.
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/builders/ClangLTOBuilder.pyzorg/buildbot/builders/ClangLTOBuilder.py
Revision 375336 by gkistanova:
Handle is_legacy_mode in LLDPerformanceTestsuite.
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/builders/LLDPerformanceTestsuite.pyzorg/buildbot/builders/LLDPerformanceTestsuite.py
Revision 375331 by gkistanova:
Added the step name param to LLVMBuildFactory.addGetSourcecodeForProject.
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/process/factory.pyzorg/buildbot/process/factory.py
Revision 375330 by gkistanova:
Added zorg to the list of SVN projects.
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/process/factory.pyzorg/buildbot/process/factory.py
Revision 375291 by Vitaly Buka:
[sanitizers] Increase default "git clone --depth" to 100
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_functions.shzorg/buildbot/builders/sanitizers/buildbot_functions.sh
Revision 375268 by gkistanova:
Apply defaut cmake flags to ABITestsuitBuilder.
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/builders/ABITestsuitBuilder.pyzorg/buildbot/builders/ABITestsuitBuilder.py
Revision 375212 by russell_gallop:
Remove -DLLVM_USE_LINKER from Windows self host bots.

LLVM_USE_LINKER sets the -fuse-ld. This is redundant as the linker is set to
lld-link.

Differential Revision: https://reviews.llvm.org/D69098
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/builders/annotated/clang-windows.pyzorg/buildbot/builders/annotated/clang-windows.py
The file was modified/zorg/trunk/zorg/buildbot/builders/annotated/sanitizer-windows.pyzorg/buildbot/builders/annotated/sanitizer-windows.py
Revision 375205 by gkistanova:
Add LLVMGitPoller to listen for changes in the monorepo.
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/buildbot/osuosl/master/master.cfgbuildbot/osuosl/master/master.cfg
Revision 375204 by gkistanova:
Separate automatic schedulers for builders depending on is_legacy_mode.

Changes from SVN should be scheduled for builders which checkout from SVN, changes from github should be scheduled for builders which checkout from github. For a transition period we need the both types of schedulers.

Patch by Andrei Lebedev.

Differential Revision: https://reviews.llvm.org/D69159
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/buildbot/osuosl/master/config/schedulers.pybuildbot/osuosl/master/config/schedulers.py
Revision 375202 by gkistanova:
Refactored ClangBuilde.getClangCMakeBuildFactory and ClangBuilde.getClangCMakeGCSBuildFactory to support github.

ClangBuilde.getClangBuildFactory, ClangBuilde.addClangGCCTests, ClangBuilde.addClangGDBTests, ClangBuilde.addModernClangGDBTests, and
ClangBuilde.getClangTestsIgnoresFromPath are deprecated.

Patch by Andrei Lebedev.

Differential Revision: https://reviews.llvm.org/D69158
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/builders/ClangBuilder.pyzorg/buildbot/builders/ClangBuilder.py
Revision 375201 by gkistanova:
Added LLVMPoller to work with github.

LLVM Git Poller functionally is the same as LLVM SVN Poller and will act as a drop in place replacement once the transition to github is complete.
Based on the Buildbot 0.8.5 GitPoller.

Patch by Alex Orlov.

Differential Revision: https://reviews.llvm.org/D69154
Change TypePath in RepositoryPath in Workspace
The file was added/zorg/trunk/zorg/buildbot/changes/llvmgitpoller.pyzorg/buildbot/changes/llvmgitpoller.py
Revision 375193 by gkistanova:
Check out the test-suite first to prevent poisoning got_revision property.
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/builders/ABITestsuitBuilder.pyzorg/buildbot/builders/ABITestsuitBuilder.py
Revision 375188 by gkistanova:
Added support for github author names.
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/util/ConfigEmailLookup.pyzorg/buildbot/util/ConfigEmailLookup.py
Revision 375168 by gkistanova:
LLVMBuildFactory code cleaning.

Cleaned dialing with repourl, added protection from potential leakage of is_legacy_mode kwarg, more radable name for src_dir.

Patch by Andrei Lebedev

Differential Revision: https://reviews.llvm.org/D69081
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/process/factory.pyzorg/buildbot/process/factory.py
Revision 375141 by gkistanova:
Updated UnifiedTreeBuilder to fully support is_legacy_mode.

This allows to use the newly added LLVMBuildFactory ability to transparently use SVN or github and switch between depending on the is_legacy_mode attribute, and adds a github support to UnifiedTreeBuilder.

Patch by Andrei Lebedev

Differential Revision: https://reviews.llvm.org/D69049
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/builders/UnifiedTreeBuilder.pyzorg/buildbot/builders/UnifiedTreeBuilder.py
Revision 375140 by gkistanova:
Added support for git/github to LLVMBuildFactory.

Now LLVMBuildFactory supports both a "legacy mode" with SVN checkout and a git/github checkout.

This provides a transparent way of dialing with the source code in all the bots which use LLVMBuildFactory directly or indirectly through UnifiedTreeBuilder.

is_legacy_mode is True by default to keep the status quo, but later will be changed to False to migrate all the supported bots to github.

Patch by Andrei Lebedev

Differential Revision: https://reviews.llvm.org/D69046
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/process/factory.pyzorg/buildbot/process/factory.py
Revision 375139 by gkistanova:
Reverted r375035 and r375036 to fix the commit message and author name.
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/builders/UnifiedTreeBuilder.pyzorg/buildbot/builders/UnifiedTreeBuilder.py
The file was modified/zorg/trunk/zorg/buildbot/process/factory.pyzorg/buildbot/process/factory.py
Revision 375080 by gkistanova:
Added support for is_legacy_mode to ABITestsuitBuilder.
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/builders/ABITestsuitBuilder.pyzorg/buildbot/builders/ABITestsuitBuilder.py
Revision 375078 by gkistanova:
ClangBuilder code cleaning. NFC.
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/builders/ClangBuilder.pyzorg/buildbot/builders/ClangBuilder.py

Summary

  1. [LLDB] Use the llvm microsoft demangler instead of the windows dbghelp (details)
  2. [IndVars] Fix a miscompile in off-by-default loop predication (details)
  3. [clangd] Add the missing dependency on `clangLex`. (details)
  4. Remove a stale comment, noted in post commit review for rL375038 (details)
  5. [Symbolize] Use the local MSVC C++ demangler instead of relying on (details)
  6. GlobalISel: Implement lower for G_SADDO/G_SSUBO (details)
  7. [AArch64] Fix offset calculation (details)
  8. [dsymutil] Print warning/error for unknown/missing arguments. (details)
  9. Update ReleaseNotes: expand the section on enabling MemorySSA (details)
  10. [lit] Small refactoring and cleanups in main.py (details)
  11. [lit] Remove return value from print_summary function (details)
  12. [lit] Skip creation of tmp dir if we don't actually run any tests (details)
  13. [lit] Print warning if we fail to delete temp directory (details)
  14. [Utils] Cleanup similar cases to MergeBlockIntoPredecessor. (details)
  15. [support] GlobPattern: add support for `\` and `[!...]`, and allow `]` (details)
  16. Revert [support] GlobPattern: add support for `\` and `[!...]`, and (details)
  17. [NFC] Fix unused var in release builds (details)
  18. [lit] Factor out separate methods for parallel and serial execution (details)
  19. [lit] Do not create semaphores when we do not need them (details)
  20. [lit] Remove unnecessary usage of lit.Run (details)
  21. [gicombiner] Hoist pure C++ combine into the tablegen definition (details)
  22. [lit] Fix another test case that r374652 missed (details)
  23. [Reproducer] Capture the debugger's working directory (details)
  24. [Reproducer] Add LoadBuffer<> helper (NFC) (details)
  25. [Reproducer] Support dumping the reproducer CWD (details)
  26. Revert "make ConstString allocate memory in non-tiny chunks" (details)
  27. [Concepts] ConceptSpecializationExprs mangling (details)
  28. [Reproducer] Set the working directory in the VFS (details)
  29. [lit] Improve lit.Run class (details)
  30. [GISel][CombinerHelper] Add concat_vectors(build_vector, build_vector) (details)
  31. [gicombiner] Add the run-time rule disable option (details)
  32. [CMake] Make it possible to set the RPATH in add_lldb_exectable. (details)
  33. Revert Tag CFI-generated data structures with "#pragma clang section" (details)
  34. Fix unused variable in r375066 (details)
  35. Correct placement of #ifndef NDEBUG in r375067 (details)
  36. SBCommandReturnObject: change LLDB_RECORD_METHOD(..., FILE *, ...) to (details)
  37. delete SWIG typemaps for FILE* (details)
  38. Include sanitize blacklist and other extra deps as part of scan-deps (details)
  39. Move LiveRangeCalc header to publicily available position. NFC (details)
  40. Clang-formatting of some files in LiveRangeCalc header (LiveRangeCalc.h) (details)
  41. [lld][WebAssembly] Fix for weak references to data symbols in archives (details)
  42. Revert "Include sanitize blacklist and other extra deps as part of (details)
  43. [lld][WebAssebmly] Preserve custom import attributes with LTO (details)
  44. [llvm-ar] Simplify and make two global variables static. NFC (details)
  45. [ThinLTO] Import virtual method with single implementation in hybrid (details)
  46. [Alignment][NFC] Use Align for TargetFrameLowering/Subtarget (details)
  47. [DAGCombine][ARM] Enable extending masked loads (details)
  48. [DFAPacketizer] Use DFAEmitter. NFC. (details)
  49. [ARM][MVE] Change VPST to use, not def, VPR (details)
  50. Revert r374931 "[llvm-objdump] Use a counter for llvm-objdump -h instead (details)
  51. [Analysis] Don't assume that unsigned overflow can't happen in (details)
  52. Try to fix the assert in Alignment::alignAddr to work on 32-bit (details)
  53. Reland: Dead Virtual Function Elimination (details)
  54. [llvm-readobj] - Refine the LLVM-style output to be consistent. (details)
  55. [LLD][ELF] - Update test cases after llvm-readobj output format change. (details)
  56. SemaDeclObjC - silence static analyzer getAs<> null dereference (details)
  57. [LoopIdiom] BCmp: check, not assert that loop exits exit out of the loop (details)
  58. SemaExprCXX - silence static analyzer getAs<> null dereference warnings. (details)
  59. clang-tidy - silence static analyzer getAs<> null dereference warnings. (details)
  60. JumpThreadingPass::UnfoldSelectInstr - silence static analyzer (details)
  61. Include leading attributes in DeclStmt's SourceRange (details)
  62. [llvm-objcopy] --add-symbol: fix crash if SHT_SYMTAB does not exist (details)
  63. [llvm-ar] Implement the O modifier: display member offsets inside the (details)
  64. [docs][llvm-ar] Fix option:: O after r375106 (details)
  65. [ARM][MVE] Enable truncating masked stores (details)
  66. [AMDGPU] Improve code size cost model (details)
  67. [mips] [builtins] Remove clear_mips_cache Differential Revision: (details)
  68. [OpenCL] Add doc to describe OpenCL support (details)
  69. [AIX] TOC pseudo expansion for 64bit large + 64bit small + 32bit large (details)
  70. [lit] Make internal diff work in pipelines (details)
  71. [lit] Extend internal diff to support `-` argument (details)
  72. [clangd] Use our own relation kind. (details)
  73. [OpenCL] Preserve addrspace in CGClass (PR43145) (details)
  74. [OPENMP]Fix thread id passed to outlined region in sequential parallel (details)
  75. Revert r375116: "[lit] Extend internal diff to support `-` argument" (details)
  76. Revert r375114: "[lit] Make internal diff work in pipelines" (details)
  77. [ARC] Basic support in gdb-remote process plugin (details)
  78. [ARC] Add SystemV ABI (details)
  79. [ObjC] Add some additional test cases around pointer conversions. (details)
  80. [ObjC] Diagnose implicit type coercion from ObjC 'Class' to object (details)
  81. [lld][test] Fix use of escape character in an lld test on Windows (details)
  82. Fix an inverted condition in test. (details)
  83. [lit] Create derived classes for serial/parallel test runs (details)
  84. [lit] Synthesize artificial deadline (details)
  85. [lit] Move computation of deadline up into base class (details)
  86. [lld][test] Speculative fix for lld+windows failures (details)
  87. [Sanitizers] Add support for RISC-V 64-bit (details)
  88. [IndVars] Factor out a helper function for readability [NFC] (details)
  89. [OPENMP]Improve use of the global tid parameter. (details)
  90. [NFC][InstCombine] Tests for "fold variable mask before variable (details)
  91. Revert [Sanitizers] Add support for RISC-V 64-bit (details)
  92. [codeview] Workaround for PR43479, don't re-emit instr labels (details)
  93. [IndVars] Split loop predication out of optimizeLoopExits [NFC] (details)
  94. [PowerPC] add tests for popcount with zext; NFC (details)
  95. Revert [lit] Synthesize artificial deadline (details)
  96. Disable TestProcessList on windows (details)
  97. [Reproducer] Surface error if setting the cwd fails (details)
  98. [asan] Update Windows test expectations for LLVM's MS demangler (details)
  99. NFC: Fix variable only used in asserts by propagating the value. (details)
  100. Reapply r375051: [support] GlobPattern: add support for `\` and (details)
  101. [Builtins] Provide a mechanism to selectively disable tests based on (details)
  102. [lldb] Don't emit artificial constructor declarations as global (details)
  103. [PowerPC] Turn on CR-Logical reducer pass (details)
  104. [NFC][InstCombine] Some more preparatory cleanup for (details)
  105. [Object] Fix the return type of getOffset/getSize (details)
  106. [LLDB] [test] Use %clang_cl instead of build.py in a few tests (details)
  107. [cmake] Pass external project source directories to sub-configures (details)
  108. [x86] add test for setcc to shift transform; NFC (details)
  109. Modernize the rest of the Find.* API (NFC) (details)
  110. [Builtins] Downgrade duplicate source file warning from a fatal error to (details)
  111. Revert "[LLDB] [test] Use %clang_cl instead of build.py in a few tests" (details)
  112. Reland "[lit] Synthesize artificial deadline" (details)
  113. libhwasan initialisation include kernel syscall ABI relaxation (details)
  114. [OPENMP]Dow not emit warnings for uninitialized loop counters. (details)
  115. [llvm-objcopy] Add support for shell wildcards (details)
  116. Adapt Windows test to API change. (details)
  117. [lit] Move computation of deadline up into base class (details)
  118. [test] Add a .clang-format file for the shell test. (details)
  119. [lldb] X-fail tests that use constructors in expressions on Windows (details)
  120. (NFC) Delete variable made unused by llvm-svn: 375160 (details)
  121. [AMDGPU] drop getIsFP td helper (details)
  122. [Error] Make llvm::cantFail include the original error messages (details)
  123. [clang-offload-wrapper][NFC] Use captured name of the entry type in LIT (details)
  124. Reland [llvm-objdump] Use a counter for llvm-objdump -h instead of the (details)
  125. [ARM] Fix arm_neon.h with -flax-vector-conversions=none, part 3 (details)
  126. DebugInfo: Remove unused parameter (from (details)
  127. clean up the implementation of PythonCallable::GetNumArguments (details)
  128. eliminate one form of PythonObject::Reset() (details)
  129. DebugInfo: Move loclist base address from DwarfFile to DebugLocStream (details)
  130. [analyzer] exploded-graph-rewriter: Make node headers a bit lighter. (details)
  131. [analyzer] Display cast kinds in program point dumps. (details)
  132. [analyzer] Assign truly stable identifiers to exploded nodes. (details)
  133. [lldb][NFC] Fix typo in DWARFASTParserClang.cpp (details)
  134. [analyzer] exploded-graph-rewriter: Fix typo in r375186. Unbreaks tests. (details)
  135. [Test] Precommit test for D69006 (details)
  136. [IndVars] Factor out some common code into a utility function (details)
  137. [ScopBuilder] Fix bug 38358 by preserving correct order of ScopStmts. (details)
  138. [lit] worker.py: Improve code for executing a single test (details)
  139. [lit] Move resolving of XFAIL result codes out of Test.setResult (details)
  140. [X86] Emit KTEST when possible (details)
  141. [WebAssembly] -pthread implies -target-feature +sign-ext (details)
  142. Update release notes (details)
  143. [InstCombine] Pre-commit of test case showing miscompile bug in (details)
  144. [InstCombine] Fix miscompile bug in canEvaluateShuffled (details)
  145. [AArch64][SVE] Implement unpack intrinsics (details)
  146. [Codegen] Alter the default promotion for saturating adds and subs (details)
  147. Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" (details)
  148. Fix MSVC "not all control paths return a value" warning. NFCI. (details)
  149. [X86] Regenerate memcmp tests and add X64-AVX512 common prefix (details)
  150. [AArch64] Don't combine callee-save and local stack adjustment when (details)
  151. [LLD] [COFF] Try to report source locations for duplicate symbols (details)
  152. [ThinLTOCodeGenerator] Add support for index-based WPD (details)
  153. [Arm][libsanitizer] Fix arm libsanitizer failure with bleeding edge (details)
  154. SystemInitializerCommon fix compilation on linux (details)
  155. [AArch64][SVE] Add SPLAT_VECTOR ISD Node (details)
  156. [ThinLTOCodeGenerator] Add support for index-based WPD (details)
  157. [clangd] Report declaration references in findExplicitReferences. (details)
  158. [AArch64] Adding support for PMMIR_EL1 register (details)
  159. [NFC][CVP] Count all the no-wraps we proved (details)
  160. [AMDGPU][MC][GFX9] Corrected parsing of v_cndmask_b32_sdwa (details)
  161. [SCEV] Removing deprecated comment in ScalarEvolutionExpander (details)
  162. Revert r375152 as it is causing failures on EXPENSIVE_CHECKS bot (details)
  163. Add REQUIRES: x86 to more tests which need the x86 llvm target built (details)
  164. Attempt to fix PS4 buildbot after r375219 (details)
  165. One more attempt to fix PS4 buildbot after r375219 (details)
  166. [lld][coff] Add missing dependency to fix build. (details)
  167. Add ExceptionStream to llvm::Object::minidump (details)
  168. [DFAPacketizer] Fix large compile-time regression for VLIW targets (details)
  169. [AMDGPU][MC][GFX10] Added sdwa/dpp versions of v_cndmask_b32 (details)
  170. Update MinidumpYAML to use minidump::Exception for exception stream (details)
  171. LLDB: Use LLVM's type for minidump ExceptionStream [NFC] (details)
  172. ProcessMinidump: Suppress reporting stop for signal '0' (details)
  173. [tooling] Relax an assert when multiple GPU targets are specified. (details)
  174. [clang-format] fix regression recognizing casts in Obj-C calls (details)
  175. Update docs for fast-math flags. (details)
  176. [IR] Reimplement FPMathOperator::classof as a whitelist. (details)
  177. [X86] combineX86ShufflesRecursively - pull out (details)
  178. [PGO][PGSO] SizeOpts changes. (details)
  179. [OPENMP50]Add support for master taskloop simd. (details)
  180. gn build: Merge r375254 (details)
  181. [DOCS]Update list of implemented constructs, NFC. (details)
  182. [Format] Add format check for throwing negative numbers (details)
  183. [Reproducer] Use ::rtrim() to remove trailing control characters. (details)
  184. [NFC][CVP] Add @llvm.*.sat tests where we could prove both no-overflows (details)
  185. [Codegen] Link MIRParser into CodeGenTests to fix MachineSizeOptsTest (details)
  186. [lit] Only send back test result from worker process (details)
  187. [lit] Remove unnecessary tracking of test_index (details)
  188. [lit] Reduce value of synthesized timeouts (details)
  189. AMDGPU: Fix SMEM WAR hazard for gfx10 readlane (details)
  190. [examples] Add an example of how to use JITLink and small-code-model (details)
  191. AMDGPU: Relax 32-bit SGPR register class (details)
  192. [examples] Fix some comments in the LLJITWithJITLink example (details)
  193. [lldb][NFC] Remove wrong tests in TestCallOverriddenMethod (details)
  194. [CVP] After proving that @llvm.with.overflow()/@llvm.sat() don't (details)
  195. [libunwind][Android] Fix findUnwindSections for ARM EHABI Bionic (details)
  196. scudo: Update TLS_SLOT_SANITIZER value. (details)
  197. [GISel][CallLowering] Make isIncomingArgumentHandler a pure virtual (details)
  198. [analyzer] Fix hidden node traversal in exploded graph dumps. (details)
  199. [analyzer] exploded-graph-rewriter: Fix dump for state 0. (details)
  200. [analyzer] Drop the logic for collapsing the state if it's same as in (details)
  201. [analyzer] Fix FieldRegion dumps. (details)
  202. [analyzer] exploded-graph-rewriter: Rename Environment to Expressions. (details)
  203. [WebAssembly] Allow multivalue signatures in object files (details)
  204. Update global_symbols.txt. (details)
  205. [NFC][CVP] Some tests for `mul` no-wrap deduction (details)
  206. [analyzer] exploded-graph-rewriter: Unforget to censor stmt_ids in the (details)
  207. [X86] Fix register parsing in .seh_* in Intel syntax (details)
  208. Disable exit-on-SIGPIPE in lldb (details)
  209. gn build: Merge r375288 (details)
  210. [CVP] setDeducedOverflowingFlags(): actually inc per-opcode stats (details)
  211. [Reproducer] Improve reproducer help (NFC) (details)
  212. [AMDGPU] Remove -amdgpu-spill-sgpr-to-smem. (details)
  213. [Reproducer] XFAIL TestWorkingDir on Windows (details)
  214. [SampleFDO] Add profile remapping support for profile on-demand loading (details)
  215. [hwasan] Remove system allocator fallback. (details)
  216. [AMDGPU] move PHI nodes to AGPR class (details)
  217. hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on (details)
  218. gn build: Build compiler-rt code with -fvisibility=hidden. (details)
  219. LiveIntervals: Fix handleMoveUp with subreg def moving across a def (details)
  220. [profile] Do not cache __llvm_profile_get_filename result (details)
  221. DebugInfo: Render the canonical name of a class template specialization, (details)
  222. [c++20] Add CXXRewrittenBinaryOperator to represent a comparison (details)
  223. [c++20] Add rewriting from comparison operators to <=> / ==. (details)
  224. P1152R4: Fix deprecation warnings in libc++ testsuite and in uses of (details)
  225. [analyzer] Specify the C++ standard in more tests. (details)
  226. [hip][cuda] Fix the extended lambda name mangling issue. (details)
  227. [clang][driver] Print compilation phases with indentation. (details)
  228. Prune two MachineInstr.h includes, fix up deps (details)
  229. Skip (more) PExpect tests under ASAN, I can't get them to work reliably. (details)
  230. Sema: Create a no-op implicit cast for lvalue function conversions. (details)
  231. [profile] Disable instrprof-get-filename-merge-mode.c on Windows (details)
  232. Move endian constant from Host.h to SwapByteOrder.h, prune include (details)
  233. [profile] Use -fPIC -shared in a test instead of -dynamiclib (details)
  234. New tautological warning for bitwise-or with non-zero constant always (details)
  235. Prune Analysis includes from SelectionDAG.h (details)
  236. Prune a LegacyDivergenceAnalysis and MachineLoopInfo include each (details)
  237. AMDGPU: Remove optnone from a test (details)
  238. [Implicit Modules] Add -cc1 option -fmodules-strict-context-hash which (details)
  239. Avoid including CodeView/SymbolRecord.h from MCStreamer.h (details)
  240. Add -Wbitwise-conditional-parentheses to warn on mixing '|' and '&' with (details)
  241. [Docs] Fix header level. (details)
  242. [analyzer] Fix a crash on tracking Objective-C 'self' as a control (details)
  243. [analyzer] PR43551: Do not dereferce void* in UndefOrNullArgVisitor. (details)
  244. [LLDB] bugfix: command script add -f doesn't work for some callables (details)
  245. convert LLDBSwigPythonCallTypeScript to ArgInfo::max_positional_args (details)
  246. Make it clear in the doc that 'all' in LLVM_ENABLE_PROJECTS does install (details)
  247. Revert "[Implicit Modules] Add -cc1 option -fmodules-strict-context-hash (details)
  248. Explicit in the doc the current list of projects (with easy copy and (details)
  249. Refine check for `_LIBCPP_C_HAS_NO_GETS` on FreeBSD (details)
  250. [X86][SSE] LowerUINT_TO_FP_i64 - only use HADDPD for size/fast-hops (details)
  251. [X86][SSE] lowerV16I8Shuffle - tryToWidenViaDuplication - undef unpack (details)
  252. [MSP430] Shift Amount Threshold in DAGCombine (Baseline Tests); NFC (details)
  253. [ARM] Add dependency on GlobalISel for unit tests to fix shared libs (details)
  254. [TargetLowering][DAGCombine][MSP430] add/use hook for Shift Amount (details)
  255. [X86] Pulled out helper to decode target shuffle element sentinel values (details)
  256. [SCEV] Simplify umin/max of zext and sext of the same value (details)
  257. eliminate nontrivial Reset(...) from TypedPythonObject (details)
  258. AMDGPU: Don't error on calls to null or undef (details)
  259. Fix minor warning in DWARFVerifier. (details)
  260. [LLD][ELF] - Update tests after yaml2obj tool update. (details)
  261. [yaml2obj][obj2yaml] - Do not create a symbol table by default. (details)
  262. [AMDGPU] Fix assertion due to initializer list (details)
  263. AMDGPU: Don't re-get the subtarget (details)
  264. AMDGPU: Add baseline tests for flat offset splitting (details)
  265. AMDGPU: Fix missing OPERAND_IMMEDIATE (details)
  266. AMDGPU: Split flat offsets that don't fit in DAG (details)
  267. AMDGPU: Increase vcc liveness scan threshold (details)
  268. [ConstantRange] Optimize nowrap region test, remove redundant tests; NFC (details)
  269. [ConstantRange] makeGuaranteedNoWrapRegion(): `shl` support (details)
  270. [InstCombine] Shift amount reassociation in shifty sign bit test (details)
  271. [InstCombine] Add tests for uadd/sub.sat(a, b) == 0; NFC (details)
  272. Fix buildbot error in SIRegisterInfo.cpp. (details)
Commit 13993a6f8681ae40fa9b1ce690885e95119b6dbf by martin
[LLDB] Use the llvm microsoft demangler instead of the windows dbghelp
api. NFCI.
Differential Revision: https://reviews.llvm.org/D68134
llvm-svn: 375034
The file was modifiedlldb/source/Core/Mangled.cpp
Commit d4346584fa35232af286ededf9f01353d905ed9f by listmail
[IndVars] Fix a miscompile in off-by-default loop predication
implementation
The problem is that we can have two loop exits, 'a' and 'b', where 'a'
and 'b' would exit at the same iteration, 'a' precedes 'b' along some
path, and 'b' is predicated while 'a' is not. In this case (see the
previously submitted test case), we causing the loop to exit through 'b'
whereas it should have exited through 'a'.
This only applies to loop exits where the exit counts are not provably
inequal, but that isn't as much of a restriction as it appears. If we
could order the exit counts, we'd have already removed one of the two
exits. In theory, we might be able to prove inequality w/o ordering, but
I didn't really explore that piece. Instead, I went for the obvious
restriction and ensured we didn't predicate exits following
non-predicateable exits.
Credit goes to Evgeny Brevnov for figuring out the problematic case.
Fuzzing probably also found it (failures seen), but due to some silly
infrastructure problems I hadn't gotten to the results before Evgeny
hand reduced it from a benchmark (he manually enabled the transform).
Once this is fixed, I'll try to filter through the fuzzer failures to
see if there's anything additional lurking.
Differential Revision https://reviews.llvm.org/D68956
llvm-svn: 375038
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/test/Transforms/IndVarSimplify/loop-predication.ll
Commit b4874226de6145d3196eacb0fbf3cba7654d51d9 by michael.hliao
[clangd] Add the missing dependency on `clangLex`.
llvm-svn: 375039
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/tool/CMakeLists.txt
Commit ac77947315c5cf9a79b1aa5b813baaa2d018cbe3 by listmail
Remove a stale comment, noted in post commit review for rL375038
llvm-svn: 375040
The file was modifiedllvm/test/Transforms/IndVarSimplify/loop-predication.ll
Commit a4f6b598462e39107aecad1f8d4fb1cfd7583580 by martin
[Symbolize] Use the local MSVC C++ demangler instead of relying on
dbghelp. NFC.
This allows making a couple llvm-symbolizer tests run in all
environments.
Differential Revision: https://reviews.llvm.org/D68133
llvm-svn: 375041
The file was modifiedllvm/test/tools/llvm-symbolizer/coff-exports.test
The file was modifiedllvm/test/tools/llvm-symbolizer/coff-dwarf.test
The file was modifiedllvm/lib/DebugInfo/Symbolize/Symbolize.cpp
Commit 34ed76e1803cd5173aeb9460824b9be65f2b326f by Matthew.Arsenault
GlobalISel: Implement lower for G_SADDO/G_SSUBO
Port directly from SelectionDAG, minus the path using
ISD::SADDSAT/ISD::SSUBSAT.
llvm-svn: 375042
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-saddo.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-saddo.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-ssubo.mir
Commit 6d1891c508fecf189d1d76b43740b144b91aae23 by smeenai
[AArch64] Fix offset calculation
r374772 changed Offset to be an int64_t but left NewOffset as an int.
Scale is unsigned, so in the calculation `Offset - NewOffset * Scale`,
`NewOffset * Scale` was promoted to unsigned and was then zero-extended
to 64 bits, leading to an incorrect computation which manifested as an
out-of-memory when building the Swift standard library for Android
aarch64. Promote NewOffset to int64_t to fix this, and promote
EmittableOffset as well, since its one user passes it to a function
which takes an int64_t anyway.
Test case based on a suggestion by Sander de Smalen!
Differential Revision: https://reviews.llvm.org/D69018
llvm-svn: 375043
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was addedllvm/test/CodeGen/AArch64/framelayout-offset-immediate-change.mir
Commit 8cdc842c51626b94fc20af604f640f6f195eeadb by Jonas Devlieghere
[dsymutil] Print warning/error for unknown/missing arguments.
After changing dsymutil to use libOption, we lost error reporting for
missing required arguments (input files). Additionally, we stopped
complaining about unknown arguments. This patch fixes both and adds a
test.
llvm-svn: 375044
The file was modifiedllvm/tools/dsymutil/dsymutil.cpp
The file was modifiedllvm/test/tools/dsymutil/cmdline.test
Commit c0e6a92e34d151ae70155a113e0fa65cc0f25034 by asbirlea
Update ReleaseNotes: expand the section on enabling MemorySSA
llvm-svn: 375045
The file was modifiedllvm/docs/ReleaseNotes.rst
Commit bbc56dd845841fd6f20e70a1418445831cc8958e by jlettner
[lit] Small refactoring and cleanups in main.py
* Remove outdated precautions for Python versions < 2.7
* Remove dead code related to `maxIndividualTestTime` option
* Move printing of test and result summary out of main into its own
function
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D68847
llvm-svn: 375046
The file was modifiedllvm/utils/lit/lit/main.py
Commit 70055d81b25a6ba50e58eca6df7a41856ebf0ee7 by jlettner
[lit] Remove return value from print_summary function
llvm-svn: 375047
The file was modifiedllvm/utils/lit/lit/main.py
Commit 3c7d8792f12d6598ead6c3fb5f10d5a4be90ed4c by jlettner
[lit] Skip creation of tmp dir if we don't actually run any tests
llvm-svn: 375048
The file was modifiedllvm/utils/lit/lit/main.py
Commit 471dc1fb286ae7551da1d4a0349970b2a9491052 by jlettner
[lit] Print warning if we fail to delete temp directory
llvm-svn: 375049
The file was modifiedllvm/utils/lit/lit/main.py
Commit 4eb1a573fab3b2257e966c97a06d15159ecac922 by asbirlea
[Utils] Cleanup similar cases to MergeBlockIntoPredecessor.
Summary: There are two cases where a block is merged into its
predecessor and the MergeBlockIntoPredecessor API is not used. Update
the API so it can be reused in the other cases, in order to avoid code
duplication.
Cleanup motivated by D68659.
Reviewers: chandlerc, sanjoy.google, george.burgess.iv
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68670
llvm-svn: 375050
The file was modifiedllvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnswitch.cpp
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopRotationUtils.cpp
Commit a409afaad64ce83ea44cc30ee5f96b6e613a6e98 by rupprecht
[support] GlobPattern: add support for `\` and `[!...]`, and allow `]`
in more places
Summary: Update GlobPattern in libSupport to handle a few more cases. It
does not fully match the `fnmatch` used by GNU objcopy since named
character classes (e.g. `[[:digit:]]`) are not supported, but this
should support most existing use cases (mostly just `*` is what's used
anyway).
This will be used to implement the `--wildcard` flag in llvm-objcopy to
be more compatible with GNU objcopy.
This is split off of D66613 to land the libSupport changes separately.
The llvm-objcopy part will land soon.
Reviewers: jhenderson, MaskRay, evgeny777, espindola, alexshap
Reviewed By: MaskRay
Subscribers: nickdesaulniers, emaste, arichardson, hiraditya,
jakehehrlich, abrachet, seiya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66613
undo objcopy changes to make this libsupport only
llvm-svn: 375051
The file was modifiedllvm/unittests/Support/GlobPatternTest.cpp
The file was modifiedllvm/lib/Support/GlobPattern.cpp
The file was modifiedllvm/include/llvm/Support/GlobPattern.h
Commit 25181660425aa8feb9a4d4039513396e3f78dac0 by rupprecht
Revert [support] GlobPattern: add support for `\` and `[!...]`, and
allow `]` in more places
This reverts r375051 (git commit
a409afaad64ce83ea44cc30ee5f96b6e613a6e98)
The patch does not work on Windows due to `\` in filenames being
interpreted as escaping rather than literal path separators when used by
lld linker scripts.
llvm-svn: 375052
The file was modifiedllvm/lib/Support/GlobPattern.cpp
The file was modifiedllvm/unittests/Support/GlobPatternTest.cpp
The file was modifiedllvm/include/llvm/Support/GlobPattern.h
Commit a44bc401b5b72c5bdbeb614c110547bb15e68b73 by rupprecht
[NFC] Fix unused var in release builds
llvm-svn: 375053
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnswitch.cpp
Commit bb98234931f94b2a1caa03ba22e35db4cbb0860d by jlettner
[lit] Factor out separate methods for parallel and serial execution
llvm-svn: 375054
The file was modifiedllvm/utils/lit/lit/run.py
Commit 640d6de4293a2883513cc84c535bb7de9f882e1c by jlettner
[lit] Do not create semaphores when we do not need them
Parallelism groups and semaphores are only required for parallel
execution.
llvm-svn: 375055
The file was modifiedllvm/utils/lit/lit/run.py
Commit 168ef8a8d695eb374e8997e9d163c96c51f38624 by jlettner
[lit] Remove unnecessary usage of lit.Run
llvm-svn: 375056
The file was modifiedllvm/utils/lit/lit/discovery.py
The file was modifiedllvm/utils/lit/tests/unit/TestRunner.py
Commit ec5208fd65668ec6415eb274294d284835f3d5dd by daniel_l_sanders
[gicombiner] Hoist pure C++ combine into the tablegen definition
Summary: This is just moving the existing C++ code around and will be
NFC w.r.t AArch64. Renamed 'CombineBr' to something more descriptive
('ElideByByInvertingCond') at the same time.
The remaining combines in AArch64PreLegalizeCombiner require features
that aren't implemented at this point and will be hoisted as they are
added.
Depends on D68424
Reviewers: bogner, volkan
Subscribers: kristof.beyls, hiraditya, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68426
llvm-svn: 375057
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/lib/TableGen/Error.cpp
The file was modifiedllvm/include/llvm/TableGen/Error.h
The file was modifiedllvm/lib/Target/AArch64/AArch64Combine.td
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
Commit d3dd489b9a6f7c578ea461507d29b351e93f6172 by jdenny.ornl
[lit] Fix another test case that r374652 missed
llvm-svn: 375058
The file was modifiedclang-tools-extra/test/clang-include-fixer/merge.test
Commit 27ef81cd484bae8382ed4b68b43a1d5d28d24cb0 by Jonas Devlieghere
[Reproducer] Capture the debugger's working directory
This patch extends the reproducer to capture the debugger's current
working directory. This information will be used later to set the
current working directory of the VFS.
llvm-svn: 375059
The file was modifiedlldb/source/Utility/Reproducer.cpp
The file was addedlldb/test/Shell/Reproducer/TestWorkingDir.test
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
Commit b2575da9aa3f759206bf762ad2ceb7fc1946f0f6 by Jonas Devlieghere
[Reproducer] Add LoadBuffer<> helper (NFC)
Introduce a helper method named LoadBuffer in the Loader to abstract
reading a reproducer file from disk.
llvm-svn: 375060
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
Commit f4f120125eade60089b45b4679bb3f34bbd96b86 by Jonas Devlieghere
[Reproducer] Support dumping the reproducer CWD
Add support for dumping the current working directory with
`reproducer dump -p cwd`.
llvm-svn: 375061
The file was modifiedlldb/test/Shell/Reproducer/TestWorkingDir.test
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
The file was addedlldb/test/Shell/Reproducer/Inputs/WorkingDir.in
Commit 755420c08538a8b4624175445af3c9dcf241b413 by Raphael Isemann
Revert "make ConstString allocate memory in non-tiny chunks"
As discussed in https://reviews.llvm.org/D68549, the actual issue here
seems to be that the BumpPtrAllocator is growing far too slow because of
the 256 different StringPools used as the backend for ConstString. At
the same time the original patch made ConstString allocate memory in
256MiB slabs for the same reason, meaning that the RSS usage of LLDB
increased by a few hundred MiB for all users without bringing any
noticeable speedup for most of them.
llvm-svn: 375062
The file was modifiedlldb/source/Utility/ConstString.cpp
Commit f567b008804a019e12a050ada8c46ca7a6bf2720 by saar
[Concepts] ConceptSpecializationExprs mangling
Implement mangling for CSEs to match regular template-ids. Reviewed as
part of D41569 <https://reviews.llvm.org/D41569>.
Re-commit fixing failing test.
llvm-svn: 375063
The file was addedclang/test/CodeGenCXX/mangle-concept.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
Commit f80f15e38a21fb6a85d24853bdf2b8a6f1068571 by Jonas Devlieghere
[Reproducer] Set the working directory in the VFS
Now that the VFS knows how to deal with virtual working directories, we
can set the current working directory to the one we recorded during
reproducer capture. This ensures that relative paths are resolved
correctly during replay.
llvm-svn: 375064
The file was modifiedlldb/source/Initialization/SystemInitializerCommon.cpp
The file was modifiedlldb/test/Shell/Reproducer/TestWorkingDir.test
Commit f35cebe71df7967461df697ef976f2bd1ceaa82b by jlettner
[lit] Improve lit.Run class
* Push timing of overall test time into run module
* Make lit.Run a proper class
* Add a few TODO comments
llvm-svn: 375065
The file was modifiedllvm/utils/lit/lit/run.py
The file was modifiedllvm/utils/lit/lit/main.py
Commit c319afc903d89ba94a8cb526d3ce91515c920991 by quentin.colombet
[GISel][CombinerHelper] Add concat_vectors(build_vector, build_vector)
=> build_vector
Teach the combiner helper how to flatten concat_vectors of build_vectors
into a build_vector.
Add this combine as part of AArch64 pre-legalizer combiner.
Differential Revision: https://reviews.llvm.org/D69071
llvm-svn: 375066
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-concat-vectors.mir
Commit 329e748c8c3b0fd3942cb1dafa9e4d0bb0aea8a4 by daniel_l_sanders
[gicombiner] Add the run-time rule disable option
Summary: Each generated helper can be configured to generate an option
that disables rules in that helper. This can be used to bisect rulesets.
The disable bits are stored in a SparseVector as this is very cheap for
the common case where nothing is disabled. It gets more expensive the
more rules are disabled but you're generally doing that for debug
purposes where performance is less of a concern.
Depends on D68426
Reviewers: volkan, bogner
Reviewed By: volkan
Subscribers: hiraditya, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68438
llvm-svn: 375067
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64Combine.td
The file was modifiedllvm/lib/CodeGen/GlobalISel/Combiner.cpp
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-copy-prop-disabled.mir
Commit eb1bbcec08d2d22bbcc55be6cb05476b617c96cf by Jonas Devlieghere
[CMake] Make it possible to set the RPATH in add_lldb_exectable.
Make it possible to pass a build and install RPATH to
add_lldb_executable instead of having to call lldb_setup_rpaths after
the fact.
This fixes a real issue where setting an install RPATH with
lldb_setup_rpaths would only affect the symroot installation component.
Given that lldb_setup_rpaths sets a target property I would expect this
to be orthogonal to installation components. Regardless, it makes sense
to integrate this functionality in add_lldb_exectable.
llvm-svn: 375068
The file was modifiedlldb/cmake/modules/AddLLDB.cmake
Commit 15984457a673eff3969c0755be543e7d572edd47 by dmitry.mikulin
Revert Tag CFI-generated data structures with "#pragma clang section"
attributes.
This reverts r375022 (git commit
e2692b3bc0327606748b6d291b9009d2c845ced5)
llvm-svn: 375069
The file was removedclang/test/CodeGen/cfi-pragma-section.c
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
Commit 149a02042531980ffdad0314922bd10544484d70 by daniel_l_sanders
Fix unused variable in r375066
llvm-svn: 375070
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Commit 6150093e22815d49634beceed0472fddc9ef33fb by daniel_l_sanders
Correct placement of #ifndef NDEBUG in r375067
llvm-svn: 375071
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
Commit 56ee31964f5a57621953eacdc8458bd41dfc4154 by maskray
SBCommandReturnObject: change LLDB_RECORD_METHOD(..., FILE *, ...) to
use LLDB_RECORD_DUMMY
POSIX says FILE is a typedef to a structure containing information about
a file. The structure is unspecified, i.e. it may be an incomplete type,
as is the case on musl
(`struct _IO_FILE` is an implementation detail that is not exposed).
`LLDB_RECORD_METHOD(..., (FILE *), ...)` transitively uses sizeof(FILE)
and requires the structure to be complete.  Change it to
LLDB_RECORD_DUMMY to fix the build failure on musl (regression of
D57475).
Reviewed By: JDevlieghere, labath, lawrence_danna
Differential Revision: https://reviews.llvm.org/D68872
llvm-svn: 375072
The file was modifiedlldb/source/API/SBCommandReturnObject.cpp
Commit 0f783599a4c645d8ae826f990f7b938fac6e5dae by lawrence_danna
delete SWIG typemaps for FILE*
Summary: The SWIG typemaps for FILE* are no longer used, so this patch
deletes them.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68963
llvm-svn: 375073
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/source/Host/common/File.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
The file was modifiedlldb/scripts/Python/python-typemaps.swig
The file was modifiedlldb/include/lldb/Host/File.h
Commit 962ca076e51c25a7a08f4e0d329c65328a635bdb by kousikk
Include sanitize blacklist and other extra deps as part of scan-deps
output
Summary: Clang's -M mode includes these extra dependencies in its output
and clang-scan-deps should have equivalent behavior, so adding these
extradeps to output just like how its being done for ".d" file
generation mode.
Reviewers: arphaman, dexonsmith, Bigcheese, jkorous
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69017
llvm-svn: 375074
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
The file was addedclang/test/ClangScanDeps/Inputs/sanitize-blacklist.txt
The file was addedclang/test/ClangScanDeps/Inputs/non-header-dependency.json
The file was addedclang/test/ClangScanDeps/non-header-dependency.cpp
Commit 6fc9563dba6319ab0715c6fd4cb072dc6edc4c72 by hayarms
Move LiveRangeCalc header to publicily available position. NFC
Differential Revision: https://reviews.llvm.org/D69078
llvm-svn: 375075
The file was modifiedllvm/lib/CodeGen/LiveRangeCalc.cpp
The file was removedllvm/lib/CodeGen/LiveRangeCalc.h
The file was modifiedllvm/lib/CodeGen/InlineSpiller.cpp
The file was addedllvm/include/llvm/CodeGen/LiveRangeCalc.h
The file was modifiedllvm/lib/CodeGen/LiveIntervals.cpp
The file was modifiedllvm/lib/CodeGen/SplitKit.h
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was modifiedllvm/lib/CodeGen/SplitKit.cpp
Commit 5926eb5fe64ac9e2c1324811a0cc0d7bd5fb2da7 by hayarms
Clang-formatting of some files in LiveRangeCalc header (LiveRangeCalc.h)
NFC
llvm-svn: 375076
The file was modifiedllvm/include/llvm/CodeGen/LiveRangeCalc.h
Commit 6c393e9d74d27a9e9d0d9c60537d7b2d4203ae13 by sbc
[lld][WebAssembly] Fix for weak references to data symbols in archives
Fix a bug where were not handling relocations against weakly undefined
data symbol.  Add a test for this case.  Also ensure that the weak
references to data symbols are not pulled in from archive files by
default (but are if `-u <name>` is added to the command line).
Fixes: PR43696
Differential Revision: https://reviews.llvm.org/D69073
llvm-svn: 375077
The file was modifiedlld/wasm/InputFiles.cpp
The file was modifiedlld/test/wasm/archive-weak-undefined.ll
Commit 9e7e36d4c2602ed10fc1ac037c7ebed50b7df859 by kousikk
Revert "Include sanitize blacklist and other extra deps as part of
scan-deps output"
This test is failing on Windows bots, revert for now (will check the
right fix and retry the patch).
Summary: This reverts commit 962ca076e51c25a7a08f4e0d329c65328a635bdb.
Reviewers: Bigcheese, jkorous, arphaman
Subscribers: dexonsmith, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69079
llvm-svn: 375079
The file was removedclang/test/ClangScanDeps/non-header-dependency.cpp
The file was removedclang/test/ClangScanDeps/Inputs/sanitize-blacklist.txt
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
The file was removedclang/test/ClangScanDeps/Inputs/non-header-dependency.json
Commit 67b055841f3b64efd1e92bde3ed7aeeb493c1182 by sbc
[lld][WebAssebmly] Preserve custom import attributes with LTO
Undefined symbols in WebAssembly can come with custom `import-module`
and `import-field` attributes.  However when reading symbols from
bitcode object files during LTO those curtom attributes are not
available.
Once we compile the LTO object and read in the symbol table from the
object file we have access to these custom attributes.  In this case,
when undefined symbols are added and a symbol already exists in the
SymbolTable we can't simple return it, we may need to update the
symbol's attributes.
Fixes: PR43211
Differential Revision: https://reviews.llvm.org/D68959
llvm-svn: 375081
The file was addedlld/test/wasm/import-attribute-mismatch.ll
The file was addedlld/test/wasm/Inputs/import-attributes.ll
The file was modifiedlld/wasm/InputFiles.cpp
The file was addedlld/test/wasm/lto/import-attributes.ll
The file was modifiedlld/wasm/SymbolTable.cpp
The file was modifiedlld/wasm/LTO.cpp
Commit bb197dd52ac7f5caecf0b51d1e72f94b08c66746 by maskray
[llvm-ar] Simplify and make two global variables static. NFC
llvm-svn: 375082
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
Commit 943afb57aa65b03b29808765c4c657f03d3d0e94 by eleviant
[ThinLTO] Import virtual method with single implementation in hybrid
mode
Differential revision: https://reviews.llvm.org/D68782
llvm-svn: 375083
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was addedllvm/test/ThinLTO/X86/Inputs/devirt_single_hybrid_foo.ll
The file was addedllvm/test/ThinLTO/X86/devirt_single_hybrid.ll
The file was addedllvm/test/ThinLTO/X86/Inputs/devirt_single_hybrid_bar.ll
Commit 882c43d703cd63889a5541bf8f2c014733cbbbee by gchatelet
[Alignment][NFC] Use Align for TargetFrameLowering/Subtarget
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: jholewinski, arsenm, dschuff, jyknight, dylanmckay,
sdardis, nemanjai, jvesely, nhaehnle, sbc100, jgravelle-google,
hiraditya, aheejin, kbarton, fedor.sergeev, asb, rbar, johnrusso,
simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng,
edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o,
PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68993
llvm-svn: 375084
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.h
The file was modifiedllvm/lib/Target/NVPTX/NVPTXFrameLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.h
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.cpp
The file was modifiedllvm/lib/Target/ARC/ARCFrameLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.cpp
The file was modifiedllvm/lib/Target/X86/X86Subtarget.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSubtarget.h
The file was modifiedllvm/unittests/CodeGen/MachineInstrTest.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600FrameLowering.h
The file was modifiedllvm/lib/Target/Sparc/SparcFrameLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86Subtarget.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.h
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/lib/Target/Lanai/LanaiFrameLowering.h
The file was modifiedllvm/lib/Target/Mips/MipsFrameLowering.h
The file was modifiedllvm/lib/Target/Mips/MipsTargetMachine.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430FrameLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUFrameLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/lib/Target/Mips/MipsAsmPrinter.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was modifiedllvm/lib/Target/AVR/AVRFrameLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSubtarget.cpp
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.h
The file was modifiedllvm/lib/Target/XCore/XCoreFrameLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUFrameLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.h
The file was modifiedllvm/lib/Target/BPF/BPFFrameLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
Commit 39af8a3a3b666929752e6bdff0bd65fedbbc34e8 by sam.parker
[DAGCombine][ARM] Enable extending masked loads
Add generic DAG combine for extending masked loads.
Allow us to generate sext/zext masked loads which can access v4i8, v8i8
and v4i16 memory to produce v4i32, v8i16 and v4i32 respectively.
Differential Revision: https://reviews.llvm.org/D68337
llvm-svn: 375085
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-tail-data-types.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-store.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-maskedldst.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-ldst.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-load.ll
Commit 12092a9691a991a0953512451af0d1421ab4d5dc by jmolloy
[DFAPacketizer] Use DFAEmitter. NFC.
Summary: This is a NFC change that removes the NFA->DFA construction and
emission logic from DFAPacketizerEmitter and instead uses the generic
DFAEmitter logic. This allows DFAPacketizer to use the Automaton class
from Support and remove a bunch of logic there too.
After this patch, DFAPacketizer is mostly logic for grepping Itineraries
and collecting functional units, with no state machine logic. This will
allow us to modernize by removing the 16-functional-unit limit and
supporting non-itinerary functional units. This is all for followup
patches.
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68992
llvm-svn: 375086
The file was modifiedllvm/include/llvm/Support/Automaton.h
The file was modifiedllvm/test/CodeGen/Hexagon/packetizer-resources.ll
The file was modifiedllvm/utils/TableGen/DFAPacketizerEmitter.cpp
The file was modifiedllvm/lib/CodeGen/DFAPacketizer.cpp
The file was modifiedllvm/include/llvm/CodeGen/DFAPacketizer.h
Commit 3ff961cabd8593f183e56e99bf161842b645a0d6 by sam.parker
[ARM][MVE] Change VPST to use, not def, VPR
Unlike VPT, VPST just uses the current value of VPR.P0.
Differential Revision: https://reviews.llvm.org/D69037
llvm-svn: 375087
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/fast-fp-loops.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vector-arith-codegen.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block4.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block5.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block8.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-tail-data-types.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block2.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block6.mir
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block7.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-nots.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block3.mir
Commit 312c4a6e248988a6aca72b47667c25636a319602 by hans
Revert r374931 "[llvm-objdump] Use a counter for llvm-objdump -h instead
of the section index."
This broke llvm-objdump in 32-bit builds, see e.g.
http://lab.llvm.org:8011/builders/clang-cmake-armv7-quick/builds/10925
> Summary:
> When listing the index in `llvm-objdump -h`, use a zero-based counter
instead of the actual section index (e.g. shdr->sh_index for ELF).
>
> While this is effectively a noop for now (except one unit test for
XCOFF), the index values will change in a future patch that filters
certain sections out (e.g. symbol tables). See D68669 for more context.
Note: the test case in `test/tools/llvm-objdump/X86/section-index.s`
already covers the case of incrementing the section index counter when
sections are skipped.
>
> Reviewers: grimar, jhenderson, espindola
>
> Reviewed By: grimar
>
> Subscribers: emaste, sbc100, arichardson, aheejin, arphaman, seiya,
llvm-commits, MaskRay
>
> Tags: #llvm
>
> Differential Revision: https://reviews.llvm.org/D68848
llvm-svn: 375088
The file was modifiedllvm/test/tools/llvm-objdump/xcoff-section-headers.test
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.h
Commit b6534b2a26fa94e4d09d271faf538b1e4b19ab5d by mikhail.maltsev
[Analysis] Don't assume that unsigned overflow can't happen in
EmitGEPOffset (PR42699)
Summary: Currently when computing a GEP offset using the function
EmitGEPOffset for the following instruction
  getelementptr inbounds i32, i32* %p, i64 %offs
we get
  mul nuw i64 %offs, 4
Unfortunately we cannot assume that unsigned wrapping won't happen here
because %offs is allowed to be negative.
Making such assumptions can lead to miscompilations: see the new test
test24_neg_offs in InstCombine/icmp.ll. Without the patch InstCombine
would generate the following comparison:
   icmp eq i64 %offs, 4611686018427387902; 0x3ffffffffffffffe
Whereas the correct value to compare with is -2.
This patch replaces the NUW flag with NSW in the multiplication
instructions generated by EmitGEPOffset and adjusts the test suite.
https://bugs.llvm.org/show_bug.cgi?id=42699
Reviewers: chandlerc, craig.topper, ostannard, lebedev.ri, spatel,
efriedma, nlopes, aqjune
Reviewed By: lebedev.ri
Subscribers: reames, lebedev.ri, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68342
llvm-svn: 375089
The file was modifiedllvm/test/Transforms/InstCombine/icmp-custom-dl.ll
The file was modifiedllvm/test/Transforms/InstCombine/gep-custom-dl.ll
The file was modifiedllvm/include/llvm/Analysis/Utils/Local.h
The file was modifiedllvm/test/Transforms/InstCombine/getelementptr.ll
The file was modifiedllvm/test/Transforms/InstCombine/icmp.ll
The file was modifiedllvm/test/Transforms/InstCombine/sub.ll
Commit 77cad0b047e3c56e7205c5880fe57354d2d4867c by hans
Try to fix the assert in Alignment::alignAddr to work on 32-bit
Hopefully fixing the AlignmentDeathTest.AlignAddr failures (e.g. at
http://lab.llvm.org:8011/builders/clang-cmake-armv7-quick/builds/10925)
llvm-svn: 375090
The file was modifiedllvm/include/llvm/Support/Alignment.h
Commit 3b598b9c867a39065e6cb804423c28a6b020e6ee by oliver.stannard
Reland: Dead Virtual Function Elimination
Remove dead virtual functions from vtables with
replaceNonMetadataUsesWith, so that CGProfile metadata gets cleaned up
correctly.
Original commit message:
Currently, it is hard for the compiler to remove unused C++ virtual
functions, because they are all referenced from vtables, which are
referenced by constructors. This means that if the constructor is called
from any live code, then we keep every virtual function in the final
link, even if there are no call sites which can use it.
This patch allows unused virtual functions to be removed during LTO (and
regular compilation in limited circumstances) by using type metadata to
match virtual function call sites to the vtable slots they might load
from. This information can then be used in the global dead code
elimination pass instead of the references from vtables to virtual
functions, to more accurately determine which functions are reachable.
To make this transformation safe, I have changed clang's code-generation
to always load virtual function pointers using the
llvm.type.checked.load intrinsic, instead of regular load instructions.
I originally tried writing this using clang's existing code-generation,
which uses the llvm.type.test and llvm.assume intrinsics after doing a
normal load. However, it is possible for optimisations to obscure the
relationship between the GEP, load and llvm.type.test, causing GlobalDCE
to fail to find virtual function call sites.
The existing linkage and visibility types don't accurately describe the
scope in which a virtual call could be made which uses a given vtable.
This is wider than the visibility of the type itself, because a virtual
function call could be made using a more-visible base class. I've added
a new
!vcall_visibility metadata type to represent this, described in
TypeMetadata.rst. The internalization pass and libLTO have been updated
to change this metadata when linking is performed.
This doesn't currently work with ThinLTO, because it needs to see every
call to llvm.type.checked.load in the linkage unit. It might be possible
to extend this optimisation to be able to use the ThinLTO summary, as
was done for devirtualization, but until then that combination is
rejected in the clang driver.
To test this, I've written a fuzzer which generates random C++ programs
with complex class inheritance graphs, and virtual functions called
through object and function pointers of different types. The programs
are spread across multiple translation units and DSOs to test the
different visibility restrictions.
I've also tried doing bootstrap builds of LLVM to test this. This isn't
ideal, because only classes in anonymous namespaces can be optimised
with
-fvisibility=default, and some parts of LLVM (plugins and bugpoint) do
not work correctly with -fvisibility=hidden. However, there are only 12
test failures when building with -fvisibility=hidden (and an unmodified
compiler), and this change does not cause any new failures for either
value of
-fvisibility.
On the 7 C++ sub-benchmarks of SPEC2006, this gives a geomean code-size
reduction of ~6%, over a baseline compiled with "-O2 -flto
-fvisibility=hidden -fwhole-program-vtables". The best cases are
reductions of ~14% in 450.soplex and 483.xalancbmk, and there are no
code size increases.
I've also run this on a set of 8 mbed-os examples compiled for Armv7M,
which show a geomean size reduction of ~3%, again with no size
increases.
I had hoped that this would have no effect on performance, which would
allow it to awlays be enabled (when using -fwhole-program-vtables).
However, the changes in clang to use the llvm.type.checked.load
intrinsic are causing ~1% performance regression in the C++ parts of
SPEC2006. It should be possible to recover some of this perf loss by
teaching optimisations about the llvm.type.checked.load intrinsic, which
would make it worth turning this on by default (though it's still
dependent on -fwhole-program-vtables).
Differential revision: https://reviews.llvm.org/D63932
llvm-svn: 375094
The file was addedllvm/test/Transforms/GlobalDCE/vtable-rtti.ll
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was addedclang/test/CodeGenCXX/vcall-visibility-metadata.cpp
The file was modifiedllvm/lib/IR/Metadata.cpp
The file was addedclang/test/Driver/virtual-function-elimination.cpp
The file was modifiedllvm/lib/Analysis/TypeMetadataUtils.cpp
The file was addedllvm/test/Transforms/GlobalDCE/virtual-functions-visibility-post-lto.ll
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was addedllvm/test/Transforms/Internalize/vcall-visibility.ll
The file was addedclang/test/CodeGenCXX/virtual-function-elimination.cpp
The file was addedllvm/test/LTO/ARM/lto-linking-metadata.ll
The file was addedllvm/test/Transforms/GlobalDCE/virtual-functions-derived-call.ll
The file was modifiedclang/lib/CodeGen/CGVTables.cpp
The file was modifiedllvm/include/llvm/Analysis/TypeMetadataUtils.h
The file was modifiedllvm/include/llvm/IR/FixedMetadataKinds.def
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
The file was modifiedllvm/docs/TypeMetadata.rst
The file was modifiedllvm/docs/LangRef.rst
The file was addedllvm/test/Transforms/GlobalDCE/virtual-functions-base-call.ll
The file was addedllvm/test/Transforms/GlobalDCE/virtual-functions-derived-pointer-call.ll
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalDCE.cpp
The file was addedllvm/test/Transforms/GlobalDCE/virtual-functions-visibility-pre-lto.ll
The file was addedllvm/test/Transforms/GlobalDCE/virtual-functions-base-pointer-call.ll
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedllvm/test/ThinLTO/X86/lazyload_metadata.ll
The file was modifiedclang/lib/CodeGen/CGClass.cpp
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/GlobalDCE.h
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/include/llvm/IR/GlobalObject.h
The file was addedllvm/test/Transforms/GlobalDCE/virtual-functions.ll
Commit 9b8e5316f2a04b0cb641ba333fd776c88f3c021f by grimar
[llvm-readobj] - Refine the LLVM-style output to be consistent.
Our LLVM-style output was inconsistent. This patch changes the output in
the following way:
SHT_GNU_verdef { -> VersionDefinitions [ SHT_GNU_verneed { ->
VersionRequirements [ Version symbols [ -> VersionSymbols [ EH_FRAME
Header [ -> EHFrameHeader {
Differential revision: https://reviews.llvm.org/D68636
llvm-svn: 375095
The file was modifiedllvm/test/Object/multiple-sections.yaml
The file was modifiedllvm/test/tools/llvm-readobj/unwind.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-verneed-flags.yaml
The file was modifiedllvm/test/tools/yaml2obj/verneed-section.yaml
The file was modifiedllvm/test/tools/yaml2obj/versym-section.yaml
The file was modifiedllvm/test/tools/llvm-readobj/elf-versioninfo.test
The file was modifiedllvm/test/tools/llvm-readobj/all.test
The file was modifiedllvm/tools/llvm-readobj/DwarfCFIEHPrinter.h
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/yaml2obj/verdef-section.yaml
Commit 938db706fe73bb7308e54f5a9f5ade2396783fb4 by grimar
[LLD][ELF] - Update test cases after llvm-readobj output format change.
The change was:
SHT_GNU_verdef { -> VersionDefinitions [ SHT_GNU_verneed { ->
VersionRequirements [ Version symbols [ -> VersionSymbols [ EH_FRAME
Header [ -> EHFrameHeader {
llvm-svn: 375096
The file was modifiedlld/test/ELF/linkerscript/version-script.s
The file was modifiedlld/test/ELF/verneed-as-needed-weak.s
The file was modifiedlld/test/ELF/version-script-extern.s
The file was modifiedlld/test/ELF/verdef-dependency.s
The file was modifiedlld/test/ELF/verdef-defaultver.s
The file was modifiedlld/test/ELF/empty-ver.s
The file was modifiedlld/test/ELF/verdef.s
The file was modifiedlld/test/ELF/version-script-locals-extern.s
The file was modifiedlld/test/ELF/version-script-symver2.s
The file was modifiedlld/test/ELF/partition-synthetic-sections.s
The file was modifiedlld/test/ELF/version-script-extern-wildcards.s
The file was modifiedlld/test/ELF/empty-ver2.s
The file was modifiedlld/test/ELF/version-script-extern2.s
The file was modifiedlld/test/ELF/verneed.s
The file was modifiedlld/test/ELF/version-script-extern-undefined.s
Commit a867cca091952436ce2f38f31a4b0818aac98dfa by llvm-dev
SemaDeclObjC - 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: 375097
The file was modifiedclang/lib/Sema/SemaDeclObjC.cpp
Commit fda3243fdd9880441af11dd39a3120b3874fd42c by lebedev.ri
[LoopIdiom] BCmp: check, not assert that loop exits exit out of the loop
(PR43687)
We can't normally stumble into that assertion because a tautological
*conditional* `br` in loop body is required, one that always branches to
loop latch. But that should have been always folded to an unconditional
branch before we get it. But that is not guaranteed if the pass is run
standalone. So let's just promote the assertion into a proper check.
Fixes https://bugs.llvm.org/show_bug.cgi?id=43687
llvm-svn: 375100
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/test/Transforms/LoopIdiom/bcmp-negative-tests.ll
Commit e14851259e770a59db736964475ebd152fe1c793 by llvm-dev
SemaExprCXX - 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: 375101
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
Commit 2ea8b58cb6182b0e0a8982849a1702406abfc99b by llvm-dev
clang-tidy - 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: 375102
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/misc/RedundantExpressionCheck.cpp
Commit 3ec83e81877da19254adcdb2e80861eec19ea928 by llvm-dev
JumpThreadingPass::UnfoldSelectInstr - silence static analyzer
dyn_cast<> null dereference warning. NFCI.
The static analyzer is warning about a potential null dereference, but
we should be able to use cast<> directly and if not assert will fire for
us.
llvm-svn: 375103
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
Commit dc3957ec215dd17b8d293461f18696566637a6cd by sbergman
Include leading attributes in DeclStmt's SourceRange
Differential Revision: https://reviews.llvm.org/D68581
llvm-svn: 375104
The file was modifiedclang/lib/Parse/ParseStmt.cpp
The file was modifiedclang/test/AST/sourceranges.cpp
Commit 9dce25a9fa953cec1b89009226cdc463166a7ad4 by maskray
[llvm-objcopy] --add-symbol: fix crash if SHT_SYMTAB does not exist
Exposed by D69041. If SHT_SYMTAB does not exist,
ELFObjcopy.cpp:handleArgs will crash due to a null pointer dereference.
  for (const NewSymbolInfo &SI : Config.ELF->SymbolsToAdd) {
   ...
   Obj.SymbolTable->addSymbol(
Fix this by creating .symtab and .strtab on demand in
ELFBuilder<ELFT>::readSections, if --add-symbol is specified.
Reviewed By: grimar
Differential Revision: https://reviews.llvm.org/D69093
llvm-svn: 375105
The file was addedllvm/test/tools/llvm-objcopy/ELF/add-symbol-no-symtab.test
The file was modifiedllvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.cpp
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.h
Commit a69cc92cb5083d9d9f33c19587db1cdcab742637 by maskray
[llvm-ar] Implement the O modifier: display member offsets inside the
archive
Since GNU ar 2.31, the 't' operation prints member offsets beside file
names if the 'O' modifier is specified. 'O' is ignored for thin
archives.
Reviewed By: gbreynoo, ruiu
Differential Revision: https://reviews.llvm.org/D69087
llvm-svn: 375106
The file was modifiedllvm/include/llvm/Object/Archive.h
The file was modifiedllvm/docs/CommandGuide/llvm-ar.rst
The file was modifiedllvm/test/Object/archive-thin-create.test
The file was modifiedllvm/test/Object/archive-toc.test
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
Commit 5095a67a1a0c1ab170670d7eafa7c4448ffc3a21 by maskray
[docs][llvm-ar] Fix option:: O after r375106
docs-llvm-html fails => unknown option: O
There are lots of formatting issues in the file but they will be fixed
by D68998.
llvm-svn: 375107
The file was modifiedllvm/docs/CommandGuide/llvm-ar.rst
Commit 8e6a638c74dcc1587822df3b4a54214e2457410b by sam.parker
[ARM][MVE] Enable truncating masked stores
Allow us to generate truncating masked store which take v4i32 and v8i16
vectors and can store to v4i8, v4i16 and v8i8 and memory. Removed
support for unaligned masked stores.
Differential Revision: https://reviews.llvm.org/D68461
llvm-svn: 375108
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-ldst.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-store.ll
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
Commit 39720575117e5dff3c72b6bde3c44ea0f0940139 by daniil.fukalov
[AMDGPU] Improve code size cost model
Summary: Added estimation for zero size insertelement, extractelement
and llvm.fabs operators. Updated inline/unroll parameters default
values.
Reviewers: rampitec, arsenm
Reviewed By: arsenm
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr,
t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68881
llvm-svn: 375109
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInline.cpp
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/insertelement.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fabs.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/extractelement.ll
Commit 78c78cb5a12d31b016a91a8276a47664abee73df by zoran.jovanovic
[mips] [builtins] Remove clear_mips_cache Differential Revision:
https://reviews.llvm.org/D69021
llvm-svn: 375110
The file was modifiedcompiler-rt/lib/builtins/clear_cache.c
Commit 5e962e8d7dc709f5fe485c70e7fd0f89b63ac8d2 by sven.vanhaastregt
[OpenCL] Add doc to describe OpenCL support
The idea of this page is to document work in progress functionality and
also describe the plan of future development work.
Patch by Anastasia Stulova.
Differential Revision: https://reviews.llvm.org/D69072
llvm-svn: 375111
The file was modifiedclang/docs/index.rst
The file was addedclang/docs/OpenCLSupport.rst
Commit ffe2ec51702e1bcde4b92cad46719e61813c1635 by xiangxdh
[AIX] TOC pseudo expansion for 64bit large + 64bit small + 32bit large
models
This patch provides support for peudo ops including ADDIStocHA8,
ADDIStocHA, LWZtocL, LDtoc, LDtocL for AIX, lowering them from MIR to
assembly.
Differential Revision: https://reviews.llvm.org/D68341
llvm-svn: 375113
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/lower-globaladdr32-aix-asm.ll
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
The file was modifiedllvm/lib/MC/MCExpr.cpp
The file was modifiedllvm/include/llvm/MC/MCExpr.h
The file was addedllvm/test/CodeGen/PowerPC/lower-globaladdr64-aix-asm.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit 221e418f0c56d6b4a8b188fb4d8e75e21f7b0c8d by jdenny.ornl
[lit] Make internal diff work in pipelines
When using lit's internal shell, RUN lines like the following
accidentally execute an external `diff` instead of lit's internal
`diff`:
```
# RUN: program | diff file -
# RUN: not diff file1 file2 | FileCheck %s
```
Such cases exist now, in `clang/test/Analysis` for example.  We are
preparing patches to ensure lit's internal `diff` is called in such
cases, which will then fail because lit's internal `diff` cannot
currently be used in pipelines and doesn't recognize `-` as a
command-line option.
To enable pipelines, this patch moves lit's `diff` implementation into
an out-of-process script, similar to lit's `cat` implementation.  A
follow-up patch will implement `-` to mean stdin.
Reviewed By: probinson, stella.stamenova
Differential Revision: https://reviews.llvm.org/D66574
llvm-svn: 375114
The file was addedllvm/utils/lit/lit/builtin_commands/diff.py
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
The file was modifiedllvm/utils/lit/lit/TestRunner.py
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified-error-0.txt
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified-error-1.txt
Commit 849d67a70080982cc1261759015a67b06b25eb16 by jdenny.ornl
[lit] Extend internal diff to support `-` argument
When using lit's internal shell, RUN lines like the following
accidentally execute an external `diff` instead of lit's internal
`diff`:
```
# RUN: program | diff file -
```
Such cases exist now, in `clang/test/Analysis` for example.  We are
preparing patches to ensure lit's internal `diff` is called in such
cases, which will then fail because lit's internal `diff` doesn't
recognize `-` as a command-line option.  This patch adds support for
`-` to mean stdin.
Reviewed By: probinson, rnk
Differential Revision: https://reviews.llvm.org/D67643
llvm-svn: 375116
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-7.txt
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-8.txt
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py
Commit c8e3f43ab514bf527b2d2d01f66d4c921a2985c4 by hokein
[clangd] Use our own relation kind.
Summary: Move the RelationKind from Serialization.h to Relation.h. This
patch doesn't introduce any breaking changes.
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68981
llvm-svn: 375117
The file was modifiedclang-tools-extra/clangd/index/Index.h
The file was modifiedclang-tools-extra/clangd/unittests/IndexTests.cpp
The file was modifiedclang-tools-extra/clangd/index/MemIndex.h
The file was modifiedclang-tools-extra/clangd/index/Serialization.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SerializationTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
The file was modifiedclang-tools-extra/clangd/index/Serialization.h
The file was modifiedclang-tools-extra/clangd/index/dex/Dex.cpp
The file was modifiedclang-tools-extra/clangd/unittests/DexTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/BackgroundIndexTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/index/YAMLSerialization.cpp
The file was modifiedclang-tools-extra/clangd/index/dex/Dex.h
The file was modifiedclang-tools-extra/clangd/index/Relation.cpp
The file was modifiedclang-tools-extra/clangd/index/Relation.h
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FileIndexTests.cpp
The file was modifiedclang-tools-extra/clangd/index/MemIndex.cpp
The file was modifiedllvm/include/llvm/ADT/DenseMapInfo.h
Commit af6248cbb9e70122359a12ff16541fe510ada600 by sven.vanhaastregt
[OpenCL] Preserve addrspace in CGClass (PR43145)
PR43145 revealed two places where Clang was attempting to create a
bitcast without considering the address space of class types during C++
class code generation.
Differential Revision: https://reviews.llvm.org/D68403
llvm-svn: 375118
The file was modifiedclang/lib/CodeGen/CGClass.cpp
The file was modifiedclang/test/CodeGenOpenCLCXX/addrspace-derived-base.cl
Commit 3e0f4f8e928cabb3da9fc955321fb5142a0a0110 by a.bataev
[OPENMP]Fix thread id passed to outlined region in sequential parallel
regions.
The real global thread id must be passed to the outlined region instead
of the zero thread id.
llvm-svn: 375119
The file was modifiedclang/test/OpenMP/parallel_if_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
Commit 5e684e8d88ba60c867b12dbde274db0730d7b517 by jdenny.ornl
Revert r375116: "[lit] Extend internal diff to support `-` argument"
This series of patches still breaks a Windows bot.
llvm-svn: 375120
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-8.txt
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-7.txt
Commit e96e2d322723f45b052dc66e17d556e7346d4336 by jdenny.ornl
Revert r375114: "[lit] Make internal diff work in pipelines"
This series of patches still breaks a Windows bot.
llvm-svn: 375121
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified-error-1.txt
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified-error-0.txt
The file was removedllvm/utils/lit/lit/builtin_commands/diff.py
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt
The file was modifiedllvm/utils/lit/lit/TestRunner.py
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was modifiedllvm/utils/lit/tests/max-failures.py
Commit faf6b2543e4789061cbced2557f6bc7d1bd0d71d by Tatyana Krasnukha
[ARC] Basic support in gdb-remote process plugin
Differential Revision: https://reviews.llvm.org/D55718
llvm-svn: 375122
The file was modifiedlldb/include/lldb/Utility/ArchSpec.h
The file was modifiedlldb/source/Target/Platform.cpp
The file was modifiedlldb/source/Utility/ArchSpec.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/source/Target/Thread.cpp
Commit 92e498d58cf47f4c1266cedba981a0c2cee171d0 by Tatyana Krasnukha
[ARC] Add SystemV ABI
Differential Revision: https://reviews.llvm.org/D55724
llvm-svn: 375123
The file was addedlldb/source/Plugins/ABI/SysV-arc/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.h
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/source/Plugins/ABI/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.cpp
Commit 1c982af0599781bdb049f898a2d512656c807485 by jyknight
[ObjC] Add some additional test cases around pointer conversions.
This is especially important for Objective-C++, which is entirely
missing this testing at the moment.
This annotates with "FIXME" the cases which I change in the next patch
-- I primarily wanted to document the current state of things so that
the effect of the code change is made clear.
Differential Revision: https://reviews.llvm.org/D67982
llvm-svn: 375124
The file was modifiedclang/test/SemaObjC/comptypes-1.m
The file was addedclang/test/SemaObjCXX/comptypes-1.mm
The file was modifiedclang/test/SemaObjC/comptypes-7.m
The file was addedclang/test/SemaObjCXX/comptypes-7.mm
The file was modifiedclang/test/SemaObjCXX/instancetype.mm
The file was modifiedclang/test/SemaObjC/class-method-self.m
The file was addedclang/test/SemaObjCXX/class-method-self.mm
Commit ccc4d83cda16bea1d9dfd0967dc7d2cfb24b8e75 by jyknight
[ObjC] Diagnose implicit type coercion from ObjC 'Class' to object
pointer types.
For example, in Objective-C mode, the initialization of 'x' in:
```
@implementation MyType
+ (void)someClassMethod {
   MyType *x = self;
}
@end
``` is correctly diagnosed with an incompatible-pointer-types warning,
but in Objective-C++ mode, it is not diagnosed at all -- even though
incompatible pointer conversions generally become an error in C++.
This patch fixes that oversight, allowing implicit conversions involving
Class only to/from unqualified-id, and between qualified and unqualified
Class, where the protocols are compatible.
Note that this does change some behaviors in Objective-C, as well, as
shown by the modified tests.
Of particular note is that assignment from from 'Class<MyProtocol>' to
'id<MyProtocol>' now warns. (Despite appearances, those are not
compatible types. 'Class<MyProtocol>' is not expected to have instance
methods defined by 'MyProtocol', while 'id<MyProtocol>' is.)
Differential Revision: https://reviews.llvm.org/D67983
llvm-svn: 375125
The file was modifiedclang/test/SemaObjCXX/class-method-self.mm
The file was modifiedclang/test/SemaObjCXX/instancetype.mm
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/SemaObjCXX/comptypes-1.mm
The file was modifiedclang/test/SemaObjC/comptypes-1.m
The file was modifiedclang/test/SemaObjCXX/comptypes-7.mm
Commit 1b6c3ca1267218b31c230815e1cc0b56aa89ddd2 by rupprecht
[lld][test] Fix use of escape character in an lld test on Windows
Summary: Glob support was improved to accept `\` as an escape character
in r375051, but reverted as r375052 due to a failure in this test on
Windows.
The reason this failure seems Windows specific is because the path
separator `\` is currently being relied on to be interpreted literally
instead of as an escape character. Per documentation on linker input
section wildcard patterns, this seems to be a bug in lld accepting `\`
as a literal instead of an escape character.
For example:
``` SECTIONS{ .foo :{ /path/to/foo.o(.foo) }} # OK: standard UNIX path
SECTIONS{ .foo :{ C:/path/to/foo.o(.foo) }} # OK: windows accepts
slashes in either direction SECTIONS{ .foo :{ C:\\path\\to\\foo.o(.foo)
}} # OK: escape character used to match a literal \ SECTIONS{ .foo :{
C:\path\to\foo.o(.foo) }} # BAD: this actually matches the path
C:pathtofoo.o(.foo)
```
This avoids the problem in the test by using `%/T` in place of `%T` to
normalize the path separator to `/`, which windows should also accept.
This patch just fixes the test, and glob support will be be relanded
separately.
For a sample buildbot error, see:
http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/11578/steps/stage%201%20check/logs/stdio
Reviewers: evgeny777, ruiu, MaskRay, espindola
Reviewed By: ruiu, MaskRay
Subscribers: emaste, arichardson, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69074
llvm-svn: 375126
The file was modifiedlld/test/ELF/linkerscript/filename-spec.s
Commit d06a2f3ad681fc9e2126b39f1110a82cd7870356 by Adrian Prantl
Fix an inverted condition in test.
llvm-svn: 375127
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
Commit d25c766aa255662a91465662fef02ef8b5990bba by jlettner
[lit] Create derived classes for serial/parallel test runs
The hope is that with a little OO we can nicely factor out the
differences.
llvm-svn: 375128
The file was modifiedllvm/utils/lit/lit/main.py
The file was modifiedllvm/utils/lit/lit/run.py
Commit aa05e0e9729fe7236c8961c27092b780face8a85 by jlettner
[lit] Synthesize artificial deadline
We always want to use a deadline when calling `result.await`.  Let's
synthesize an artificial deadline (positive infinity) to simplify code
and do less busy waiting.
llvm-svn: 375129
The file was modifiedllvm/utils/lit/lit/run.py
Commit a660dc590a5e8dafa1ba6ed56447ede151d17bd9 by jlettner
[lit] Move computation of deadline up into base class
llvm-svn: 375130
The file was modifiedllvm/utils/lit/lit/run.py
Commit ce88cdf0964db63326ae0754fd1d2e39e1ccd4f3 by rupprecht
[lld][test] Speculative fix for lld+windows failures
This updates some more places using `%T` to use `%/T` for path
normalization.
If this does not work, this and r375126 should be reverted together.
llvm-svn: 375131
The file was modifiedlld/test/ELF/linkerscript/filename-spec.s
Commit 00bbe990c5d4472d5413479a539b3d6edbb3ca7a by selliott
[Sanitizers] Add support for RISC-V 64-bit
Summary: This has been tested with gcc trunk on openSUSE Tumbleweed on
the HiFive Unleashed.
Patch by Andreas Schwab (schwab)
Reviewers: luismarques
Reviewed By: luismarques
Subscribers: mhorne, emaste, luismarques, asb, mgorny, fedor.sergeev,
simoncook, kito-cheng, shiva0217, rogfer01, rkruppe, lenary, s.egerton,
#sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D66870
llvm-svn: 375132
The file was modifiedcompiler-rt/cmake/config-ix.cmake
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
Commit 918d779d901c4ba0b7236628e98c147543a8854b by listmail
[IndVars] Factor out a helper function for readability [NFC]
llvm-svn: 375133
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit 780f555155f1dc261e98a5a68815955cbfde2353 by a.bataev
[OPENMP]Improve use of the global tid parameter.
If we can determined, that the global tid parameter can be used in the
function, better to use it rather than calling __kmpc_global_thread_num
function.
llvm-svn: 375134
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/openmp_win_codegen.cpp
Commit 08de59bed5be32d81d920d0616d0b552fd85f4ba by lebedev.ri
[NFC][InstCombine] Tests for "fold variable mask before variable
shift-of-trunc" (PR42563)
https://bugs.llvm.org/show_bug.cgi?id=42563
llvm-svn: 375135
The file was addedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-b.ll
The file was addedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-c.ll
The file was addedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-b.ll
The file was addedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-d.ll
The file was addedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-f.ll
The file was addedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-d.ll
The file was addedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-a.ll
The file was addedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-a.ll
The file was addedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-e.ll
The file was addedllvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-e.ll
The file was addedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-c.ll
Commit d4b7a60b92cb90686ef41f2a3f6ac8a16d7e7ecc by selliott
Revert [Sanitizers] Add support for RISC-V 64-bit
This reverts r375132 (git commit
00bbe990c5d4472d5413479a539b3d6edbb3ca7a)
llvm-svn: 375136
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
The file was modifiedcompiler-rt/cmake/config-ix.cmake
Commit fc69ad09882ccfbedc2d06afc971d59eb6a24ee0 by rnk
[codeview] Workaround for PR43479, don't re-emit instr labels
Summary: In the long run we should come up with another mechanism for
marking call instructions as heap allocation sites, and remove this
workaround. For now, we've had two bug reports about this, so let's
apply this workaround. SLH (the other client of instruction labels)
probably has the same bug, but the solution there is more likely to be
to mark the call instruction as not duplicatable, which doesn't work for
debug info.
Reviewers: akhuang
Subscribers: aprantl, hiraditya, aganea, chandlerc, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69068
llvm-svn: 375137
The file was addedllvm/test/CodeGen/X86/taildup-heapallocsite.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Commit e51d57d64a4d5934b3bb4cad5ab9db2d64f5dbf6 by listmail
[IndVars] Split loop predication out of optimizeLoopExits [NFC]
In the process of writing D69009, I realized we have two distinct sets
of invariants within this single function, and basically no shared
logic.  The optimize loop exit transforms (including the new one in
D69009) only care about *analyzeable* exits.  Loop predication, on the
other hand, has to reason about *all* exits.  At the moment, we have the
property (due to the requirement for an exact btc) that all exits are
analyzeable, but that will likely change in the future as we add
widenable condition support.
llvm-svn: 375138
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit 990c43380b3572b7abbe2cd586a226d67ea3e373 by spatel
[PowerPC] add tests for popcount with zext; NFC
llvm-svn: 375142
The file was addedllvm/test/CodeGen/PowerPC/popcnt-zext.ll
Commit 4ff1e34b606d9a9fcfd8b8b5449a558315af94e5 by rnk
Revert [lit] Synthesize artificial deadline
Python on Windows raises this OverflowError:
     gotit = waiter.acquire(True, timeout)
OverflowError: timestamp too large to convert to C _PyTime_t
So it seems this API behave the same way on every OS.
Also reverts the dependent commit
a660dc590a5e8dafa1ba6ed56447ede151d17bd9.
llvm-svn: 375143
The file was modifiedllvm/utils/lit/lit/run.py
Commit e19dfa6745f65d018ebdae3175c0fa5b50bbdba6 by a20012251
Disable TestProcessList on windows
Summary: `platform process list -v` on windows doesn't show all the
process arguments, making this test useless for that platform
Reviewers: stella.stamenova
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69114
llvm-svn: 375144
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/platform/process/TestProcessList.py
Commit 2b7899b730b76a1d6162ef2cfbfe8cac179d08d2 by Jonas Devlieghere
[Reproducer] Surface error if setting the cwd fails
Make sure that we surface an error if setting the current working
directory fails during replay.
llvm-svn: 375146
The file was modifiedlldb/source/Initialization/SystemInitializerCommon.cpp
Commit 0aaa193127f383fa27447d434041f4bfd162ce82 by rnk
[asan] Update Windows test expectations for LLVM's MS demangler
After r375041 llvm-symbolizer uses it for demangling instead of
UnDecorateSymbolName. LLVM puts spaces after commas while Microsoft does
not.
llvm-svn: 375147
The file was modifiedcompiler-rt/test/asan/TestCases/Windows/demangled_names.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/invalid-pointer-pairs.cpp
Commit 05c3d90248db372083d4314fb74f677837adf01d by saugustine
NFC: Fix variable only used in asserts by propagating the value.
Summary: This fixes builds with assertions disabled that would otherwise
fail with unused variable warnings
Subscribers: nemanjai, hiraditya, kbarton, MaskRay, jsji, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69123
llvm-svn: 375148
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit 48993d5ab9413f0e5b94dfa292a233ce55b09e3e by rupprecht
Reapply r375051: [support] GlobPattern: add support for `\` and
`[!...]`, and allow `]` in more places
Reland r375051 (reverted in r375052) after fixing lld tests on Windows
in r375126 and r375131.
Original description: Update GlobPattern in libSupport to handle a few
more cases. It does not fully match the `fnmatch` used by GNU objcopy
since named character classes (e.g. `[[:digit:]]`) are not supported,
but this should support most existing use cases (mostly just `*` is
what's used anyway).
This will be used to implement the `--wildcard` flag in llvm-objcopy to
be more compatible with GNU objcopy.
This is split off of D66613 to land the libSupport changes separately.
The llvm-objcopy part will land soon.
Reviewers: jhenderson, MaskRay, evgeny777, espindola, alexshap
Reviewed By: MaskRay
Subscribers: nickdesaulniers, emaste, arichardson, hiraditya,
jakehehrlich, abrachet, seiya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66613
llvm-svn: 375149
The file was modifiedllvm/unittests/Support/GlobPatternTest.cpp
The file was modifiedllvm/include/llvm/Support/GlobPattern.h
The file was modifiedllvm/lib/Support/GlobPattern.cpp
Commit 5be7eb3ab4da6e89ed23b137e6baaa13a530c9b3 by dan
[Builtins] Provide a mechanism to selectively disable tests based on
whether an implementation is provided by a builtin library.
Summary: If a platform removes some builtin implementations (e.g. via
the Darwin-excludes mechanism) then this can lead to test failures
because the test expects an implementation to be available.
To solve this lit features are added for each configuration based on
which sources are included in the builtin library. The features are of
the form `librt_has_<name>` where `<name>` is the name of the source
file with the file extension removed. This handles C and assembly
sources.
With the lit features in place it is possible to make certain tests
require them.
Example:
``` REQUIRES: librt_has_comparedf2
```
All top-level tests in `test/builtins/Unit` (i.e. not under
`arm`, `ppc`, and `riscv`) have been annotated with the appropriate
`REQUIRES: librt_has_*` statement.
rdar://problem/55520987
Reviewers: beanz, steven_wu, arphaman, dexonsmith, phosek, thakis
Subscribers: mgorny, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D68064
llvm-svn: 375150
The file was modifiedcompiler-rt/test/builtins/Unit/divti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/comparesf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divxc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/clzdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatuntixf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/umodti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floattidf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ashlti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatunditf_test.c
The file was removedcompiler-rt/test/builtins/Unit/extebdsfdf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/trunctfdf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/absvdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixxfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/letf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/extendsftf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunsxfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floattixf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ucmpti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunstfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/modti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/cmpdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulxc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/umoddi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixdfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divdf3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/popcountdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunsdfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatunssidfvfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/eqtf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/comparedf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/paritydi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulodi4_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divmodsi4_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/gesf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/subsf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunsdfsi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/gttf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/lshrti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/unordtf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixsfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/udivdi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatditf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/trunctfsf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulosi4_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/bswapdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/clear_cache_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixtfsi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatuntisf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/muldf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/truncdfhf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/negvti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/adddf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulvsi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/negvdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatuntidf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/addsf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunsdfsivfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatdidf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/muldc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/gedf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatundisf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divsf3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunstfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/multc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatsidfvfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/addtf3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/absvti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/gtsf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/udivmodti4_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ffsdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunsxfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/udivmoddi4_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulvti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/lit.cfg.py
The file was modifiedcompiler-rt/test/builtins/Unit/powixf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/addvdi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulsf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/udivsi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/udivti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/powitf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatsitf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/powidf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/absvsi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/parityti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/subvti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixxfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divsc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/truncdfsf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/popcountti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ctzti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/eqsf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/extendhfsf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/negdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/lit.site.cfg.py.in
The file was modifiedcompiler-rt/test/builtins/Unit/muloti4_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunssfsivfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/subvdi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/nesf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatunssisfvfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/subtf3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/clzsi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ctzsi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/addvsi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/subdf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/cpu_model_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixdfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/unordsf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatsisfvfp_test.c
The file was modifiedcompiler-rt/test/builtins/CMakeLists.txt
The file was modifiedcompiler-rt/test/builtins/Unit/ashrti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divtf3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunsxfsi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/enable_execute_stack_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/powisf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixtfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/subvsi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floattisf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ltsf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/unorddf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/extenddftf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ledf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunssfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatundidf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/lesf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/bswapsi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunstfsi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divdf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divsf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/eqdf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatdixf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/negvsi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/udivmodsi4_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/addvti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ffsti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/truncdfsf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/netf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divtc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunssfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/getf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ctzdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ffssi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ltdf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ashldi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/moddi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixtfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/trampoline_setup_test.c
The file was addedcompiler-rt/test/builtins/Unit/extendsfdf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulvdi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/negsf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ashrdi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatdisf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divdc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatunsitf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/umodsi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ucmpdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/clzti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/negdf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/muldi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/nedf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/gtdf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/modsi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixsfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunsdfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/cmpti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divsi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunssfsi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatuntitf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixdfsivfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/multf3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/lttf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatundixf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/lshrdi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/negti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/truncsfhf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixsfsivfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divdi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/multi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/popcountsi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulsc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floattitf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/paritysi2_test.c
Commit 6237c9fe6ce966ce366005a55df8c267ea32a064 by Raphael Isemann
[lldb] Don't emit artificial constructor declarations as global
functions
Summary: When we have a artificial constructor DIE, we currently create
from that a global function with the name of that class. That ends up
causing a bunch of funny errors such as "must use 'struct' tag to refer
to type 'Foo' in this scope" when doing `Foo f`. Also causes that
constructing a class via `Foo()` actually just calls that global
function.
The fix is that when we have an artificial method decl, we always treat
it as handled even if we don't create a CXXMethodDecl for it (which we
never do for artificial methods at the moment).
Fixes rdar://55757491 and probably some other radars.
Reviewers: aprantl, vsk, shafik
Reviewed By: aprantl
Subscribers: jingham, shafik, labath, JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68130
llvm-svn: 375151
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/TestCallOverriddenMethod.py
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/ignore-artificial-constructors/main.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/ignore-artificial-constructors/TestIgnoreArtificialConstructors.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/main.cpp
Commit 8a3d7c9cbd305764d1f6c2d42cdd82cf2876b99f by nemanja.i.ibm
[PowerPC] Turn on CR-Logical reducer pass
Quite a while ago, we implemented a pass that will reduce the number of
CR-logical operations we emit. It does so by converting a CR-logical
operation into a branch. We have kept this off by default because it
seemed to cause a significant regression with one benchmark. However,
that regression turned out to be due to a completely unrelated reason -
AADB introducing a self-copy that is a priority-setting nop and it was
just exacerbated by this pass.
Now that we understand the reason for the only degradation, we can turn
this pass on by default. We have long since fixed the cause for the
degradation.
Differential revision: https://reviews.llvm.org/D52431
llvm-svn: 375152
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll
The file was modifiedllvm/test/CodeGen/PowerPC/brcond.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pr42492.ll
The file was modifiedllvm/test/CodeGen/PowerPC/vec-min-max.ll
The file was modifiedllvm/test/CodeGen/PowerPC/tocSaveInPrologue.ll
Commit 31a691e2a2293a9ecb5330f081f2410bc1ff4474 by lebedev.ri
[NFC][InstCombine] Some more preparatory cleanup for
dropRedundantMaskingOfLeftShiftInput()
llvm-svn: 375153
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
Commit 68db51d5c677239fe5ca286f068909479deb75c7 by shal1t712
[Object] Fix the return type of getOffset/getSize
Header64.offset/Header64.size are uint64_t, thus we should not  truncate
them to unit32_t. Moreover, there are a number of places  where we sum
the offset and the size (e.g. in various checks in MachOUniversal.cpp),
the truncation causes issues since the offset/size can perfectly fit
into uint32_t,  while the sum overflows.
Differential revision: https://reviews.llvm.org/D69126
Test plan: make check-all
llvm-svn: 375154
The file was modifiedllvm/include/llvm/Object/MachOUniversal.h
Commit 95980409e6531347a39ae764cb769dc8ad835adf by martin
[LLDB] [test] Use %clang_cl instead of build.py in a few tests
This allows explicitly specifying the intended target architecture, for
tests that aren't supposed to be executed, and that don't require MSVC
headers or libraries to be available.
(These tests already implicitly assumed to be built for x86; one didn't
specify anything, assuming x86_64, while the other specified
--arch=32, which only picks the 32 bit variant of the default target
architecture).
Join two comment lines in disassembly.cpp, to keep row numbers checked
in the test unchanged.
This fixes running check-lldb on arm linux.
Differential Revision: https://reviews.llvm.org/D69031
llvm-svn: 375156
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/function-types-calling-conv.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/disassembly.cpp
Commit c9499264ec017dca6b3d08950ae93a8fcb9de926 by smeenai
[cmake] Pass external project source directories to sub-configures
We're passing LLVM_EXTERNAL_PROJECTS to cross-compilation configures, so
we also need to pass the source directories of those projects, otherwise
configuration can fail from not finding them.
Differential Revision: https://reviews.llvm.org/D69076
llvm-svn: 375157
The file was modifiedllvm/cmake/modules/CrossCompile.cmake
Commit e3905dee0044c8b6c5f3a9cf46b9b6fe45039da6 by spatel
[x86] add test for setcc to shift transform; NFC
llvm-svn: 375158
The file was modifiedllvm/test/CodeGen/X86/setcc.ll
Commit 1ad655e255090620705eb4ce85d869a54d971912 by Adrian Prantl
Modernize the rest of the Find.* API (NFC)
This patch removes the size_t return value and the append parameter from
the remainder of the Find.* functions in LLDB's internal API. As in the
previous patches, this is motivated by the fact that these parameters
aren't really used, and in the case of the append parameter were
frequently implemented incorrectly.
Differential Revision: https://reviews.llvm.org/D69119
llvm-svn: 375160
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/source/Commands/CommandObjectWatchpoint.cpp
The file was modifiedlldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp
The file was modifiedlldb/unittests/Target/ModuleCacheTest.cpp
The file was modifiedlldb/source/Core/Disassembler.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
The file was modifiedlldb/source/Symbol/SymbolFile.cpp
The file was modifiedlldb/source/Breakpoint/BreakpointResolverName.cpp
The file was modifiedlldb/source/Core/SourceManager.cpp
The file was modifiedlldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
The file was modifiedlldb/include/lldb/Symbol/SymbolFile.h
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedlldb/source/Core/ModuleList.cpp
The file was modifiedlldb/include/lldb/Symbol/Symtab.h
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
The file was modifiedlldb/source/Commands/CommandObjectSource.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/source/API/SBModule.cpp
The file was modifiedlldb/include/lldb/Core/Module.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/include/lldb/Core/ModuleSpec.h
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h
The file was modifiedlldb/source/Core/AddressResolverName.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/include/lldb/Target/DynamicLoader.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was modifiedlldb/source/Core/Module.cpp
The file was modifiedlldb/unittests/Core/MangledTest.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
The file was modifiedlldb/include/lldb/Core/ModuleList.h
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/source/API/SBTarget.cpp
The file was modifiedlldb/source/Symbol/Function.cpp
The file was modifiedlldb/source/Expression/IRExecutionUnit.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.h
The file was modifiedlldb/source/Symbol/Symtab.cpp
Commit dc748816e2aec8941d63f8ad07fb82aff6be8af7 by dan
[Builtins] Downgrade duplicate source file warning from a fatal error to
a warning.
This is a follow up to r375150 to unbreak the `clang-ppc64be-linux` bot.
The commit caused running the tests to fail due to
``` llvm-lit:
/home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/llvm/projects/compiler-rt/test/builtins/Unit/lit.cfg.py:116:
fatal: builtins_source_features contains duplicates:
['librt_has_divtc3']
```
This commit should be reverted once the build system bug for powerpc is
fixed.
llvm-svn: 375162
The file was modifiedcompiler-rt/test/builtins/Unit/lit.cfg.py
Commit 54017d0f526391a88e5e250a4bbc7a8ea77fa902 by martin
Revert "[LLDB] [test] Use %clang_cl instead of build.py in a few tests"
This reverts SVN r375156, as it seems to have broken tests when run on
macOS:
http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/2706/console
llvm-svn: 375163
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/function-types-calling-conv.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/disassembly.cpp
Commit 2ca8e27bd038673b514c8452d661a413ce0d2123 by jlettner
Reland "[lit] Synthesize artificial deadline"
We always want to use a deadline when calling `result.await`.  Let's
synthesize an artificial deadline (now plus one year) to simplify code
and do less busy waiting.
Thanks to Reid Kleckner for diagnosing that a deadline for of "positive
infinity" does not work with Python 3 anymore.  See commit:
4ff1e34b606d9a9fcfd8b8b5449a558315af94e5
I tested this patch with Python 2 and Python 3.
llvm-svn: 375165
The file was modifiedllvm/utils/lit/lit/run.py
Commit d5282dfc410c6af5518b046c3ec02339aaf19950 by eugeni.stepanov
libhwasan initialisation include kernel syscall ABI relaxation
Summary: Until now AArch64 development has been on patched kernels that
have an always on relaxed syscall ABI where tagged pointers are
accepted. The patches that have gone into the mainline kernel rely on
each process opting in to this relaxed ABI.
This commit adds code to choose that ABI into __hwasan_init.
The idea has already been agreed with one of the hwasan developers
(http://lists.llvm.org/pipermail/llvm-dev/2019-September/135328.html).
The patch ignores failures of `EINVAL` for Android, since there are
older versions of the Android kernel that don't require this `prctl` or
even have the relevant values.  Avoiding EINVAL will let the library run
on them.
I've tested this on an AArch64 VM running a kernel that requires this
prctl, having compiled both with clang and gcc.
Patch by Matthew Malcomson.
Reviewers: eugenis, kcc, pcc
Reviewed By: eugenis
Subscribers: srhines, kristof.beyls, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D68794
llvm-svn: 375166
The file was modifiedcompiler-rt/lib/hwasan/hwasan.h
The file was modifiedcompiler-rt/lib/hwasan/hwasan_linux.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan.cpp
Commit 9c5d76ff4d15e2cabf976911bd150302ae5fdeea by a.bataev
[OPENMP]Dow not emit warnings for uninitialized loop counters.
In OpenMP constructs all counters are initialized and we should not emit
warnings about uninitialized privatized loop control variables.
llvm-svn: 375167
The file was modifiedclang/lib/Analysis/CFG.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_linear_messages.cpp
The file was modifiedclang/test/Analysis/cfg-openmp.cpp
Commit edeebad7715774b8481103733dc5d52dac43bdf3 by rupprecht
[llvm-objcopy] Add support for shell wildcards
Summary: GNU objcopy accepts the --wildcard flag to allow wildcard
matching on symbol-related flags. (Note: it's implicitly true for
section flags).
The basic syntax is to allow *, ?, \, and [] which work similarly to how
they work in a shell. Additionally, starting a wildcard with ! causes
that wildcard to prevent it from matching a flag.
Use an updated GlobPattern in libSupport to handle these patterns. It
does not fully match the `fnmatch` used by GNU objcopy since named
character classes (e.g. `[[:digit:]]`) are not supported, but this
should support most existing use cases (mostly just `*` is what's used
anyway).
Reviewers: jhenderson, MaskRay, evgeny777, espindola, alexshap
Reviewed By: MaskRay
Subscribers: nickdesaulniers, emaste, arichardson, hiraditya,
jakehehrlich, abrachet, seiya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66613
llvm-svn: 375169
The file was modifiedllvm/docs/CommandGuide/llvm-strip.rst
The file was addedllvm/test/tools/llvm-objcopy/ELF/wildcard-flags.test
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.h
The file was modifiedllvm/tools/llvm-objcopy/CommonOpts.td
The file was addedllvm/test/tools/llvm-objcopy/ELF/wildcard-syntax.test
The file was modifiedllvm/tools/llvm-objcopy/llvm-objcopy.cpp
The file was modifiedllvm/docs/CommandGuide/llvm-objcopy.rst
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
Commit 3ebbda0f0845475e3aca118d0a93991288f55a3c by Adrian Prantl
Adapt Windows test to API change.
llvm-svn: 375170
The file was modifiedlldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
Commit 9a335b6eda4fa619c37ec23f2c8bce20c9207eb2 by jlettner
[lit] Move computation of deadline up into base class
llvm-svn: 375171
The file was modifiedllvm/utils/lit/lit/run.py
Commit a0f6c6434cc4fa98c83e57c9fb6608fb3248dc48 by Jonas Devlieghere
[test] Add a .clang-format file for the shell test.
The API tests have a .clang-format file that disables formatting
altogether. While this is needed for some tests, it also leads to
inconsistency between test files. The shell tests suffer from a similar
problem: a test with a source-file extension (.c, .cpp) will get
formatted, potentially breaking up lines and leading to invalid RUN
commands.
Rather than completely disabling formatting here, I propose to not
enforce a line limit instead. That way tests will be consistent, but you
can still have long run commands (as is not uncommon in LLVM either) and
use breakpoints with patters that extend beyond 80 cols.
Differential revision: https://reviews.llvm.org/D69058
llvm-svn: 375172
The file was addedlldb/test/Shell/.clang-format
Commit 69b3363a5340439d3ff793988c4d628644dedd71 by Raphael Isemann
[lldb] X-fail tests that use constructors in expressions on Windows
These tests were testing a bug related to constructors. It seems that on
Windows the expression command can't construct objects (or at least,
call their constructor explicitly which is required for the tests), so
this is just x-failing them until Windows actually supports constructor
calls.
llvm-svn: 375173
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/TestCallOverriddenMethod.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/ignore-artificial-constructors/TestIgnoreArtificialConstructors.py
Commit bbbc873f83e4c723541cdbb13634c8de833bc507 by saugustine
(NFC) Delete variable made unused by llvm-svn: 375160
Reviewers: aprantl
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69143
llvm-svn: 375174
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
Commit befab66a2c8f0b73736e68b6400675fa9593ee23 by Stanislav.Mekhanoshin
[AMDGPU] drop getIsFP td helper
We already have isFloatType helper, and they are out of sync. Drop one
and merge the type list.
Differential Revision: https://reviews.llvm.org/D69138
llvm-svn: 375175
The file was modifiedllvm/lib/Target/AMDGPU/BUFInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/FLATInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
Commit ecb310b3a7cf60d2bc28aaf8caf8fd29b9f11ec9 by hintonda
[Error] Make llvm::cantFail include the original error messages
Summary: The current implementation eats the current errors and just
outputs the message parameter passed to llvm::cantFail.  This change
appends the original error message(s), so the user can see exactly why
cantFail failed.  New logic is conditional on NDEBUG.
Reviewed By: lhames
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69057
llvm-svn: 375176
The file was modifiedllvm/unittests/Support/ErrorTest.cpp
The file was modifiedllvm/include/llvm/Support/Error.h
Commit 6caada4eb4654783a45f6ae7bb1cd0eebcf4b0bb by serguei.n.dmitriev
[clang-offload-wrapper][NFC] Use captured name of the entry type in LIT
test
Differential Revision: https://reviews.llvm.org/D69140
llvm-svn: 375177
The file was modifiedclang/test/Driver/clang-offload-wrapper.c
Commit 98a2ae7dadf897305e1cc2d9a5d63edf925c07f7 by rupprecht
Reland [llvm-objdump] Use a counter for llvm-objdump -h instead of the
section index.
This relands r374931 (reverted in r375088). It fixes 32-bit builds by
using the right format string specifier for uint64_t (PRIu64) instead of
`%d`.
Original description:
When listing the index in `llvm-objdump -h`, use a zero-based counter
instead of the actual section index (e.g. shdr->sh_index for ELF).
While this is effectively a noop for now (except one unit test for
XCOFF), the index values will change in a future patch that filters
certain sections out (e.g. symbol tables). See D68669 for more context.
Note: the test case in `test/tools/llvm-objdump/X86/section-index.s`
already covers the case of incrementing the section index counter when
sections are skipped.
Reviewers: grimar, jhenderson, espindola
Reviewed By: grimar
Subscribers: emaste, sbc100, arichardson, aheejin, arphaman, seiya,
llvm-commits, MaskRay
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68848
llvm-svn: 375178
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.h
The file was modifiedllvm/test/tools/llvm-objdump/xcoff-section-headers.test
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
Commit 5b0e039a7a7dc027ddadb1f3d350f2b53e30a479 by efriedma
[ARM] Fix arm_neon.h with -flax-vector-conversions=none, part 3
It's completely impossible to check that I've actually found all the
issues, due to the use of macros in arm_neon.h, but hopefully this time
it'll take more than a few hours for someone to find another issue.
I have no idea why, but apparently there's a rule that some, but not
all, builtins which should take an fp16 vector actually take an int8
vector as an argument.  Fix this, and add test coverage.
Differential Revision: https://reviews.llvm.org/D68838
llvm-svn: 375179
The file was modifiedclang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c
The file was modifiedclang/utils/TableGen/NeonEmitter.cpp
Commit 3d737b642a3a0688de9ed6dd3fe599bc2ed79847 by dblaikie
DebugInfo: Remove unused parameter (from
DwarfDebug.cpp:emitListsTableHeaderStart)
llvm-svn: 375180
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit c86a6acaee55c98072ff06d372d049cb4a671fb5 by lawrence_danna
clean up the implementation of PythonCallable::GetNumArguments
Summary: The current implementation of PythonCallable::GetNumArguments
is not exception safe, has weird semantics, and is just plain incorrect
for some kinds of functions.
Python 3.3 introduces inspect.signature, which lets us easily query for
function signatures in a sane and documented way.
This patch leaves the old implementation in place for < 3.3, but uses
inspect.signature for modern pythons.   It also leaves the old weird
semantics in place, but with FIXMEs grousing about it.   We should
update the callers and fix the semantics in a subsequent patch.    It
also adds some tests.
Reviewers: JDevlieghere, clayborg, labath, jingham
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68995
llvm-svn: 375181
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
Commit 03819d1c80ad5d7b34f8fe0d375fcd2ef6aa5e7f by lawrence_danna
eliminate one form of PythonObject::Reset()
Summary: I'd like to eliminate all forms of Reset() and all public
constructors on these objects, so the only way to make them is with
Take<> and Retain<> and the only way to copy or move them is with actual
c++ copy, move, or assignment.
This is a simple place to start.
Reviewers: JDevlieghere, clayborg, labath, jingham
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69080
llvm-svn: 375182
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
Commit 2941cda5be11332b3bd5c26be220ed18cd216c30 by dblaikie
DebugInfo: Move loclist base address from DwarfFile to DebugLocStream
There's no need to have more than one of these (there can be two
DwarfFiles - one for the .o, one for the .dwo - but only one loc/loclist
section (either in the .o or the .dwo) & certainly one per
DebugLocStream, which is currently singular in DwarfDebug)
llvm-svn: 375183
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DebugLocStream.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfFile.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
Commit 73b67f0b1a3ca835a4c0481abee87a96a2107b7d by Artem Dergachev
[analyzer] exploded-graph-rewriter: Make node headers a bit lighter.
The 50% grey color is too dark on some monitors.
llvm-svn: 375184
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/node_labels.dot
The file was modifiedclang/utils/analyzer/exploded-graph-rewriter.py
Commit d325196f19bfecff59252f3d214278fb6ee4ad61 by Artem Dergachev
[analyzer] Display cast kinds in program point dumps.
Because cast expressions have their own hierarchy, it's extremely useful
to have some information about what kind of casts are we dealing with.
llvm-svn: 375185
The file was modifiedclang/utils/analyzer/exploded-graph-rewriter.py
The file was modifiedclang/lib/Analysis/ProgramPoint.cpp
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/program_points.dot
Commit 14e9eb3d7caed026a805033a9ce7b9e70d18bf04 by Artem Dergachev
[analyzer] Assign truly stable identifiers to exploded nodes.
ExplodedGraph nodes will now have a numeric identifier stored in them
which will keep track of the order in which the nodes were created and
it will be fully deterministic both accross runs and across machines.
This is extremely useful for debugging as it allows reliably setting
conditional breakpoints by node IDs.
llvm-svn: 375186
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/constraints_diff.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/edge.dot
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/checker_messages.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/store.dot
The file was modifiedclang/test/Analysis/dump_egraph.c
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporter.cpp
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/environment_diff.dot
The file was modifiedclang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/store_diff.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/checker_messages_diff.dot
The file was modifiedclang/utils/analyzer/exploded-graph-rewriter.py
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/environment.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/constraints.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/trimmers.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/node_labels.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/program_points.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/topology.dot
Commit b31c6241566ed106999fa6ca38f020e0c81b84cd by Raphael Isemann
[lldb][NFC] Fix typo in DWARFASTParserClang.cpp
llvm-svn: 375187
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit 8b3ef1e45b06bfdc01cbc5e79df5c52ede5c88db by Artem Dergachev
[analyzer] exploded-graph-rewriter: Fix typo in r375186. Unbreaks tests.
llvm-svn: 375189
The file was modifiedclang/test/Analysis/dump_egraph.c
Commit 3266eac7142c0906fca06c9947e6ddc5f8dd3f6b by listmail
[Test] Precommit test for D69006
llvm-svn: 375190
The file was addedllvm/test/Analysis/ScalarEvolution/umin-umax-folds.ll
Commit 8eaa5b9abab3a358353c3d925b1dd0b3a6ee4b42 by listmail
[IndVars] Factor out some common code into a utility function
As requested in review of D69009
llvm-svn: 375191
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit d72637f5ccc43d457bfe227ccfe2eaa23936a37e by llvm
[ScopBuilder] Fix bug 38358 by preserving correct order of ScopStmts.
ScopBuilder::buildEqivClassBlockStmts creates ScopStmts for instruction
groups in basic block and inserts these ScopStmts into Scop::StmtMap,
however, as described in llvm.org/PR38358, comment #5, StmtScops are
inserted into vector ScopStmt[BB] in wrong order.  As a result,
ScopBuilder::buildSchedule creates wrong order sequence node.
Looking closer to code, it's clear there is no equivalent classes with
interleaving isOrderedInstruction(memory access) instructions after
joinOrderedInstructions.  Afterwards, ScopStmts need to be created and
inserted in the original order of memory access instructions, however,
at the moment ScopStmts are inserted in the order of leader instructions
which are probably not memory access instructions.
The fix is simple with a standalone loop scanning
isOrderedInstruction(memory access) instructions in basic block and
inserting elements into LeaderToInstList one by one.  The patch also
removes double reversing operations which are now unnecessary.
New test preserve-equiv-class-order-in-basic_block.ll is also added.
Differential Revision: https://reviews.llvm.org/D68941
llvm-svn: 375192
The file was addedpolly/test/ScopInfo/preserve-equiv-class-order-in-basic_block.ll
The file was modifiedpolly/lib/Analysis/ScopBuilder.cpp
Commit 13bf5eb1f4e1a19d49cc3bacd99219963765df9e by jlettner
[lit] worker.py: Improve code for executing a single test
llvm-svn: 375194
The file was modifiedllvm/utils/lit/lit/worker.py
Commit a3d2f9b53ac006cb972b61b0dbfcb5babe4356bf by jlettner
[lit] Move resolving of XFAIL result codes out of Test.setResult
This will allow us to serialize just the result object instead of the
whole lit.Test object back from the worker to the main lit process.
llvm-svn: 375195
The file was modifiedllvm/utils/lit/lit/worker.py
The file was modifiedllvm/utils/lit/lit/Test.py
Commit 7b9fd37fa11ef1c31c752163e3a51f221291ee3a by dave
[X86] Emit KTEST when possible
https://reviews.llvm.org/D69111
llvm-svn: 375197
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-mask-op.ll
Commit 807cecad5d9866e199ba3e418af4a984520248da by tlively
[WebAssembly] -pthread implies -target-feature +sign-ext
Summary: The sign extension proposal was motivated by a desire to not
have separate sign-extending atomic operations, so it is meant to be
enabled when threads are used.
Reviewers: aheejin, dschuff
Subscribers: sbc100, jgravelle-google, sunfish, jfb, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69075
llvm-svn: 375199
The file was modifiedclang/lib/Driver/ToolChains/WebAssembly.cpp
The file was modifiedclang/test/Driver/wasm-toolchain.c
Commit 9a5ad9bd5ad1fc2cc39039661491dbd8705a5626 by ruiu
Update release notes
llvm-svn: 375206
The file was modifiedlld/docs/ReleaseNotes.rst
Commit 459134064daeef03a762979ab162587f94361cdc by bjorn.a.pettersson
[InstCombine] Pre-commit of test case showing miscompile bug in
canEvaluateShuffled
Adding the reproducer from  https://bugs.llvm.org/show_bug.cgi?id=43689,
showing that instcombine is doing a bad transform. It transforms
  %0 = insertelement <2 x i16> undef, i16 %a, i32 0
%1 = srem <2 x i16> %0, <i16 2, i16 1>
%2 = shufflevector <2 x i16> %1, <2 x i16> undef, <2 x i32> <i32 undef,
i32 0>
into
   %1 = insertelement <2 x i16> undef, i16 %a, i32 1
  %2 = srem <2 x i16> %1, <i16 undef, i16 2>
The undef denominator makes the whole srem undefined.
llvm-svn: 375207
The file was addedllvm/test/Transforms/InstCombine/shufflevector-div-rem.ll
Commit 6456252dbf67f26f88873e92c0813ebf8a1f96a3 by bjorn.a.pettersson
[InstCombine] Fix miscompile bug in canEvaluateShuffled
Summary: Add restrictions in canEvaluateShuffled to prevent that we for
example transform
  %0 = insertelement <2 x i16> undef, i16 %a, i32 0
%1 = srem <2 x i16> %0, <i16 2, i16 1>
%2 = shufflevector <2 x i16> %1, <2 x i16> undef, <2 x i32> <i32 undef,
i32 0>
into
   %1 = insertelement <2 x i16> undef, i16 %a, i32 1
  %2 = srem <2 x i16> %1, <i16 undef, i16 2>
as having an undef denominator makes the srem undefined (for all vector
elements).
Fixes: https://bugs.llvm.org/show_bug.cgi?id=43689
Reviewers: spatel, lebedev.ri
Reviewed By: spatel, lebedev.ri
Subscribers: lebedev.ri, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69038
llvm-svn: 375208
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/test/Transforms/InstCombine/shufflevector-div-rem.ll
Commit 0c7cc383e5b846bc9e9fcc599d3f342333f5c963 by kerry.mclaughlin
[AArch64][SVE] Implement unpack intrinsics
Summary: Implements the following intrinsics:
- int_aarch64_sve_sunpkhi
- int_aarch64_sve_sunpklo
- int_aarch64_sve_uunpkhi
- int_aarch64_sve_uunpklo
This patch also adds AArch64ISD nodes for UNPK instead of implementing
the intrinsics directly, as they are required for a future patch which
implements the sign/zero extension of legal vectors.
This patch includes tests for the Subdivide2Argument type added by
D67549
Reviewers: sdesmalen, SjoerdMeijer, greened, rengolin, rovka
Reviewed By: greened
Subscribers: tschuett, kristof.beyls, rkruppe, psnobl, cfe-commits,
llvm-commits
Differential Revision: https://reviews.llvm.org/D67550
llvm-svn: 375210
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-perm-select.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
Commit e6f313b3807d23017d188aa7060b8cad09b3d095 by david.green
[Codegen] Alter the default promotion for saturating adds and subs
The default promotion for the add_sat/sub_sat nodes currently does:
   ANY_EXTEND iN to iM
   SHL by M-N
   [US][ADD|SUB]SAT
   L/ASHR by M-N
If the promoted add_sat or sub_sat node is not legal, this can produce
code that effectively does a lot of shifting (and requiring large
constants to be materialised) just to use the overflow flag. It is
simpler to just do the saturation manually, using the higher bitwidth
addition and a min/max against the saturating bounds. That is what this
patch attempts to do.
Differential Revision: https://reviews.llvm.org/D68926
llvm-svn: 375211
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/X86/uadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/X86/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/ssub_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/ssub_sat_plus.ll
The file was modifiedllvm/test/CodeGen/X86/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/usub_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/sadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/X86/ssub_sat_plus.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/test/CodeGen/ARM/uadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/AArch64/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/usub_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/usub_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/usub_sat_plus.ll
The file was modifiedllvm/test/CodeGen/AArch64/usub_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/usub_sat_plus.ll
The file was modifiedllvm/test/CodeGen/ARM/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/sadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/X86/usub_sat_plus.ll
The file was modifiedllvm/test/CodeGen/X86/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/ssub_sat_plus.ll
Commit da40d4e4e1bfa705dbf59ebce097ed34b0e46dfc by llvm-dev
Fix MSVC "result of 32-bit shift implicitly converted to 64 bits"
warnings. NFCI.
llvm-svn: 375213
The file was modifiedllvm/lib/Object/MachOUniversal.cpp
The file was modifiedllvm/tools/llvm-objdump/MachODump.cpp
Commit 3bd61b26556027a23b0d161d403f07fd7387ac77 by llvm-dev
Fix MSVC "not all control paths return a value" warning. NFCI.
llvm-svn: 375214
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
Commit ef04598e147396e7225964ae8438ecbf6554b095 by llvm-dev
[X86] Regenerate memcmp tests and add X64-AVX512 common prefix
Should help make the changes in D69157 clearer
llvm-svn: 375215
The file was modifiedllvm/test/CodeGen/X86/memcmp.ll
Commit 651f07908a149b8eb861a1b109f98eeb3d4f1517 by david.green
[AArch64] Don't combine callee-save and local stack adjustment when
optimizing for size
For arm64, D18619 introduced the ability to combine bumping the stack
pointer upfront in case it needs to be bumped for both the callee-save
area as well as the local stack area.
That diff already remarks that "This change can cause an increase in
instructions", but argues that even when that happens, it should be
still be a performance benefit because the number of micro-ops is
reduced.
We have observed that this code-size increase can be significant in
practice. This diff disables combining stack bumping for methods that
are marked as optimize-for-size.
Example of a prologue with the behavior before this diff (combining
stack bumping when possible):
sub        sp, sp, #0x40
stp        d9, d8, [sp, #0x10]
stp        x20, x19, [sp, #0x20]
stp        x29, x30, [sp, #0x30]
add        x29, sp, #0x30
[... compute x8 somehow ...]
stp        x0, x8, [sp]
And after this  diff, if the method is marked as optimize-for-size:
stp        d9, d8, [sp, #-0x30]!
stp        x20, x19, [sp, #0x10]
stp        x29, x30, [sp, #0x20]
add        x29, sp, #0x20
[... compute x8 somehow ...]
stp        x0, x8, [sp, #-0x10]!
Note that without combining the stack bump there are two
auto-decrements, nicely folded into the stp instructions, whereas
otherwise there is a single sub sp, ... instruction, but not folded.
Patch by Nikolai Tillmann!
Differential Revision: https://reviews.llvm.org/D68530
llvm-svn: 375217
The file was addedllvm/test/CodeGen/AArch64/arm64-never-combine-csr-local-stack-bump-for-size.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
Commit b38f577c015c210605c2e463e9ac6a03249225a2 by martin
[LLD] [COFF] Try to report source locations for duplicate symbols
This fixes the second part of PR42407.
For files with dwarf debug info, it manually loads and iterates
.debug_info to find the declared location of variables, to allow
reporting them. (This matches the corresponding code in the ELF linker.)
For functions, it uses the existing getFileLineDwarf which uses
LLVMSymbolizer for translating addresses to file lines.
In object files with codeview debug info, only the source location of
duplicate functions is printed. (And even there, only for the first
input file. The getFileLineCodeView function requires the object file to
be fully loaded and initialized to properly resolve source locations,
but duplicate symbols are reported at a stage when the second object
file isn't fully loaded yet.)
Differential Revision: https://reviews.llvm.org/D68975
llvm-svn: 375218
The file was modifiedlld/test/COFF/duplicate.test
The file was modifiedlld/test/COFF/conflict-mangled.test
The file was addedlld/test/COFF/duplicate-cv.s
The file was modifiedlld/COFF/SymbolTable.cpp
The file was modifiedlld/COFF/SymbolTable.h
The file was modifiedlld/COFF/InputFiles.cpp
The file was modifiedlld/test/COFF/conflict.test
The file was addedlld/test/COFF/duplicate-dwarf.s
The file was modifiedlld/COFF/InputFiles.h
Commit eb34c3e8a4a8311a4df5f13b217275e7c1985dc8 by eleviant
[ThinLTOCodeGenerator] Add support for index-based WPD
Differential revision: https://reviews.llvm.org/D68950
llvm-svn: 375219
The file was addedllvm/test/ThinLTO/X86/devirt_promote_legacy.ll
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
Commit 9c155985f17fd369bbba311b714fb6c01c17d66e by sjoerd.meijer
[Arm][libsanitizer] Fix arm libsanitizer failure with bleeding edge
glibc
Glibc has recently introduced changed to the mode field in ipc_perm in
commit 2f959dfe849e0646e27403f2e4091536496ac0f0. For Arm this means that
the mode field no longer has the same size.
This causes an assert failure against libsanitizer's internal copy of
ipc_perm. Since this change can't be easily detected I am adding arm to
the list of targets that are excluded from this check.
Patch by: Tamar Christina
Differential Revision: https://reviews.llvm.org/D69104
llvm-svn: 375220
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
Commit 0c304917740228968d2daf1a414e7ec3f94cd171 by pavel
SystemInitializerCommon fix compilation on linux
C++ defines two overloads of std::iscntrl. One in <cctype> and one in
<locale>. On linux we seem to include both which makes the std::erase_if
call ambiguous.
Wrap std::iscntrl call in a lambda to ensure regular overload
resolution.
llvm-svn: 375221
The file was modifiedlldb/source/Initialization/SystemInitializerCommon.cpp
Commit 84da2596f96d388e9cd21d16e64687bca68f436a by graham.hunter
[AArch64][SVE] Add SPLAT_VECTOR ISD Node
Adds a new ISD node to replicate a scalar value across all elements of a
vector. This is needed for scalable vectors, since BUILD_VECTOR cannot
be used.
Fixes up default type legalization for scalable vectors after the new
MVT type ranges were introduced.
At present I only use this node for scalable vectors. A DAGCombine has
been added to transform a BUILD_VECTOR into a SPLAT_VECTOR if all
elements are the same, but only if the default operation action of
Expand has been overridden by the target.
I've only added result promotion legalization for scalable vector
i8/i16/i32/i64 types in AArch64 for now.
Reviewers: t.p.northover, javed.absar, greened, cameron.mcinally,
jmolloy
Reviewed By: jmolloy
Differential Revision: https://reviews.llvm.org/D47775
llvm-svn: 375222
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was addedllvm/test/CodeGen/AArch64/sve-vector-splat.ll
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
Commit bc887a8d4a379625f9abf3d53cfa56fb1d26e78d by eleviant
[ThinLTOCodeGenerator] Add support for index-based WPD
This is clang part of the patch. It adds -flto-unit flag for thin LTO
builds on Mac and PS4
Differential revision: https://reviews.llvm.org/D68950
llvm-svn: 375224
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/Driver/lto-unit.c
Commit 65f61c0030c5c375852f27ff6dd21e6a078e2420 by hokein
[clangd] Report declaration references in findExplicitReferences.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68977
llvm-svn: 375226
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang-tools-extra/clangd/AST.h
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.h
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
Commit ffcd7698aea7bcbb2b4edffc484793e1ff47b85d by victor.campos
[AArch64] Adding support for PMMIR_EL1 register
Summary: The PMMIR_EL1 register is present in Armv8.4 with PMU
extension. This patch adds support for it.
Reviewers: t.p.northover, dnsampaio
Reviewed By: dnsampaio
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68940
llvm-svn: 375228
The file was modifiedllvm/lib/Target/AArch64/AArch64.td
The file was addedllvm/test/MC/AArch64/armv8.4a-pmu.s
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.h
The file was addedllvm/test/MC/Disassembler/AArch64/armv8.4a-pmu.txt
The file was modifiedllvm/lib/Target/AArch64/AArch64SystemOperands.td
Commit fa0ac2558eaf3860c377744e4fef71d6b730d358 by lebedev.ri
[NFC][CVP] Count all the no-wraps we proved
Summary: It looks like this is the only missing statistic in the CVP
pass. Since we prove NSW and NUW separately i'd think we should count
them separately too.
Reviewers: nikic, spatel, reames
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68740
llvm-svn: 375230
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
Commit 7d325fe57b422116c910f3dba66f6266b2f9409b by dmitry.preobrazhensky
[AMDGPU][MC][GFX9] Corrected parsing of v_cndmask_b32_sdwa
See https://bugs.llvm.org/show_bug.cgi?id=43607
Reviewers: arsenm, rampitec
Differential Revision: https://reviews.llvm.org/D69095
llvm-svn: 375231
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/test/MC/AMDGPU/vop_sdwa.s
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
Commit e64863d19242c12187ce15768d4a65ad9725e2ce by victor.campos
[SCEV] Removing deprecated comment in ScalarEvolutionExpander
Removing a comment in the ScalarEvolutionExpander.cpp file that was
about the class SCEVSDivExpr, which has been long gone from LLVM.
llvm-svn: 375232
The file was modifiedllvm/lib/Analysis/ScalarEvolutionExpander.cpp
Commit dd7021d466d175525c6d8e35f0cd20338b008540 by nemanja.i.ibm
Revert r375152 as it is causing failures on EXPENSIVE_CHECKS bot
llvm-svn: 375233
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/vec-min-max.ll
The file was modifiedllvm/test/CodeGen/PowerPC/brcond.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pr42492.ll
The file was modifiedllvm/test/CodeGen/PowerPC/tocSaveInPrologue.ll
The file was modifiedllvm/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll
Commit ea8b8fdf90d3d72db04b07950e913536a2116608 by pavel
Add REQUIRES: x86 to more tests which need the x86 llvm target built
llvm-svn: 375234
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/unwind-via-stack-win.test
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/unwind-via-stack-cfi.test
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py
Commit 7e8f79cdc1ef7149960ed01a6ad32393b1038bed by eleviant
Attempt to fix PS4 buildbot after r375219
llvm-svn: 375235
The file was modifiedllvm/test/ThinLTO/X86/devirt_promote_legacy.ll
Commit be78734371e9e172e6c9d883f5acf023dcffdc1b by eleviant
One more attempt to fix PS4 buildbot after r375219
PS4 buildbot seems to be dropping variable names for some reason
llvm-svn: 375237
The file was modifiedllvm/test/ThinLTO/X86/devirt_promote_legacy.ll
Commit 92fea8bb8dffe8f5a7653c9635d409c17b7222eb by michael.hliao
[lld][coff] Add missing dependency to fix build.
llvm-svn: 375238
The file was modifiedlld/COFF/CMakeLists.txt
Commit e44524736c4a97ae4fb37193e58647f838f6d36a by jotrem
Add ExceptionStream to llvm::Object::minidump
Summary: This will allow updating MinidumpYAML and LLDB to use this
common definition.
Reviewers: labath, jhenderson, clayborg
Reviewed By: labath
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68656
llvm-svn: 375239
The file was modifiedllvm/unittests/Object/MinidumpTest.cpp
The file was modifiedllvm/include/llvm/Object/Minidump.h
The file was modifiedllvm/include/llvm/BinaryFormat/Minidump.h
Commit d5afdbe5a456c055df19421c8d1810d65fbfaeee by jmolloy
[DFAPacketizer] Fix large compile-time regression for VLIW targets
D68992 / rL375086 refactored the packetizer and removed a bunch of
logic. Unfortunately it creates an Automaton object whenever a
DFAPacketizer is required. These objects have no longevity, and in
particular on a debug build the population of the Automaton's transition
map from the underlying table is very slow (because it is called ~10
times per MachineFunction, in the testcase I'm looking at).
This patch changes Automaton to wrap its underlying constant data in
std::shared_ptr, which allows trivial copy construction. The
DFAPacketizer creation function now creates a static archetypical
Automaton and copies that whenever a new DFAPacketizer is required.
This takes a testcase down from ~20s to ~0.5s in debug mode.
llvm-svn: 375240
The file was modifiedllvm/include/llvm/Support/Automaton.h
The file was modifiedllvm/utils/TableGen/DFAPacketizerEmitter.cpp
Commit 6c7d7eebda38340d8bbaf99c6ceedb55e32c3a72 by dmitry.preobrazhensky
[AMDGPU][MC][GFX10] Added sdwa/dpp versions of v_cndmask_b32
See https://bugs.llvm.org/show_bug.cgi?id=43608
Reviewers: arsenm, rampitec
Differential Revision: https://reviews.llvm.org/D69096
llvm-svn: 375241
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_dpp16.txt
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/wave32.txt
The file was modifiedllvm/test/MC/AMDGPU/gfx10_asm_dpp8.s
The file was modifiedllvm/test/MC/AMDGPU/wave32.s
Commit a50272f8261f775d085524672d33cf67b27cd045 by jotrem
Update MinidumpYAML to use minidump::Exception for exception stream
Reviewers: labath, jhenderson, clayborg, MaskRay, grimar
Reviewed By: grimar
Subscribers: lldb-commits, grimar, MaskRay, hiraditya, llvm-commits
Tags: #llvm, #lldb
Differential Revision: https://reviews.llvm.org/D68657
llvm-svn: 375242
The file was modifiedllvm/include/llvm/ObjectYAML/MinidumpYAML.h
The file was modifiedllvm/test/tools/obj2yaml/basic-minidump.yaml
The file was modifiedllvm/unittests/ObjectYAML/MinidumpYAMLTest.cpp
The file was modifiedllvm/lib/ObjectYAML/MinidumpYAML.cpp
The file was modifiedllvm/lib/ObjectYAML/MinidumpEmitter.cpp
The file was addedllvm/test/tools/yaml2obj/minidump-exception-missing-parameter.yaml
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/linux-x86_64.yaml
Commit d094d97d02232f3c7c5b3b792760cedb5ccac25b by jotrem
LLDB: Use LLVM's type for minidump ExceptionStream [NFC]
Summary: The types defined for it in LLDB are now redundant with core
types.
Reviewers: labath, clayborg
Reviewed By: clayborg
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68658
llvm-svn: 375243
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.h
The file was modifiedlldb/source/Plugins/Process/minidump/MinidumpTypes.cpp
The file was modifiedlldb/source/Plugins/Process/minidump/MinidumpParser.h
The file was modifiedlldb/source/Plugins/Process/minidump/MinidumpTypes.h
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
The file was modifiedlldb/source/Plugins/Process/minidump/MinidumpParser.cpp
The file was modifiedlldb/unittests/Process/minidump/MinidumpParserTest.cpp
Commit 77460d3888c56a6ed8184783388ed109590ee199 by jotrem
ProcessMinidump: Suppress reporting stop for signal '0'
Summary: The minidump exception stream can report an exception record
with signal 0.  If we try to create a stop reason with signal zero,
processing of the stop event won't find anything, and the debugger will
hang. So, simply early-out of RefreshStateAfterStop in this case.
Also set the UnixSignals object in DoLoadCore as is done for
ProcessElfCore.
Reviewers: labath, clayborg, jfb
Reviewed By: labath, clayborg
Subscribers: dexonsmith, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68096
llvm-svn: 375244
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/linux-x86_64_null_signal.yaml
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
Commit 7e5d5ee873e14b7e3db0ee07fa402aca13f83a36 by michael.hliao
[tooling] Relax an assert when multiple GPU targets are specified.
llvm-svn: 375245
The file was modifiedclang/lib/Tooling/Tooling.cpp
Commit eff2a2ab2b51070133c39336c91b3f8d1c31e0c4 by krasimir
[clang-format] fix regression recognizing casts in Obj-C calls
Summary: r373922 added checks for a few tokens that, following an `)`
make it unlikely that the `)` is the closing paren of a cast expression.
The specific check for `tok::l_square` there introduced a regression for
casts of Obj-C calls, like:
```
(cast)[func arg]
``` From the tests added in r373922, I believe the `tok::l_square` case
is added to capture the case where a non-cast `)` is directly followed
by an attribute specifier, like:
``` int f(int x) [[noreturn]];
```
I've specialized the code to look for such attribute specifier instead
of `tok::l_square` in general. Also, I added a regression test and moved
the test cases added in r373922 to an already existing place documenting
other instances of historically misidentified casts.
Reviewers: MyDeveloperDay
Reviewed By: MyDeveloperDay
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69164
llvm-svn: 375247
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit aa3806b47c74c814c9cb6f1de6a5570998b8f011 by jay.foad
Update docs for fast-math flags.
This adds fneg, phi and select to the list of operations that may use
fast-math flags.
llvm-svn: 375250
The file was modifiedllvm/docs/LangRef.rst
Commit a162817a2b7ca0d7bd285a2a3e969a3a652aad57 by jay.foad
[IR] Reimplement FPMathOperator::classof as a whitelist.
Summary: This makes it much easier to verify that the implementation
matches the documentation. It uncovered a bug in the unit tests where we
were accidentally setting fast math flags on a load instruction.
Reviewers: spatel, wristow, arsenm, hfinkel, aemerson, efriedma,
cameron.mcinally, mcberg2017, jmolloy
Subscribers: wdng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69176
llvm-svn: 375252
The file was modifiedllvm/include/llvm/IR/Operator.h
The file was modifiedllvm/unittests/IR/IRBuilderTest.cpp
Commit 696794b66eb29f12a3138a02ef647769bbf9fb38 by llvm-dev
[X86] combineX86ShufflesRecursively - pull out
isTargetShuffleVariableMask. NFCI.
llvm-svn: 375253
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 7e1637451d20d40553165f806094ada30cb0a708 by yamauchi
[PGO][PGSO] SizeOpts changes.
Summary:
(Split of off D67120)
SizeOpts/MachineSizeOpts changes for profile guided size optimization.
Reviewers: davidxl
Subscribers: mgorny, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69070
llvm-svn: 375254
The file was addedllvm/lib/CodeGen/MachineSizeOpts.cpp
The file was modifiedllvm/unittests/CodeGen/CMakeLists.txt
The file was addedllvm/include/llvm/CodeGen/MachineSizeOpts.h
The file was modifiedllvm/lib/Transforms/Utils/SizeOpts.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/SizeOpts.h
The file was modifiedllvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
The file was modifiedllvm/lib/CodeGen/MachineLoopInfo.cpp
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was modifiedllvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
The file was modifiedllvm/include/llvm/CodeGen/MachineLoopInfo.h
The file was addedllvm/unittests/CodeGen/MachineSizeOptsTest.cpp
The file was modifiedllvm/unittests/Transforms/Utils/CMakeLists.txt
The file was addedllvm/unittests/Transforms/Utils/SizeOptsTest.cpp
The file was modifiedllvm/lib/CodeGen/MachineDominators.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineDominators.h
Commit b8552abfe7ce0c4cd37d136bbcf8cb319a28f260 by a.bataev
[OPENMP50]Add support for master taskloop simd.
Added  trsing/semantics/codegen for combined construct master taskloop
simd.
llvm-svn: 375255
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/lib/AST/StmtOpenMP.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_collapse_messages.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_firstprivate_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_num_tasks_messages.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_misc_messages.c
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_private_codegen.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/include/clang/AST/StmtOpenMP.h
The file was addedclang/test/OpenMP/master_taskloop_simd_aligned_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_final_messages.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was addedclang/test/OpenMP/master_taskloop_simd_lastprivate_messages.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_in_reduction_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_linear_messages.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/include/clang-c/Index.h
The file was addedclang/test/OpenMP/master_taskloop_simd_reduction_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_simdlen_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_ast_print.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_reduction_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_loop_messages.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.h
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_firstprivate_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_private_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_grainsize_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_priority_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_safelen_messages.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
Commit 52dc406efc717cf5aca1f5ee5600382f348969db by llvmgnsyncbot
gn build: Merge r375254
llvm-svn: 375256
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Transforms/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
Commit 80fe5cffd2eef46ebd19aac6d8c6f2c3f9b4290f by a.bataev
[DOCS]Update list of implemented constructs, NFC.
llvm-svn: 375257
The file was modifiedclang/docs/OpenMPSupport.rst
Commit 7f704320b058f7217847ee0e599f64e2ce50447c by modocache
[Format] Add format check for throwing negative numbers
Summary: The code `throw -1;` is currently formatted by clang-format as
`throw - 1;`. This diff adds a fix for this edge case and a test to
check for this in the future.
For context, I am looking into a related bug in the clang-formatting of
coroutine keywords: `co_yield -1;` is also reformatted in this manner as
`co_yield - 1;`. A later diff will add these changes and tests for the
`co_yield` and `co_return` keywords.
Patch by Jonathan Thomas (jonathoma)!
Reviewers: modocache, sammccall, Quuxplusone
Reviewed By: sammccall
Subscribers: cfe-commits
Tags: #clang-format, #clang
Differential Revision: https://reviews.llvm.org/D69144
llvm-svn: 375258
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit ded44e220f6ce15258663a0353cccc188211f1d7 by Jonas Devlieghere
[Reproducer] Use ::rtrim() to remove trailing control characters.
Pavel correctly pointed out that removing all control characters from
the working directory is overkill. It should be sufficient to just strip
the last ones.
llvm-svn: 375259
The file was modifiedlldb/source/Initialization/SystemInitializerCommon.cpp
Commit d532f12c82e31ebe260177c0812d20b6a8235272 by lebedev.ri
[NFC][CVP] Add @llvm.*.sat tests where we could prove both no-overflows
llvm-svn: 375260
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/overflows.ll
Commit 9a055dc19163b5e9eaa0dde6869502fd33b4f44e by lebedev.ri
[Codegen] Link MIRParser into CodeGenTests to fix MachineSizeOptsTest
building
llvm-svn: 375261
The file was modifiedllvm/unittests/CodeGen/CMakeLists.txt
Commit 17bb660fb83e869652ac87b145b0e26b708aab60 by jlettner
[lit] Only send back test result from worker process
Avoid sending back the whole run.Test object (which needs to be pickled)
from the worker process when we are only interested in the test result.
llvm-svn: 375262
The file was modifiedllvm/utils/lit/lit/LitTestCase.py
The file was modifiedllvm/utils/lit/lit/worker.py
The file was modifiedllvm/utils/lit/lit/run.py
Commit 0381867f8454548c5242830b98a0e4913a05084a by jlettner
[lit] Remove unnecessary tracking of test_index
llvm-svn: 375263
The file was modifiedllvm/utils/lit/lit/run.py
The file was modifiedllvm/utils/lit/lit/worker.py
Commit 80873de5323884d942cf23c0164a6cc932e9ab7e by jlettner
[lit] Reduce value of synthesized timeouts
Large timeout values (one year, positive infinity) trip up Python on
Windows with "OverflowError: timeout value is too large".  One week
seems to work and is still large enough in practice.
Thanks to Simon Pilgrim for helping me test this.
https://reviews.llvm.org/rL375171
llvm-svn: 375264
The file was modifiedllvm/utils/lit/lit/run.py
Commit 2f41a023afdb68364ea490135874425e85faa574 by Austin.Kerbow
AMDGPU: Fix SMEM WAR hazard for gfx10 readlane
Summary: Hazard recognizer fails to see hazard with
V_READLANE_B32_gfx10.
Reviewers: rampitec
Reviewed By: rampitec
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69172
llvm-svn: 375265
The file was modifiedllvm/test/CodeGen/AMDGPU/smem-war-hazard.mir
The file was modifiedllvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
Commit 1ac3f80a6a097afd776e925fee4b1176b4383d7f by Lang Hames
[examples] Add an example of how to use JITLink and small-code-model
with LLJIT.
JITLink is LLVM's newer jit-linker. It is an alternative to (and
hopefully eventually a replacement for) LLVM's older jit-linker,
RuntimeDyld. Unlike RuntimeDyld which requries JIT'd code to be complied
with the large code model, JITlink can link code compiled with the small
code model, which is the native code model for a number of targets
(including all supported MachO targets).
This example shows how to:
-- Create a JITLink InProcessMemoryManager
-- Set the code model to small
-- Use a JITLink backed ObjectLinkingLayer as the linking layer for
LLJIT
  (rather than the default RTDyldObjectLinkingLayer).
Note: This example will only work on platforms supported by JITLink. As
of this commit that's MachO/x86-64 and MachO/arm64.
llvm-svn: 375266
The file was modifiedllvm/examples/LLJITExamples/CMakeLists.txt
The file was addedllvm/examples/LLJITExamples/LLJITWithJITLink/CMakeLists.txt
The file was addedllvm/examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp
Commit f9a42ed0a7f67979cdd20391366e2a059c2e14c8 by Matthew.Arsenault
AMDGPU: Relax 32-bit SGPR register class
Mostly use SReg_32 instead of SReg_32_XM0 for arbitrary values. This
will allow the register coalescer to do a better job eliminating copies
to m0.
For GlobalISel, as a terrible hack, use SGPR_32 for things that should
use SCC until booleans are solved.
llvm-svn: 375267
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-extract.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-concat-vectors.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-anyext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/inline-constraints.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-or.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.sin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.readfirstlane.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.class.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-smax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-smrd.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.sin.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-bitreverse.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-select.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-trunc.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pk.i16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ctpop.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ashr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.ldexp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.legacy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-mul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.mbcnt.lo.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptrtoint.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-smulh.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pkrtz.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptr-mask.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pknorm.i16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-shl.s16.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rcp.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pk.u16.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.s.sendmsg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.sffbh.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.ldexp.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fabs.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-lshr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pknorm.u16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fract.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-uitofp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.class.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-zext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cos.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-umin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-xor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sub.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-and.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-implicit-def.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-frame-index.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rcp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-merge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-uaddo.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-shl.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ashr.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fptoui.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-usubo.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-umulh.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-icmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fneg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fptosi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-gep.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fmed3.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rcp.legacy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-brcond.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-ffbh-u32.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cos.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fract.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.writelane.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-unmerge-values.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sitofp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum-ieee.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcmp.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum-ieee.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/read_register.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-add.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-umax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fmed3.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-lshr.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.clamp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-copy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.readlane.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir
Commit bb7dd55f675f156c26b98bd7e411a46412cb15d2 by Lang Hames
[examples] Fix some comments in the LLJITWithJITLink example
llvm-svn: 375269
The file was modifiedllvm/examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp
Commit 5c28d49314c7bb84f08c9db3acd5ff64e1c4bc2d by Raphael Isemann
[lldb][NFC] Remove wrong tests in TestCallOverriddenMethod
We call these tests in the second test function where they are x-failed
on Windows. I forgot to remove the tests from the first test function
(which is not x-failed on Windows) when extracting these calls into
their own test function, so the test is still failing on Windows.
llvm-svn: 375271
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/TestCallOverriddenMethod.py
Commit 284b6d7f4da2260d996834fd1fabec461310bc96 by lebedev.ri
[CVP] After proving that @llvm.with.overflow()/@llvm.sat() don't
overflow, also try to prove other no-wrap
Summary: CVP, unlike InstCombine, does not run till exaustion. It only
does a single pass.
When dealing with those special binops, if we prove that they can safely
be demoted into their usual binop form, we do set the no-wrap we
deduced. But when dealing with usual binops, we try to deduce both
no-wraps.
So if we convert e.g. @llvm.uadd.with.overflow() to `add nuw`, we won't
attempt to check whether it can be `add nuw nsw`.
This patch proposes to call `processBinOp()` on newly-created binop,
which is identical to what we do for div/rem already.
Reviewers: nikic, spatel, reames
Reviewed By: nikic
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69183
llvm-svn: 375273
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/overflows.ll
Commit 788acc6ff8ee3b2fc16a3f68179b0b445f6f4381 by rprichard
[libunwind][Android] Fix findUnwindSections for ARM EHABI Bionic
Summary: Fix the arm_section_length count. The meaning of the
arm_section_length field changed from num-of-elements to num-of-bytes
when the dl_unwind_find_exidx special case was removed (D30306 and
D30681). The special case was restored in D39468, but that patch didn't
account for the change in arm_section_length's meaning.
That patch worked when it was applied to the NDK's fork of libunwind,
because it never removed the special case in the first place, and the
special case is probably disabled in the Android platform's copy of
libunwind, because __ANDROID_API__ is greater than 21.
Turn the dl_unwind_find_exidx special case on unconditionally for
Bionic. Bionic's dl_unwind_find_exidx is much faster than using
dl_iterate_phdr.
(e.g. Bionic stores exidx info on an internal soinfo object.)
Reviewers: thomasanderson, srhines, danalbert, ed, keith.walker.arm,
mclow.lists, compnerd
Reviewed By: srhines, danalbert
Subscribers: srhines, kristof.beyls, christof, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D68972
llvm-svn: 375275
The file was modifiedlibunwind/src/AddressSpace.hpp
The file was modifiedlibunwind/src/UnwindCursor.hpp
Commit cf25242daaf876085f6f665c26fa3aa3cd502040 by peter
scudo: Update TLS_SLOT_SANITIZER value.
Android now allocates only 8 fixed TLS slots. Somehow we were getting
away with using a non-existent slot until now, but in some cases the TLS
slots were being placed at the end of a page, which led to a segfault at
startup.
Differential Revision: https://reviews.llvm.org/D69191
llvm-svn: 375276
The file was modifiedcompiler-rt/lib/scudo/standalone/linux.h
Commit 9f9151d49410cee6aa8528b109f3753878b30ba3 by quentin.colombet
[GISel][CallLowering] Make isIncomingArgumentHandler a pure virtual
method
The default implementation of isIncomingArgumentHandler could lead to
generating incorrect code. Make it a pure virtual method, so that
targets know they have to override it to produce correct code.
NFC
Differential Revision: https://reviews.llvm.org/D69187
llvm-svn: 375277
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86CallLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMCallLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
Commit 7a17f197093a6872d910b7486cfd43a53aba220b by Artem Dergachev
[analyzer] Fix hidden node traversal in exploded graph dumps.
The joined nodes now actually have the same state. That was intended
from the start but the original implementation turned out to be buggy.
Differential Revision: https://reviews.llvm.org/D69150
llvm-svn: 375278
The file was modifiedclang/test/Analysis/dump_egraph.c
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
Commit d93b810cd673d37598ed05334a662e6878c32812 by Artem Dergachev
[analyzer] exploded-graph-rewriter: Fix dump for state 0.
It shouldn't say "unspecified" when the state is specified to be empty.
llvm-svn: 375279
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/edge.dot
The file was modifiedclang/utils/analyzer/exploded-graph-rewriter.py
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/node_labels.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/program_points.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/trimmers.dot
Commit b3e34e043cae03e56f2a1b23eae1669e1c3be770 by Artem Dergachev
[analyzer] Drop the logic for collapsing the state if it's same as in
preds.
One of the first attempts to reduce the size of the exploded graph dumps
was to skip the state dump as long as the state is the same as in all of
the predecessor nodes. With all the new facilities in place (node
joining, diff dumps), this feature doesn't do much, and when it does,
it's more harmful than useful. Let's remove it.
llvm-svn: 375280
The file was modifiedclang/test/Analysis/dump_egraph.c
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
Commit 2b4f6df91775a4f13233a04d3377f8233c7087f6 by Artem Dergachev
[analyzer] Fix FieldRegion dumps.
The '->' thing has always been confusing; the actual operation '->'
translates to a pointer dereference together with adding a FieldRegion,
but FieldRegion on its own doesn't imply an additional pointer
dereference.
llvm-svn: 375281
The file was modifiedclang/test/Analysis/dump_egraph.cpp
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/MemRegion.cpp
The file was modifiedclang/test/Analysis/expr-inspection.c
Commit c6921379f55ee566fb62ba5aa47b217cf7c5d960 by Artem Dergachev
[analyzer] exploded-graph-rewriter: Rename Environment to Expressions.
It's less confusing for newcomers.
llvm-svn: 375282
The file was modifiedclang/utils/analyzer/exploded-graph-rewriter.py
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/environment.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/escapes.c
Commit 393d0f799f8828e9d8002766a9e9db21797451df by tlively
[WebAssembly] Allow multivalue signatures in object files
Summary: Also changes the wasm YAML format to reflect the possibility of
having multiple return types and to put the returns after the params for
consistency with the binary encoding.
Reviewers: aheejin, sbc100
Subscribers: dschuff, jgravelle-google, hiraditya, sunfish, arphaman,
rupprecht, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69156
llvm-svn: 375283
The file was modifiedllvm/test/ObjectYAML/wasm/invalid_section_order.yaml
The file was modifiedlld/test/wasm/Inputs/globals.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/event_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/assembler-binary.ll
The file was modifiedllvm/test/ObjectYAML/wasm/name_section.yaml
The file was modifiedllvm/test/CodeGen/WebAssembly/multivalue.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/tailcall.ll
The file was modifiedlld/test/wasm/weak-symbols.ll
The file was modifiedllvm/test/tools/llvm-nm/wasm/exports.yaml
The file was modifiedlld/test/wasm/weak-alias-overide.ll
The file was modifiedllvm/test/ObjectYAML/wasm/start_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/types.ll
The file was modifiedlld/test/wasm/gc-sections.ll
The file was modifiedlld/test/wasm/local-symbols.ll
The file was modifiedllvm/test/MC/WebAssembly/external-func-address.ll
The file was modifiedllvm/test/tools/llvm-nm/wasm/weak-symbols.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/function_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/comdat.ll
The file was modifiedllvm/test/MC/WebAssembly/event-section.ll
The file was modifiedlld/test/wasm/Inputs/undefined-globals.yaml
The file was modifiedllvm/test/tools/llvm-nm/wasm/imports.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/import_memory_shared.yaml
The file was modifiedllvm/tools/obj2yaml/wasm2yaml.cpp
The file was modifiedlld/test/wasm/function-imports-first.ll
The file was modifiedllvm/test/ObjectYAML/wasm/code_section.yaml
The file was modifiedllvm/lib/Object/WasmObjectFile.cpp
The file was modifiedlld/test/wasm/locals-duplicate.test
The file was modifiedllvm/test/ObjectYAML/wasm/type_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/data-section.s
The file was modifiedllvm/test/ObjectYAML/wasm/export_section.yaml
The file was modifiedllvm/test/Object/wasm-duplicate-name.test
The file was modifiedllvm/test/ObjectYAML/wasm/linking_section.yaml
The file was modifiedlld/test/wasm/relocatable.ll
The file was modifiedlld/test/wasm/alias.ll
The file was modifiedllvm/test/MC/WebAssembly/reloc-pic.s
The file was modifiedllvm/lib/ObjectYAML/WasmEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/WasmYAML.cpp
The file was modifiedlld/test/wasm/stack-pointer.ll
The file was modifiedllvm/test/ObjectYAML/wasm/weak_symbols.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/WasmYAML.h
The file was modifiedllvm/test/tools/llvm-readobj/wasm-imports.test
The file was modifiedlld/test/wasm/event-section.ll
The file was modifiedlld/test/wasm/call-indirect.ll
The file was modifiedllvm/test/MC/WebAssembly/weak-alias.ll
The file was modifiedlld/test/wasm/function-index.test
The file was modifiedlld/test/wasm/undefined-weak-call.ll
The file was modifiedlld/test/wasm/weak-undefined.ll
The file was modifiedllvm/test/ObjectYAML/wasm/import_section.yaml
The file was modifiedllvm/test/Object/wasm-relocs-and-producers.yaml
The file was modifiedlld/test/wasm/function-imports.ll
The file was modifiedlld/test/wasm/weak-alias.ll
The file was modifiedllvm/test/MC/WebAssembly/libcall.ll
The file was modifiedllvm/test/MC/WebAssembly/type-index.s
Commit a8323679bdf995289d7e63bdaf1672091aad4665 by peter
Update global_symbols.txt.
llvm-svn: 375284
The file was modifiedcompiler-rt/lib/sanitizer_common/symbolizer/scripts/global_symbols.txt
Commit 7c4fa28e5cf08f53c1af68121a40e052805d963e by lebedev.ri
[NFC][CVP] Some tests for `mul` no-wrap deduction
llvm-svn: 375285
The file was addedllvm/test/Transforms/CorrelatedValuePropagation/mul.ll
Commit 3ff26e27d93ea4ca753bd4109b46e0ae4dcca293 by Artem Dergachev
[analyzer] exploded-graph-rewriter: Unforget to censor stmt_ids in the
test.
They're not stable across machines.
Fixes buildbots after r375278.
llvm-svn: 375286
The file was modifiedclang/test/Analysis/dump_egraph.c
Commit 52d765544b50d2260cf4858ed63c827880b987df by rnk
[X86] Fix register parsing in .seh_* in Intel syntax
Previously, the parser checked for a '%' prefix to indicate a register.
In Intel syntax mode, LLVM does not print a '%' prefix on registers, so
LLVM could not parse its own assembly output. Instead, require that
register numbers be integer literals, or at least start with an integer
literal, which is consistent with .cfi_* directive register parsing.
llvm-svn: 375287
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was modifiedllvm/test/MC/AsmParser/directive_seh.s
Commit 32ce14e55e5a99dd99c3b4fd4bd0ccaaf2948c30 by Vedant Kumar
Disable exit-on-SIGPIPE in lldb
Occasionally, during test teardown, LLDB writes to a closed pipe.
Sometimes the communication is inherently unreliable, so LLDB tries to
avoid being killed due to SIGPIPE (it calls `signal(SIGPIPE, SIG_IGN)`).
However, LLVM's default SIGPIPE behavior overrides LLDB's, causing it to
exit with IO_ERR.
Opt LLDB out of the default SIGPIPE behavior. I expect that this will
resolve some LLDB test suite flakiness (tests randomly failing with
IO_ERR) that we've seen since r344372.
rdar://55750240
Differential Revision: https://reviews.llvm.org/D69148
llvm-svn: 375288
The file was modifiedllvm/lib/Support/Windows/Signals.inc
The file was modifiedllvm/unittests/Support/CMakeLists.txt
The file was modifiedlldb/tools/driver/Driver.cpp
The file was modifiedllvm/lib/Support/Unix/Signals.inc
The file was addedllvm/unittests/Support/SignalsTest.cpp
The file was modifiedllvm/include/llvm/Support/Signals.h
Commit e8da5e51cd9592145f4dff62281a3fa730aab876 by llvmgnsyncbot
gn build: Merge r375288
llvm-svn: 375289
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn
Commit e695f4c851c397d352afa6a9fcd509e68467037d by lebedev.ri
[CVP] setDeducedOverflowingFlags(): actually inc per-opcode stats
This is really embarrassing. Those are pointers, so that offsets the
pointers, not the statistics pointed-by the pointer...
llvm-svn: 375290
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
Commit 64b7d95568607eac5336428a22e02f27b8663a79 by Jonas Devlieghere
[Reproducer] Improve reproducer help (NFC)
Provide a little more detail for the reproducer command.
llvm-svn: 375292
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
Commit a9aa4ec6a31c3c37796ca168b41f311b21359e19 by jay.foad
[AMDGPU] Remove -amdgpu-spill-sgpr-to-smem.
Summary: The implementation was never completed and never used except in
tests.
Reviewers: arsenm, mareko
Subscribers: qcolombet, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69163
llvm-svn: 375293
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-m0.ll
The file was removedllvm/test/CodeGen/AMDGPU/spill-to-smem-m0.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-wide-sgpr.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
The file was removedllvm/test/CodeGen/AMDGPU/attr-amdgpu-num-sgpr-spill-to-smem.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/attr-amdgpu-num-sgpr.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/si-spill-sgpr-stack.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/basic-branch.ll
Commit 06a2beae92f5d2adcd0143a6798918418c2ea325 by Jonas Devlieghere
[Reproducer] XFAIL TestWorkingDir on Windows
I'm having a hard time reproducing this and it's failing on the Windows
bot. Temporarily X-failing this test while I continue to try building
LLDB on Windows.
llvm-svn: 375294
The file was modifiedlldb/test/Shell/Reproducer/TestWorkingDir.test
Commit 8c8ec1f6868bd0f96801fabc55ea395d9d171f06 by wmi
[SampleFDO] Add profile remapping support for profile on-demand loading
used by ExtBinary format profile
Profile on-demand loading was added for ExtBinary format profile in
rL374233, but currently profile on-demand loading doesn't work well with
profile remapping. The patch adds the support.
Suppose a function in the current module has outline instance in the
profile. The function name in the module is different from the name of
the outline instance, but remapper knows the two names are equal. When
loading profile on-demand, the outline instance has to be loaded with
remapper's help.
At the same time SampleProfileReaderItaniumRemapper is changed from a
proxy of SampleProfileReader to a helper member in SampleProfileReader.
Differential Revision: https://reviews.llvm.org/D68901
llvm-svn: 375295
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was modifiedllvm/test/Transforms/SampleProfile/remap.ll
The file was modifiedllvm/unittests/ProfileData/SampleProfTest.cpp
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProfReader.h
Commit 0b7f320c3acb4ed75e5b3acf3460176b5b20b1aa by eugeni.stepanov
[hwasan] Remove system allocator fallback.
Summary: This has been an experiment with late malloc interposition,
made possible by a non-standard feature of the Android dynamic loader.
Reviewers: pcc, mmalcomson
Subscribers: srhines, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D69199
llvm-svn: 375296
The file was removedcompiler-rt/test/hwasan/TestCases/Posix/system-allocator-fallback.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan_allocator.h
The file was modifiedcompiler-rt/lib/hwasan/hwasan_interceptors.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan_allocator.cpp
Commit 0fab220eb5882ef451d039d5251a0a1298121f63 by Stanislav.Mekhanoshin
[AMDGPU] move PHI nodes to AGPR class
If all uses of a PHI are in AGPR register class we should avoid unneeded
copies via VGPRs.
Differential Revision: https://reviews.llvm.org/D69200
llvm-svn: 375297
The file was addedllvm/test/CodeGen/AMDGPU/mfma-loop.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
Commit 33b758d2af312d02f2b5ef6915e62c6bb06e944e by peter
hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on
__hwasan_personality_wrapper.
Differential Revision: https://reviews.llvm.org/D69201
llvm-svn: 375298
The file was modifiedcompiler-rt/lib/hwasan/hwasan_exceptions.cpp
Commit 3b113a2be6dc9a614bd5c95138a6c34d44fe67d9 by peter
gn build: Build compiler-rt code with -fvisibility=hidden.
This matches the CMake build.
Differential Revision: https://reviews.llvm.org/D69202
llvm-svn: 375299
The file was modifiedllvm/utils/gn/build/BUILD.gn
Commit d4274f0174ff152490195fa2a65e4087deae3dd4 by Matthew.Arsenault
LiveIntervals: Fix handleMoveUp with subreg def moving across a def
If a subregister def was moved across another subregister def and
another use, the main range was not correctly updated. The end point of
the moved interval ended too early and missed the use from theh other
lanes in the subreg def.
llvm-svn: 375300
The file was modifiedllvm/unittests/MI/LiveIntervalTest.cpp
The file was addedllvm/test/CodeGen/AMDGPU/sched-handleMoveUp-subreg-def-across-subreg-def.mir
The file was modifiedllvm/lib/CodeGen/LiveIntervals.cpp
Commit 937241b0d9e8f896d4387292f01abf18ba9f9fcb by Vedant Kumar
[profile] Do not cache __llvm_profile_get_filename result
When the %m filename pattern is used, the filename is unique to each
image, so the cached value is wrong.
It struck me that the full filename isn't something that's recomputed
often, so perhaps it doesn't need to be cached at all. David Li pointed
out we can go further and just hide lprofCurFilename. This may regress
workflows that depend on using the set-filename API to change filenames
across all loaded DSOs, but this is expected to be very rare.
rdar://55137071
Differential Revision: https://reviews.llvm.org/D69137
llvm-svn: 375301
The file was modifiedcompiler-rt/lib/profile/InstrProfiling.h
The file was addedcompiler-rt/test/profile/instrprof-get-filename-merge-mode.c
The file was removedcompiler-rt/test/profile/Posix/instrprof-set-filename-shared.test
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was addedcompiler-rt/test/profile/Inputs/instrprof-get-filename-dso.c
The file was modifiedclang/test/Driver/darwin-ld.c
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
Commit 9fdd09a4ccd01feb8e00be22b17e944e46807746 by dblaikie
DebugInfo: Render the canonical name of a class template specialization,
even when nested in another class template specialization
Differential Revision: https://reviews.llvm.org/D63031
llvm-svn: 375304
The file was modifiedclang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit 778dc0f1d49230f53401ae0c190fe460bda4ffd1 by richard-llvm
[c++20] Add CXXRewrittenBinaryOperator to represent a comparison
operator that is rewritten as a call to multiple other operators.
No functionality change yet: nothing creates these expressions.
llvm-svn: 375305
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/CodeGen/CGExprAgg.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/include/clang/AST/Stmt.h
The file was modifiedclang/lib/CodeGen/CGExprComplex.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
Commit 974c8b7e2fde550fd87850d50695341101c38c2d by richard-llvm
[c++20] Add rewriting from comparison operators to <=> / ==.
This adds support for rewriting <, >, <=, and >= to a normal or reversed
call to operator<=>, for rewriting != to a normal or reversed call to
operator==, and for rewriting <=> and == to reversed forms of those same
operators.
Note that this is a breaking change for various C++17 code patterns,
including some in use in LLVM. The most common patterns (where an
operator== becomes ambiguous with a reversed form of itself) are still
accepted under this patch, as an extension (with a warning). I'm hopeful
that we can get the language rules fixed before C++20 ships, and the
extension warning is aimed primarily at providing data to inform that
decision.
llvm-svn: 375306
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p8-2a.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p9-2a.cpp
The file was modifiedclang/test/CXX/temp/temp.fct.spec/temp.deduct/p7.cpp
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
The file was modifiedclang/include/clang/Basic/OperatorKinds.h
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/test/SemaCXX/compare-cxx2a.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/test/SemaCXX/self-comparison.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/www/cxx_status.html
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Sema/Overload.h
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was addedclang/test/CodeGenCXX/mangle-cxx2a.cpp
The file was modifiedclang/test/PCH/cxx2a-compare.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/AST/ExprCXX.cpp
Commit a9727033fb5fa229b520e0e0d973f68780bc5348 by richard-llvm
P1152R4: Fix deprecation warnings in libc++ testsuite and in uses of
is_invocable that would internally conjure up a deprecated function
type.
Summary: The implementation of P1152R4 in Clang has resulted in some
deprecation warnings appearing in the libc++ and libc++abi test suite.
Fix or suppress these warnings.
Reviewers: mclow.lists, EricWF
Subscribers: christof, ldionne, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D68879
llvm-svn: 375307
The file was modifiedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/include/type_traits
The file was modifiedlibcxxabi/test/unwind_06.pass.cpp
Commit b0914e7276bf97cb57f84fecc3a95e0d3ceeaf3e by Artem Dergachev
[analyzer] Specify the C++ standard in more tests.
Makes life easier for downstream developers with different default
standard.
llvm-svn: 375308
The file was modifiedclang/test/Analysis/stack-frame-context-revision.cpp
The file was modifiedclang/test/Analysis/deadstores-driverkit.cpp
The file was modifiedclang/test/Analysis/ctu-unknown-parts-in-triples.cpp
The file was modifiedclang/test/Analysis/new-ctor-null.cpp
The file was modifiedclang/test/Analysis/temporaries.mm
The file was modifiedclang/test/Analysis/sizeofpack.cpp
The file was modifiedclang/test/Analysis/domtest.cpp
The file was modifiedclang/test/Analysis/cast-value-notes.cpp
The file was modifiedclang/test/Analysis/new-ctor-null-throw.cpp
The file was modifiedclang/test/Analysis/test-separate-retaincount.cpp
The file was modifiedclang/test/Analysis/ctu-different-triples.cpp
The file was modifiedclang/test/Analysis/ctu-main.cpp
The file was modifiedclang/test/Analysis/inner-pointer.cpp
The file was modifiedclang/test/Analysis/initialization.cpp
The file was modifiedclang/test/Analysis/inlining/placement-new-fp-suppression.cpp
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp
The file was modifiedclang/test/Analysis/ptr-iter.cpp
The file was modifiedclang/test/Analysis/rvo.cpp
The file was modifiedclang/test/Analysis/plist-macros-with-expansion.cpp
The file was modifiedclang/test/Analysis/cast-value-state-dump.cpp
The file was modifiedclang/test/Analysis/explain-svals.cpp
The file was modifiedclang/test/Analysis/ptr-sort.cpp
The file was modifiedclang/test/Analysis/diagnostics/dtors.cpp
The file was modifiedclang/test/Analysis/malloc.mm
The file was modifiedclang/test/Analysis/mig.mm
The file was modifiedclang/test/Analysis/cast-value-logic.cpp
The file was modifiedclang/test/Analysis/unions.cpp
The file was modifiedclang/test/Analysis/osobject-retain-release.cpp
The file was modifiedclang/test/Analysis/osobjectcstylecastchecker_test.cpp
Commit 243ebfba17da72566ba29a891193e4814cbc4ef3 by michael.hliao
[hip][cuda] Fix the extended lambda name mangling issue.
Summary:
- HIP/CUDA host side needs to use device kernel symbol name to match the
device side binaries. Without a consistent naming between host- and
device-side compilations, it's risky that wrong device binaries are
executed. Consistent naming is usually not an issue until unnamed
types are used, especially the lambda. In this patch, the consistent
name mangling is addressed for the extended lambdas, i.e. the lambdas
annotated with `__device__`.
- In [Itanium C++ ABI][1], the mangling of the lambda is generally
unspecified unless, in certain cases, ODR rule is required to ensure
consisent naming cross TUs. The extended lambda is such a case as its
name may be part of a device kernel function, e.g., the extended
lambda is used as a template argument and etc. Thus, we need to force
ODR for extended lambdas as they are referenced in both device- and
host-side TUs. Furthermore, if a extended lambda is nested in other
(extended or not) lambdas, those lambdas are required to follow ODR
naming as well. This patch revises the current lambda mangle numbering
to force ODR from an extended lambda to all its parent lambdas.
- On the other side, the aforementioned ODR naming should not change
those lambdas' original linkages, i.e., we cannot replace the original
`internal` with `linkonce_odr`; otherwise, we may violate ODR in
general. This patch introduces a new field `HasKnownInternalLinkage`
in lambda data to decouple the current linkage calculation based on
mangling number assigned.
[1]: https://itanium-cxx-abi.github.io/cxx-abi/abi.html
Reviewers: tra, rsmith, yaxunl, martong, shafik
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68818
llvm-svn: 375309
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was addedclang/test/CodeGenCUDA/unnamed-types.cu
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
Commit d7a487adfedb36c88f5ca24f5bcb93f140116106 by michael.hliao
[clang][driver] Print compilation phases with indentation.
Reviewers: tra, sfantao, echristo
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69124
llvm-svn: 375310
The file was modifiedclang/lib/Driver/Driver.cpp
Commit 1d7b41361ffa208291119cd145a62a366adac569 by rnk
Prune two MachineInstr.h includes, fix up deps
MachineInstr.h included AliasAnalysis.h, which includes a world of IR
constructs mostly unneeded in CodeGen. Prune it. Same for
DebugInfoMetadata.h.
Noticed with -ftime-trace.
llvm-svn: 375311
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/lib/Target/Hexagon/RDFDeadCode.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/CodeGen/MIRVRegNamerUtils.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Assembler.cpp
The file was modifiedllvm/include/llvm/CodeGen/DFAPacketizer.h
The file was modifiedllvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
The file was modifiedllvm/lib/CodeGen/MIRCanonicalizerPass.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
The file was modifiedllvm/lib/CodeGen/ReachingDefAnalysis.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/RegisterBank.cpp
The file was modifiedllvm/lib/CodeGen/LexicalScopes.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantPoolValue.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h
The file was modifiedllvm/lib/CodeGen/LiveVariables.cpp
Commit 0904f924012db8002eec3a0533e310c1e714cca4 by Adrian Prantl
Skip (more) PExpect tests under ASAN, I can't get them to work reliably.
llvm-svn: 375312
The file was modifiedlldb/packages/Python/lldbsuite/test/iohandler/completion/TestIOHandlerCompletion.py
Commit 766f15814a012e5e6522c4e0f93c094ca2408367 by peter
Sema: Create a no-op implicit cast for lvalue function conversions.
This fixes an assertion failure in the case where an implicit conversion
for a function call involves an lvalue function conversion, and makes
the AST for initializations involving implicit lvalue function
conversions more accurate.
Differential Revision: https://reviews.llvm.org/D66437
llvm-svn: 375313
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was addedclang/test/CodeGenCXX/implicit-function-conversion.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
Commit f6a46304174e7a31f5f18d18a5a3a24eaddf35f0 by Vedant Kumar
[profile] Disable instrprof-get-filename-merge-mode.c on Windows
The Windows bots are failing with:
clang: warning: argument unused during compilation: '-dynamiclib'
[-Wunused-command-line-argument] llvm-svn: 375315
The file was addedcompiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
The file was removedcompiler-rt/test/profile/instrprof-get-filename-merge-mode.c
Commit 90c64a3456b972432a21ef043b205c18a91e011b by rnk
Move endian constant from Host.h to SwapByteOrder.h, prune include
Works on this dependency chain:
ArrayRef.h ->
Hashing.h -> --CUT--
Host.h ->
StringMap.h / StringRef.h
ArrayRef is very popular, but Host.h is rarely needed. Move the
IsBigEndianHost constant to SwapByteOrder.h. Clients of that header are
more likely to need it.
llvm-svn: 375316
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.cpp
The file was modifiedlld/tools/lld/lld.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/X86.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/AArch64.cpp
The file was modifiedllvm/include/llvm/Support/SwapByteOrder.h
The file was modifiedllvm/lib/Support/Windows/WindowsSupport.h
The file was modifiedlldb/include/lldb/Utility/UUID.h
The file was modifiedllvm/include/llvm/ADT/Hashing.h
The file was modifiedllvm/include/llvm/Support/Host.h
The file was modifiedclang-tools-extra/clangd/FileDistance.h
The file was modifiedllvm/include/llvm/Support/SHA1.h
The file was modifiedlld/include/lld/Core/File.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/PPC.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/RegisterValue.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/DebugInfo.h
The file was modifiedllvm/include/llvm/BinaryFormat/Wasm.h
The file was modifiedllvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp
The file was modifiedlld/include/lld/Common/LLVM.h
Commit b081220cfd46965fa25dbf826cd3f42f4f9e54cd by Vedant Kumar
[profile] Use -fPIC -shared in a test instead of -dynamiclib
This is more portable than -dynamiclib. Also, fix the path to an input
file that broke when the test was moved in r375315.
llvm-svn: 375317
The file was modifiedcompiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
Commit 8b0d14a8f0cc085afa2a9c86c237da81c74517fc by rtrieu
New tautological warning for bitwise-or with non-zero constant always
true.
Taking a value and the bitwise-or it with a non-zero constant will
always result in a non-zero value. In a boolean context, this is always
true.
if (x | 0x4) {}  // always true, intended '&'
This patch creates a new warning group -Wtautological-bitwise-compare
for this warning. It also moves in the existing tautological bitwise
comparisons into this group. A few other changes were needed to the
CFGBuilder so that all bool contexts would be checked. The warnings in
-Wtautological-bitwise-compare will be off by default due to using the
CFG.
Fixes: https://bugs.llvm.org/show_bug.cgi?id=42666 Differential
Revision: https://reviews.llvm.org/D66046
llvm-svn: 375318
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/test/Sema/warn-bitwise-compare.c
The file was modifiedclang/lib/Analysis/CFG.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was addedclang/test/SemaCXX/warn-bitwise-compare.cpp
The file was modifiedclang/include/clang/Analysis/CFG.h
The file was modifiedclang/lib/Sema/AnalysisBasedWarnings.cpp
Commit 0ad6c191deef592818d2381b16e1093a0006e7b5 by rnk
Prune Analysis includes from SelectionDAG.h
Only forward declarations are needed here. Follow-on to r375311.
llvm-svn: 375319
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/ScheduleDAGInstrs.cpp
The file was modifiedllvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
The file was modifiedllvm/lib/CodeGen/DFAPacketizer.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGISel.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
Commit 904cd3e06b980baa90c6cd6614321b904a05e162 by rnk
Prune a LegacyDivergenceAnalysis and MachineLoopInfo include each
Now X86ISelLowering doesn't depend on many IR analyses.
llvm-svn: 375320
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
The file was modifiedllvm/lib/Target/BPF/BPFMIPeephole.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
The file was modifiedllvm/lib/Target/ARM/ARMMachineFunctionInfo.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBasicBlockInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.h
The file was modifiedllvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
The file was modifiedllvm/include/llvm/CodeGen/FunctionLoweringInfo.h
The file was modifiedllvm/lib/Target/MSP430/MSP430BranchSelector.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBasicBlockInfo.h
The file was modifiedllvm/lib/CodeGen/BreakFalseDeps.cpp
The file was modifiedllvm/lib/CodeGen/ExecutionDomainFix.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/lib/Target/BPF/BPFMIChecking.cpp
The file was modifiedllvm/lib/CodeGen/SwiftErrorValueTracking.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNILPSched.cpp
The file was modifiedllvm/lib/Target/ARM/MVEVPTBlockPass.cpp
Commit 1aae510893e654361c17dc6d0cb27ac4de6202c8 by Matthew.Arsenault
AMDGPU: Remove optnone from a test
It's not clear why the test had this. I'm unable to break the original
case with the original patch reverted with or without optnone.
This avoids a failure in a future commit.
llvm-svn: 375321
The file was modifiedllvm/test/CodeGen/AMDGPU/extract-subvector-equal-length.ll
Commit 14a3f77ba1034d551e5f8a5bc4cd3ae131738773 by bigcheesegs
[Implicit Modules] Add -cc1 option -fmodules-strict-context-hash which
includes search paths and diagnostics.
Differential Revision: https://reviews.llvm.org/D68528
llvm-svn: 375322
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/docs/Modules.rst
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was addedclang/test/Modules/context-hash.c
Commit 7bbe711fb1b9057e48dec3c15b084eee7f8ff5fb by rnk
Avoid including CodeView/SymbolRecord.h from MCStreamer.h
Move the types needed out so they can be forward declared instead.
llvm-svn: 375325
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h
Commit 637af4cc37802a25564aa96c4d4eb3facbcff9b8 by rtrieu
Add -Wbitwise-conditional-parentheses to warn on mixing '|' and '&' with
"?:"
Extend -Wparentheses to cover mixing bitwise-and and bitwise-or with the
conditional operator. There's two main cases seen with this:
unsigned bits1 = 0xf0 | cond ? 0x4 : 0x1; unsigned bits2 = cond1 ? 0xf0
: 0x10 | cond2 ? 0x5 : 0x2;
// Intended order of evaluation: unsigned bits1 = 0xf0 | (cond ? 0x4 :
0x1); unsigned bits2 = (cond1 ? 0xf0 : 0x10) | (cond2 ? 0x5 : 0x2);
// Actual order of evaluation: unsigned bits1 = (0xf0 | cond) ? 0x4 :
0x1; unsigned bits2 = cond1 ? 0xf0 : ((0x10 | cond2) ? 0x5 : 0x2);
Differential Revision: https://reviews.llvm.org/D66043
llvm-svn: 375326
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/test/Sema/parentheses.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/docs/ReleaseNotes.rst
Commit d7cf99ae03704dad87cffe49a83af13f5b949c82 by bigcheesegs
[Docs] Fix header level.
llvm-svn: 375327
The file was modifiedclang/docs/Modules.rst
Commit ab2cec8b85cf84f0c734115205cc8b07b56bd3ae by Artem Dergachev
[analyzer] Fix a crash on tracking Objective-C 'self' as a control
dependency.
'self' was previously never tracked, but now it can be tracked because
it may be part of a condition.
llvm-svn: 375328
The file was addedclang/test/Analysis/track-control-dependency-conditions.m
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
Commit 4a5df7312ec2c14360e4e12596a1ef63be39a480 by Artem Dergachev
[analyzer] PR43551: Do not dereferce void* in UndefOrNullArgVisitor.
Patch by Kristóf Umann!
Differential Revision: https://reviews.llvm.org/D68591
llvm-svn: 375329
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was modifiedclang/test/Analysis/novoidtypecrash.c
Commit 2386537c2469a97501a305c6b3138231b907a67f by lawrence_danna
[LLDB] bugfix: command script add -f doesn't work for some callables
Summary: When users define a debugger command from python, they provide
a callable object.   Because the signature of the function has been
extended, LLDB needs to inspect the number of parameters the callable
can take.
The rule it was using to decide was weird, apparently not tested, and
giving wrong results for some kinds of python callables.
This patch replaces the weird rule with a simple one: if the callable
can take 5 arguments, it gets the 5 argument version of the signature.
Otherwise it gets the old 4 argument version.
It also adds tests with a bunch of different kinds of python callables
with both 4 and 5 arguments.
Reviewers: JDevlieghere, clayborg, labath, jingham
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69014
llvm-svn: 375333
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/command/script/TestCommandScript.py
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/scripts/Python/python-wrapper.swig
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was addedlldb/packages/Python/lldbsuite/test/commands/command/script/callables.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/command/script/py_import
Commit bdcad0aca0a05145364ee153a8f54af4aea2c445 by lawrence_danna
convert LLDBSwigPythonCallTypeScript to ArgInfo::max_positional_args
Summary: This patch converts another user of ArgInfo::count over to use
ArgInfo::max_positional_args instead.   I also add a test to make sure
both documented signatures for python type formatters work.
Reviewers: JDevlieghere, clayborg, labath, jingham
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69153
llvm-svn: 375334
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/formatters/formatters.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/formatters/TestFormatters.py
The file was modifiedlldb/scripts/Python/python-wrapper.swig
Commit 963e0d6755cd7b79c96a6b167460e1c9ed3f8353 by sylvestre
Make it clear in the doc that 'all' in LLVM_ENABLE_PROJECTS does install
ALL projects
llvm-svn: 375337
The file was modifiedllvm/docs/CMake.rst
Commit 81a01e73faabb574bc0a8606de560c5c671e8801 by bigcheesegs
Revert "[Implicit Modules] Add -cc1 option -fmodules-strict-context-hash
which includes search paths and diagnostics." and "[Docs] Fix header
level."
The test doesn't work on Windows. I'll fix it and recommit later.
llvm-svn: 375338
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedclang/docs/Modules.rst
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h
The file was removedclang/test/Modules/context-hash.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit 751e0bb6af33786339761173e61d6e37b752836e by sylvestre
Explicit in the doc the current list of projects (with easy copy and
paste)
llvm-svn: 375339
The file was modifiedllvm/docs/CMake.rst
Commit d5367db95c4295b088bf9ae3cf99e24d8bf7e249 by dimitry
Refine check for `_LIBCPP_C_HAS_NO_GETS` on FreeBSD
Summary: In D67316 we added `_LIBCPP_C_HAS_NO_GETS` to signal that the C
library does not provide `gets()`, and added a test for FreeBSD 13 or
higher, using the compiler-defined `__FreeBSD__` macro.
Unfortunately this did not work that well for FreeBSD's own CI process,
since the gcc compilers used for some architectures define `__FreeBSD__`
to match the build host, not the target.
Instead, we should use the `__FreeBSD_version` macro from the userland
header `<osreldate.h>`, which is more fine-grained.  See also
<https://reviews.freebsd.org/D22034>.
Reviewers: EricWF, mclow.lists, emaste, ldionne
Reviewed By: emaste, ldionne
Subscribers: dexonsmith, bsdjhb, krytarowski, christof, ldionne,
libcxx-commits
Differential Revision: https://reviews.llvm.org/D69174
llvm-svn: 375340
The file was modifiedlibcxx/include/__config
Commit 6ada70d1b55b9efb8b0603575a0b86e14f049553 by llvm-dev
[X86][SSE] LowerUINT_TO_FP_i64 - only use HADDPD for size/fast-hops
We were always generating a single source HADDPD, but really we should
only do this if shouldUseHorizontalOp says its a good idea.
Differential Revision: https://reviews.llvm.org/D69175
llvm-svn: 375341
The file was modifiedllvm/test/CodeGen/X86/scalar-int-to-fp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/haddsub-3.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics-fast-isel.ll
The file was modifiedllvm/test/CodeGen/X86/haddsub-broadcast.ll
Commit b5088aa9442fb610f452c5a6c93c1964962c4159 by llvm-dev
[X86][SSE] lowerV16I8Shuffle - tryToWidenViaDuplication - undef unpack
args
tryToWidenViaDuplication lowers using the
shuffle_v8i16(unpack_v16i8(shuffle_v8i16(x),shuffle_v8i16(x))) pattern,
but the unpack only needs the even/odd 16i8 args if the original v16i8
shuffle mask references the even/odd elements - which isn't true for
many extension style shuffles.
llvm-svn: 375342
The file was modifiedllvm/test/CodeGen/X86/bitcast-setcc-128.ll
The file was modifiedllvm/test/CodeGen/X86/vec_int_to_fp.ll
The file was modifiedllvm/test/CodeGen/X86/widen_conv-3.ll
The file was modifiedllvm/test/CodeGen/X86/bitcast-and-setcc-128.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v32.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-mul.ll
The file was modifiedllvm/test/CodeGen/X86/vector-sext.ll
Commit 0a15981a84b9988ad7dce01cf81ea1d7cb022b82 by spatel
[MSP430] Shift Amount Threshold in DAGCombine (Baseline Tests); NFC
Patch by: @joanlluch (Joan LLuch)
Differential Revision: https://reviews.llvm.org/D69099
llvm-svn: 375345
The file was addedllvm/test/CodeGen/MSP430/shift-amount-threshold.ll
Commit 7d8ea71677f6b9985d4bbe5112067d5d48414383 by nemanja.i.ibm
[ARM] Add dependency on GlobalISel for unit tests to fix shared libs
build
The unit test uses GlobalISel but the dependency is not listed in the
CMakeLists.txt file which causes failures in shared libs build with GCC.
This just adds the dependency.
Differential revision: https://reviews.llvm.org/D69064
llvm-svn: 375346
The file was modifiedllvm/unittests/Target/ARM/CMakeLists.txt
Commit a298964d22a203d21bafe1f649a46ba8a2592ca4 by spatel
[TargetLowering][DAGCombine][MSP430] add/use hook for Shift Amount
Threshold (1/2)
Provides a TLI hook to allow targets to relax the emission of shifts,
thus enabling codegen improvements on targets with no multiple shift
instructions and cheap selects or branches.
Contributes to a Fix for PR43559:
https://bugs.llvm.org/show_bug.cgi?id=43559
Patch by: @joanlluch (Joan LLuch)
Differential Revision: https://reviews.llvm.org/D69116
llvm-svn: 375347
The file was modifiedllvm/lib/Target/MSP430/MSP430ISelLowering.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430ISelLowering.h
The file was modifiedllvm/test/CodeGen/MSP430/shift-amount-threshold.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
Commit 10213b90730e2459e6cbbeeb5c7289b18c298382 by llvm-dev
[X86] Pulled out helper to decode target shuffle element sentinel values
to 'Zeroable' known undef/zero bits. NFCI.
Renamed 'resolveTargetShuffleAndZeroables' to
'resolveTargetShuffleFromZeroables' to match.
llvm-svn: 375348
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 1d509201e2d2e926654ef762524754311fafcd59 by listmail
[SCEV] Simplify umin/max of zext and sext of the same value
This is a common idiom which arises after induction variables are
widened, and we have two or more exit conditions.  Interestingly, we
don't have instcombine or instsimplify support for this either.
Differential Revision: https://reviews.llvm.org/D69006
llvm-svn: 375349
The file was modifiedllvm/test/Analysis/ScalarEvolution/umin-umax-folds.ll
The file was modifiedllvm/test/Analysis/ScalarEvolution/sext-mul.ll
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-trip-count.ll
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-trip-count-address-space.ll
Commit 722b61892454b3217d73ec486e52156c5a92b5b3 by lawrence_danna
eliminate nontrivial Reset(...) from TypedPythonObject
Summary: This deletes `Reset(...)`, except for the no-argument form
`Reset()` from `TypedPythonObject`, and therefore from `PythonString`,
`PythonList`, etc.
It updates the various callers to use assignment, `As<>`, `Take<>`, and
`Retain<>`, as appropriate.
followon to https://reviews.llvm.org/D69080
Reviewers: JDevlieghere, clayborg, labath, jingham
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69133
llvm-svn: 375350
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
Commit 8a8b317460ff88f89ee3a47199a227109776b1ac by Matthew.Arsenault
AMDGPU: Don't error on calls to null or undef
Calls to constants should probably be generally handled.
llvm-svn: 375356
The file was modifiedllvm/test/CodeGen/AMDGPU/unsupported-calls.ll
The file was addedllvm/test/CodeGen/AMDGPU/call-constant.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit 5b8546023f361a6e343aacaab91bbf14db25e40d by Zinovy Nis
Fix minor warning in DWARFVerifier.
llvm-svn: 375357
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
Commit c4107383e509b459943ca4c529e90d25a2f6bdaa by grimar
[LLD][ELF] - Update tests after yaml2obj tool update.
yaml2obj doesn't create .symtab by default anymore.
llvm-svn: 375360
The file was modifiedlld/test/ELF/invalid/sht-group.test
The file was modifiedlld/test/ELF/invalid/bad-reloc-target.test
Commit 2779987d0e2985a9618bd87b5f6532722645a5f2 by grimar
[yaml2obj][obj2yaml] - Do not create a symbol table by default.
This patch tries to resolve problems faced in D68943 and uses some of
the code written by Konrad Wilhelm Kleine in that patch.
Previously, yaml2obj tool always created a .symtab section. This patch
changes that. With it we only create it when have a "Symbols:" tag in
the YAML document or when we need to create it because it is used by
another section(s).
obj2yaml follows the new behavior and does not print "Symbols:" anymore
when there is no symbol table.
Differential revision: https://reviews.llvm.org/D69041
llvm-svn: 375361
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/rename-section.test
The file was modifiedllvm/test/tools/yaml2obj/invalid-symboless-relocation.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/strip-unneeded-remove-debug-keep-link.test
The file was modifiedllvm/test/tools/obj2yaml/section-group.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/preserve-segment-contents-ehdr-phdrs.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/rename-section-multiple.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/add-symbol.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-wrong-shstrtab-type.test
The file was modifiedllvm/test/tools/yaml2obj/implicit-sections-types.test
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/test/Object/invalid.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/add-section-remove.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/segment-test-remove-section.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/only-section-many.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-no-phdrs.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-no-relocs.test
The file was modifiedllvm/test/tools/yaml2obj/elf-custom-null-section.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/explicit-only-section-remove.test
The file was modifiedllvm/test/tools/yaml2obj/elf-header-sh-fields.yaml
The file was modifiedllvm/test/tools/llvm-objdump/relocations-elf.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-hidden-versym.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-invalid-versioning.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-dynamic-malformed.test
The file was modifiedllvm/test/tools/llvm-readobj/reloc-types-elf-mips64.test
The file was modifiedllvm/test/tools/obj2yaml/elf-sht-symtab-shndx.yaml
The file was modifiedllvm/test/Object/objdump-sectionheaders.test
The file was modifiedllvm/test/tools/yaml2obj/reloc-sec-info.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/keep-only-section.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/remove-section.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-file-headers.test
The file was modifiedllvm/test/tools/llvm-readobj/reloc-types-elf-lanai.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-invalid-shstrndx.test
The file was modifiedllvm/test/tools/llvm-readobj/reloc-types-elf-arm.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/segment-shift-section-remove.test
The file was modifiedllvm/test/tools/llvm-readobj/check-output-order.test
The file was modifiedllvm/test/tools/llvm-readobj/reloc-types-elf-mips.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/explicit-keep-remove.test
The file was modifiedllvm/test/tools/yaml2obj/symtab-implicit-sections-flags.yaml
The file was modifiedllvm/test/tools/obj2yaml/elf-llvm-addrsig-section.yaml
The file was modifiedllvm/test/tools/yaml2obj/dynamic-symbols.yaml
The file was modifiedllvm/test/tools/llvm-objdump/full-contents.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/symtab-link.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/no-symbol-relocation.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-versioninfo.test
The file was modifiedllvm/test/tools/obj2yaml/no-symbol-reloc.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/wildcard-syntax.test
The file was addedllvm/test/tools/obj2yaml/elf-no-symtab.yaml
The file was modifiedllvm/test/tools/yaml2obj/elf-comdat-broken-info.yaml
The file was modifiedllvm/test/tools/llvm-readobj/elf-relr-relocs.test
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/test/tools/yaml2obj/implicit-sections.test
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/elf-sht-symtab-shndx.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/symtab-error-on-remove-strtab.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/no-strip-all.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/shstrtab-optimize.test
The file was modifiedllvm/test/tools/llvm-readobj/reloc-types-elf-aarch64.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/invalid-e_shoff.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/null-symbol.test
The file was modifiedllvm/test/tools/yaml2obj/symboless-relocation.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/add-section.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/basic-only-section.test
Commit e6125fc0ec3418d6529b52f15853a06e000d478d by Yaxun.Liu
[AMDGPU] Fix assertion due to initializer list
Sometimes a global var is replaced by a different llvm value. clang use
GetAddrOfGlobalVar to get the original llvm global variable. For most
targets, GetAddrOfGlobalVar returns either the llvm global variable or a
bitcast of the llvm global variable. However, for AMDGPU target,
GetAddrOfGlobalVar returns the addrspace cast or addrspace cast plus
bitcast of the llvm global variable. To get the llvm global variable,
these casts need to be stripped, otherwise there is assertion.
This patch fixes that.
Differential Revision: https://reviews.llvm.org/D69129
llvm-svn: 375362
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-extern-constexpr.cpp
Commit fc205f1d118a63100cce539b271cb147fe84e093 by Matthew.Arsenault
AMDGPU: Don't re-get the subtarget
It's already available in the class.
llvm-svn: 375363
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Commit bba8fd71324945980ae0baf09919fe3a3bd6e3ab by Matthew.Arsenault
AMDGPU: Add baseline tests for flat offset splitting
llvm-svn: 375364
The file was addedllvm/test/CodeGen/AMDGPU/offset-split-flat.ll
The file was addedllvm/test/CodeGen/AMDGPU/offset-split-global.ll
Commit 1aad3835f869b7a9b58433524a33059b8f5d1f51 by Matthew.Arsenault
AMDGPU: Fix missing OPERAND_IMMEDIATE
llvm-svn: 375365
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
Commit 7cd57dcd5b716dd1dab446974abd4c51d01038a7 by Matthew.Arsenault
AMDGPU: Split flat offsets that don't fit in DAG
We handle it this way for some other address spaces.
Since r349196, SILoadStoreOptimizer has been trying to do this. This is
after SIFoldOperands runs, which can change the addressing patterns.
It's simpler to just split this earlier.
llvm-svn: 375366
The file was modifiedllvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/global_atomics_i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/offset-split-flat.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/offset-split-global.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/global_atomics.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/flat-address-space.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/store-hi16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/global-saddr.ll
Commit e5be543a55986e353d40d79702eef5cff3934348 by Matthew.Arsenault
AMDGPU: Increase vcc liveness scan threshold
Avoids a test regression in a future patch. Also add debug printing on
this case, so I waste less time debugging folds in the future.
llvm-svn: 375367
The file was modifiedllvm/test/CodeGen/AMDGPU/fence-barrier.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ds-negative-offset-addressing-mode-loop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/copy-illegal-type.ll
Commit 926dae33ba658d72e9f8d76d004cd943d6280250 by nikita.ppv
[ConstantRange] Optimize nowrap region test, remove redundant tests; NFC
Enumerate one less constant range in TestNoWrapRegionExhaustive, which
was unnecessary. This allows us to bump the bit count from 3 to 5 while
keeping reasonable timing.
Drop four tests for multiply nowrap regions, as these cover subsets of
the exhaustive test. They do use a wider bitwidth, but I don't think
it's worthwhile to have them additionally now.
llvm-svn: 375369
The file was modifiedllvm/unittests/IR/ConstantRangeTest.cpp
Commit 4b6223263a3c1fb98bc69e8eb6722d48e4eb9f49 by lebedev.ri
[ConstantRange] makeGuaranteedNoWrapRegion(): `shl` support
Summary: If all the shifts amount are already poison-producing, then we
can add more poison-producing flags ontop:
https://rise4fun.com/Alive/Ocwi
Otherwise, we should only consider the possible range of shift amts that
don't result in poison.
For unsigned range not not overflow, we must not shift out any set bits,
and the actual limit for `x` can be computed by backtransforming the
maximal value we could ever get out of the `shl` - `-1` through
`lshr`. If the `x` is any larger than that then it will overflow.
Likewise for signed range, but just in signed domain..
This is based on the general idea outlined by @nikic in
https://reviews.llvm.org/D68672#1714990
Reviewers: nikic, sanjoy
Reviewed By: nikic
Subscribers: hiraditya, llvm-commits, nikic
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69217
llvm-svn: 375370
The file was modifiedllvm/unittests/IR/ConstantRangeTest.cpp
The file was modifiedllvm/lib/IR/ConstantRange.cpp
Commit 49483a3bc2253c9e252e5e37b709534e3b6e51cc by lebedev.ri
[InstCombine] Shift amount reassociation in shifty sign bit test
(PR43595)
Summary: This problem consists of several parts:
* Basic sign bit extraction - `trunc? (?shr %x, (bitwidth(x)-1))`.
This is trivial, and easy to do, we have a fold for it.
* Shift amount reassociation - if we have two identical shifts,
and we can simplify-add their shift amounts together,
then we likely can just perform them as a single shift.
But this is finicky, has one-use restrictions,
and shift opcodes must be identical.
But there is a super-pattern where both of these work together. to
produce sign bit test from two shifts + comparison. We do indeed already
handle this in most cases. But since we get that fold transitively, it
has one-use restrictions. And what's worse, in this case the
right-shifts aren't required to be identical, and we can't handle that
transitively:
If the total shift amount is bitwidth-1, only a sign bit will remain in
the output value. But if we look at this from the perspective of two
shifts, we can't fold - we can't possibly know what bit pattern we'd
produce via two shifts, it will be *some* kind of a mask produced from
original sign bit, but we just can't tell it's shape:
https://rise4fun.com/Alive/cM0 https://rise4fun.com/Alive/9IN
But it will *only* contain sign bit and zeros. So from the perspective
of sign bit test, we're good: https://rise4fun.com/Alive/FRz
https://rise4fun.com/Alive/qBU Superb!
So the simplest solution is to extend
`reassociateShiftAmtsOfTwoSameDirectionShifts()` to also have a
sudo-analysis mode that will ignore extra-uses, and will only check
whether a) those are two right shifts and b) they end up with
bitwidth(x)-1 shift amount and return either the original value that we
sign-checking, or null.
This does not have any functionality change for the existing
`reassociateShiftAmtsOfTwoSameDirectionShifts()`.
All that being said, as disscussed in the review, this yet again
increases usage of instsimplify in instcombine as utility. Some day that
may need to be reevaluated.
https://bugs.llvm.org/show_bug.cgi?id=43595
Reviewers: spatel, efriedma, vsk
Reviewed By: spatel
Subscribers: xbolva00, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68930
llvm-svn: 375371
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/sign-bit-test-via-right-shifting-all-other-bits.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit c08666abafb449f97c58eb8a730e56a085b0812f by nikita.ppv
[InstCombine] Add tests for uadd/sub.sat(a, b) == 0; NFC
llvm-svn: 375372
The file was modifiedllvm/test/Transforms/InstCombine/saturating-add-sub.ll
Commit 5fa36e42c43bc0816ad96597e20416a3cb8cd4dd by Zinovy Nis
Fix buildbot error in SIRegisterInfo.cpp.
llvm-svn: 375373
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp