SuccessChanges

Summary

  1. Refactored ClangLTOBuilder to support github. (details)
  2. Refactored LibcxxAndAbiBuilder to support github. (details)
  3. Removed redundant quotation marks from -DLLVM_LIT_ARGS. (details)
  4. LLVMBuilfFactory should always have is_legacy_mode attribute. (details)
  5. Now LLVMBuildFactory supports both a "legacy mode" with SVN checkout and (details)
  6. This allows to use the newly added LLVMBuildFactory ability to (details)
  7. ClangBuilder code cleaning. NFC. (details)
  8. Added support for is_legacy_mode to ABITestsuitBuilder. (details)
  9. Reverted r375035 and r375036 to fix the commit message and author name. (details)
  10. Added support for git/github to LLVMBuildFactory. (details)
  11. Updated UnifiedTreeBuilder to fully support is_legacy_mode. (details)
  12. LLVMBuildFactory code cleaning. (details)
  13. Added support for github author names. (details)
  14. Check out the test-suite first to prevent poisoning got_revision (details)
  15. Added LLVMPoller to work with github. (details)
  16. Refactored ClangBuilde.getClangCMakeBuildFactory and (details)
  17. Separate automatic schedulers for builders depending on is_legacy_mode. (details)
  18. Add LLVMGitPoller to listen for changes in the monorepo. (details)
  19. Remove -DLLVM_USE_LINKER from Windows self host bots. (details)
  20. Apply defaut cmake flags to ABITestsuitBuilder. (details)
  21. [sanitizers] Increase default "git clone --depth" to 100 (details)
  22. Added zorg to the list of SVN projects. (details)
  23. Added the step name param to (details)
  24. Handle is_legacy_mode in LLDPerformanceTestsuite. (details)
  25. Handle is_legacy_mode in ClangLTOBuilder. Refactored to simplify the (details)
Commit bdb8efb160db242c1897a532e4a3e42fc0d968ea by gkistanova
Refactored ClangLTOBuilder to support github.
llvm-svn: 374956
The file was modifiedzorg/buildbot/builders/ClangLTOBuilder.py (diff)
Commit 3d14c75c8eb9ae1e2348342948d5c434471c90f1 by gkistanova
Refactored LibcxxAndAbiBuilder to support github.
llvm-svn: 374973
The file was modifiedzorg/buildbot/builders/LibcxxAndAbiBuilder.py (diff)
Commit 1844cbfc99c299130773de2c564ef88b04b33e44 by gkistanova
Removed redundant quotation marks from -DLLVM_LIT_ARGS.
llvm-svn: 374975
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 67388f46dff7b59886cc95257211b1d1710feb8c by gkistanova
LLVMBuilfFactory should always have is_legacy_mode attribute.
llvm-svn: 374976
The file was modifiedzorg/buildbot/process/factory.py (diff)
Commit bba39ba2ce3c6a0a48fa496c85f31b42e3e7e799 by gkistanova
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 Alex Orlov.
Differential Revision: https://reviews.llvm.org/D69046
llvm-svn: 375035
The file was modifiedzorg/buildbot/process/factory.py (diff)
Commit 75da714e20c823f5afada7ac602feba92d7dcf9d by gkistanova
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 Alex Orlov.
Differential Revision: https://reviews.llvm.org/D69049
llvm-svn: 375036
The file was modifiedzorg/buildbot/builders/UnifiedTreeBuilder.py (diff)
Commit d86c54002282bdfc5d5975f373fbdacb9376f89c by gkistanova
ClangBuilder code cleaning. NFC.
llvm-svn: 375078
The file was modifiedzorg/buildbot/builders/ClangBuilder.py (diff)
Commit d1dac53a2fbf62f5d4778d6be54c6a57bafb32be by gkistanova
Added support for is_legacy_mode to ABITestsuitBuilder.
llvm-svn: 375080
The file was modifiedzorg/buildbot/builders/ABITestsuitBuilder.py (diff)
Commit ddd90efa373e24acaba66aa427bc9b1f9f4278bc by gkistanova
Reverted r375035 and r375036 to fix the commit message and author name.
llvm-svn: 375139
The file was modifiedzorg/buildbot/process/factory.py (diff)
The file was modifiedzorg/buildbot/builders/UnifiedTreeBuilder.py (diff)
Commit 8edac4ae2a9bce78d00f9450b6dd64b5ab2e7837 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
llvm-svn: 375140
The file was modifiedzorg/buildbot/process/factory.py (diff)
Commit d036233d0900f6c5b62fdc6ab00ec994820e8831 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
llvm-svn: 375141
The file was modifiedzorg/buildbot/builders/UnifiedTreeBuilder.py (diff)
Commit cf644d982031cc9ff5e1158b818c02b188cb2009 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
llvm-svn: 375168
The file was modifiedzorg/buildbot/process/factory.py (diff)
Commit 98be260ac77adaa4c42256bbbef040c043642343 by gkistanova
Added support for github author names.
llvm-svn: 375188
The file was modifiedzorg/buildbot/util/ConfigEmailLookup.py (diff)
Commit 296302743a062ebdc1f3e160eb767861708a9c3d by gkistanova
Check out the test-suite first to prevent poisoning got_revision
property.
llvm-svn: 375193
The file was modifiedzorg/buildbot/builders/ABITestsuitBuilder.py (diff)
Commit 1348fb0d771647f2fa8a1dc0a8d6046e2b57455b 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
llvm-svn: 375201
The file was addedzorg/buildbot/changes/llvmgitpoller.py
Commit ece89be7d4ee514b8c7332c45bac1626dc6d0b03 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
llvm-svn: 375202
The file was modifiedzorg/buildbot/builders/ClangBuilder.py (diff)
Commit ae72dce96a4648d332c7623939f2b6ba74af8a07 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
llvm-svn: 375204
The file was modifiedbuildbot/osuosl/master/config/schedulers.py (diff)
Commit a38d44fee8791ed2a3e573c9aa7c619ad2c2115f by gkistanova
Add LLVMGitPoller to listen for changes in the monorepo.
llvm-svn: 375205
The file was modifiedbuildbot/osuosl/master/master.cfg (diff)
Commit 061123f05ff0813c36287d2105cb5344d494592b 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
llvm-svn: 375212
The file was modifiedzorg/buildbot/builders/annotated/clang-windows.py (diff)
The file was modifiedzorg/buildbot/builders/annotated/sanitizer-windows.py (diff)
Commit 35e1ae011e77fb04540dec7610cb792ced2fa864 by gkistanova
Apply defaut cmake flags to ABITestsuitBuilder.
llvm-svn: 375268
The file was modifiedzorg/buildbot/builders/ABITestsuitBuilder.py (diff)
Commit 7cfb079f8421ec544e40aadc797dde6831cdf173 by Vitaly Buka
[sanitizers] Increase default "git clone --depth" to 100
llvm-svn: 375291
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_functions.sh (diff)
Commit 1fd74eb838a9b3aa954abf56f30aa4a091b1a027 by gkistanova
Added zorg to the list of SVN projects.
llvm-svn: 375330
The file was modifiedzorg/buildbot/process/factory.py (diff)
Commit 41ad87d6dcf806d5cab39f498bb0f337d4df9d51 by gkistanova
Added the step name param to
LLVMBuildFactory.addGetSourcecodeForProject.
llvm-svn: 375331
The file was modifiedzorg/buildbot/process/factory.py (diff)
Commit 3f72b1e5fe9ea9299d2c37e3f1a197b55e26a359 by gkistanova
Handle is_legacy_mode in LLDPerformanceTestsuite.
llvm-svn: 375336
The file was modifiedzorg/buildbot/builders/LLDPerformanceTestsuite.py (diff)
Commit 7774c4da0ada8aad6524d2e5722c0014fedfd6c0 by gkistanova
Handle is_legacy_mode in ClangLTOBuilder. Refactored to simplify the
code.
llvm-svn: 375353
The file was modifiedzorg/buildbot/builders/ClangLTOBuilder.py (diff)

