AbortedChanges

Summary

  1. [compiler-rt] Remove some cpplint filters (details)
  2. [compiler-rt] cpplint of inc files in background (details)
  3. [clang-tidy] Fix build with -DBUILD_SHARED_LIB=ON (details)
  4. Make SwitchInstProfUpdateWrapper strict permanently (details)
  5. [WebAssembly] Add -fwasm-exceptions for wasm EH (details)
  6. [LegalizeTypes] Remove code for softening a float type to itself. (details)
  7. [WebAssembly] Add REQUIRES to test (details)
  8. [WebAssembly] Make wasm-eh.cpp requires WebAssembly (details)
  9. [WebAssembly] Delete duplicate REQUIRES line (details)
  10. [DAGCombiner] Improve division estimation of floating points. (details)
  11. [ELF] Support -z undefs (details)
  12. [ELF] Fix a common-page-size typo (details)
  13. [PowerPC][MCP][NFC] Pre-commit test cases for (details)
  14. [InstSimplify] simplifyUnsignedRangeCheck(): handle more cases (PR43251) (details)
  15. [clang-format] Add new style option IndentGotoLabels (details)
  16. [clang-format] [PR43100] clang-format C#  support does not add a space (details)
  17. CodeGenPrep: add separate hook say when GEPs should be used for sinking. (details)
  18. AArch64: support arm64_32, an ILP32 slice for watchOS. (details)
  19. Removed dead code from DiagnosticBuilder (details)
  20. [DAGCombine] visitFDIV - Use isCheaperToUseNegatedFPOps helper for (fdiv (details)
  21. Switch "windows" to "system-windows" in some XFAILs (details)
  22. [MIPS GlobalISel] Select G_IMPLICIT_DEF (details)
  23. [MIPS GlobalISel] Lower G_DYN_STACKALLOC (details)
  24. lld-link: Make /linkrepro: take a filename, not a directory. (details)
  25. [MIPS GlobalISel] Select indirect branch (details)
  26. Removed some questionable default arguments from setters (details)
  27. lld-link: Fix tests that do not run on macOS after r371729. (details)
  28. [clang] [unittest] Import LLVMTestingSupport if necessary (details)
  29. [lldb] Remove duplicated breakpoint tests (details)
  30. [ConstProp] allow folding for fma that produces NaN (details)
  31. [NFC][InstCombine][InstSimplify] Add test for "add-of-negative is (details)
  32. [InstCombine][InstSimplify] Move constant-folding tests in (details)
  33. [lldb][NFC] Simplify makefiles also for breakpoint tests (details)
  34. [docs][llvm-strip] Remove unnecessary whitespace for consistency (details)
  35. test-release.sh: Don't use chrpath on Solaris (details)
  36. [Alignment] Move OffsetToAlignment to Alignment.h (details)
  37. [CGP] Ensure sinking multiple instructions does not invalidate dominance (details)
  38. [ELF] ICF: change a dyn_cast<InputSection> to cast (details)
  39. [LV] Support invariant addresses in speculation logic (details)
  40. [InstCombine] reduce test noise and regenerate CHECK lines; NFC (details)
  41. Precommit tests for generalization of load dereferenceability in loop (details)
  42. [MemorySSA] Pass (for update) MSSAU when hoisting instructions. (details)
  43. Don't warn about selectany on implicitly inline variables (details)
  44. [InstCombine] add tests for fptrunc; NFC (details)
  45. [clang-scan-deps] remove dots and dots dots from the reported file (details)
  46. [LICM/AST] Check if the AliasAny set is removed from the tracker. (details)
  47. [MS] Warn when shadowing template parameters under -fms-compatibility (details)
  48. Use host's executable suffix for clang when cross-compiling compiler-rt (details)
  49. llvm-reduce: Remove unused plugin support/requirements (details)
  50. [analyzer] Don't run the analyzer for -analyzer-list-enabled-checkers (details)
  51. Split many_tls_keys.cpp into two tests (details)
  52. Add getauxval() compat for NetBSD (details)
  53. NFC, add missing cl::cat option category to clang-scan-deps options to (details)
  54. [analyzer][NFC] Fix inconsistent references to checkers as "checks" (details)
  55. AMDGPU: Fix bug in r371671 on some builds. (details)
  56. Precommit tests for D67514 (details)
  57. [libc++] Mark issue 2587 resolved by issue 2567 (details)
  58. llvm-reduce: For now, mark these tests as requiring a shell (details)
  59. [CFG] Add dumps for CFGElement and CFGElementRef (details)
  60. [Clang][CodeGen] support alias attribute w/ gnu_inline (details)
  61. Improve code generation for thread_local variables: (details)
  62. [SCEV] Support SCEVUMinExpr in getRangeRef. (details)
  63. [LV] Update test case after r371768. (details)
  64. [X86] Move negateFMAOpcode helper earlier to help future patch. NFCI. (details)
  65. [SelectionDAGBuilder] Simplify loop in visitSelect back to how it was (details)
  66. Fix llvm-reduce tests so that they don't assume the source code is (details)
  67. [ClangTidy] Adjust the name getCheckName to getCheckerName due to API (details)
  68. [ConstantFolding] Expand folding of some library functions (details)
  69. [DAGCombiner][X86] Pass the CmpOpVT to reduceSelectOfFPConstantLoads so (details)
  70. [SCEV] Add smin support to getRangeRef (details)
  71. Remove a duplicate test (details)
  72. [COFF] Fix to not add archive name to buffer identifiers when they come (details)
  73. [PowerPC] Remove the SPE4RC register class and instead add f32 to the (details)
  74. [AArch64][GlobalISel] Support sibling calls with outgoing arguments (details)
  75. [analyzer] Fix the 'analyzer-enabled-checkers.c' test on non-linux (details)
  76. [Docs] Adds page for reference docs (details)
  77. [NFC] Fix file header filename to be Range.h (details)
  78. [NFC] Sort source files in Utility/CMakeLists.txt (details)
  79. Add -Wpoison-system-directories warning (details)
  80. [SDAG] Update generic code to conservatively check for isAtomic in (details)
  81. [libclang] Expose abort()-ing LLVM fatal error handler (details)
  82. [AArch64][GlobalISel] Support tail calling with swiftself parameters (details)
  83. Rename nonvolatile_load/store to simple_load/store [NFC] (details)
  84. [Test] Restructure check lines to show differences between modes more (details)
  85. AMDGPU: Inline constant when materalizing FI with add on gfx9 (details)
  86. LiveIntervals: Remove assertion (details)
  87. AMDGPU: Add immarg to llvm.amdgcn.init.exec.from.input (details)
  88. [libclang] Fix UninstallAbortingLLVMFatalErrorHandler test (details)
  89. The setUp/tearDown methods I added mssed up the test function; reorder. (details)
  90. [Target] Move InferiorCall to Process (details)
  91. DAG/GlobalISel: Correct type profile of bitcount ops (details)
  92. AMDGPU/GlobalISel: Select G_CTPOP (details)
  93. Revert r371785. (details)
  94. AMDGPU/GlobalISel: Legalize G_FMAD (details)
  95. [ScopBuilder] Skip getting leader when merging statements to close (details)
  96. Temporarily revert r371640 "LiveIntervals: Split live intervals on (details)
  97. AMDGPU/GlobalISel: Legalize G_FFLOOR (details)
  98. [ELF] Delete a redundant assignment to SectionBase::assigned. NFC (details)
  99. For PR17164: split -fno-lax-vector-conversion into three different (details)
  100. [RISCV] Support stack offset exceed 32-bit for RV64 (details)
  101. AMDGPU/GlobalISel: Select 16-bit VALU bit ops (details)
  102. AMDGPU/GlobalISel: Fix RegBankSelect for amdgcn.else (details)
  103. Revert "[RISCV] Support stack offset exceed 32-bit for RV64" (details)
  104. [RISCV] Support stack offset exceed 32-bit for RV64 (details)
  105. AMDGPU/GlobalISel: Legalize s32->s16 G_SITOFP/G_UITOFP (details)
  106. AMDGPU/GlobalISel: Fix assert on multi-return side effect intrinsics (details)
  107. Revert "For PR17164: split -fno-lax-vector-conversion into three (details)
  108. Remove reliance on lax vector conversions from altivec.h and its test. (details)
  109. [TargetRegisterInfo] Remove SVT argument from getCommonSubClass. (details)
  110. Fix interaction between r371813 and r371814. (details)
  111. For PR17164: split -fno-lax-vector-conversion into three different (details)
  112. [AArch64] MachineCombiner FMA matching. NFC. (details)
  113. [BasicBlockUtils] Add optional BBName argument, in line with (details)
  114. [Clang][ASTImporter] Added visibility check for FunctionTemplateDecl. (details)
  115. [compiler-rt] Add ubsan interface header. (details)
  116. [lldb][NFC] Make ArgEntry::quote private and provide a getter (details)
  117. Revert "Fix test failures after r371640" (details)
  118. [Polly] Fix lib/Transform/ScheduleOptimizer.cpp compilation on Solaris (details)
  119. [llvm-objdump] Fix llvm-objdump --all-headers output order (details)
  120. [ARM] Add support for MVE vmaxv and vminv (details)
  121. [lib/ObjectYAML] - Change interface to return `bool` instead of `int`. (details)
  122. [Alignment] Introduce llvm::Align to MCSection (details)
  123. Fix a perl warning: Scalar value @ArgParts[0] better written as (details)
  124. [AArch64] More @llvm.fma.f16 tests (details)
  125. [Clang Interpreter] Initial patch for the constexpr interpreter (details)
  126. [lldb][NFC] Simplify Args::ReplaceArgumentAtIndex (details)
  127. [ARM] Add earlyclobber for cross beat MVE instructions (details)
  128. [ASTImporter] Add development internals docs (details)
  129. [X86] negateFMAOpcode - extend to support FMADDSUB/FMSUBADD and output (details)
  130. [lldb][NFC] Remove ArgEntry::ref member (details)
  131. [Orc] Address the remaining move-capture FIXMEs (details)
  132. [Orc] Roll back ThreadPool to std::function (details)
  133. [llvm-size] Fix spelling errors (Berkely -> Berkeley) (details)
  134. [ADT] Make DenseMap use allocate_buffer (details)
  135. gn build: (manually) merge r371787 (details)
  136. gn build: Merge r371822 (details)
  137. gn build: (manually) merge r371834 (details)
  138. Revert "gn build: (manually) merge r371834" (details)
  139. gn build: (manually) merge r371834, take 2 (details)
  140. lld-link: Add a flag /lldignoreenv that makes lld-link ignore env vars. (details)
  141. Fix depfile name construction (details)
  142. clang-format: Add support for formatting (some) lambdas with explicit (details)
  143. [docs][llvm-objcopy][llvm-strip] Improve --strip-unneeded description (details)
  144. [ADT] Remove a workaround for old versions of clang (details)
  145. [PowerPC][NFC] Move codegen tests to PowerPC from MIR/PowerPC (details)
  146. gn build: pacify "gn format" after 371102 (details)
  147. [Sema][Typo Correction] Fix potential infite loop on ambiguity checks (details)
  148. Fix a few spellos in docs. (details)
  149. [X86] Use incDecVectorConstant to simplify the min/max code in (details)
  150. [docs][llvm-readelf][llvm-readobj] Improve --stack-sizes documentation (details)
  151. Fix build in C++20 (details)
  152. Only initialize the streams cout/wcout/cerr/wcerr etc once, rather than (details)
  153. [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom (details)
  154. [lldb] - Update unit tests after lib/ObjectYAML change. (details)
  155. Recommit r370502: Make `vector` unconditionally move elements when (details)
  156. [AArch64][GlobalISel] Add support for sibcalling callees with varargs (details)
  157. [Remarks][NFC] Use StringLiteral for magic numbers (details)
  158. [Remarks][NFC] Forward declare ParsedStringTable (details)
  159. [CMake] Separate the detection Darwin platforms architectures for the (details)
  160. Fix bug in `darwin_test_archs()` when the cache variable is set but (details)
  161. Revert for: [AMDGPU]: PHI Elimination hooks added for custom COPY (details)
  162. Fix failing negative compilation test for some versions of Clang (details)
  163. [NFCI]Create CommonAttributeInfo Type as base type of *Attr and (details)
  164. Fix build error in 371875 (details)
  165. [NFC][InstSimplify] Add some more tests for D67498/D67502 (details)
  166. Reland r371785: Add -Wpoison-system-directories warning (details)
  167. [SLP] add test for vectorization of constant expressions; NFC (details)
  168. Fix various test failures with GCC (details)
  169. Update XFAIL list for new GCC versions (details)
  170. Fix error in ProcessLauncherWindows.cpp (details)
  171. AArch64: fix EXPENSIVE_CHECKS for arm64_32. (details)
  172. Fix pretty printer test with GCC (details)
  173. [Reproducer] Include the this pointer in the API log. (details)
  174. Mark [[nodiscard]] test as unsupported with GCC 5 (details)
  175. [aarch64] move custom isel of extract_vector_elt to td file - NFC (details)
  176. [FPEnv] Document that constrained FP intrinsics cannot be mixed with (details)
  177. [Docs] Bug fix for reference to nonexistent document (details)
  178. [Support] Add overload writeFileAtomically(std::function Writer) (details)
  179. [OPENMP5.0]Add basic support for declare variant directive. (details)
  180. [AArch64][GlobalISel] Tail call memory intrinsics (details)
  181. Fix C++03 build failures due to >> (details)
  182. [llvm-opt-report] Improve error handling (details)
  183. Fix test to use %t for newly created files. (details)
  184. Add dependency from Orc to Passes (details)
  185. [test] Print the log output on failure. (details)
  186. [NFC][libLTO] Rearrange declaration in lto.h (details)
  187. [GlobalISel] Fix insertion point of new instructions to be after PHIs. (details)
  188. [LLDB] Add missing breaks for switch statement (details)
  189. [clang-scan-deps] Fix for headers having the same name as a directory (details)
  190. Make test check position independent as they sometimes come out (details)
  191. [test] Update TestAPILog to pass on Windows. (details)
  192. [WebAssembly] Narrowing and widening SIMD ops (details)
  193. [Reproducer] Move GDB Remote Packet into Utility. (NFC) (details)
  194. [Reproducer] Add reproducer dump command. (details)
  195. Bugpoint: Remove some unnecessary c_str conversions on the journey to (details)
  196. [llvm-objcopy] Add support for response files in llvm-strip and (details)
  197. [llvm-ar] Uncapitalize error messages and delete full stop (details)
  198. [llvm-objcopy] Default --output-target to --input-target when (details)
  199. [llvm-objcopy] Ignore -B --binary-architecture= (details)
  200. [Attributor][Fix] Use right type to replace expressions (details)
  201. [ScheduleDAGMILive] Fix typo in comment. (details)
  202. [Driver] Improve Clang::getDependencyFileName and its tests after (details)
  203. [Driver] Fix multiple bugs related to dependency file options: -M -MM (details)
  204. [clang-scan-deps] Add -M to work around -MT issue after r371918 (details)
  205. [InstSimplify] simplifyUnsignedRangeCheck(): handle few tautological (details)
  206. [lldb] Code cleanup: FormattersContainer.h: Use range-based for loops. (details)
  207. [TargetLowering] SimplifyDemandedBits - add EXTRACT_SUBVECTOR support. (details)
  208. [Diagnostics] Added silence note for -Wsizeof-array-div; suggest extra (details)
  209. Add debug check for null pointers passed to <string_view> (details)
  210. compiler-rt/builtins: Make check-builtins run tests on macOS. (details)
  211. lld-link: Make Options.td formatting more self-consistent. (details)
  212. [CodeEmitter] Support instruction widths > 64 bits (details)
  213. [CodeEmitter] Improve testing for APInt encoding (details)
  214. [ARM] Simplify and update vmla test. NFC (details)
  215. [SLP] limit vectorization of Constant subclasses (PR33958) (details)
Commit d2af368aee56abf77f4a6ca3fd57ebdb697c48f2 by Vitaly Buka
[compiler-rt] Remove some cpplint filters
llvm-svn: 371704
The file was modifiedcompiler-rt/lib/asan/asan_rtems.cpp
The file was modifiedcompiler-rt/lib/interception/interception_win.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_flag_parser.h
The file was modifiedcompiler-rt/lib/asan/asan_report.cpp
The file was modifiedcompiler-rt/lib/dfsan/dfsan_custom.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/scariness_score_test.cpp
The file was modifiedcompiler-rt/include/fuzzer/FuzzedDataProvider.h
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_printf_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_flag_parser.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/scripts/check_lint.sh
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc
The file was modifiedcompiler-rt/lib/lsan/lsan_common.cpp
The file was modifiedcompiler-rt/lib/msan/msan.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_suppressions_test.cpp
The file was modifiedcompiler-rt/lib/asan/asan_scariness_score.h
The file was modifiedcompiler-rt/lib/dfsan/dfsan.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_libc.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
The file was modifiedcompiler-rt/lib/asan/asan_malloc_win.cpp
The file was modifiedcompiler-rt/lib/asan/asan_thread.cpp
Commit 23bbeb52f392d88bf0d0527392a7a11561ee09c0 by Vitaly Buka
[compiler-rt] cpplint of inc files in background
llvm-svn: 371705
The file was modifiedcompiler-rt/lib/sanitizer_common/scripts/check_lint.sh
Commit 4f0245fd98bca1dd0797c4e2aad83dbab1b9fccc by aheejin
[clang-tidy] Fix build with -DBUILD_SHARED_LIB=ON
Summary: This fixes build failures with `-DBUILD_SHARED_LIB=ON` after
D67419.
Reviewers: NoQ
Subscribers: mgorny, xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67473
llvm-svn: 371706
The file was modifiedclang-tools-extra/clang-tidy/CMakeLists.txt
Commit bdfe84ad110fb386676955a24afd30f68b25b80b by yevgeny.rouban
Make SwitchInstProfUpdateWrapper strict permanently
We have been using -switch-inst-prof-update-wrapper-strict set to true
by default for some time. It is time to remove the safety stuff and make
SwitchInstProfUpdateWrapper intolerant to inconsistencies in !prof
branch_weights metadata of SwitchInst.
This patch gets rid of the Invalid state of SwitchInstProfUpdateWrapper
and the option
-switch-inst-prof-update-wrapper-strict. So there is only two states:
changed and unchanged.
Reviewers: davidx, nikic, eraman, reames, chandlerc Reviewed By: davidx
Differential Revision: https://reviews.llvm.org/D67435
llvm-svn: 371707
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/lib/IR/Instructions.cpp
Commit e8b2b8868d2192fefe2ddf6445e465e283c3ba2d by aheejin
[WebAssembly] Add -fwasm-exceptions for wasm EH
Summary: This adds `-fwasm-exceptions` (in similar fashion with
`-fdwarf-exceptions` or `-fsjlj-exceptions`) that turns on everything
with wasm exception handling from the frontend to the backend.
We currently have `-mexception-handling` in clang frontend, but this is
only about the architecture capability and does not turn on other
necessary options such as the exception model in the backend. (This can
be turned on with `llc -exception-model=wasm`, but llc is not invoked
separately as a command line tool, so this option has to be transferred
from clang.)
Turning on `-fwasm-exceptions` in clang also turns on
`-mexception-handling` if not specified, and will error out if
`-mno-exception-handling` is specified.
Reviewers: dschuff, tlively, sbc100
Subscribers: aprantl, jgravelle-google, sunfish, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67208
llvm-svn: 371708
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/ToolChains/WebAssembly.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/CodeGen/CGException.cpp
The file was modifiedclang/test/Driver/wasm-toolchain.c
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit b8dd07527568e869b4ccfbd8110eef93f196b515 by craig.topper
[LegalizeTypes] Remove code for softening a float type to itself.
This was previously used to turn fp128 operations into libcalls on X86.
This is now done through op legalization after r371672.
This restores much of this code to before r254653.
llvm-svn: 371709
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
Commit c167402183aafdfb0f985979431ebafc43f59acf by dave
[WebAssembly] Add REQUIRES to test
llvm-svn: 371710
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
Commit c4712fda7c6c27fae1ce2a1b0cc28ecbbdf5f53a by aheejin
[WebAssembly] Make wasm-eh.cpp requires WebAssembly
D67208 added a new test line to wasm-eh.cpp that invokes the LLVM
backend and this test fails on bots that don't have WebAssembly target.
This makes wasm-eh.cpp explicitly require WebAssembly so this will be
skipped on those targets.
llvm-svn: 371711
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
Commit 75f65fe8d316407c5dd7cd9bfdfc760203947aa1 by aheejin
[WebAssembly] Delete duplicate REQUIRES line
r371710 and r371711 committed the same line, so this deletes one of
them.
llvm-svn: 371712
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
Commit b7fb5d0f6f2abf07f0ce6edc3397b4c291c1d25e by qiucofan
[DAGCombiner] Improve division estimation of floating points.
Current implementation of estimating divisions loses precision since it
estimates reciprocal first and does multiplication.  This patch is to
re-order arithmetic operations in the last iteration in DAGCombiner to
improve the accuracy.
Reviewed By: Sanjay Patel, Jinsong Ji
Differential Revision: https://reviews.llvm.org/D66050
llvm-svn: 371713
The file was modifiedllvm/test/CodeGen/AMDGPU/fdiv.ll
The file was modifiedllvm/test/CodeGen/PowerPC/qpx-recipest.ll
The file was modifiedllvm/test/CodeGen/X86/recip-fastmath.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/recip-fastmath2.ll
The file was modifiedllvm/test/CodeGen/PowerPC/recipest.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/rsq.ll
Commit 60ff4dd9cd8a5052067b2dee1fc68bfba1f695cc by maskray
[ELF] Support -z undefs
-z undefs is the inverse of -z defs. It allows unresolved references
from object files. This can be used to cancel --no-undefined or -z defs.
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D67479
llvm-svn: 371715
The file was modifiedlld/test/ELF/zdefs.s
The file was modifiedlld/ELF/Driver.cpp
Commit 786ce3fbd625710c93c7b967cf561d294f3786c9 by maskray
[ELF] Fix a common-page-size typo
llvm-svn: 371716
The file was modifiedlld/ELF/Driver.cpp
Commit cfaf2b6cfa24057856ce4689d4b00388586c9103 by lkail
[PowerPC][MCP][NFC] Pre-commit test cases for
https://reviews.llvm.org/D65267
llvm-svn: 371717
The file was addedllvm/test/CodeGen/MIR/PowerPC/machine-backward-cp.mir
Commit f1286621eb9672c07a67075624f97310eadd2632 by lebedev.ri
[InstSimplify] simplifyUnsignedRangeCheck(): handle more cases (PR43251)
Summary: I don't have a direct motivational case for this, but it would
be good to have this for completeness/symmetry.
This pattern is basically the motivational pattern from
https://bugs.llvm.org/show_bug.cgi?id=43251 but with different predicate
that requires that the offset is non-zero.
The completeness bit comes from the fact that a similar pattern (offset
!= zero) will be needed for https://bugs.llvm.org/show_bug.cgi?id=43259,
so it'd seem to be good to not overlook very similar patterns..
Proofs: https://rise4fun.com/Alive/21b
Also, there is something odd with `isKnownNonZero()`, if the non-zero
knowledge was specified as an assumption, it didn't pick it up (PR43267)
Reviewers: spatel, nikic, xbolva00
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67411
llvm-svn: 371718
The file was modifiedllvm/test/Transforms/InstSimplify/result-of-usub-by-nonzero-is-non-zero-and-no-overflow.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit 3867a2d51076494a19c02a2d5c4e4167bd6cbe0e by mydeveloperday
[clang-format] Add new style option IndentGotoLabels
Summary: This option determines whether goto labels are indented
according to scope. Setting this option to false causes goto labels to
be flushed to the left. This is mostly copied from [[
http://lists.llvm.org/pipermail/cfe-dev/2015-September/045014.html |
this patch ]] submitted by Christian Neukirchen that didn't make its way
into trunk.
```
    true:                                  false:
    int f() {                      vs.     int f() {
      if (foo()) {                           if (foo()) {
      label1:                              label1:
        bar();                                 bar();
      }                                      }
    label2:                                label2:
      return 1;                              return 1;
    }                                      }
```
Reviewers: klimek, MyDeveloperDay
Reviewed By: MyDeveloperDay
Subscribers: cfe-commits
Tags: #clang, #clang-tools-extra
Patch by: tetsuo-cpp
Differential Revision: https://reviews.llvm.org/D67037
llvm-svn: 371719
The file was modifiedclang/include/clang/Format/Format.h
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.h
The file was modifiedclang/lib/Format/Format.cpp
The file was modifiedclang/docs/ClangFormatStyleOptions.rst
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit 719087bbb775d49f6f4c3f923bb3282b66e588ce by mydeveloperday
[clang-format] [PR43100] clang-format C#  support does not add a space
between "using" and paren
Summary: Addresses https://bugs.llvm.org/show_bug.cgi?id=43100
Formatting using statement in C# with clang-format removes the space
between using and paren even when SpaceBeforeParens is !
``` using(FileStream fs = new FileStream(path, FileMode.Open,
FileAccess.Read, FileShare.Read, bufferSize : 1))
```
this change simply overcomes this for when using C# settings in the
.clang-format file
``` using (FileStream fs = new FileStream(path, FileMode.Open,
FileAccess.Read, FileShare.Read, bufferSize : 1))
```
All FormatTests pass..
```
[==========] 688 tests from 21 test cases ran. (88508 ms total)
[  PASSED  ] 688 tests.
```
Reviewers: djasper, klimek, owenpan
Reviewed By: owenpan
Subscribers: llvm-commits, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66662
llvm-svn: 371720
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp
Commit 98534843fb4c14ebe8022143cdcfc2a4ea8d2d02 by Tim Northover
CodeGenPrep: add separate hook say when GEPs should be used for sinking.
NFCI.
Up to now, we've decided whether to sink address calculations using GEPs
or normal arithmetic based on the useAA hook, but there are other
reasons GEPs might be preferred. So this patch splits the two questions,
with a default implementation falling back to useAA.
llvm-svn: 371721
The file was modifiedllvm/include/llvm/CodeGen/TargetSubtargetInfo.h
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
Commit f1c28929125400a1680868f7c6eea720de256779 by Tim Northover
AArch64: support arm64_32, an ILP32 slice for watchOS.
This is the main CodeGen patch to support the arm64_32 watchOS ABI in
LLVM. FastISel is mostly disabled for now since it would generate
incorrect code for ILP32.
llvm-svn: 371722
The file was modifiedllvm/test/CodeGen/AArch64/swiftself.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64CallingConvention.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CollectLOH.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-stacksave.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-collect-loh.ll
The file was addedllvm/test/CodeGen/AArch64/arm64_32-fastisel.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-aapcs.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64CallingConvention.h
The file was addedllvm/test/CodeGen/AArch64/arm64_32-neon.ll
The file was modifiedllvm/test/CodeGen/AArch64/swifterror.ll
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/utils/TableGen/CallingConvEmitter.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was addedllvm/test/MC/AArch64/arm64_32-compact-unwind.s
The file was modifiedllvm/lib/Target/AArch64/AArch64FastISel.cpp
The file was modifiedllvm/test/CodeGen/AArch64/fastcc.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64CallingConvention.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-va.ll
The file was addedllvm/test/CodeGen/AArch64/arm64_32-tls.ll
The file was addedllvm/test/CodeGen/AArch64/arm64_32-gep-sink.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-indexed-memory.ll
The file was addedllvm/test/CodeGen/AArch64/arm64_32-pointer-extend.ll
The file was modifiedllvm/test/CodeGen/AArch64/fastcc-reserved.ll
The file was modifiedllvm/test/CodeGen/AArch64/win64_vararg.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/test/CodeGen/AArch64/umulo-128-legalisation-lowering.ll
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/test/CodeGen/AArch64/sibling-call.ll
The file was modifiedllvm/test/CodeGen/AArch64/tail-call.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-addrs.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-collect-loh-garbage-crash.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.h
The file was modifiedllvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-memcpy.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-frame-pointers.ll
The file was modifiedllvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-atomics.ll
The file was modifiedllvm/include/llvm/CodeGen/CallingConvLower.h
The file was modifiedllvm/test/CodeGen/AArch64/swiftcc.ll
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-stack-pointers.ll
The file was modifiedllvm/test/CodeGen/AArch64/swift-return.ll
The file was modifiedllvm/include/llvm/Target/TargetCallingConv.td
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-null.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/X86/X86FastISel.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-collect-loh-str.ll
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.h
The file was addedllvm/test/CodeGen/AArch64/arm64_32.ll
The file was addedllvm/test/CodeGen/AArch64/jump-table-32.ll
The file was modifiedllvm/lib/LTO/LTOModule.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
Commit f2cb4a1842a149b68a94a6c25cbba01987702da7 by gribozavr
Removed dead code from DiagnosticBuilder
llvm-svn: 371723
The file was modifiedclang/include/clang/Basic/Diagnostic.h
Commit da59a6bf7db11e1b207e1f9bd233d87f9a84dda1 by llvm-dev
[DAGCombine] visitFDIV - Use isCheaperToUseNegatedFPOps helper for (fdiv
(fneg X), (fneg Y)) -> (fdiv X, Y). NFCI.
Minor cleanup to use equivalent helper code.
llvm-svn: 371724
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 0c1e0d52c2e205ff38761af7d6817e0cc8145179 by jeremy.morse.llvm
Switch "windows" to "system-windows" in some XFAILs
The test failure mode appears to be due to the host machine rather than
the target. The PS4 buildbots are windows-hosted targeting
x86_64-scei-ps4, and are currently reporting these as unexpected
failures:

http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/28114
llvm-svn: 371726
The file was modifiedclang/test/VFS/include-mixed-real-and-virtual.c
The file was modifiedclang/test/VFS/vfsroot-module.m
The file was modifiedclang/test/VFS/subframework-symlink.m
The file was modifiedclang/test/VFS/relative-path.c
The file was modifiedclang/test/Modules/framework-public-includes-private.m
The file was modifiedclang/test/Modules/double-quotes.m
The file was modifiedclang/test/VFS/implicit-include.c
The file was modifiedclang/test/VFS/real-path-found-first.m
The file was modifiedclang/test/VFS/include-virtual-from-real.c
The file was modifiedclang/test/VFS/incomplete-umbrella.m
The file was modifiedclang/test/VFS/module-import.m
The file was modifiedclang/test/Index/index-module-with-vfs.m
The file was modifiedclang/test/VFS/vfsroot-include.c
The file was modifiedclang/test/VFS/framework-import.m
The file was modifiedclang/test/VFS/external-names.c
The file was modifiedclang/test/VFS/include.c
The file was modifiedclang/test/VFS/include-real-from-virtual.c
The file was modifiedclang/test/VFS/umbrella-framework-import-skipnonexist.m
The file was modifiedclang/test/VFS/vfsroot-with-overlay.c
Commit 75e43a607c8bfbb33cc56b74bbe6becd2021731a by petar.avramovic
[MIPS GlobalISel] Select G_IMPLICIT_DEF
G_IMPLICIT_DEF is used for both integer and floating point implicit-def.
Handle G_IMPLICIT_DEF as ambiguous opcode in MipsRegisterBankInfo.
Select G_IMPLICIT_DEF for MIPS32.
Differential Revision: https://reviews.llvm.org/D67439
llvm-svn: 371727
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/implicit_def.mir
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MipsInstructionSelector.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/implicit_def.ll
The file was addedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/implicit_def.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/implicit_def.mir
Commit 646e1f7b7fa3b4f5aded87555bb85721a7138e40 by petar.avramovic
[MIPS GlobalISel] Lower G_DYN_STACKALLOC
IRTranslator creates G_DYN_STACKALLOC instruction during expansion of
alloca when argument that tells number of elements to allocate on stack
is a virtual register. Use default lowering for MIPS32.
Differential Revision: https://reviews.llvm.org/D67440
llvm-svn: 371728
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/dyn_stackalloc.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/dyn_stackalloc.ll
Commit 3c44d595be1e6c7c453be1a9cc0221d5e7e380ff by nicolasweber
lld-link: Make /linkrepro: take a filename, not a directory.
This makes lld-link behave like ld.lld. I don't see a reason for the two
drivers to have different behavior here.
While here, also make lld-link add a version.txt to the tar, like ld.lld
does.
Differential Revision: https://reviews.llvm.org/D67461
llvm-svn: 371729
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/test/COFF/linkrepro-res.test
The file was modifiedlld/docs/ReleaseNotes.rst
The file was modifiedlld/test/COFF/linkrepro.test
Commit ff6ac1eb5f304ab2b690cf24509680fd62cdf743 by petar.avramovic
[MIPS GlobalISel] Select indirect branch
Select G_BRINDIRECT for MIPS32.
Differential Revision: https://reviews.llvm.org/D67441
llvm-svn: 371730
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/brindirect.mir
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/brindirect.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/brindirect.mir
The file was modifiedllvm/lib/Target/Mips/MipsInstructionSelector.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/brindirect.ll
Commit 20f45ed6990458b8cc96fe2101fbbb7f90037dd7 by gribozavr
Removed some questionable default arguments from setters
Summary: They can be confusing -- what does it mean to call a setter
without a value? Also, some setters, like `setPrintTemplateTree` had
`false` as the default value!
The callers are largely not using these default arguments anyway.
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67491
llvm-svn: 371731
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was modifiedclang/include/clang/Basic/Diagnostic.h
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/ARCMigrate/ARCMT.cpp
Commit d0c800489044f33694954e8537e1e40e39e45264 by nicolasweber
lld-link: Fix tests that do not run on macOS after r371729.
llvm-svn: 371732
The file was modifiedlld/test/COFF/linkrepro-manifest.test
The file was modifiedlld/test/COFF/linkrepro-pdb.test
Commit bfb5b0cb86cf90d9fa794f873644aa642b652c43 by mgorny
[clang] [unittest] Import LLVMTestingSupport if necessary
Add LLVMTestingSupport directory from LLVM_MAIN_SRC_DIR when building
clang stand-alone and LLVMTestingSupport library is not present.  This
is needed to fix stand-alone builds without clang-tools-extra.
Differential Revision: https://reviews.llvm.org/D67452
llvm-svn: 371733
The file was modifiedclang/unittests/CMakeLists.txt
Commit 03a111dc46456ca6c397a801da0c8f0c22ffc39e by Raphael Isemann
[lldb] Remove duplicated breakpoint tests
After reverting the deletion of the functionalities/breakpoint tests, we
now have some tests twice in the test/ folder which breaks dotest:
* commands/breakpoint/basic
* functionalities/breakpoint/breakpoint_command
After looking over these tests, I think it makes sense to only keep the
original functionalities/ folder. The commands/breakpoint/basic test are
not exclusively testing the breakpoint command itself, so they shouldn't
be in commands/ in the first place. Note that these folders have
identical contents (beside small adjustments regarding the Makefile
which landed after the restructuring).
llvm-svn: 371734
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/side_effect.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/TestBreakpointCommandsFromPython.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/a.c
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/Makefile
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/TestBreakpointCommand.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/TestRegexpBreakCommand.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/b.c
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/bktptcmd.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/main.c
Commit 3f5a8083650339336d2431c3376196cdf10e6418 by spatel
[ConstProp] allow folding for fma that produces NaN
Folding for fma/fmuladd was added here: rL202914
...and as seen in existing/unchanged tests, that works to propagate NaN
if it's already an input, but we should fold an fma() that creates NaN
too.
From IEEE-754-2008 7.2 "Invalid Operation", there are 2 clauses that
apply to fma, so I added tests for those patterns:
  c) fusedMultiplyAdd: fusedMultiplyAdd(0, ∞, c) or fusedMultiplyAdd(∞,
0, c)
    unless c is a quiet NaN; if c is a quiet NaN then it is
implementation
    defined whether the invalid operation exception is signaled
d) addition or subtraction or fusedMultiplyAdd: magnitude subtraction
of
    infinities, such as: addition(+∞, −∞)
