SuccessChanges

Summary

  1. [SelectionDAG] Merge the two identical ExpandChainLibCall methods from (details)
  2. bugpoint: Add option to disable attribute removal (details)
  3. AMDGPU: Split test functions to avoid dependency on subtarget (details)
  4. [clang][IFS] Driver pipeline: generate interface stubs after standard (details)
  5. Revert "[clang][IFS] Driver pipeline: generate interface stubs after (details)
  6. [lldb-server] Use LLDB_LOG_ERROR to consume Error<> even if logging is (details)
  7. [X86] Add more addcarry tests (details)
  8. [ARM][MVE] Tail predication conversion (details)
  9. Revert 1689ad27af5 "[builtins] Implement rounding mode support for (details)
  10. [NFC] Test commit. Please ignore. (details)
  11. [clang-format] [NFC] add recent changes to release notes (details)
  12. [ARM][MVE] Enable narrow vectors for tail pred (details)
  13. [APInt] add wrap support for `setBits` and `getBitsSet` (details)
  14. Reland "[clangd] Implement rename by using SelectionTree and (details)
  15. Add operator<< for object::SectionedAddress (details)
  16. Add streaming/equality operators to (details)
  17. Revert "gn build: (manually) try to merge 1689ad27af" (details)
  18. [clangd] Fix ps4 buildbot failure. (details)
  19. [clangd] More sensible output for constructors/destructors in hover. (details)
  20. Mark PR44037 tests as XFAIL on AArch64 Linux dwo (details)
  21. [clangd] Fix hover 'local scope' to include class template params (details)
  22. [kate] Add various missing keywords (details)
  23. gn build: Merge 39285a0f02c (details)
  24. gn build: Merge c0fc29c4684 (details)
  25. [libunwind] Adjust the signal_frame test for Arm (details)
  26. [ThinLTO] Make ValueInfo::operator bool() explicit (details)
  27. [RISCV] Support mutilib in baremetal environment (details)
  28. [DependenceAnalysis] Dependecies for loads marked with "ivnariant.load" (details)
  29. [clang-tidy] Added DefaultOperatorNewCheck. (details)
  30. gn build: Merge e8a4c74f115 (details)
  31. [mips] Joint MipsMemSimmXXXAsmOperand into the single template class. (details)
  32. Fix PR44001: assert failure in getFunctionLocalOffsetAfterInsn (details)
  33. [lldb] Remove ClangExpressionDeclMap::ResolveUnknownTypes (details)
  34. [X86][SSE] Remove XFormVExtractWithShuffleIntoLoad to prevent (details)
  35. [llvm-objdump] Print relocation addends in hexadecimal (details)
  36. Revert "[clang-tidy] Fix readability-redundant-string-init for (details)
  37. Revert "[clang-tidy] modernize-use-override new option (details)
  38. [clang-tidy] Fix readability-redundant-string-init for c++17/c++2a (details)
  39. [clang-tidy] modernize-use-override new option AllowOverrideAndFinal (details)
  40. [lldb] Also test Get[De]mangledName of SBType in (details)
  41. [ThinLTO] Simplify code. NFC (details)
  42. Revert "[RISCV] Support mutilib in baremetal environment" (details)
  43. [PowerPC] Regenerate vsx_insert_extract_le.ll tests (details)
  44. [ARM] Regenerate vector lane store tests (details)
  45. [NFC][X86] Fixup comment in CodeGen/X86/cmov.ll (details)
  46. [AMDGPU] Tune inlining parameters for AMDGPU target (part 2) (details)
  47. Fix modules build by adding missing includes (details)
  48. DAG: Add function context to isFMAFasterThanFMulAndFAdd (details)
  49. [lldb][NFC] Early exit in IRExecutionUnit::GetStaticInitializers (details)
  50. [clangd] Untangle Hover from XRefs, move into own file. (details)
  51. [clang-tidy] DefaultOperatorNewCheck test fixes. (details)
  52. AMDGPU: Be explicit about denormal mode in MIR tests (details)
  53. AMDGPU: Refactor treatment of denormal mode (details)
  54. [clangd] Show values of more expressions on hover (details)
  55. [ARM,MVE] Add intrinsics for scalar shifts. (details)
  56. [lldb] Add logging to IRExecutionUnit::GetStaticInitializers (details)
  57. [SLP] add test for reduction miscompile; NFC (details)
  58. Fixup AVR tests to reflect changes in addend format in llvm-objdump (details)
  59. gn build: Merge 765b1250f68 (details)
  60. [SLP] fix insertion point for min/max reduction (details)
  61. [clang-tidy] Give readability-redundant-member-init an option (details)
  62. [AIX][XCOFF] Write Function descriptors and TOC base to data section (details)
  63. [NFC] Attempting to fix sphinx build failure with badly encoded (details)
  64. [clang][NFC] Make various uses of Regex const (details)
  65. [cmake] Disable GCC 9's -Winit-list-lifetime warning in ArrayRef (details)
  66. Work on cleaning up denormal mode handling (details)
  67. gn build: Merge 7fe9435dc88 (details)
  68. [NFC] Attempting to fix sphinx build failure with badly encoded (details)
  69. Fix openmp on PowerPC64-BE-ELFv2 ABI on FreeBSD. (details)
  70. [ELF] Improve --gc-sections compatibility with GNU ld regarding section (details)
  71. [FileCheck] Use lit's internal shell for the test suite (details)
  72. [libTooling] Extend `buildASTFromCodeWithArgs` to take files argument. (details)
  73. [NFC] Refactor representation of materialized temporaries (details)
  74. [nfc][libomptarget] Write amdgcn macros in terms of compiler intrinsics (details)
  75. [OPENMP]Rename function, NFC. (details)
  76. [ELF] Disallow out-of-range section group indices after D70146 (details)
  77. clang: Add -fconvergent-functions flag (details)
  78. [Symbolizers] On Darwin compute function offset when possible. (details)
  79. [LLDB] Fix formatting in the driver (NFC) (details)
  80. [C-index] Fix test when using Debug target & MSVC STL (details)
  81. implement printing out raw section data of xcoff objectfile for (details)
  82. [ARM] Add and update a lot of VLDn tests. NFC (details)
  83. [ARM] MVE interleaving load and stores. (details)
  84. Add a "Using LLDB" section to the welcome page of the website (details)
  85. [ADT][Expensive checks] Create a std::random_device seed only once when (details)
  86. test-release.sh: Update to fetch source from GitHub (details)
  87. MTE: add more unchecked instructions. (details)
  88. [nfc][libomptarget] Remove casts of string literals to char* (details)
  89. [SLP] fix miscompile on min/max reductions with extra uses (PR43948) (details)
  90. llvm/ObjCARC: Eliminate inlined AutoreleaseRV calls (details)
  91. [DebugInfo] Describe size of spilled values in call site params (details)
  92. fixe leak found by asan build bot (details)
  93. The patch is the compiler error specific on the compile error on CMVC (details)
  94. [profile] Unbreak Fuchsia/Windows after D68351 (details)
  95. Add a key method to Sema to optimize debug info size (details)
  96. [docs] Remove dangling parenthesis from documentation (details)
  97. [CGDebugInfo] Emit subprograms for decls when AT_tail_call is understood (details)
  98. [profile] Address unused function warnings on Windows after D69586 (details)
  99. [OPENMP50]Add if clause in simd directive. (details)
  100. Precommit test showing oppurtunity when computing exit tests of (details)
  101. Wrap C APIs with pragmas enforcing -Werror=strict-prototypes (details)
  102. [ValueTracking] Add a basic version of isKnownNonInfinity and use it to (details)
  103. [AArch64] Fix MIR test instruction to not have invalid operand. (details)
  104. [LoopPred] Generalize profitability check to handle unswitch output (details)
  105. [NFC] Factor out utilities for manipulating widenable branches (details)
  106. [clang][IFS] Driver Pipeline: generate stubs after standard pipeline (2) (details)
  107. [clang][IFS] Fixing failing bots that do not have PPC target or (details)
  108. [GuardWidening] Remove WidenFrequentBranches transform (details)
  109. Introduce llvm-install-name-tool (details)
  110. [lldb][test] Prevent \n in calls to lldb's expect() test helper. (details)
  111. [clang][IFS] Attempting to fix missing 'orbis-ld' on scei-ps4-ubuntu (details)
  112. [ARC] Add InitializePasses header to fix ARC build. (details)
  113. [tests] Autogen a test to eliminate spurious diff from following patch (details)
  114. [X86] Add custom type legalization and lowering for scalar (details)
  115. clang/Modules: Sink ASTReadResult in ReadControlBlock, NFC (details)
  116. scudo: Switch from std::random_shuffle to std::shuffle in a test. (details)
  117. [LegalizeDAG][X86] Enable STRICT_FP_TO_SINT/UINT to be promoted (details)
  118. [Reproducer] Namespace the reproducer dump options. (details)
  119. Revert "Introduce llvm-install-name-tool" (details)
  120. [clang][IFS] Fixing unsupported emulation mode on clang-ppc64be-linux (details)
  121. [LTO][Legacy] Add API for passing LLVM options separately (details)
  122. [musttail] Don't forward AL on Win64 (details)
  123. clang/Modules: Early return in CompilerInstance::createModuleManager, (details)
  124. [clang][IFS][test] Removing driver-test.c. Test is still too brittle. (details)
  125. Revert "[clang][IFS][test] Removing driver-test.c. Test is still too (details)
  126. Revert "[clang][IFS] Fixing unsupported emulation mode on (details)
  127. Revert "[clang][IFS] Attempting to fix missing 'orbis-ld' on (details)
  128. Revert "[clang][IFS] Fixing failing bots that do not have PPC target or (details)
  129. Revert "[clang][IFS] Driver Pipeline: generate stubs after standard (details)
  130. Extends the tblgen macro to allow mlir-tblgen to be installed (details)
  131. Use lld::make<T> to make TpiSource objects (details)
  132. AMDGPU/GlobalISel: Legalize FDIV64 (details)
  133. [FEnv] File with properties of constrained intrinsics (details)
  134. [FEnv] Fix AddingConstrainedIntrinsics.rst after (details)
  135. Introduce llvm-install-name-tool (details)
  136. [llvm-readobj/llvm-readelf] - Improve dumping of versioning sections. (details)
  137. ExecutionEngine: add preliminary support for COFF ARM64 (details)
  138. Reland "[clang] Remove the DIFlagArgumentNotModified debug info flag" (details)
  139. [llvm-readobj] - Improve dumping of the SHT_LLVM_LINKER_OPTIONS (details)
  140. [ExecutionEngine] Add a missing break to avoid warnings (details)
  141. [AMDGPU] add support for hostcall buffer pointer as hidden kernel (details)
  142. [lldb][NFC] Remove ClangASTContext::GetUniqueNamespaceDeclaration (details)
  143. [lldb][NFC] Remove ClangASTContext::FieldIsBitfield overload (details)
  144. [lldb][NFC] Remove ClangASTContext::GetAsDeclContext (details)
  145. [lldb][NFC] Simplify ClangASTContext::GetBasicTypes (details)
  146. Move floating point related entities to namespace level (details)
  147. [clangd] Treat UserDefinedLiteral as a leaf in SelectionTree, (details)
  148. [lldb][NFC] Remove unused ClangASTContext::GetUnknownAnyType (details)
  149. gn build: Merge ea8678d1c78 (details)
  150. [DebugInfo] Remove the DIFlagArgumentNotModified debug info flag (details)
  151. [DWARF] Add an api to get "interpreted" location lists (details)
  152. [CodeGen][NFC] Regenerate load-combine test with update_llc_test. (details)
  153. gn build: Merge 089c0f58149 (details)
  154. [AMDGPU][DPP] Corrected DPP combiner (details)
  155. [mips] Make MipsAsmParser::isEvaluated static function. NFC (details)
  156. [mips] Put conditions when we need to expand memory operand into a (details)
  157. Update tests after change to llvm-cxxfilt's underscore stripping (details)
  158. [lldb][NFC] Move ClangExpressionDeclMap's persistent decl search into (details)
  159. ARM-NEON: separate soon-to-be conflicting f16 patterns. NFC. (details)
  160. NeonEmitter: remove special case on casting polymorphic builtins. (details)
  161. ARM-NEON: make type modifiers orthogonal and allow multiple modifiers. (details)
  162. Ignore R_MIPS_JALR relocations against non-function symbols (details)
  163. [UptestTestChecks][NFC] Share some common command line options code (details)
  164. [update_cc_test_checks.py] Add the --function-signature flag (details)
  165. Big-endian fix to DWARFDieTest (089c0f58) (details)
  166. [ARM][MVE] Select vqabs (details)
  167. [lldb][NFC] Move searching for $__lldb_class into its own function in (details)
  168. Revert "[DWARF] Add an api to get "interpreted" location lists" (details)
  169. gn build: Merge 72d2929c52a (details)
  170. [SelectionDAG] Combine U{ADD,SUB}O diamonds into {ADD,SUB}CARRY (details)
  171. [mips] Define mem_simm# operands using tblgen `foreach` loop. NFC (details)
  172. [AMDGPU][GFX10] Disabled v_movrel*[sdwa|dpp] opcodes in codegen (details)
  173. [lldb][NFC] Move searching for $__lldb_objc_class into its own function (details)
  174. [SLP] reduce duplicate CHECK lines in tests; NFC (details)
  175. Recommit "[DWARF] Add an api to get "interpreted" location lists" (details)
  176. [AIX] Lowering jump table, constant pool and block address in asm (details)
  177. gn build: Merge a03435ec8e2 (details)
  178. [clangd] Fix a crash in expected types (details)
  179. [AIX][XCOFF] Add support for generating assembly code for one-byte (details)
  180. A fix of the bug introduced by previous lowering in asm patch. (details)
  181. Rename 'DenormalMode' in CommandFlags.inc to 'DenormalFPMath', as its (details)
  182. [SystemZ] Use fneg in test cases (details)
  183. [SelectionDAG][X86] Mutate strictFP nodes to non-strict in (details)
  184. [SystemZ] Avoid mixing strict and non-strict FP operations in tests (details)
  185. [FileCollector] Ignore empty paths. (details)
  186. scudo: Only use the Android reserved TLS slot when building libc's copy (details)
  187. Revert "[clangd] Fix a crash in expected types" (details)
  188. Fix parser bug that permitted 'private' as a (no-op) decl-specifier even (details)
  189. [AMDGPU] Keep consistent check of legal addressing mode. (details)
  190. [debugserver] Set arch based on TARGET_TRIPLE (details)
  191. [lldb] [test] Un-XFAIL one lldb-server test on NetBSD (details)
  192. [lldb] Fix NSURL data formatter truncation issue (details)
  193. [AMDGPU] Fixed mfma test check. NFC. (details)
  194. [CMake] Fix the path to CrossWinToARMLinux.cmake CMake cache. (details)
  195. Move widenable branch formation into makeGuardControlFlowExplicit helper (details)
  196. [X86] Mark vector STRICT_FP_ROUND as Legal instead of Custom. (details)
  197. [Hexagon] Fix two testcase errors (details)
  198. [Reproducer] Generate LLDB reproducer on crash (details)
  199. [clang][IFS] Driver Pipeline: generate stubs after standard pipeline (3) (details)
  200. [Docs] Fix Sphinx warning (treated as error) (details)
  201. [Driver] Fix missing space in lldb --help output. (details)
  202. [AMDGPU][SILoadStoreOptimizer] Merge TBUFFER loads/stores (details)