Summary

  1. [Demangle] Add a few more options to the microsoft demangler (details)
  2. [LLDB] [Windows] Initial support for ARM64 register contexts (details)
  3. [LLDB] [PECOFF] Use a "pc" vendor name in aarch64 triples (details)
  4. tsan: fix Go ppc64le build (details)
  5. [LLD] [COFF] Wrap file location pair<StringRef,int> in Optional<>. NFC. (details)
  6. [MIPS GlobalISel] Refactor MipsRegisterBankInfo [NFC] (details)
  7. Change Comments SmallVector to std::vector in DebugLocStream [NFC] (details)
  8. [MIPS GlobalISel] Add MSA registers to fprb. Select vector load, store (details)
  9. [LLD] [COFF] Fix -Wmissing-field-initializers warnings. NFC. (details)
  10. [LLD] [COFF] Update a leftover comment after SVN r374869. NFC. (details)
  11. [llvm-locstats] Fix 'only params' no entry value stats (details)
  12. Fix uninitialized variable warnings. NFCI. (details)
  13. [DebugInfo] Remove some users of DBG_VALUEs IsIndirect field (details)
  14. [X86] Resolve KnownUndef/KnownZero bits into target shuffle masks in (details)
  15. [DebugInfo] Add interface for pre-calculating the size of emitted DWARF (details)
  16. [Alignment][NFC] Remove dependency on (details)
  17. [DebugInfo] Add a DW_OP_LLVM_entry_value operation (details)
  18. [Concepts] Concept Specialization Expressions (details)
  19. gn build: Merge r374882 (details)
  20. [Alignment] Migrate Attribute::getWith(Stack)Alignment (details)
  21. [clang-tools-extra] Fix overzealous linking of dylib to clangTidy (details)
  22. [InstCombine] fold a shifted bool zext to a select (2nd try) (details)
  23. [ARM][MVE] validForTailPredication insts (details)
  24. [Windows][NFC] Fix tests after r374528. (details)
  25. [Alignment][NFC] Value::getPointerAlignment returns MaybeAlign (details)
  26. [lld] Check for branch range overflows. (details)
  27. [clangd] Propagate main context into ClangdServer (details)
  28. [AST] Remove unused Sema includes to fix a cyclic dependency from Sema (details)
  29. [AsmPrinter] Fix unused variable warning in Release builds. NFC. (details)
  30. Reapply: [Modules][PCH] Hash input files content (details)
  31. a test commit access (details)
  32. revert git test commit (details)
  33. Revert 374882 "[Concepts] Concept Specialization Expressions" (details)
  34. gn build: Merge r374899 (details)
  35. [clangd][NFC] Update comments to use triple-slashes (details)
  36. [DAGCombiner] fold select-of-constants based on sign-bit test (details)
  37. [Concepts] Concept Specialization Expressions (details)
  38. gn build: Merge r374903 (details)
  39. Skip PExpect tests under ASAN, I can't get them to work reliably. (details)
  40. Increase gdbremote_testcase timeouts when running under ASAN. (details)
  41. [Concepts] Remove unused and illegal Sema includes from ExprCXX.cpp (details)
  42. [AMDGPU] Allow DPP combiner to work with REG_SEQUENCE (details)
  43. CFI: wrong type passed to llvm.type.test with multiple inheritance (details)
  44. [AMDGPU] Support mov dpp with 64 bit operands (details)
  45. SBFile::GetFile: convert SBFile back into python native files. (details)
  46. convert SBDebugger::***FileHandle() wrappers to native files. (details)
  47. [lld][WebAssembly] Fix static linking of -fPIC code with external (details)
  48. [AIX][XCOFF] Output XCOFF object text section header and symbol entry (details)
  49. [llvm-profdata] Remove (details)
  50. eliminate virtual methods from PythonDataObjects (details)
  51. [VirtualFileSystem] Support virtual working directory in the (details)
  52. [MemorySSA] Update DomTree before applying MSSA updates. (details)
  53. [libomptarget][nfc] Make interface.h target independent (details)
  54. [NewGVN] Check that call has an access. (details)
  55. Add more information to JSON AST dumping of source locations. (details)
  56. [X86] Make memcmp() use PTEST if possible and also enable AVX1 (details)
  57. [XCOFF] Output object text section header and symbol entry for program (details)
  58. remove FILE* usage from SBStream.i (details)
  59. [libc] Do not add unittests if LLVM_INCLUDE_TESTS is OFF. (details)
  60. Reland [Driver] Fix -working-directory issues (details)
  61. [llvm-profdata] Reinstate (details)
  62. [X86] combineX86ShufflesRecursively - split the getTargetShuffleInputs (details)
  63. Fix Driver/working-directory.c test (details)
  64. [test] Update YAML mapping in VirtualFileSystemTest (details)
  65. [llvm-objdump] Use a counter for llvm-objdump -h instead of the section (details)
  66. [clang] refactor -Wa,-W test cases. (details)
  67. [WebAssembly] Allow multivalue types in block signature operands (details)
  68. Added support for "#pragma clang section relro=<name>" (details)
  69. Revert "[VirtualFileSystem] Support virtual working directory in the (details)
  70. Fix as-w-option.c on Windows where no assembler exists (details)
  71. [Clang][OpenMP Offload] Move offload registration code to the wrapper (details)
  72. [Concept] Associated Constraints Infrastructure (details)
  73. [WebAssembly] Elide data segments for .bss sections (details)
  74. [llvm-readobj][xcoff] implement parsing overflow section header. (details)
  75. [OPENMP]Allow final clause in combined task-based directives. The (details)
  76. [OPENMP]Fix comments/params, NFC. (details)
  77. AMDGPU: Fix infinite searches in SIFixSGPRCopies (details)
  78. [llvm-lipo] Add missing cast (details)
  79. [XCOFF]implement parsing relocation information for 32-bit xcoff object (details)
  80. [lit] Add back LitTestCase (details)
  81. [JITLink] Switch to slab allocation for InProcessMemoryManager, (details)
  82. [Docs] Updates sidebar links and sets max-width property for div.body (details)
  83. [Orc] Add a method for ObjectLinkingLayer to return ownership of object (details)
  84. Remove unnecessary and inappropriate forward-declaration of Sema from (details)
  85. [lldb] Creates _liblldb symlink from cmake (details)
  86. PR43674: fix incorrect constant evaluation of 'switch' where no case (details)
  87. [Reland][VirtualFileSystem] Support virtual working directory in the (details)
  88. [dsymutil] Support and relocate base address selection entries for (details)
  89. [ASan] Refine diagnoses messages (details)
  90. Fix an unused variable introduced in rL374955 / rG21703543. (details)
  91. [libTooling] Put all Transformer declarations in a single namespace. (details)
  92. CodeExtractor: NFC: Use Range based loop (details)
  93. update ScriptInterpreterPython to use File, not FILE* (details)
  94. Revert "[ASan] Refine diagnoses messages" (details)
  95. [Concepts] ConceptSpecializationExprs mangling (details)
  96. [libunwind][Android] Improve workaround for PIE zero-dlpi_addr bug (details)
  97. [LegalizeTypes] Don't call PromoteTargetBoolean from SplitVecOp_VSETCC. (details)
  98. Fix failing mangle-concept.cpp test. (details)
  99. [LegalizeTypes] Don't use PromoteTargetBoolean in WidenVecOp_SETCC. (details)
  100. [CMake] Disable building all Darwin libraries (except builtins) for (details)
  101. [NFC] Replace a linked list in LiveDebugVariables pass with a DenseMap (details)
  102. [HardwareLoops] Optimisation remarks (details)
  103. [ARM][ParallelDSP] Change smlad insertion order (details)
  104. [clangd] Add RemoveUsingNamespace tweak. (details)
  105. gn build: Merge r374982 (details)
  106. [AMDGPU] Extend the SI Load/Store optimizer (details)
  107. Revert 374967 "[Concepts] ConceptSpecializationExprs mangling" (details)
  108. SimpleLoopUnswitch - fix uninitialized variable and null dereference (details)
  109. CGBuiltin - silence static analyzer getAs<> null dereference warnings. (details)
  110. CGExprConstant - silence static analyzer getAs<> null dereference (details)
  111. CGDebugInfo - silence static analyzer dyn_cast<> null dereference (details)
  112. [ARM] Add a register class for GPR pairs without SP and use it. NFCI (details)
  113. RewriteModernObjC - silence static analyzer getAs<> null dereference (details)
  114. Revert "[HardwareLoops] Optimisation remarks" (details)
  115. [InstCombine][AMDGPU] Fix crash with v3i16/v3f16 buffer intrinsics (details)
  116. RealFile - fix self-initialization warning in constructor. (details)
  117. RedirectingFileSystem::openFileForRead - replace bitwise & with boolean (details)
  118. [Alignment][NFC] Optimize alignTo (details)
  119. [Driver,ARM] Make -mfloat-abi=soft turn off MVE. (details)
  120. [llvm-ar] Make paths case insensitive when on windows (details)
  121. [libTooling] Fix r374962: add more Transformer forwarding decls. (details)
  122. [AMDGPU] Fix-up cases where writelane has 2 SGPR operands (details)
  123. [RISCV] Add MachineInstr immediate verification (details)
  124. bpf: fix wrong truncation elimination when there is back-edge/loop (details)
  125. [Remarks] Add support for prepending a path to external files (details)
  126. [Codegen] Adjust saturation test. NFC. (details)
  127. [AArch64,Assembler] Compiler support for ID_MMFR5_EL1 (details)
  128. [Remarks] Use StringRef::contains to avoid differences in error string (details)
  129. [DWARF5] Added support for DW_AT_noreturn attribute to be emitted for (details)
  130. [SVE][IR] Small TypeSize improvements left out of initial commit (details)
  131. [Remarks] Fix unit test by only checking for the path (details)
  132. [Remarks] Fix warning for ambigous `else` behind EXPECT macro (details)
  133. [AMDGPU] Supress unused sdwa insts generation (details)
  134. [OPENMP]Use different addresses for zeroed thread_id/bound_id. (details)
  135. [lit] Clean up internal diff's encoding handling (details)
  136. CombinerHelper - silence dead assignment warnings. NFCI. (details)
  137. [lit] Fix internal diff's --strip-trailing-cr and use it (details)
  138. [NFC][XCOFF][AIX] Rename ControlSections to CsectGroup (details)
  139. Tag CFI-generated data structures with "#pragma clang section" (details)
  140. [lit] Fix a test case that r374652 missed (details)
  141. [lldb] move more things from python to cmake (details)
  142. [SLP] avoid reduction transform on patterns that the backend can (details)
  143. [OPENMP]Allow priority clause in combined task-based directives. (details)
  144. Fix darwin-ld-lto test for some speical path (details)
  145. [llvm-ar] Implement the V modifier as an alias for --version (details)
  146. [android/process list] support showing process arguments (details)
  147. [AMDGPU] Do not combine dpp with physreg def (details)
  148. Replace platform-dependent `stat` with `llvm::sys::fs::status`. NFC (details)
  149. Add arm64_32 support to lldb, an ILP32 codegen that runs on arm64 ISA (details)
  150. [AMDGPU] Do not combine dpp mov reading physregs (details)
  151. [LLDB] Use the llvm microsoft demangler instead of the windows dbghelp (details)
  152. [IndVars] Fix a miscompile in off-by-default loop predication (details)
  153. [clangd] Add the missing dependency on `clangLex`. (details)
  154. Remove a stale comment, noted in post commit review for rL375038 (details)
  155. [Symbolize] Use the local MSVC C++ demangler instead of relying on (details)
  156. GlobalISel: Implement lower for G_SADDO/G_SSUBO (details)
  157. [AArch64] Fix offset calculation (details)
  158. [dsymutil] Print warning/error for unknown/missing arguments. (details)
  159. Update ReleaseNotes: expand the section on enabling MemorySSA (details)
  160. [lit] Small refactoring and cleanups in main.py (details)
  161. [lit] Remove return value from print_summary function (details)
  162. [lit] Skip creation of tmp dir if we don't actually run any tests (details)
  163. [lit] Print warning if we fail to delete temp directory (details)
  164. [Utils] Cleanup similar cases to MergeBlockIntoPredecessor. (details)
  165. [support] GlobPattern: add support for `\` and `[!...]`, and allow `]` (details)
  166. Revert [support] GlobPattern: add support for `\` and `[!...]`, and (details)
  167. [NFC] Fix unused var in release builds (details)
  168. [lit] Factor out separate methods for parallel and serial execution (details)
  169. [lit] Do not create semaphores when we do not need them (details)
  170. [lit] Remove unnecessary usage of lit.Run (details)
  171. [gicombiner] Hoist pure C++ combine into the tablegen definition (details)
  172. [lit] Fix another test case that r374652 missed (details)
  173. [Reproducer] Capture the debugger's working directory (details)
  174. [Reproducer] Add LoadBuffer<> helper (NFC) (details)
  175. [Reproducer] Support dumping the reproducer CWD (details)
  176. Revert "make ConstString allocate memory in non-tiny chunks" (details)
  177. [Concepts] ConceptSpecializationExprs mangling (details)
  178. [Reproducer] Set the working directory in the VFS (details)
  179. [lit] Improve lit.Run class (details)
  180. [GISel][CombinerHelper] Add concat_vectors(build_vector, build_vector) (details)
  181. [gicombiner] Add the run-time rule disable option (details)
  182. [CMake] Make it possible to set the RPATH in add_lldb_exectable. (details)
  183. Revert Tag CFI-generated data structures with "#pragma clang section" (details)
  184. Fix unused variable in r375066 (details)
  185. Correct placement of #ifndef NDEBUG in r375067 (details)
  186. SBCommandReturnObject: change LLDB_RECORD_METHOD(..., FILE *, ...) to (details)
  187. delete SWIG typemaps for FILE* (details)
  188. Include sanitize blacklist and other extra deps as part of scan-deps (details)
  189. Move LiveRangeCalc header to publicily available position. NFC (details)
  190. Clang-formatting of some files in LiveRangeCalc header (LiveRangeCalc.h) (details)
  191. [lld][WebAssembly] Fix for weak references to data symbols in archives (details)
  192. Revert "Include sanitize blacklist and other extra deps as part of (details)
  193. [lld][WebAssebmly] Preserve custom import attributes with LTO (details)
  194. [llvm-ar] Simplify and make two global variables static. NFC (details)
  195. [ThinLTO] Import virtual method with single implementation in hybrid (details)
  196. [Alignment][NFC] Use Align for TargetFrameLowering/Subtarget (details)
  197. [DAGCombine][ARM] Enable extending masked loads (details)
  198. [DFAPacketizer] Use DFAEmitter. NFC. (details)
  199. [ARM][MVE] Change VPST to use, not def, VPR (details)
  200. Revert r374931 "[llvm-objdump] Use a counter for llvm-objdump -h instead (details)
  201. [Analysis] Don't assume that unsigned overflow can't happen in (details)
  202. Try to fix the assert in Alignment::alignAddr to work on 32-bit (details)
  203. Reland: Dead Virtual Function Elimination (details)
  204. [llvm-readobj] - Refine the LLVM-style output to be consistent. (details)
  205. [LLD][ELF] - Update test cases after llvm-readobj output format change. (details)
  206. SemaDeclObjC - silence static analyzer getAs<> null dereference (details)
  207. [LoopIdiom] BCmp: check, not assert that loop exits exit out of the loop (details)
  208. SemaExprCXX - silence static analyzer getAs<> null dereference warnings. (details)
  209. clang-tidy - silence static analyzer getAs<> null dereference warnings. (details)
  210. JumpThreadingPass::UnfoldSelectInstr - silence static analyzer (details)
  211. Include leading attributes in DeclStmt's SourceRange (details)
  212. [llvm-objcopy] --add-symbol: fix crash if SHT_SYMTAB does not exist (details)
  213. [llvm-ar] Implement the O modifier: display member offsets inside the (details)
  214. [docs][llvm-ar] Fix option:: O after r375106 (details)
  215. [ARM][MVE] Enable truncating masked stores (details)
  216. [AMDGPU] Improve code size cost model (details)
  217. [mips] [builtins] Remove clear_mips_cache Differential Revision: (details)
  218. [OpenCL] Add doc to describe OpenCL support (details)
  219. [AIX] TOC pseudo expansion for 64bit large + 64bit small + 32bit large (details)
  220. [lit] Make internal diff work in pipelines (details)
  221. [lit] Extend internal diff to support `-` argument (details)
  222. [clangd] Use our own relation kind. (details)
  223. [OpenCL] Preserve addrspace in CGClass (PR43145) (details)
  224. [OPENMP]Fix thread id passed to outlined region in sequential parallel (details)
  225. Revert r375116: "[lit] Extend internal diff to support `-` argument" (details)
  226. Revert r375114: "[lit] Make internal diff work in pipelines" (details)
  227. [ARC] Basic support in gdb-remote process plugin (details)
  228. [ARC] Add SystemV ABI (details)
  229. [ObjC] Add some additional test cases around pointer conversions. (details)
  230. [ObjC] Diagnose implicit type coercion from ObjC 'Class' to object (details)
  231. [lld][test] Fix use of escape character in an lld test on Windows (details)
  232. Fix an inverted condition in test. (details)
  233. [lit] Create derived classes for serial/parallel test runs (details)
  234. [lit] Synthesize artificial deadline (details)
  235. [lit] Move computation of deadline up into base class (details)
  236. [lld][test] Speculative fix for lld+windows failures (details)
  237. [Sanitizers] Add support for RISC-V 64-bit (details)
  238. [IndVars] Factor out a helper function for readability [NFC] (details)
  239. [OPENMP]Improve use of the global tid parameter. (details)
  240. [NFC][InstCombine] Tests for "fold variable mask before variable (details)
  241. Revert [Sanitizers] Add support for RISC-V 64-bit (details)
  242. [codeview] Workaround for PR43479, don't re-emit instr labels (details)
  243. [IndVars] Split loop predication out of optimizeLoopExits [NFC] (details)
  244. [PowerPC] add tests for popcount with zext; NFC (details)
  245. Revert [lit] Synthesize artificial deadline (details)
  246. Disable TestProcessList on windows (details)
  247. [Reproducer] Surface error if setting the cwd fails (details)
  248. [asan] Update Windows test expectations for LLVM's MS demangler (details)
  249. NFC: Fix variable only used in asserts by propagating the value. (details)
  250. Reapply r375051: [support] GlobPattern: add support for `\` and (details)
  251. [Builtins] Provide a mechanism to selectively disable tests based on (details)
  252. [lldb] Don't emit artificial constructor declarations as global (details)
  253. [PowerPC] Turn on CR-Logical reducer pass (details)
  254. [NFC][InstCombine] Some more preparatory cleanup for (details)
  255. [Object] Fix the return type of getOffset/getSize (details)
  256. [LLDB] [test] Use %clang_cl instead of build.py in a few tests (details)
  257. [cmake] Pass external project source directories to sub-configures (details)
  258. [x86] add test for setcc to shift transform; NFC (details)
  259. Modernize the rest of the Find.* API (NFC) (details)
  260. [Builtins] Downgrade duplicate source file warning from a fatal error to (details)
  261. Revert "[LLDB] [test] Use %clang_cl instead of build.py in a few tests" (details)
  262. Reland "[lit] Synthesize artificial deadline" (details)
  263. libhwasan initialisation include kernel syscall ABI relaxation (details)
  264. [OPENMP]Dow not emit warnings for uninitialized loop counters. (details)
  265. [llvm-objcopy] Add support for shell wildcards (details)
  266. Adapt Windows test to API change. (details)
  267. [lit] Move computation of deadline up into base class (details)
  268. [test] Add a .clang-format file for the shell test. (details)
  269. [lldb] X-fail tests that use constructors in expressions on Windows (details)
  270. (NFC) Delete variable made unused by llvm-svn: 375160 (details)
  271. [AMDGPU] drop getIsFP td helper (details)
  272. [Error] Make llvm::cantFail include the original error messages (details)
  273. [clang-offload-wrapper][NFC] Use captured name of the entry type in LIT (details)
  274. Reland [llvm-objdump] Use a counter for llvm-objdump -h instead of the (details)
  275. [ARM] Fix arm_neon.h with -flax-vector-conversions=none, part 3 (details)
  276. DebugInfo: Remove unused parameter (from (details)
  277. clean up the implementation of PythonCallable::GetNumArguments (details)
  278. eliminate one form of PythonObject::Reset() (details)
  279. DebugInfo: Move loclist base address from DwarfFile to DebugLocStream (details)
  280. [analyzer] exploded-graph-rewriter: Make node headers a bit lighter. (details)
  281. [analyzer] Display cast kinds in program point dumps. (details)
  282. [analyzer] Assign truly stable identifiers to exploded nodes. (details)
  283. [lldb][NFC] Fix typo in DWARFASTParserClang.cpp (details)
  284. [analyzer] exploded-graph-rewriter: Fix typo in r375186. Unbreaks tests. (details)
  285. [Test] Precommit test for D69006 (details)
  286. [IndVars] Factor out some common code into a utility function (details)
  287. [ScopBuilder] Fix bug 38358 by preserving correct order of ScopStmts. (details)
  288. [lit] worker.py: Improve code for executing a single test (details)
  289. [lit] Move resolving of XFAIL result codes out of Test.setResult (details)
  290. [X86] Emit KTEST when possible (details)
  291. [WebAssembly] -pthread implies -target-feature +sign-ext (details)
  292. Update release notes (details)
  293. [InstCombine] Pre-commit of test case showing miscompile bug in (details)
  294. [InstCombine] Fix miscompile bug in canEvaluateShuffled (details)
  295. [AArch64][SVE] Implement unpack intrinsics (details)
  296. [Codegen] Alter the default promotion for saturating adds and subs (details)
  297. Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" (details)
  298. Fix MSVC "not all control paths return a value" warning. NFCI. (details)
  299. [X86] Regenerate memcmp tests and add X64-AVX512 common prefix (details)
  300. [AArch64] Don't combine callee-save and local stack adjustment when (details)
  301. [LLD] [COFF] Try to report source locations for duplicate symbols (details)
  302. [ThinLTOCodeGenerator] Add support for index-based WPD (details)
  303. [Arm][libsanitizer] Fix arm libsanitizer failure with bleeding edge (details)
  304. SystemInitializerCommon fix compilation on linux (details)
  305. [AArch64][SVE] Add SPLAT_VECTOR ISD Node (details)
  306. [ThinLTOCodeGenerator] Add support for index-based WPD (details)
  307. [clangd] Report declaration references in findExplicitReferences. (details)
  308. [AArch64] Adding support for PMMIR_EL1 register (details)
  309. [NFC][CVP] Count all the no-wraps we proved (details)
  310. [AMDGPU][MC][GFX9] Corrected parsing of v_cndmask_b32_sdwa (details)
  311. [SCEV] Removing deprecated comment in ScalarEvolutionExpander (details)
  312. Revert r375152 as it is causing failures on EXPENSIVE_CHECKS bot (details)
  313. Add REQUIRES: x86 to more tests which need the x86 llvm target built (details)
  314. Attempt to fix PS4 buildbot after r375219 (details)
  315. One more attempt to fix PS4 buildbot after r375219 (details)
  316. [lld][coff] Add missing dependency to fix build. (details)
  317. Add ExceptionStream to llvm::Object::minidump (details)
  318. [DFAPacketizer] Fix large compile-time regression for VLIW targets (details)
  319. [AMDGPU][MC][GFX10] Added sdwa/dpp versions of v_cndmask_b32 (details)
  320. Update MinidumpYAML to use minidump::Exception for exception stream (details)
  321. LLDB: Use LLVM's type for minidump ExceptionStream [NFC] (details)
  322. ProcessMinidump: Suppress reporting stop for signal '0' (details)
  323. [tooling] Relax an assert when multiple GPU targets are specified. (details)
  324. [clang-format] fix regression recognizing casts in Obj-C calls (details)
  325. Update docs for fast-math flags. (details)
  326. [IR] Reimplement FPMathOperator::classof as a whitelist. (details)
  327. [X86] combineX86ShufflesRecursively - pull out (details)
  328. [PGO][PGSO] SizeOpts changes. (details)
  329. [OPENMP50]Add support for master taskloop simd. (details)
  330. gn build: Merge r375254 (details)
  331. [DOCS]Update list of implemented constructs, NFC. (details)
  332. [Format] Add format check for throwing negative numbers (details)
  333. [Reproducer] Use ::rtrim() to remove trailing control characters. (details)
  334. [NFC][CVP] Add @llvm.*.sat tests where we could prove both no-overflows (details)
  335. [Codegen] Link MIRParser into CodeGenTests to fix MachineSizeOptsTest (details)
  336. [lit] Only send back test result from worker process (details)
  337. [lit] Remove unnecessary tracking of test_index (details)
  338. [lit] Reduce value of synthesized timeouts (details)
  339. AMDGPU: Fix SMEM WAR hazard for gfx10 readlane (details)
  340. [examples] Add an example of how to use JITLink and small-code-model (details)
  341. AMDGPU: Relax 32-bit SGPR register class (details)
  342. [examples] Fix some comments in the LLJITWithJITLink example (details)
  343. [lldb][NFC] Remove wrong tests in TestCallOverriddenMethod (details)
  344. [CVP] After proving that @llvm.with.overflow()/@llvm.sat() don't (details)
  345. [libunwind][Android] Fix findUnwindSections for ARM EHABI Bionic (details)
  346. scudo: Update TLS_SLOT_SANITIZER value. (details)
  347. [GISel][CallLowering] Make isIncomingArgumentHandler a pure virtual (details)
  348. [analyzer] Fix hidden node traversal in exploded graph dumps. (details)
  349. [analyzer] exploded-graph-rewriter: Fix dump for state 0. (details)
  350. [analyzer] Drop the logic for collapsing the state if it's same as in (details)
  351. [analyzer] Fix FieldRegion dumps. (details)
  352. [analyzer] exploded-graph-rewriter: Rename Environment to Expressions. (details)
  353. [WebAssembly] Allow multivalue signatures in object files (details)
  354. Update global_symbols.txt. (details)
  355. [NFC][CVP] Some tests for `mul` no-wrap deduction (details)
  356. [analyzer] exploded-graph-rewriter: Unforget to censor stmt_ids in the (details)
  357. [X86] Fix register parsing in .seh_* in Intel syntax (details)
  358. Disable exit-on-SIGPIPE in lldb (details)
  359. gn build: Merge r375288 (details)
  360. [CVP] setDeducedOverflowingFlags(): actually inc per-opcode stats (details)
  361. [Reproducer] Improve reproducer help (NFC) (details)
  362. [AMDGPU] Remove -amdgpu-spill-sgpr-to-smem. (details)
  363. [Reproducer] XFAIL TestWorkingDir on Windows (details)
  364. [SampleFDO] Add profile remapping support for profile on-demand loading (details)
  365. [hwasan] Remove system allocator fallback. (details)
  366. [AMDGPU] move PHI nodes to AGPR class (details)
  367. hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on (details)
  368. gn build: Build compiler-rt code with -fvisibility=hidden. (details)
  369. LiveIntervals: Fix handleMoveUp with subreg def moving across a def (details)
  370. [profile] Do not cache __llvm_profile_get_filename result (details)
  371. DebugInfo: Render the canonical name of a class template specialization, (details)
  372. [c++20] Add CXXRewrittenBinaryOperator to represent a comparison (details)
  373. [c++20] Add rewriting from comparison operators to <=> / ==. (details)
  374. P1152R4: Fix deprecation warnings in libc++ testsuite and in uses of (details)
  375. [analyzer] Specify the C++ standard in more tests. (details)
  376. [hip][cuda] Fix the extended lambda name mangling issue. (details)
  377. [clang][driver] Print compilation phases with indentation. (details)
  378. Prune two MachineInstr.h includes, fix up deps (details)
  379. Skip (more) PExpect tests under ASAN, I can't get them to work reliably. (details)
  380. Sema: Create a no-op implicit cast for lvalue function conversions. (details)
  381. [profile] Disable instrprof-get-filename-merge-mode.c on Windows (details)
  382. Move endian constant from Host.h to SwapByteOrder.h, prune include (details)
  383. [profile] Use -fPIC -shared in a test instead of -dynamiclib (details)
  384. New tautological warning for bitwise-or with non-zero constant always (details)
  385. Prune Analysis includes from SelectionDAG.h (details)
  386. Prune a LegacyDivergenceAnalysis and MachineLoopInfo include each (details)
  387. AMDGPU: Remove optnone from a test (details)
  388. [Implicit Modules] Add -cc1 option -fmodules-strict-context-hash which (details)
  389. Avoid including CodeView/SymbolRecord.h from MCStreamer.h (details)
  390. Add -Wbitwise-conditional-parentheses to warn on mixing '|' and '&' with (details)
  391. [Docs] Fix header level. (details)
  392. [analyzer] Fix a crash on tracking Objective-C 'self' as a control (details)
  393. [analyzer] PR43551: Do not dereferce void* in UndefOrNullArgVisitor. (details)
  394. [LLDB] bugfix: command script add -f doesn't work for some callables (details)
  395. convert LLDBSwigPythonCallTypeScript to ArgInfo::max_positional_args (details)
  396. Make it clear in the doc that 'all' in LLVM_ENABLE_PROJECTS does install (details)
  397. Revert "[Implicit Modules] Add -cc1 option -fmodules-strict-context-hash (details)
  398. Explicit in the doc the current list of projects (with easy copy and (details)
  399. Refine check for `_LIBCPP_C_HAS_NO_GETS` on FreeBSD (details)
  400. [X86][SSE] LowerUINT_TO_FP_i64 - only use HADDPD for size/fast-hops (details)
  401. [X86][SSE] lowerV16I8Shuffle - tryToWidenViaDuplication - undef unpack (details)
  402. [MSP430] Shift Amount Threshold in DAGCombine (Baseline Tests); NFC (details)
  403. [ARM] Add dependency on GlobalISel for unit tests to fix shared libs (details)
  404. [TargetLowering][DAGCombine][MSP430] add/use hook for Shift Amount (details)
  405. [X86] Pulled out helper to decode target shuffle element sentinel values (details)
  406. [SCEV] Simplify umin/max of zext and sext of the same value (details)
  407. eliminate nontrivial Reset(...) from TypedPythonObject (details)
  408. AMDGPU: Don't error on calls to null or undef (details)
  409. Fix minor warning in DWARFVerifier. (details)
  410. [LLD][ELF] - Update tests after yaml2obj tool update. (details)
  411. [yaml2obj][obj2yaml] - Do not create a symbol table by default. (details)
  412. [AMDGPU] Fix assertion due to initializer list (details)
  413. AMDGPU: Don't re-get the subtarget (details)
  414. AMDGPU: Add baseline tests for flat offset splitting (details)
  415. AMDGPU: Fix missing OPERAND_IMMEDIATE (details)
  416. AMDGPU: Split flat offsets that don't fit in DAG (details)
  417. AMDGPU: Increase vcc liveness scan threshold (details)
  418. [ConstantRange] Optimize nowrap region test, remove redundant tests; NFC (details)
  419. [ConstantRange] makeGuaranteedNoWrapRegion(): `shl` support (details)
  420. [InstCombine] Shift amount reassociation in shifty sign bit test (details)
  421. [InstCombine] Add tests for uadd/sub.sat(a, b) == 0; NFC (details)
  422. Fix buildbot error in SIRegisterInfo.cpp. (details)
  423. [InstCombine] Fold uadd.sat(a, b) == 0 and usub.sat(a, b) == 0 (details)
  424. Reverted r375254 as it has broken some build bots for a long time. (details)
  425. gn build: Merge r375375 (details)
  426. [NFC][InstCombine] conditional sign-extend of high-bit-extract: 'and' (details)
  427. [InstCombine] conditional sign-extend of high-bit-extract: 'or' pattern. (details)
Commit da92ed8365aa5506c4991b9075f57aeeb7f6f70a by martin
[Demangle] Add a few more options to the microsoft demangler
This corresponds to commonly used options to UnDecorateSymbolName within
llvm.
Add them as hidden options in llvm-undname. MS undname.exe takes numeric
flags, corresponding to the UNDNAME_* constants, but instead of
hardcoding in mappings for those numbers, just add textual options
instead, as it the use of them here is primarily intended for testing.
Differential Revision: https://reviews.llvm.org/D68917
llvm-svn: 374865
The file was modifiedllvm/lib/Demangle/MicrosoftDemangle.cpp
The file was modifiedllvm/lib/Demangle/MicrosoftDemangleNodes.cpp
The file was modifiedllvm/include/llvm/Demangle/Demangle.h
The file was modifiedllvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
The file was addedllvm/test/Demangle/ms-options.test
The file was modifiedllvm/tools/llvm-undname/llvm-undname.cpp
Commit b1f6ba2a2ecdf253c1ee2f2a04156eba78cfe3fa by martin
[LLDB] [Windows] Initial support for ARM64 register contexts
Differential Revision: https://reviews.llvm.org/D67954
llvm-svn: 374866
The file was addedlldb/source/Plugins/Process/Windows/Common/arm64/RegisterContextWindows_arm64.cpp
The file was addedlldb/test/Shell/Register/aarch64-fp-read.test
The file was modifiedlldb/source/Plugins/Process/Windows/Common/CMakeLists.txt
The file was modifiedllvm/utils/lit/lit/llvm/config.py
The file was addedlldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm64.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp
The file was addedlldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm64.h
The file was addedlldb/source/Plugins/Process/Windows/Common/arm64/RegisterContextWindows_arm64.h
The file was addedlldb/test/Shell/Register/Inputs/aarch64-fp-read.cpp
The file was addedlldb/test/Shell/Register/Inputs/aarch64-gp-read.cpp
The file was addedlldb/test/Shell/Register/aarch64-gp-read.test
Commit 674d55438d25e900dba202078a108836ba066e64 by martin
[LLDB] [PECOFF] Use a "pc" vendor name in aarch64 triples
This matches all other architectures listed in the same file.
This fixes debugging aarch64 executables with lldb-server, which
otherwise fails, with log messages like these:
Target::SetArchitecture changing architecture to aarch64
(aarch64-pc-windows-msvc) Target::SetArchitecture Trying to select
executable file architecture aarch64 (aarch64-pc-windows-msvc)
ArchSpec::SetArchitecture sets the vendor to llvm::Triple::PC for any
coff/win32 combination, and if this doesn't match the triple set by the
PECOFF module, things doesn't seem to work with when using lldb-server.
Differential Revision: https://reviews.llvm.org/D68939
llvm-svn: 374867
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
The file was modifiedlldb/test/Shell/ObjectFile/PECOFF/basic-info-arm64.yaml
Commit cc2f68ea2dc8132270218ca14ab0e21fb71d3ec8 by dvyukov
tsan: fix Go ppc64le build
This #define is in the non-Go ppc64le build but not in the Go build.
Reviewed-in: https://reviews.llvm.org/D68046 Author: randall77 (Keith
Randall) llvm-svn: 374868
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform.h
Commit 9318c94ebbf28beb843852246beb34082c659bae by martin
[LLD] [COFF] Wrap file location pair<StringRef,int> in Optional<>. NFC.
This makes use of it slightly clearer, and makes it match the same
construct in the lld ELF linker.
Differential Revision: https://reviews.llvm.org/D68935
llvm-svn: 374869
The file was modifiedlld/COFF/PDB.h
The file was modifiedlld/COFF/PDB.cpp
The file was modifiedlld/COFF/SymbolTable.cpp
Commit f7c213c9c43cba30fb22edde29ccbd19131660e4 by petar.avramovic
[MIPS GlobalISel] Refactor MipsRegisterBankInfo [NFC]
Check if size of operand LLT matches sizes of available register banks
before inspecting the opcode in order to reduce number of checks. Factor
commonly used pieces of code into functions.
Differential Revision: https://reviews.llvm.org/D68866
llvm-svn: 374870
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.h
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
Commit d46ac44ecdc82ac42510e1ce2b9cd90ee2fa7faa by david.stenberg
Change Comments SmallVector to std::vector in DebugLocStream [NFC]
This changes the 32-element SmallVector to a std::vector. When building
a RelWithDebInfo clang-8 binary, the average size of the vector was
~10000, so it does not seem very beneficial or practical to use a small
vector for that.
The DWARFBytes SmallVector grows in the same way as Comments, so perhaps
that also should be changed to a purely dynamically allocated structure,
but that requires some more code changes, so I let that remain as a
SmallVector for now.
llvm-svn: 374871
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DebugLocStream.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ByteStreamer.h
Commit 599591f3d47cad6d70f2346c9056f4d4bbddff31 by petar.avramovic
[MIPS GlobalISel] Add MSA registers to fprb. Select vector load, store
Add vector MSA register classes to fprb, they are 128 bit wide. MSA
instructions use the same registers for both integer and floating point
operations. Therefore we only need to check for vector element size
during legalization or instruction selection.
Add helper function in MipsLegalizerInfo and switch to legalIf
LegalizeRuleSet to keep legalization rules compact since they depend on
MipsSubtarget and presence of MSA. fprb is assigned to all vector
operands. Move selectLoadStoreOpCode to MipsInstructionSelector in order
to reduce number of arguments.
Differential Revision: https://reviews.llvm.org/D68867
llvm-svn: 374872
The file was addedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/load_store_vec.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/load_store_vec.mir
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/load_store_vec.ll
The file was modifiedllvm/lib/Target/Mips/MipsInstructionSelector.cpp
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/load_store_vec.mir
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBanks.td
Commit cd8759c3c29735c0460ff522be72c39c09d81223 by martin
[LLD] [COFF] Fix -Wmissing-field-initializers warnings. NFC.
llvm-svn: 374873
The file was modifiedlld/COFF/SymbolTable.cpp
Commit e0916f4fbe9e9cde88150488eaddceeef277beb2 by martin
[LLD] [COFF] Update a leftover comment after SVN r374869. NFC.
llvm-svn: 374874
The file was modifiedlld/COFF/PDB.cpp
Commit 095531ea941992a0e03bd388cff8a9fae53d3498 by djordje.todorovic
[llvm-locstats] Fix 'only params' no entry value stats
Adding the missing line.
llvm-svn: 374875
The file was modifiedllvm/utils/llvm-locstats/llvm-locstats.py
Commit 4706f3be88d9cb530afb32b8d9d2bd5bfde2c881 by llvm-dev
Fix uninitialized variable warnings. NFCI.
llvm-svn: 374876
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit ed29dbaafa49bb8c9039a35f768244c394411fea by jeremy.morse.llvm
[DebugInfo] Remove some users of DBG_VALUEs IsIndirect field
This patch kills off a significant user of the "IsIndirect" field of
DBG_VALUE machine insts. Brought up in in PR41675, IsIndirect is
techncally redundant as it can be expressed by the DIExpression of a
DBG_VALUE inst, and it isn't helpful to have two ways of expressing
things.
Rather than setting IsIndirect, have DBG_VALUE creators add an extra
deref to the insts DIExpression. There should now be no appearences of
IsIndirect=True from isel down to LiveDebugVariables / VirtRegRewriter,
which is ensured by an assertion in LDVImpl::handleDebugValue. This
means we also get to delete the IsIndirect handling in
LiveDebugVariables. Tests can be upgraded by for example swapping the
following IsIndirect=True DBG_VALUE:
  DBG_VALUE $somereg, 0, !123, !DIExpression(DW_OP_foo)
With one where the indirection is in the DIExpression, by _appending_ a
deref:
  DBG_VALUE $somereg, $noreg, !123, !DIExpression(DW_OP_foo,
DW_OP_deref)
Which both mean the same thing.
Most of the test changes in this patch are updates of that form; also
some changes in how the textual assembly printer handles these insts.
Differential Revision: https://reviews.llvm.org/D68945
llvm-svn: 374877
The file was modifiedllvm/test/DebugInfo/X86/parameters.ll
The file was modifiedllvm/test/DebugInfo/X86/vla.ll
The file was modifiedllvm/test/DebugInfo/ARM/float-stack-arg.ll
The file was modifiedllvm/test/CodeGen/PowerPC/debuginfo-stackarg.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FastISel.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/test/DebugInfo/X86/live-debug-vars-dse.mir
The file was modifiedllvm/test/DebugInfo/X86/op_deref.ll
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/debug-insts.ll
The file was modifiedllvm/test/DebugInfo/X86/spill-nontrivial-param.ll
The file was modifiedllvm/test/DebugInfo/X86/dbg-addr.ll
The file was modifiedllvm/test/CodeGen/ARM/debug-info-arg.ll
The file was modifiedllvm/test/DebugInfo/X86/dbg-addr-dse.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
The file was modifiedllvm/test/DebugInfo/X86/safestack-byval.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/debug-cpp.ll
The file was modifiedllvm/test/DebugInfo/ARM/PR16736.ll
The file was modifiedllvm/test/DebugInfo/COFF/pieces.ll
The file was modifiedllvm/test/DebugInfo/X86/spill-indirect-nrvo.ll
Commit 70778444c7838a13ea0a8c315ad6c1830cb6b41c by llvm-dev
[X86] Resolve KnownUndef/KnownZero bits into target shuffle masks in
helper. NFCI.
llvm-svn: 374878
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 284827f32bd8d06ca1ab8a949bf96088612b1504 by david.stenberg
[DebugInfo] Add interface for pre-calculating the size of emitted DWARF
Summary: DWARF's DW_OP_entry_value operation has two operands; the first
is a ULEB128 operand that specifies the size of the second operand,
which is a DWARF block. This means that we need to be able to
pre-calculate and emit the size of DWARF expressions before emitting
them. There is currently no interface for doing this in DwarfExpression,
so this patch introduces that.
When implementing this I initially thought about running through
DwarfExpression's emission two times; first with a temporary buffer to
emit the expression, in order to being able to calculate the size of
that emitted data. However, DwarfExpression is a quite complex state
machine, so I decided against that, as it seemed like the two runs could
get out of sync, resulting in incorrect size operands. Therefore I have
implemented this in a way that we only have to run DwarfExpression once.
The idea is to emit DWARF to a temporary buffer, for which it is
possible to query the size. The data in the temporary buffer can then be
emitted to DwarfExpression's main output.
In the case of DIEDwarfExpression, a temporary DIE is used. The values
are all allocated using the same BumpPtrAllocator as for all other DIEs,
and the values are then transferred to the real value list. In the case
of DebugLocDwarfExpression, the temporary buffer is implemented using a
BufferByteStreamer which emits to a buffer in the DwarfExpression
object.
Reviewers: aprantl, vsk, NikolaPrica, djtodoro
Reviewed By: aprantl
Subscribers: hiraditya, llvm-commits
Tags: #debug-info, #llvm
Differential Revision: https://reviews.llvm.org/D67768
llvm-svn: 374879
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
The file was modifiedllvm/include/llvm/CodeGen/DIE.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ByteStreamer.h
Commit 0e62011df891d0e7ad904524edf705d07d12d5d4 by gchatelet
[Alignment][NFC] Remove dependency on
GlobalObject::setAlignment(unsigned)
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: arsenm, mehdi_amini, jvesely, nhaehnle, hiraditya,
steven_wu, dexonsmith, dang, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68944
llvm-svn: 374880
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/lib/IR/Globals.cpp
The file was modifiedllvm/unittests/IR/ValueTest.cpp
The file was modifiedllvm/include/llvm/IR/GlobalObject.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/Speculation.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/Instrumentation.cpp
The file was modifiedpolly/lib/CodeGen/LoopGeneratorsKMP.cpp
The file was modifiedllvm/lib/CodeGen/GlobalMerge.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedllvm/unittests/IR/FunctionTest.cpp
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
The file was modifiedllvm/lib/Linker/IRMover.cpp
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/lib/Linker/LinkModules.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
The file was modifiedllvm/include/llvm/LTO/LTO.h
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
The file was modifiedllvm/lib/Transforms/IPO/MergeFunctions.cpp
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/unittests/IR/ConstantsTest.cpp
The file was modifiedllvm/lib/Transforms/IPO/LowerTypeTests.cpp
The file was modifiedllvm/lib/Transforms/IPO/CrossDSOCFI.cpp
The file was modifiedllvm/lib/CodeGen/LowerEmuTLS.cpp
The file was modifiedllvm/lib/Transforms/IPO/ConstantMerge.cpp
Commit 1ae2d9a2bdce054560104f428e92eaef736e5c7f by david.stenberg
[DebugInfo] Add a DW_OP_LLVM_entry_value operation
Summary: Internally in LLVM's metadata we use DW_OP_entry_value
operations with the same semantics as DWARF; that is, its operand
specifies the number of bytes that the entry value covers.
At the time of emitting entry values we don't know the emitted size of
the DWARF expression that the entry value will cover. Currently the size
is hardcoded to 1 in DIExpression, and other values causes the verifier
to fail. As the size is 1, that effectively means that we can only have
valid entry values for registers that can be encoded in one byte, which
are the registers with DWARF numbers 0 to 31 (as they can be encoded as
single-byte DW_OP_reg0..DW_OP_reg31 rather than a multi-byte
DW_OP_regx). It is a bit confusing, but it seems like llvm-dwarfdump
will print an operation "correctly", even if the byte size is less than
that, which may make it seem that we emit correct DWARF for registers
with DWARF numbers > 31. If you instead use readelf for such cases, it
will interpret the number of specified bytes as a DWARF expression. This
seems like a limitation in llvm-dwarfdump.
As suggested in D66746, a way forward would be to add an internal
variant of DW_OP_entry_value, DW_OP_LLVM_entry_value, whose operand
instead specifies the number of operations that the entry value covers,
and we then translate that into the byte size at the time of emission.
In this patch that internal operation is added. This patch keeps the
limitation that a entry value can only be applied to simple register
locations, but it will fix the issue with the size operand being
incorrect for DWARF numbers > 31.
Reviewers: aprantl, vsk, djtodoro, NikolaPrica
Reviewed By: aprantl
Subscribers: jyknight, fedor.sergeev, hiraditya, llvm-commits
Tags: #debug-info, #llvm
Differential Revision: https://reviews.llvm.org/D67492
llvm-svn: 374881
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
The file was modifiedllvm/test/Verifier/diexpression-valid-entry-value.ll
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbginfo-entryvals.mir
The file was modifiedllvm/lib/BinaryFormat/Dwarf.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
The file was addedllvm/test/DebugInfo/Sparc/entry-value-complex-reg-expr.ll
The file was modifiedllvm/test/Verifier/diexpression-entry-value.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/test/DebugInfo/MIR/X86/avoid-single-entry-value-location.mir
The file was modifiedllvm/docs/LangRef.rst
The file was addedllvm/test/Verifier/diexpression-entry-value-llvm-ir.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.h
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/IR/DebugInfoMetadata.cpp
The file was modifiedllvm/test/DebugInfo/MIR/X86/multiple-param-dbg-value-entry.mir
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/test/DebugInfo/MIR/Hexagon/live-debug-values-bundled-entry-values.mir
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
The file was addedllvm/test/DebugInfo/ARM/entry-value-multi-byte-expr.ll
The file was addedllvm/test/Verifier/diexpression-dwarf-entry-value.ll
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbgcall-site-interpretation.mir
Commit ec87b003823d63f3342cf648f55a134c1522e612 by saar
[Concepts] Concept Specialization Expressions
Part of C++20 Concepts implementation effort. Added Concept
Specialization Expressions that are created when a concept is referenced
with arguments, and tests thereof.
llvm-svn: 374882
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was addedclang/test/PCH/cxx2a-concept-specialization-expr.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p5.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p6.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p2.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was removedclang/test/CXX/concepts-ts/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p7.cpp
The file was modifiedclang/lib/Sema/CMakeLists.txt
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was addedclang/lib/Sema/SemaConcept.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/lit.cfg.py
The file was addedclang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/test/Parser/cxx2a-concept-declaration.cpp
The file was removedclang/test/CXX/concepts-ts/expr/expr.prim/expr.prim.id/p3.cpp
Commit a94546987529b4410b99a66dfd268b3faacb78ec by llvmgnsyncbot
gn build: Merge r374882
llvm-svn: 374883
The file was modifiedllvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Commit b65fa483058f1b4049c7201525779b4f49cceb80 by gchatelet
[Alignment] Migrate Attribute::getWith(Stack)Alignment
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, jdoerfert
Reviewed By: courbet
Subscribers: arsenm, jvesely, nhaehnle, hiraditya, cfe-commits,
llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D68792
llvm-svn: 374884
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir
The file was modifiedllvm/lib/IR/Attributes.cpp
The file was modifiedllvm/include/llvm/IR/Attributes.h
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/unittests/IR/AttributesTest.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
Commit 9c9bd1657cbd3504ff719c14ece79ef2af0e0ea2 by mgorny
[clang-tools-extra] Fix overzealous linking of dylib to clangTidy
Fix accidentally making clangTidy library link to dylib.  This causes
libclang.so to also link to dylib which results in duplicate symbols
from shared and static libraries, and effectively to registering
command-line options twice.
Thanks to Sylvestre Ledru for noticing this and tracking it down to
r373786.  Fixes PR#43589.
Differential Revision: https://reviews.llvm.org/D68927
llvm-svn: 374885
The file was modifiedclang-tools-extra/clang-tidy/CMakeLists.txt
Commit 455ce7816ce4510ce1807e7ab5946e48c205c527 by spatel
[InstCombine] fold a shifted bool zext to a select (2nd try)
The 1st attempt at rL374828 inserted the code at the wrong position
(outside of the constant-shift-amount block). Trying again with an
additional test to verify const-ness.
For a constant shift amount, add the following fold. shl (zext (i1 X)),
ShAmt --> select (X, 1 << ShAmt, 0)
https://rise4fun.com/Alive/IZ9
Fixes PR42257.
Based on original patch by @zvi (Zvi Rackover)
Differential Revision: https://reviews.llvm.org/D63382
llvm-svn: 374886
The file was modifiedllvm/test/Transforms/InstCombine/shift.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
Commit ce39278f2575cc0b6481924e02a0fd8632b74aa8 by sam.parker
[ARM][MVE] validForTailPredication insts
Reverse the logic for valid tail predication instructions and create a
whitelist instead. Added other instruction groups that aren't obviously
safe:
- instructions that 'narrow' their result.
- lane moves.
- byte swapping instructions.
- interleaving loads and stores.
- cross-beat carries.
- top/bottom instructions.
- complex operations.
Hopefully we should be able to add more of these instructions to the
whitelist, once we have a more concrete idea of the transform.
Differential Revision: https://reviews.llvm.org/D67904
llvm-svn: 374887
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMInstrFormats.td
The file was modifiedllvm/unittests/Target/ARM/CMakeLists.txt
The file was modifiedllvm/unittests/Target/ARM/MachineInstrTest.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
Commit 86d0f8b148bd8da755cee615725e1488bbe6946e by aleksandr.urakov
[Windows][NFC] Fix tests after r374528.
Differential Revision: https://reviews.llvm.org/D67347
llvm-svn: 374888
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py
Commit bae629b96622962245aad7b7dfcbce915d9c02a2 by gchatelet
[Alignment][NFC] Value::getPointerAlignment returns MaybeAlign
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, jdoerfert
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68398
llvm-svn: 374889
The file was modifiedllvm/unittests/IR/FunctionTest.cpp
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/lib/IR/Value.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/include/llvm/IR/Value.h
The file was modifiedllvm/lib/Analysis/Loads.cpp
Commit ab5025654448ad0c93af18727f9b0698f451bd94 by sidneym
[lld] Check for branch range overflows.
Differential Revision: https://reviews.llvm.org/D68875
llvm-svn: 374891
The file was addedlld/test/ELF/hexagon-jump-error.s
The file was modifiedlld/ELF/Arch/Hexagon.cpp
Commit 9d66247e9b78ceb821fba12a1d2ff66839911163 by kadircet
[clangd] Propagate main context into ClangdServer
Summary: Currently clangd initializes the ClangdServer lazily during
onInitialize request, and it results in propagation of caller's context
rather than the main context created ClangdLSPServer.
This patch changes the logic to store main context that created
ClangdLSPServer and pass it onto to ClangdServer and other objects like
CDBs.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68978
llvm-svn: 374892
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h
Commit dfb7a736015f6270cdc81ab4477768842928f644 by benny.kra
[AST] Remove unused Sema includes to fix a cyclic dependency from Sema
to AST
llvm-svn: 374893
The file was modifiedclang/lib/AST/ExprCXX.cpp
Commit ce00cd6ae845677ef95f8d62a3745f6e13125882 by benny.kra
[AsmPrinter] Fix unused variable warning in Release builds. NFC.
llvm-svn: 374894
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
Commit 1731fc88d1fa1fa55edd056db73a339b415dd5d6 by bruno.cardoso
Reapply: [Modules][PCH] Hash input files content
Summary: When files often get touched during builds, the mtime based
validation leads to different problems in implicit modules builds, even
when the content doesn't actually change:
- Modules only: module invalidation due to out of date files. Usually
causing rebuild traffic.
- Modules + PCH: build failures because clang cannot rebuild a module if
it comes from building a PCH.
- PCH: build failures because clang cannot rebuild a PCH in case one of
the input headers has different mtime.
This patch proposes hashing the content of input files (headers and
module maps), which is performed during serialization time. When looking
at input files for validation, clang only computes the hash in case
there's a mtime mismatch.
I've tested a couple of different hash algorithms availble in LLVM in
face of building modules+pch for `#import <Cocoa/Cocoa.h>`:
- `hash_code`: performace diff within the noise, total module cache
increased by 0.07%.
- `SHA1`: 5% slowdown. Haven't done real size measurements, but it'd be
BLOCK_ID+20 bytes per input file, instead of BLOCK_ID+8 bytes from
`hash_code`.
- `MD5`: 3% slowdown. Like above, but BLOCK_ID+16 bytes per input file.
Given the numbers above, the patch uses `hash_code`. The patch also
improves invalidation error msgs to point out which type of problem the
user is facing: "mtime", "size" or "content".
rdar://problem/29320105
Reviewers: dexonsmith, arphaman, rsmith, aprantl
Subscribers: jkorous, cfe-commits, ributzka
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67249
> llvm-svn: 374841
llvm-svn: 374895
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Serialization/ASTReader.h
The file was addedclang/test/PCH/validate-file-content.m
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/include/clang/Basic/DiagnosticSerializationKinds.td
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was addedclang/test/Modules/validate-file-content.m
Commit defaea0b6c4cccacbaa519a66b318bc3d250e281 by digger.llvm
a test commit access
llvm-svn: 374897
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
Commit 52d2a567b5ea4f2ec6d1dd5e9b5661ca8b763eae by digger.llvm
revert git test commit
llvm-svn: 374898
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
Commit b4638f9ff063a29e84b2d6b949ee4f7d27e4c2ab by nicolasweber
Revert 374882 "[Concepts] Concept Specialization Expressions"
This reverts commit ec87b003823d63f3342cf648f55a134c1522e612. The test
fails on Windows, see e.g.
http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/11533/steps/stage%201%20check/logs/stdio
Also revert follow-up r374893.
llvm-svn: 374899
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/test/Parser/cxx2a-concept-declaration.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was addedclang/test/CXX/concepts-ts/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p2.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p7.cpp
The file was removedclang/test/CXX/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p5.cpp
The file was removedclang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p6.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Sema/CMakeLists.txt
The file was removedclang/test/PCH/cxx2a-concept-specialization-expr.cpp
The file was addedclang/test/CXX/concepts-ts/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was removedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/lit.cfg.py
Commit ae8e69ecd0c756ea9ae69f4096027be3a36ea578 by llvmgnsyncbot
gn build: Merge r374899
llvm-svn: 374900
The file was modifiedllvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Commit b18170660e726cc97caa35cb0c406db184d4a8a2 by kadircet
[clangd][NFC] Update comments to use triple-slashes
llvm-svn: 374901
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h
Commit d545c9056e00988d2d146f8f1440b2dd192f306b by spatel
[DAGCombiner] fold select-of-constants based on sign-bit test
Examples:
i32 X > -1 ? C1 : -1 --> (X >>s 31) | C1
i8 X < 0 ? C1 : 0 --> (X >>s 7) & C1
This is a small generalization of a fold requested in PR43650:
https://bugs.llvm.org/show_bug.cgi?id=43650
The sign-bit of the condition operand can be used as a mask for the true
operand: https://rise4fun.com/Alive/paT
Note that we already handle some of the patterns (isNegative + scalar)
because there's an over-specialized, yet over-reaching fold for that in
foldSelectCCToShiftAnd(). It doesn't use any TLI hooks, so I can't
easily rip out that code even though we're duplicating part of it here.
This fold is guarded by TLI.convertSelectOfConstantsToMath(), so it
should not cause problems for targets that prefer select over shift.
Also worth noting: I thought we could generalize this further to include
the case where the true operand of the select is not constant, but Alive
says that may allow poison to pass through where it does not in the
original select form of the code.
Differential Revision: https://reviews.llvm.org/D68949
llvm-svn: 374902
The file was modifiedllvm/test/CodeGen/X86/select-sra.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 5d98ba6077dac656fbf023e9312d9c131d53144c by saar
[Concepts] Concept Specialization Expressions
Part of C++20 Concepts implementation effort. Added Concept
Specialization Expressions that are created when a concept is refe$
D41217 on Phabricator.
(recommit after fixing failing Parser test on windows)
llvm-svn: 374903
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was removedclang/test/CXX/concepts-ts/expr/expr.prim/expr.prim.id/p3.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p5.cpp
The file was addedclang/test/PCH/cxx2a-concept-specialization-expr.cpp
The file was removedclang/test/CXX/concepts-ts/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/lit.cfg.py
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/Sema/CMakeLists.txt
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p7.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/test/Parser/cxx2a-concept-declaration.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was addedclang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p6.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p2.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp
The file was addedclang/lib/Sema/SemaConcept.cpp
Commit 0cdf478955156b64467627a49accaff793580ea7 by llvmgnsyncbot
gn build: Merge r374903
llvm-svn: 374904
The file was modifiedllvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Commit 263eb368694228efc155f1140779b561d1c34db4 by Adrian Prantl
Skip PExpect tests under ASAN, I can't get them to work reliably.
llvm-svn: 374905
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/multiline-completion/TestMultilineCompletion.py
Commit b459be1025140e7db52de236dc91a83a3e4333d0 by Adrian Prantl
Increase gdbremote_testcase timeouts when running under ASAN.
llvm-svn: 374906
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
Commit 84423bd4396b14d5beb156807377f85d347e68b3 by saar
[Concepts] Remove unused and illegal Sema includes from ExprCXX.cpp
Fixing accidental includes introduced in 374903
llvm-svn: 374907
The file was modifiedclang/lib/AST/ExprCXX.cpp
Commit 6e8599d939791c3751509c5ceebc29e78b61ac57 by Stanislav.Mekhanoshin
[AMDGPU] Allow DPP combiner to work with REG_SEQUENCE
Differential Revision: https://reviews.llvm.org/D68828
llvm-svn: 374908
The file was modifiedllvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/dpp_combine.mir
Commit 034badb312bedfee9e81a933ad3ef7f0a1d8853d by dmitry.mikulin
CFI: wrong type passed to llvm.type.test with multiple inheritance
devirtualization.
Differential Revision: https://reviews.llvm.org/D67985
llvm-svn: 374909
The file was modifiedclang/lib/CodeGen/CGExprCXX.cpp
The file was addedclang/test/CodeGenCXX/cfi-multiple-inheritance.cpp
The file was addedcompiler-rt/test/cfi/multiple-inheritance2.cpp
Commit 1184c27fa586f8fe713921150146d433aae969ff by Stanislav.Mekhanoshin
[AMDGPU] Support mov dpp with 64 bit operands
We define mov/update dpp intrinsics as overloaded but do not support
i64, which is a practically useful type. Fix the selection and lowering.
Differential Revision: https://reviews.llvm.org/D68673
llvm-svn: 374910
The file was modifiedllvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.update.dpp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.mov.dpp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/dpp_combine.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
Commit d9b553ec9961e95740535d3aeff62817f867767f by lawrence_danna
SBFile::GetFile: convert SBFile back into python native files.
Summary: This makes SBFile::GetFile public and adds a SWIG typemap to
convert the result back into a python native file.
If the underlying File itself came from a python file, it is returned
identically.   Otherwise a new python file object is created using the
file descriptor.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68737
llvm-svn: 374911
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/scripts/interface/SBFile.i
The file was modifiedlldb/source/Host/common/File.cpp
The file was modifiedlldb/include/lldb/API/SBFile.h
The file was modifiedlldb/include/lldb/Host/File.h
The file was modifiedlldb/scripts/Python/python-typemaps.swig
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
The file was modifiedlldb/source/API/SBFile.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
Commit 311dbb1bd7c2933e8c1f5317aa9ef8715b4fae3c by lawrence_danna
convert SBDebugger::***FileHandle() wrappers to native files.
Summary: This patch converts the swig wrappers for SetInputFileHandle()
and friends to emulate the old behavior using SetInputFile().
This will clear the way for deleting the FILE* typemaps altogether.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: mehdi_amini, dexonsmith, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68856
llvm-svn: 374912
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
The file was modifiedlldb/scripts/interface/SBDebugger.i
Commit 1ab27c74d4b183454e2b7ab74c42a39f7c02cab4 by jrtc27
[lld][WebAssembly] Fix static linking of -fPIC code with external
undefined data
Reviewers: ruiu, sbc100
Reviewed By: sbc100
Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68991
llvm-svn: 374913
The file was modifiedlld/wasm/SyntheticSections.cpp
The file was modifiedlld/test/wasm/pic-static.ll
Commit 41ca91f2995b2dab915c1c1001adc0a26d74bf6e by digger.llvm
[AIX][XCOFF] Output XCOFF object text section header and symbol entry
for program code.
SUMMARY Original form of this patch is provided by Stefan Pintillie.
The patch try to output program code section header , symbol entry for
program code (PR) and Instruction into the raw text section. The patch
include how to alignment and layout the CSection in the text section.
The patch also reorganize the code , put some codes into a
function(XCOFFObjectWriter::writeSymbolTableEntryForControlSection)
Additional: We can not add raw data of text section test in the patch,
If want to output raw text section data,it need a function description
patch first.
Reviewers: hubert.reinterpretcast, sfertile, jasonliu, xingxue.
Subscribers: wuzish, nemanjai, hiraditya, MaskRay, jsjji.
Differential Revision: https://reviews.llvm.org/D66969
llvm-svn: 374914
The file was addedllvm/test/CodeGen/PowerPC/aix-return55.ll
Commit e409f12131905a07e9286c0e191af9978e43b893 by Vedant Kumar
[llvm-profdata] Remove
tools/llvm-profdata/malformed-ptr-to-counter-array.test
This test is still failing on the ARM bots and I need time to
investigate.
llvm-svn: 374915
The file was removedllvm/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test
Commit d3bd5b3d71ae9fc3a3a45e05d5dba6b1ecbcb2f5 by lawrence_danna
eliminate virtual methods from PythonDataObjects
Summary: This patch eliminates a bunch of boilerplate from
PythonDataObjects, as well as the use of virtual methods. In my opinion
it also makes the Reset logic a lot more clear and easy to follow.   The
price is yet another template.   I think it's worth it.
Reviewers: JDevlieghere, jasonmolenda, labath, zturner
Reviewed By: JDevlieghere, labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68918
llvm-svn: 374916
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
Commit 0b9981b180ef2f08d2a97cfda2fb6ca35ad5e93c by Jonas Devlieghere
[VirtualFileSystem] Support virtual working directory in the 
RedirectingFS
Before this patch, changing the working directory of the RedirectingFS
would just forward to its external file system. This prevented us from
having a working directory that only existed in the VFS mapping.
This patch adds support for a virtual working directory in the
RedirectingFileSystem. It now keeps track of its own WD in addition to
updating the WD of the external file system. This ensures that we can
still fall through for relative paths.
This change was originally motivated by the reproducer infrastructure in
LLDB where we want to deal transparently with relative paths.
Differential revision: https://reviews.llvm.org/D65677
llvm-svn: 374917
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
Commit 35c8af1850667b284829a329568ad90f9615e630 by asbirlea
[MemorySSA] Update DomTree before applying MSSA updates.
Update on the fix in rL374850.
llvm-svn: 374918
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
Commit d69d1aa131b4cf339bfac116e50da33a5f94b861 by jonathanchesterfield
[libomptarget][nfc] Make interface.h target independent
Summary:
[libomptarget][nfc] Make interface.h target independent
Move interface.h under a top level include directory. Remove #includes
to avoid the interface depending on the implementation.
Reviewers: ABataev, jdoerfert, grokos, ronlieb, RaviNarayanaswamy
Reviewed By: jdoerfert
Subscribers: mgorny, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D68615
llvm-svn: 374919
The file was addedopenmp/libomptarget/deviceRTLs/interface.h
The file was removedopenmp/libomptarget/deviceRTLs/nvptx/src/interface.h
The file was addedopenmp/libomptarget/deviceRTLs/nvptx/src/nvptx_interface.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/option.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
Commit 3de89f3416bfa78079136ea6566c8f82b1b64292 by asbirlea
[NewGVN] Check that call has an access.
Check that a call has an attached MemoryAccess before calling
getClobbering on the instruction. If no access is attached, the
instruction does not access memory.
Resolves PR43441.
llvm-svn: 374920
The file was addedllvm/test/Transforms/NewGVN/pr43441.ll
The file was modifiedllvm/lib/Transforms/Scalar/NewGVN.cpp
Commit 27c7a9b157555e53fb3887e87a492f74fa8bcc56 by aaron
Add more information to JSON AST dumping of source locations.
This adds information about the offset within the source file to the
given source location as well as information about the include file a
location is from. These pieces of information allow for more efficient
post-processing of JSON AST dumps.
llvm-svn: 374921
The file was modifiedclang/test/AST/ast-dump-comment-json.cpp
The file was modifiedclang/test/AST/ast-dump-macro-json.c
The file was modifiedclang/test/AST/ast-dump-stmt-json.cpp
The file was addedclang/test/AST/Inputs/json-dump-include.h
The file was modifiedclang/test/AST/ast-dump-enum-json.cpp
The file was modifiedclang/test/AST/ast-dump-funcs-json.cpp
The file was modifiedclang/test/AST/multistep-explicit-cast-json.c
The file was modifiedclang/test/AST/ast-dump-decl-json.m
The file was modifiedclang/test/AST/ast-dump-stmt-json.c
The file was modifiedclang/test/AST/ast-dump-expr-json.cpp
The file was modifiedclang/test/AST/ast-dump-decl-context-json.cpp
The file was modifiedclang/include/clang/AST/JSONNodeDumper.h
The file was modifiedclang/test/AST/ast-dump-decl-json.c
The file was modifiedclang/test/AST/ast-dump-records-json.cpp
The file was modifiedclang/test/AST/multistep-explicit-cast-json.cpp
The file was modifiedclang/test/AST/ast-dump-template-decls-json.cpp
The file was modifiedclang/test/AST/ast-dump-namespace-json.cpp
The file was modifiedclang/test/AST/gen_ast_dump_json_test.py
The file was modifiedclang/test/AST/ast-dump-expr-json.m
The file was modifiedclang/test/AST/ast-dump-if-json.cpp
The file was modifiedclang/test/AST/ast-dump-record-definition-data-json.cpp
The file was modifiedclang/test/AST/ast-dump-temporaries-json.cpp
The file was modifiedclang/lib/AST/JSONNodeDumper.cpp
The file was modifiedclang/test/AST/ast-dump-stmt-json.m
The file was modifiedclang/test/AST/ast-dump-expr-json.c
The file was modifiedclang/test/AST/ast-dump-types-json.cpp
Commit 59390efef2599a268f2249f7d3f80111952d53ff by dave
[X86] Make memcmp() use PTEST if possible and also enable AVX1
llvm-svn: 374922
The file was modifiedllvm/test/CodeGen/X86/memcmp-minsize.ll
The file was modifiedllvm/test/CodeGen/X86/memcmp.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/setcc-wide-types.ll
The file was modifiedllvm/test/CodeGen/X86/memcmp-optsize.ll
Commit fdfd6ab12e5e2ad3f6641a3b4442b3140212d29b by digger.llvm
[XCOFF] Output object text section header and symbol entry for program
code.
This is remaining part of  rG41ca91f2995b: [AIX][XCOFF] Output XCOFF
object text section header and symbol entry for rogram code.
SUMMARY: Original form of this patch is provided by Stefan Pintillie.
1. The patch try to output program code section header , symbol entry
for
program code (PR) and Instruction into the raw text section. 2. The
patch include how to alignment and layout the CSection in the text
section. 3. The patch also reorganize the code , put some codes into a
function.
(XCOFFObjectWriter::writeSymbolTableEntryForControlSection)
Additional: We can not add raw data of text section test in the patch,
If want
to output raw text section data,it need a function description patch
first.
Reviewers: hubert.reinterpretcast, sfertile, jasonliu, xingxue.
Subscribers: wuzish, nemanjai, hiraditya, MaskRay, jsjji.
Differential Revision: https://reviews.llvm.org/D66969
llvm-svn: 374923
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-common.ll
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-lcomm.ll
The file was modifiedllvm/lib/MC/MCXCOFFStreamer.cpp
The file was modifiedllvm/include/llvm/MC/MCSectionXCOFF.h
Commit 30cf609548d9379178ef618d9c8790459221ed22 by lawrence_danna
remove FILE* usage from SBStream.i
Summary: This patch removes FILE* and replaces it with SBFile and FileSP
the SWIG interface for `SBStream.i`.   And this is the last one.   With
this change, nothing in the python API will can access a FILE* method on
the C++ side.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68960
llvm-svn: 374924
The file was modifiedlldb/source/API/SBStream.cpp
The file was modifiedlldb/include/lldb/API/SBStream.h
The file was modifiedlldb/scripts/interface/SBStream.i
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
Commit c1157d1e77c30f9431e09e599afbb788d5894910 by sivachandra
[libc] Do not add unittests if LLVM_INCLUDE_TESTS is OFF.
Reviewers: nathanchance
Subscribers: mgorny, tschuett, libc-commits
Tags: #libc-project
Differential Revision: https://reviews.llvm.org/D68726
llvm-svn: 374925
The file was modifiedlibc/cmake/modules/LLVMLibCRules.cmake
Commit f8907fa6f4b77b5daddb796d16cceca64e3f7cbe by Jan Korous
Reland [Driver] Fix -working-directory issues
Don't change the default VFS in Driver, update tests & reland.
This reverts commit 999f8a7416f8edc54ef92e715fd23c532bcc74d4.
llvm-svn: 374926
The file was modifiedclang/test/Driver/gen-cdb-fragment.c
The file was modifiedclang/test/Driver/working-directory.c
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
Commit c7ec51a7c3ede8c1024b90d5fdc91979a9f01bf8 by Vedant Kumar
[llvm-profdata] Reinstate
tools/llvm-profdata/malformed-ptr-to-counter-array.test
I removed this test to unblock the ARM bots while looking into failures
(r374915), and am reinstating it now with a fix.
I believe the problem was that counter ptr address I used,
'\0\0\6\0\1\0\0\1', set the high bits of the pointer, not the low bits
like I wanted. On x86_64 this superficially looks like it tests r370826,
but it doesn't, as it would have been caught before r370826. However, on
ARM (or, 32-bit hosts more generally), I suspect the high bits were
cleared, and you get a 'valid' profile.
I verified that setting the *low* bits of the pointer does trigger the
new condition:
-// Note: The CounterPtr here is off-by-one. This should trigger a
malformed profile error.
-RUN: printf '\0\0\6\0\1\0\0\1' >> %t.profraw
+// Note: The CounterPtr here is off-by-one.
+//
+// Octal '\11' is 9 in decimal: this should push CounterOffset to 1. As
there are two counters,
+// the profile reader should error out.
+RUN: printf '\11\0\6\0\1\0\0\0' >> %t.profraw
This reverts commit c7cf5b3e4b918c9769fd760f28485b8d943ed968.
llvm-svn: 374927
The file was addedllvm/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test
Commit 50dc09dd1640f9d0e16f7c1351f068f3f0711db2 by llvm-dev
[X86] combineX86ShufflesRecursively - split the getTargetShuffleInputs
call from the resolveTargetShuffleAndZeroables call.
Exposes an issue in getFauxShuffleMask where the OR(SHUFFLE,SHUFFLE)
decode should always resolve zero/undef elements.
Part of the fix for PR43024 where ideally we shouldn't call
resolveTargetShuffleAndZeroables for Depth == 0
llvm-svn: 374928
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 9e49adc97574ca777e7ab8ec90a88a8b68ca1558 by Jan Korous
Fix Driver/working-directory.c test
Accidentally committed debug print.
llvm-svn: 374929
The file was modifiedclang/test/Driver/working-directory.c
Commit 621ce3790ba254256222addad60d818cb90ac831 by Jonas Devlieghere
[test] Update YAML mapping in VirtualFileSystemTest
The 'bar' directory should be part of the root rather than the file
itself.
llvm-svn: 374930
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
Commit eb501b1fc17783f548e7d337521161cbd9ff7ddd by rupprecht
[llvm-objdump] Use a counter for llvm-objdump -h instead of the section
index.
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: 374931
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 0650355c09ab8e6605ae37b818270a7a7c8ce2c7 by caij2003
[clang] refactor -Wa,-W test cases.
Remove REQUIRES and only keep the clang driver tests, since the
assembler are already tested with -Wa,--no-warn. This way we could run
the test on non-linux platforms and catch breaks on them.
llvm-svn: 374932
The file was modifiedclang/test/Driver/as-w-option.c
Commit 2cb27072cefb11d5018735a3b70a903dc1d319ac by tlively
[WebAssembly] Allow multivalue types in block signature operands
Summary: Renames `ExprType` to the more apt `BlockType` and adds a
variant for multivalue blocks. Currently non-void blocks are only
generated at the end of functions where the block return type needs to
agree with the function return type, and that remains true for
multivalue blocks. That invariant means that the actual signature does
not need to be stored in the block signature `MachineOperand` because it
can be inferred by `WebAssemblyMCInstLower` from the return type of the
parent function. `WebAssemblyMCInstLower` continues to lower block
signature operands to immediates when possible but lowers multivalue
signatures to function type symbols. The AsmParser and Disassembler are
updated to handle multivalue block types as well.
Reviewers: aheejin, dschuff, aardappel
Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68889
llvm-svn: 374933
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/multivalue.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
The file was modifiedllvm/test/MC/WebAssembly/basic-assembly.s
The file was modifiedllvm/tools/llvm-mc/llvm-mc.cpp
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
The file was modifiedllvm/tools/llvm-mc/Disassembler.h
The file was modifiedllvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h
The file was modifiedllvm/test/MC/Disassembler/WebAssembly/wasm-error.txt
The file was modifiedllvm/lib/Target/WebAssembly/Disassembler/LLVMBuild.txt
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp
The file was modifiedllvm/tools/llvm-mc/Disassembler.cpp
Commit f14642f2f185f9af290f9fcace4851adbbe16432 by dmitry.mikulin
Added support for "#pragma clang section relro=<name>"
Differential Revision: https://reviews.llvm.org/D68806
llvm-svn: 374934
The file was modifiedclang/test/CodeGenCXX/clang-sections.cpp
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedllvm/include/llvm/IR/GlobalVariable.h
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedllvm/lib/Target/TargetLoweringObjectFile.cpp
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was addedllvm/test/MC/ELF/section-relro.ll
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/Sema/pragma-clang-section.c
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/lib/Parse/ParsePragma.cpp
Commit 409b4b5fb39efc775762f3391062d2258c073add by Jonas Devlieghere
Revert "[VirtualFileSystem] Support virtual working directory in the 
RedirectingFS"
This reverts the original commit and the follow up:
Revert "[VirtualFileSystem] Support virtual working directory in the
RedirectingFS" Revert "[test] Update YAML mapping in
VirtualFileSystemTest"
llvm-svn: 374935
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
Commit 215a8d948d6600dcbfd68dfc8d5331a86b1d5591 by rnk
Fix as-w-option.c on Windows where no assembler exists
llvm-svn: 374936
The file was modifiedclang/test/Driver/as-w-option.c
Commit 5836c356fa6e17d0e10a2f9e0e111b7236dc15fb by serguei.n.dmitriev
[Clang][OpenMP Offload] Move offload registration code to the wrapper
The final list of OpenMP offload targets becomes known only at the link
time and since offload registration code depends on the targets list it
makes sense to delay offload registration code generation to the link
time instead of adding it to the host part of every fat object. This
patch moves offload registration code generation from clang to the
offload wrapper tool.
This is the last part of the OpenMP linker script elimination patch
https://reviews.llvm.org/D64943
Differential Revision: https://reviews.llvm.org/D68746
llvm-svn: 374937
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/Driver/clang-offload-wrapper.c
The file was modifiedclang/test/OpenMP/openmp_offload_registration.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/test/OpenMP/target_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_depend_codegen.cpp
The file was modifiedclang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen_registration.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen_registration.cpp
Commit 0330fba6e16db9b5d2079313646f93485c5ccf39 by saar
[Concept] Associated Constraints Infrastructure
Add code to correctly calculate the associated constraints of a template
(no enforcement yet). D41284 on Phabricator.
llvm-svn: 374938
The file was addedclang/test/CXX/temp/temp.constr/temp.constr.decl/var-template-decl.cpp
The file was modifiedclang/include/clang/AST/DeclTemplate.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/AST/ASTNodeTraverser.h
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/AST/DeclTemplate.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was addedclang/test/CXX/temp/temp.constr/temp.constr.decl/func-template-decl.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was addedclang/test/CXX/temp/concept/p4.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
Commit 190dacc3cc206fa90a44e2f4aa6b56c327d1942a by tlively
[WebAssembly] Elide data segments for .bss sections
Summary: WebAssembly memories are zero-initialized, so when module does
not import its memory initializing .bss sections is guaranteed to be a
no-op. To reduce binary size and initialization time, .bss sections are
simply not emitted into the final binary unless the memory is imported.
Reviewers: sbc100
Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68965
llvm-svn: 374940
The file was modifiedlld/wasm/SyntheticSections.cpp
The file was modifiedlld/wasm/SyntheticSections.h
The file was modifiedlld/test/wasm/data-segments.ll
The file was modifiedlld/wasm/Writer.cpp
The file was modifiedlld/test/wasm/custom-section-name.ll
The file was modifiedlld/wasm/OutputSegment.h
The file was modifiedlld/test/wasm/Inputs/locals-duplicate2.ll
The file was modifiedlld/wasm/OutputSections.cpp
The file was modifiedlld/wasm/OutputSections.h
The file was modifiedlld/test/wasm/Inputs/locals-duplicate1.ll
The file was modifiedlld/test/wasm/data-layout.ll
The file was addedlld/test/wasm/bss-only.ll
The file was modifiedlld/test/wasm/locals-duplicate.test
Commit 1875dcc47887b2ba582e26b7014ba1eaa82ea1de by digger.llvm
[llvm-readobj][xcoff] implement parsing overflow section header.
SUMMARY: in the xcoff, if the number of relocation entries or line
number entries is overflow(large than or equal 65535) , there will be
overflow section for it. The interpret of overflow section is different
with generic section header, the patch implement parsing the overflow
section.
Reviewers: hubert.reinterpretcast,sfertile,jasonliu Subscribers:
rupprecht, seiya
Differential Revision: https://reviews.llvm.org/D68575
llvm-svn: 374941
The file was modifiedllvm/tools/llvm-readobj/XCOFFDumper.cpp
The file was addedllvm/test/tools/llvm-readobj/Inputs/xcoff-reloc-overflow.o
The file was addedllvm/test/tools/llvm-readobj/xcoff-overflow-section.test
Commit 3a842ec3ca4dffc1f8da88121c239b6dbb2209f0 by a.bataev
[OPENMP]Allow final clause in combined task-based directives. The
condition of the final clause must be captured in the combined
task-based directives, like 'parallel master taskloop' directive.
llvm-svn: 374942
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_codegen.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/AST/OpenMPClause.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_ast_print.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/include/clang/AST/OpenMPClause.h
Commit d498d606b98179f96b33683e296f8c09568028bd by a.bataev
[OPENMP]Fix comments/params, NFC.
llvm-svn: 374943
The file was modifiedclang/include/clang/AST/OpenMPClause.h
Commit 527e9f9a3f939b2fdb296da9e0e7bbe79b8f4a44 by Austin.Kerbow
AMDGPU: Fix infinite searches in SIFixSGPRCopies
Summary: Two conditions could lead to infinite loops when processing PHI
nodes in SIFixSGPRCopies.
The first condition involves a REG_SEQUENCE that uses registers defined
by both a PHI and a COPY.
The second condition arises when a physical register is copied to a
virtual register which is then used in a PHI node. If the same virtual
register is copied to the same physical register, the result is an
endless loop.
%0:sgpr_64 = COPY $sgpr0_sgpr1
%2 = PHI %0, %bb.0, %1, %bb.1
$sgpr0_sgpr1 = COPY %0
Reviewers: alex-t, rampitec, arsenm
Reviewed By: rampitec
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr,
t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68970
llvm-svn: 374944
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/fix-sgpr-copies.mir
Commit 4f2f9c00b978e45a0bb4c229912359e84ad6af11 by shal1t712
[llvm-lipo] Add missing cast
Add missing cast (to correctly sum 32-bit integers).
Test plan: make check-all
llvm-svn: 374945
The file was modifiedllvm/tools/llvm-lipo/llvm-lipo.cpp
Commit 34d4bff3d6d7cc521b06679536b0273c00bb0b3b by digger.llvm
[XCOFF]implement parsing relocation information for 32-bit xcoff object
file
Summary:
   Parsing the relocation entry information for 32-bit xcoff object file