Differential Revision: https://reviews.llvm.org/D67446
llvm-svn: 371735
The file was modifiedllvm/test/Transforms/ConstProp/fma.ll
The file was modifiedllvm/include/llvm/ADT/APFloat.h
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
Commit b3e0937f0a10ea6666f3fb2b3df92119d1f7d987 by lebedev.ri
[NFC][InstCombine][InstSimplify] Add test for "add-of-negative is
non-zero and no overflow" (PR43259)
https://rise4fun.com/Alive/ska https://rise4fun.com/Alive/9iX
https://bugs.llvm.org/show_bug.cgi?id=43259
llvm-svn: 371736
The file was addedllvm/test/Transforms/InstCombine/result-of-add-of-negative-is-non-zero-and-no-underflow.ll
The file was addedllvm/test/Transforms/InstSimplify/result-of-add-of-negative-is-non-zero-and-no-underflow.ll
Commit 80a8a857583a413566f0c7b0726081d54dc7e620 by lebedev.ri
[InstCombine][InstSimplify] Move constant-folding tests in
result-of-usub-is-non-zero-and-no-overflow.ll
llvm-svn: 371737
The file was modifiedllvm/test/Transforms/InstCombine/result-of-usub-is-non-zero-and-no-overflow.ll
The file was addedllvm/test/Transforms/InstSimplify/result-of-usub-is-non-zero-and-no-overflow.ll
Commit d23fab09a2dd620f001dc34a1a46c0b1ce473ee3 by Raphael Isemann
[lldb][NFC] Simplify makefiles also for breakpoint tests
These tests were temporarily missing when the big Makefile
simplification patch landed, so this just applies the same change to
these tests.
llvm-svn: 371738
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_names/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/auto_continue/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/source_regexp/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_in_delayslot/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/step_over_breakpoint/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/scripted_bkpt/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/Makefile
Commit f145456fc4a4a9938630daab41969da2be8208db by jh7370
[docs][llvm-strip] Remove unnecessary whitespace for consistency
llvm-svn: 371739
The file was modifiedllvm/docs/CommandGuide/llvm-strip.rst
Commit 0866dbfa1a8b36db16f58d1bd60688474d1b9474 by ro
test-release.sh: Don't use chrpath on Solaris
When trying to run test-release.sh on Solaris 11.4 for 9.0.0 rc4, I
failed initially because Solaris lacks chrpath.  This patch accounts for
that and allowed the run to continue.
Tested on amd64-pc-solaris2.11 and sparcv9-sun-solaris2.11.
Differential Revision: https://reviews.llvm.org/D67484
llvm-svn: 371741
The file was modifiedllvm/utils/release/test-release.sh
Commit af11cc7eb5da320066d88a8f6d015e6296f0da25 by gchatelet
[Alignment] Move OffsetToAlignment to Alignment.h
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet, JDevlieghere, alexshap, rupprecht, jhenderson
Subscribers: sdardis, nemanjai, hiraditya, kbarton, jakehehrlich,
jrtc27, MaskRay, atanasyan, jsji, seiya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D67499
llvm-svn: 371742
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/MC/MachObjectWriter.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
The file was modifiedllvm/include/llvm/Support/MathExtras.h
The file was modifiedllvm/lib/CodeGen/BranchRelaxation.cpp
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantIslandPass.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCBranchSelector.cpp
The file was modifiedllvm/include/llvm/Support/Alignment.h
The file was modifiedllvm/lib/Target/Mips/MipsSERegisterInfo.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
The file was modifiedllvm/include/llvm/Support/OnDiskHashTable.h
The file was modifiedllvm/lib/MC/MCAssembler.cpp
The file was modifiedllvm/lib/Target/Mips/MipsConstantIslandPass.cpp
The file was modifiedllvm/tools/llvm-cov/TestingSupport.cpp
The file was modifiedclang/lib/AST/DeclBase.cpp
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was modifiedllvm/lib/Object/ArchiveWriter.cpp
Commit a6e944b1731107c647df7aa2c9b026d6a9818c90 by david.green
[CGP] Ensure sinking multiple instructions does not invalidate dominance
checks
In MVE, as of rL371218, we are attempting to sink chains of instructions
such as:
%l1 = insertelement <8 x i8> undef, i8 %l0, i32 0
%broadcast.splat26 = shufflevector <8 x i8> %l1, <8 x i8> undef, <8 x
i32> zeroinitializer In certain situations though, we can end up
breaking the dominance relations of instructions. This happens when we
sink the instruction into a loop, but cannot remove the originals. The
Use is updated, which might in fact be a Use from the second instruction
to the first.
This attempts to fix that by reversing the order of instruction that are
sunk, and ensuring that we update the uses on new instructions if they
have already been sunk, not the old ones.
Differential Revision: https://reviews.llvm.org/D67366
llvm-svn: 371743
The file was modifiedllvm/test/Transforms/CodeGenPrepare/ARM/sink-add-mul-shufflevector.ll
The file was addedllvm/test/Transforms/CodeGenPrepare/ARM/sinkchain.ll
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
Commit 2ad25a4aeeae6e070c9cb56cc15e82ba6e2231af by maskray
[ELF] ICF: change a dyn_cast<InputSection> to cast
ICF is performed after EhInputSections and MergeInputSections were
eliminated from inputSections. Every element of inputSections is an
InputSection.
llvm-svn: 371744
The file was modifiedlld/ELF/ICF.cpp
Commit b90f94f42e3286017066e13c89cd57be9743a0cd by listmail
[LV] Support invariant addresses in speculation logic
Implement a TODO from rL371452, and handle loop invariant addresses in
predicated blocks. If we can prove that the load is safe to speculate
into the header, then we can avoid using a masked.load in favour of a
normal load.
This is mostly about vectorization robustness. In the common case, it's
generally expected that LICM/LoadStorePromotion would have eliminated
such loads entirely.
Differential Revision: https://reviews.llvm.org/D67372
llvm-svn: 371745
The file was modifiedllvm/lib/Analysis/Loads.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
Commit 62ad62fb98ecf4565ee5b3ade627ca24b473767a by spatel
[InstCombine] reduce test noise and regenerate CHECK lines; NFC
llvm-svn: 371746
The file was modifiedllvm/test/Transforms/InstCombine/fpextend.ll
Commit e0cab70718115cf64e53f79245710b702b954902 by listmail
Precommit tests for generalization of load dereferenceability in loop
llvm-svn: 371747
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
Commit 6943472d45aa4eda7392ee312d68d9cf2fc55f9f by asbirlea
[MemorySSA] Pass (for update) MSSAU when hoisting instructions.
Summary: Pass MSSAU to makeLoopInvariant in order to properly update
MSSA.
Reviewers: george.burgess.iv
Subscribers: Prazek, sanjoy.google, uabelho, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67470
llvm-svn: 371748
The file was addedllvm/test/Analysis/MemorySSA/loop-unswitch.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnswitch.cpp
Commit b00a49d1b3a146b02d2277a463ef7618a9c29806 by rnk
Don't warn about selectany on implicitly inline variables
Summary: This avoids a -Wignored-attribute warning on the code pattern
Microsoft recommends for integral const static data members defined in
headers here:
https://docs.microsoft.com/en-us/cpp/build/reference/microsoft-extensions-to-c-and-cpp?view=vs-2019
The attribute is redundant, but it is necessary when compiling in C++14
modes with /Za, which disables MSVC's extension that treats such
variables as implicitly inline.
Fixes PR43270
Reviewers: epastor, thakis, hans
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67426
llvm-svn: 371749
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was addedclang/test/SemaCXX/declspec-selectany.cpp
Commit 458c2759b184dcfc60c1c217061d926c3f7ba305 by spatel
[InstCombine] add tests for fptrunc; NFC
llvm-svn: 371750
The file was addedllvm/test/Transforms/InstCombine/fptrunc.ll
Commit 57a014d31fb2e731867623d355e98801596814f8 by Alex Lorenz
[clang-scan-deps] remove dots and dots dots from the reported file
dependency paths
This resolves differences observed on LLVM + Clang when running the
comparison between canonical dependencies (full preprocessing, no file
manager reused), and dependencies obtained when the file manager was
reused between the full preprocessing invocations.
llvm-svn: 371751
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
The file was modifiedclang/test/ClangScanDeps/Inputs/subframework_header_dir_symlink_cdb.json
Commit 18f5204db4a9d5df3cb89833de4805a78f5034ee by asbirlea
[LICM/AST] Check if the AliasAny set is removed from the tracker.
Summary: Resolves PR38513. Credit to @bjope for debugging this.
Reviewers: hfinkel, uabelho, bjope
Subscribers: sanjoy.google, bjope, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67417
llvm-svn: 371752
The file was modifiedllvm/lib/Analysis/AliasSetTracker.cpp
The file was addedllvm/test/Transforms/LICM/pr38513.ll
Commit b6a8152b8bf7dc7b56e2953575037281af3d9133 by rnk
[MS] Warn when shadowing template parameters under -fms-compatibility
Summary: C++ does not allow shadowing template parameters, but
previously we allowed it under -fms-extensions. Now this behavior is
controlled by
-fms-compatibility, and we emit a -Wmicrosoft-template warning when it
happens.
Fixes PR43265
Reviewers: thakis, hans
Subscribers: amccarth, rsmith, STL_MSFT, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67463
llvm-svn: 371753
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/test/Parser/DelayedTemplateParsing.cpp
The file was modifiedclang/test/SemaCXX/MicrosoftCompatibility.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
Commit 0e88ebe11d930a2c8c1433ffbf0e345b0fb7bef7 by rnk
Use host's executable suffix for clang when cross-compiling compiler-rt
When cross-compiling compiler-rt as part of LLVM e. g. for Linux on a
Windows host and using the just-built clang as cross-compiler, we set
the -DBUILTINS_CMAKE_ARGS="-DCMAKE_SYSTEM_NAME=Linux" flag in top-level
cmake invocation, which causes CMAKE_EXECUTABLE_SUFFIX to be an empty
string in the nested cmake invocation for building builtins.
But the compiler for compiling test cases is meant to be run on host,
therefore it may have the '.exe' suffix.
Handle this by asking cmake about the host system.
Patch by Sergej Jaskiewicz <jaskiewiczs@icloud.com>
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D67401
llvm-svn: 371754
The file was modifiedcompiler-rt/cmake/base-config-ix.cmake
Commit 890f17c256e68f1dddece62c238d43cdfdb84a37 by dblaikie
llvm-reduce: Remove unused plugin support/requirements
llvm-svn: 371755
The file was modifiedllvm/test/Reduce/remove-funcs.ll
The file was modifiedllvm/test/Reduce/remove-global-vars.ll
The file was modifiedllvm/test/Reduce/remove-metadata.ll
The file was modifiedllvm/tools/llvm-reduce/CMakeLists.txt
The file was modifiedllvm/test/Reduce/remove-args.ll
Commit d977b67ed617f4c1f7e0d1450f3d0adc41cb07b4 by kristof.umann
[analyzer] Don't run the analyzer for -analyzer-list-enabled-checkers
Short and sweet. Whenever I use -analyzer-list-enabled-checkers, I'm
only interested about the configuration, not about the analysis.
Differential Revision: https://reviews.llvm.org/D66714
llvm-svn: 371756
The file was modifiedclang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
The file was modifiedclang/test/Analysis/analyzer-enabled-checkers.c
Commit d2e0f207aa5325a27aeb301e5d13e02809e0c26e by n54
Split many_tls_keys.cpp into two tests
Summary: many_tls_keys_pthread.cpp for TSD many_tls_keys_thread.cpp for
TLS
The TSD test is unsupported on NetBSD as it assumes TLS used internally.
TSD on NetBSD does not use TLS.
Reviewers: joerg, vitalybuka, mgorny, dvyukov, kcc
Reviewed By: vitalybuka
Subscribers: jfb, llvm-commits, #sanitizers
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D67428
llvm-svn: 371757
The file was addedcompiler-rt/test/lsan/TestCases/many_tls_keys_thread.cpp
The file was removedcompiler-rt/test/lsan/TestCases/many_tls_keys.cpp
The file was addedcompiler-rt/test/lsan/TestCases/many_tls_keys_pthread.cpp
Commit 02519fc7a6f8c528f67975a9f78ce64dabf402b4 by n54
Add getauxval() compat for NetBSD
Summary: getauxval() is not available on NetBSD and there is no a direct
equivalent.
Add a function that implements the same semantics with NetBSD internals.
Reorder the GetPageSize() functions to prefer the sysctl approach for
NetBSD. It no longer makes a difference which approach is better. Avoid
changing conditional code path.
Reviewers: vitalybuka, dvyukov, mgorny, joerg
Reviewed By: vitalybuka
Subscribers: llvm-commits, #sanitizers
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D67329
llvm-svn: 371758
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_getauxval.h
Commit 456bfdf5154b05b3b7aefbe8bd360d673feb6a82 by Alex Lorenz
NFC, add missing cl::cat option category to clang-scan-deps options to
ensure they show up in -help
llvm-svn: 371759
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp
Commit 72649423c043341c770516cd73aecde281730260 by kristof.umann
[analyzer][NFC] Fix inconsistent references to checkers as "checks"
Traditionally, clang-tidy uses the term check, and the analyzer uses
checker, but in the very early years, this wasn't the case, and code
originating from the early 2010's still incorrectly refer to checkers as
checks.
This patch attempts to hunt down most of these, aiming to refer to
checkers as checkers, but preserve references to callback functions
(like checkPreCall) as checks.
Differential Revision: https://reviews.llvm.org/D67140
llvm-svn: 371760
The file was modifiedclang/lib/StaticAnalyzer/Core/Checker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporter.cpp
The file was modifiedclang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/Checker.h
The file was modifiedclang/lib/Analysis/plugins/SampleAnalyzer/MainCallChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp
The file was modifiedclang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp
The file was modifiedclang/include/clang/Analysis/PathDiagnostic.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp
The file was modifiedclang/lib/Analysis/PathDiagnostic.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/CheckerManager.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/CheckerManager.cpp
The file was modifiedclang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
Commit cf321f48be944f3e17c28e46638a0c9f101dbb8a by Austin.Kerbow
AMDGPU: Fix bug in r371671 on some builds.
llvm-svn: 371761
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
Commit a3d27375205ad7d3d31bb440deb474d94e8f125c by listmail
Precommit tests for D67514
llvm-svn: 371762
The file was addedllvm/test/Analysis/ScalarEvolution/trip-count15.ll
Commit 31a1ea17729e830deaaef3d44f8469e31c89b7af by z.zoelec2
[libc++] Mark issue 2587 resolved by issue 2567
Updates status. NFC.
llvm-svn: 371763
The file was modifiedlibcxx/www/cxx1z_status.html
Commit 6be90ac788a539d63e3d7e99945ca305a0e8a953 by dblaikie
llvm-reduce: For now, mark these tests as requiring a shell
(since they execute shell scripts/that's the only entry point at the
moment)
llvm-svn: 371764
The file was modifiedllvm/test/Reduce/remove-args.ll
The file was modifiedllvm/test/Reduce/remove-metadata.ll
The file was modifiedllvm/test/Reduce/remove-funcs.ll
The file was modifiedllvm/test/Reduce/remove-global-vars.ll
Commit f174670efaa3cc20faf5ba8e40ceab7cee8f0f24 by kristof.umann
[CFG] Add dumps for CFGElement and CFGElementRef
Seems like we never had these, so here we go! I also did some
refactoring as I was chasing a bug unrelated to this revision.
Differential Revision: https://reviews.llvm.org/D66715
llvm-svn: 371765
The file was modifiedclang/include/clang/Analysis/CFG.h
The file was modifiedclang/lib/Analysis/CFG.cpp
Commit 5806022904bc447525a02cff796c9bbbd02b0444 by ndesaulniers
[Clang][CodeGen] support alias attribute w/ gnu_inline
Summary: r369705 did not consider the addition of gnu_inline on function
declarations of alias attributed functions. This resulted in a reported
regression in the clang-9-rc4 release from the Zig developers building
glibc, which was observable as a failed assertion:
llvm-project/clang/lib/AST/Decl.cpp:3336: bool
clang::FunctionDecl::isInlineDefinitionExternallyVisible() const:
Assertion `(doesThisDeclarationHaveABody() || willHaveBody()) && "Must
be a function definition"' failed.
Alias function declarations do not have bodies, so allow us to proceed
if we have the alias function attribute but no body/definition, and add
a test case.  The emitted symbols and their linkage matches GCC for the
added test case.
Link: https://bugs.llvm.org/show_bug.cgi?id=43268
Reviewers: aaron.ballman, rsmith, erichkeane, andrewrk
Reviewed By: andrewrk
Subscribers: cfe-commits, andrewrk, hans, srhines
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67455
llvm-svn: 371766
The file was modifiedclang/test/CodeGen/alias.c
The file was modifiedclang/lib/AST/Decl.cpp
Commit 00223827a952f66e7426c9881a2a4229e59bb019 by richard-llvm
Improve code generation for thread_local variables:
Summary:
* Don't bother using a thread wrapper when the variable is known to
  have constant initialization.
* Emit the thread wrapper as discardable-if-unused in TUs that don't
  contain a definition of the thread_local variable.
* Don't emit the thread wrapper at all if the thread_local variable
  is unused and discardable; it will be emitted by all TUs that need
  it.
Reviewers: rjmccall, jdoerfert
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67429
llvm-svn: 371767
The file was removedclang/test/CodeGen/windows-on-arm-itanium-thread-local.c
The file was modifiedclang/test/OpenMP/parallel_copyin_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/tls-init-funcs.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local.cpp
The file was addedclang/test/CodeGenCXX/windows-on-arm-itanium-thread-local.cpp
The file was modifiedclang/lib/CodeGen/CGCXXABI.h
The file was modifiedclang/include/clang/Basic/Linkage.h
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedclang/lib/CodeGen/MicrosoftCXXABI.cpp
The file was addedclang/test/CodeGenCXX/cxx2a-thread-local-constinit.cpp
Commit a31ee3762485d0b5382c456b2320105bbb8eb1e2 by flo
[SCEV] Support SCEVUMinExpr in getRangeRef.
This patch adds support for SCEVUMinExpr to getRangeRef, similar to the
support for SCEVUMaxExpr.
Reviewers: sanjoy.google, efriedma, reames, nikic
Reviewed By: sanjoy.google
Differential Revision: https://reviews.llvm.org/D67177
llvm-svn: 371768
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-expr-cache.ll
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/test/Analysis/ScalarEvolution/trip-count15.ll
Commit 074181007791803da90d4b1b1cb855e66bf1950e by flo
[LV] Update test case after r371768.
llvm-svn: 371769
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
Commit d67661ee2406ffac94cc8da1083a3c4887d53e4f by llvm-dev
[X86] Move negateFMAOpcode helper earlier to help future patch. NFCI.
llvm-svn: 371770
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 344c398e2a0bbdaceae2f104b2e320a9ecb1a07a by craig.topper
[SelectionDAGBuilder] Simplify loop in visitSelect back to how it was
before r255558.
This code was changed to accomodate fp128 being softened to itself
during type legalization on x86-64. This was done in order to create
libcalls while having fp128 as a legal type. We're now doing the libcall
creation during LegalizeDAG and the type legalization changes to enable
the old behavior have been removed. So this change to
SelectionDAGBuilder is no longer needed.
llvm-svn: 371771
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit 396d0e1635b535397aecfc542320c98c3119b1b1 by timshen91
Fix llvm-reduce tests so that they don't assume the source code is
writable.
Instead of copying over the original file permissions, just create a new
file and add the executable bit.
llvm-svn: 371772
The file was modifiedllvm/test/Reduce/remove-metadata.ll
The file was modifiedllvm/test/Reduce/remove-global-vars.ll
The file was modifiedllvm/test/Reduce/remove-args.ll
The file was modifiedllvm/test/Reduce/remove-funcs.ll
Commit 75e963ec6fae4ba36bae3c6712614847f8221754 by timshen91
[ClangTidy] Adjust the name getCheckName to getCheckerName due to API
change.
llvm-svn: 371773
The file was modifiedclang-tools-extra/clang-tidy/ClangTidy.cpp
Commit 08df6e64d5700d9469358ecfa4bdb46073116529 by e.menezes
[ConstantFolding] Expand folding of some library functions
Expanding the folding of `nearbyint()`, `rint()` and `trunc()` to
library functions, in addition to the current support for intrinsics.
Differential revision: https://reviews.llvm.org/D67468
llvm-svn: 371774
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was addedllvm/test/Analysis/ConstantFolding/rint.ll
The file was addedllvm/test/Analysis/ConstantFolding/round.ll
The file was removedllvm/test/Transforms/InstCombine/round.ll
The file was addedllvm/test/Analysis/ConstantFolding/trunc.ll
Commit efe6724b9f55b0382f97577c582306b856ff1f95 by craig.topper
[DAGCombiner][X86] Pass the CmpOpVT to reduceSelectOfFPConstantLoads so
X86 can exclude fp128 compares.
The X86 decision assumes the compare will produce a result in an XMM
register, but that can't happen for an fp128 compare since those go to a
libcall the returns an i32. Pass the VT so X86 can check the type.
llvm-svn: 371775
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/fp128-i128.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
Commit bdf608477e9a4f5bce98b1592a968ebd9aa30285 by listmail
[SCEV] Add smin support to getRangeRef
We were failing to compute trip counts (both exact and maximum) for any
loop which involved a comparison against either an umin or smin. It
looks like this simply got missed when we added smin/umin to SCEV.
(Note: umin was submitted separately earlier today.  Turned out two
folks hit this at the same time.)
Differential Revision: https://reviews.llvm.org/D67514
llvm-svn: 371776
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/test/Analysis/ScalarEvolution/trip-count15.ll
The file was modifiedllvm/test/Transforms/IRCE/rc-negative-bound.ll
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-expr-cache.ll
Commit 0e8d5085ac8143c249b082f58a96a1523009633c by listmail
Remove a duplicate test
Turns out I'd already added exactly the same test under the name
non_unit_stride.
llvm-svn: 371777
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
Commit 227d85956b205a60a9fa7b269854f0da0653da29 by akhuang
[COFF] Fix to not add archive name to buffer identifiers when they come
from thin archives.
Currently lld adds the archive name to MemoryBufferRef identifiers in
order to ensure they are unique. For thin archives, since the file name
is already unique and we want to keep the original path to the file,
don't add the archive name.
Differential Revision: https://reviews.llvm.org/D67295
llvm-svn: 371778
The file was modifiedlld/test/COFF/thinlto-index-only.ll
The file was modifiedlld/COFF/Driver.cpp
Commit 36e04d14e9fa34b06ddbe4f565a5560cfa3d84d6 by craig.topper
[PowerPC] Remove the SPE4RC register class and instead add f32 to the
GPRC register class.
Summary: Since the SPE4RC register class contains an identical set of
registers and an identical spill size to the GPRC class its slightly
confusing the tablegen emitter. It's preventing the GPRC_and_GPRC_NOR0
synthesized register class from inheriting VTs and AltOrders from GPRC
or GPRC_NOR0. This is because SPE4C is found first in the super register
class list when inheriting these properties and it doesn't set the VTs
or AltOrders the same way as GPRC or GPRC_NOR0.
This patch replaces all uses of GPE4RC with GPRC and allows GPRC and
GPRC_NOR0 to contain f32.
The test changes here are because the AltOrders are being inherited to
GPRC_NOR0 now.
Found while trying to determine if getCommonSubClass needs to take a VT
argument. It was originally added to support fp128 on x86-64, I've
changed some things about that so that it might be needed anymore. But a
PowerPC test crashed without it and I think its due to this subclass
issue.
Reviewers: jhibbits, nemanjai, kbarton, hfinkel
Subscribers: wuzish, nemanjai, mehdi_amini, hiraditya, kbarton, MaskRay,
dexonsmith, jsji, shchenz, steven.zhang, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67513
llvm-svn: 371779
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/inc-of-add.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/sub-of-not.ll
The file was modifiedllvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCFastISel.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCFrameLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.td
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit a42070a6aa8f32165cdce3e1ff6304c3cd0b8ff6 by Jessica Paquette
[AArch64][GlobalISel] Support sibling calls with outgoing arguments
This adds support for lowering sibling calls with outgoing arguments.
e.g
``` define void @foo(i32 %a)
```
Support is ported from AArch64ISelLowering's
`isEligibleForTailCallOptimization`. The only thing that is missing is a
full port of
`TargetLowering::parametersInCSRMatch`. So, if we're using swiftself,
we'll never tail call.
- Rename `analyzeCallResult` to `analyzeArgInfo`, since the function is
now used
for both outgoing and incoming arguments
- Teach `OutgoingArgHandler` about tail calls. Tail calls use frame
indices for
stack arguments.
- Teach `lowerFormalArguments` to set the bytes in the caller's stack
argument
area. This is used later to check if the tail call's parameters will
fit on
the caller's stack.
- Add `areCalleeOutgoingArgsTailCallable` to perform the eligibility
check on
the callee's outgoing arguments.
For testing:
- Update call-translator-tail-call to verify that we can now tail call
with
outgoing arguments, use G_FRAME_INDEX for stack arguments, and respect
the
size of the caller's stack
- Remove GISel-specific check lines from speculation-hardening.ll, since
GISel
now tail calls like the other selectors
- Add a GISel test line to tailcall-string-rvo.ll since we can tail call
in that
test now
- Add a GISel test line to tailcall_misched_graph.ll since we tail call
there
now. Add specific check lines for GISel, since the debug output from
the
machine-scheduler differs with GlobalISel. The dependency still holds,
but
the output comes out in a different order.
Differential Revision: https://reviews.llvm.org/D67471
llvm-svn: 371780
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/call-translator-tail-call.ll
The file was modifiedllvm/test/CodeGen/AArch64/tailcall-string-rvo.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/CallLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/tailcall_misched_graph.ll
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
The file was modifiedllvm/test/CodeGen/AArch64/arm64-call-tailcalls.ll
The file was modifiedllvm/test/CodeGen/AArch64/speculation-hardening.ll
Commit 851e95c1c12a1689bc7fe32c4737743bea3fc4ab by Artem Dergachev
[analyzer] Fix the 'analyzer-enabled-checkers.c' test on non-linux
machines.
'-Xclang -triple' doesn't seem to override the default target triple as
reliably as '--target'. This leads to test failing due to
platform-specific checks getting unexpectedly enabled.
llvm-svn: 371781
The file was modifiedclang/test/Analysis/analyzer-enabled-checkers.c
Commit 3b6d9c0babf0cdcf1fd783817ec19c60918ce27d by d4m1887
[Docs] Adds page for reference docs
Adds a Reference Documentation page for LLVM and API reference
documentation.
llvm-svn: 371782
The file was modifiedllvm/docs/UserGuides.rst
The file was addedllvm/docs/ReferenceDocumentation.rst
The file was modifiedllvm/docs/index.rst
Commit d44d9e8cda0c4230ab7e52e06e7773aa8f8b9206 by clayborg
[NFC] Fix file header filename to be Range.h
llvm-svn: 371783
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/Range.h
Commit decff073ee413dbc39a13b45592897b77e87552f by Jonas Devlieghere
[NFC] Sort source files in Utility/CMakeLists.txt
llvm-svn: 371784
The file was modifiedlldb/source/Utility/CMakeLists.txt
Commit 4fe2732161905a9bd53e09336851482a96b04ce9 by manojgupta
Add -Wpoison-system-directories warning
When using clang as a cross-compiler, we should not use system headers
to do the compilation. This CL adds support of a new warning flag
-Wpoison-system-directories which emits warnings if --sysroot is set and
headers from common host system location are used. By default the
warning is disabled.
The intention of the warning is to catch bad includes which are usually
generated by third party build system not targeting cross-compilation.
Such cases happen in Chrome OS when someone imports a new package or
upgrade one to a newer version from upstream.
Patch by: denik (Denis Nikitin)
llvm-svn: 371785
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/lib/gcc/.keep
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/include/c++/.keep
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/lib/.keep
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/include/.keep
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/lib/.keep
The file was addedclang/test/Frontend/warning-poison-system-directories.c
The file was modifiedclang/lib/Frontend/InitHeaderSearch.cpp
Commit 079e2104633489e9b99c17c0c1426db11d69bb2f by listmail
[SDAG] Update generic code to conservatively check for isAtomic in
addition to isVolatile
This is the first sweep of generic code to add isAtomic bailouts where
appropriate. The intention here is to have the switch from AtomicSDNode
to LoadSDNode/StoreSDNode be close to NFC; that is, I'm not looking to
allow additional optimizations at this time. That will come later.  See
D66309 for context.
Differential Revision: https://reviews.llvm.org/D66318
llvm-svn: 371786
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/atomic-unordered.ll
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
Commit f7d2376b98728a10143bd3bb715f07b01ee2f5d1 by Jan Korous
[libclang] Expose abort()-ing LLVM fatal error handler
Differential Revision: https://reviews.llvm.org/D66775
llvm-svn: 371787
The file was modifiedclang/tools/libclang/CMakeLists.txt
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was addedclang/unittests/libclang/CrashTests/LibclangCrashTest.cpp
The file was modifiedclang/unittests/libclang/CMakeLists.txt
The file was modifiedclang/tools/libclang/libclang.exports
The file was addedclang/include/clang-c/FatalErrorHandler.h
The file was addedclang/tools/libclang/FatalErrorHandler.cpp
The file was addedclang/unittests/libclang/CrashTests/CMakeLists.txt
Commit 0c283cb50418e56fc3ad92d552480273751534d5 by Jessica Paquette
[AArch64][GlobalISel] Support tail calling with swiftself parameters
Swiftself uses a callee-saved register. We can tail call when the
register used in the caller and callee is the same.
This behaviour is equivalent to that in
`TargetLowering::parametersInCSRMatch`.
Update call-translator-tail-call.ll to verify that we can do this. When
we support inline assembly, we can write a check similar to the one in
the general swiftself.ll. For now, we need to verify that we get the
correct COPY instruction after call lowering.
Differential Revision: https://reviews.llvm.org/D67511
llvm-svn: 371788
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/call-translator-tail-call.ll
Commit 0b4d67ca35b20e677a62b5ab64d7e64271ae7c65 by listmail
Rename nonvolatile_load/store to simple_load/store [NFC]
Implement the TODO from D66318.
llvm-svn: 371789
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrFP.td
The file was modifiedllvm/lib/Target/X86/X86InstrMMX.td
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.td
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
Commit 4a8916cf1a45a9ee5a95cc011f60ce10a02ff196 by listmail
[Test] Restructure check lines to show differences between modes more
clearly
With the landing of the previous patch (in particular D66318) there are
a lot fewer diffs now.  I added an experimental O0 line, and updated all
the tests to group experimental and non-experimental O0/O3 together.
Skimming the remaining diffs, there's only a few which are obviously
incorrect.  There's a large number which are questionable, so more todo.
llvm-svn: 371790
The file was modifiedllvm/test/CodeGen/X86/atomic-unordered.ll
Commit 8382ce5f1b099e4cf8b1e15fe9efb6963740b6cc by Matthew.Arsenault
AMDGPU: Inline constant when materalizing FI with add on gfx9
This was relying on the SGPR usable for the carry out clobber to also be
used for the input. There was no carry out on gfx9. With no carry out
clobber to worry about, so the literal can just be directly used with a
VOP2 add.
llvm-svn: 371791
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/pei-scavenge-sgpr-gfx9.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
Commit b85c8c4bbdedc370968865ec017eeb87cb2bc69d by Matthew.Arsenault
LiveIntervals: Remove assertion
This testcase is invalid, and caught by the verifier. For the verifier
to catch it, the live interval computation needs to complete. Remove the
assert so the verifier catches this, which is less confusing.
In this testcase there is an undefined use of a subregister, and lanes
which aren't used or defined. An equivalent testcase with the
super-register shrunk to have no untouched lanes already hit this
verifier error.
llvm-svn: 371792
The file was addedllvm/test/CodeGen/AMDGPU/at-least-one-def-value-assert.mir
The file was modifiedllvm/lib/CodeGen/LiveInterval.cpp
Commit 91b758f358096965abc2ceb53df683083cff0edd by Matthew.Arsenault
AMDGPU: Add immarg to llvm.amdgcn.init.exec.from.input
As far as I can tell this has to be a constant.
llvm-svn: 371793
The file was modifiedllvm/include/llvm/IR/IntrinsicsAMDGPU.td
Commit 5e4a03f03775422863e241326583ea74a94d0316 by Jan Korous
[libclang] Fix UninstallAbortingLLVMFatalErrorHandler test
llvm-svn: 371794
The file was modifiedclang/unittests/libclang/CrashTests/LibclangCrashTest.cpp
Commit 0a39ef4704a5934d6cecbd3afdc771732bed107d by Jason Molenda
The setUp/tearDown methods I added mssed up the test function; reorder.
Thanks to Ted Woodward for catching this one.
llvm-svn: 371795
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWriteMemory.py
Commit 5b2b38e053b4638c08da4104e8bb5bd643fde737 by apl
[Target] Move InferiorCall to Process
Summary: InferiorCall is only ever used in Process, and it is not
specific to POSIX. By moving it to Process, we can remove all
dependencies on plugins from Process. Moving InferiorCall to Process
seems to achieve this quite well. Additionally, the name InferiorCall is
a little vague now, so we rename it something a bit more specific.
Reviewers: JDevlieghere, clayborg, compnerd, labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D67472
llvm-svn: 371796
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/InferiorCallPOSIX.h
Commit b366329a34a1f2dc277f030df239236d43792fba by Matthew.Arsenault
DAG/GlobalISel: Correct type profile of bitcount ops
The result integer does not need to be the same width as the input.
AMDGPU, NVPTX, and Hexagon all have patterns working around the types
matching. GlobalISel defines these as being different type indexes.
llvm-svn: 371797
The file was modifiedllvm/lib/Target/NVPTX/NVPTXInstrInfo.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonPatterns.td
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.td
The file was modifiedllvm/lib/Target/Sparc/SparcInstrInfo.td
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/Sparc/SparcInstr64Bit.td
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
Commit 4a73c6eadae0c92771106f85fc77c32f60a1b30e by Matthew.Arsenault
AMDGPU/GlobalISel: Select G_CTPOP
llvm-svn: 371798
The file was modifiedllvm/lib/Target/AMDGPU/SOPInstructions.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ctpop.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
Commit 38f6b3fd8dd7dc3a3b4eae63738d5d3a741b2227 by manojgupta
Revert r371785.
r371785 is causing fails on clang-hexagon-elf buildbots.
llvm-svn: 371799
The file was modifiedclang/lib/Frontend/InitHeaderSearch.cpp
The file was removedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/lib/.keep
The file was removedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/include/.keep
The file was removedclang/test/Frontend/warning-poison-system-directories.c
The file was removedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/lib/.keep
The file was removedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/include/c++/.keep
The file was removedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/lib/gcc/.keep
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
Commit 4d3391803462433b05a3344e6c37435f725637c4 by Matthew.Arsenault
AMDGPU/GlobalISel: Legalize G_FMAD
Unlike SelectionDAG, treat this as a normally legalizable operation. In
SelectionDAG this is supposed to only ever formed if it's legal, but
I've found that to be restricting. For AMDGPU this is contextually legal
depending on whether denormal flushing is allowed in the use function.
Technically we currently treat the denormal mode as a subtarget feature,
so custom lowering could be avoided. However I consider this to be a
defect, and this should be contextually dependent on the controllable
rounding mode of the parent function.
llvm-svn: 371800
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.s16.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
Commit 87baae85cdee84b43986f1d8d0fac469c7e9521b by llvm
[ScopBuilder] Skip getting leader when merging statements to close
holes.
Function joinOrderedInstructions merges instructions when a leader is
encountered twice. It also notices that leaders in SeenLeaders may lose
their leadership in previous merging, and tries to handle the case using
following code:
    Instruction *PrevLeader =
UnionFind.getLeaderValue(SeenLeaders.back());
However, this is wrong because it always gets leader for the last
element of SeenLeaders, and I believe it's wrong even we get leader for
Prev here.  As a result, Statements in cases like the one in patch
aren't merged as expected.  After investigation, I believe it's
unnecessary to get leader instruction at all.  This is based on fact:
Although leaders in SeenLeaders could lose leadership, they only lose to
others in SeenLeaders, in other words, one existing leader will be
chosen as new leader of merged equivalent statements.  We can take
advantage of this and simply check if current leader equals to Prev and
break merging if it does.
The patch also adds a new test.
Patch by bin.narwal <bin.narwal@gmail.com>
Differential Revision: https://reviews.llvm.org/D67007
llvm-svn: 371801
The file was addedpolly/test/ScopInfo/granularity_scalar-indep_ordered-2.ll
The file was modifiedpolly/lib/Analysis/ScopBuilder.cpp
Commit a31c521f5ebd3b26ba132361b14d0e6393b851bb by timshen91
Temporarily revert r371640 "LiveIntervals: Split live intervals on
multiple dead defs".
It reveals a miscompile on Hexagon. See PR43302 for details.
llvm-svn: 371802
The file was removedllvm/test/CodeGen/AMDGPU/live-intervals-multiple-dead-defs.mir
The file was modifiedllvm/lib/CodeGen/LiveIntervals.cpp
Commit f457dd2bd437b7d65024194d1f3b4e6c6b0e07ec by Matthew.Arsenault
AMDGPU/GlobalISel: Legalize G_FFLOOR
llvm-svn: 371803
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.s16.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ffloor.mir
Commit 51ead00bf81cd92a868bdd1551a06ec5efdb563b by maskray
[ELF] Delete a redundant assignment to SectionBase::assigned. NFC
LinkerScript::discard marks a section dead. It is unnecessary to set the
`assigned` bit.
llvm-svn: 371804
The file was modifiedlld/ELF/LinkerScript.cpp
Commit 49c4e58b75ecec8dce75dd13c61aaeb30e14b531 by richard-llvm
For PR17164: split -fno-lax-vector-conversion into three different
levels:
-- none: no lax vector conversions [new GCC default]
-- integer: only conversions between integer vectors [old GCC default]
-- all: all conversions between same-size vectors [Clang default]
For now, Clang still defaults to "all" mode, but per my proposal on
cfe-dev (2019-04-10) the default will be changed to "integer" as soon as
that doesn't break lots of testcases. (Eventually I'd like to change the
default to "none" to match GCC and general sanity.)
Following GCC's behavior, the driver flag -flax-vector-conversions is
translated to -flax-vector-conversions=integer.
llvm-svn: 371805
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector3.c
The file was modifiedclang/test/Headers/x86intrin-2.c
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector.c
The file was modifiedclang/test/CodeGen/builtins-systemz-vector.c
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector3-error.c
The file was modifiedclang/test/SemaCXX/vector.cpp
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector2-error.c
The file was modifiedclang/test/Headers/x86-intrinsics-headers.c
The file was modifiedclang/test/Sema/zvector.c
The file was modifiedclang/test/CodeGen/builtins-systemz-vector2.c
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector2.c
The file was modifiedclang/test/CodeGen/builtins-wasm.c
The file was modifiedclang/test/Headers/altivec-header.c
The file was modifiedclang/test/Sema/ext_vector_casts.c
The file was modifiedclang/test/Sema/zvector2.c
The file was modifiedclang/test/SemaCXX/altivec.cpp
The file was modifiedclang/test/Sema/typedef-retain.c
The file was modifiedclang/test/CodeGenCXX/builtins-systemz-zvector.cpp
The file was modifiedclang/test/Headers/x86-intrinsics-headers-clean.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/test/Headers/arm-neon-header.c
The file was modifiedclang/test/Headers/x86intrin.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector-error.c
The file was modifiedclang/test/CodeGen/builtins-systemz-vector3.c
The file was modifiedclang/test/SemaCXX/vector-no-lax.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit eaa230fe3c868beeaea70b7621acc9bfaf126d04 by shiva0217
[RISCV] Support stack offset exceed 32-bit for RV64
Differential Revision: https://reviews.llvm.org/D61884
llvm-svn: 371806
The file was modifiedllvm/test/CodeGen/RISCV/stack-realignment.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.h
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
The file was addedllvm/test/CodeGen/RISCV/rv64-large-stack.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
Commit 638f802381178350c0897659515607b92bd20dcb by Matthew.Arsenault
AMDGPU/GlobalISel: Select 16-bit VALU bit ops
llvm-svn: 371807
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-and.mir
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-or.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-xor.mir
Commit 67d9349dad3f4a950e6a389748feb028abb00537 by Matthew.Arsenault
AMDGPU/GlobalISel: Fix RegBankSelect for amdgcn.else
llvm-svn: 371808
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.else.32.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.else.64.mir
Commit ea530ba3ed757de7ffc45114e9b5e9fa72475fe3 by shiva0217
Revert "[RISCV] Support stack offset exceed 32-bit for RV64"
This reverts commit 1c340c62058d4115d21e5fa1ce3a0d094d28c792.
llvm-svn: 371809
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
The file was removedllvm/test/CodeGen/RISCV/rv64-large-stack.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.h
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/RISCV/stack-realignment.ll
Commit a49a16ddd0eb06cd0d84e2f073364397d94a1e84 by shiva0217
[RISCV] Support stack offset exceed 32-bit for RV64
Differential Revision: https://reviews.llvm.org/D61884
llvm-svn: 371810
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/stack-realignment.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
The file was addedllvm/test/CodeGen/RISCV/rv64-large-stack.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.h
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
Commit a4be3eff5c957fb280dbcc693c5cd966e9e3c158 by Matthew.Arsenault
AMDGPU/GlobalISel: Legalize s32->s16 G_SITOFP/G_UITOFP
llvm-svn: 371811
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-uitofp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sitofp.mir
Commit 3b7ffc6ae75a98827880c85c5f78099a044c8e09 by Matthew.Arsenault
AMDGPU/GlobalISel: Fix assert on multi-return side effect intrinsics
llvm.amdgcn.else hits this.
llvm-svn: 371812
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit 4aaa77e48dd1bd8337d5a4fe9795f13c54f3a9cb by Jonas Devlieghere
Revert "For PR17164: split -fno-lax-vector-conversion into three
different"
This breaks the LLDB build. I tried reaching out to Richard, but haven't
gotten a reply yet.
llvm-svn: 371813
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector2-error.c
The file was modifiedclang/test/CodeGen/builtins-wasm.c
The file was modifiedclang/test/CodeGen/builtins-systemz-vector3.c
The file was modifiedclang/test/Headers/x86-intrinsics-headers.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/Sema/ext_vector_casts.c
The file was modifiedclang/test/Headers/arm-neon-header.c
The file was modifiedclang/test/SemaCXX/altivec.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/test/Headers/x86intrin.c
The file was modifiedclang/test/SemaCXX/vector.cpp
The file was modifiedclang/test/CodeGenCXX/builtins-systemz-zvector.cpp
The file was modifiedclang/test/Sema/zvector2.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector-error.c
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector3.c
The file was modifiedclang/test/CodeGen/builtins-systemz-vector.c
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/CodeGen/builtins-systemz-vector2.c
The file was modifiedclang/test/Headers/x86intrin-2.c
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector3-error.c
The file was modifiedclang/test/SemaCXX/vector-no-lax.cpp
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector.c
The file was modifiedclang/test/Sema/zvector.c
The file was modifiedclang/test/Headers/x86-intrinsics-headers-clean.cpp
The file was modifiedclang/test/Sema/typedef-retain.c
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector2.c
The file was modifiedclang/test/Headers/altivec-header.c
Commit aeb279dd88d72589c4e46662613b9ee0f1a3f8ef by richard-llvm
Remove reliance on lax vector conversions from altivec.h and its test.
llvm-svn: 371814
The file was modifiedclang/test/CodeGen/builtins-ppc-altivec.c
The file was modifiedclang/include/clang/Basic/BuiltinsPPC.def
The file was modifiedclang/lib/Headers/altivec.h
Commit 4d1df2aa2380966e170b637bcc958e162f7c4fe0 by craig.topper
[TargetRegisterInfo] Remove SVT argument from getCommonSubClass.
This was added to support fp128 on x86-64, but appears to be unneeded
now. This may be because the FR128 register class added back then was
merged with the VR128 register class later.
llvm-svn: 371815
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetRegisterInfo.h
The file was modifiedllvm/lib/CodeGen/TargetRegisterInfo.cpp
Commit 804e0c507da4065326a88d4966115c55e0920dc8 by richard-llvm
Fix interaction between r371813 and r371814.
llvm-svn: 371816
The file was modifiedclang/test/CodeGen/builtins-ppc-altivec.c
Commit c624510f134ceee9bdb5308b6f4892890c61938f by richard-llvm
For PR17164: split -fno-lax-vector-conversion into three different
levels:
-- none: no lax vector conversions [new GCC default]
-- integer: only conversions between integer vectors [old GCC default]
-- all: all conversions between same-size vectors [Clang default]
For now, Clang still defaults to "all" mode, but per my proposal on
cfe-dev (2019-04-10) the default will be changed to "integer" as soon as
that doesn't break lots of testcases. (Eventually I'd like to change the
default to "none" to match GCC and general sanity.)
Following GCC's behavior, the driver flag -flax-vector-conversions is
translated to -flax-vector-conversions=integer.
This reinstates r371805, reverted in r371813, with an additional fix for
lldb.
llvm-svn: 371817
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/Sema/typedef-retain.c
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/test/CodeGen/builtins-wasm.c
The file was modifiedclang/test/SemaCXX/vector-no-lax.cpp
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/test/Headers/x86intrin-2.c
The file was modifiedclang/test/CodeGenCXX/builtins-systemz-zvector.cpp
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector2.c
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector3-error.c
The file was modifiedclang/test/Sema/zvector2.c
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector-error.c
The file was modifiedclang/test/CodeGen/builtins-systemz-vector.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/Sema/zvector.c
The file was modifiedclang/test/SemaCXX/altivec.cpp
The file was modifiedclang/test/Headers/x86-intrinsics-headers-clean.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector.c
The file was modifiedclang/test/SemaCXX/vector.cpp
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector3.c
The file was modifiedclang/test/Sema/ext_vector_casts.c
The file was modifiedclang/test/CodeGen/builtins-ppc-altivec.c
The file was modifiedclang/test/CodeGen/builtins-systemz-vector2.c
The file was modifiedclang/test/Headers/x86-intrinsics-headers.c
The file was modifiedclang/test/CodeGen/builtins-systemz-vector3.c
The file was modifiedclang/test/Headers/arm-neon-header.c
The file was modifiedclang/test/Headers/altivec-header.c
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector2-error.c
The file was modifiedclang/test/Headers/x86intrin.c
Commit 395a86731d66a7032277250582f1026df691de47 by sjoerd.meijer
[AArch64] MachineCombiner FMA matching. NFC.
Follow-up of rL371321 that added some more FP16 FMA patterns, and an
attempt to reduce the copy-pasting and make this more readable.
Differential Revision: https://reviews.llvm.org/D67403
llvm-svn: 371818
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
Commit cde8343d85721e5bc4c25d8843efcac61238407b by flo
[BasicBlockUtils] Add optional BBName argument, in line with
BB:splitBasicBlock
Reviewers: spatel, asbirlea, craig.topper
Reviewed By: asbirlea
Differential Revision: https://reviews.llvm.org/D67521
llvm-svn: 371819
The file was modifiedllvm/lib/Transforms/Utils/LoopVersioning.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
Commit f8a89c8fa7fe89632530ba86983127133686afe4 by 1.int32
[Clang][ASTImporter] Added visibility check for FunctionTemplateDecl.
Summary: ASTImporter makes now difference between function templates
with same name in different translation units if these are not visible
outside.
Reviewers: martong, a.sidorin, shafik, a_sidorin
Reviewed By: a_sidorin
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67490
llvm-svn: 371820
The file was modifiedclang/unittests/AST/ASTImporterVisibilityTest.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit 1ae9e6918d94ec0e296c7753cd3f1a7c22cb3153 by pierregousseau14
[compiler-rt] Add ubsan interface header.
This is to document __ubsan_default_options().
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D67503
llvm-svn: 371822
The file was modifiedcompiler-rt/include/CMakeLists.txt
The file was addedcompiler-rt/include/sanitizer/ubsan_interface.h
Commit a024f5e3701a602a582f0d5705ed2b431aaf8e4d by Raphael Isemann
[lldb][NFC] Make ArgEntry::quote private and provide a getter
llvm-svn: 371823
The file was modifiedlldb/include/lldb/Utility/Args.h
The file was modifiedlldb/source/Host/common/Editline.cpp
The file was modifiedlldb/source/API/SBCommandInterpreter.cpp
The file was modifiedlldb/source/Interpreter/Options.cpp
Commit 8a4595199a8a017b9d32fb86dc09b9882282a18e by gribozavr
Revert "Fix test failures after r371640"
This reverts commit r371645, because r371640 was reverted.
llvm-svn: 371824
The file was modifiedllvm/test/DebugInfo/WebAssembly/dbg-value-move-reg-stackify.mir
The file was modifiedllvm/test/DebugInfo/X86/live-debug-vars-discard-invalid.mir
Commit 570c50aa922e39c91266aba0b68005cdb8aaebb4 by ro
[Polly] Fix lib/Transform/ScheduleOptimizer.cpp compilation on Solaris
lib/Transform/ScheduleOptimizer.cpp fails to compile on Solaris, both on
the 9.x branch (first noticed when running test-release.sh without
-no-polly) and on trunk:

/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/tools/polly/lib/Transform/ScheduleOptimizer.cpp:
In function ‘MicroKernelParamsTy getMicroKernelParams(const
llvm::TargetTransformInfo*, polly::MatMulInfoTy)’:

/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/tools/polly/lib/Transform/ScheduleOptimizer.cpp:914:62:
error: call of overloaded ‘sqrt(long unsigned int)’ is ambiguous
   914 |       ceil(sqrt(Nvec * LatencyVectorFma * ThroughputVectorFma)
/ Nvec) * Nvec;
       |                                                              ^
In file included from
/usr/gcc/9/lib/gcc/x86_64-pc-solaris2.11/9.1.0/include-fixed/math.h:24,
                  from /usr/gcc/9/include/c++/9.1.0/cmath:45,
                  from
/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/include/llvm-c/DataTypes.h:28,
                  from
/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/include/llvm/Support/DataTypes.h:16,
                  from
/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/include/llvm/ADT/Hashing.h:47,
                  from
/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/include/llvm/ADT/ArrayRef.h:12,
                  from
/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/tools/polly/include/polly/ScheduleOptimizer.h:12,
                  from
/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/tools/polly/lib/Transform/ScheduleOptimizer.cpp:48:

/usr/gcc/9/lib/gcc/x86_64-pc-solaris2.11/9.1.0/include-fixed/iso/math_iso.h:220:21:
note: candidate: ‘long double std::sqrt(long double)’
   220 |  inline long double sqrt(long double __X) { return
__sqrtl(__X); }
       |                     ^~~~

/usr/gcc/9/lib/gcc/x86_64-pc-solaris2.11/9.1.0/include-fixed/iso/math_iso.h:186:15:
note: candidate: ‘float std::sqrt(float)’
   186 |  inline float sqrt(float __X) { return __sqrtf(__X); }
       |               ^~~~

/usr/gcc/9/lib/gcc/x86_64-pc-solaris2.11/9.1.0/include-fixed/iso/math_iso.h:74:15:
note: candidate: ‘double std::sqrt(double)’
    74 | extern double sqrt __P((double));
       |               ^~~~

/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/tools/polly/lib/Transform/ScheduleOptimizer.cpp:915:67:
error: call of overloaded ‘ceil(long unsigned int)’ is ambiguous
   915 |   int Mr = ceil(Nvec * LatencyVectorFma * ThroughputVectorFma /
Nr);
       |                                                               
  ^
In file included from
/usr/gcc/9/lib/gcc/x86_64-pc-solaris2.11/9.1.0/include-fixed/math.h:24,
                  from /usr/gcc/9/include/c++/9.1.0/cmath:45,
                  from
/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/include/llvm-c/DataTypes.h:28,
                  from
/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/include/llvm/Support/DataTypes.h:16,
                  from
/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/include/llvm/ADT/Hashing.h:47,
                  from
/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/include/llvm/ADT/ArrayRef.h:12,
                  from
/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/tools/polly/include/polly/ScheduleOptimizer.h:12,
                  from
/var/llvm/llvm-9.0.0-rc4/rc4/llvm.src/tools/polly/lib/Transform/ScheduleOptimizer.cpp:48:

/usr/gcc/9/lib/gcc/x86_64-pc-solaris2.11/9.1.0/include-fixed/iso/math_iso.h:196:21:
note: candidate: ‘long double std::ceil(long double)’
   196 |  inline long double ceil(long double __X) { return
__ceill(__X); }
       |                     ^~~~

/usr/gcc/9/lib/gcc/x86_64-pc-solaris2.11/9.1.0/include-fixed/iso/math_iso.h:160:15:
note: candidate: ‘float std::ceil(float)’
   160 |  inline float ceil(float __X) { return __ceilf(__X); }
       |               ^~~~

/usr/gcc/9/lib/gcc/x86_64-pc-solaris2.11/9.1.0/include-fixed/iso/math_iso.h:76:15:
note: candidate: ‘double std::ceil(double)’
    76 | extern double ceil __P((double));
       |               ^~~~
Fixed by adding casts to disambiguate, checked that it now compiles on
both  amd64-pc-solaris2.11 and sparcv9-sun-solaris2.11 and on
x86_64-pc-linux-gnu.
Differential Revision: https://reviews.llvm.org/D67442
llvm-svn: 371825
The file was modifiedpolly/lib/Transform/ScheduleOptimizer.cpp
Commit d70690833908f1fbb1fce1d18831901594e43860 by grimar
[llvm-objdump] Fix llvm-objdump --all-headers output order
Patch by Justice Adams!
Made llvm-objdump --all-headers output match the order of GNU objdump
for compatibility reasons.
Old order of the headers output:
* file header
* section header table
* symbol table
* program header table
* dynamic section
New order of the headers output (GNU compatible):
* file header information
* program header table
* dynamic section
* section header table
* symbol table
(Relevant BugZilla Bug: https://bugs.llvm.org/show_bug.cgi?id=41830)
Differential revision: https://reviews.llvm.org/D67357
llvm-svn: 371826
The file was modifiedllvm/test/tools/llvm-objdump/all-headers.test
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
Commit 1572b68509571ef8e52db9e54ff7b0a284a23974 by sam.tebbs
[ARM] Add support for MVE vmaxv and vminv
This patch adds vecreduce_smax, vecredude_umax, vecreduce_smin,
vecreduce_umin and selection for vmaxv and minv.
Differential Revision: https://reviews.llvm.org/D66413
llvm-svn: 371827
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
The file was addedllvm/test/CodeGen/Thumb2/mve-vmaxv.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit 7da559f2f60ef69a0098487ea25e0d81fdccc2f2 by grimar
[lib/ObjectYAML] - Change interface to return `bool` instead of `int`.
NFCI
It was suggested in comments for D67445 to split this part.
Differential revision: https://reviews.llvm.org/D67488
llvm-svn: 371828
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/COFFEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/MachOEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/MinidumpEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/WasmEmitter.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/yaml2obj.h
The file was modifiedllvm/lib/ObjectYAML/yaml2obj.cpp
Commit 36202635323be0f6436c8d5fed1f5cb03808dbb7 by gchatelet
[Alignment] Introduce llvm::Align to MCSection
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet, JDevlieghere
Subscribers: arsenm, sdardis, jvesely, nhaehnle, sbc100, hiraditya,
aheejin, jrtc27, atanasyan, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67486
llvm-svn: 371831
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
The file was modifiedllvm/include/llvm/MC/MCSection.h
The file was modifiedllvm/lib/MC/MCELFStreamer.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsOptionRecord.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
The file was modifiedllvm/lib/MC/MCWinCOFFStreamer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was modifiedllvm/lib/MC/MCObjectStreamer.cpp
Commit ea27b932b58cb6cf9d2f1ad1eddd187ee34b9a90 by sylvestre
Fix a perl warning: Scalar value @ArgParts[0] better written as
$ArgParts[0] at /usr/share/clang/scan-build-10/libexec/ccc-analyzer line
502.
llvm-svn: 371832
The file was modifiedclang/tools/scan-build/libexec/ccc-analyzer
Commit b55456aaa065167d8f93d3cf8cd83ad16d7ab4b2 by sjoerd.meijer
[AArch64] More @llvm.fma.f16 tests
Follow up of rL371321 that added FMA FP16 patterns. This adds more tests
for @llvm.fma.f16. This probably shows we miss one fmsub optimisation
opportunity, which I will look into.
llvm-svn: 371833
The file was modifiedllvm/test/CodeGen/AArch64/fp16_intrinsic_scalar_3op.ll
Commit 950b70dcc7e3e06f7ffbb0386f82d5085cd709a9 by n
[Clang Interpreter] Initial patch for the constexpr interpreter
Summary: This patch introduces the skeleton of the constexpr
interpreter, capable of evaluating a simple constexpr functions
consisting of if statements. The interpreter is described in more detail
in the RFC. Further patches will add more features.
Reviewers: Bigcheese, jfb, rsmith
Subscribers: bruno, uenoku, ldionne, Tyker, thegameg, tschuett,
dexonsmith, mgorny, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D64146
llvm-svn: 371834
The file was modifiedclang/docs/index.rst
The file was addedclang/lib/AST/Interp/Frame.h
The file was modifiedclang/utils/TableGen/CMakeLists.txt
The file was addedllvm/utils/gn/secondary/clang/lib/AST/Interp/BUILD.gn
The file was addedclang/lib/AST/Interp/Integral.h
The file was addedclang/lib/AST/Interp/InterpFrame.cpp
The file was addedclang/lib/AST/Interp/EvalEmitter.cpp
The file was addedclang/lib/AST/Interp/InterpState.cpp
The file was addedclang/lib/AST/Interp/Pointer.h
The file was addedclang/utils/TableGen/ClangOpcodesEmitter.cpp
The file was modifiedclang/lib/AST/CMakeLists.txt
The file was modifiedclang/utils/TableGen/TableGen.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was addedclang/lib/AST/Interp/Context.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedclang/lib/AST/Interp/Record.h
The file was addedclang/lib/AST/Interp/State.h
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedclang/lib/AST/Interp/ByteCodeExprGen.h
The file was addedclang/lib/AST/Interp/Source.h
The file was addedclang/lib/AST/Interp/Block.cpp
The file was addedclang/lib/AST/Interp/Opcodes.td
The file was modifiedclang/include/clang/Basic/DiagnosticASTKinds.td
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was addedclang/lib/AST/Interp/ByteCodeStmtGen.cpp
The file was addedclang/lib/AST/Interp/Program.h
The file was addedclang/lib/AST/Interp/Interp.h
The file was modifiedllvm/include/llvm/Support/MathExtras.h
The file was addedclang/lib/AST/Interp/ByteCodeExprGen.cpp
The file was addedclang/lib/AST/Interp/State.cpp
The file was modifiedllvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn
The file was addedclang/lib/AST/Interp/PrimType.cpp
The file was addedclang/lib/AST/Interp/ByteCodeEmitter.h
The file was addedclang/lib/AST/Interp/Source.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was addedclang/lib/AST/Interp/ByteCodeGenError.cpp
The file was addedclang/lib/AST/Interp/Frame.cpp
The file was modifiedclang/utils/TableGen/TableGenBackends.h
The file was addedclang/lib/AST/Interp/Function.h
The file was addedclang/lib/AST/Interp/Descriptor.h
The file was addedclang/lib/AST/Interp/Disasm.cpp
The file was addedclang/lib/AST/Interp/ByteCodeGenError.h
The file was addedclang/lib/AST/Interp/PrimType.h
The file was addedclang/include/clang/AST/OptionalDiagnostic.h
The file was addedclang/lib/AST/Interp/InterpState.h
The file was addedclang/test/AST/Interp/cond.cpp
The file was addedclang/lib/AST/Interp/Program.cpp
The file was addedclang/lib/AST/Interp/Boolean.h
The file was addedclang/lib/AST/Interp/Context.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was addedclang/lib/AST/Interp/Interp.cpp
The file was addedclang/lib/AST/Interp/ByteCodeEmitter.cpp
The file was addedclang/lib/AST/Interp/Function.cpp
The file was addedclang/docs/ConstantInterpreter.rst
The file was addedclang/lib/AST/Interp/InterpStack.cpp
The file was addedclang/lib/AST/Interp/Pointer.cpp
The file was addedclang/lib/AST/Interp/Record.cpp
The file was addedclang/lib/AST/Interp/Block.h
The file was addedclang/lib/AST/Interp/InterpFrame.h
The file was addedclang/lib/AST/Interp/EvalEmitter.h
The file was addedclang/lib/AST/Interp/ByteCodeStmtGen.h
The file was addedclang/lib/AST/Interp/Descriptor.cpp
The file was modifiedllvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was addedclang/lib/AST/Interp/Opcode.h
The file was addedclang/lib/AST/Interp/InterpStack.h
Commit 1f644bb163332aee3113da38d4e1621069604acf by Raphael Isemann
[lldb][NFC] Simplify Args::ReplaceArgumentAtIndex
This code is not on any performance critical path that would justify
this shortening optimization. It also makes it possible to turn 'ref'
into a function (as this is the only place where we modify this ArgEntry
member).
llvm-svn: 371836
The file was modifiedlldb/source/Utility/Args.cpp
Commit b7b7f26220c63ff7d62e83a23480c0eb1e3ebbc2 by david.green
[ARM] Add earlyclobber for cross beat MVE instructions
rL367544 added @earlyclobbers for the MVE VREV64 instruction. This adds
the same for a number of other 32bit instructions that are similarly
unpredictable if the destination equals the source (due to the cross
beat nature of the instructions). This includes:
VCADD.f32
VCADD.i32
VCMUL.f32
VHCADD.s32
VMULLT/B.s/u32
VQDMLADH{X}.s32
VQRDMLADH{X}.s32
VQDMLSDH{X}.s32
VQRDMLSDH{X}.s32
VQDMULLT/B.s32 with Qm and Rm
No tests here as this would require intrinsics (or very interesting
codegen) to manifest. The tests will follow naturally as the intrinsics
are added.
Differential Revision: https://reviews.llvm.org/D67462
llvm-svn: 371838
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
Commit 9eaa981e8efd0a7d2230212e9dbc2ce366bcdbb8 by gabor.marton
[ASTImporter] Add development internals docs
Reviewers: a_sidorin, shafik, teemperor, gamesh411, balazske, dkrupp,
a.sidorin
Subscribers: rnkovacs, Szelethus, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66336
llvm-svn: 371839
The file was modifiedclang/docs/InternalsManual.rst
Commit 930ebc15a6398710e84eea16b735721fe4a2c2fd by llvm-dev
[X86] negateFMAOpcode - extend to support FMADDSUB/FMSUBADD and output
negation. NFCI.
Some prep work for PR42863, this change allows us to move all the FMA
opcode mappings into the negateFMAOpcode helper.
For the FMADDSUB/FMSUBADD cases, we can only negate the accumulator -
any other negations will result in an error.
llvm-svn: 371840
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 0d9a201e2624998922f825ebbe01aae0cce4bbd5 by Raphael Isemann
[lldb][NFC] Remove ArgEntry::ref member
The StringRef should always be identical to the C string, so we might as
well just create the StringRef from the C-string. This might be slightly
slower until we implement the storage of ArgEntry with a string instead
of a std::unique_ptr<char[]>. Until then we have to do the additional
strlen on the C string to construct the StringRef.
llvm-svn: 371842
The file was modifiedlldb/source/Commands/CommandObjectMemory.cpp
The file was modifiedlldb/source/Commands/CommandObjectPlugin.cpp
The file was modifiedlldb/source/Commands/CommandObjectBreakpoint.cpp
The file was modifiedlldb/source/Breakpoint/BreakpointIDList.cpp
The file was modifiedlldb/source/Utility/Args.cpp
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/include/lldb/Utility/Args.h
The file was modifiedlldb/source/Interpreter/CommandObject.cpp
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/source/Commands/CommandObjectLog.cpp
The file was modifiedlldb/source/Commands/CommandObjectHelp.cpp
The file was modifiedlldb/source/Commands/CommandObjectSettings.cpp
The file was modifiedlldb/source/Commands/CommandObjectFrame.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
The file was modifiedlldb/source/Interpreter/Options.cpp
The file was modifiedlldb/source/Commands/CommandObjectCommands.cpp
The file was modifiedlldb/source/Commands/CommandObjectMultiword.cpp
The file was modifiedlldb/source/Commands/CommandObjectRegister.cpp
The file was modifiedlldb/source/Commands/CommandObjectSource.cpp
The file was modifiedlldb/source/Commands/CommandObjectThread.cpp
The file was modifiedlldb/source/Commands/CommandObjectType.cpp
The file was modifiedlldb/source/Interpreter/CommandAlias.cpp
The file was modifiedlldb/source/Commands/CommandObjectWatchpoint.cpp
The file was modifiedlldb/source/Commands/CommandObjectProcess.cpp
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/unittests/Utility/ArgsTest.cpp
The file was modifiedlldb/source/Commands/CommandObjectApropos.cpp
The file was modifiedlldb/source/Interpreter/OptionValueDictionary.cpp
Commit ce74c3b19f5b60d427977f21e506c26a3f40bd7f by benny.kra
[Orc] Address the remaining move-capture FIXMEs
This required spreading unique_function a bit more, which I think is a
good thing.
llvm-svn: 371843
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/Legacy.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
The file was modifiedllvm/include/llvm/Support/ThreadPool.h
The file was modifiedllvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RPCSerialization.h
The file was modifiedllvm/include/llvm/ExecutionEngine/RuntimeDyld.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RemoteObjectLayer.h
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/JITSymbol.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
Commit 6baaa4be7831ffacc775b421dbc845d6ca6e89b8 by benny.kra
[Orc] Roll back ThreadPool to std::function
MSVC doesn't allow move-only types in std::packaged_task. Boo.
llvm-svn: 371844
The file was modifiedllvm/include/llvm/Support/ThreadPool.h
The file was modifiedllvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
Commit cd893e5ba575fb1c7f2f39dabe9799708ae89412 by jh7370
[llvm-size] Fix spelling errors (Berkely -> Berkeley)
llvm-svn: 371845
The file was modifiedllvm/tools/llvm-size/llvm-size.cpp
Commit 266f6347dbb837ea9f008b628666c086d0618d5b by benny.kra
[ADT] Make DenseMap use allocate_buffer
This unlocks some goodies like sized deletion and gets the alignment
right on platforms that chose to provide a lower default new alignment.
llvm-svn: 371846
The file was modifiedllvm/include/llvm/ADT/DenseMap.h
Commit b6f4a7a107ee44859bdd2b09e72d64dd0726cf95 by nicolasweber
gn build: (manually) merge r371787
llvm-svn: 371847
The file was modifiedllvm/utils/gn/secondary/clang/tools/libclang/BUILD.gn
The file was addedllvm/utils/gn/secondary/clang/unittests/libclang/CrashTests/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/BUILD.gn
Commit 902e553359eeea14881e8ae6aa28fe28b7bba5c6 by nicolasweber
gn build: Merge r371822
llvm-svn: 371848
The file was modifiedllvm/utils/gn/secondary/compiler-rt/include/BUILD.gn
Commit abc7e2b6004cd693cf3b6dedbc7908e099c7ac6a by nicolasweber
gn build: (manually) merge r371834
llvm-svn: 371849
The file was modifiedllvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
The file was removedllvm/utils/gn/secondary/clang/lib/AST/Interp/BUILD.gn
Commit d4604e057883e412514799722aea66cf27ee8943 by nicolasweber
Revert "gn build: (manually) merge r371834"
This reverts commit abc7e2b6004cd693cf3b6dedbc7908e099c7ac6a. The commit
was incomplete. I'll revert and reland the full commit, so that the
correct change is a single commit.
llvm-svn: 371850
The file was modifiedllvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
The file was addedllvm/utils/gn/secondary/clang/lib/AST/Interp/BUILD.gn
Commit 67503ba556cd4008179491db6d024ec0f9d9c9cd by nicolasweber
gn build: (manually) merge r371834, take 2
llvm-svn: 371851
The file was modifiedllvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn
The file was removedllvm/utils/gn/secondary/clang/lib/AST/Interp/BUILD.gn
Commit d48ea5da94165dbaba14b1281b74994fe970a7e0 by nicolasweber
lld-link: Add a flag /lldignoreenv that makes lld-link ignore env vars.
This is useful for enforcing that builds are independent of the
environment; it can be used when all system library paths are added via
/libpath: already. It's similar ot cl.exe's /X flag.
Since it should also affect %LINK% (the other caller of
`Process::GetEnv` in lld/COFF), the early-option-parsing needs to move
around a bit. The options are:
- Add a manual loop over the argv ArrayRef and look for "/lldignoreenv".
This repeats the name of the flag in both Options.td and in
DriverUtils.cpp.
- Add yet another table.ParseArgs() call just for /lldignoreenv before
adding %LINK%.
- Use the existing early ParseArgs() that's there for --rsp-quoting and
use
it for /lldignoreenv for %LINK% as well. This means --rsp-quoting
and /lldignoreenv can't be passed via %LINK%.
I went with the third approach.
Differential Revision: https://reviews.llvm.org/D67456
llvm-svn: 371852
The file was modifiedlld/COFF/Options.td
The file was modifiedlld/COFF/Driver.h
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/test/COFF/linkenv.test
The file was modifiedlld/docs/ReleaseNotes.rst
The file was modifiedlld/COFF/DriverUtils.cpp
The file was modifiedlld/test/COFF/libpath.test
Commit ab9acda026e4beee458a953f02fd8c342c89ad56 by luke.cheeseman
Fix depfile name construction
- When using -o, the provided filename is using for constructing the
depfile
name (when -MMD is passed).
- The logic looks for the rightmost '.' character and replaces what
comes after
with 'd'.
- This works incorrectly when the filename has no extension and the
directories
have '.' in them (e.g. out.dir/test)
- This replaces the funciton to just llvm::sys::path functionality
Differential Revision: https://reviews.llvm.org/D67542
llvm-svn: 371853
The file was addedclang/test/Driver/metadata-with-dots.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 41f4d68a50beeaeb821baa29b5591a7146b98b05 by nicolasweber
clang-format: Add support for formatting (some) lambdas with explicit
template parameters.
This patch makes cases work where the lambda's template list doesn't
contain any of + - ! ~ / % << | || && ^ == != >= <= ? : true false
(see added FIXME).
Ports r359967 to clang-format.
Differential Revision: https://reviews.llvm.org/D67246
llvm-svn: 371854
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
Commit 818e5c9503a4a0aaa18d3f5c6da5b2c491d58da1 by jh7370
[docs][llvm-objcopy][llvm-strip] Improve --strip-unneeded description
Behaviour was recently added to this switch to strip debug sections too.
See r369761.
This change also makes the description for the --strip-unneeded switch
consistent between the two docs.
Reviewed by: MaskRay
Differential Revision: https://reviews.llvm.org/D67546
llvm-svn: 371855
The file was modifiedllvm/docs/CommandGuide/llvm-objcopy.rst
The file was modifiedllvm/docs/CommandGuide/llvm-strip.rst
Commit b4160cb94c54f0b31d0ce14694950dac7b6cd83f by benny.kra
[ADT] Remove a workaround for old versions of clang
llvm-svn: 371856
The file was modifiedllvm/include/llvm/ADT/DenseMap.h
Commit 455a0db01a04ca28b97f363fc822cbbadf89a59e by Jinsong Ji
[PowerPC][NFC] Move codegen tests to PowerPC from MIR/PowerPC
All tests with -run-pass !=none should not in MIR/, See MIR/README.
``` Tests for codegen passes should NOT be here but in
test/CodeGen/sometarget. As a rule of thumb this directory should only
contain tests using
'llc -run-pass none'.
```
llvm-svn: 371857
The file was addedllvm/test/CodeGen/PowerPC/peephole-miscompile-extswsli.mir
The file was addedllvm/test/CodeGen/PowerPC/ifcvt-diamond-ret.mir
The file was removedllvm/test/CodeGen/MIR/PowerPC/prolog_vec_spills.mir
The file was addedllvm/test/CodeGen/PowerPC/machine-backward-cp.mir
The file was addedllvm/test/CodeGen/PowerPC/prolog_vec_spills.mir
The file was removedllvm/test/CodeGen/MIR/PowerPC/ifcvt-diamond-ret.mir
The file was removedllvm/test/CodeGen/MIR/PowerPC/peephole-miscompile-extswsli.mir
The file was removedllvm/test/CodeGen/MIR/PowerPC/machine-backward-cp.mir
Commit e7e8b51b0314d414ce647ca790186ecbbe567fd7 by nicolasweber
gn build: pacify "gn format" after 371102
llvm-svn: 371858
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
Commit 6d186504216446a1620628057c10bddb9b0b9085 by dallasftball
[Sema][Typo Correction] Fix potential infite loop on ambiguity checks
Summary: This fixes a bug introduced in D62648, where Clang could
infinite loop if it became stuck on a single TypoCorrection when it was
supposed to be testing ambiguous corrections. Although not a common
case, it could happen if there are multiple possible corrections with
the same edit distance.
The fix is simply to wipe the TypoExpr from the `TransformCache` so that
the call to `TransformTypoExpr` doesn't use the `CachedEntry`.
Reviewers: rsmith
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67515
llvm-svn: 371859
The file was addedclang/test/Sema/typo-correction-ambiguity.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
Commit bb69208df851f94bdd51c4f14b1cf54be3ada599 by nicolasweber
Fix a few spellos in docs.
(Trying to debug an incremental build thing on a bot...)
llvm-svn: 371860
The file was modifiedllvm/docs/CommandGuide/llvm-nm.rst
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/docs/SpeculativeLoadHardening.md
The file was modifiedllvm/docs/ORCv2.rst
The file was modifiedllvm/docs/PDB/MsfFile.rst
The file was modifiedllvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst
The file was modifiedllvm/docs/BuildingADistribution.rst
The file was modifiedllvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl07.rst
Commit 8e0f104916f1a69a1351bd623a105633bb183401 by craig.topper
[X86] Use incDecVectorConstant to simplify the min/max code in
LowerVSETCC.
incDecVectorConstant is used for a similar reason in
LowerVSETCCWithSUBUS so we might as well share the code.
llvm-svn: 371861
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit a2497b43e3998d3e4e22380906f0d3bc5c49adff by jh7370
[docs][llvm-readelf][llvm-readobj] Improve --stack-sizes documentation
llvm-readobj's document was missing --stack-sizes entirely from its
document, so this patch adds it. It also adds a note to the llvm-readelf
description that the switch is only implemented for GNU style output
currently. For reference, --stack-sizes was added in r367942.
Reviewed by: MaskRay
Differential Revision: https://reviews.llvm.org/D67548
llvm-svn: 371862
The file was modifiedllvm/docs/CommandGuide/llvm-readelf.rst
The file was modifiedllvm/docs/CommandGuide/llvm-readobj.rst
Commit 24c1ab26331ae218f27659a1a26cc72d8a264482 by eric
Fix build in C++20
llvm-svn: 371863
The file was modifiedlibcxx/src/experimental/memory_resource.cpp
Commit 7b81a13bfcd1d92f478109f1c87971dafba639d2 by mclow.lists
Only initialize the streams cout/wcout/cerr/wcerr etc once, rather than
any time Init::Init is called. Fixes PR#43300
llvm-svn: 371864
The file was modifiedlibcxx/src/iostream.cpp
The file was addedlibcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_Init/ios_Init.multiple.pass.cpp
Commit 850110272783e85bc79d9fad64add5d303a23ad1 by grimar
[yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom
errors handlers.
This is a continuation of the YAML library error reporting
refactoring/improvement and the idea by itself was mentioned in the
following thread:
https://reviews.llvm.org/D67182?id=218714#inline-603404
This performs a cleanup of all object emitters in the library. It allows
using the custom one provided by the caller.
One of the nice things is that each tool can now print its tool name,
e.g: "yaml2obj: error: <text>"
Also, the code became a bit simpler.
Differential revision: https://reviews.llvm.org/D67445
llvm-svn: 371865
The file was modifiedllvm/test/tools/yaml2obj/empty-or-invalid-doc.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/yaml2obj.h
The file was modifiedllvm/lib/ObjectYAML/MachOEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/invalid-docnum.test
The file was modifiedllvm/lib/ObjectYAML/yaml2obj.cpp
The file was modifiedllvm/lib/ObjectYAML/COFFEmitter.cpp
The file was modifiedllvm/unittests/ObjectYAML/MinidumpYAMLTest.cpp
The file was modifiedllvm/test/tools/yaml2obj/coff-invalid-alignment.test
The file was modifiedllvm/lib/ObjectYAML/MinidumpEmitter.cpp
The file was modifiedllvm/test/ObjectYAML/wasm/invalid_section_order.yaml
The file was modifiedllvm/test/tools/yaml2obj/section-size-content.yaml
The file was modifiedllvm/test/tools/yaml2obj/missing_document_tag.yaml
The file was modifiedllvm/lib/ObjectYAML/WasmEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/dynsymtab-implicit-sections-size-content.yaml
The file was modifiedllvm/test/tools/yaml2obj/invalid_output_file.test
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/reloc-sec-info.yaml
The file was modifiedllvm/tools/llvm-ifs/llvm-ifs.cpp
The file was modifiedllvm/tools/yaml2obj/yaml2obj.cpp
The file was modifiedllvm/test/tools/yaml2obj/multi-doc.test
The file was modifiedllvm/unittests/ObjectYAML/YAML2ObjTest.cpp
Commit 69ba3defafa7afc2ddcc0dc0d541334e0220cbb5 by grimar
[lldb] - Update unit tests after lib/ObjectYAML change.
An update after r371865
llvm-svn: 371866
The file was modifiedlldb/unittests/TestingSupport/TestUtilities.cpp
The file was modifiedlldb/unittests/Process/minidump/MinidumpParserTest.cpp
Commit 2a573784f3679a7abab921018eb1c585dce8e669 by eric
Recommit r370502: Make `vector` unconditionally move elements when
exceptions are disabled.
The patch was reverted due to some confusion about non-movable types. ie
types that explicitly delete their move constructors. However, such
types do not meet the requirement for `MoveConstructible`, which is
required by
`std::vector`:
Summary:
`std::vector<T>` is free choose between using copy or move operations
when it needs to resize. The standard only candidates that the correct
exception safety guarantees are provided. When exceptions are disabled
these guarantees are trivially satisfied. Meaning vector is free to
optimize it's implementation by moving instead of copying.
This patch makes `std::vector` unconditionally move elements when
exceptions are disabled. This optimization is conforming according to
the current standard wording.
There are concerns that moving in `-fno-noexceptions`mode will be a
surprise to users. For example, a user may be surprised to find their
code is slower with exceptions enabled than it is disabled. I'm
sympathetic to this surprised, but I don't think it should block this
optimization.
Reviewers: mclow.lists, ldionne, rsmith Reviewed By: ldionne
Subscribers: zoecarver, christof, dexonsmith, libcxx-commits Tags: #libc
Differential Revision: https://reviews.llvm.org/D62228
llvm-svn: 371867
The file was addedlibcxx/test/libcxx/containers/sequences/vector/exception_safety_exceptions_disabled.sh.cpp
The file was modifiedlibcxx/include/memory
The file was removedlibcxx/test/std/containers/sequences/vector/vector.modifiers/resize.copy_only.pass.sh.cpp
The file was modifiedlibcxx/include/vector
The file was addedlibcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp
Commit 14bfb56b1aea586f489aaa71af13bf742873de46 by Jessica Paquette
[AArch64][GlobalISel] Add support for sibcalling callees with varargs
This adds support for tail calling callees with varargs, equivalent to
how it is done in AArch64ISelLowering.
This only works for sibling calls, and does not add the necessary
support for musttail with varargs. (See r345641 for equivalent
ISelLowering support.) This should be implemented when we stop falling
back on musttail.
Update call-translator-tail-call.ll to show that we can now tail call
varargs.
Differential Revision: https://reviews.llvm.org/D67518
llvm-svn: 371868
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/call-translator-tail-call.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
Commit 1d6fb061cf5a0326b11637ee597addb2e2c230d0 by francisvm
[Remarks][NFC] Use StringLiteral for magic numbers
llvm-svn: 371869
The file was modifiedllvm/include/llvm/Remarks/RemarkFormat.h
The file was modifiedllvm/include/llvm/Remarks/BitstreamRemarkContainer.h
Commit d38f63e5f49279a6bd4c9de654686d789f2dd3d7 by francisvm
[Remarks][NFC] Forward declare ParsedStringTable
llvm-svn: 371870
The file was modifiedllvm/include/llvm/Remarks/RemarkStringTable.h
The file was modifiedllvm/unittests/Remarks/YAMLRemarksSerializerTest.cpp
Commit ef163f5a20dcd1f79f66ae2a71d425345e5453ac by dan
[CMake] Separate the detection Darwin platforms architectures for the
built-ins from the rest of compiler-rt.
The detection of supported platform (os) architectures for Darwin relies
on the `darwin_test_archs()` CMake function. This is used both for
building the builtins (`builtin-config-ix.cmake`) and for the rest of
the compiler-rt (`config-ix.cmake`).
`darwin_test_archs()`  implements a cache, presumably to speed up CMake
re-configures.  Unfortunately this caching is buggy because it depends
on external global state (i.e. the `TEST_COMPILE_ONLY` variable) and
this is not taken into account. For `config-ix.cmake`
`TEST_COMPILE_ONLY` is not set and for `builtin-config-ix.cmake`
`TEST_COMPILE_ONLY` is set to `On`.  This makes the
`darwin_test_archs()` function racey in the sense that a call from one
calling context will poison the cache for the other calling context.
This is actually an issue George Karpenkov discovered a while back and
had an incomplete patch for (https://reviews.llvm.org/D45337) but this
was never merged.
To workaround this, this patch switches to using a different set of
variables for the platform architecture builtins, i.e.
`DARWIN_<OS>_ARCHS` -> `DARWIN_<OS>_BUILTIN_ARCHS`. This avoids the
cache poisoning problem because the cached variable names are different.
This also has the advantage that the the configured architectures for
builtins and the rest of the compiler-rt are now independent and can be
set differently if necessary.
Note in `darwin_test_archs()` we also now pass `-w` to the compiler
because `try_compile_only()` treats compiler warnings as errors.  This
was extremely fragile because compiler warnings (can easily appear due
to a buggy compiler or SDK headers) would cause compiler-rt to think an
architecture on Darwin wasn't supported.
rdar://problem/48637491
llvm-svn: 371871
The file was modifiedcompiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
The file was modifiedcompiler-rt/cmake/builtin-config-ix.cmake
Commit 713da8db39bb4cd1f9a1a5e67b255f6156e8929d by dan
Fix bug in `darwin_test_archs()` when the cache variable is set but
empty.
Summary: If the cache variable named in `${valid_archs}` (e.g.
`DARWIN_osx_BUILTIN_ARCHS`) is set in the cache but is empty then the
cache check
`if(${valid_archs})` will be false so the function will probe the
compiler but the `set(...)` command at the end of the function to update
the cache variable will be a no-op. This is because `set(...)` will not
update an existing cache variable unless the `FORCE` argument is
provided.
To fix this this patch adds `FORCE` so the cache is always updated.
rdar://problem/55323665
Reviewers: vsk, kubamracek
Subscribers: mgorny, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D67530
llvm-svn: 371872
The file was modifiedcompiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
Commit 9ff70132bf89e213f45e54cd2d79a611d14b3d0b by Alexander.Timofeev
Revert for: [AMDGPU]: PHI Elimination hooks added for custom COPY
insertion.
llvm-svn: 371873
The file was removedllvm/test/CodeGen/AMDGPU/phi-elimination-end-cf.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/phi-elimination-assertion.mir
The file was modifiedllvm/lib/CodeGen/PHIElimination.cpp
Commit 7ff9a9353c24c9da28ad7719c34d859c7009fafa by eric
Fix failing negative compilation test for some versions of Clang
llvm-svn: 371874
The file was modifiedlibcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp
Commit 6a24e8068052cd6b48295959ec4c44eb2ef819c5 by erich.keane
[NFCI]Create CommonAttributeInfo Type as base type of *Attr and
ParsedAttr.
In order to enable future improvements to our attribute diagnostics,
this moves info from ParsedAttr into CommonAttributeInfo, then makes
this type the base of the *Attr and ParsedAttr types. Quite a bit of
refactoring took place, including removing a bunch of redundant Spelling
Index propogation.
Differential Revision: https://reviews.llvm.org/D67368
llvm-svn: 371875
The file was addedclang/include/clang/Basic/AttributeCommonInfo.h
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/include/clang/Lex/Preprocessor.h
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaStmtAttr.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/utils/TableGen/ClangAttrEmitter.cpp
The file was modifiedclang/lib/Parse/Parser.cpp
The file was modifiedclang/lib/Lex/PPDirectives.cpp
The file was modifiedclang/lib/Lex/PPLexerChange.cpp
The file was modifiedclang/lib/Lex/Pragma.cpp
The file was modifiedclang/lib/Sema/ParsedAttr.cpp
The file was modifiedclang/lib/Parse/ParsePragma.cpp
The file was modifiedclang/include/clang/AST/Attr.h
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/include/clang/Sema/ParsedAttr.h
The file was modifiedclang/lib/Sema/SemaObjCProperty.cpp
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
Commit f9cd381fdfe582734c4533882a8cdde4a880c780 by erich.keane
Fix build error in 371875
Apparently Clang complains about the name hiding here in a way that my
GCC build does not, so a shocking number of buildbots decided to tell me
about it.  Change the name of the variable to prevent the name hiding
and hope we don't have to fix this again.
llvm-svn: 371876
The file was modifiedclang/utils/TableGen/ClangAttrEmitter.cpp
Commit 4cb267f9f5ffed2bbc495ff577287e1d970eba7e by lebedev.ri
[NFC][InstSimplify] Add some more tests for D67498/D67502
llvm-svn: 371877
The file was modifiedllvm/test/Transforms/InstSimplify/result-of-usub-is-non-zero-and-no-overflow.ll
The file was modifiedllvm/test/Transforms/InstSimplify/result-of-add-of-negative-is-non-zero-and-no-underflow.ll
Commit 41d9d5092a17e60615077da6ef22b4f5cfae2c2e by manojgupta
Reland r371785: Add -Wpoison-system-directories warning
When using clang as a cross-compiler, we should not use system headers
to do the compilation. This CL adds support of a new warning flag
-Wpoison-system-directories which emits warnings if --sysroot is set and
headers from common host system location are used. By default the
warning is disabled.
The intention of the warning is to catch bad includes which are usually
generated by third party build system not targeting cross-compilation.
Such cases happen in Chrome OS when someone imports a new package or
upgrade one to a newer version from upstream.
This is reland of r371785 with a fix to test file.
Patch by: denik (Denis Nikitin)
llvm-svn: 371878
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was modifiedclang/lib/Frontend/InitHeaderSearch.cpp
The file was addedclang/test/Frontend/warning-poison-system-directories.c
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/include/.keep
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/lib/.keep
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/include/c++/.keep
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/lib/.keep
The file was addedclang/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/lib/gcc/.keep
Commit 4ba6717c7e566f3d99122e6b98ae69d560fbb105 by spatel
[SLP] add test for vectorization of constant expressions; NFC
Goes with D67362.
llvm-svn: 371879
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/consecutive-access.ll
Commit ffe8916cf2f6125caa866e636126c81cddf277eb by eric
Fix various test failures with GCC
llvm-svn: 371880
The file was modifiedlibcxx/include/type_traits
The file was modifiedlibcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp
The file was modifiedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp
Commit 75c9eb5ab23554cc1bbb377d06e3197ccc10b589 by eric
Update XFAIL list for new GCC versions
llvm-svn: 371881
The file was modifiedlibcxxabi/test/catch_member_function_pointer_02.pass.cpp
Commit 646a893f1583ecd8af57773bf4cb717a663d92d2 by amccarth
Fix error in ProcessLauncherWindows.cpp
Restored missing parens on a function call.
llvm-svn: 371882
The file was modifiedlldb/source/Host/windows/ProcessLauncherWindows.cpp
Commit 52a89cc07d80858a329c54077b593429b64bf988 by Tim Northover
AArch64: fix EXPENSIVE_CHECKS for arm64_32.
For some reason I'd decided to mark the end-result of a GOT load as
dead. It's clearly not (necessarily).
llvm-svn: 371883
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
Commit 556027085583470dc0db1c821ecdf1b5c1804154 by eric
Fix pretty printer test with GCC
llvm-svn: 371884
The file was modifiedlibcxx/test/pretty_printers/gdb_pretty_printer_test.sh.cpp
Commit 449ca01bac853efbf7d4434784af8457f2e0678f by Jonas Devlieghere
[Reproducer] Include the this pointer in the API log.
The new centralized way of doing API logging through the reproducer
macros is lacking a way to easily correlate instances of API objects.
Logging the this pointer makes that significantly easier. For methods
this is now always passed as the first argument, similar to the self
argument in Python.
This patch also adds a test case for API logging, which uncovered that
we were not quoting strings.
Differential revision: https://reviews.llvm.org/D67538
llvm-svn: 371885
The file was addedlldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
Commit e210c0383bef30dd3d3be18ac4148299303421bd by eric
Mark [[nodiscard]] test as unsupported with GCC 5
llvm-svn: 371886
The file was modifiedlibcxx/test/libcxx/thread/thread.lock/thread.lock.guard/nodiscard.fail.cpp
Commit d93e136be14c49e612bbf7e4e0a388409a93295c by sebpop
[aarch64] move custom isel of extract_vector_elt to td file - NFC
In preparation for def-pat selection of dot product instructions, this
patch moves the custom instruction selection of extract_vector_elt to
the td file. Without this change it is impossible to catch a pattern
that starts with an extract_vector_elt: the custom cpp code is executed
first ahead of the patterns in the td files that are only executed at
the end of the switch statement in SelectCode(Node).
With this patch applied, it becomes possible to select a different
pattern that starts with extract_vector_elt by selecting a higher
complexity than this pattern.
The patch has been tested on aarch64-linux with make check-all.
Differential Revision: https://reviews.llvm.org/D67497
llvm-svn: 371887
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
Commit ed73d4aba87db88afb3e41a8edccf7b768c3a589 by kevin.neal
[FPEnv] Document that constrained FP intrinsics cannot be mixed with
non-constrained
Reviewed by: andrew.w.kaylor, cameron.mcinally, uweigand Approved
by: andrew.w.kaylor Differential Revision:
https://reviews.llvm.org/D67360
llvm-svn: 371888
The file was modifiedllvm/docs/LangRef.rst
Commit c6ffefd2d1a95b7312741fbd3a9972e5f918173b by d4m1887
[Docs] Bug fix for reference to nonexistent document
This commit fixes a bug in which the toctree contained a reference to a
non-existent document.
llvm-svn: 371889
The file was modifiedllvm/docs/index.rst
Commit f69c91780fbb0e9c0e95f70a079f578efdca0bfa by Jan Korous
[Support] Add overload writeFileAtomically(std::function Writer)
Differential Revision: https://reviews.llvm.org/D67424
llvm-svn: 371890
The file was modifiedllvm/include/llvm/Support/FileUtilities.h
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
The file was modifiedllvm/lib/Support/FileUtilities.cpp
The file was modifiedclang/lib/Serialization/GlobalModuleIndex.cpp
The file was modifiedclang/lib/Frontend/ASTUnit.cpp
The file was modifiedclang-tools-extra/clangd/index/BackgroundIndexStorage.cpp
The file was modifiedlldb/tools/lldb-server/lldb-platform.cpp
Commit d158cf64d64b6b1882fd8f09e5d8619cb8529a5f by a.bataev
[OPENMP5.0]Add basic support for declare variant directive.
Added basic support for declare variant directive and its match clause
with user context selector.
llvm-svn: 371892
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was addedclang/test/OpenMP/declare_variant_messages.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was addedclang/test/OpenMP/declare_variant_messages.c
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
Commit 727328ab63b20ac275626d793e870a6d0a33cda2 by Jessica Paquette
[AArch64][GlobalISel] Tail call memory intrinsics
Because memory intrinsics are handled differently than other calls, we
need to check them for tail call eligiblity in the legalizer. This
allows us to still inline them when it's beneficial to do so, but also
tail call when possible.
This adds simple tail calling support for when the intrinsic is followed
by a return.
It ports the attribute checks from
`TargetLowering::isInTailCallPosition` into a similarly-named function
in LegalizerHelper.cpp. The target-specific
`isUsedByReturnOnly` hook is not ported here.
Update tailcall-mem-intrinsics.ll to show that GlobalISel can now tail
call memory intrinsics.
Update legalize-memcpy-et-al.mir to have a case where we don't tail
call.
Differential Revision: https://reviews.llvm.org/D67566
llvm-svn: 371893
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/tailcall-mem-intrinsics.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-memcpy-et-al.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
Commit cb9216b908de7f7088b9135b6c7453cb0efb9be7 by eric
Fix C++03 build failures due to >>
llvm-svn: 371894
The file was modifiedlibcxx/include/type_traits
Commit 2f9b2eb4b7262c4ea0e6878dd0361e114270fc11 by francisvm
[llvm-opt-report] Improve error handling
* std::move the error extracted from the parsing creation to avoid
asserts
* print a newline after the error message
* create the parser from the metadata
llvm-svn: 371895
The file was modifiedllvm/tools/llvm-opt-report/OptReport.cpp
Commit fc637d03b18c54ca9cc16ccb06f33e3c8b8715d6 by timshen91
Fix test to use %t for newly created files.
This is both for consistency with other `mkdir`s in tests, and fixing
permission issues with the non-temporary cwd during testing (they are
not always writable).
llvm-svn: 371897
The file was modifiedclang/test/Driver/metadata-with-dots.c
Commit fe4dc2e7132492a970ac60d725dea686ffe5f779 by sanjoy
Add dependency from Orc to Passes
Summary: Orc uses registerFunctionAnalyses that's defined in Passes.
Reviewers: dblaikie
Subscribers: mcrosier, bixia, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67477
llvm-svn: 371898
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLVMBuild.txt
Commit a3e27633a839cf1c45b640f88e00530c59f10e8d by Jonas Devlieghere
[test] Print the log output on failure.
This ensures that if the assertion fails we dump the log content. This
should help me investigate what the output looks like on Windows, where
the test is failing.
llvm-svn: 371899
The file was modifiedlldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py
Commit aa89c5ffc30f5a45f3766b8e787a4deb38741e94 by Steven Wu
[NFC][libLTO] Rearrange declaration in lto.h
Summary: Rearrange the function declaration in lto.h so they falls in
the correct doxygen group.
Reviewers: tejohnson, bd1976llvm, deadalnix
Reviewed By: tejohnson
Subscribers: mehdi_amini, inglorion, jkorous, dexonsmith, ributzka,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67565
llvm-svn: 371900
The file was modifiedllvm/include/llvm-c/lto.h
Commit 02bcc86b08dc1f50be401240307d6819483ca822 by aemerson
[GlobalISel] Fix insertion point of new instructions to be after PHIs.
For some reason we sometimes insert new instructions one instruction
before the first non-PHI when legalizing. This can result in having
non-PHI instructions before PHIs, which mean that PHI elimination
doesn't catch them.
Differential Revision: https://reviews.llvm.org/D67570
llvm-svn: 371901
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-phi.mir
Commit 573863ea180b7ce73dda4e019ad94fddf2222363 by timshen91
[LLDB] Add missing breaks for switch statement
llvm-svn: 371902
The file was modifiedlldb/tools/lldb-server/lldb-platform.cpp
Commit ee30b0ecc245a5c50e47de19fa21491b50427ae2 by Alex Lorenz
[clang-scan-deps] Fix for headers having the same name as a directory
Scan deps tool crashes when called on a C++ file, containing an include
that has the same name as a directory. The tool crashes since it finds
foo/dir and tries to read that as a file and fails.
Patch by: kousikk (Kousik Kumar)
Differential Revision: https://reviews.llvm.org/D67091
llvm-svn: 371903
The file was modifiedclang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
The file was addedclang/test/ClangScanDeps/Inputs/headerwithdirname.json
The file was addedclang/test/ClangScanDeps/Inputs/foodir
The file was addedclang/test/ClangScanDeps/headerwithdirname.cpp
Commit 8607b93eabacd5d72f8a6df330e1c70425f4e097 by douglas.yung
Make test check position independent as they sometimes come out
reversed. NFCI.
llvm-svn: 371904
The file was modifiedclang/test/Index/crash-recovery-modules.m
Commit 61dc038f8de01ce765387fa06d8cd5d9276cf62f by Jonas Devlieghere
[test] Update TestAPILog to pass on Windows.
The pretty function macro is including __cdecl on Windows, which was
causing the pattern matching to fail. This should fix that.
llvm-svn: 371905
The file was modifiedlldb/packages/Python/lldbsuite/test/api/log/TestAPILog.py
Commit ae530c5c80048ad3802cb1ed0fde77b6adf0fe57 by tlively
[WebAssembly] Narrowing and widening SIMD ops
Summary: Implements target-specific LLVM intrinsics and clang builtins
for these new SIMD operations, as described at
https://github.com/WebAssembly/simd/blob/master/proposals/simd/SIMD.md#integer-to-integer-narrowing.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish,
cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D67425
llvm-svn: 371906
The file was modifiedclang/test/CodeGen/builtins-wasm.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-intrinsics.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsWebAssembly.td
The file was modifiedclang/include/clang/Basic/BuiltinsWebAssembly.def
The file was modifiedllvm/test/MC/WebAssembly/simd-encodings.s
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
Commit ff5225bfb634369e907c889e16cbee36b260362a by Jonas Devlieghere
[Reproducer] Move GDB Remote Packet into Utility. (NFC)
To support dumping the reproducer's GDB remote packets, we need the
(de)serialization logic to live in Utility rather than the GDB remote
plugin. This patch renames StreamGDBRemote to GDBRemote and moves the
relevant packet code there.
Its uses in the GDBRemoteCommunicationHistory and the
GDBRemoteCommunicationReplayServer are updated as well.
Differential revision: https://reviews.llvm.org/D67523
llvm-svn: 371907
The file was addedlldb/source/Utility/GDBRemote.cpp
The file was removedlldb/include/lldb/Utility/StreamGDBRemote.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
The file was modifiedlldb/source/Utility/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
The file was addedlldb/include/lldb/Utility/GDBRemote.h
The file was modifiedlldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was removedlldb/source/Utility/StreamGDBRemote.cpp
Commit 97fc8eb4382e5cb0af67d82bc108620f32746326 by Jonas Devlieghere
[Reproducer] Add reproducer dump command.
This adds a reproducer dump commands which makes it possible to inspect
a reproducer from inside LLDB. Currently it supports the Files, Commands
and Version providers. I'm planning to add support for the GDB Remote
provider in a follow-up patch.
Differential revision: https://reviews.llvm.org/D67474
llvm-svn: 371909
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
The file was modifiedlldb/lit/Reproducer/Inputs/FileCapture.in
The file was addedlldb/lit/Reproducer/TestDump.test
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
Commit 4f3a4a8ca2f141bc32070c84b9bd29a5e2a66aa4 by dblaikie
Bugpoint: Remove some unnecessary c_str conversions on the journey to
StringRef
llvm-svn: 371910
The file was modifiedllvm/tools/bugpoint/ToolRunner.cpp
Commit c45fd0cad428f531c30f0629852aab2fcebe7b47 by pozulp.llvm
[llvm-objcopy] Add support for response files in llvm-strip and
llvm-objcopy
Summary: Addresses https://bugs.llvm.org/show_bug.cgi?id=42671
Reviewers: jhenderson, espindola, alexshap, rupprecht
Reviewed By: jhenderson
Subscribers: seiya, emaste, arichardson, jakehehrlich, MaskRay,
abrachet, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65372
llvm-svn: 371911
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/help-message.test
The file was addedllvm/test/tools/llvm-objcopy/ELF/response-file.test
The file was modifiedllvm/docs/CommandGuide/llvm-objcopy.rst
The file was modifiedllvm/docs/CommandGuide/llvm-strip.rst
The file was modifiedllvm/tools/llvm-objcopy/llvm-objcopy.cpp
Commit 8a468031cd0b088d0f0b01df72d981885a6d4e89 by maskray
[llvm-ar] Uncapitalize error messages and delete full stop
Most GNU binutils don't append full stops in error messages. This
convention has been adopted by a bunch of LLVM binary utilities. Make
llvm-ar follow the convention as well.
Reviewed By: grimar
Differential Revision: https://reviews.llvm.org/D67558
llvm-svn: 371912
The file was modifiedllvm/test/tools/llvm-ar/insert-before.test
The file was modifiedllvm/test/Object/mri4.test
The file was modifiedllvm/test/tools/llvm-ar/read-only-archive.test
The file was modifiedllvm/test/tools/llvm-ar/mri-addlib.test
The file was modifiedllvm/test/Object/archive-format.test
The file was modifiedllvm/test/tools/llvm-ar/print.test
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
The file was modifiedllvm/test/Object/archive-update.test
The file was modifiedllvm/test/Object/mri5.test
The file was modifiedllvm/test/tools/llvm-ar/count.test
The file was modifiedllvm/test/tools/llvm-ar/move-before.test
The file was modifiedllvm/test/tools/llvm-ar/invalid-command-line.test
The file was modifiedllvm/test/Object/mri2.test
The file was modifiedllvm/test/tools/llvm-ar/move-after.test
The file was modifiedllvm/test/Object/archive-extract.test
The file was modifiedllvm/test/tools/llvm-ar/move.test
The file was modifiedllvm/test/tools/llvm-ar/quick-append.test
The file was modifiedllvm/test/Object/mri3.test
The file was modifiedllvm/test/tools/llvm-ar/insert-after.test
The file was modifiedllvm/test/tools/llvm-ar/replace.test
Commit ba53030dd0938902dd858f7eac45732295e74120 by maskray
[llvm-objcopy] Default --output-target to --input-target when
unspecified
Fixes PR42171.
In GNU objcopy, if -O (--output-target) is not specified, the value is
copied from -I (--input-target).
``` objcopy -I binary -B i386:x86-64 a.txt b       # b is copied from
a.txt llvm-objcopy -I binary -B i386:x86-64 a.txt b  # b is an x86-64
object file
```
This patch changes our behavior to match GNU. With this change, we can
delete code related to -B handling (D67215).
Reviewed By: jakehehrlich
Differential Revision: https://reviews.llvm.org/D67144
llvm-svn: 371913
The file was removedllvm/test/tools/llvm-objcopy/ELF/binary-input-arch.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/new-symbol-visibility.test
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-input-error.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-input.test
The file was addedllvm/test/tools/llvm-objcopy/ELF/binary-output-target.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-input-and-output.test
Commit 2f519d7072bf48a81985fadc2dc145296d612223 by maskray
[llvm-objcopy] Ignore -B --binary-architecture=
GNU objcopy documents that -B is only useful with architecture-less
input (i.e. "binary" or "ihex"). After D67144, -O defaults to -I, and
-B is essentially a NOP.
* If -O is binary/ihex, GNU objcopy ignores -B.
* If -O is elf*, -B provides the e_machine field in GNU objcopy.
So to convert a blob to an ELF, `-I binary -B i386:x86-64 -O
elf64-x86-64` has to be specified.
`-I binary -B i386:x86-64 -O elf64-x86-64` creates an ELF with its
e_machine field set to EM_NONE in GNU objcopy, but a regular x86_64 ELF
in elftoolchain elfcopy. Follow the elftoolchain approach (ignoring -B)
to simplify code. Users that expect their command line portable should
specify -B.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D67215
llvm-svn: 371914
The file was modifiedllvm/docs/CommandGuide/llvm-objcopy.rst
The file was modifiedllvm/tools/llvm-objcopy/ObjcopyOpts.td
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-input-error.test
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.h
The file was modifiedllvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.h
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.cpp
Commit e7c6f97039a4c9acee583af9d0e7aac94762d8ac by jdoerfert
[Attributor][Fix] Use right type to replace expressions
Summary: This should be obsolete once the functionality in D66967 is
integrated.
Reviewers: uenoku, sstefan1
Subscribers: hiraditya, bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67231
llvm-svn: 371915
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
Commit 4b191770f49fce1839fc3b3cabdea4c7eab60be1 by mingjie.xing
[ScheduleDAGMILive] Fix typo in comment.
Differential Revision: https://reviews.llvm.org/D67478
llvm-svn: 371916
The file was modifiedllvm/lib/CodeGen/MachineScheduler.cpp
Commit 6fe3d36768bc9323906a4a367371f98e0558a0a1 by maskray
[Driver] Improve Clang::getDependencyFileName and its tests after
rC371853
The test file name metadata-with-dots.c is confusing because -MD and
-MMD have nothing to do with metadata.
llvm-svn: 371917
The file was removedclang/test/Driver/m_and_mm.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedclang/test/Driver/m-and-mm.c
The file was removedclang/test/Driver/metadata-with-dots.c
Commit 55abd2b2956f91e3f69b375b22ab0f848e08aa20 by maskray
[Driver] Fix multiple bugs related to dependency file options: -M -MM
-MD -MMD -MT -MQ
-M -o test.i => dependency file is test.d, not test.i
-MM -o test.i => dependency file is test.d, not test.i
-M -MMD => bogus warning -Wunused-command-line-argument
-M MT dummy => -w not rendered
llvm-svn: 371918
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/Driver/m-and-mm.c
Commit 8f6d40e9b1856eb5b6462252b6994635b730b02a by maskray
[clang-scan-deps] Add -M to work around -MT issue after r371918
gcc will complain if -MT is used but neither -M nor -MM is specified:
> cc1: error: to generate dependencies you must specify either -M or -MM
r371918 changed our behavior to match GCC, but apparently
clang-scan-deps is not happy.
llvm-svn: 371920
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp
Commit 9c5a4a4527bc6c06b0f889501aa48aa23ccb90a5 by lebedev.ri
[InstSimplify] simplifyUnsignedRangeCheck(): handle few tautological
cases (PR43251)
Summary: This is split off from D67356, since these cases produce a
constant, no real need to keep them in instcombine.
Alive proofs: https://rise4fun.com/Alive/u7Fk
https://rise4fun.com/Alive/4lV
https://bugs.llvm.org/show_bug.cgi?id=43251
Reviewers: spatel, nikic, xbolva00
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67498
llvm-svn: 371921
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/result-of-usub-is-non-zero-and-no-overflow.ll
Commit 9060643380b3c66233dbce64489fce1916a48d98 by jan.kratochvil
[lldb] Code cleanup: FormattersContainer.h: Use range-based for loops.
Suggested for an other loop by Pavel Labath in:
https://reviews.llvm.org/D66654#inline-605808
llvm-svn: 371922
The file was modifiedlldb/include/lldb/DataFormatters/FormattersContainer.h
Commit b743e94cdca985cb676049290af4f49b6e49572f by llvm-dev
[TargetLowering] SimplifyDemandedBits - add EXTRACT_SUBVECTOR support.
Call SimplifyDemandedBits on the source vector.
llvm-svn: 371923
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-mul.ll
Commit b8185153f35446c2a8db48ee711d2fb577674c18 by david.bolvansky
[Diagnostics] Added silence note for -Wsizeof-array-div; suggest extra
parens
llvm-svn: 371924
The file was modifiedclang/test/Sema/div-sizeof-array.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 6bc1236d395187334051b99e2fcd715a54753f33 by eric
Add debug check for null pointers passed to <string_view>
llvm-svn: 371925
The file was modifiedlibcxx/include/__string
The file was addedlibcxx/test/libcxx/debug/db_string_view.pass.cpp
The file was modifiedlibcxx/include/string_view
Commit 34b6f49c2ca4491a3a3ee520ea5919b8e7aeb459 by nicolasweber
compiler-rt/builtins: Make check-builtins run tests on macOS.
Differential Revision: https://reviews.llvm.org/D66984
llvm-svn: 371926
The file was modifiedcompiler-rt/test/builtins/Unit/lit.cfg.py
The file was modifiedcompiler-rt/test/builtins/CMakeLists.txt
Commit c7d8cc48c139232ddaae67cb6a09061bcd79b7ab by nicolasweber
lld-link: Make Options.td formatting more self-consistent.
Also tighten up help strings for /force, --start-lib, and --end-lib.
Differential Revision: https://reviews.llvm.org/D67457
llvm-svn: 371927
The file was modifiedlld/COFF/Options.td
Commit 60aadd19cbffc3793476a14d2e3529214119e2f5 by jmolloy
[CodeEmitter] Support instruction widths > 64 bits
Some VLIW instruction sets are Very Long Indeed. Using uint64_t
constricts the Inst encoding to 64 bits (naturally).
This change switches CodeEmitter to a mode that uses APInts when Inst's
bitwidth is > 64 bits (NFC for existing targets).
When Inst.BitWidth > 64 the prototype changes to:
  void TargetMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
                                               
SmallVectorImpl<MCFixup> &Fixups,
                                                 APInt &Inst,
                                                 APInt &Scratch,
                                                 const MCSubtargetInfo
&STI);
The Inst parameter returns the encoded instruction, the Scratch
parameter is used internally for manipulating operands and is exposed so
that the underlying storage can be reused between calls to
getBinaryCodeForInstr. The goal is to elide any APInt constructions that
we can.
Similarly the operand encoding prototype changes to:
  getMachineOpValue(const MCInst &MI, const MCOperand &MO, APInt &op,
SmallVectorImpl<MCFixup> &Fixups, const MCSubtargetInfo &STI);
That is, the operand is passed by reference as APInt rather than
returned as uint64_t.
To reiterate, this APInt mode is enabled only when Inst.BitWidth > 64,
so this change is NFC for existing targets.
llvm-svn: 371928
The file was modifiedllvm/test/TableGen/RegisterEncoder.td
The file was modifiedllvm/utils/TableGen/CodeEmitterGen.cpp
The file was addedllvm/test/TableGen/BigEncoder.td
Commit a088b95f89176b87553d68f3ffbe1f7cba4cefb5 by jmolloy
[CodeEmitter] Improve testing for APInt encoding
I missed Artem's comment in D67487 before committing.
Differential Revision: https://reviews.llvm.org/D67487
llvm-svn: 371929
The file was modifiedllvm/test/TableGen/BigEncoder.td
Commit 06b309d5274951a9c3c37598afece51b3948e2a4 by david.green
[ARM] Simplify and update vmla test. NFC
llvm-svn: 371930
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vmla.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vmaxv.ll
Commit b6a0faaa0c793aede7911be241b1895a9ebea41c by spatel
[SLP] limit vectorization of Constant subclasses (PR33958)
This is a fix for: https://bugs.llvm.org/show_bug.cgi?id=33958
It seems universally true that we would not want to transform this kind
of sequence on any target, but if that's not correct, then we could view
this as a target-specific cost model problem. We could also white-list
ConstantInt, ConstantFP, etc. rather than blacklist Global and
ConstantExpr.
Differential Revision: https://reviews.llvm.org/D67362
llvm-svn: 371931
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/consecutive-access.ll