Commit dc02eb1909961dc2c10a900599925ccfecfc241d by craig.topper
[SelectionDAG] Merge the two identical ExpandChainLibCall methods from
LegalizeTypes and LegalizeDAG to one version in TaretLowering.
Reviewers: RKSimon, efriedma, spatel
Reviewed By: efriedma
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70354
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Commit 6f06eda070eb574ad3ad6612f037e1fab7a1f0db by arsenm2
bugpoint: Add option to disable attribute removal
This takes a long time and never reduces anything useful for me
(e.g. I've been waiting for 3 hours on a testcase and it hasn't found
any attributes to remove yet). This should probably start by assuming no
attributes matter, and adding back.
The file was modifiedllvm/test/BugPoint/func-attrs.ll
The file was modifiedllvm/tools/bugpoint/CrashDebugger.cpp
Commit b337bce8710f2a7ab8ce9f84c80cfbce1032963c by arsenm2
AMDGPU: Split test functions to avoid dependency on subtarget
Prepare this test for moving tthe denormal setting out of the subtarget
features.
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fdiv.ll
Commit 58ea00b51fe9b011301484957556872fced7dd08 by puyan
[clang][IFS] Driver pipeline: generate interface stubs after standard
pipeline.
Up until now, clang interface stubs has replaced the standard PP -> C ->
BE -> ASM -> LNK pipeline. With this change, it will happen in
conjunction with it. So what when you build your code you will get an
a.out or lib.so as well as an interface stub file.
Example:
clang -shared -o libfoo.so -emit-interface-stubs ...
will generate both a libfoo.so and a libfoo.ifso. The .so file will
contain the code from the standard compilation pipeline and the .ifso
file will contain the ELF stub library.
Differential Revision: https://reviews.llvm.org/D70274
The file was modifiedclang/lib/Driver/ToolChains/InterfaceStubs.cpp
The file was modifiedclang/test/InterfaceStubs/windows.cpp
The file was modifiedclang/lib/Driver/Types.cpp
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/test/InterfaceStubs/driver-test.c
The file was addedclang/test/InterfaceStubs/driver-test2.c
Commit d044dcc5e492181b1517347013a780d9eda6c3c3 by puyan
Revert "[clang][IFS] Driver pipeline: generate interface stubs after
standard pipeline."
This reverts commit 58ea00b51fe9b011301484957556872fced7dd08.
Test for .o + .ifs sidecar files is brittle and failing on bots.
Reverting to unblock.
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/test/InterfaceStubs/windows.cpp
The file was modifiedclang/lib/Driver/ToolChains/InterfaceStubs.cpp
The file was removedclang/test/InterfaceStubs/driver-test2.c
The file was modifiedclang/lib/Driver/Types.cpp
The file was modifiedclang/test/InterfaceStubs/driver-test.c
Commit 926d283893ae764cfba0360badcd7cc9fef4dfe5 by martin
[lldb-server] Use LLDB_LOG_ERROR to consume Error<> even if logging is
disabled
Differential Revision: https://reviews.llvm.org/D70386
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Commit d593292f0465c9db1f2c3cdf719009bfdf942a5c by chfast
[X86] Add more addcarry tests
Summary: More addcarry tests for incoming
https://reviews.llvm.org/D70079.
Reviewers: davezarzycki, RKSimon, spatel, craig.topper
Reviewed By: spatel
Subscribers: craig.topper, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70237
The file was modifiedllvm/test/CodeGen/X86/subcarry.ll
The file was modifiedllvm/test/CodeGen/X86/addcarry.ll
Commit 8978c12b39f90194bb35860729ddca5e819f3b92 by sam.parker
[ARM][MVE] Tail predication conversion
This patch modifies ARMLowOverheadLoops to convert a predicated vector
low-overhead loop into a tail-predicatd one. This is currently a very
basic conversion, with the following restrictions:
- Operates only on single block loops.
- The loop can only contain a single vctp instruction.
- No other instructions can write to the vpr.
- We only allow a subset of the mve instructions in the loop.
TODO: Pass the number of elements, not the number of iterations to
dlstp/wlstp.
Differential Revision: https://reviews.llvm.org/D69945
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-tail-data-types.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/fast-fp-loops.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/unittests/Target/ARM/MachineInstrTest.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vector-arith-codegen.ll
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Commit a19f0eec94e195cac676d0d473882b48f4fded90 by hans
Revert 1689ad27af5 "[builtins] Implement rounding mode support for
i386/x86_64"
It broke the build with MSVC:
fp_mode.c(20): error C2065: '__asm__': undeclared identifier
> Differential Revision: https://reviews.llvm.org/D69870
The file was modifiedcompiler-rt/lib/builtins/CMakeLists.txt
The file was modifiedcompiler-rt/test/builtins/Unit/addtf3_test.c
The file was removedcompiler-rt/lib/builtins/i386/fp_mode.c
The file was modifiedcompiler-rt/test/builtins/Unit/subtf3_test.c
Commit 4a64d710aebb7c598004d0a26810978cd7311e5b by evgueni.brevnov
[NFC] Test commit. Please ignore.
As a test commit I fixed a misspelling in one of comments in SLP
vectorizer.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 8b5f6c16476c7a8f50b660fb6e1b549759a783b6 by mydeveloperday
[clang-format] [NFC] add recent changes to release notes
Summary: clang-tidy keeps nice release notes of what is added, have
clang-format do the same.
Reviewers: klimek, mitchell-stellar, sylvestre.ledru, sammccall
Reviewed By: mitchell-stellar
Subscribers: merge_guards_bot, Eugene.Zelenko, cfe-commits
Tags: #clang-format, #clang
Differential Revision: https://reviews.llvm.org/D70355
The file was modifiedclang/docs/ReleaseNotes.rst
Commit d43913ae3818c86e640f406761ec7202a8ebb24e by sam.parker
[ARM][MVE] Enable narrow vectors for tail pred
Remove the restriction, from the mve tail predication pass, that the all
masked vectors instructions need to be 128-bits. This allows us to
supported extending loads and truncating stores.
Differential Revision: https://reviews.llvm.org/D69946
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-tail-data-types.ll
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/wlstp.mir
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/nested.ll
Commit fd03be363421fa65cbe5447eef489a67517e9083 by czhengsz
[APInt] add wrap support for `setBits` and `getBitsSet`
Add two new interfaces getBitsSet and getBitsSetWithWrap
Reviewed by: lebedev.ri, craig.topper
Differential Revision: https://reviews.llvm.org/D69032
The file was modifiedllvm/unittests/ADT/APIntTest.cpp
The file was modifiedllvm/include/llvm/ADT/APInt.h
Commit 7db1230a9f5e0185a88019c9aa5b55bd85498285 by hokein.wu
Reland "[clangd] Implement rename by using SelectionTree and
findExplicitReferences."
this reland the commit 4f80fc2491cc35730a9a84b86975278b7daa8522 which
has been reverted at f805c60a093325c16ce4200d2615ef48555d9cb8.
Fixed windows buildbot failure (by adding -fno-delayed-template-parsing
flag).
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
Commit c0fc29c4684a997d282bfed71eb4d903ad16ee25 by pavel
Add operator<< for object::SectionedAddress
The main motivation for this is better failure messages in unit tests.
Split off from D70394.
The file was modifiedllvm/lib/Object/ObjectFile.cpp
The file was addedllvm/unittests/Object/ObjectFileTest.cpp
The file was modifiedllvm/include/llvm/Object/ObjectFile.h
The file was modifiedllvm/unittests/Object/CMakeLists.txt
Commit 39285a0f02c7bc5e4bad8a684a900123b097511d by pavel
Add streaming/equality operators to
DWARFAddressRange/DWARFLocationExpression
The main motivation for this is being able to write simpler assertions
and get better error messages in unit tests.
Split off from D70394.
The file was modifiedllvm/unittests/DebugInfo/DWARF/CMakeLists.txt
The file was addedllvm/lib/DebugInfo/DWARF/DWARFLocationExpression.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFLocationExpression.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFAddressRange.h
The file was addedllvm/unittests/DebugInfo/DWARF/DWARFLocationExpressionTest.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/CMakeLists.txt
Commit 88276ddbfea753ac13da5a64c2020b7b0a06617f by thakis
Revert "gn build: (manually) try to merge 1689ad27af"
This reverts commit e4ec2ecf6d4768d681a89263c0a4d29a7b7761ad. 1689ad27af
was reverted as well.
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
Commit f0021f95a1f40369e30bb94be1b0322747631047 by hokein.wu
[clangd] Fix ps4 buildbot failure.
dynamic_cast on ps4 buildbot seems relying on rtti flag which is off by
default. Remove the dynamic_cast in the tests.
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
Commit 6ec07140980770fccfcdf53fe43e7425a9f51a7b by sam.mccall
[clangd] More sensible output for constructors/destructors in hover.
Summary: Previously: both had type void() and return type void. Now:
neither have a type. Constructors return T, destructors return void.
Reviewers: hokein
Subscribers: merge_guards_bot, ilya-biryukov, MaskRay, jkorous,
arphaman, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70317
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/AST.h
Commit bb7c8e984f87e1de7c80abd33d00025ac366efa6 by diana.picus
Mark PR44037 tests as XFAIL on AArch64 Linux dwo
These tests are failing with various assertion failures, but they all
throw the following error message first:
error: a.out 0x0000002d: adding range [0x14-0x24) which has a base that
is less than the function's low PC 0x40060c.
See llvm.org/pr44037.
Differential Revision: https://reviews.llvm.org/D70381
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/c/inlines/TestRedefinitionsInInlines.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
Commit e51484abd402016a385e17896e87877b77bf4c7b by sam.mccall
[clangd] Fix hover 'local scope' to include class template params
Summary: Fixes the last part of
https://github.com/clangd/clangd/issues/76
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70325
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
Commit d56dd62a98ebaaa6a30291a3a136851aee2361dd by sven.vanhaastregt
[kate] Add various missing keywords
Patch by Pedro Olsen Ferreira.
The file was modifiedllvm/utils/kate/llvm.xml
Commit d54e5a2c86615757dd2c50ad2b66d004dc226610 by llvmgnsyncbot
gn build: Merge 39285a0f02c
The file was modifiedllvm/utils/gn/secondary/llvm/lib/DebugInfo/DWARF/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/DebugInfo/DWARF/BUILD.gn
Commit 26d36a1903ac3a076dec85753a710ac134839067 by llvmgnsyncbot
gn build: Merge c0fc29c4684
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Object/BUILD.gn
Commit 4fb8ecdef4c9b19563e428a151c376a4103d65fc by mikhail.maltsev
[libunwind] Adjust the signal_frame test for Arm
Summary: This patch adjusts the signal_frame.pass.cpp to pass on Arm
targets:
* When Arm EHABI is used the unwinder does not use DWARF, hence the
DWARF-specific check unw_is_signal_frame() must be disabled.
* Certain C libraries don't include EH tables, so the unwinder must
not try to step out of main(). The patch moves the test code out of
main() into a separate function to avoid this.
Reviewers: saugustine, ostannard, phosek, jfb, mclow.lists
Reviewed By: saugustine
Subscribers: dexonsmith, aprantl, kristof.beyls, christof,
libcxx-commits, pbarrio, labrinea
Tags: #libc
Differential Revision: https://reviews.llvm.org/D70397
The file was modifiedlibunwind/test/signal_frame.pass.cpp
Commit 4ef9315c4be0217ed9eb511a0e89228d32dc98cd by evgeny
[ThinLTO] Make ValueInfo::operator bool() explicit
Differential revision: https://reviews.llvm.org/D70383
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
The file was addedllvm/test/ThinLTO/X86/funcimport-stats.ll
Commit b6d7bbfa004310777cd41448ffc377aea082fc8c by zakk.chen
[RISCV] Support mutilib in baremetal environment
Currently only support the set of multilibs same to riscv-gnu-toolchain.
Reviewers: espindola, asb, kito-cheng, lenary
Reviewed By: lenary
Differential Revision: https://reviews.llvm.org/D67508
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32imac/ilp32/crtbegin.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/crt0.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv64imac/lp64/crtbegin.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/rv32iac/ilp32/crt0.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32im/ilp32/crtend.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/rv32imafc/ilp32f/crt0.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32iac/ilp32/crtend.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv64imafdc/lp64d/crtend.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/rv32imac/ilp32/crt0.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32imafc/ilp32f/crtend.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/bin/ld
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32i/ilp32/crtend.o
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/rv32im/ilp32/crt0.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/crtbegin.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32imac/ilp32/crtend.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32im/ilp32/crtbegin.o
The file was modifiedclang/lib/Driver/ToolChains/RISCVToolchain.cpp
The file was modifiedclang/test/Driver/riscv32-toolchain.c
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32imafc/ilp32f/crtbegin.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/rv32i/ilp32/crt0.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/rv64imafdc/lp64d/crt0.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv64imac/lp64/crtend.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/rv64imac/lp64/crt0.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32i/ilp32/crtbegin.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/crtend.o
The file was modifiedclang/test/Driver/riscv64-toolchain.c
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32iac/ilp32/crtbegin.o
The file was addedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv64imafdc/lp64d/crtbegin.o
Commit 5f026b6d9e882941fde9b7e5dc0a2d807f7f24f5 by evgueni.brevnov
[DependenceAnalysis] Dependecies for loads marked with "ivnariant.load"
should not be shared with general accesses. Fix for
https://bugs.llvm.org/show_bug.cgi?id=42151
Summary: Dependence anlysis has a mechanism to cache results. Thus for
particular memory access the cache keep track of side effects in basic
blocks. The problem is that for invariant loads dependepce analysis
legally ignores many dependencies due to a special semantic rules for
such loads. But later results calculated for invariant load retrived
from the cache for general case acceses. As a result we have wrong
dependence information causing GVN to do illegal transformation. Fixes,
T42151.
Proposed solution is to disable caching of invariant loads. I think such
loads a pretty rare and it doesn't make sense to extend caching
mechanism for them.
Reviewers: reames, chandlerc, skatkov, morisset, jdoerfert
Reviewed By: reames
Subscribers: hiraditya, test, jdoerfert, lebedev.ri, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64405
The file was modifiedllvm/lib/Analysis/MemoryDependenceAnalysis.cpp
Commit e8a4c74f1157017b22d1579b6ac80fb4a634bc2a by 1.int32
[clang-tidy] Added DefaultOperatorNewCheck.
Summary: Added new checker 'cert-default-operator-new' that checks for
CERT rule MEM57-CPP. Simple version.
Reviewers: aaron.ballman, alexfh, JonasToth, lebedev.ri
Reviewed By: aaron.ballman
Subscribers: hiraditya, martong, mehdi_amini, mgorny, inglorion,
xazax.hun, dkrupp, steven_wu, dexonsmith, Szelethus, gamesh411,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67545
The file was addedclang-tools-extra/test/clang-tidy/cert-mem57-cpp-cpp17.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was modifiedclang-tools-extra/clang-tidy/cert/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
The file was addedclang-tools-extra/clang-tidy/cert/DefaultOperatorNewAlignmentCheck.h
The file was addedclang-tools-extra/test/clang-tidy/cert-mem57-cpp.cpp
The file was addedclang-tools-extra/clang-tidy/cert/DefaultOperatorNewAlignmentCheck.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was addedclang-tools-extra/docs/clang-tidy/checks/cert-mem57-cpp.rst
Commit 2fcf3e934b1b97329a075bd21f3ba3313fe0a32e by llvmgnsyncbot
gn build: Merge e8a4c74f115
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/cert/BUILD.gn
Commit 7deb8ce4c161e9715181bd3618f059e8a4a742bb by simon
[mips] Joint MipsMemSimmXXXAsmOperand into the single template class.
NFC
The file was modifiedllvm/lib/Target/Mips/MicroMipsInstrInfo.td
The file was modifiedllvm/lib/Target/Mips/MipsInstrInfo.td
Commit a89ca4ae179def7fac1a35e53d7b28d4c9d531be by thomasp
Fix PR44001: assert failure in getFunctionLocalOffsetAfterInsn
Summary: Assert in getFunctionLocalOffsetAfterInsn() fails when
processing a call MachineInstr inside a bundle and compiling with debug
info. This is because labels are added by DwarfDebug::beginInstruction()
which is called for each top-level MI by EmitFunctionBody()'s for-loop
iteration but constructCallSiteEntryDIEs() which calls
getFunctionLocalOffsetAfterInsn() iterates over all MIs.
This commit modifies constructCallSiteEntryDIEs() to get the associated
bundle MI for call MIs inside a bundle and use that to when calling
getFunctionLocalOffsetAfterInsn() and getLabelAfterInsn(). It also skips
loop iterations for bundle MIs since the loop statements are concerned
with debug info for each physical instructions and bundles represent a
group of instructions. It also fix the comment about PCAddr since the
code is getting the return address and not the call address.
Reviewers: dstenb, vsk, aprantl, djtodoro, dblaikie, NikolaPrica
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70293
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was addedllvm/test/DebugInfo/MIR/Hexagon/bundled-call-pr44001.mir
Commit 96d814a5fe0a333bc53f52e8f290d1ac009c85fe by Raphael Isemann
[lldb] Remove ClangExpressionDeclMap::ResolveUnknownTypes
Summary: This is some really shady code. It's supposed to kick in after
an expression already failed and then try to look up "unknown types"
that for some undocumented reason can't be resolved during/before
parsing. Beside the fact that we never mark any type as `EVUnknownType`
in either swift-lldb or lldb (which means this code is unreachable),
this code doesn't even make the expression evaluation succeed if if
would ever be executed but instead seems to try to load more debug info
that maybe any following expression evaluations might succeed.
This patch removes ClangExpressionDeclMap::ResolveUnknownTypes and the
related data structures/checks/calls.
Reviewers: davide
Reviewed By: davide
Subscribers: aprantl, abidh, JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70388
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was modifiedlldb/include/lldb/Expression/ExpressionVariable.h
Commit bbf4af3109d1958d69c3c1f2af78870207928f4b by llvm-dev
[X86][SSE] Remove XFormVExtractWithShuffleIntoLoad to prevent
legalization infinite loops (PR43971)
As detailed in PR43971/D70267, the use of
XFormVExtractWithShuffleIntoLoad causes issues where we end up in
infinite loops of extract(targetshuffle(vecload)) ->
extract(shuffle(vecload)) -> extract(vecload) ->
extract(targetshuffle(vecload)), there are just too many legalization
checks at every stage that we can't guarantee that
extract(shuffle(vecload)) -> scalarload can occur.
At the moment we see a number of minor regressions as we don't fold
extract(shuffle(vecload)) -> scalarload before legal ops, these can be
addressed in future patches and extension of X86ISelLowering's
combineExtractWithShuffle.
The file was modifiedllvm/test/CodeGen/X86/extractelement-load.ll
The file was modifiedllvm/test/CodeGen/X86/2011-05-09-loaduse.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/insertps-combine.ll
The file was modifiedllvm/test/CodeGen/X86/vec_extract.ll
Commit 6baec971271b7dc9db610da30a192e57ff03d935 by daveb
[llvm-objdump] Print relocation addends in hexadecimal
Summary: Matches GNU objdump. Makes debugging easier for me as I'm
working out addresses from symbol+addend, so it would be good to be
calculating in a single format.
Reviewers: MaskRay, grimar, jhenderson, bd1976llvm
Reviewed By: jhenderson
Subscribers: sdardis, jrtc27, atanasyan, rupprecht, seiya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69997
The file was modifiedllvm/test/MC/Mips/expansion-jal-sym-pic.s
The file was modifiedllvm/test/MC/AArch64/arm32-elf-relocs.s
The file was modifiedllvm/test/MC/X86/tlsdesc-64.s
The file was modifiedllvm/test/MC/AArch64/arm64-elf-relocs.s
The file was modifiedllvm/test/tools/llvm-objdump/relocations-elf.test
The file was modifiedllvm/test/tools/llvm-objdump/relocations-in-nonreloc.test
The file was modifiedllvm/tools/llvm-objdump/ELFDump.cpp
The file was modifiedllvm/test/tools/llvm-objdump/X86/section-filter-relocs.test
The file was modifiedllvm/test/Object/objdump-relocations.test
The file was modifiedllvm/test/Object/X86/objdump-disassembly-inline-relocations.test
The file was modifiedllvm/test/tools/llvm-objdump/X86/elf-disassemble-relocs.test
The file was modifiedllvm/test/MC/AArch64/adr.s
The file was modifiedllvm/test/tools/llvm-objdump/X86/demangle.s
Commit 41ee54e5d18858c56725485ef637ad5a686368f4 by mitchell
Revert "[clang-tidy] Fix readability-redundant-string-init for
c++17/c++2a"
This reverts commit 06f3dabe4a2e85a32ade27c0769b6084c828a206.
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/modernize-use-override.rst
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseOverrideCheck.h
Commit f8901aff4a8f1809d62e0d676a1035099c8f734a by mitchell
Revert "[clang-tidy] modernize-use-override new option
AllowOverrideAndFinal"
This reverts commit 50e99563fb0459f5160572eef3c4e6062b8ad3f2.
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-string-init-msvc.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-string-init.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/RedundantStringInitCheck.cpp
Commit 1315f4e009b097d7d1a2a5cf116c1ad55ed5c190 by mitchell
[clang-tidy] Fix readability-redundant-string-init for c++17/c++2a
Summary:
`readability-redundant-string-init` was one of several clang-tidy checks
documented as failing for C++17. (The failure mode in C++17 is that it
changes `std::string Name = ""`; to `std::string Name = Name;`, which
actually compiles but crashes at run-time.)
Analyzing the AST with `clang -Xclang -ast-dump` showed that the outer
`CXXConstructExprs` that previously held the correct SourceRange were
being elided in C++17/2a, but the containing `VarDecl` expressions still
had all the relevant information. So this patch changes the fix to get
its source ranges from `VarDecl`.
It adds one test `std::string g = "u", h = "", i = "uuu", j = "", k;` to
confirm proper warnings and fixit replacements in a single `DeclStmt`
where some strings require replacement and others don't. The
readability-redundant-string-init.cpp and
readability-redundant-string-init-msvc.cpp tests now pass for
C++11/14/17/2a.
Reviewers: gribozavr, etienneb, alexfh, hokein, aaron.ballman,
gribozavr2
Patch by: poelmanc
Subscribers: NoQ, MyDeveloperDay, Eugene.Zelenko, dylanmckay,
cfe-commits
Tags: #clang, #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D69238
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-string-init.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-string-init-msvc.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/RedundantStringInitCheck.cpp
Commit df11117086fe8effdc5abe6a9955f659876dc64f by mitchell
[clang-tidy] modernize-use-override new option AllowOverrideAndFinal
Summary: In addition to adding `override` wherever possible,
clang-tidy's `modernize-use-override` nicely removes `virtual` when
`override` or `final` is specified, and further removes override when
final is specified. While this is great default behavior, when code
needs to be compiled with gcc at high warning levels that include `gcc
-Wsuggest-override` or `gcc -Werror=suggest-override`, clang-tidy's
removal of the redundant `override` keyword causes gcc to emit a warning
or error. This discrepancy / conflict has been noted by others including
a comment on Stack Overflow and by Mozilla's Firefox developers.
This patch adds an AllowOverrideAndFinal option defaulting to 0 - thus
preserving current behavior - that when enabled allows both `override`
and `final` to co-exist, while still fixing all other issues.
The patch includes a test file verifying all combinations of
virtual/override/final, and mentions the new option in the release
notes.
Reviewers: alexfh, djasper, JonasToth
Patch by: poelmanc
Subscribers: JonasToth, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70165
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/modernize-use-override-allow-override-and-final.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseOverrideCheck.h
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/modernize-use-override.rst
Commit f6ffe6fc9d9b8b0e197500b5b61f3e8d55599d7a by Raphael Isemann
[lldb] Also test Get[De]mangledName of SBType in
TestSBTypeClassMembers.py
I just used the mangled names as this test is anyway a Darwin-only
ObjC++ test. We probably should also test this on other platforms but
that will be another commit as we need to untangle the ObjC and C++
parts first.
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/class_members/TestSBTypeClassMembers.py
Commit ef5e3b85eecc26e672fe559089a89062cbeda4b5 by evgeny
[ThinLTO] Simplify code. NFC
The file was modifiedllvm/lib/LTO/LTO.cpp
Commit 3de7cc9fc01c8eb19eb344691c4747def1e00311 by thakis
Revert "[RISCV] Support mutilib in baremetal environment"
This reverts commit b6d7bbfa004310777cd41448ffc377aea082fc8c.
Driver/riscv64-toolchain.c fails on Windows.
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32imac/ilp32/crtbegin.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32i/ilp32/crtend.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32i/ilp32/crtbegin.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/rv32im/ilp32/crt0.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/crtbegin.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32iac/ilp32/crtend.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/rv64imac/lp64/crt0.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32im/ilp32/crtend.o
The file was modifiedclang/test/Driver/riscv64-toolchain.c
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/bin/ld
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/rv32iac/ilp32/crt0.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32imac/ilp32/crtend.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv64imac/lp64/crtend.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/crt0.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/rv32i/ilp32/crt0.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32iac/ilp32/crtbegin.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32imafc/ilp32f/crtend.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/crtend.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv64imafdc/lp64d/crtend.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32imafc/ilp32f/crtbegin.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv64imafdc/lp64d/crtbegin.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv32im/ilp32/crtbegin.o
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/rv32imafc/ilp32f/crt0.o
The file was modifiedclang/test/Driver/riscv32-toolchain.c
The file was modifiedclang/lib/Driver/ToolChains/RISCVToolchain.cpp
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/rv32imac/ilp32/crt0.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/lib/gcc/riscv64-unknown-elf/8.2.0/rv64imac/lp64/crtbegin.o
The file was removedclang/test/Driver/Inputs/multilib_riscv_elf_sdk/riscv64-unknown-elf/lib/rv64imafdc/lp64d/crt0.o
Commit c7f85f3a84a5d14a13bd8fe6eef93ae34343cf8a by llvm-dev
[PowerPC] Regenerate vsx_insert_extract_le.ll tests
The file was modifiedllvm/test/CodeGen/PowerPC/vsx_insert_extract_le.ll
Commit fed8c068922319cc6a84fd08e75eccf7376b21c4 by llvm-dev
[ARM] Regenerate vector lane store tests
The file was modifiedllvm/test/CodeGen/ARM/vstlane.ll
Commit 6de85095ed7d8f161a7f39422d42b5bc2d2dcb98 by lebedev.ri
[NFC][X86] Fixup comment in CodeGen/X86/cmov.ll
As noted in post-commit review for
https://reviews.llvm.org/D59035#inline-631659
The file was modifiedllvm/test/CodeGen/X86/cmov.ll
Commit 6fd11b14f604914df4f777f4c7ff20dbbc50877b by dfukalov
[AMDGPU] Tune inlining parameters for AMDGPU target (part 2)
Summary: Most of IR instructions got better code size estimations after
commit 47a5c36b. So default parameters values should be updated to
improve inlining and unrolling for the target.
Reviewers: rampitec, arsenm
Reviewed By: rampitec
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr,
t-tye, hiraditya, zzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70391
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-inline.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
The file was modifiedllvm/test/Transforms/LoopUnroll/AMDGPU/unroll-for-private.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInline.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
Commit 714445e406f043e861024f394fd58eb26c15e51a by Raphael Isemann
Fix modules build by adding missing includes
The file was modifiedllvm/include/llvm/Analysis/Utils/Local.h
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
Commit b696b9dba7b66307c225c2612def8bbb328805b7 by arsenm2
DAG: Add function context to isFMAFasterThanFMulAndFAdd
AMDGPU needs to know the FP mode for the function to answer this
correctly when this is removed from the subtarget.
AArch64 had to make this more complicated by using this from an IR hook,
so add an IR typed overload.
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
Commit c54d21c848d350e85cd8f95a725fc12f6fa3ab19 by Raphael Isemann
[lldb][NFC] Early exit in IRExecutionUnit::GetStaticInitializers
The file was modifiedlldb/source/Expression/IRExecutionUnit.cpp
Commit 765b1250f6845e765abf01908b122dab441c2a42 by sam.mccall
[clangd] Untangle Hover from XRefs, move into own file.
Summary: This is mostly mechanical, with a few exceptions:
- getDeducedType moved into AST.h where it belongs. It now takes
  ASTContext instead of ParsedAST, and avoids using the preprocessor.