including deal with the relocation overflow.
Reviewers: hubert.reinterpretcast, jasonliu, sfertile, xingxue.
Subscribers: hiraditya, rupprecht, seiya
Differential Revision: https://reviews.llvm.org/D67008
llvm-svn: 374946
The file was modifiedllvm/test/tools/llvm-readobj/xcoff-basic.test
The file was addedllvm/test/tools/llvm-readobj/reloc_overflow.test
The file was modifiedllvm/tools/llvm-readobj/XCOFFDumper.cpp
The file was modifiedllvm/include/llvm/Object/XCOFFObjectFile.h
The file was modifiedllvm/include/llvm/BinaryFormat/XCOFF.h
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
Commit 74b285eee7288500f6041c0fa49413c8ead217f4 by jlettner
[lit] Add back LitTestCase
This essentially reverts a commit [1] that removed the adaptor for
Python unittests.  The code has been slightly refactored to make it more
additive: all code is contained in LitTestCase.py.
Usage sites will require a small adaption:
```
[old]
import lit.discovery
...
test_suite = lit.discovery.load_test_suite(...)
[new]
import lit.LitTestCase
...
test_suite = lit.LitTestCase.load_test_suite(...)
```
This was put back on request by Daniel Dunbar, since I wrongly assumed
that the functionality is unused.  At least llbuild still uses this [2].
[1] 70ca752ccf6a8f362aea25ccd3ee2bbceca93b20
[2]
https://github.com/apple/swift-llbuild/blob/master/utils/Xcode/LitXCTestAdaptor/LitTests.py#L16
Reviewed By: ddunbar
Differential Revision: https://reviews.llvm.org/D69002
llvm-svn: 374947
The file was addedllvm/utils/lit/tests/Inputs/unittest-adaptor/lit.cfg
The file was addedllvm/utils/lit/lit/LitTestCase.py
The file was addedllvm/utils/lit/tests/Inputs/unittest-adaptor/test-two.txt
The file was addedllvm/utils/lit/tests/unittest-adaptor.py
The file was addedllvm/utils/lit/tests/Inputs/unittest-adaptor/test-one.txt
Commit c85d0aaa2a6db5e71dddd76f9c380d8b786c5c9e by Lang Hames
[JITLink] Switch to slab allocation for InProcessMemoryManager,
re-enable test.
InProcessMemoryManager used to make separate memory allocation calls for
each permission level (RW, RX, RO), which could lead to
target-out-of-range errors if data and code were placed too far apart
(this was the source of failures in the JITLink/AArch64 testcase when it
was first landed).
This patch updates InProcessMemoryManager to allocate a single slab
which is subdivided between text and data. This should guarantee that
accesses remain in-range provided that individual object files do not
exceed 1Mb in size. This patch also re-enables the JITLink/AArch64
testcase.
llvm-svn: 374948
The file was modifiedllvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg
The file was modifiedllvm/lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp
Commit 75b991ebdf85f2a7a8914abbc2a1bbf2071ab786 by d4m1887
[Docs] Updates sidebar links and sets max-width property for div.body
Updates the sidebar links for Getting Started. Also sets max-width on
div.body to 1000px.
llvm-svn: 374949
The file was modifiedllvm/docs/_templates/indexsidebar.html
The file was modifiedllvm/docs/_themes/llvm-theme/static/llvm-theme.css
Commit a98546ebcd2a692e0634c5b1a7e77471316ab6e0 by Lang Hames
[Orc] Add a method for ObjectLinkingLayer to return ownership of object
buffers.
RTDyldObjectLinkingLayer allowed clients to register a NotifyEmitted
function to reclaim ownership of object buffers once they had been
linked. This patch adds similar functionality to ObjectLinkingLayer:
Clients can now optionally call the
ObjectLinkingLayer::setReturnObjectBuffer method to register a function
that will be called when discarding object buffers. If set, this
function will be called to return ownership of the object regardless of
whether the link succeeded or failed.
Use cases for this function include debug dumping (it provides a way to
dump all objects linked into JIT'd code) and object re-use (e.g. storing
an object in a cache).
llvm-svn: 374951
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
Commit 666f977166541f1c71f64357a3157c56ecec8faf by richard-llvm
Remove unnecessary and inappropriate forward-declaration of Sema from
AST.
llvm-svn: 374952
The file was modifiedclang/include/clang/AST/ExprCXX.h
Commit 208e9c01fc094cedbcf47f39a902cff13dce0039 by hhb
[lldb] Creates _liblldb symlink from cmake
Summary: This is another attempt of D67993.
This change removed hard coded relative paths. This way we can generate
correct result when get_python_lib() returns a different path, or
LLDB_PYTHON_RELATIVE_PATH is specified directly.
By moving things out of python, we are also able to correctly process
more cross compile situations. E.g. .pyd vs .so for Windows.
Subscribers: lldb-commits, mgorny
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68858
llvm-svn: 374953
The file was modifiedlldb/CMakeLists.txt
The file was modifiedlldb/scripts/Python/finishSwigPythonLLDB.py
Commit 61dadfc894c566ce0af6163159ba0ba76d8007ad by richard-llvm
PR43674: fix incorrect constant evaluation of 'switch' where no case
label corresponds to the condition.
llvm-svn: 374954
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx1y.cpp
Commit 21703543a77dfae0e7a4dc45d4c3c4eed0308953 by Jonas Devlieghere
[Reland][VirtualFileSystem] Support virtual working directory in the
RedirectingFS
Before this patch, changing the working directory of the RedirectingFS
would just forward to its external file system. This prevented us from
having a working directory that only existed in the VFS mapping.
This patch adds support for a virtual working directory in the
RedirectingFileSystem. It now keeps track of its own WD in addition to
updating the WD of the external file system. This ensures that we can
still fall through for relative paths.
This change was originally motivated by the reproducer infrastructure in
LLDB where we want to deal transparently with relative paths.
Differential revision: https://reviews.llvm.org/D65677
llvm-svn: 374955
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
Commit 20c692a44555dc6e4ffee66a874e63c382e925df by Jonas Devlieghere
[dsymutil] Support and relocate base address selection entries for
debug_loc
Since r374600 clang emits base address selection entries. Currently
dsymutil does not support these entries and incorrectly interprets them
as location list entries.
This patch adds support for base address selection entries in dsymutil
and makes sure they are relocated correctly.
Thanks to Dave for coming up with the test case!
Differential revision: https://reviews.llvm.org/D69005
llvm-svn: 374957
The file was addedllvm/test/tools/dsymutil/X86/debug-loc-base-addr.test
The file was addedllvm/test/tools/dsymutil/Inputs/private/tmp/baseaddr/loc1.o
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was addedllvm/test/tools/dsymutil/Inputs/private/tmp/baseaddr/loc1.x86_64
Commit 4d1ecadda59ce82e5fa6e28dd15bf794eee88363 by jlettner
[ASan] Refine diagnoses messages
The provided PC is not reliable in every case, so don't suggest
something that does not make sense.
llvm-svn: 374959
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
Commit a3378063ff6c65a2335a5eca42858b2a968c1094 by dlj
Fix an unused variable introduced in rL374955 / rG21703543.
Even though this is a unit test, it still may be run under optimization.
llvm-svn: 374961
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
Commit 8bb47cd8c30c29d064cefe2b69510160535727ae by yitzhakm
[libTooling] Put all Transformer declarations in a single namespace.
Summary: This revision introduces a new namespace, `clang::transformer`,
to hold the declarations for the Transformer library.
Reviewers: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68876
llvm-svn: 374962
The file was modifiedclang/include/clang/Tooling/Transformer/MatchConsumer.h
The file was modifiedclang/include/clang/Tooling/Transformer/Stencil.h
The file was modifiedclang/include/clang/Tooling/Transformer/RewriteRule.h
The file was modifiedclang/lib/Tooling/Transformer/RangeSelector.cpp
The file was modifiedclang/unittests/Tooling/TransformerTest.cpp
The file was modifiedclang/lib/Tooling/Transformer/Transformer.cpp
The file was modifiedclang/unittests/Tooling/StencilTest.cpp
The file was modifiedclang/include/clang/Tooling/Transformer/Transformer.h
The file was modifiedclang/unittests/Tooling/RangeSelectorTest.cpp
The file was modifiedclang/lib/Tooling/Transformer/Stencil.cpp
The file was modifiedclang/lib/Tooling/Transformer/RewriteRule.cpp
The file was modifiedclang/include/clang/Tooling/Transformer/RangeSelector.h
Commit 9d10b9d99b4d93114eb5d879878fcbb70f2d5b75 by hiraditya
CodeExtractor: NFC: Use Range based loop
Reviewers: vsk, tejohnson, fhahn
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68924
llvm-svn: 374963
The file was modifiedllvm/lib/Transforms/Utils/CodeExtractor.cpp
Commit b07823f3e2da9b1c6f1866bf1725cfff5eea5b48 by lawrence_danna
update ScriptInterpreterPython to use File, not FILE*
Summary: ScriptInterpreterPython needs to save and restore sys.stdout
and friends when LLDB runs a python script.
It currently does this using FILE*, which is not optimal.  If whatever
was in sys.stdout can not be represented as a FILE*, then it will not be
restored correctly when the script is finished.
It also means that if the debugger's own output stream is not
representable as a file, ScriptInterpreterPython will not be able to
redirect python's  output correctly.
This patch updates ScriptInterpreterPython to represent files with
lldb_private::File, and to represent whatever the user had in sys.stdout
as simply a PythonObject.
This will make lldb interoperate better with other scripts or programs
that need to manipulate sys.stdout.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68962
llvm-svn: 374964
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
The file was modifiedlldb/source/Core/Debugger.cpp
Commit ecc4680c06999828e0f9e9b576164a9ebee735d0 by jlettner
Revert "[ASan] Refine diagnoses messages"
This reverts commit 4d1ecadda59ce82e5fa6e28dd15bf794eee88363.
llvm-svn: 374965
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
Commit 5e34ad109ced8dbdea9500ee28180315b2aeba3d by saar
[Concepts] ConceptSpecializationExprs mangling
Implement mangling for CSEs to match regular template-ids. Reviewed as
part of D41569.
llvm-svn: 374967
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was addedclang/test/CodeGenCXX/mangle-concept.cpp
Commit 8200dbbcae933e79682b0f50f344befd3890c882 by rprichard
[libunwind][Android] Improve workaround for PIE zero-dlpi_addr bug
Summary: The workaround added in https://reviews.llvm.org/rL299575
appears to be working around a bug in Android JB 4.1.x and 4.2.x (API 16
and 17).
Starting in API 16, Android added support for PIE binaries, but the
dynamic linker failed to initialize dlpi_addr to the address that the
executable was loaded at. The bug was fixed in Android JB 4.3.x (API
18).
Improve the true load bias calculation:
* The code was assuming that the first segment would be the PT_PHDR
  segment. I think it's better to be explicit and search for PT_PHDR.
(It
  will be almost as fast in practice.)
* It's more correct to use p_vaddr rather than p_offset. If a PIE
  executable is linked with a non-zero image base (e.g. lld's
  -Wl,--image-base=xxxx), then we must use p_vaddr here.
The "phdr->p_vaddr < image_base" condition seems unnecessary and maybe
slightly wrong. If the OS were to load a binary at an address smaller
than a vaddr in the binary, we would still want to do this workaround.
The workaround is safe when the linker bug isn't present, because it
should calculate an image_base equal to dlpi_addr. Note that with API 21
and up, this workaround should never activate for dynamically-linked
objects, because non-PIE executables aren't allowed.
Consolidate the fix into a single block of code that calculates the true
image base, and make it clear that the fix no longer applies after API
18.
See https://github.com/android/ndk/issues/505 for details.
Reviewers: mclow.lists, srhines, danalbert, compnerd
Reviewed By: compnerd
Subscribers: srhines, krytarowski, christof, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D68971
llvm-svn: 374969
The file was modifiedlibunwind/src/AddressSpace.hpp
Commit 7b49e8ac359bc35f95af548fbed4b7afd625caab by craig.topper
[LegalizeTypes] Don't call PromoteTargetBoolean from SplitVecOp_VSETCC.
PromoteTargetBoolean calls getSetccResultType to get the return type.
But we were passing it the setcc result type rather than the setcc input
type. This causes an issue on X86 with avx512vl where the setcc result
type for vXf16 vectors is vXi16 while the result type for vXi16 vectors
is vXi1.
There's really no guarantee that getSetccResultType is the type we need
here. So now we just grab the extend type from getExtendForContent and
extend to the original result VT of the node we're splitting.
llvm-svn: 374970
The file was modifiedllvm/test/CodeGen/X86/avx512-vec-cmp.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
Commit 1e3e77e0b689fc3d2eab48d3a5179d6fed1941eb by saar
Fix failing mangle-concept.cpp test.
llvm-svn: 374971
The file was modifiedclang/test/CodeGenCXX/mangle-concept.cpp
Commit 8995daafa0499821ea270c9d0dc0ef96ffa54968 by craig.topper
[LegalizeTypes] Don't use PromoteTargetBoolean in WidenVecOp_SETCC.
Similar to r374970, but I don't have a test for this.
PromoteTargetBoolean is intended to be use for legalizing an operand
that needs to be promoted. It picks its type based on the return from
getSetccResultType and is intended to be used when we have freedom to
pick the new type. But the return type we need for WidenVecOp_SETCC is
completely determined by the type of the input node.
llvm-svn: 374972
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
Commit 8a5bfbe6db2824642bf9a1d27a24c5b6132b244f by dan
[CMake] Disable building all Darwin libraries (except builtins) for
macOS i386 when the SDK is >= 10.15.
Summary: In the macOS 10.15 SDK the ability to link i386 binaries was
removed and in the corresponding OS it is not possible to run macOS i386
binaries.
The consequence of these changes meant that targets like `check-asan`
would fail because:
* Unit tests could not be linked for i386
* Lit tests for i386 would fail due to not being able to execute
compiled binaries.
The simplest fix to this is to simply disable building for i386 for
macOS when using the 10.15 SDK (or newer). This disables building the
i386 slice for most compiler-rt libraries and consequently disables the
unit and lit tests for macOS i386.
Note that because the `DARWIN_osx_ARCHS` CMake variable is a cache
variable this patch will have no affect on existing builds unless the
existing cache variable is deleted. The simplest way to deal with this
is delete existing builds and just do a fresh configure.
Note this should not affect the builtins which are managed with the
`DARWIN_osx_BUILTIN_ARCHS` CMake cache variable.
For those who wish to force using a particular set of architectures when
using newer SDKs passing `-DDARWIN_osx_ARCHS=i386;x86_64;x86_64h` to
CMake should provide a usable (but completely unsupported) workaround.
rdar://problem/55668535 rdar://problem/47939978
Reviewers: kubamracek, yln, azhar, kcc, dvyukov, vitalybuka, cryptoad,
eugenis, thakis, phosek
Subscribers: mgorny, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D68292
llvm-svn: 374977
The file was modifiedcompiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
Commit 8af5ada09319e5a021d57a1a03715b2fd022e415 by orlando.hyams
[NFC] Replace a linked list in LiveDebugVariables pass with a DenseMap
In LiveDebugVariables.cpp: Prior to this patch, UserValues were grouped
into linked list chains. Each chain was the union of two sets: { A:
Matching Source variable } or
{ B: Matching virtual register }. A ptr to the heads (or 'leaders') of
each of these chains were kept in a map with the { Source variable }
used as the key (set A predicate) and another with { Virtual register }
as key
(set B predicate).
There was a search through the chains in the function getUserValue
looking for UserValues with matching { Source variable, Complex
expression, Inlined-at location }. Essentially searching for a subset of
A through two interleaved linked lists of set A and B. Importantly, by
design, the subset will only contain one or zero elements here. That is
to say a UserValue can be uniquely identified by the tuple { Source
variable, Complex expression, Inlined-at
location } if it exists.
This patch removes the linked list and instead uses a DenseMap to map
the tuple { Source variable, Complex expression, Inlined-at location }
to UserValue ptrs so that the getUserValue search predicate is this map
key. The virtual register map now maps a vreg to a SmallVector<UserVal
*> so that set B is still available for quick searches.
Reviewers: aprantl, probinson, vsk, dblaikie
Reviewed By: aprantl
Subscribers: russell.gallop, gbedwell, bjope, hiraditya, llvm-commits
Tags: #debug-info, #llvm
Differential Revision: https://reviews.llvm.org/D68816
llvm-svn: 374979
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.cpp
Commit ad763751565b9663bc338fa2ca5ade86c6ca22ec by sjoerd.meijer
[HardwareLoops] Optimisation remarks
This adds the initial plumbing to support optimisation remarks in the IR
hardware-loop pass.
I have left a todo in a comment where we can improve the reporting, and
will iterate on that now that we have this initial support in.
Differential Revision: https://reviews.llvm.org/D68579
llvm-svn: 374980
The file was modifiedllvm/test/Transforms/HardwareLoops/ARM/structure.ll
The file was modifiedllvm/lib/CodeGen/HardwareLoops.cpp
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll
The file was modifiedllvm/test/Transforms/HardwareLoops/unconditional-latch.ll
Commit 1c3ca61294de428c93639a35afac725b7cbb1ffb by sam.parker
[ARM][ParallelDSP] Change smlad insertion order
Instead of inserting everything after the 'root' of the reduction,
insert all instructions as close to their operands as possible. This can
help reduce register pressure.
Differential Revision: https://reviews.llvm.org/D67392
llvm-svn: 374981
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/smladx-1.ll
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/smlaldx-2.ll
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/inner-full-unroll.ll
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/complex_dot_prod.ll
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/multi-use-loads.ll
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/blocks.ll
The file was modifiedllvm/lib/Target/ARM/ARMParallelDSP.cpp
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/smlaldx-1.ll
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/exchange.ll
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/overlapping.ll
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/smlad11.ll
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/pr43073.ll
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/unroll-n-jam-smlad.ll
Commit b62b4541216887fad9613f5b944d7dce120757b7 by usx
[clangd] Add RemoveUsingNamespace tweak.
Summary: Removes the 'using namespace' under the cursor and qualifies
all accesses in the current file. E.g.:
using namespace std;
vector<int> foo(std::map<int, int>); Would become:
std::vector<int> foo(std::map<int, int>);
Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, mgrang, arphaman,
kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68562
llvm-svn: 374982
The file was addedclang-tools-extra/clangd/refactor/tweaks/RemoveUsingNamespace.cpp
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/AST.h
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
Commit 9604624ebffcbfcf56d48381d5a15e87731b358e by llvmgnsyncbot
gn build: Merge r374982
llvm-svn: 374983
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/refactor/tweaks/BUILD.gn
Commit 02baaca742f7cfb16e21bac916c427bcec2b0af5 by Piotr Sobczak
[AMDGPU] Extend the SI Load/Store optimizer
Summary: Extend the SI Load/Store optimizer to merge MIMG load
instructions. Handle different flavours of image_load and image_sample
instructions.
When the instructions of the same subclass differ only in dmask, merge
them and update dmask accordingly.
Reviewers: nhaehnle
Reviewed By: nhaehnle
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64911
llvm-svn: 374984
The file was addedllvm/test/CodeGen/AMDGPU/merge-image-load.mir
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
The file was addedllvm/test/CodeGen/AMDGPU/merge-image-sample.mir
Commit b13d257028a671439aea51f0ddd66c81134592bf by nicolasweber
Revert 374967 "[Concepts] ConceptSpecializationExprs mangling"
This reverts commit 5e34ad109ced8dbdea9500ee28180315b2aeba3d.
The mangling test fails on Windows:
http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/builds/15944
It also fails on ppc64le:
http://lab.llvm.org:8011/builders/clang-ppc64le-linux-lnt/builds/21092
Also revert follow-up  374971 "Fix failing mangle-concept.cpp test."
(it did not help on Win/ppc64le).
llvm-svn: 374985
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was removedclang/test/CodeGenCXX/mangle-concept.cpp
Commit c598ef7f2432ab72fda58113cbe7a11a1a7e130c by llvm-dev
SimpleLoopUnswitch - fix uninitialized variable and null dereference
warnings. NFCI.
llvm-svn: 374986
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
Commit 729a2f6c2bd8a4f2254e3f8a93e8e0c5120ebd35 by llvm-dev
CGBuiltin - 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: 374987
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
Commit cebfddc0b589037909e12308ccf8dde6a2c167f2 by llvm-dev
CGExprConstant - silence static analyzer getAs<> null dereference
warning. NFCI.
The static analyzer is warning about a potential null dereference, but
in these cases we should be able to use castAs<> directly and if not
assert will fire for us.
llvm-svn: 374988
The file was modifiedclang/lib/CodeGen/CGExprConstant.cpp
Commit cfee2efc57b27ce7eed932528e219a99f934d3ca by llvm-dev
CGDebugInfo - silence static analyzer dyn_cast<> null dereference
warnings. NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use cast<> directly and if not assert
will fire for us.
llvm-svn: 374989
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit 95b5d459a0eb18d3a563f8ef84489635d85cdecd by mikhail.maltsev
[ARM] Add a register class for GPR pairs without SP and use it. NFCI
Summary: Currently Thumb2InstrInfo.cpp uses a register class which is
auto-generated by tablegen. Such approach is fragile because
auto-generated classes might change when other register classes are
added. For example, before https://reviews.llvm.org/D62667 we were using
GPRPair_with_gsub_1_in_rGPRRegClass, but had to change it to
GPRPair_with_gsub_1_in_GPRwithAPSRnospRegClass because the former class
stopped being generated (this did not change the functionality though).
This patch adds a register class consisting of even-odd GPR register
pairs from (R0, R1) to (R10, R11), which excludes (R12, SP) and uses it
in Thumb2InstrInfo.cpp instead of
GPRPair_with_gsub_1_in_GPRwithAPSRnospRegClass.
Reviewers: ostannard, simon_tatham, dmgreen, efriedma
Reviewed By: simon_tatham
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69026
llvm-svn: 374990
The file was modifiedllvm/lib/Target/ARM/ARMRegisterInfo.td
The file was modifiedllvm/lib/Target/ARM/Thumb2InstrInfo.cpp
The file was modifiedllvm/test/CodeGen/ARM/ipra-reg-usage.ll
Commit b150494fc7b34b728024380782fcb5c26d125364 by llvm-dev
RewriteModernObjC - silence static analyzer getAs<> null dereference
warnings. NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use castAs<> directly and if not assert
will fire for us.
llvm-svn: 374991
The file was modifiedclang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
Commit 5a131889665fadca1306e75cd463f0da320d6717 by sjoerd.meijer
Revert "[HardwareLoops] Optimisation remarks"
while I investigate the PPC build bot failures.
This reverts commit ad763751565b9663bc338fa2ca5ade86c6ca22ec.
llvm-svn: 374992
The file was modifiedllvm/lib/CodeGen/HardwareLoops.cpp
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll
The file was modifiedllvm/test/Transforms/HardwareLoops/unconditional-latch.ll
The file was modifiedllvm/test/Transforms/HardwareLoops/ARM/structure.ll
Commit 79769a4475b37fa011203c688985e36b972328ff by Piotr Sobczak
[InstCombine][AMDGPU] Fix crash with v3i16/v3f16 buffer intrinsics
Summary: This is something of a workaround to avoid a crash later on in
type legalizer (WidenVectorResult()). Also added some f16 tests,
including a non-working v3f16 case with a FIXME.
Reviewers: arsenm, tpr, nhaehnle
Reviewed By: arsenm
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr,
t-tye, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68865
llvm-svn: 374993
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
The file was modifiedllvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
Commit 115a6ecdf173d116b253617ee529efac1ff6f2bb by llvm-dev
RealFile - fix self-initialization warning in constructor.
llvm-svn: 374994
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
Commit 0caee2762086f6f3bb5657c1d7798df6b4789337 by llvm-dev
RedirectingFileSystem::openFileForRead - replace bitwise & with boolean
&& to fix warning
Seems to be just a typo - now matches other instances which do something
similar
llvm-svn: 374995
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
Commit 2f6da767f13b8fd81f840c211d405fea32ac9db7 by gchatelet
[Alignment][NFC] Optimize alignTo
Summary: A small optimization suggested by jakehehrlich@ in D64790.
Reviewers: jakehehrlich, courbet
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69023
llvm-svn: 375000
The file was modifiedllvm/include/llvm/Support/Alignment.h
Commit fdccf28697e5debe861247d218cbbecf9fd4323e by simon.tatham
[Driver,ARM] Make -mfloat-abi=soft turn off MVE.
Since `-mfloat-abi=soft` is taken to mean turning off all uses of the FP
registers, it should turn off the MVE vector instructions as well as
NEON and scalar FP. But it wasn't doing so.
So the options `-march=armv8.1-m.main+mve.fp+fp.dp -mfloat-abi=soft`
would cause the underlying LLVM to //not// support MVE (because it knows
the real target feature relationships and turned off MVE when the
`fpregs` feature was removed), but the clang layer still thought it
//was// supported, and would misleadingly define the feature macro
`__ARM_FEATURE_MVE`.
The ARM driver code already has a long list of feature names to turn off
when `-mfloat-abi=soft` is selected. The fix is to add the missing
entries `mve` and `mve.fp` to that list.
Reviewers: dmgreen
Subscribers: kristof.beyls, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69025
llvm-svn: 375001
The file was modifiedclang/test/Driver/arm-mfpu.c
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.cpp
Commit 28a3b2aeb48fac0391b328eb1822b3fefe228a05 by gbreynoo
[llvm-ar] Make paths case insensitive when on windows
When on windows gnu-ar treats member names as case insensitive. This
commit implements the same behaviour.
Differential Revision: https://reviews.llvm.org/D68033
llvm-svn: 375002
The file was addedllvm/test/tools/llvm-ar/windows-name-case.test
The file was addedllvm/test/tools/llvm-ar/Inputs/path-names.a
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
The file was addedllvm/test/tools/llvm-ar/path-names.test
The file was modifiedllvm/docs/CommandGuide/llvm-ar.rst
The file was addedllvm/test/tools/llvm-ar/non-windows-name-case.test
Commit c14f1ea25e0505625560db81209a319b6c6caab0 by yitzhakm
[libTooling] Fix r374962: add more Transformer forwarding decls.
Summary: The move to a new, single namespace in r374962 left out some
type definitions from the old namespace and resulted in one naming
conflict (`text`).  This revision adds aliases for those definitions and
removes one of the `text` functions from the new namespace.
Reviewers: alexfh
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69036
llvm-svn: 375003
The file was modifiedclang/include/clang/Tooling/Transformer/RangeSelector.h
The file was modifiedclang/include/clang/Tooling/Transformer/RewriteRule.h
The file was modifiedclang/unittests/Tooling/TransformerTest.cpp
The file was modifiedclang/include/clang/Tooling/Transformer/Stencil.h
Commit 2d6a2303f83d762d05b0851a9212830e28712dfd by david.stuttard
[AMDGPU] Fix-up cases where writelane has 2 SGPR operands
Summary: Even though writelane doesn't have the same constraints as
other valu instructions it still can't violate the >1 SGPR operand
constraint
Due to later register propagation (e.g. fixing up vgpr operands via
readfirstlane) changing writelane to only have a single SGPR is tricky.
This implementation puts a new check after SIFixSGPRCopies that prevents
multiple SGPRs being used in any writelane instructions.
The algorithm used is to check for trivial copy prop of suitable
constants into one of the SGPR operands and perform that if possible. If
this isn't possible put an explicit copy of Src1 SGPR into M0 and use
that instead (this is allowable for writelane as the constraint is for
SGPR read-port and not constant-bus access).
Reviewers: rampitec, tpr, arsenm, nhaehnle
Reviewed By: rampitec, arsenm, nhaehnle
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, mgorny, yaxunl,
tpr, t-tye, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D51932
Change-Id: Ic7553fa57440f208d4dbc4794fc24345d7e0e9ea llvm-svn: 375004
The file was modifiedllvm/test/CodeGen/AMDGPU/inserted-wait-states.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.writelane.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Commit 1893f9a45813d7b486576d88642e0e1cc5bc92fb by luismarques
[RISCV] Add MachineInstr immediate verification
Summary: This patch implements the `TargetInstrInfo::verifyInstruction`
hook for RISC-V. Currently the hook verifies the machine instruction's
immediate operands, to check if the immediates are within the expected
bounds. Without the hook invalid immediates are not detected except when
doing assembly parsing, so they are silently emitted (including being
truncated when emitting object code).
The bounds information is specified in tablegen by using the
`OperandType` definition, which sets the `MCOperandInfo`'s `OperandType`
field. Several RISC-V-specific immediate operand types were created,
which extend the `MCInstrDesc`'s `OperandType` `enum`.
To have the hook called with `llc` pass it the `-verify-machineinstrs`
option. For Clang add the cmake build config
`-DLLVM_ENABLE_EXPENSIVE_CHECKS=True`, or temporarily patch
`TargetPassConfig::addVerifyPass`.
Review concerns:
- The patch adds immediate operand type checks that cover at least the
base ISA. There are several other operand types for the C extension and
one type for the F/D extensions that were left out of this initial patch
because they introduced further design concerns that I felt were best
evaluated separately.
- Invalid register classes (e.g. passing a GPR register where a GPRC is
expected) are already caught, so were not included.
- This design makes the more abstract `MachineInstr` verification depend
on MC layer definitions, which arguably is not the cleanest design, but
is in line with how things are done in other parts of the target and
LLVM in general.
- There is some duplication of logic already present in the
`MCOperandPredicate`s. Since the `MachineInstr` and `MCInstr` notions of
immediates are fundamentally different, this is currently necessary.
Reviewers: asb, lenary
Reviewed By: lenary
Subscribers: hiraditya, rbar, johnrusso, simoncook, apazos, sabuasal,
niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones,
rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei,
psnobl, benna, Jim, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67397
llvm-svn: 375006
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td
The file was addedllvm/test/CodeGen/RISCV/verify-instr.mir
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.h
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVSubtarget.cpp
The file was modifiedllvm/lib/Target/RISCV/Utils/RISCVBaseInfo.h
Commit ec51851026a55e1cfc7f006f0e75f0a19acb32d3 by wong.kwongyuan.tools
bpf: fix wrong truncation elimination when there is back-edge/loop
Currently, BPF backend is doing truncation elimination. If one
truncation is performed on a value defined by narrow loads, then it
could be redundant given BPF loads zero extend the destination register
implicitly.
When the definition of the truncated value is a merging value (PHI node)
that could come from different code paths, then checks need to be done
on all possible code paths.
Above described optimization was introduced as r306685, however it
doesn't work when there is back-edge, for example when loop is used
inside BPF code.
For example for the following code, a zero-extended value should be
stored into b[i], but the "and reg, 0xffff" is wrongly eliminated which
then generates corrupted data.
void cal1(unsigned short *a, unsigned long *b, unsigned int k)
{
unsigned short e;
  e = *a;
for (unsigned int i = 0; i < k; i++) {
   b[i] = e;
   e = ~e;
}
}
The reason is r306685 was trying to do the PHI node checks inside isel
DAG2DAG phase, and the checks are done on MachineInstr. This is actually
wrong, because MachineInstr is being built during isel phase and the
associated information is not completed yet. A quick search shows none
target other than BPF is access MachineInstr info during isel phase.
For an PHI node, when you reached it during isel phase, it may have all
predecessors linked, but not successors. It seems successors are linked
to PHI node only when doing SelectionDAGISel::FinishBasicBlock and this
happens later than PreprocessISelDAG hook.
Previously, BPF program doesn't allow loop, there is probably the reason
why this bug was not exposed.
This patch therefore fixes the bug by the following approach:
- The existing truncation elimination code and the associated
  "load_to_vreg_" records are removed.