- hover now uses SelectionTree directly rather than via
  getDeclAtPosition helper
- hover on 'auto' used to find the decl that contained the 'auto' and
  use that to set Kind and documentation for the hover result.
  Now we use targetDecl() to find the decl matching the deduced type
instead.
  This changes tests, e.g. 'variable' -> class for auto on lambdas.
  I think this is better, but the motivation was to avoid depending on
  the internals of DeducedTypeVisitor. This functionality is removed
  from the visitor.
Reviewers: kadircet
Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman,
usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70357
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was addedclang-tools-extra/clangd/Hover.h
The file was modifiedclang-tools-extra/clangd/ClangdServer.h
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.h
The file was addedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/CMakeLists.txt
The file was addedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/AST.h
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ASTTests.cpp
Commit c9b87981d20aa572a08ffde6209cb2575cf16407 by 1.int32
[clang-tidy] DefaultOperatorNewCheck test fixes.
The file was removedclang-tools-extra/test/clang-tidy/cert-mem57-cpp-cpp17.cpp
The file was removedclang-tools-extra/test/clang-tidy/cert-mem57-cpp.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/cert-mem57-cpp.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/cert-mem57-cpp-cpp17.cpp
Commit ea23b6428b88ed50a2cfc91b783f627fa139bb36 by arsenm2
AMDGPU: Be explicit about denormal mode in MIR tests
Start checking the machine function in GlobalISel instead of the target
directly.
This temporarily breaks fcanonicalize selection in GlobalISel.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.s64.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.s32.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcanonicalize.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.s16.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/omod-nsz-flag.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fdiv.mir
Commit db0ed3e429b55d1730d1ecc253b0643de7fca099 by arsenm2
AMDGPU: Refactor treatment of denormal mode
Start moving towards treating this as a property of the calling
convention, and not the subtarget. The default denormal mode should not
be part of the subtarget, and be moved into a separate function
attribute.
This patch is still NFC. The denormal mode remains as a subtarget
feature for now, but make the necessary changes to switch to using an
attribute.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcanonicalize.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
Commit 33d93c3d0b4a331632902f5fb9874f4e021a2f58 by sam.mccall
[clangd] Show values of more expressions on hover
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70359
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
Commit 254b4f250007ef9f2d2377eb912963beafa39754 by simon.tatham
[ARM,MVE] Add intrinsics for scalar shifts.
This fills in the small family of MVE intrinsics that have nothing to do
with vectors: they implement bit-shift operations on 32- or 64-bit
values held in one or two general-purpose registers. Most of these shift
operations saturate if shifting left, and round to nearest if shifting
right, although LSLL and ASRL behave like ordinary shifts.
When these instructions take a variable shift count in a register, they
pay attention to its sign, so that (for example) LSLL or UQRSHLL will
shift left if given a positive number but right if given a negative one.
That makes even LSLL and ASRL different enough from standard LLVM IR
shift semantics that I couldn't see any better alternative than to
simply model the whole family as a set of MVE-specific IR intrinsics.
(The //immediate// forms of LSLL and ASRL, on the other hand, do behave
exactly like a standard IR shift of a 64-bit value. In fact, those forms
don't have ACLE intrinsics defined at all, because you can just write an
ordinary C shift operation if you want one of those.)
The 64-bit shifts have to be instruction-selected in C++, because they
deliver two output values. But the 32-bit ones are simple enough that I
could write a DAG isel pattern directly into each Instruction record.
Reviewers: ostannard, MarkMurrayARM, dmgreen
Reviewed By: dmgreen
Subscribers: kristof.beyls, hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D70319
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedclang/include/clang/Basic/arm_mve_defs.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/scalar-shifts.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/scalar-shifts.c
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
Commit 4a6d03ad0e00c75c18d5740438d49918f99cb4f2 by Raphael Isemann
[lldb] Add logging to IRExecutionUnit::GetStaticInitializers
The file was modifiedlldb/source/Expression/IRExecutionUnit.cpp
Commit 6265be2782d74216a3b42aa28cc43e3a9a4f658c by spatel
[SLP] add test for reduction miscompile; NFC
See D70148 for discussion.
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction.ll
Commit e6c55fbe0199f1e8db3ca00f5461a3f7dd66f178 by daveb
Fixup AVR tests to reflect changes in addend format in llvm-objdump
Summary: Changes to llvm-objdump made in D69997
Reviewers: thakis, jhenderson, grimar
Reviewed By: thakis
Subscribers: dylanmckay, Jim, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70438
The file was modifiedllvm/test/MC/AVR/out-of-range-fixups/call-pass.s
The file was modifiedllvm/test/MC/AVR/out-of-range-fixups/rjmp-pass.s
The file was modifiedllvm/test/MC/AVR/out-of-range-fixups/adiw-pass.s
The file was modifiedllvm/test/MC/AVR/out-of-range-fixups/lds-pass.s
The file was modifiedllvm/test/MC/AVR/out-of-range-fixups/sbi-pass.s
The file was modifiedllvm/test/MC/AVR/out-of-range-fixups/in-pass.s
The file was modifiedllvm/test/MC/AVR/out-of-range-fixups/brbs-pass.s
The file was modifiedllvm/test/MC/AVR/relocations.s
Commit 41bac76da873bf9b4b5d1353299ca68b4ad26ff3 by llvmgnsyncbot
gn build: Merge 765b1250f68
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn
Commit 39de82ecc9c2e461e1318ed9926286a1eed2be3f by spatel
[SLP] fix insertion point for min/max reduction
As discussed in D70148 (and caused a revert of the original commit): if
we insert at the select, then we can produce invalid IR because the
replacement for the compare may have uses before the select.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction.ll
Commit 980653621ef563df41f1d09a1ac8c58708f79930 by mitchell
[clang-tidy] Give readability-redundant-member-init an option
IgnoreBaseInCopyConstructors to avoid breaking code with gcc
-Werror=extra
Summary: readability-redundant-member-init removes redundant /
unnecessary member and base class initialization. Unfortunately for the
specific case of a copy constructor's initialization of a base class,
gcc at strict warning levels warns if "base class is not initialized in
the copy constructor of a derived class".
This patch adds an option `IgnoreBaseInCopyConstructors` defaulting to 0
(thus maintaining current behavior by default) to skip the specific case
of removal of redundant base class initialization in the copy
constructor. Enabling this option enables the resulting code to continue
to compile successfully under `gcc -Werror=extra`. New test cases
`WithCopyConstructor1` and `WithCopyConstructor2` in
clang-tools-extra/test/clang-tidy/readability-redundant-member-init.cpp
show that it removes redundant members even from copy constructors.
Reviewers: malcolm.parsons, alexfh, hokein, aaron.ballman, lebedev.ri
Patch by: poelmanc
Subscribers: mgehre, lebedev.ri, cfe-commits
Tags: #clang, #clang-tools-extra
Differential revision: https://reviews.llvm.org/D69145
The file was modifiedclang-tools-extra/clang-tidy/readability/RedundantMemberInitCheck.h
The file was modifiedclang-tools-extra/clang-tidy/readability/RedundantMemberInitCheck.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/readability-redundant-member-init.rst
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-member-init.cpp
Commit c9edaa828eb84a62af2042a1a64168e32ea32924 by jasonliu
[AIX][XCOFF] Write Function descriptors and TOC base to data section
This patch implements writing function descriptors and TOC base into
data section, and also add function descriptors(both csect and label)
and TOC base symbols to the symbol table.
The file was addedllvm/test/CodeGen/PowerPC/aix-func-dsc-gen.ll
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
Commit 62871305c28f3102d5d06da929379674f2d40d04 by mitchell
[NFC] Attempting to fix sphinx build failure with badly encoded
characters from incoming patch.
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
Commit b81cc6032902c810e0fde485d3092a947dc38541 by thomasp
[clang][NFC] Make various uses of Regex const
The const-correctness of match() was fixed in rL372764, which allows
uses of Regex objects to be const in cases they couldn't be before. This
patch tightens up the const-ness of Regex in various such cases.
Reviewers: thopre
Reviewed By: thopre
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68155
The file was modifiedclang/lib/Format/BreakableToken.cpp
The file was modifiedclang/lib/Format/BreakableToken.h
The file was modifiedclang/lib/Format/NamespaceEndCommentsFixer.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/include/clang/Tooling/Inclusions/HeaderIncludes.h
The file was modifiedclang/tools/clang-refactor/TestSupport.cpp
Commit 6c2151bf4c829958891e65a4cc396daa6d308eb0 by pavel
[cmake] Disable GCC 9's -Winit-list-lifetime warning in ArrayRef
Summary: This is a new warning which fires when one stores a reference
to the initializer_list contents in a way which may outlive the
initializer_list which it came from. In llvm this warning is triggered
whenever someone uses the initializer_list ArrayRef constructor.
This is indeed a dangerous thing to do (I myself was bitten by that at
least once), but it is not more dangerous than calling other ArrayRef
constructors with temporary objects -- something which we are used to
and have accepted as a tradeoff for ArrayRef's efficiency.
Currently, this warnings generates so much output that it completely
obscures any actionable warnings, so this patch disables it.
Reviewers: rnk, aaron.ballman
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70122
The file was modifiedllvm/include/llvm/ADT/ArrayRef.h
Commit 7fe9435dc88050ee78eb1d4adec87610dce468f7 by arsenm2
Work on cleaning up denormal mode handling
Cleanup handling of the denormal-fp-math attribute. Consolidate places
checking the allowed names in one place.
This is in preparation for introducing FP type specific variants of the
denormal-fp-mode attribute. AMDGPU will switch to using this in place of
the current hacky use of subtarget features for the denormal mode.
Introduce a new header for dealing with FP modes. The constrained
intrinsic classes define related enums that should also be moved into
this header for uses in other contexts.
The verifier could use a check to make sure the denorm-fp-mode attribute
is sane, but there currently isn't one.
Currently, DAGCombiner incorrectly asssumes non-IEEE behavior by default
in the one current user. Clang must be taught to start emitting this
attribute by default to avoid regressions when this is switched to
assume ieee behavior if the attribute isn't present.
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.h
The file was addedllvm/include/llvm/ADT/FloatingPointMode.h
The file was addedllvm/unittests/ADT/FloatingPointMode.cpp
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/unittests/ADT/CMakeLists.txt
Commit 50b17de05dbcd4d172d44e2f9847ff580fa791cd by llvmgnsyncbot
gn build: Merge 7fe9435dc88
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn
Commit 4f7dce78c2372615b306435ba3d02ec684a6761c by mitchell
[NFC] Attempting to fix sphinx build failure with badly encoded
characters from incoming patch.
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/readability-redundant-member-init.rst
Commit 3a76b8a538c0d20efe823f03a133c778e842270e by Andrey.Churbanov
Fix openmp on PowerPC64-BE-ELFv2 ABI on FreeBSD.
Patch by adalava (Alfredo Dal'Ava J.nior)
Differential Revision: https://reviews.llvm.org/D67190
The file was modifiedopenmp/runtime/src/kmp_platform.h
The file was modifiedopenmp/runtime/src/z_Linux_asm.S
Commit 6b0eb5a6727590472e2e9cbf65fa2d7c3a18d2b5 by i
[ELF] Improve --gc-sections compatibility with GNU ld regarding section
groups
Based on D70020 by serge-sans-paille.
The ELF spec says:
> Furthermore, there may be internal references among these sections
that would not make sense if one of the sections were removed or
replaced by a duplicate from another object. Therefore, such groups must
be included or omitted from the linked object as a unit. A section
cannot be a member of more than one group.
GNU ld has 2 behaviors that we don't have:
- Group members (nextInSectionGroup != nullptr) are subject to garbage
collection.
This includes non-SHF_ALLOC SHT_NOTE sections.
In particular, discarding non-SHF_ALLOC SHT_NOTE sections is an
expected behavior by the Annobin
project. See

https://developers.redhat.com/blog/2018/02/20/annobin-storing-information-binaries/
for more information.
- Groups members are retained or discarded as a unit.
Members may have internal references that are not expressed as
SHF_LINK_ORDER, relocations, etc. It seems that we should be more
conservative here:
if a section is marked live, mark all the other member within the
group.
Both behaviors are reasonable. This patch implements them.
A new field InputSectionBase::nextInSectionGroup tracks the next member
within a group. on ELF64, this increases sizeof(InputSectionBase) froms
144 to 152.
InputSectionBase::dependentSections tracks section dependencies, which
is used by both --gc-sections and /DISCARD/. We can't overload it for
the "next member" semantic, because we should allow /DISCARD/ to discard
sections independent of --gc-sections (GNU ld behavior). This behavior
may be reasonably used by `/DISCARD/ : { *(.ARM.exidx*) }` or `/DISCARD/
: { *(.note*) }` (new test `linkerscript/discard-group.s`).
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D70146
The file was modifiedlld/ELF/InputSection.h
The file was modifiedlld/ELF/MarkLive.cpp
The file was modifiedlld/ELF/InputFiles.cpp
The file was addedlld/test/ELF/gc-sections-group.s
The file was addedlld/test/ELF/linkerscript/discard-group.s
Commit 6e418decd936a3e22dec5cebc77ecb86dc7f37c3 by jdenny.ornl
[FileCheck] Use lit's internal shell for the test suite
An advantage is that there are less portability concerns when writing
tests.  For example, `-u` is not supported by all implementations of
`env`, but lit's internal shell provides its own `env` that supports
`-u`.
A disadvantage is that some shell constructs, such as parentheses, are
not supported, but FileCheck's test suite currently doesn't require such
constructs.
For comparison, lit configures its test suite in the same manner.  See
`llvm/utils/lit/tests/lit.cfg`.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D70278
The file was modifiedllvm/test/FileCheck/lit.local.cfg
Commit dd471dbe99a7e017357809151df56f2d4c3e7a31 by yitzhakm
[libTooling] Extend `buildASTFromCodeWithArgs` to take files argument.
Summary: Adds an optional parameter to `buildASTFromCodeWithArgs` that
allows the user to pass additional files that the main code needs to
compile. This change makes
`buildASTFromCodeWithArgs` consistent with `runToolOnCodeWithArgs`.
Patch by Alexey Eremin.
Reviewers: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70175
The file was modifiedclang/include/clang/Tooling/Tooling.h
The file was modifiedclang/lib/Tooling/Tooling.cpp
Commit b0561b3346e7bf0ae974995ca95b917eebde18e1 by tyker
[NFC] Refactor representation of materialized temporaries
Summary: this patch refactor representation of materialized temporaries
to prevent an issue raised by rsmith in
https://reviews.llvm.org/D63640#inline-612718
Reviewers: rsmith, martong, shafik
Reviewed By: rsmith
Subscribers: thakis, sammccall, ilya-biryukov, rnkovacs, arphaman,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69360
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/lib/CodeGen/CGExprConstant.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/NonConstParameterCheck.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp
The file was modifiedclang/lib/Analysis/Consumed.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Analysis/ThreadSafetyCommon.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/CodeGen/CGExprAgg.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang-tools-extra/clang-tidy/performance/ImplicitConversionInLoopCheck.cpp
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang-tools-extra/clang-tidy/abseil/StrCatAppendCheck.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/AvoidBindCheck.cpp
The file was modifiedclang/lib/Serialization/ASTCommon.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/include/clang/Basic/DeclNodes.td
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/include/clang/Sema/Template.h
The file was modifiedclang/lib/Analysis/CFG.cpp
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Sema/JumpDiagnostics.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/lib/AST/DeclBase.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp
Commit 4681e2e43420fa10e4e1c17eb78649922678a440 by jonchesterfield
[nfc][libomptarget] Write amdgcn macros in terms of compiler intrinsics
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
Commit 1d943ae44c430430c8820464abbd4edb5467fcf4 by a.bataev
[OPENMP]Rename function, NFC.
Change the name of the CGOpenMPRuntime::emitOMPIfClause to
CGOpenMPRuntime::emitIfClause.
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
Commit ce5de93e838f7391760ba2956c7e0ae5d203cb6f by i
[ELF] Disallow out-of-range section group indices after D70146
Exposed by invalid/sht-group-wrong-section.test
http://45.33.8.238/win/2613/step_9.txt
The file was modifiedlld/ELF/InputFiles.cpp
Commit e531750c6cf9ab6ca987ffbfe100b1d766269eb5 by arsenm2
clang: Add -fconvergent-functions flag
The CUDA builtin library is apparently compiled in C++ mode, so the
assumption of convergent needs to be made in a typically non-SPMD
language. The functions in the library should still be assumed
convergent. Currently they are not, which is potentially incorrect and
this happens to work after the library is linked.
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedclang/test/CodeGen/convergent-functions.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/CodeGenCUDA/propagate-metadata.cu
The file was modifiedclang/include/clang/Basic/LangOptions.def
Commit b9a92206b6ef8b369dc266d8cb70553ebef293bd by dan
[Symbolizers] On Darwin compute function offset when possible.
Summary: The sanitizer symbolizers support printing the function offset
(difference between pc and function start) of a stackframe using the
`%q` format specifier.
Unfortunately this didn't actually work because neither the atos or
dladdr symbolizer set the `AddressInfo::function_offset` field.
This patch teaches both symbolizers to try to compute the function
offset. In the case of the atos symbolizer, atos might not report the
function offset (e.g. it reports a source location instead) so in this
case it fallsback to using `dladdr()` to compute the function offset.
Two test cases are included.
rdar://problem/56695185
Reviewers: kubamracek, yln
Subscribers: #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D69549
The file was addedcompiler-rt/test/sanitizer_common/TestCases/Darwin/symbolizer-function-offset-atos.cpp
The file was addedcompiler-rt/test/sanitizer_common/TestCases/Darwin/symbolizer-function-offset-dladdr.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/Darwin/asan-symbolize-partial-report-no-external-symbolizer.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cpp
Commit b117ec8be0f350f6a644de28a9871cf0183a1c54 by Jonas Devlieghere
[LLDB] Fix formatting in the driver (NFC)
The file was modifiedlldb/tools/driver/Driver.cpp
Commit f55cd39f19134392b16bc1fd6c558214778a3bb8 by alexandre.ganea
[C-index] Fix test when using Debug target & MSVC STL
Avoids a deadlock in "clang/test/Index/crash-recovery-modules.m" when
building with the MSVC STL & _ITERATOR_DEBUG_LEVEL == 2 (meaning a DEBUG
build)
Differential Revision: https://reviews.llvm.org/D69959
The file was modifiedclang/include/clang/Frontend/FrontendOptions.h
Commit b91f798fde42668a3a7b361c015deb787a46720d by diggerlin
implement printing out raw section data of xcoff objectfile for
llvm-objdump
SUMMARY: implement printing out raw section data of xcoff objectfile for
llvm-objdump and option -D --disassemble-all option for llvm-objdump
Reviewers: Sean Fertile Subscribers: rupprecht, seiyai,hiraditya
Differential Revision: https://reviews.llvm.org/D70255
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
The file was addedllvm/test/tools/llvm-objdump/xcoff-disassemble-all.test
The file was addedllvm/test/tools/llvm-objdump/xcoff-raw-section-data.test
Commit 411bfe476b758c09a0c9d4b3176e46f0a70de3bb by david.green
[ARM] Add and update a lot of VLDn tests. NFC
The file was addedllvm/test/CodeGen/Thumb2/mve-vld3.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-vst4.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-vst2.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-vld2.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-vst3.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-vld4.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-interleaved-cost.ll
The file was modifiedllvm/test/Transforms/InterleavedAccess/ARM/interleaved-accesses.ll
Commit 882f23caeae5ad3ec1806eb6ec387e3611649d54 by david.green
[ARM] MVE interleaving load and stores.
Now that we have the intrinsics, we can add VLD2/4 and VST2/4 lowering
for MVE. This works the same way as Neon, recognising the load/shuffles
combination and converting them into intrinsics in a pre-isel pass,
which just calls getMaxSupportedInterleaveFactor, lowerInterleavedLoad
and lowerInterleavedStore.
The main difference to Neon is that we do not have a VLD3 instruction.
Otherwise most of the code works very similarly, with just some minor
differences in the form of the intrinsics to work around. VLD3 is
disabled by making isLegalInterleavedAccessType return false for those
cases.
We may need some other future adjustments, such as VLD4 take up half the
available registers so should maybe cost more. This patch should get the
basics in though.
Differential Revision: https://reviews.llvm.org/D69392
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld2.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld4.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst4.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/mve-interleaved-cost.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vst2.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
The file was modifiedllvm/test/Transforms/InterleavedAccess/ARM/interleaved-accesses.ll
Commit 77f8a3324b741bc78c93d1076a31b77f331a0bc5 by Adrian Prantl
Add a "Using LLDB" section to the welcome page of the website
This is an attempt to feature the user-facing resources more prominently
on the LLDB website by calling out the tutorial and the GDB command map
wight on the start page.
I also moved the "Why a new debugger" section to the "Goals" subpage.
Given that LLDB's first release is almost a decade in the past now, the
title is a bit of an anachronism.
Lastly, I moved the Architecture sub-page from "use" to "resources",
since end-users do not care about the source code layout.
Differential Revision: https://reviews.llvm.org/D70449
The file was modifiedlldb/docs/.htaccess
The file was modifiedlldb/docs/status/goals.rst
The file was addedlldb/docs/resources/architecture.rst
The file was modifiedlldb/docs/index.rst
The file was removedlldb/docs/use/architecture.rst
Commit bfebc63a3dbd9505792ee000dbfc60371f02267a by Alex Lorenz
[ADT][Expensive checks] Create a std::random_device seed only once when
shuffling before sorting
This speeds up the build of compiler-rt with an expensive checks enabled
clang by an order of 1 or 2 magnitudes on my machine. I was hoping this
would also fix the 'large.test' libFuzzer timeout on the expensive
checks bot on green dragon
http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-expensive/, but
the fuzzer test still takes too long to compile because of other IR/MIR
verification inefficiencies.
Differential Revision: https://reviews.llvm.org/D70288
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
Commit c97f303880c26007b4e74e3fd0bde5ed802a25f1 by tstellar
test-release.sh: Update to fetch source from GitHub
Summary: This also changes the test-release.sh script to build using the
monorepo layout instead of copying sub-projects into llvm/tools or
llvm/projects.
Reviewers: jdoerfert, hans
Reviewed By: hans
Subscribers: hans, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70353
The file was modifiedllvm/utils/release/test-release.sh
Commit 2535fe5ad3327c8f77654a728986ca0afdf249f7 by eugenis
MTE: add more unchecked instructions.
Summary: In particular, 1- and 2-byte loads and stores ignore the
pointer tag when using SP as the base register.
Reviewers: pcc, ostannard
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70341
The file was modifiedllvm/test/CodeGen/AArch64/stack-tagging-unchecked-ld-st.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64StackTaggingPreRA.cpp
Commit a84b48d01e3e77b754a6d4d7326e4a0c4faa10ab by jonchesterfield
[nfc][libomptarget] Remove casts of string literals to char*
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/parallel.cu
Commit 0a8e7ca402eb3470eb5faf4982581771cb849130 by spatel
[SLP] fix miscompile on min/max reductions with extra uses (PR43948)
(2nd try)
The 1st attempt was reverted because it revealed an existing bug where
we could produce invalid IR (use of value before definition). That
should be fixed with: rG39de82ecc9c2
The bug manifests as replacing a reduction operand with an undef value.
The problem appears to be limited to cases where a min/max reduction has
extra uses of the compare operand to the select.
In the general case, we are tracking "ExternallyUsedValues" and an
"IgnoreList" of the reduction operations, but those may not apply to the
final compare+select in a min/max reduction.
For that, we use replaceAllUsesWith (RAUW) to ensure that the new
vectorized reduction values are transferred to all subsequent users.
Differential Revision: https://reviews.llvm.org/D70148
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/used-reduced-op.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction.ll
Commit 3279724905c14a8db383ade53af40a0dd49504d8 by Duncan P. N. Exon Smith
llvm/ObjCARC: Eliminate inlined AutoreleaseRV calls
Pair up inlined AutoreleaseRV calls with their matching RetainRV or
ClaimRV.
- RetainRV cancels out AutoreleaseRV.  Delete both instructions.
- ClaimRV is a peephole for RetainRV+Release.  Delete AutoreleaseRV and
replace ClaimRV with Release.
This avoids problems where more aggressive inlining triggers memory
regressions.
This patch is happy to skip over non-callable instructions and non-ARC
intrinsics looking for the pair.  It is likely sound to also skip over
opaque function calls, but that's harder to reason about, and it's not
relevant to the goal here: if there's an opaque function call splitting
up a pair, it's very unlikely that a handshake would have happened
dynamically without inlining.
Note that this patch also subsumes the previous logic that looked
backwards from ReleaseRV.
https://reviews.llvm.org/D70370 rdar://problem/46509586
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
The file was modifiedllvm/test/Transforms/ObjCARC/unsafe-claim-rv.ll
The file was addedllvm/test/Transforms/ObjCARC/inlined-autorelease-return-value.ll
Commit ba71ca37208faf0916b4cae4298789796b791cfe by Vedant Kumar
[DebugInfo] Describe size of spilled values in call site params
A call site parameter description of a memory operand needs to
unambiguously convey the size of the operand to prevent incorrect entry
value evaluation.
Thanks for David Stenberg for pointing this issue out!
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbg-call-site-spilled-arg.mir
Commit c444a01df3553d9405cbd4dac3c1074a71e6c2e1 by tyker
fixe leak found by asan build bot
The file was modifiedclang/lib/AST/DeclCXX.cpp
Commit ea13683f3d848df05d836f6d86dc40ba2113bb43 by diggerlin
The patch is the compiler error specific on the compile error on CMVC
SUMMARY:
CMVC has a compiler error on the const uint64_t OffsetToRaw = is64Bit()
                                  ?
toSection64(Sec)->FileOffsetToRawData
                                  :
toSection32(Sec)->FileOffsetToRawData;
while  gcc  compiler do not have the problem. I have to change the code
to
  uint64_t OffsetToRaw;
if (is64Bit())
   OffsetToRaw = toSection64(Sec)->FileOffsetToRawData;
else
   OffsetToRaw = toSection32(Sec)->FileOffsetToRawData;
Reviewers: Sean Fertile Subscribers: rupprecht, seiyai,hiraditya
Differential Revision: https://reviews.llvm.org/D70255
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
Commit 1aacf58819a27f428a46ce839a0ee797af03c1fd by Vedant Kumar
[profile] Unbreak Fuchsia/Windows after D68351
Continuous mode is not yet supported on Fuchsia/Windows, however an
error should not be reported unless the user attempted to actually
enable continuous mode.
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
Commit 586f65d31f32ca6bc8cfdb8a4f61bee5057bf6c8 by rnk
Add a key method to Sema to optimize debug info size
It turns out that the debug info describing the Sema class is an
appreciable percentage of the total object file size of objects in Sema.
By adding a key function, clang is able to optimize the debug info size
by emitting a forward declaration in TUs that do not define the key
function.
On Windows, with clang-cl, these are the total sizes of object files in
Sema before and after this change, compiling with optimizations and
debug info:
before: 335,012 KB
after:  278,116 KB
delta:  -56,896 KB
percent: -17.0%
The effect on link time was negligible, despite having ~56MB less input.
On Linux, with clang, these are the same sizes using DWARF -g and
optimizations:
before: 603,756 KB
after:  515,340 KB
delta:  -88,416 KB
percent: -14.6%
I didn't use type units, DWARF-5, fission, or any other special flags.
Reviewed By: thakis
Differential Revision: https://reviews.llvm.org/D70340
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
Commit 75b5db3094399302a1f60f5e09cf3d6ed8d161fb by Tim Northover
[docs] Remove dangling parenthesis from documentation
Patch by leiteg.
The file was modifiedllvm/docs/CommandLine.rst
Commit 568db780bb7267651a902da8e85bc59fc89aea70 by Vedant Kumar
[CGDebugInfo] Emit subprograms for decls when AT_tail_call is understood
(reland with fixes)
Currently, clang emits subprograms for declared functions when the
target debugger or DWARF standard is known to support entry values
(DW_OP_entry_value & the GNU equivalent).
Treat DW_AT_tail_call the same way to allow debuggers to follow cross-TU
tail calls.
Pre-patch debug session with a cross-TU tail call:
```
* frame #0: 0x0000000100000fa4 main`target at b.c:4:3 [opt]
   frame #1: 0x0000000100000f99 main`main at a.c:8:10 [opt]
```
Post-patch (note that the tail-calling frame, "helper", is visible):
```
* frame #0: 0x0000000100000fa4 main`target at b.c:4:3 [opt]
   frame #1: 0x0000000100000f80 main`helper [opt] [artificial]
   frame #2: 0x0000000100000f99 main`main at a.c:8:10 [opt]
```
This was reverted in 5b9a072c because it attached declaration
subprograms to inlinable builtin calls, which interacted badly with the
MergeICmps pass. The fix is to not attach declarations to builtins.
rdar://46577651
Differential Revision: https://reviews.llvm.org/D69743
The file was modifiedllvm/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll
The file was modifiedclang/include/clang/Basic/IdentifierTable.h
The file was modifiedclang/test/CodeGenCXX/dbg-info-all-calls-described.cpp
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp
The file was modifiedclang/test/CodeGen/debug-info-extern-call.c
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit 0d4211f4e753057feec32938e596d037d4f5a6aa by Vedant Kumar
[profile] Address unused function warnings on Windows after D69586
This '#ifdef's out two functions which are unused on Windows, to prevent
-Wunused-function warnings.
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
Commit d08c056695a59fb1cfc7ccc9a2784bb9a6514551 by a.bataev
[OPENMP50]Add if clause in simd directive.
According to OpenMP 5.0, if clause can be used in simd directive. If
condition in the if clause if false, the non-vectorized version of the
loop must be executed.
The file was modifiedclang/test/OpenMP/simd_codegen.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/simd_ast_print.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was addedclang/test/OpenMP/simd_if_messages.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.h
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
Commit 3a8104a9ea3d88fb4d0ef17185e420c814757bfd by listmail
Precommit test showing oppurtunity when computing exit tests of
unsimplified IR
If we partially unswitch a loop, we leave around the (and i1 X, true) or
(or i1 X, false) forms.  At the moment, this inhibits SCEVs ability to
compute trip counts, patch forthcoming.
The file was addedllvm/test/Analysis/ScalarEvolution/trip-count-andor.ll
Commit 8c48405069085a2c8b6b80816eda99e5dad31fc1 by Duncan P. N. Exon Smith
Wrap C APIs with pragmas enforcing -Werror=strict-prototypes
Force `-Werror=strict-prototypes` so that C API tests fail to compile if
we add a non-prototype declaration.  This should help avoid regressions
like bddecba4b333f7772029b4937d2c34f9f2fda6ca was fixing.
https://reviews.llvm.org/D70285 rdar://problem/57203137
The file was modifiedllvm/include/llvm-c/Transforms/InstCombine.h
The file was modifiedllvm/include/llvm-c/OrcBindings.h
The file was modifiedllvm/include/llvm-c/Transforms/Scalar.h
The file was modifiedclang/include/clang-c/Index.h
The file was modifiedllvm/include/llvm-c/Transforms/Vectorize.h
The file was modifiedllvm/include/llvm-c/Transforms/Coroutines.h
The file was modifiedllvm/include/llvm-c/Disassembler.h
The file was addedclang/include/clang-c/ExternC.h
The file was modifiedllvm/include/llvm-c/BitReader.h
The file was modifiedllvm/include/llvm-c/Types.h
The file was modifiedllvm/include/llvm-c/ExecutionEngine.h
The file was addedllvm/include/llvm-c/ExternC.h
The file was modifiedllvm/include/llvm-c/Comdat.h
The file was modifiedllvm/include/llvm-c/TargetMachine.h
The file was modifiedllvm/include/llvm-c/lto.h
The file was modifiedllvm/include/llvm-c/Transforms/Utils.h
The file was modifiedllvm/include/llvm-c/Object.h
The file was modifiedclang/include/clang-c/CXCompilationDatabase.h
The file was modifiedclang/include/clang-c/Documentation.h
The file was modifiedllvm/include/llvm-c/Remarks.h
The file was modifiedllvm/include/llvm-c/BitWriter.h
The file was modifiedllvm/include/llvm-c/Analysis.h
The file was modifiedllvm/include/llvm-c/IRReader.h
The file was modifiedclang/include/clang-c/CXString.h
The file was modifiedllvm/include/llvm-c/LinkTimeOptimizer.h
The file was modifiedllvm/include/llvm-c/Transforms/PassManagerBuilder.h
The file was modifiedclang/include/clang-c/BuildSystem.h
The file was modifiedllvm/include/llvm-c/ErrorHandling.h
The file was modifiedllvm/include/llvm-c/Transforms/IPO.h
The file was modifiedllvm/include/llvm-c/Error.h
The file was modifiedclang/include/clang-c/CXErrorCode.h
The file was modifiedllvm/include/llvm-c/Initialization.h
The file was modifiedllvm/include/llvm-c/Linker.h
The file was modifiedclang/include/clang-c/FatalErrorHandler.h
The file was modifiedllvm/include/llvm-c/DebugInfo.h
The file was modifiedllvm/include/llvm-c/Target.h
The file was modifiedllvm/include/llvm-c/Support.h
The file was modifiedllvm/include/llvm-c/Transforms/AggressiveInstCombine.h
The file was modifiedllvm/include/llvm-c/Core.h
The file was modifiedclang/include/clang-c/Platform.h
Commit cd4811360e2a1d23578073c6c99b2ef8ba276289 by benny.kra
[ValueTracking] Add a basic version of isKnownNonInfinity and use it to
detect more NoNaNs
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/include/llvm/Analysis/ValueTracking.h
The file was modifiedllvm/test/Transforms/InstSimplify/known-never-nan.ll
Commit cf823ce4ad9d04c69b7c29d236f7b14c875111c2 by Amara Emerson
[AArch64] Fix MIR test instruction to not have invalid operand.
In anticipation of an improved verifier in D63973.
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-phi-insertpt-decrement.mir
Commit f3eb5dee5756876be0524c59c21478659eba8c4d by listmail
[LoopPred] Generalize profitability check to handle unswitch output
Unswitch (and other loop transforms) like to generate loop exit blocks
with unconditional successors, and phi nodes (LCSSA, or simple multiple
exiting blocks sharing an exit).  Generalize the "likely very rare exit"
check slightly to handle this form.
The file was modifiedllvm/test/Transforms/LoopPredication/predicate-exits.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopPredication.cpp
Commit 70c68a6b0e515967dba5b30f6a60e220a8cd8d2c by listmail
[NFC] Factor out utilities for manipulating widenable branches
With the widenable condition construct, we have the ability to reason
about branches which can be 'widened' (i.e. made to fail more often).
We've got a couple o transforms which leverage this.  This patch just
cleans up the API a bit.
This is prep work for generalizing our definition of a widenable branch
slightly.  At the moment "br i1 (and A, wc()), ..." is considered
widenable, but oddly, neither "br i1 (and wc(), B), ..." or "br i1 wc(),
..." is.  That clearly needs addressed, so first, let's centralize the
code in one place.
The file was modifiedllvm/lib/Analysis/GuardUtils.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/GuardUtils.h
The file was modifiedllvm/lib/Transforms/Utils/GuardUtils.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopPredication.cpp
The file was modifiedllvm/include/llvm/Analysis/GuardUtils.h
The file was modifiedllvm/lib/Transforms/Scalar/GuardWidening.cpp
Commit ea8e02822341e2421b94167d828d3f224e767424 by puyan
[clang][IFS] Driver Pipeline: generate stubs after standard pipeline (2)
Second Landing Attempt:
Up until now, clang interface stubs has replaced the standard PP -> C ->
BE -> ASM -> LNK pipeline. With this change, it will happen in
conjunction with it. So what when you build your code you will get an
a.out or lib.so as well as an interface stub file.
Example:
clang -shared -o libfoo.so -emit-interface-stubs ...
will generate both a libfoo.so and a libfoo.ifso. The .so file will
contain the code from the standard compilation pipeline and the .ifso
file will contain the ELF stub library.
Differential Revision: https://reviews.llvm.org/D70274
The file was addedclang/test/InterfaceStubs/driver-test2.c
The file was addedclang/test/InterfaceStubs/ppc.cpp
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/lib/Driver/ToolChains/InterfaceStubs.cpp
The file was modifiedclang/test/InterfaceStubs/driver-test.c
The file was modifiedclang/test/InterfaceStubs/windows.cpp
The file was modifiedclang/lib/Driver/Types.cpp
Commit 377d70cdea733e36107e99d9148864d24797d51c by puyan
[clang][IFS] Fixing failing bots that do not have PPC target or
"orbis-ld"
The file was modifiedclang/test/InterfaceStubs/ppc.cpp
The file was modifiedclang/test/InterfaceStubs/driver-test.c
Commit 28a91473e33eb3585a87514e4cf2523a9a587d82 by listmail
[GuardWidening] Remove WidenFrequentBranches transform
This code has never been enabled.  While it is tested, it's complicating
some refactoring.  If we decide to re-implement this, doing it in
SimplifyCFG would probably make more sense anyways.
The file was removedllvm/test/Transforms/GuardWidening/widen-frequent-branches.ll
The file was modifiedllvm/lib/Transforms/Scalar/GuardWidening.cpp
Commit 88f00aef684ff84a6494e1f17d5466c5678f703d by alexshap
Introduce llvm-install-name-tool
This diff adds a new "driver" for llvm-objcopy which is supposed to
emulate the behavior of install-name-tool. This is a recommit of
b5913e6d2 with ubsan issues fixed.
Differential revision: https://reviews.llvm.org/D69146
Test plan: make check-all
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
The file was modifiedllvm/tools/llvm-objcopy/llvm-objcopy.cpp
The file was addedllvm/test/tools/llvm-objcopy/MachO/Inputs/i386.yaml
The file was addedllvm/tools/llvm-objcopy/InstallNameToolOpts.td
The file was addedllvm/test/tools/llvm-objcopy/MachO/install-name-tool-add-rpath.test
The file was addedllvm/test/tools/llvm-objcopy/MachO/install-name-tool-version.test
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.h
The file was modifiedllvm/tools/llvm-objcopy/CMakeLists.txt
The file was addedllvm/test/tools/llvm-objcopy/MachO/install-name-tool-help-message.test
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.h
The file was addedllvm/test/tools/llvm-objcopy/MachO/Inputs/x86_64.yaml
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.cpp
Commit 327a18ca0a000e4f99d02d0042ca2106db635a68 by rupprecht
[lldb][test] Prevent \n in calls to lldb's expect() test helper.
Summary: expect() forwards its command to sendline(). This can be
problematic if the command already contains a newline: sendline()
unconditionally adds a newline to the command, which causes the command
to run twice (hitting enter in lldb runs the previous command). The
expect() helper looks for the prompt and finds the first one, but
because the command has run a second time, the buffer will contain the
contents of the second time the command ran, causing potential erroneous
matching.
Simplify the editline test, which was using different commands to
workaround this misunderstanding.
Reviewers: labath
Reviewed By: labath
Subscribers: merge_guards_bot, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70324
The file was modifiedlldb/packages/Python/lldbsuite/test/terminal/TestEditline.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbpexpect.py
Commit 29fd1e1f4a372f3870e054da24b57a4f45861808 by puyan
[clang][IFS] Attempting to fix missing 'orbis-ld' on scei-ps4-ubuntu
bot.
I want this test to run end to end, but I am still having trouble with
missing linkers on the scei-ps4 bot. Will remove this test if it
continues to be a source of brittle failures. Sorry for the noise.
The file was modifiedclang/test/InterfaceStubs/driver-test.c
Commit 85435bdde00241057989a2f579ea6c9c64ef1606 by petecoup
[ARC] Add InitializePasses header to fix ARC build.
The file was modifiedllvm/lib/Target/ARC/ARCOptAddrMode.cpp
The file was modifiedllvm/lib/Target/ARC/ARCBranchFinalize.cpp
Commit 72fac0663a3305e66be4c63d1089ea8a85270c9b by listmail
[tests] Autogen a test to eliminate spurious diff from following patch
The file was modifiedllvm/test/Transforms/GuardWidening/basic_widenable_condition_guards.ll
Commit 85589f8077a229a6fbc7c245ae28bec06b88c5fb by craig.topper
[X86] Add custom type legalization and lowering for scalar
STRICT_FP_TO_SINT/UINT
This is a first pass at Custom lowering for these operations. I also
updated some of the vector code where it was obviously easy and
straightforward. More work needed in follow up.
This enables these operations to be handled with X87 where special
rounding control adjustments are needed to perform a truncate.
Still need to fix Promotion in the target independent code in
LegalizeDAG. llrint/llround split into separate test file because we
can't make a strict libcall properly yet either and we need to do that
when i64 isn't a legal type.
This does not include any isel support. So we still rely on the mutation
in SelectionDAGIsel to remove the strict from this stuff later. Except
for the X87 stuff which goes through custom nodes that already had
chains.
Differential Revision: https://reviews.llvm.org/D70214
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll
Commit 69242e986823e3fdd11a8e51f47f36bec714363c by Duncan P. N. Exon Smith
clang/Modules: Sink ASTReadResult in ReadControlBlock, NFC
Simplify the code by avoiding some state that wasn't being used.  The
function-level `Result` was only assigned a value other than `Success`
in the handler for `OPTIONS_BLOCK_ID`, but in that case it also hits an
early return.  Remove it at the function-level to make it obvious that
the normal case always returns `Success`.
The file was modifiedclang/lib/Serialization/ASTReader.cpp
Commit 10089ce2027ac15fc04427189b3b22ccec4d8535 by peter
scudo: Switch from std::random_shuffle to std::shuffle in a test.
This lets the test build with C++17.
Differential Revision: https://reviews.llvm.org/D70471
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
Commit c4b41e8d1d860e2439c7c0e16bd1d1af3fe2d023 by craig.topper
[LegalizeDAG][X86] Enable STRICT_FP_TO_SINT/UINT to be promoted
Differential Revision: https://reviews.llvm.org/D70220
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 36eea5c31f13c086c951239ff876564c90546efa by Jonas Devlieghere
[Reproducer] Namespace the reproducer dump options.
Make it clear that the current reproducer options are for dumping.
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
The file was modifiedlldb/source/Commands/Options.td
Commit 2cea161b80abf6ba442129d83bd0d4a97b751866 by alexshap
Revert "Introduce llvm-install-name-tool"
This temporarily reverts the commit
88f00aef684ff84a6494e1f17d5466c5678f703d. The change broke the buildbot
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/36836
The file was removedllvm/test/tools/llvm-objcopy/MachO/Inputs/x86_64.yaml
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.h
The file was removedllvm/tools/llvm-objcopy/InstallNameToolOpts.td
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.cpp
The file was removedllvm/test/tools/llvm-objcopy/MachO/install-name-tool-add-rpath.test
The file was modifiedllvm/tools/llvm-objcopy/llvm-objcopy.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
The file was removedllvm/test/tools/llvm-objcopy/MachO/install-name-tool-version.test
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.h
The file was removedllvm/test/tools/llvm-objcopy/MachO/install-name-tool-help-message.test
The file was removedllvm/test/tools/llvm-objcopy/MachO/Inputs/i386.yaml
The file was modifiedllvm/tools/llvm-objcopy/CMakeLists.txt
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
Commit 1b387484b9b38a4a1e98a9d22a9a26065b0d184e by puyan
[clang][IFS] Fixing unsupported emulation mode on clang-ppc64be-linux
bot.
I am in another pickle here where if I specify a triple, I get the wrong
elf target arch on the PPC bot (error from the PPC elf Linker). To avoid
this I am going to turn this test off on the PPC bots for now.
The file was modifiedclang/test/InterfaceStubs/driver-test.c
Commit bffdee8ef379126de3f2581214d89c1b29f440b7 by francisvm
[LTO][Legacy] Add API for passing LLVM options separately
In order to correctly pass options to LLVM, including options containing
spaces which are used as delimiters for multiple options in
lto_codegen_debug_options, add a new API:
lto_codegen_debug_options_array.
Unfortunately, tools/lto has no testing infrastructure yet, so there are
no tests associated with this patch.
Differential Revision: https://reviews.llvm.org/D70463
The file was modifiedllvm/include/llvm/LTO/legacy/LTOCodeGenerator.h
The file was modifiedllvm/tools/lto/lto.exports
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
The file was modifiedllvm/include/llvm-c/lto.h
The file was modifiedllvm/tools/lto/lto.cpp
Commit 606a2bd6218e8378728b6c1e021e64bb57084a97 by rnk
[musttail] Don't forward AL on Win64
AL is only used for varargs on SysV platforms. Don't forward it on
Windows. This allows control flow guard to set up an extra hidden
parameter in RAX, as described in PR44049.
This also has the effect of freeing up RAX for use in virtual member
pointer thunks, which may also be a nice little code size improvement on
Win64.
Fixes PR44049
Reviewers: ajpaverd, efriedma, hans
Differential Revision: https://reviews.llvm.org/D70413
The file was modifiedllvm/test/CodeGen/X86/musttail-varargs.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/cfguard-checks.ll
Commit 8700831734811cb89eafb72b75206f21e9f047e9 by Duncan P. N. Exon Smith
clang/Modules: Early return in CompilerInstance::createModuleManager,
NFC
Reduce nesting with an early `return`.
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
Commit f37356d6f60ae5db978611621d3a375ed87ec0f0 by puyan
[clang][IFS][test] Removing driver-test.c. Test is still too brittle.
Removing this test because if I add a triple then there are link falures
on targets like ppc and s390x. If I don't add a triple then on PS4
targets the clang driver tries to invoke orbis-ld which ends up being
not found.
The file was removedclang/test/InterfaceStubs/driver-test.c
Commit 27b229dc17b2ea1d06fe566df8631bb2fff7b1c8 by puyan
Revert "[clang][IFS][test] Removing driver-test.c. Test is still too
brittle."
This reverts commit f37356d6f60ae5db978611621d3a375ed87ec0f0.
The file was addedclang/test/InterfaceStubs/driver-test.c
Commit 6c6d34883a3003693cbf0ab3edf19eb999c1a62d by puyan
Revert "[clang][IFS] Fixing unsupported emulation mode on
clang-ppc64be-linux bot."
This reverts commit 1b387484b9b38a4a1e98a9d22a9a26065b0d184e.
The file was modifiedclang/test/InterfaceStubs/driver-test.c
Commit 0ce89e2a0d857fa89dc671746697c44c6ef0fad8 by puyan
Revert "[clang][IFS] Attempting to fix missing 'orbis-ld' on
scei-ps4-ubuntu bot."
This reverts commit 29fd1e1f4a372f3870e054da24b57a4f45861808.
The file was modifiedclang/test/InterfaceStubs/driver-test.c
Commit 85a1662035f6445ce95f190a2fef31ed33edb175 by puyan
Revert "[clang][IFS] Fixing failing bots that do not have PPC target or
"orbis-ld""
This reverts commit 377d70cdea733e36107e99d9148864d24797d51c.
The file was modifiedclang/test/InterfaceStubs/driver-test.c
The file was modifiedclang/test/InterfaceStubs/ppc.cpp
Commit 905985435500da01266329701c4a22f353fb7959 by puyan
Revert "[clang][IFS] Driver Pipeline: generate stubs after standard
pipeline (2)"
This reverts commit ea8e02822341e2421b94167d828d3f224e767424.
The file was removedclang/test/InterfaceStubs/driver-test2.c
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/lib/Driver/Types.cpp
The file was removedclang/test/InterfaceStubs/ppc.cpp
The file was modifiedclang/lib/Driver/ToolChains/InterfaceStubs.cpp
The file was modifiedclang/test/InterfaceStubs/windows.cpp
The file was modifiedclang/test/InterfaceStubs/driver-test.c
Commit 86c66cea21f065a1f757cb072c544f89ce227284 by aminim
Extends the tblgen macro to allow mlir-tblgen to be installed
The mlir-tblgen tool was not getting installed.  This change allows the
MLIR project to be installed along with llvm-tblgen.
Differential Revision: https://reviews.llvm.org/D69824
The file was modifiedllvm/cmake/modules/TableGen.cmake
Commit 47feae5dd61d891d4c1382b9784738111b4f9396 by ruiu
Use lld::make<T> to make TpiSource objects
In lld we rarely use std::unique_ptr but instead allocate new instances
using lld::make<T>() so that they are deallocated at the end of linking.
This patch changes existing code so that that follows the convention.
Differential Revision: https://reviews.llvm.org/D70420
The file was modifiedlld/COFF/DebugTypes.cpp
Commit f3225f2abe78d8a25ee5deea4265b447e7b7d5ee by Austin.Kerbow
AMDGPU/GlobalISel: Legalize FDIV64
Reviewers: arsenm
Reviewed By: arsenm
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, rovka,
dstuttard, tpr, t-tye, hiraditya, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70403
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fdiv.mir
Commit 0c50c0b0552edf9f375a32eea5e4d254dc4c7e5c by sepavloff
[FEnv] File with properties of constrained intrinsics
Summary In several places we need to enumerate all constrained
intrinsics or IR nodes that should be represented by them. It is easy to
miss some of the cases. To make working with these intrinsics more
convenient and robust, this change introduces file containing
definitions of all constrained intrinsics and some of their properties.
This file can be included to generate constrained intrinsics processing
code.
Reviewers: kpn, andrew.w.kaylor, cameron.mcinally, uweigand
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69887
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/docs/AddingConstrainedIntrinsics.rst
The file was modifiedllvm/lib/IR/IntrinsicInst.cpp
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGNodes.h
The file was addedllvm/include/llvm/IR/ConstrainedOps.def
Commit 7d980319ab241c68bf856c4ac0f3702f50c6c595 by i
[FEnv] Fix AddingConstrainedIntrinsics.rst after
llvmorg-10-init-10282-g0c50c0b0552
The file was modifiedllvm/docs/AddingConstrainedIntrinsics.rst
Commit c54959c00d0b39f357d48c3b4f955d72de4c9fc1 by alexshap
Introduce llvm-install-name-tool
This diff adds a new "driver" for llvm-objcopy which is supposed to
emulate the behavior of install-name-tool. This is a recommit of b5913e6
with ubsan, test dependencies issues fixed.
Differential revision: https://reviews.llvm.org/D69146
Test plan: make check-all
The file was modifiedllvm/tools/llvm-objcopy/CMakeLists.txt
The file was modifiedllvm/tools/llvm-objcopy/llvm-objcopy.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.cpp
The file was addedllvm/test/tools/llvm-objcopy/MachO/install-name-tool-version.test
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.h
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
The file was modifiedllvm/test/lit.cfg.py
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
The file was addedllvm/test/tools/llvm-objcopy/MachO/Inputs/i386.yaml
The file was addedllvm/test/tools/llvm-objcopy/MachO/Inputs/x86_64.yaml
The file was addedllvm/test/tools/llvm-objcopy/MachO/install-name-tool-add-rpath.test
The file was addedllvm/test/tools/llvm-objcopy/MachO/install-name-tool-help-message.test
The file was addedllvm/tools/llvm-objcopy/InstallNameToolOpts.td
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.h
Commit 1cc78fdb6f7d81d58cdafa44b0966708dc8575bf by grimar
[llvm-readobj/llvm-readelf] - Improve dumping of versioning sections.
Our elf-versioninfo.test is not perfect. It does not properly test how
flags are dumped and also we have a bug: they are dumped as enums in
LLVM style now, i.e not dumped properly.
GNU style uses a `versionFlagToString` method to build a string from
flags which seems is consistent with GNU readelf.
In this patch I fixed the issues mentioned.
Differential revision: https://reviews.llvm.org/D70399
The file was modifiedlld/test/ELF/verneed.s
The file was modifiedlld/test/ELF/verdef-dependency.s
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/yaml2obj/ELF/verneed-section.yaml
The file was modifiedllvm/test/tools/llvm-readobj/elf-invalid-versioning.test
The file was modifiedllvm/test/tools/yaml2obj/ELF/versym-section.yaml
The file was modifiedlld/test/ELF/verdef-defaultver.s
The file was modifiedlld/test/ELF/verdef.s
The file was modifiedllvm/test/tools/llvm-readobj/elf-versioninfo.test
The file was modifiedllvm/test/tools/yaml2obj/ELF/verdef-section.yaml
Commit dc3ee330891c230f85242b442de9afe7fdb96da2 by martin
ExecutionEngine: add preliminary support for COFF ARM64
Differential Revision: https://reviews.llvm.org/D69434
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was addedllvm/test/ExecutionEngine/RuntimeDyld/AArch64/COFF_AArch64.s
The file was addedllvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFAArch64.h
Commit ce1f95a6e077693f93d8869245f911aff3eb7e4c by djordje.todorovic
Reland "[clang] Remove the DIFlagArgumentNotModified debug info flag"
It turns out that the ExprMutationAnalyzer can be very slow when AST
gets huge in some cases. The idea is to move this analysis to the LLVM
back-end level (more precisely, in the LiveDebugValues pass). The new
approach will remove the performance regression, simplify the
implementation and give us front-end independent implementation.
Differential Revision: https://reviews.llvm.org/D68206
The file was removedclang/test/CodeGen/debug-info-param-modification.c
The file was modifiedclang/lib/CodeGen/CGDebugInfo.h
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/TestBasicEntryValuesX86_64.py
Commit 19ddba95513af4e673ce6724e3a87077c278354c by grimar
[llvm-readobj] - Improve dumping of the SHT_LLVM_LINKER_OPTIONS
sections.
I've added a few tests that shows how the current code could overrun the
section data buffer while dumping. I had to rewrite the code to fix
this.
Differential revision: https://reviews.llvm.org/D70112
The file was modifiedllvm/test/tools/llvm-readobj/elf-linker-options.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit f67534afd6f237d3ec00c207b26579968c3d60e5 by martin
[ExecutionEngine] Add a missing break to avoid warnings
This fixes buildbot errors since dc3ee330891c2.
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFAArch64.h
Commit 52c5014da099797e9f1f6c90acddf79a68aa85cb by sameer.sahasrabuddhe
[AMDGPU] add support for hostcall buffer pointer as hidden kernel
argument
Hostcall is a service that allows a kernel to submit requests to the
host using shared buffers, and block until a response is received. This
will eventually replace the shared buffer currently used for printf, and
repurposes the same hidden kernel argument. This change introduces a new
ValueKind in the HSA metadata to represent the hostcall buffer.
Differential Revision: https://reviews.llvm.org/D70038
The file was modifiedllvm/include/llvm/Support/AMDGPUMetadata.h
The file was modifiedllvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
The file was modifiedllvm/lib/Support/AMDGPUMetadata.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll
The file was addedllvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-absent-v3.ll
The file was modifiedllvm/docs/AMDGPUUsage.rst
The file was addedllvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-absent.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full-v3.ll
The file was addedllvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-present-v3.ll
The file was addedllvm/test/CodeGen/AMDGPU/opencl-printf-no-hostcall.ll
The file was addedllvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-present.ll
Commit 6640f2e7d401359a112bbc84344e0137bdf8175f by Raphael Isemann
[lldb][NFC] Remove ClangASTContext::GetUniqueNamespaceDeclaration
overload
This overload is only used in one place and having static overloads for
all methods that only do an additional clang::ASTContext ->
ClangASTContext conversion is just not sustainable.
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
Commit 02e9113665602ca3a4b987a78db7147a648766d1 by Raphael Isemann
[lldb][NFC] Remove ClangASTContext::FieldIsBitfield overload
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit 82800df4de1bfc5fc332fc60f399d50c444050fe by Raphael Isemann
[lldb][NFC] Remove ClangASTContext::GetAsDeclContext
Everything we pass to this function is already a DeclContext.
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit c502bae52410c83947e5ad7184dff810083afe75 by Raphael Isemann
[lldb][NFC] Simplify ClangASTContext::GetBasicTypes
static convenience methods that do the clang::ASTContext ->
ClangASTContext conversion and handle errors by simply ignoring them are
not a good idea.
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/unittests/Symbol/TestClangASTContext.cpp
Commit ea8678d1c78ecf6c719b4a9ff1aa8db0087401ca by sepavloff
Move floating point related entities to namespace level
This is recommit of commit e6584b2b7b2d, which was reverted in
30e7ee3c4bac together with af57dbf12e54. Original message is below.
Enumerations that describe rounding mode and exception behavior were
defined inside ConstrainedFPIntrinsic. It makes sense to use the same
definitions to represent the same properties in other cases, not only in
constrained intrinsics. It was however inconvenient as required to
include constrained intrinsics definitions even if they were not needed.
Also using long scope prefix reduced readability.
This change moves these definitioins to the namespace llvm::fp. No
functional changes.
Differential Revision: https://reviews.llvm.org/D69552
The file was modifiedllvm/lib/IR/IntrinsicInst.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h
The file was modifiedllvm/lib/IR/CMakeLists.txt
The file was addedllvm/lib/IR/FPEnv.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was addedllvm/include/llvm/IR/FPEnv.h
The file was modifiedllvm/unittests/IR/IRBuilderTest.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit e18ab2a0b801e75ee39bb8ba30584c69b4c6e577 by sam.mccall
[clangd] Treat UserDefinedLiteral as a leaf in SelectionTree,
sidestepping tokenization issues
Summary: Fixes https://github.com/clangd/clangd/issues/203
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70446
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
The file was modifiedclang-tools-extra/clangd/Selection.cpp
Commit 54b86b010bf52ae3f1c5499e38dc8ea52e17a9f2 by Raphael Isemann
[lldb][NFC] Remove unused ClangASTContext::GetUnknownAnyType
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
Commit 6a89ecb1ddd58575cd9a868bccaf64b2d1a9142a by llvmgnsyncbot
gn build: Merge ea8678d1c78
The file was modifiedllvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
Commit 979592a6f735a7111ba2c3a19e5ef3e8d336e01a by djordje.todorovic
[DebugInfo] Remove the DIFlagArgumentNotModified debug info flag
Due to changes in D68206, we remove the DIFlagArgumentNotModified and
its usage.
Differential Revision: https://reviews.llvm.org/D68207
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/test/DebugInfo/MIR/ARM/dbgcall-site-propagated-value.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbg-call-site-spilled-arg.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbginfo-entryvals.mir
The file was modifiedllvm/test/DebugInfo/MIR/ARM/dbgcall-site-interpretation.mir
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/valid-call-site-GNU-extensions.ll
The file was modifiedllvm/test/Assembler/debug-info.ll
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/stats-dbg-callsite-info.ll
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
The file was modifiedllvm/test/DebugInfo/MIR/ARM/if-coverter-call-site-info.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/multiple-param-dbg-value-entry.mir
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
The file was modifiedllvm/test/DebugInfo/Sparc/entry-value-complex-reg-expr.ll
The file was modifiedllvm/test/DebugInfo/MIR/X86/debug-call-site-param.mir
The file was modifiedllvm/include/llvm/IR/DebugInfoFlags.def
The file was modifiedllvm/test/DebugInfo/MIR/X86/avoid-single-entry-value-location.mir
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/locstats.ll
The file was modifiedllvm/test/DebugInfo/MIR/Hexagon/live-debug-values-bundled-entry-values.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbgcall-site-interpretation.mir
The file was modifiedllvm/bindings/go/llvm/dibuilder.go
The file was modifiedllvm/test/DebugInfo/MIR/AArch64/dbgcall-site-interpretation.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/DW_OP_entry_value.mir
The file was modifiedllvm/test/DebugInfo/ARM/entry-value-multi-byte-expr.ll
Commit 089c0f581492cd6e2a3d2927be3fbf60ea2d7e62 by pavel
[DWARF] Add an api to get "interpreted" location lists
Summary: This patch adds DWARFDie::getLocations, which returns the
location expressions for a given attribute (typically DW_AT_location).
It handles both "inline" locations and references to the external
location list sections (currently only of the DW_FORM_sec_offset type).
It is implemented on top of DWARFUnit::findLoclistFromOffset, which is
also added in this patch. I tried to make their signatures similar to
the equivalent range list functionality.
The actual location list interpretation logic is in
DWARFLocationTable::visitAbsoluteLocationList. This part is not
equivalent to the range list code, but this deviation is motivated by a
desire to reuse the same location list parsing code within lldb.
The functionality is tested via a c++ unit test of the DWARFDie API.
Reviewers: dblaikie, JDevlieghere, SouraVX
Subscribers: mgorny, hiraditya, cmtice, probinson, llvm-commits, aprantl
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70394
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFLocationExpression.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp
The file was modifiedllvm/unittests/DebugInfo/DWARF/CMakeLists.txt
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDie.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
The file was addedllvm/unittests/DebugInfo/DWARF/DWARFDieTest.cpp
Commit 23c76792081e3ae15b313b000a11bf456c16fdc8 by courbet
[CodeGen][NFC] Regenerate load-combine test with update_llc_test.
To prepare for D27861.
The file was modifiedllvm/test/CodeGen/ARM/load-combine-big-endian.ll
The file was modifiedllvm/test/CodeGen/ARM/load-combine.ll
The file was modifiedllvm/test/CodeGen/AArch64/load-combine-big-endian.ll
The file was modifiedllvm/test/CodeGen/AArch64/load-combine.ll
Commit 5e0b7df4db237b53d50799e8cbc5ce7d3872c9dd by llvmgnsyncbot
gn build: Merge 089c0f58149
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/DebugInfo/DWARF/BUILD.gn
Commit 525f9c0be538ba93e01b3a783d62b9f562e5a6b4 by dmitry.preobrazhensky
[AMDGPU][DPP] Corrected DPP combiner
Added a check to make sure that the selected dpp opcode is supported by
target.
Reviewers: vpykhtin, arsenm, rampitec
Differential Revision: https://reviews.llvm.org/D70402
The file was modifiedllvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
Commit 452d0b21e00d6f80e3b12f9ffc4fb5bc4986f081 by simon
[mips] Make MipsAsmParser::isEvaluated static function. NFC
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
Commit 8ac68f9dc58ab7420449fd49533f62788681e622 by simon
[mips] Put conditions when we need to expand memory operand into a
separate function. NFC
`expandMemInst` expects instruction with 3 or 4 operands and the last
operand requires expanding. It's redundant to scan all operands in a
loop. We can check the last operands.
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
Commit b80e483c4205d216f6648d7e217183694fe9a55e by Tim Northover
Update tests after change to llvm-cxxfilt's underscore stripping
behaviour.
The file was modifiedclang/test/CodeGen/ppc-smmintrin.c
The file was modifiedclang/test/CodeGen/ppc-emmintrin.c
The file was modifiedclang/test/CodeGen/ppc-mmintrin.c
The file was modifiedclang/test/CodeGen/ppc-pmmintrin.c
The file was modifiedclang/test/CodeGen/ppc-tmmintrin.c
The file was modifiedclang/test/CodeGen/ppc-xmmintrin.c
Commit c34478f5f6c7ef1ae8fb3605fbdec0634d543fed by Raphael Isemann
[lldb][NFC] Move ClangExpressionDeclMap's persistent decl search into
its own function
Searching persistent decls is a small subset of the things
FindExternalVisibleDecls does. It should be its own function instead of
being encapsulated in this `do { } while(false);` pattern.
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
Commit db73bcd98ef4ffbe91405a5adfcfdcd83bc007f4 by Tim Northover
ARM-NEON: separate soon-to-be conflicting f16 patterns. NFC.
This separates some intrinsic definitions into multiple instantiations
because they use a modifier that forces the float size to a given value.
That modifier won't work in the new NeonEmitter modifier scheme and
committing this separately allows the Python script to be run on the .td
files to perform the conversion automatically.
The file was modifiedclang/include/clang/Basic/arm_fp16.td
Commit e23d6f3184d365a9e72a67dddd870d98e80f998d by Tim Northover
NeonEmitter: remove special case on casting polymorphic builtins.
For some reason we were not casting a fairly obscure class of builtin
calls we expected to be polymorphic to vectors of char. It worked
because the only affected intrinsics weren't actually polymorphic after
all, but is unnecessarily complicated.
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/utils/TableGen/NeonEmitter.cpp
Commit 3f91705ca54bc76b50c35f9e0831ab356d653c5c by Tim Northover
ARM-NEON: make type modifiers orthogonal and allow multiple modifiers.
The modifier system used to mutate types on NEON intrinsic definitions
had a separate letter for all kinds of transformations that might be
needed, and we were quite quickly running out of letters to use. This
patch converts to a much smaller set of orthogonal modifiers that can be
applied together to achieve the desired effect.
When merging with downstream it is likely to cause a conflict with any
local modifications to the .td files. There is a new script in
utils/convert_arm_neon.py that was used to convert all .td definitions
and I would suggest running it on the last downstream version of those
files before this commit rather than resolving conflicts manually.
The file was modifiedclang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c
The file was modifiedclang/utils/TableGen/NeonEmitter.cpp
The file was modifiedclang/include/clang/Basic/arm_neon.td
The file was modifiedclang/test/CodeGen/aarch64-neon-intrinsics.c
The file was modifiedclang/include/clang/Basic/arm_fp16.td
The file was addedclang/utils/convert_arm_neon.py
The file was modifiedclang/include/clang/Basic/arm_neon_incl.td
Commit 5bab291b7bd043104abf1ca7977e8248684cae95 by Alexander.Richardson
Ignore R_MIPS_JALR relocations against non-function symbols
Summary: Current versions of clang would erroneously emit this
relocation not only against functions (loaded from the GOT) but also
against data symbols
(e.g. a table of function pointers). LLD was then changing this into a
branch-and-link instruction, causing the program to jump to the data
symbol at run time. I discovered this problem when attempting to boot
MIPS64 FreeBSD after updating the to the latest upstream master.
Reviewers: atanasyan, jrtc27, espindola
Reviewed By: atanasyan
Subscribers: emaste, sdardis, krytarowski, MaskRay, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70406
The file was addedlld/test/ELF/mips-jalr-non-functions.s
The file was modifiedlld/ELF/Arch/Mips.cpp
Commit 6187394dd05ea20db01370b1990a79d517d98f7e by Alexander.Richardson
[UptestTestChecks][NFC] Share some common command line options code
Summary: Add a function common.parse_commandline_args() that adds
options common to all tools (--verbose and --update-only) and returns
the parsed commandline arguments. I plan to use the shared parsing of
--verbose in a follow-up commit to remove most of the `if args.verbose:`
checks in the scripts.
Reviewers: xbolva00, MaskRay
Reviewed By: MaskRay
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70428
The file was modifiedllvm/utils/UpdateTestChecks/common.py
The file was modifiedllvm/utils/update_mir_test_checks.py
The file was modifiedllvm/utils/update_cc_test_checks.py
The file was modifiedllvm/utils/update_test_checks.py
The file was modifiedllvm/utils/update_llc_test_checks.py
The file was modifiedllvm/utils/update_mca_test_checks.py
The file was modifiedllvm/utils/update_analyze_test_checks.py
Commit 50807c81eaeead17277ebf98ce1cc6272370d143 by Alexander.Richardson
[update_cc_test_checks.py] Add the --function-signature flag
Summary: This was added to update_test_checks.py in D68819 and I believe
having it in update_cc_test_checks.py is also useful.
Reviewers: jdoerfert, MaskRay
Reviewed By: MaskRay
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70429
The file was modifiedllvm/utils/update_cc_test_checks.py
Commit 82dc32e2d456c75d08bc9ffe97def409ee5a03cd by pavel
Big-endian fix to DWARFDieTest (089c0f58)
Hardcode the DWARFContext to little-endian. I don't have a BE machine to
test this on, but I believe this should address the ppc64be failure.
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDieTest.cpp
Commit 96e94e37e3a7d62eddd79fe40f025831327a4bfd by anna.welker
[ARM][MVE] Select vqabs
  Adds a pattern to ARMInstrMVE.td to use a VQABS
instruction if an equivalent multi-instruction
construct is found.
  Differential revision: https://reviews.llvm.org/D70181
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was addedllvm/test/CodeGen/Thumb2/vqabs.ll
Commit e7cc833ddafdca10be4ef1322ab96ffee774045b by Raphael Isemann
[lldb][NFC] Move searching for $__lldb_class into its own function in
ClangExpressionDeclMap
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
Commit 72d2929c52a9b691a2ed10c28a0a27fec8282519 by pavel
Revert "[DWARF] Add an api to get "interpreted" location lists"
The test fails on big endian machines.
This reverts commit 089c0f581492cd6e2a3d2927be3fbf60ea2d7e62 and the
subsequent attempt to fix in 82dc32e2d456c75d08bc9ffe97def409ee5a03cd.
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDie.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
The file was modifiedllvm/unittests/DebugInfo/DWARF/CMakeLists.txt
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFLocationExpression.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
The file was removedllvm/unittests/DebugInfo/DWARF/DWARFDieTest.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
Commit f8c92b8ee242bbdc209204f09aefdc207aac42ee by llvmgnsyncbot
gn build: Merge 72d2929c52a
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/DebugInfo/DWARF/BUILD.gn
Commit 257acbf6aee983227a3976d10d0086f3600f2bee by dave
[SelectionDAG] Combine U{ADD,SUB}O diamonds into {ADD,SUB}CARRY
Summary: Convert (uaddo (uaddo x, y), carryIn) into addcarry x, y,
carryIn if-and-only-if the carry flags of the first two uaddo are merged
via OR or XOR.
Work remaining: match ADD, etc.
Reviewers: craig.topper, RKSimon, spatel, niravd, jonpa, uweigand,
deadalnix, nikic, lebedev.ri, dmgreen, chfast
Reviewed By: lebedev.ri
Subscribers: chfast, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70079
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/subcarry.ll
The file was modifiedllvm/test/CodeGen/X86/addcarry.ll
Commit a21940eac149dc03d9e028023bbd059f871af1c5 by simon
[mips] Define mem_simm# operands using tblgen `foreach` loop. NFC
The file was modifiedllvm/lib/Target/Mips/MipsInstrInfo.td
Commit 6778a62eb0d222dc625b8785516f027df12aaf16 by dmitry.preobrazhensky
[AMDGPU][GFX10] Disabled v_movrel*[sdwa|dpp] opcodes in codegen
These opcodes use indirect register addressing so they need special
handling by codegen (currently missing).
Reviewers: vpykhtin, arsenm, rampitec
Differential Revision: https://reviews.llvm.org/D70400
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
Commit 51ad025ff313804674b4fb01f56f7b83e3ecc5e3 by Raphael Isemann
[lldb][NFC] Move searching for $__lldb_objc_class into its own function
Same as in commit e7cc833ddafdca10be4ef1322ab96ffee774045b but with
$__lldb_objc_class.
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
Commit b80033ef6528ed868294ba0c1e18bfcf74597a1b by spatel
[SLP] reduce duplicate CHECK lines in tests; NFC
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/insert-element-build-vector.ll
Commit a03435ec8e219e236331780626351c74a95f1b6e by pavel
Recommit "[DWARF] Add an api to get "interpreted" location lists"
This recommits 089c0f581492cd6e2a3d2927be3fbf60ea2d7e62, which was
reverted due to failing tests on big endian machines. It includes a fix
which I believe (I don't have BE machine) should fix this issue. The fix
consists of correcting the invocation DWARFYAML::EmitDebugSections,
which was missing one (default) function arguments, and so didn't
actually force the little-endian mode.
The original commit message follows.
Summary: This patch adds DWARFDie::getLocations, which returns the
location expressions for a given attribute (typically DW_AT_location).
It handles both "inline" locations and references to the external
location list sections (currently only of the DW_FORM_sec_offset type).
It is implemented on top of DWARFUnit::findLoclistFromOffset, which is
also added in this patch. I tried to make their signatures similar to
the equivalent range list functionality.
The actual location list interpretation logic is in
DWARFLocationTable::visitAbsoluteLocationList. This part is not
equivalent to the range list code, but this deviation is motivated by a
desire to reuse the same location list parsing code within lldb.
The functionality is tested via a c++ unit test of the DWARFDie API.
Reviewers: dblaikie, JDevlieghere, SouraVX
Subscribers: mgorny, hiraditya, cmtice, probinson, llvm-commits, aprantl
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70394
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
The file was addedllvm/unittests/DebugInfo/DWARF/DWARFDieTest.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDie.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFLocationExpression.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was modifiedllvm/unittests/DebugInfo/DWARF/CMakeLists.txt
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
Commit ca33727abe4cd7202fe550972525bb23890da053 by Xiangling.Liao
[AIX] Lowering jump table, constant pool and block address in asm
This patch lowering jump table, constant pool and block address in
assembly. 1. On AIX, jump table index is always relative; 2. Put CPI and
JTI into ReadOnlySection until we support unique data sections; 3.
Create the temp symbol for block address symbol; 4. Update MIR testcases
and add related assembly part;
Differential Revision: https://reviews.llvm.org/D70243
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lower-block-address.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lower-jump-table.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/MachineModuleInfo.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lower-constant-pool-index.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
Commit c1ed22954a138570a721da5b3fec390d4884237e by llvmgnsyncbot
gn build: Merge a03435ec8e2
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/DebugInfo/DWARF/BUILD.gn
Commit b5135a86e04761577494c70e7c0057136cc90b5b by ibiryukov
[clangd] Fix a crash in expected types
Reviewers: kadircet
Reviewed By: kadircet
Subscribers: merge_guards_bot, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70481
The file was modifiedclang-tools-extra/clangd/ExpectedTypes.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
Commit 5665fc91fe93fa4293eb5aceff4884826d8cecb1 by xingxue
[AIX][XCOFF] Add support for generating assembly code for one-byte
mergable strings
This patch adds support for generating assembly code for one-byte
mergeable strings.
Generating assembly code for multi-byte mergeable strings and the
`XCOFF` object code for mergeable strings will be supported later.
Reviewers: hubert.reinterpretcast, jasonliu, daltenty, sfertile,
DiggerLin, Xiangling_L
Reviewed by: daltenty
Subscribers: wuzish, nemanjai, hiraditya, kbarton, jsji, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70310
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was addedllvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-str.ll
Commit 750e855641be2131b3189d0310e5cc4610c4020d by Xiangling.Liao
A fix of the bug introduced by previous lowering in asm patch.
Differential Revision: https://reviews.llvm.org/D70243
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Commit e74b326b1f506538f1fce11b7a70bcf7fb9b573c by jyknight
Rename 'DenormalMode' in CommandFlags.inc to 'DenormalFPMath', as its
option is actually named anyhow.
This avoids a conflict with the llvm::DenormalMode enum in
FloatingPointMode.h.
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.inc
Commit ac37755c60ba19103f08f04d07ca8f1d640153d6 by ulrich.weigand
[SystemZ] Use fneg in test cases
Now that we have fneg, prefer using it over "fsub -0.0, ...". This helps
in particular with strict FP tests, as fneg does not raise any
exceptions.
The file was modifiedllvm/test/CodeGen/SystemZ/fp-mul-09.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vec-neg-02.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-mul-09.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-abs-02.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-mul-08.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vec-mul-04.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vec-mul-02.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vec-abs-05.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-abs-04.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-mul-10.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vec-strict-mul-02.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-cmp-05.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-mul-08.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-neg-02.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vec-neg-01.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vec-abs-06.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vec-strict-mul-05.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vec-strict-mul-04.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-neg-01.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vec-mul-05.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-cmp-04.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-mul-10.ll
Commit c9e8e808cf8ae563329597b61b0b6b7adcc65b87 by craig.topper
[SelectionDAG][X86] Mutate strictFP nodes to non-strict in
DoInstructionSelection when the node is marked Expand rather than when
it is not Legal.
This allows operations that are marked Custom, but have some type
combinations that are legal to get past this code.
Add custom mutation code to X86's Select function for the nodes that
don't have isel patterns yet.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit 97743089bffba797d7bc7358ddb852b7b050b0c8 by ulrich.weigand
[SystemZ] Avoid mixing strict and non-strict FP operations in tests
This is to prepare for having the IR verifier reject mixed functions.
Note that fp-strict-mul-02.ll and fp-strict-mul-04.ll still remain to be
fixed.
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-mul-05.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-mul-04.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-sub-03.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-mul-02.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-mul-11.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-add-03.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-div-03.ll
Commit a9bb669e59f4b2270caa8a35128ca3b2de0595fe by Jonas Devlieghere
[FileCollector] Ignore empty paths.
Don't insert empty strings into the StringSet<> because that triggers an
assert in its implementation.
The file was modifiedllvm/include/llvm/Support/FileCollector.h
Commit f751a79173958526b8e8793d4e4c84b2d33dc662 by peter
scudo: Only use the Android reserved TLS slot when building libc's copy
of the allocator.
When we're not building libc's allocator, just use a regular TLS
variable. This lets the unit tests pass on Android devices whose libc
uses Scudo. Otherwise libc's copy of Scudo and the unit tests' copy will
both try to use the same TLS slot, in likely incompatible ways.
This requires using ELF TLS, so start passing -fno-emulated-tls when
building the library and the unit tests on Android.
Differential Revision: https://reviews.llvm.org/D70472
The file was modifiedcompiler-rt/lib/scudo/standalone/CMakeLists.txt
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
The file was modifiedcompiler-rt/lib/scudo/standalone/tsd_shared.h
Commit 6de45772e0910bf7fa626e5493a2798b071eb26c by thakis
Revert "[clangd] Fix a crash in expected types"
This reverts commit b5135a86e04761577494c70e7c0057136cc90b5b. Test fails
on Windows.
The file was modifiedclang-tools-extra/clangd/ExpectedTypes.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
Commit fd8d9155a997ab0f3ef3d7dff1c56efc9b692bfe by richard
Fix parser bug that permitted 'private' as a (no-op) decl-specifier even
outside OpenCL.
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/test/Parser/cxx-decl.cpp
Commit 4a308d302c3378258c5a9af231236de4d7ff741a by michael.hliao
[AMDGPU] Keep consistent check of legal addressing mode.
Summary:
- Add test cases for GFX10, which has narrower offset range compared to
GFX9.
Reviewers: rampitec, arsenm
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr,
t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70473
The file was addedllvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm-gfx10.mir
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit af331cbe14e8376c696441bb4c26a68be733b884 by Vedant Kumar
[debugserver] Set arch based on TARGET_TRIPLE
Use TARGET_TRIPLE instead of LLVM_DEFAULT_TARGET_TRIPLE, as the latter
isn't exported by LLVMConfig.cmake, which means arch detection fails if
lldb is built separately from llvm.
The file was modifiedlldb/tools/debugserver/source/MacOSX/CMakeLists.txt
Commit 923afb4a61708cd6d5c6786c81f55a682ec46497 by mgorny
[lldb] [test] Un-XFAIL one lldb-server test on NetBSD
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py
Commit 6f4398d1b9950d48ead91b2b550792f2bbe4778e by ditaliano
[lldb] Fix NSURL data formatter truncation issue
Remove hardcoded string prefix length assumption causing issues when
concatenating summary for NSURL in NSURLSummaryProvider. Provider relies
on concatenation of NSStringProvider results for summary, and while the
strings are prefixed with '@' in Objective-C, that is not the case in
Swift causing part of the description to be truncated.
This will be tested in the downstream fork.
Patch by Martin Svensson!
The file was modifiedlldb/source/Plugins/Language/ObjC/Cocoa.cpp
Commit 899cdf95d9ad199e6c2f87cd544455e3991626dc by Stanislav.Mekhanoshin
[AMDGPU] Fixed mfma test check. NFC.
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.ll
Commit 0f5aabb91a03b40635819f71187333dd9535b9de by vvereschaka
[CMake] Fix the path to CrossWinToARMLinux.cmake CMake cache.
The comment was slightly misleading.
Behalf: broadwaylamb (Sergej Jaskiewicz)
Differential Revision: https://reviews.llvm.org/D70499
The file was modifiedclang/cmake/caches/CrossWinToARMLinux.cmake
Commit 8ba56f322abf848cec78ff7f814f3ad84cd778be by listmail
Move widenable branch formation into makeGuardControlFlowExplicit helper
This is mostly NFC, but I removed the setting of the guard's calling
convention onto the WC call.  Why?  Because it was untested, and was
producing an ill defined output as the declaration's convention wasn't
been changed leaving a mismatch which is UB.
The file was modifiedllvm/lib/Transforms/Scalar/LowerGuardIntrinsic.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MakeGuardsExplicit.cpp
The file was modifiedllvm/lib/Transforms/Utils/GuardUtils.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/GuardUtils.h
Commit 7488c0a6f5a6fff699ba338fe8fae952e890eb81 by craig.topper
[X86] Mark vector STRICT_FP_ROUND as Legal instead of Custom.
The Custom handler doesn't do anything for these nodes anyway.
SelectionDAGISel won't mutate them if they are Legal or Custom. X86 has
custom code for mutating them due to missing isel patterns. When the
isel patterns are added Legal will be the right answer. So go ahead a
change it now since that's where we'll end up.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 824b25fc02dc4544adae55e6451d355f4c6d7055 by kparzysz
[Hexagon] Fix two testcase errors
This fixes issues discovered in https://reviews.llvm.org/D63973.
The file was modifiedllvm/test/CodeGen/Hexagon/expand-condsets-phys-reg.mir
The file was modifiedllvm/test/CodeGen/Hexagon/sdr-global.mir
Commit c8dfe907299e16aeb17175cb0896c17043fc7c81 by Jonas Devlieghere
[Reproducer] Generate LLDB reproducer on crash
This patch hooks the reproducer infrastructure with the signal handlers.
When lldb crashes with reproducers capture enabled, it will now generate
the reproducer and print a short message the standard out. This doesn't
affect the pretty stack traces, which are still printed before.
This patch also introduces a new reproducer sub-command that
intentionally raises a given signal to test the reproducer signal
handling.
Currently the signal handler is doing too much work. Instead of copying
over files into the reproducers in the signal handler, we should
re-invoke ourselves with a special command line flag that looks at the
VFS mapping and performs the copy.
This is a NO-OP when reproducers are disabled.
Differential revision: https://reviews.llvm.org/D70474
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/test/Shell/Reproducer/TestGDBRemoteRepro.test
The file was modifiedlldb/tools/driver/Driver.cpp
The file was modifiedlldb/include/lldb/API/SBReproducer.h
The file was addedlldb/test/Shell/Reproducer/TestCrash.test
The file was modifiedlldb/source/API/SBReproducer.cpp
The file was addedlldb/test/Shell/Reproducer/Inputs/GDBRemoteCrashCapture.in
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
Commit 73429126c91c2065c6f6ef29b3eec1b7798502bb by puyan
[clang][IFS] Driver Pipeline: generate stubs after standard pipeline (3)
Third Landing Attempt (dropping any linker invocation from clang
driver):
Up until now, clang interface stubs has replaced the standard PP -> C ->
BE -> ASM -> LNK pipeline. With this change, it will happen in
conjunction with it. So what when you build your code you will get an
a.out or lib.so as well as an interface stub file.
Example:
clang -shared -o libfoo.so -emit-interface-stubs ...
will generate both a libfoo.so and a libfoo.ifso. The .so file will
contain the code from the standard compilation pipeline and the .ifso
file will contain the ELF stub library.
Note: For driver-test.c I've added -S in order to prevent any bot
failures on bots that don't have the proper linker for their native
triple. You could always specify a triple like x86_64-unknown-linux-gnu
and on bots like x86_64-scei-ps4 the clang driver would invoke regular
ld instead of getting the error
'Executable "orbis-ld" doesn't exist!' but on bots like ppc64be and
s390x you'd get an error "/usr/bin/ld: unrecognised emulation mode:
elf_x86_64"
Differential Revision: https://reviews.llvm.org/D70274
The file was modifiedclang/lib/Driver/Driver.cpp
The file was addedclang/test/InterfaceStubs/driver-test2.c
The file was modifiedclang/lib/Driver/Types.cpp
The file was modifiedclang/test/InterfaceStubs/driver-test.c
The file was modifiedclang/test/InterfaceStubs/windows.cpp
The file was addedclang/test/InterfaceStubs/ppc.cpp
The file was modifiedclang/lib/Driver/ToolChains/InterfaceStubs.cpp
Commit 0ebb7803e6ae4919c1c782cafecaec237664efe3 by Jonas Devlieghere
[Docs] Fix Sphinx warning (treated as error)
Fixes "undefined label" warning: if the link has no caption the label
must precede a section header.
The file was modifiedlldb/docs/index.rst
Commit b03374584d6878e1fe06868a1cc03c28cc547e88 by Jonas Devlieghere
[Driver] Fix missing space in lldb --help output.
The file was modifiedlldb/tools/driver/Driver.cpp
Commit 4a801170f36a2eed13a42730c83cd7bc57729f55 by Piotr Sobczak
[AMDGPU][SILoadStoreOptimizer] Merge TBUFFER loads/stores
Summary: Extend SILoadStoreOptimizer to merge tbuffer loads and stores.
Reviewers: nhaehnle
Reviewed By: nhaehnle
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69794
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/merge-tbuffer.mir
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td