- Instead, implement truncation elimination using MachineSSA pass, this
  is where all information are built, and keep the pass together with
other
  similar peephole optimizations inside BPFMIPeephole.cpp. Redundant
move
  elimination logic is updated accordingly.
- Unit testcase included + no compilation errors for kernel BPF
selftest.
Patch Review
=== Patch was sent to and reviewed by BPF community at:
  https://lore.kernel.org/bpf
Reported-by: David Beckett <david.beckett@netronome.com> Reviewed-by:
Yonghong Song <yhs@fb.com> Signed-off-by: Jiong Wang
<jiong.wang@netronome.com> llvm-svn: 375007
The file was modifiedllvm/lib/Target/BPF/BPF.h
The file was modifiedllvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/BPF/BPFMIPeephole.cpp
The file was modifiedllvm/lib/Target/BPF/BPFTargetMachine.cpp
The file was addedllvm/test/CodeGen/BPF/remove_truncate_6.ll
Commit 684605ec0ea2e9b162e353e13708b01e2decf3f0 by francisvm
[Remarks] Add support for prepending a path to external files
This helps with testing and debugging for paths that are assumed
absolute.
It also uses a FileError to provide the file path it's trying to open.
llvm-svn: 375008
The file was modifiedllvm/lib/Remarks/BitstreamRemarkParser.h
The file was modifiedllvm/lib/Remarks/BitstreamRemarkParser.cpp
The file was modifiedllvm/unittests/Remarks/YAMLRemarksParsingTest.cpp
The file was modifiedllvm/lib/Remarks/YAMLRemarkParser.h
The file was modifiedllvm/include/llvm/Remarks/RemarkParser.h
The file was modifiedllvm/lib/Remarks/RemarkParser.cpp
The file was modifiedllvm/lib/Remarks/YAMLRemarkParser.cpp
Commit fe2d15b39bb5265015802e9492f8c3eab8442de3 by david.green
[Codegen] Adjust saturation test. NFC.
Add some extra sat tests and adjust some of the existing tests to use
signext where it would naturally be.
llvm-svn: 375009
The file was modifiedllvm/test/CodeGen/ARM/uadd_sat.ll
The file was addedllvm/test/CodeGen/AArch64/uadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/X86/sadd_sat.ll
The file was addedllvm/test/CodeGen/ARM/usub_sat_plus.ll
The file was addedllvm/test/CodeGen/ARM/uadd_sat_plus.ll
The file was addedllvm/test/CodeGen/AArch64/usub_sat_plus.ll
The file was addedllvm/test/CodeGen/AArch64/ssub_sat_plus.ll
The file was addedllvm/test/CodeGen/X86/sadd_sat_plus.ll
The file was addedllvm/test/CodeGen/X86/usub_sat_plus.ll
The file was addedllvm/test/CodeGen/X86/ssub_sat_plus.ll
The file was modifiedllvm/test/CodeGen/X86/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/X86/usub_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/ssub_sat.ll
The file was addedllvm/test/CodeGen/AArch64/sadd_sat_plus.ll
The file was addedllvm/test/CodeGen/ARM/sadd_sat_plus.ll
The file was addedllvm/test/CodeGen/X86/uadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/ARM/usub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/ssub_sat.ll
The file was addedllvm/test/CodeGen/ARM/ssub_sat_plus.ll
Commit b6dd1286217711a40a3d8f20366a5fdad6b8c7db by mark.murray
[AArch64,Assembler] Compiler support for ID_MMFR5_EL1
Summary: Add read-only system register ID_MMFR5_EL1 and unit tests.
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69039
llvm-svn: 375010
The file was modifiedllvm/test/MC/AArch64/basic-a64-diagnostics.s
The file was modifiedllvm/lib/Target/AArch64/AArch64SystemOperands.td
The file was modifiedllvm/test/MC/AArch64/basic-a64-instructions.s
The file was modifiedllvm/test/MC/Disassembler/AArch64/basic-a64-instructions.txt
Commit 0216a3c6d1c12357767b52a66151781cc2e1c5cd by francisvm
[Remarks] Use StringRef::contains to avoid differences in error string
Different OSs have different error strings:
http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/39534/steps/ninja%20check%201/logs/FAIL%3A%20LLVM-Unit%3A%3AYAMLRemarks.ParsingBadMeta
llvm-svn: 375011
The file was modifiedllvm/unittests/Remarks/YAMLRemarksParsingTest.cpp
Commit a9cfde1f6ab5ca52467c9e8695c64ddd247bd4ef by Adrian Prantl
[DWARF5] Added support for DW_AT_noreturn attribute to be emitted for
C++ class member functions.
Patch by Sourabh Singh Tomar!
Differential Revision: https://reviews.llvm.org/D68697
llvm-svn: 375012
The file was addedclang/test/CodeGenCXX/debug-info-noreturn.cpp
The file was modifiedllvm/test/DebugInfo/X86/noreturn_cpp11.ll
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit f998fa2924c736e5b5c2cc6ddc222a36d0171470 by graham.hunter
[SVE][IR] Small TypeSize improvements left out of initial commit
The commit for D53137 left out the last round of improvements requested
by reviewers. Adding those in now.
llvm-svn: 375013
The file was modifiedllvm/include/llvm/IR/DataLayout.h
The file was modifiedllvm/include/llvm/Support/TypeSize.h
The file was modifiedllvm/lib/IR/Instructions.cpp
Commit 437f362c3380275611fb34b88c1b305145a4956e by francisvm
[Remarks] Fix unit test by only checking for the path
http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/39536/steps/ninja%20check%201/logs/FAIL%3A%20LLVM-Unit%3A%3AYAMLRemarks.ParsingBadMeta
llvm-svn: 375014
The file was modifiedllvm/unittests/Remarks/YAMLRemarksParsingTest.cpp
Commit 0947af7ac539368b1bee8c21052b843753f2f190 by francisvm
[Remarks] Fix warning for ambigous `else` behind EXPECT macro
http://lab.llvm.org:8011/builders/clang-ppc64be-linux-lnt/builds/31902/steps/ninja%20check%201/logs/stdio
llvm-svn: 375015
The file was modifiedllvm/unittests/Remarks/YAMLRemarksParsingTest.cpp
Commit d4ab74ee0b37c930ce7446caa55f2a8c829197fe by Stanislav.Mekhanoshin
[AMDGPU] Supress unused sdwa insts generation
Do not generate non-existing sdwa instructions. It reduces the number of
generated instructions by 185.
Differential Revision: https://reviews.llvm.org/D69010
llvm-svn: 375016
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/lib/Target/AMDGPU/VOPCInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/VOP1Instructions.td
Commit f89cf21337b07e0f6fc3704eadaddc05aa845831 by a.bataev
[OPENMP]Use different addresses for zeroed thread_id/bound_id.
When the parallel region is called directly in the sequential region,
the zeroed tid/bound id are used. But they must point to the different
memory locations as the parameters are marked as noalias.
llvm-svn: 375017
The file was modifiedclang/test/OpenMP/parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_codegen.cpp
Commit f095b8c425ecf832d0a5ccdbaa02c27153f80a0c by jdenny.ornl
[lit] Clean up internal diff's encoding handling
As suggested by rnk at D67643#1673043, instead of reading files multiple
times until an appropriate encoding is found, read them once as binary,
and then try to decode what was read.
For Python >= 3.5, don't fail when attempting to decode the
`diff_bytes` output in order to print it.
Avoid failures for Python 2.7 used on some Windows bots by transforming
diff output with `lit.util.to_string` before writing it to stdout.
Finally, add some tests for encoding handling.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D68664
llvm-svn: 375018
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.bin
The file was modifiedllvm/utils/lit/lit/TestRunner.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.utf8
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.utf16
Commit e2163f96abb5905938115f8935702b1defe4f015 by llvm-dev
CombinerHelper - silence dead assignment warnings. NFCI.
Copy the NewAlignment value to Alignment first and then use that to
update the stack frame object alignments.
llvm-svn: 375019
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Commit 2622419c78c204105bd04d5f0b55eadbc26850ad by jdenny.ornl
[lit] Fix internal diff's --strip-trailing-cr and use it
Using GNU diff, `--strip-trailing-cr` removes a `\r` appearing before a
`\n` at the end of a line.  Without this patch, lit's internal diff only
removes `\r` if it appears as the last character.  That seems useless.
This patch fixes that.
This patch also adds `--strip-trailing-cr` to some tests that fail on
Windows bots when D68664 is applied.  Based on what I see in the bot
logs, I think the following is happening.  In each test there, lit diff
is comparing a file with `\r\n` line endings to a file with `\n` line
endings.  Without D68664, lit diff reads those files in text mode, which
in Windows causes `\r\n` to be replaced with `\n`. However, with D68664,
lit diff reads the files in binary mode instead and thus reports that
every line is different, just as GNU diff does
(at least under Ubuntu).  Adding `--strip-trailing-cr` to those tests
restores the previous behavior while permitting the behavior of lit diff
to be more like GNU diff.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D68839
llvm-svn: 375020
The file was modifiedllvm/utils/lit/lit/TestRunner.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-strip-trailing-cr.txt
The file was modifiedllvm/test/tools/llvm-cxxmap/remap.test
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/test/tools/llvm-profdata/roundtrip.test
The file was modifiedllvm/test/MC/AsmParser/preserve-comments.s
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.unix
The file was modifiedllvm/test/tools/llvm-profdata/sample-remap.test
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.dos
The file was modifiedllvm/test/tools/llvm-profdata/profile-symbol-list.test
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was modifiedllvm/test/MC/ARM/preserve-comments-arm.s
Commit 97ed5625442d66d882c304a72ffe0de9fdad59a1 by jasonliu.development
[NFC][XCOFF][AIX] Rename ControlSections to CsectGroup
The name of ControlSections is not expressive enough to convey what they
really are. CsectGroup can better communicate the concept of grouping
csects together since they have similar property.
Reviewer: daltenty
Differential Revision: https://reviews.llvm.org/D69001
llvm-svn: 375021
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
Commit e2692b3bc0327606748b6d291b9009d2c845ced5 by dmitry.mikulin
Tag CFI-generated data structures with "#pragma clang section"
attributes.
Differential Revision: https://reviews.llvm.org/D68808
llvm-svn: 375022
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was addedclang/test/CodeGen/cfi-pragma-section.c
Commit 6ce2d810320c50cf2ca07dafecaf9ebb10e4abba by jdenny.ornl
[lit] Fix a test case that r374652 missed
llvm-svn: 375023
The file was modifiedllvm/test/Assembler/thinlto-vtable-summary.ll
Commit 1d4a40751ff3552494f063306d3b2e1879d49230 by hhb
[lldb] move more things from python to cmake
Summary: Move the copy of six.py, lldb.py and macosx/heap
Reviewers: labath
Subscribers: mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69016
llvm-svn: 375024
The file was modifiedlldb/CMakeLists.txt
The file was modifiedlldb/scripts/Python/finishSwigPythonLLDB.py
Commit 8cc6d42e8d6c0c133e4d5d46e918e5e2ae0781c6 by spatel
[SLP] avoid reduction transform on patterns that the backend can
load-combine (2nd try)
The 1st attempt at this modified the cost model in a bad way to avoid
the vectorization, but that caused problems for other users (the loop
vectorizer) of the cost model.
I don't see an ideal solution to these 2 related, potentially large,
perf regressions: https://bugs.llvm.org/show_bug.cgi?id=42708
https://bugs.llvm.org/show_bug.cgi?id=43146
We decided that load combining was unsuitable for IR because it could
obscure other optimizations in IR. So we removed the LoadCombiner pass
and deferred to the backend. Therefore, preventing SLP from destroying
load combine opportunities requires that it recognizes patterns that
could be combined later, but not do the optimization itself ( it's not a
vector combine anyway, so it's probably out-of-scope for SLP).
Here, we add a cost-independent bailout with a conservative pattern
match for a multi-instruction sequence that can probably be reduced
later.
In the x86 tests shown (and discussed in more detail in the bug
reports), SDAG combining will produce a single instruction on these
tests like:
  movbe   rax, qword ptr [rdi]
or:
  mov     rax, qword ptr [rdi]
Not some (half) vector monstrosity as we currently do using SLP:
  vpmovzxbq       ymm0, dword ptr [rdi + 1] # ymm0 = mem[0],zero,zero,..
vpsllvq ymm0, ymm0, ymmword ptr [rip + .LCPI0_0]
movzx   eax, byte ptr [rdi]
movzx   ecx, byte ptr [rdi + 5]
shl     rcx, 40
movzx   edx, byte ptr [rdi + 6]
shl     rdx, 48
or      rdx, rcx
movzx   ecx, byte ptr [rdi + 7]
shl     rcx, 56
or      rcx, rdx
or      rcx, rax
vextracti128    xmm1, ymm0, 1
vpor    xmm0, xmm0, xmm1
vpshufd xmm1, xmm0, 78          # xmm1 = xmm0[2,3,0,1]
vpor    xmm0, xmm0, xmm1
vmovq   rax, xmm0
or      rax, rcx
vzeroupper
ret
Differential Revision: https://reviews.llvm.org/D67841
llvm-svn: 375025
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/bad-reduction.ll
Commit 31ba47646ba40b7892492bb227d85de0d6733e07 by a.bataev
[OPENMP]Allow priority clause in combined task-based directives.
The expression of the priority clause must be captured in the combined
task-based directives, like 'parallel master taskloop' directive.
llvm-svn: 375026
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/AST/OpenMPClause.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/AST/OpenMPClause.h
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_codegen.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/AST/StmtProfile.cpp
Commit 87cf73e956386a0942137f70a1171c484836341b by Steven Wu
Fix darwin-ld-lto test for some speical path
Fix the test by not assuming the prefix path of the temp directory can
be matched by a regex.
rdar://problem/56259195
llvm-svn: 375027
The file was modifiedclang/test/Driver/darwin-ld-lto.c
Commit a86bd22515952c184471c95aaf6273cd6a94505b by rupprecht
[llvm-ar] Implement the V modifier as an alias for --version
Summary: Also update the help modifier (h) so that it works as a
modifier and not just as a standalone `h`. For example, `llvm-ar h`
prints the help message, but `llvm-ar xh` currently prints `unknown
option h`.
Reviewers: MaskRay, gbreynoo
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69007
llvm-svn: 375028
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
The file was modifiedllvm/test/tools/llvm-ar/help-message.test
The file was addedllvm/test/tools/llvm-ar/version.test
Commit 48a50ee0344d626fc4b51f6d2acf1fa2354bc46b by a20012251
[android/process list] support showing process arguments
Summary: The qfProcessInfo and qsProcessInfo packets currently don't set
the processes' arguments, however the platform process list -v command
tries to print it. In this diff I'm adding the arguments as part of the
packet, and now the command shows the arguments just like on mac.
On Mac:
507    1      wallace    1876110778 wallace    1876110778
x86_64-apple-macosx      /usr/libexec/secd 503    1      wallace  
1876110778 wallace    1876110778 x86_64-apple-macosx    
/usr/libexec/secinitd 501    1      wallace    1876110778 wallace  
1876110778 x86_64-apple-macosx      /usr/libexec/languageassetd
--firstLogin 497    1      wallace    1876110778 wallace    1876110778
x86_64-apple-macosx      /usr/libexec/trustd --agent 496    1    
wallace    1876110778 wallace    1876110778 x86_64-apple-macosx    
/usr/libexec/lsd 494    1      wallace    1876110778 wallace  
1876110778 x86_64-apple-macosx    
/System/Library/Frameworks/CoreTelephony.framework/Support/CommCenter -L
491    1      wallace    1876110778 wallace    1876110778
x86_64-apple-macosx      /usr/sbin/distnoted agent 489    1      wallace
   1876110778 wallace    1876110778 x86_64-apple-macosx    
/usr/libexec/UserEventAgent (Aqua) 484    1      wallace    1876110778
wallace    1876110778 x86_64-apple-macosx      /usr/sbin/cfprefsd agent
483    1      wallace    1876110778 wallace    1876110778
x86_64-apple-macosx    
/System/Library/Frameworks/LocalAuthentication.framework/Support/coreauthd
On android:
1561   1016   root       0                     0        
aarch64-unknown-linux-android  /system/bin/ip6tables-restore--noflush -w
-v 1805   982    1000       1000                  1000                 
                   android:drmService 1811   982    10189      10189   
            10189                                   
com.qualcomm.embms:remote 1999   1      1000       1000                
1000       aarch64-unknown-linux-android  /system/bin/tlc_serverCCM 2332
  982    10038      10038                 10038                        
           com.android.systemui 2378   983    1053       1053          
      1053                                      webview_zygote 2448 
982    5013       5013                  5013                           
         com.sec.location.nsflp2 2465   982    10027      10027        
       10027                                   
com.google.android.gms.persistent
Differential Revision:  https://reviews.llvm.org/D68293
llvm-svn: 375029
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/source/Utility/ProcessInfo.cpp
The file was addedlldb/packages/Python/lldbsuite/test/commands/platform/process/TestProcessList.py
The file was addedlldb/packages/Python/lldbsuite/test/commands/platform/process/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/commands/platform/process/main.cpp
The file was modifiedlldb/docs/lldb-gdb-remote.txt
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
Commit 3d99310c15e45d0dd9db20ff283d53ba4192ca1a by Stanislav.Mekhanoshin
[AMDGPU] Do not combine dpp with physreg def
We will remove dpp mov along with the physreg def otherwise.
Differential Revision: https://reviews.llvm.org/D69063
llvm-svn: 375030
The file was modifiedllvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/dpp_combine.mir
Commit 930ada91ce8ff9715e2ca7309bc946dbb9162dfb by vsapsai
Replace platform-dependent `stat` with `llvm::sys::fs::status`. NFC
intended.
Reviewers: bruno, sammccall
Reviewed By: sammccall
Subscribers: jkorous, dexonsmith, arphaman, ributzka, cfe-commits
Differential Revision: https://reviews.llvm.org/D69011
llvm-svn: 375031
The file was modifiedclang/tools/libclang/CIndexCodeCompletion.cpp
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
Commit 7dd7a3607596a51044b8706ebf6df2e613ce1e9b by Jason Molenda
Add arm64_32 support to lldb, an ILP32 codegen that runs on arm64 ISA
targets, specifically Apple watches.
Differential Revision: https://reviews.llvm.org/D68858
llvm-svn: 375032
The file was modifiedlldb/unittests/Utility/ArchSpecTest.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
The file was modifiedlldb/source/Utility/ArchSpec.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
The file was modifiedlldb/include/lldb/Utility/ArchSpec.h
The file was modifiedlldb/source/Target/Platform.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp
The file was modifiedlldb/tools/debugserver/source/DNB.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbplatformutil.py
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Host/macosx/objcxx/Host.mm
The file was modifiedlldb/source/Host/common/NativeProcessProtocol.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp
The file was modifiedlldb/source/Target/Thread.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.py
The file was modifiedlldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.cpp
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py
The file was modifiedlldb/source/Symbol/CompactUnwindInfo.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/arm/breakpoint-it/TestBreakpointIt.py
The file was modifiedlldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp
The file was modifiedlldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/persist_objc_pointeetype/TestPersistObjCPointeeType.py
The file was modifiedlldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/call-function/TestCallStdStringFunction.py
The file was modifiedlldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/register/register/register_command/TestRegisters.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/char/TestExprsChar.py
The file was modifiedlldb/tools/compact-unwind/compact-unwind-dumper.c
The file was modifiedlldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
Commit edcd5815ced65300ff2aea10afd818faaa36523c by Stanislav.Mekhanoshin
[AMDGPU] Do not combine dpp mov reading physregs
We cannot be sure physregs will stay unchanged.
Differential Revision: https://reviews.llvm.org/D69065
llvm-svn: 375033
The file was modifiedllvm/test/CodeGen/AMDGPU/dpp_combine.mir
The file was modifiedllvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
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/test/Transforms/IndVarSimplify/loop-predication.ll
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit b4874226de6145d3196eacb0fbf3cba7654d51d9 by michael.hliao
[clangd] Add the missing dependency on `clangLex`.
llvm-svn: 375039
The file was modifiedclang-tools-extra/clangd/tool/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/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/lib/DebugInfo/Symbolize/Symbolize.cpp
The file was modifiedllvm/test/tools/llvm-symbolizer/coff-dwarf.test
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 modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-ssubo.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-saddo.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-saddo.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-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 addedllvm/test/CodeGen/AArch64/framelayout-offset-immediate-change.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
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/lib/Transforms/Utils/BasicBlockUtils.cpp
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/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/include/llvm/Support/GlobPattern.h
The file was modifiedllvm/lib/Support/GlobPattern.cpp
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/unittests/Support/GlobPatternTest.cpp
The file was modifiedllvm/lib/Support/GlobPattern.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/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/lib/Target/AArch64/AArch64Combine.td
The file was modifiedllvm/lib/TableGen/Error.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
The file was modifiedllvm/include/llvm/TableGen/Error.h
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/include/lldb/Utility/Reproducer.h
The file was modifiedlldb/source/Utility/Reproducer.cpp
The file was addedlldb/test/Shell/Reproducer/TestWorkingDir.test
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 addedlldb/test/Shell/Reproducer/Inputs/WorkingDir.in
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
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/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.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/main.py
The file was modifiedllvm/utils/lit/lit/run.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/lib/Target/AArch64/AArch64Combine.td
The file was modifiedllvm/lib/CodeGen/GlobalISel/Combiner.cpp
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-copy-prop-disabled.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
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 modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was removedclang/test/CodeGen/cfi-pragma-section.c
The file was modifiedclang/lib/CodeGen/CodeGenModule.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/Host/common/File.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/include/lldb/Host/File.h
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
The file was modifiedlldb/scripts/Python/python-typemaps.swig
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
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 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
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.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/SplitKit.h
The file was modifiedllvm/lib/CodeGen/LiveRangeCalc.cpp
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was removedllvm/lib/CodeGen/LiveRangeCalc.h
The file was modifiedllvm/lib/CodeGen/LiveIntervals.cpp
The file was modifiedllvm/lib/CodeGen/SplitKit.cpp
The file was addedllvm/include/llvm/CodeGen/LiveRangeCalc.h
The file was modifiedllvm/lib/CodeGen/InlineSpiller.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/Inputs/non-header-dependency.json
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
The file was removedclang/test/ClangScanDeps/Inputs/sanitize-blacklist.txt
The file was removedclang/test/ClangScanDeps/non-header-dependency.cpp
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 modifiedlld/wasm/LTO.cpp
The file was addedlld/test/wasm/Inputs/import-attributes.ll
The file was modifiedlld/wasm/InputFiles.cpp
The file was modifiedlld/wasm/SymbolTable.cpp
The file was addedlld/test/wasm/import-attribute-mismatch.ll
The file was addedlld/test/wasm/lto/import-attributes.ll
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/Inputs/devirt_single_hybrid_bar.ll
The file was addedllvm/test/ThinLTO/X86/devirt_single_hybrid.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/AMDGPU/AMDGPUFrameLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUFrameLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/Target/Mips/MipsFrameLowering.h
The file was modifiedllvm/lib/Target/X86/X86Subtarget.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSubtarget.h
The file was modifiedllvm/lib/Target/Sparc/SparcFrameLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.h
The file was modifiedllvm/lib/Target/ARC/ARCFrameLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.h
The file was modifiedllvm/lib/Target/Mips/MipsSubtarget.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.h
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.h
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.cpp
The file was modifiedllvm/lib/Target/AVR/AVRFrameLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600FrameLowering.h
The file was modifiedllvm/lib/Target/MSP430/MSP430FrameLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/unittests/CodeGen/MachineInstrTest.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was modifiedllvm/lib/Target/Mips/MipsTargetMachine.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXFrameLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreFrameLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MipsAsmPrinter.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.h
The file was modifiedllvm/lib/Target/Lanai/LanaiFrameLowering.h
The file was modifiedllvm/lib/Target/BPF/BPFFrameLowering.h
The file was modifiedllvm/lib/Target/X86/X86Subtarget.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/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-load.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-maskedldst.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-ldst.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-tail-data-types.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-store.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/CodeGen/DFAPacketizer.h
The file was modifiedllvm/lib/CodeGen/DFAPacketizer.cpp
The file was modifiedllvm/test/CodeGen/Hexagon/packetizer-resources.ll
The file was modifiedllvm/include/llvm/Support/Automaton.h
The file was modifiedllvm/utils/TableGen/DFAPacketizerEmitter.cpp
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/mve-vpt-block.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block5.mir
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block2.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-nots.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vector-arith-codegen.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block6.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block3.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block4.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/fast-fp-loops.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-tail-data-types.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block7.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block8.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.h
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
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/gep-custom-dl.ll
The file was modifiedllvm/test/Transforms/InstCombine/sub.ll
The file was modifiedllvm/include/llvm/Analysis/Utils/Local.h
The file was modifiedllvm/test/Transforms/InstCombine/icmp-custom-dl.ll
The file was modifiedllvm/test/Transforms/InstCombine/getelementptr.ll
The file was modifiedllvm/test/Transforms/InstCombine/icmp.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/virtual-functions-visibility-post-lto.ll
The file was addedllvm/test/Transforms/GlobalDCE/virtual-functions.ll
The file was addedllvm/test/Transforms/GlobalDCE/virtual-functions-base-pointer-call.ll
The file was addedclang/test/CodeGenCXX/vcall-visibility-metadata.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/GlobalDCE.h
The file was addedllvm/test/LTO/ARM/lto-linking-metadata.ll
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedllvm/test/Transforms/GlobalDCE/virtual-functions-base-call.ll
The file was modifiedllvm/lib/Transforms/IPO/GlobalDCE.cpp
The file was modifiedclang/lib/CodeGen/CGClass.cpp
The file was modifiedllvm/include/llvm/Analysis/TypeMetadataUtils.h
The file was modifiedllvm/lib/Analysis/TypeMetadataUtils.cpp
The file was addedclang/test/Driver/virtual-function-elimination.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedllvm/docs/LangRef.rst
The file was addedllvm/test/Transforms/GlobalDCE/virtual-functions-derived-call.ll
The file was modifiedclang/lib/CodeGen/CGVTables.cpp
The file was modifiedllvm/test/ThinLTO/X86/lazyload_metadata.ll
The file was modifiedllvm/lib/IR/Metadata.cpp
The file was modifiedllvm/include/llvm/IR/FixedMetadataKinds.def
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was modifiedllvm/include/llvm/IR/GlobalObject.h
The file was addedllvm/test/Transforms/Internalize/vcall-visibility.ll
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was addedllvm/test/Transforms/GlobalDCE/vtable-rtti.ll
The file was addedclang/test/CodeGenCXX/virtual-function-elimination.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedllvm/test/Transforms/GlobalDCE/virtual-functions-derived-pointer-call.ll
The file was modifiedllvm/docs/TypeMetadata.rst
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
The file was addedllvm/test/Transforms/GlobalDCE/virtual-functions-visibility-pre-lto.ll
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
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/tools/yaml2obj/verdef-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/unwind.test
The file was modifiedllvm/test/tools/yaml2obj/verneed-section.yaml
The file was modifiedllvm/tools/llvm-readobj/DwarfCFIEHPrinter.h
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/llvm-readobj/all.test
The file was modifiedllvm/test/Object/multiple-sections.yaml
The file was modifiedllvm/test/tools/llvm-readobj/elf-verneed-flags.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/partition-synthetic-sections.s
The file was modifiedlld/test/ELF/verneed-as-needed-weak.s
The file was modifiedlld/test/ELF/version-script-locals-extern.s
The file was modifiedlld/test/ELF/version-script-extern.s
The file was modifiedlld/test/ELF/version-script-symver2.s
The file was modifiedlld/test/ELF/empty-ver2.s
The file was modifiedlld/test/ELF/verdef-defaultver.s
The file was modifiedlld/test/ELF/linkerscript/version-script.s
The file was modifiedlld/test/ELF/version-script-extern-wildcards.s
The file was modifiedlld/test/ELF/empty-ver.s
The file was modifiedlld/test/ELF/version-script-extern-undefined.s
The file was modifiedlld/test/ELF/verneed.s
The file was modifiedlld/test/ELF/verdef-dependency.s
The file was modifiedlld/test/ELF/verdef.s
The file was modifiedlld/test/ELF/version-script-extern2.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/test/Transforms/LoopIdiom/bcmp-negative-tests.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
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/misc/RedundantExpressionCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.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 modifiedllvm/tools/llvm-objcopy/ELF/Object.cpp
The file was addedllvm/test/tools/llvm-objcopy/ELF/add-symbol-no-symtab.test
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.h
The file was modifiedllvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
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/tools/llvm-ar/llvm-ar.cpp
The file was modifiedllvm/test/Object/archive-thin-create.test
The file was modifiedllvm/test/Object/archive-toc.test
The file was modifiedllvm/docs/CommandGuide/llvm-ar.rst
The file was modifiedllvm/include/llvm/Object/Archive.h
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/AMDGPUTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/insertelement.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/extractelement.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInline.cpp
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fabs.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 addedclang/docs/OpenCLSupport.rst
The file was modifiedclang/docs/index.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/MC/MCExpr.cpp
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/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 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 addedllvm/utils/lit/lit/builtin_commands/diff.py
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified-error-1.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was modifiedllvm/utils/lit/lit/TestRunner.py
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
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/lit/builtin_commands/diff.py
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 addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-8.txt
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
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/index/Relation.cpp
The file was modifiedllvm/include/llvm/ADT/DenseMapInfo.h
The file was modifiedclang-tools-extra/clangd/index/Serialization.h
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
The file was modifiedclang-tools-extra/clangd/index/MemIndex.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/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/IndexTests.cpp
The file was modifiedclang-tools-extra/clangd/index/Relation.h
The file was modifiedclang-tools-extra/clangd/index/MemIndex.h
The file was modifiedclang-tools-extra/clangd/index/YAMLSerialization.cpp
The file was modifiedclang-tools-extra/clangd/index/dex/Dex.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FileIndexTests.cpp
The file was modifiedclang-tools-extra/clangd/index/dex/Dex.h
The file was modifiedclang-tools-extra/clangd/unittests/BackgroundIndexTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/DexTests.cpp
The file was modifiedclang-tools-extra/clangd/index/Serialization.cpp
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/max-failures.py
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 removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-7.txt
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.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-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/shtest-shell.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified-error-0.txt
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was removedllvm/utils/lit/lit/builtin_commands/diff.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified-error-1.txt
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/source/Utility/ArchSpec.cpp
The file was modifiedlldb/source/Target/Platform.cpp
The file was modifiedlldb/source/Target/Thread.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/include/lldb/Utility/ArchSpec.h
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/ABISysV_arc.cpp
The file was addedlldb/source/Plugins/ABI/SysV-arc/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ABI/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.h
The file was modifiedlldb/source/API/SystemInitializerFull.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 addedclang/test/SemaObjCXX/class-method-self.mm
The file was addedclang/test/SemaObjCXX/comptypes-1.mm
The file was modifiedclang/test/SemaObjC/class-method-self.m
The file was modifiedclang/test/SemaObjC/comptypes-1.m
The file was modifiedclang/test/SemaObjC/comptypes-7.m
The file was modifiedclang/test/SemaObjCXX/instancetype.mm
The file was addedclang/test/SemaObjCXX/comptypes-7.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/comptypes-1.mm
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/SemaObjCXX/class-method-self.mm
The file was modifiedclang/test/SemaObjCXX/comptypes-7.mm
The file was modifiedclang/test/SemaObjC/comptypes-1.m
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/test/SemaObjCXX/instancetype.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_limits_posix.h
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.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform.h
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/openmp_win_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_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-d.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-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/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-a.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-b.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-c.ll
The file was addedllvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-e.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_posix.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
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_linux.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cpp
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 modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was addedllvm/test/CodeGen/X86/taildup-heapallocsite.ll
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/invalid-pointer-pairs.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/Windows/demangled_names.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/lib/Support/GlobPattern.cpp
The file was modifiedllvm/unittests/Support/GlobPatternTest.cpp
The file was modifiedllvm/include/llvm/Support/GlobPattern.h
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/ffssi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/truncsfhf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/clzti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunstfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatsisfvfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulxc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/popcountsi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/negvsi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/negdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/enable_execute_stack_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divsc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/muldc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/addvdi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/paritysi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/addsf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixdfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/modsi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/paritydi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunsdfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixxfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divxc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunsxfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulsf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floattisf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divmodsi4_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatunsitf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/truncdfsf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/lttf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatuntidf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/eqdf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunsdfsi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatdidf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunssfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ltdf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/multf3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/nedf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/udivmodsi4_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatundisf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatsidfvfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulsc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/gtsf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixdfsivfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ltsf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/subvsi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/gtdf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/clzdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatsitf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/cmpti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/udivmodti4_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/moddi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/subtf3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatuntixf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/truncdfsf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/unorddf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/multc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/cmpdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/extendsftf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/udivti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/umodti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixtfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulvti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/negti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/trampoline_setup_test.c
The file was removedcompiler-rt/test/builtins/Unit/extebdsfdf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/lshrti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/umodsi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/multi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/powixf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/cpu_model_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatunssisfvfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/letf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/unordtf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatdisf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/netf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/addvsi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/bswapsi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/trunctfdf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divtf3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ashrti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/negsf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/truncdfhf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/clear_cache_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunsxfsi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixsfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/gedf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/trunctfsf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixsfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/subsf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ashldi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divdi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divdf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ctzti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/eqtf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ucmpdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divtc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/eqsf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/lit.cfg.py
The file was modifiedcompiler-rt/test/builtins/Unit/udivdi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixdfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/clzsi2_test.c
The file was modifiedcompiler-rt/test/builtins/CMakeLists.txt
The file was modifiedcompiler-rt/test/builtins/Unit/negvdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatuntitf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulvsi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divsi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/umoddi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatunssidfvfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ctzdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatuntisf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floattixf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/addtf3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/nesf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/powidf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ledf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/popcountdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixtfsi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/gttf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/lshrdi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulvdi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ashlti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/udivsi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunstfsi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divsf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/subdf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ucmpti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divsf3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/gesf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/powitf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/adddf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunstfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/extenddftf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/muloti4_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floattidf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixxfdi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/lesf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/addvti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixsfsivfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatditf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/subvti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunssfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floattitf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/muldf3vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/parityti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/comparedf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ctzsi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/lit.site.cfg.py.in
The file was modifiedcompiler-rt/test/builtins/Unit/floatunditf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ffsti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixtfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/bswapdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunssfsi_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatundidf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/powisf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunssfsivfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunsxfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/negvti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatundixf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/muldi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/comparesf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/absvti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/absvdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulosi4_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunsdfti_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/modti3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/subvdi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/udivmoddi4_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/floatdixf_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ashrdi3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/getf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/negdf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/mulodi4_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fixunsdfsivfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/ffsdi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divdc3_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/popcountti2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/divdf3_test.c
The file was addedcompiler-rt/test/builtins/Unit/extendsfdf2vfp_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/absvsi2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/extendhfsf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/unordsf2vfp_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/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/ignore-artificial-constructors/TestIgnoreArtificialConstructors.py
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.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/test/CodeGen/PowerPC/tocSaveInPrologue.ll
The file was modifiedllvm/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll
The file was modifiedllvm/test/CodeGen/PowerPC/vec-min-max.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/brcond.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pr42492.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/disassembly.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/function-types-calling-conv.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/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/source/Core/AddressResolverName.cpp
The file was modifiedlldb/source/Commands/CommandObjectWatchpoint.cpp
The file was modifiedlldb/source/Core/Module.cpp
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp
The file was modifiedlldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
The file was modifiedlldb/source/API/SBTarget.cpp
The file was modifiedlldb/source/Symbol/Symtab.cpp
The file was modifiedlldb/include/lldb/Core/Module.h
The file was modifiedlldb/source/Breakpoint/BreakpointResolverName.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/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.cpp
The file was modifiedlldb/source/API/SBModule.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
The file was modifiedlldb/source/Core/SourceManager.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
The file was modifiedlldb/include/lldb/Target/DynamicLoader.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/source/Expression/IRExecutionUnit.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
The file was modifiedlldb/source/Symbol/SymbolFile.cpp
The file was modifiedlldb/unittests/Core/MangledTest.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.h
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/include/lldb/Core/ModuleSpec.h
The file was modifiedlldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp
The file was modifiedlldb/source/Symbol/Function.cpp
The file was modifiedlldb/source/Commands/CommandObjectSource.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
The file was modifiedlldb/include/lldb/Core/ModuleList.h
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h
The file was modifiedlldb/include/lldb/Symbol/Symtab.h
The file was modifiedlldb/source/Core/ModuleList.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
The file was modifiedlldb/include/lldb/Symbol/SymbolFile.h
The file was modifiedlldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp
The file was modifiedlldb/unittests/Target/ModuleCacheTest.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/disassembly.cpp
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/function-types-calling-conv.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/Analysis/cfg-openmp.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_linear_messages.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 addedllvm/test/tools/llvm-objcopy/ELF/wildcard-flags.test
The file was modifiedllvm/tools/llvm-objcopy/CommonOpts.td
The file was modifiedllvm/docs/CommandGuide/llvm-objcopy.rst
The file was addedllvm/test/tools/llvm-objcopy/ELF/wildcard-syntax.test
The file was modifiedllvm/docs/CommandGuide/llvm-strip.rst
The file was modifiedllvm/tools/llvm-objcopy/llvm-objcopy.cpp
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.h
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/ignore-artificial-constructors/TestIgnoreArtificialConstructors.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/TestCallOverriddenMethod.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/FLATInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/BUFInstructions.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/include/llvm/Support/Error.h
The file was modifiedllvm/unittests/Support/ErrorTest.cpp
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/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/test/tools/llvm-objdump/xcoff-section-headers.test
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/utils/TableGen/NeonEmitter.cpp
The file was modifiedclang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c
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.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
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/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
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/DwarfUnit.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DebugLocStream.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfFile.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
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/utils/analyzer/exploded-graph-rewriter.py
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/node_labels.dot
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/test/Analysis/exploded-graph-rewriter/program_points.dot
The file was modifiedclang/lib/Analysis/ProgramPoint.cpp
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/test/Analysis/exploded-graph-rewriter/constraints.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/edge.dot
The file was modifiedclang/test/Analysis/dump_egraph.c
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/constraints_diff.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/environment_diff.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/store.dot
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/environment.dot
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
The file was modifiedclang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/topology.dot
The file was modifiedclang/utils/analyzer/exploded-graph-rewriter.py
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/trimmers.dot
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporter.cpp
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/checker_messages.dot
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
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 modifiedpolly/lib/Analysis/ScopBuilder.cpp
The file was addedpolly/test/ScopInfo/preserve-equiv-class-order-in-basic_block.ll
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/Test.py
The file was modifiedllvm/utils/lit/lit/worker.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/test/Transforms/InstCombine/shufflevector-div-rem.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
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/AArch64ISelLowering.h
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-perm-select.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.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/ssub_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/AArch64/uadd_sat.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/test/CodeGen/X86/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/sadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/ARM/ssub_sat_plus.ll
The file was modifiedllvm/test/CodeGen/ARM/usub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/usub_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/sadd_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/X86/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/X86/ssub_sat_plus.ll
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/uadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/X86/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat_vec.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/ARM/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/ssub_sat_plus.ll
The file was modifiedllvm/test/CodeGen/X86/uadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/AArch64/usub_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/tools/llvm-objdump/MachODump.cpp
The file was modifiedllvm/lib/Object/MachOUniversal.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/COFF/InputFiles.cpp
The file was addedlld/test/COFF/duplicate-cv.s
The file was addedlld/test/COFF/duplicate-dwarf.s
The file was modifiedlld/test/COFF/duplicate.test
The file was modifiedlld/test/COFF/conflict.test
The file was modifiedlld/test/COFF/conflict-mangled.test
The file was modifiedlld/COFF/InputFiles.h
The file was modifiedlld/COFF/SymbolTable.cpp
The file was modifiedlld/COFF/SymbolTable.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/Target/AArch64/SVEInstrFormats.td
The file was addedllvm/test/CodeGen/AArch64/sve-vector-splat.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.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/LegalizeTypes.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
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/test/Driver/lto-unit.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
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/AST.h
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.h
The file was modifiedclang-tools-extra/clangd/XRefs.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/AArch64InstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SystemOperands.td
The file was modifiedllvm/lib/Target/AArch64/AArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.h
The file was addedllvm/test/MC/AArch64/armv8.4a-pmu.s
The file was addedllvm/test/MC/Disassembler/AArch64/armv8.4a-pmu.txt
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/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/test/MC/AMDGPU/vop_sdwa.s
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/tocSaveInPrologue.ll
The file was modifiedllvm/test/CodeGen/PowerPC/brcond.ll
The file was modifiedllvm/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll
The file was modifiedllvm/test/CodeGen/PowerPC/vec-min-max.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pr42492.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/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/unwind-via-stack-win.test
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/unwind-via-stack-cfi.test
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/BinaryFormat/Minidump.h
The file was modifiedllvm/include/llvm/Object/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/utils/TableGen/DFAPacketizerEmitter.cpp
The file was modifiedllvm/include/llvm/Support/Automaton.h
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/test/MC/Disassembler/AMDGPU/gfx10_dasm_dpp16.txt
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/test/MC/AMDGPU/wave32.s
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/wave32.txt
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/test/MC/AMDGPU/gfx10_asm_dpp8.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/unittests/ObjectYAML/MinidumpYAMLTest.cpp
The file was modifiedllvm/test/tools/obj2yaml/basic-minidump.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/MinidumpYAML.h
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
The file was modifiedllvm/lib/ObjectYAML/MinidumpYAML.cpp
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.h
The file was modifiedlldb/source/Plugins/Process/minidump/MinidumpParser.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/source/Plugins/Process/minidump/MinidumpTypes.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/source/Plugins/Process/minidump/ProcessMinidump.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py
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 modifiedllvm/unittests/Transforms/Utils/CMakeLists.txt
The file was modifiedllvm/include/llvm/CodeGen/MachineDominators.h
The file was modifiedllvm/include/llvm/Transforms/Utils/SizeOpts.h
The file was modifiedllvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
The file was modifiedllvm/lib/CodeGen/MachineDominators.cpp
The file was modifiedllvm/lib/Transforms/Utils/SizeOpts.cpp
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was addedllvm/unittests/CodeGen/MachineSizeOptsTest.cpp
The file was addedllvm/lib/CodeGen/MachineSizeOpts.cpp
The file was addedllvm/unittests/Transforms/Utils/SizeOptsTest.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
The file was addedllvm/include/llvm/CodeGen/MachineSizeOpts.h
The file was modifiedllvm/include/llvm/CodeGen/MachineLoopInfo.h
The file was modifiedllvm/lib/CodeGen/MachineLoopInfo.cpp
The file was modifiedllvm/unittests/CodeGen/CMakeLists.txt
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/include/clang/AST/RecursiveASTVisitor.h
The file was addedclang/test/OpenMP/master_taskloop_simd_reduction_messages.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_num_tasks_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_simdlen_messages.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was addedclang/test/OpenMP/master_taskloop_simd_aligned_messages.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_safelen_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_linear_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_priority_messages.cpp
The file was modifiedclang/lib/AST/StmtOpenMP.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_ast_print.cpp
The file was modifiedclang/include/clang/AST/StmtOpenMP.h
The file was addedclang/test/OpenMP/master_taskloop_simd_loop_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_reduction_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_lastprivate_messages.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was addedclang/test/OpenMP/master_taskloop_simd_collapse_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_misc_messages.c
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_private_messages.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was addedclang/test/OpenMP/master_taskloop_simd_grainsize_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_codegen.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/include/clang-c/Index.h
The file was addedclang/test/OpenMP/master_taskloop_simd_private_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_final_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_firstprivate_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_in_reduction_messages.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_firstprivate_messages.cpp
Commit 52dc406efc717cf5aca1f5ee5600382f348969db by llvmgnsyncbot
gn build: Merge r375254
llvm-svn: 375256
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Transforms/Utils/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/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.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/run.py
The file was modifiedllvm/utils/lit/lit/worker.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/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/smem-war-hazard.mir
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 addedllvm/examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp
The file was addedllvm/examples/LLJITExamples/LLJITWithJITLink/CMakeLists.txt
The file was modifiedllvm/examples/LLJITExamples/CMakeLists.txt
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-amdgcn.mbcnt.lo.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.sin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-or.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fptosi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f16.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pk.u16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-zext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-trunc.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ctpop.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.cvt.pknorm.u16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-mul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fract.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-umin.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-usubo.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-amdgcn.class.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum-ieee.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-lshr.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-umax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-copy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-select.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fneg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-xor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-add.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-merge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-and.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptrtoint.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-amdgcn.rsq.legacy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rcp.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ashr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-implicit-def.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum-ieee.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-uaddo.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/inline-constraints.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cos.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.sffbh.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fabs.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fmed3.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-extract.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-shl.s16.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-uitofp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-icmp.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-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-bitreverse.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-amdgcn.rcp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pkrtz.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-smax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.ldexp.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.readfirstlane.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/read_register.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sub.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ashr.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-brcond.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sitofp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.class.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fract.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fptoui.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.writelane.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.s.sendmsg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-anyext.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.fmed3.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-lshr.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.rcp.legacy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-smrd.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-gep.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-shl.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptr-mask.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-smulh.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.clamp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.readlane.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-concat-vectors.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-umulh.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-frame-index.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.ldexp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcmp.s16.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/UnwindCursor.hpp
The file was modifiedlibunwind/src/AddressSpace.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/include/llvm/CodeGen/GlobalISel/CallLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMCallLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86CallLowering.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/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/test/Analysis/dump_egraph.c
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/utils/analyzer/exploded-graph-rewriter.py
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/edge.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/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/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/test/Analysis/dump_egraph.c
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/test/Analysis/expr-inspection.c
The file was modifiedclang/lib/StaticAnalyzer/Core/MemRegion.cpp
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/test/Analysis/exploded-graph-rewriter/environment.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/escapes.c
The file was modifiedclang/utils/analyzer/exploded-graph-rewriter.py
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 modifiedlld/test/wasm/locals-duplicate.test
The file was modifiedllvm/test/MC/WebAssembly/assembler-binary.ll
The file was modifiedlld/test/wasm/local-symbols.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/tailcall.ll
The file was modifiedlld/test/wasm/relocatable.ll
The file was modifiedllvm/test/ObjectYAML/wasm/import_section.yaml
The file was modifiedlld/test/wasm/event-section.ll
The file was modifiedllvm/tools/obj2yaml/wasm2yaml.cpp
The file was modifiedllvm/test/ObjectYAML/wasm/event_section.yaml
The file was modifiedlld/test/wasm/undefined-weak-call.ll
The file was modifiedlld/test/wasm/weak-alias.ll
The file was modifiedlld/test/wasm/alias.ll
The file was modifiedlld/test/wasm/Inputs/undefined-globals.yaml
The file was modifiedllvm/lib/ObjectYAML/WasmYAML.cpp
The file was modifiedlld/test/wasm/call-indirect.ll
The file was modifiedllvm/lib/Object/WasmObjectFile.cpp
The file was modifiedllvm/test/ObjectYAML/wasm/invalid_section_order.yaml
The file was modifiedllvm/test/Object/wasm-relocs-and-producers.yaml
The file was modifiedllvm/test/Object/wasm-duplicate-name.test
The file was modifiedlld/test/wasm/function-imports-first.ll
The file was modifiedllvm/test/tools/llvm-nm/wasm/imports.yaml
The file was modifiedllvm/test/CodeGen/WebAssembly/multivalue.ll
The file was modifiedlld/test/wasm/weak-undefined.ll
The file was modifiedllvm/test/ObjectYAML/wasm/linking_section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/code_section.yaml
The file was modifiedllvm/test/tools/llvm-readobj/wasm-imports.test
The file was modifiedllvm/test/MC/WebAssembly/weak-alias.ll
The file was modifiedllvm/test/ObjectYAML/wasm/start_section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/name_section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/weak_symbols.yaml
The file was modifiedllvm/test/MC/WebAssembly/data-section.s
The file was modifiedlld/test/wasm/function-index.test
The file was modifiedllvm/test/MC/WebAssembly/event-section.ll
The file was modifiedllvm/test/ObjectYAML/wasm/function_section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/type_section.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/WasmYAML.h
The file was modifiedlld/test/wasm/Inputs/globals.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/import_memory_shared.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/export_section.yaml
The file was modifiedlld/test/wasm/stack-pointer.ll
The file was modifiedllvm/test/MC/WebAssembly/types.ll
The file was modifiedlld/test/wasm/weak-symbols.ll
The file was modifiedllvm/test/tools/llvm-nm/wasm/weak-symbols.yaml
The file was modifiedllvm/test/MC/WebAssembly/comdat.ll
The file was modifiedllvm/test/tools/llvm-nm/wasm/exports.yaml
The file was modifiedllvm/test/MC/WebAssembly/reloc-pic.s
The file was modifiedllvm/test/MC/WebAssembly/type-index.s
The file was modifiedlld/test/wasm/gc-sections.ll
The file was modifiedlld/test/wasm/weak-alias-overide.ll
The file was modifiedlld/test/wasm/function-imports.ll
The file was modifiedllvm/test/MC/WebAssembly/external-func-address.ll
The file was modifiedllvm/test/MC/WebAssembly/libcall.ll
The file was modifiedllvm/lib/ObjectYAML/WasmEmitter.cpp
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/include/llvm/Support/Signals.h
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
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/si-spill-sgpr-stack.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-m0.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/attr-amdgpu-num-sgpr.ll
The file was removedllvm/test/CodeGen/AMDGPU/spill-to-smem-m0.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-wide-sgpr.ll
The file was removedllvm/test/CodeGen/AMDGPU/attr-amdgpu-num-sgpr-spill-to-smem.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/unittests/ProfileData/SampleProfTest.cpp
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProfReader.h
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/test/Transforms/SampleProfile/remap.ll
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 modifiedcompiler-rt/lib/hwasan/hwasan_interceptors.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan_allocator.cpp
The file was removedcompiler-rt/test/hwasan/TestCases/Posix/system-allocator-fallback.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan_allocator.h
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 modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
The file was addedllvm/test/CodeGen/AMDGPU/mfma-loop.ll
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 modifiedllvm/lib/CodeGen/LiveIntervals.cpp
The file was addedllvm/test/CodeGen/AMDGPU/sched-handleMoveUp-subreg-def-across-subreg-def.mir
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 modifiedclang/test/Driver/darwin-ld.c
The file was modifiedcompiler-rt/lib/profile/InstrProfiling.h
The file was removedcompiler-rt/test/profile/Posix/instrprof-set-filename-shared.test
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
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 addedcompiler-rt/test/profile/instrprof-get-filename-merge-mode.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/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/CodeGen/CGExprComplex.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/include/clang/AST/Stmt.h
The file was modifiedclang/lib/CodeGen/CGExprAgg.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
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 modifiedclang/lib/AST/ExprCXX.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/Sema/Overload.h
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p9-2a.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was addedclang/test/CodeGenCXX/mangle-cxx2a.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/test/SemaCXX/compare-cxx2a.cpp
The file was modifiedclang/test/SemaCXX/self-comparison.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p8-2a.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/PCH/cxx2a-compare.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/include/clang/Basic/OperatorKinds.h
The file was modifiedclang/test/CXX/temp/temp.fct.spec/temp.deduct/p7.cpp
The file was modifiedclang/www/cxx_status.html
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/include/type_traits
The file was modifiedlibcxxabi/test/unwind_06.pass.cpp
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.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/malloc.mm
The file was modifiedclang/test/Analysis/temporaries.mm
The file was modifiedclang/test/Analysis/osobjectcstylecastchecker_test.cpp
The file was modifiedclang/test/Analysis/diagnostics/dtors.cpp
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp
The file was modifiedclang/test/Analysis/ptr-sort.cpp
The file was modifiedclang/test/Analysis/cast-value-notes.cpp
The file was modifiedclang/test/Analysis/initialization.cpp
The file was modifiedclang/test/Analysis/ctu-unknown-parts-in-triples.cpp
The file was modifiedclang/test/Analysis/cast-value-state-dump.cpp
The file was modifiedclang/test/Analysis/cast-value-logic.cpp
The file was modifiedclang/test/Analysis/ctu-different-triples.cpp
The file was modifiedclang/test/Analysis/domtest.cpp
The file was modifiedclang/test/Analysis/stack-frame-context-revision.cpp
The file was modifiedclang/test/Analysis/inlining/placement-new-fp-suppression.cpp
The file was modifiedclang/test/Analysis/plist-macros-with-expansion.cpp
The file was modifiedclang/test/Analysis/sizeofpack.cpp
The file was modifiedclang/test/Analysis/ptr-iter.cpp
The file was modifiedclang/test/Analysis/inner-pointer.cpp
The file was modifiedclang/test/Analysis/new-ctor-null.cpp
The file was modifiedclang/test/Analysis/test-separate-retaincount.cpp
The file was modifiedclang/test/Analysis/unions.cpp
The file was modifiedclang/test/Analysis/explain-svals.cpp
The file was modifiedclang/test/Analysis/osobject-retain-release.cpp
The file was modifiedclang/test/Analysis/deadstores-driverkit.cpp
The file was modifiedclang/test/Analysis/rvo.cpp
The file was modifiedclang/test/Analysis/ctu-main.cpp
The file was modifiedclang/test/Analysis/mig.mm
The file was modifiedclang/test/Analysis/new-ctor-null-throw.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/Sema/TreeTransform.h
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was addedclang/test/CodeGenCUDA/unnamed-types.cu
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/Decl.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/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/CodeGen/LiveVariables.cpp
The file was modifiedllvm/lib/CodeGen/LexicalScopes.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Assembler.cpp
The file was modifiedllvm/lib/CodeGen/ReachingDefAnalysis.cpp
The file was modifiedllvm/lib/Target/Hexagon/RDFDeadCode.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
The file was modifiedllvm/lib/CodeGen/MIRCanonicalizerPass.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
The file was modifiedllvm/lib/CodeGen/MIRVRegNamerUtils.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h
The file was modifiedllvm/lib/Target/ARM/ARMConstantPoolValue.cpp
The file was modifiedllvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/RegisterBank.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h
The file was modifiedllvm/include/llvm/CodeGen/DFAPacketizer.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.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/SemaInit.cpp
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was addedclang/test/CodeGenCXX/implicit-function-conversion.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 removedcompiler-rt/test/profile/instrprof-get-filename-merge-mode.c
The file was addedcompiler-rt/test/profile/Posix/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/AArch64.cpp
The file was modifiedclang-tools-extra/clangd/FileDistance.h
The file was modifiedlld/include/lld/Common/LLVM.h
The file was modifiedllvm/include/llvm/ADT/Hashing.h
The file was modifiedlld/lib/ReaderWriter/MachO/DebugInfo.h
The file was modifiedlld/include/lld/Core/File.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/X86.cpp
The file was modifiedllvm/include/llvm/Support/Host.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/PPC.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
The file was modifiedllvm/lib/Support/Windows/WindowsSupport.h
The file was modifiedllvm/include/llvm/BinaryFormat/Wasm.h
The file was modifiedllvm/tools/llvm-exegesis/lib/RegisterValue.cpp
The file was modifiedllvm/include/llvm/Support/SHA1.h
The file was modifiedlldb/include/lldb/Utility/UUID.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.cpp
The file was modifiedllvm/include/llvm/Support/SwapByteOrder.h
The file was modifiedlld/tools/lld/lld.cpp
The file was modifiedllvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp
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/lib/Analysis/CFG.cpp
The file was modifiedclang/include/clang/Analysis/CFG.h
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/AnalysisBasedWarnings.cpp
The file was modifiedclang/test/Sema/warn-bitwise-compare.c
The file was addedclang/test/SemaCXX/warn-bitwise-compare.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/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGISel.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/ScheduleDAGInstrs.cpp
The file was modifiedllvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/DFAPacketizer.cpp
The file was modifiedllvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.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/BreakFalseDeps.cpp
The file was modifiedllvm/lib/CodeGen/SwiftErrorValueTracking.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
The file was modifiedllvm/lib/Target/BPF/BPFMIChecking.cpp
The file was modifiedllvm/lib/CodeGen/ExecutionDomainFix.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBasicBlockInfo.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
The file was modifiedllvm/lib/Target/ARM/MVEVPTBlockPass.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBasicBlockInfo.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp
The file was modifiedllvm/lib/Target/BPF/BPFMIPeephole.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430BranchSelector.cpp
The file was modifiedllvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/lib/Target/ARM/ARMMachineFunctionInfo.h
The file was modifiedllvm/include/llvm/CodeGen/FunctionLoweringInfo.h
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNILPSched.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.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/docs/Modules.rst
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was addedclang/test/Modules/context-hash.c
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
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/MCParser/AsmParser.cpp
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
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/docs/ReleaseNotes.rst
The file was modifiedclang/test/Sema/parentheses.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
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/test/Analysis/novoidtypecrash.c
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
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/py_import
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/command/script/TestCommandScript.py
The file was addedlldb/packages/Python/lldbsuite/test/commands/command/script/callables.py
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
The file was modifiedlldb/scripts/Python/python-wrapper.swig
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
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/scripts/Python/python-wrapper.swig
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/formatters/TestFormatters.py
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 removedclang/test/Modules/context-hash.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h
The file was modifiedclang/docs/Modules.rst
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/test/CodeGen/X86/avx512-intrinsics-fast-isel.ll
The file was modifiedllvm/test/CodeGen/X86/haddsub-3.ll
The file was modifiedllvm/test/CodeGen/X86/haddsub-broadcast.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
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/vector-reduce-mul.ll
The file was modifiedllvm/test/CodeGen/X86/vector-sext.ll
The file was modifiedllvm/test/CodeGen/X86/bitcast-setcc-128.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/test/CodeGen/X86/vector-shuffle-256-v32.ll
The file was modifiedllvm/test/CodeGen/X86/vec_int_to_fp.ll