Changes

Summary

  1. [bazel] Add missing dependency after 713f85d5952ab27d474aba2a960a893b7e7e438d (details)
  2. [gn build] port b1356504e63ae (c++17) (details)
  3. [gn build] port b1356504e63ae better (c++17) (details)
  4. [mlir][tblgen] Refact mlir-tblgen main into its own library (details)
  5. [llvm] Remove uses of deprecated `std::iterator` (details)
  6. [gn build] Try to fix build on linux after std=c++17 switch (details)
  7. [gn build] fix 547c551925c8f4dd (details)
  8. [PowerPC] fix stack size allocated for float point argument (details)
  9. [NFC] add test cases for D123366 (details)
  10. [libc++] Implement `operator<=>` for `unique_ptr` (details)
  11. [libc++] Remove `operator!=` from `type_info` in C++20 (details)
  12. [bazel] Port 1c5a50e32815a49a41d79ff529ca8611ee49c5c8 (details)
  13. Update the status of some more C DRs (details)
  14. [mlir, flang] Use has_value instead of hasValue (NFC) (details)
  15. Use value instead of getValue (NFC) (details)
  16. [RDF] Remove explicit template arguments from Print (details)
  17. [bolt] silence unused variables warnings (details)
  18. [RDF] Use default TargetOperandInfo if not given in constructor (details)
  19. clang: fix typo availbility (details)
  20. [bazel] Switch to C++17 (details)
  21. clang/cmake: Drop use of llvm-config for LLVM install discovery (details)
  22. lld/cmake: Drop use of llvm-config for LLVM install discovery (details)
  23. [Clang][OpenMP] Fix the issue that `llvm.lifetime.end` is emitted too early for variables captured in linear clause (details)
  24. [ADT] Fix signature of StringSet::insert (details)
  25. [clang-tidy] Fix g++ -DCMAKE_CXX_STANDARD=17 build (details)
  26. Revert "[lld-macho] Work around odr-use of const non-inline static data member to fix -O0 build after D128298" (details)
  27. Revert "[SampleProfileInference] Work around odr-use of const non-inline static data member to fix -O0 builds after D120508" (details)
  28. [lld] LLVM_FALLTHROUGH => [[fallthrough]]. NFC (details)
  29. [llvm] LLVM_NODISCARD => [[nodiscard]]. NFC (details)
  30. [mlir][tosa] Flip to prefixed form. (details)
  31. [clang][docs] use `Fixes` instead of `This fixes` in ReleaseNotes [NFC] (details)
  32. [MLIR] Add MlirValue to PybindAdapters (details)
  33. [LLDB][NFC] Reliability fixes to TCPSocket code (details)
  34. [llvm] Drop unnecessary const from return types (NFC) (details)
  35. [mlir] Remove redundaunt return statements (NFC) (details)
  36. [llvm] Fix comment typos (NFC) (details)
  37. [Target] Remove unused forward declarations (NFC) (details)
  38. Use llvm::is_contained (NFC) (details)
  39. [x86] Remove unused declaration processWaitCnt (NFC) (details)
  40. [llvm] Use range-based for loops (NFC) (details)
  41. Added warning about outdated feature into Kaleidoscope tutorial text (details)
  42. [demangler] Add getters for Qual/Vector/Pointer types (details)
  43. [mlir] Make use of C++17 language features (details)
  44. [libc++][test] Fix MSVC warnings C6054, C6001, C4242 in format_tests.h (details)
  45. [Polly] Generalize the pattern matching to the case of tensor contractions (details)
  46. [ARM] Regenerate vector_store.ll tests. NFC (details)
  47. [mlir] Flip to prefixed accessors (NFC) (details)
  48. [Polly] Suppress the LLVM-IR output for pattern matching tests, if there is no FileCheck-ing for it. (details)
  49. Revert "[RDF] Remove explicit template arguments from Print" (details)
  50. [clang-tidy] Fix a forwarding-reference-overload crash after the (details)
  51. [polly] Fixed a number of typos. NFC (details)
  52. [mlir] Flip to prefixed accessors (NFC) (details)
  53. [flang] Allow pure function references in expandable scalar (details)
  54. [X86] Add test case to recombine LEA from OR. (details)
  55. [clang][CodeGen] Factor out Swift ABI hooks (NFCI) (details)
  56. [ORC-RT] Drop __orc_rt::string_view now that we have c++17. (details)
  57. [JITLink] Fix some C++17 related fixmes. (details)
  58. [InstCombine] add tests for bitwise logic; NFC (details)
  59. [ConstFolding] fix overzealous assert when converting FP half (details)
  60. [mlir] Fix a warning (details)
  61. [libc++][NFC] Fix `the the` in comment in `__format/buffer.h` (details)
  62. [lldb] Dynamically generate enum names in lldbutil (details)
  63. [lldb] Fix formatting in python-reference.rst (details)
  64. [lldb] Hoist TraceOn check out of loop (NFC) (details)
  65. [ORC-RT] Remove a stray __orc_rt::string_view helper. (details)
  66. [ADT] Deprecate Optional::{hasValue,getValue} (NFC) (details)
  67. [mlir] Use value instead of getValue (details)
  68. Revert "[JITLink] Fix some C++17 related fixmes." (details)
  69. [flang][runtime] Catch & report attempts at recursive I/O (details)
  70. [InstSimplify] add test for over-shift of scalable vector; NFC (details)
  71. [InstSimplify] fold scalable vectors with over-shift splat constant to poison (details)
  72. [lldb] Use single-argument static_assert where applicable (NFC) (details)
  73. [ORC-RT] Fix missing #include <string_view>s. (details)
  74. [flang] Allow assignment to host association in BLOCK in PURE subprogram (details)
  75. [mlir][python] Address deprecation warning for hasValue (details)
  76. [mlir] fix `add_tablegen()` macro to allow installing mlir-pdll (details)
  77. [flang] Handle subnormals while folding SCALE, SET_EXPONENT, & FRACTION (details)
  78. [Support] move llvm::llvm_is_multithread to header, NFC (details)
  79. [RISCV] Support fe_getround and fe_raise_inexact in builtins (details)
  80. [gn build] (manually) port ace6e172bd2c (details)
  81. [M68k] Add MC support for link/unlk (details)
  82. [llvm-ar] Remove unused parameter. NFC (details)
  83. [LoongArch] Support for varargs (details)
  84. [BOLT] Upgrade to C++17 (details)
  85. [Transforms] Fix comment typos (NFC) (details)
  86. [clang-tidy] Use is_contained (NFC) (details)
  87. [llvm] Qualify auto (NFC) (details)
  88. [NFC][clang] Bring `and_present` and `if_present` casting functions to clang namespace (details)
  89. [CodeView] Add function to get size in bytes for TypeIndex/CVType. (details)
  90. [scudo] Try to fix standalone build on armv7 (details)
  91. [mailmap] Add entry for myself (details)
  92. [AArch64][SVE] NFC: Add tests for masked FP arith patterns (D130564) (details)
  93. [AArch64][SVE] Add patterns to select masked FP arith (details)
  94. [DAG] Ensure Legal BUILD_VECTOR elements types in shuffle->And combine (details)
  95. [ADT] Update Optional Deprecation with fix-it (details)
  96. [Orc][JITLink] Slab based memory allocator to reduce RPC calls (details)
  97. [llvm-objdump,ARM] Fix big-endian AArch32 disassembly. (details)
  98. ProcessTest.cpp - replace Optional::hasValue() with Optional::has_value() (details)
  99. [DAG] FoldConstantArithmetic - add initial support for undef elements in bitcasted binop constant folding (details)
  100. Remove C++17 #ifdefs around the implicit conversion between StringRef and string_view (details)
  101. [DAG] Emit table lookup from TargetLowering::expandCTTZ() (details)
  102. [lld/mac] Use C++17 nested namespace syntax in most places (details)
  103. Remove superfluous ; outside of a function (details)
  104. Wrap `llvm_unreachable` macro in do-while loop (details)
  105. [mlir] Remove redundant `inline` from D131323 (details)
  106. [lld/mac] Use C++17 structured bindings (details)
  107. [Support] Use std::shared_mutex when we're not on old MacOS (details)
  108. [ASTMatchers] Replace hand-coded copy of std::apply with the real C++17 function. NFCI (details)
  109. [X86] Add 32-bit test coverage to or-lea.ll (details)
  110. [clang-tidy] Fix a regression of readability-container-size-empty after the AST ElaboratedType change. (details)
  111. [libc++] Allow enabling assertions when back-deploying (details)
  112. [libc++] Add missing <stdbool.h> to the modulemap (details)
  113. [CMake] Check CMAKE_CXX_STANDARD and error if it's to old (details)
  114. [EarlyCSE][OpaquePointers]Replace assert with return for mask type check. (details)
  115. [EarlyCSE][ConstantFolding] add tests for atan/atan2; NFC (details)
  116. [libc++][NFC] Fix signature of main in test (details)
  117. [X86] X86ISelDAGToDAG.cpp - use auto for all values derived from cast/dyn_cast (style). NFC. (details)
  118. [libc++][doc] Update `SpaceshipProjects` status to reflect in-flight reviews (details)
  119. [MLIR][Presburger] make sample test with integer lexmin use containsPointNoLocal (details)
  120. [LLD][COFF] Ignore DEBUG_S_XFGHASH_TYPE/VIRTUAL (details)
  121. Revert "XFAIL some PGO tests on AIX until the new linker becomes publicly available." (details)
  122. [Docs] Add HLSL ResourceType documentation (details)
  123. [EarlyCSE][ConstantFolding] move test files to dir of pass in RUN line; NFC (details)
  124. [llvm-dwarfutil] Remove unnecessarily dependency. (details)
  125. [DAG] Add initial SelectionDAG::canCreateUndefOrPoison support (details)
  126. [ADT] Add is_splat overload accepting initializer_list (details)
  127. [NFC][Flang][OpenMP] Refactor OpenMP.cpp::genOpenMPReduction (details)
  128. Recommit [RDF] Remove explicit template arguments from Print (details)
  129. [StandardInstrumentations] Handle case where block order changes (details)
  130. [X86] Add test coverage for sext/zext/bswap/bitreverse with freeze (details)
  131. [mlir][math] Rename math.abs -> math.absf (details)
  132. [mlir][math] Add `math.absi` op (details)
  133. [lld/mac] Use C++17 structured bindings in two more places (details)
  134. [nfc][openmp] clang-format system.cpp prior to D131401 (details)
  135. Update the C status page from the latest working draft (details)
  136. [lldb] Make Process and subclass constructors protected (details)
  137. [DAG] canCreateUndefOrPoison - add freeze(sext(x)) -> sext(freeze(x)) and freeze(zext(x)) -> zext(freeze(x)) support (details)
  138. [lld/win] Use C++17 nested namespace syntax in most places (details)
  139. [lld/win] Use C++17 structured bindings (details)
  140. [LLDB][NFC] Fix suspicious bitwise expression in PrintBTEntry() (details)
  141. Move openmp from -std=c++14 to -std=c++17 (details)
  142. Rename OPENMP_HAVE_STD_CPP14_FLAG to match c++17 (details)
  143. [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC (details)
  144. [mlir][spirv] Refresh base definitions to latest spec (v1.6) (details)
  145. [ADT] Retire llvm::apply_tuple in favor of C++17 std::apply (details)
  146. [MLIR][Linalg] Remove `TiledLoops` from tiling options (details)
  147. [DAG] canCreateUndefOrPoison - add freeze(bswap(x)) -> bswap(freeze(x)) and freeze(bitreverse(x)) -> bitreverse(freeze(x)) support (details)
  148. [RISCV] Add ReadFStoreData as a SchedRead. (details)
  149. [flang] Add an explicit condition for the BITS=0 case in the MASKL and MASKR intrinsics. (details)
  150. [mlir][sparse][nfc] Use tensor.generate in sparse integration tests (details)
  151. [llvm-tblgen] Fix copy+paste typo in CodeGenSchedModels::collectLoadStoreQueueInfo (details)
  152. [mlir][doc] Cross link the dependent dialect section to the tablegen field definition (details)
  153. [libc++] Implement `operator==` for `filesystem::space_info` (details)
  154. [mlir][math] Fix pythong bindings after 00f7096d31cc7896ffd490e65104d264923f0df5 (details)
  155. [llvm-ranlib] Support more than one input file (details)
  156. [mlir][sparse] Add new concatente operator to sparse tensor (details)
  157. [X86] Add test coverage for ctpop/parity with freeze (details)
  158. [flang] Replace more pgmath with libm. (details)
  159. [lldb] Pass TestExternCSymbols.py on Windows (details)
  160. [SROA] Try harder to find a vector promotion viable type when rewriting (details)
  161. [Symbolizer] Implement pc element in symbolizing filter. (details)
  162. [X86][ARM] Add tests for bitwise logic trees of shifts; NFC (details)
  163. [SimpleLoopUnswitch] Skip non-trivial unswitching of cold loops (details)
  164. [gn build] port 59bb9e37c6 (details)
  165. [lld/mac] Remove unusual "Fallthrough" comments (details)
  166. [llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC (details)
  167. [mlir][spirv] Unify mixed scalar/vector primitive type resources (details)
  168. [lldb] LLVM_FALLTHROUGH => [[fallthrough]]. NFC (details)
  169. [libc] Website fixes (sidebar and mobile) (details)
  170. [Symbolizer] Fix symbolizer-filter-markup-pc.test on Windows (details)
  171. [lldb] Remove include/lldb/lldb-private.h (details)
  172. [compiler-rt] Use -std=c++17 for standalone build (details)
  173. [LinkerWrapper] Use C++17 structured bindings (details)
  174. [clang][deps] Stop sharing FileManager across module builds in scanner (details)
  175. [lldb] Prevent race condition when fetching /proc/cpuinfo (details)
  176. Add -misc-const-correctness to .clang-tidy (details)
  177. [MC] [Win64EH] Fix the calculation of the end of epilogs (details)
  178. [mlir][sparse] improve sparse attribute documentation (details)
  179. [DAGCombiner] Add some BE store forwarding tests; NFC (details)
  180. [mlir][vector] Fix warp distribution test (details)
  181. [libunwind][AIX] Save/restore errno before/after system calls dlopen/dlsym/dlclose (details)
  182. [ELF] Support --package-metadata (details)
  183. [RISCV] Add {{$}} to some CHECK lines in MC tests. (details)
  184. [flang][test] Don't require .exe suffix. (details)
  185. [llvm] Repair the modules build with C++17 (details)
  186. Implement better path matching in FileSpecList::FindCompatibleIndex(...). (details)
  187. Partially revert "[llvm] Repair the modules build with C++17" (details)
  188. [llvm-profgen] Fix perf script parsing issues (details)
  189. [flang] Don't compute pointer component procedure characteristics when not needed (details)
  190. [mlir][tosa] Updates tosa.equal to use the InferTensorType interface (details)
  191. [X86] Add 64bits test cases for D131358 (details)
  192. [NFC][asan] Clang-format a file (details)
  193. [Clang] Allow downgrading to a warning the diagnostic for setting a non fixed enum to a value outside the range of the enumeration values (details)
  194. [NFC][asan] Add LIKELY/UNLIKELY on hot memcpy paths (details)
  195. [CMake] Build lib/gwp_asan/tests with -std=c++17 (details)
  196. [mlir][tosa] Use arith::maxf/arith::minf in lowering from tosa (details)
  197. [PowerPC] mapping hardward loop intrinsics to powerpc pseudo (details)
  198. [AArch64] Fix and add A64FX scheduling resource/latency info (details)
  199. [Driver] Add -Xclang= as an alias for -Xclang (details)
  200. [NFC][asan] Fix Condition annotation after 30bbb73bb448 (details)
  201. [asan] Avoid few branches on memcpy hot path (details)
  202. [LLDB] Remove undefined behavior in TestConstStaticIntegralMember.py (details)
  203. [lldb] Refactor Symbols::DownloadObjectAndSymbolFile (details)
  204. [mlir] LLVM_FALLTHROUGH => [[fallthrough]]. NFC (details)
  205. LLVM_FALLTHROUGH => [[fallthrough]]. NFC (details)
  206. [MachinePipeliner] Fix Phi generation failure for large stages (details)
  207. [NFC] fix warning (details)
  208. [Basic] Deprecate MapEntryOptionalStorage::{hasValue,getValue} (details)
  209. [llvm] Alternative attempt at fixing the modules build with C++17 (details)
  210. [asan] Faster version of QuickCheckForUnpoisonedRegion (details)
  211. [globalisel] Select register bank for DBG_VALUE (details)
  212. [llvm] Don't rely on C++17 deduction guide for array creation (details)
  213. [LoongArch] Add codegen support for bswap (details)
  214. [LoongArch] Implement branch analysis (details)
  215. [LoongArch] Add codegen support for not (details)
  216. [clang][clang-tools-extra] LLVM_NODISCARD => [[nodiscard]]. NFC (details)
  217. LLVM_NODISCARD => [[nodiscard]]. NFC (details)
  218. [clang][ASTImporter] Improve import of functions with auto return type. (details)
  219. [RelLookupTableConverter] Bail on invalid pointer size (x32) (details)
  220. [mlir][OpenMP] omp.parallel side effects (details)
  221. Fix MSVC "not all control paths return a value" warning. NFC. (details)
  222. [DAG] canCreateUndefOrPoison - add freeze(ctpop(x)) -> ctpop(freeze(x)) and freeze(parity(x)) -> parity(freeze(x)) support (details)
  223. [cmake] Fix ms-compat version in WinMsvc.cmake (details)
  224. [clang-pseudo] Forest.h - don't inherit from std::iterator (details)
  225. [Support] TaskQueue.h - replace std::result_of_t with std::invoke_result_t (details)
  226. [ARM] Add a baseline elf-preemption test (details)
  227. [ARM] Add a baseline test for D131392 (details)
  228. [ARM] Emit local aliases (.Lfoo$local) for functions (details)
  229. [Thumb] Baseline test for incorrect relocation with -ffunction-sections (details)
  230. [ARM] Use getSymbolPreferLocal() in GetARMGVSymbol (details)
  231. [Sema] Merge variable template specializations (details)
  232. [AMDGPU][MC][GFX11][NFC] Split large tests (details)
  233. [openmp] Fix enumeration build issue for openmp library (details)
  234. [AMDGPU][MC][GFX11][NFC] Rename tests (details)
  235. [LoongArch] Support register-register-addressed GPR loads/stores (details)
  236. [mlir] Use C++17 structured bindings instead of std::tie where applicable. NFCI (details)
  237. [LoongArch] Add codegen support for ISD::ROTL and ISD::ROTR (details)
  238. Clang: fix AST representation of expanded template arguments. (details)
  239. [flang] Clarify CheckReductionDIM() (details)
  240. [X86] Regenerate statepoint-vreg.ll (details)
  241. [AIX][tests] XFAIL atan.ll test on AIX (details)
  242. [RISCV] Add target feature to force-enable atomics (details)
  243. [flang] Pass the pipeline config to the pass (details)
  244. [AMDGPU] Unify unreachable intrinsics (details)
  245. [mlir][spirv] Clean up SPIRVOps.cpp. NFC. (details)
  246. [flang] Ignore inaccessible components when extending types or constructing structures (details)
  247. [flang] Don't lose homonymous specific when copying generic (details)
  248. Extend ptr32 support to be applied on typedef (details)
  249. [flang] Don't inherit ELEMENTAL attribute from intrinsics for TBP bindings (details)
  250. [libc++][ranges] Sets ranges feature-test macro. (details)
  251. [DAG] SimplifyDemandedVectorElts - and/mul(x,y) - if a demanded element of y is known zero then we don't need to demand it in x (details)
  252. Change prototype merging error into a warning for builtins (details)
  253. [lld-macho][test] Rename dtrace test (NFC) (details)
  254. [DAG] Avoid hasOneUse() calls if the cheaper !AssumeSingleUse test has already failed. NFC. (details)
  255. [clang] fix deprecation (details)
  256. Fix -Wbitfield-constant-conversion on 1-bit signed bitfield (details)
  257. [DAGCombine][NFC] Precommit extract-subvec-combine sext tests (details)
  258. [flang] Don't check procedure pointer interface function result specification expressions (details)
  259. [flang][runtime] Support internal I/O to CHARACTER(KIND/=1) (details)
  260. [flang] Change names of specific procedures of generic interfaces in intrinsic modules (details)
  261. [AArch64] Regenerate arm64-fmax.ll test. NFC (details)
  262. [IndVars] Eliminate redundant type cast with different sizes (details)
  263. [LLVM] Use range based for loop, NFC (details)
  264. [flang] Intrinsic RANDOM_SEED calls with dynamically absent/present arguments (details)
  265. [llvm][ADT] Allow using structured bindings with `llvm::enumerate` (details)
  266. [PhaseOrdering][AArch64] add test for mul-with-overflow; NFC (details)
  267. [InstCombine] add helper function for extract of with-overflow-intrinsic; NFC (details)
  268. [flang] Fix build warning from newer compilers (details)
  269. [X86] Remove unnecessary _mm_undefined_pd() test from avx-intrinsics-fast-isel.ll (details)
  270. [RISCV] Pin a test to scalar lowering to preserve test intent [nfc] (details)
  271. [InstCombine] fold usub.with.overflow to icmp when there's no use of the math value (details)
  272. LiveDebugValues: Fix another crash related to unreachable blocks (details)
  273. [docs][AArch64] Label Features with Arm ARM Names (details)
  274. Move FormattersMatchCandidate flags to a struct. (details)
  275. [X86][ARM] Update tests for bitwise logic trees of shifts; NFC (details)
  276. [mlir][sparse] improve semi-ring doc (details)
  277. [mlir][spirv] Migrate to use specalized enum attributes (details)
  278. [MLIR] Support lowering n-D arith.index_cast to LLVM (details)
  279. [MLIR] Extend vector.gather to accept tensor as base (details)
  280. [mlir][spirv] Make MemRef memory space mapping pass more flexible (details)
  281. [RISCV] Refresh two autogened tests to avoid future whitespace diffs [nfc] (details)
  282. [mlir][spirv] Detach memory space mapping from type conversion (details)
  283. [mlir][spirv] Use functors for default memory space mappings (details)
  284. [mlir][sparse] update bibliography of sparse tensor dialect (details)
  285. [mlir][sparse] fix switch statement bug on two binary ops (details)
  286. [flang] Extend characterization & checking for procedure bindings (details)
  287. [Flang][OpenMP] Add support for integer multiplication reduction in worksharing-loop (details)
  288. [LLD][COFF] Identify /GL object files which are inside libraries (details)
  289. [mlir][LLVMIR] (NFC) Add convenience builders for ConstantOp (details)
  290. fix mlgo regalloc test model generation for tflite (details)
  291. [mlir] Cleanup DenseArrayAttrBase definition and expose raw API (details)
  292. [pseudo] Fix a suspicious usage of `sizeof(this)`. (details)
  293. The memory region tests have been consistently timing on the ASAN (details)
  294. [mlir] Fix build of toyc-ch6 (NFC) (details)
  295. [flang] Revert changes (NFC) (details)
  296. [AArch64][LoopVectorize] Introduce trip count minimal value threshold to ignore tail-folding. (details)
  297. [libc] Add a utility data structure named FixedVector. (details)
  298. [libc] Add __cxa_atexit support to the atexit function. (details)
  299. @skipIfAsan for the other long test in TestMemoryRegion.py (details)
  300. [ARM] Do not use LOAD_STACK_GUARD with ROPI/RWPI (details)
  301. [RISCV] Split check lines for fpclamptosat_vec test (details)
  302. [libc][NFC] Fix a few compiler warnings. (details)
  303. [sanitizer] Use C++17 to build the symbolizer. (details)
  304. [AMDGPU] SIFixSGPRCopies refactoring (details)
  305. [libunwind] Use `_dl_find_object` if available (details)
  306. [llvm-profdata] Support JSON as as an output-only format (details)
  307. [libc++][NFC] Remove TEST_HAS_NO_SPACESHIP_OPERATOR (details)
  308. [lldb/crashlog] Fix interactive crashlog test (details)
  309. [libc++] Implement `operator<=>` for `type_index` (details)
  310. Fix modeline (details)
  311. [mlir][sparse] fix doc (details)
  312. [analyzer] Fix false positive in use-after-move checker (details)
  313. [clang] add APValue type check in `TryPrintAsStringLiteral` (details)
  314. [COFF] Change a llvm::StringSet<> to llvm::DenseSet<StringRef>. NFC (details)
  315. [X86][BF16] Make backend type bf16 to follow the psABI (details)
  316. [X86][BF16] Enable __bf16 for x86 targets. (details)
  317. [compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available (details)
  318. [sanitizer] Let internal symbolizer to use posix_memalign (details)
  319. Revert "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available" (details)
  320. Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available" (details)
  321. [MLIR] [Python] Fix `Value.owner` to handle BlockArgs (details)
  322. [MLIR] [Python] Fix the Windows build broken by d747a17 (details)
  323. [lldb/crashlog] Add '-t|--target' option to interactive mode (details)
  324. [lldb/crashlog] Surface error using SBCommandReturnObject argument (details)
  325. [lldb/crashlog] Update frame regex matcher (details)
  326. [lldb/crashlog] Remove 'process_path' parsing logic (details)
  327. [lldb/crashlog] Add `-s|--skip-status` option to interactive mode (details)
  328. [lldb/crashlog] Skip null image dsym fetching on interactive mode (details)
  329. [lldb/crashlog] Refactor the CrashLogParser logic (details)
  330. [ELF] De-template createBitcodeSymbol. NFC (details)
  331. Revert "Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available"" (details)
  332. [ELF] De-template BitcodeFile::parse. NFC (details)
  333. [ELF] Simplify llvm::enumerate with structured binding. NFC (details)
  334. Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available" (details)
  335. [libc] Add implementation of pthread_exit and thrd_exit. (details)
  336. [clang][transformer] Fix crash on replacement-less ASTEdit. (details)
  337. tsan: update Go rules to use -std=c++17 (details)
  338. [release] Use threaded compression with xz (details)
  339. [workflow] Run release tasks for me (tru) as well. (details)
  340. [Flang] Use find_program() to find clang-tblgen (details)
  341. [Attributor] Check for noalias call in AAInstanceInfo (details)
  342. [LLDB] Add multi value test for const static enum (details)
  343. [Flang][OpenMP] Fix conversion of nested loops for SIMD directive (details)
  344. [RISCV] Add cost model for fp-mask cast op. (details)
  345. [DAG] Use DAG.getFreeze() to create freeze node. NFC. (details)
  346. Revert "Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available"" (details)
  347. [WebAssembly] Produce error when encountering unlowerable Wasm global accesses (details)
  348. [X86][NFCI] Remove target-specific branch optimisation that's handled in BranchFolding (details)
  349. Revert "[Flang] Use find_program() to find clang-tblgen" (details)
  350. [RISCV] Implement isUsedByReturnOnly TargetLowering hook in order to tailcall more libcalls (details)
  351. [clang-tidy] Support C++14 in bugprone-signal-handler. (details)
  352. [AArch64][SVE] Use SVE for VLS fcopysign for wide vectors (details)
  353. [LLDB][AArch64][NFC] Fix some clang-format annotations (details)
  354. [DAG] canCreateUndefOrPoison - add freeze(truncate(x)) -> truncate(freeze(x)) support (details)
  355. [clang][AArch64][SVE] Add unary +/- operators for SVE types (details)
  356. [clang][dataflow] Store DeclContext of block being analysed in Environment if available. (details)
  357. [mlir][shape] Update meet to handle all size & shape types (details)
  358. [DAG] visitFREEZE - generalize freeze(op()) -> op(freeze()) to any number of operands (details)
  359. Migrate llvm.experimental.patchpoint() to ptr. (details)
  360. [mlir] Generate C++ doc comments for interfaces (details)
  361. [AIX][tests] XFAIL for system-aix instead (details)
  362. [LLDB] Add basic floating point ops to IR interpreter (details)
  363. [mlir] Extract offsets-sizes-strides computation from `makeTiledShape(s)`. (details)
  364. [clang][dataflow] Analyze constructor bodies (details)
  365. [X86] Use DAG.getFreeze() to create freeze node. NFC. (details)
  366. [clang] Correct documentation for NEON and SVE operator support (details)
  367. Revert rGa772f775a2ba401e95a0bbe73deb6300f1dc12c0 "[clang-tidy] Support C++14 in bugprone-signal-handler." (details)
  368. [libc++] Make __libcpp_verbose_abort [[noreturn]] (details)
  369. [ConstantFolding] Eliminate atan and atan2 calls (details)
  370. PowerPC: Don't hoist float multiply + add to fused operation on SPE (details)
  371. [X86] (0 - SetCC) | C -> (zext (not SetCC)) * (C + 1) - 1 if we can get a LEA out of it. (details)
  372. [Libomptarget][CUDA] Check CUDA compatibilty correctly (details)
  373. [PowerPC] Don't use the S30 and S31 regs for the pic code (details)
  374. [libc++] Add missing includes of <cstddef> (details)
  375. [clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry (details)
  376. [mlir] Fix win build by using has_value() instead of hasValue() for Optional. (details)
  377. [ms] [llvm-ml] Add support for the (many) optional SEGMENT parameters (details)
  378. Desist from passing function location to __msan_set_alloca_origin4. (details)
  379. Driver: Refactor and support per target dirs in baremetal (details)
  380. [Analysis] Remove unused CostModelAnalysis::getInstructionCost helper. NFCI. (details)
  381. [NFC] Restructured SimplifyIntrinsicsPass::getOrCreateFunction. (details)
  382. [mlir][LLVMIR] "Modernize" Insert/ExtractValueOp (details)
  383. [analyzer] [NFC] Add more test cases for equality tracking (details)
  384. [CostModel] Update RUN -passes=* to double quotes to appease update scripts on windows (details)
  385. [MCParser] Fix a warning (details)
  386. [NFC][libc++][test] Removes unneeded code. (details)
  387. [mlir][math] Added basic support for IPowI operation. (details)
Commit e0807b0d7ef9178b6b5d32b87b70e793017e5c1e by benny.kra
[bazel] Add missing dependency after 713f85d5952ab27d474aba2a960a893b7e7e438d
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit 51a91d6c5d87fb85945f8c99b1e678e05d0723c0 by thakis
[gn build] port b1356504e63ae (c++17)
The file was modifiedllvm/utils/gn/build/BUILD.gn
Commit c59c8a515f54e262ececfd1056d402212117f22c by thakis
[gn build] port b1356504e63ae better (c++17)
The file was modifiedllvm/utils/gn/build/BUILD.gn
Commit 1c5a50e32815a49a41d79ff529ca8611ee49c5c8 by markus.boeck02
[mlir][tblgen] Refact mlir-tblgen main into its own library

This has previously been done for `mlir-opt` and `mlir-reduce` and roughly the same approach has been done here.

The use case for having a separate library is that it is easier for downstream to make custom TableGen backends/executable that work on top of the utilities that are defined in `mlir/TableGen`.
The customization point here is the same one as for any upstream TableGen backends: One can add a new generator by simply creating a global instance of `mlir::GenRegistration`.

Differential Revision: https://reviews.llvm.org/D131112
The file was modifiedmlir/tools/mlir-tblgen/mlir-tblgen.cpp
The file was modifiedmlir/lib/TableGen/CMakeLists.txt
The file was modifiedmlir/lib/Tools/CMakeLists.txt
The file was addedmlir/include/mlir/Tools/mlir-tblgen/MlirTblgenMain.h
The file was addedmlir/lib/TableGen/GenInfo.cpp
The file was addedmlir/lib/Tools/mlir-tblgen/CMakeLists.txt
The file was modifiedmlir/tools/mlir-tblgen/CMakeLists.txt
The file was addedmlir/lib/Tools/mlir-tblgen/MlirTblgenMain.cpp
Commit f7b73b7e8e6799d566abeb9954a0617e648b833e by markus.boeck02
[llvm] Remove uses of deprecated `std::iterator`

std::iterator has been deprecated in C++17 and some standard library implementations such as MS STL or libc++ emit deperecation messages when using the class.
Since LLVM has now switched to C++17 these will emit warnings on these implementations, or worse, errors in build configurations using -Werror.

This patch fixes these issues by replacing them with LLVMs own llvm::iterator_facade_base which offers a superset of functionality of std::iterator.

Differential Revision: https://reviews.llvm.org/D131320
The file was modifiedllvm/include/llvm/Transforms/IPO/SampleContextTracker.h
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h
The file was modifiedllvm/unittests/ADT/IteratorTest.cpp
Commit 547c551925c8f4dd979ba5cf16c857091a80254b by thakis
[gn build] Try to fix build on linux after std=c++17 switch

glibc annotates `process_vm_readv` with `__THROW`.
lldb/include/lldb/Host/linux/Uio.h and
lldb/source/Host/linux/LibcGlue.cpp don't.

Having a mismatch causes an error with c++17:

    ../../lldb/source/Host/linux/LibcGlue.cpp:18:9:
        error: 'process_vm_readv' is missing exception specification 'throw()'
    ssize_t process_vm_readv(::pid_t pid, const struct iovec *local_iov,
            ^
    ../../lldb/include/lldb/Host/linux/Uio.h:18:9:
        note: previous declaration is here
    ssize_t process_vm_readv(::pid_t pid, const struct iovec *local_iov,
            ^

The diagnostic is a bit misleading, since the previous declaration
in the sysroot (in usr/include/x76_64-linux-gnu/bits/uio-ext.h) is
what has the `__THROW`.

In the cmake build, cmake sets `HAVE_PROCESS_VM_READV` correctly based
on header probing.

In the GN build, just set it to 1 unconditionally on linux. If that
turns out to not be good enough everywhere, we'll have to add a GN arg
for this.

(I'm also setting it to 1 on Android. I'm not sure if that's correct --
but we don't build lldb for Android anyways.)
The file was modifiedllvm/utils/gn/secondary/lldb/include/lldb/Host/BUILD.gn
Commit f4892975014a03fa4f8ec723b9e38bc29073b6e5 by thakis
[gn build] fix 547c551925c8f4dd
The file was modifiedllvm/utils/gn/secondary/lldb/include/lldb/Host/BUILD.gn
Commit ef60e44fe874e28a6cfff57533b63c752a36e7dd by czhengsz
[PowerPC] fix stack size allocated for float point argument

This is for https://github.com/llvm/llvm-project/issues/56469

Allocate 4 bytes for float point arguments on PPC32.

Reviewed By: nemanjai

Differential Revision: https://reviews.llvm.org/D129558
The file was modifiedllvm/test/CodeGen/PowerPC/fminnum.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pr56469.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCCallingConv.td
Commit 13016f1f1be5864dacdc8e15b920465dcec2b49a by czhengsz
[NFC] add test cases for D123366
The file was addedllvm/test/CodeGen/PowerPC/ctrloops-pseudo.ll
Commit 735240b38fd7a249474a66f96cb98587658010af by koraq
[libc++] Implement `operator<=>` for `unique_ptr`

Implements part of:

  - P1614R2 The Mothership has Landed

Fixes LWG3426

Reviewed By: #libc, Mordante

Differential Revision: https://reviews.llvm.org/D130838
The file was modifiedlibcxx/include/__memory/unique_ptr.h
The file was modifiedlibcxx/include/memory
The file was modifiedlibcxx/docs/Status/Cxx2bIssues.csv
The file was modifiedlibcxx/docs/Status/Cxx20Papers.csv
The file was addedlibcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/cmp.pass.cpp
The file was modifiedlibcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/cmp_nullptr.pass.cpp
The file was removedlibcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/rel.pass.cpp
The file was modifiedlibcxx/docs/Status/SpaceshipProjects.csv
The file was removedlibcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/eq.pass.cpp
Commit 619e8f46f3c77cb97464cf64e01872e6246f8875 by koraq
[libc++] Remove `operator!=` from `type_info` in C++20

Implements part of:

* P1614R2 The Mothership has Landed

Reviewed By: #libc, Mordante

Differential Revision: https://reviews.llvm.org/D130853
The file was modifiedlibcxx/include/typeinfo
The file was modifiedlibcxx/docs/Status/SpaceshipProjects.csv
Commit d6eea96b8e0401786bf7fa47ff97b52981cc4a24 by benny.kra
[bazel] Port 1c5a50e32815a49a41d79ff529ca8611ee49c5c8
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit 486a3c4662cb052329b96537da18893d73138b64 by aaron
Update the status of some more C DRs

Update some of the C99-era DRs starting in the 300s.
The file was addedclang/test/C/drs/abc_123.h
The file was modifiedclang/www/c_dr_status.html
The file was addedclang/test/C/drs/dr3xx.c
Commit 9750648cb44e3b201bce5878ce785228d1c005c7 by kazu
[mlir, flang] Use has_value instead of hasValue (NFC)
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was modifiedmlir/test/lib/Dialect/Test/TestTypeDefs.td
The file was modifiedmlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
The file was modifiedflang/lib/Optimizer/Dialect/FIROps.cpp
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
The file was modifiedmlir/lib/Interfaces/ViewLikeInterface.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
The file was modifiedmlir/lib/AsmParser/AttributeParser.cpp
The file was modifiedmlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
The file was modifiedmlir/test/mlir-tblgen/default-type-attr-print-parser.td
The file was modifiedmlir/lib/Dialect/EmitC/IR/EmitC.cpp
The file was modifiedmlir/lib/Dialect/DLTI/DLTI.cpp
The file was modifiedmlir/lib/IR/FunctionImplementation.cpp
The file was modifiedmlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
The file was modifiedmlir/lib/Dialect/SCF/IR/SCF.cpp
The file was modifiedflang/lib/Optimizer/Dialect/FIRType.cpp
The file was modifiedmlir/unittests/IR/AttributeTest.cpp
The file was modifiedmlir/lib/Dialect/PDL/IR/PDLTypes.cpp
The file was modifiedmlir/lib/Dialect/Quant/IR/TypeParser.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestTypes.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVAttributes.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestTypes.h
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVDialect.cpp
The file was modifiedmlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp
Commit c8e6ebd74e548bd79662166906de53554773265e by kazu
Use value instead of getValue (NFC)
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedclang/utils/TableGen/RISCVVEmitter.cpp
The file was modifiedbolt/unittests/Core/MCPlusBuilder.cpp
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was modifiedmlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
The file was modifiedmlir/lib/Dialect/DLTI/DLTI.cpp
The file was modifiedmlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp
The file was modifiedmlir/lib/Interfaces/ViewLikeInterface.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
The file was modifiedmlir/lib/IR/FunctionImplementation.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestTypes.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/lib/Dialect/SCF/IR/SCF.cpp
Commit ede96de751224487aea122af8bfb4e82bc54840b by kparzysz
[RDF] Remove explicit template arguments from Print

CTAD takes care of it.
The file was modifiedllvm/lib/CodeGen/RDFGraph.cpp
The file was modifiedllvm/lib/CodeGen/RDFLiveness.cpp
Commit 0c9258612b67153e6760a330eb4cba1233e665b1 by schuett
[bolt] silence unused variables warnings
The file was modifiedbolt/lib/Core/BinaryContext.cpp
The file was modifiedbolt/lib/Core/Exceptions.cpp
Commit 2bc390bdd66c9e0bc888f3bbe3eba473a54ff431 by kparzysz
[RDF] Use default TargetOperandInfo if not given in constructor

All current in-tree users use the default implementation.
The file was modifiedllvm/include/llvm/CodeGen/RDFGraph.h
The file was modifiedllvm/lib/CodeGen/RDFGraph.cpp
The file was modifiedllvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonOptAddrMode.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonRDFOpt.cpp
Commit a6cb8419b1757380e3c577477fdc2501484a7245 by me
clang: fix typo availbility

- Fixes [[ https://github.com/llvm/llvm-project/issues/56787 | #56787 ]].

I am fixing the spelling of availability.

I am unsure if this change will have any side effects. If someone can
help on how to check if it has any side effects, I can test those out as
well.

Reviewed By: inclyc

Differential Revision: https://reviews.llvm.org/D131277
The file was modifiedclang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
Commit 2d2ad02f43bda3629b1063945ac235e67dea79d4 by benny.kra
[bazel] Switch to C++17

LLVM switched to C++17 in b1356504e63ae821cccf1e051a0d2526bdfef2b0
The file was modifiedutils/bazel/.bazelrc
Commit d2b158e29eedf4a29bf8d2142f2ed21a52fc80a7 by John.Ericson
clang/cmake: Drop use of llvm-config for LLVM install discovery

This has been deprecated for a while, since D51714 in 2018.

Remove it in favor of using CMake's find_package() function.

Reviewed By: phosek, mgorny

Differential Revision: https://reviews.llvm.org/D128777
The file was modifiedclang/CMakeLists.txt
Commit 91f3f0bf31d6fdcbbd750670840e22f9b2b36625 by John.Ericson
lld/cmake: Drop use of llvm-config for LLVM install discovery

This has been deprecated since D116492 earlier in 2022.

That seems recent, but with the recent cut of LLVM 15 that is still two releases (14 and 15). Meanwhile Clang has deprecated `llvm-config` for a lot longer, and since it is likely that LLD users are also Clang users, this serves as an extra "heads up" that `llvm-config` is on its way out.

Remove it in favor of using CMake's find_package() function.

Reviewed By: MaskRay, mgorny

Differential Revision: https://reviews.llvm.org/D131144
The file was modifiedlld/CMakeLists.txt
Commit e21202dac18ed7f718d26a0e131f96b399b4891c by i
[Clang][OpenMP] Fix the issue that `llvm.lifetime.end` is emitted too early for variables captured in linear clause

Currently if an OpenMP program uses `linear` clause, and is compiled with
optimization, `llvm.lifetime.end` for variables listed in `linear` clause are
emitted too early such that there could still be uses after that. Let's take the
following code as example:
```
// loop.c
int j;
int *u;

void loop(int n) {
  int i;
  for (i = 0; i < n; ++i) {
    ++j;
    u = &j;
  }
}
```
We compile using the command:
```
clang -cc1 -fopenmp-simd -O3 -x c -triple x86_64-apple-darwin10 -emit-llvm loop.c -o loop.ll
```
The following IR (simplified) will be generated:
```
@j = local_unnamed_addr global i32 0, align 4
@u = local_unnamed_addr global ptr null, align 8

define void @loop(i32 noundef %n) local_unnamed_addr {
entry:
  %j = alloca i32, align 4
  %cmp = icmp sgt i32 %n, 0
  br i1 %cmp, label %simd.if.then, label %simd.if.end

simd.if.then:                                     ; preds = %entry
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %j)
  store ptr %j, ptr @u, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %j)
  %0 = load i32, ptr %j, align 4
  store i32 %0, ptr @j, align 4
  br label %simd.if.end

simd.if.end:                                      ; preds = %simd.if.then, %entry
  ret void
}
```
The most important part is:
```
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %j)
  %0 = load i32, ptr %j, align 4
  store i32 %0, ptr @j, align 4
```
`%j` is still loaded after `@llvm.lifetime.end.p0(i64 4, ptr nonnull %j)`. This
could cause the backend incorrectly optimizes the code and further generates
incorrect code. The root cause is, when we emit a construct that could have
`linear` clause, it usually has the following pattern:
```
EmitOMPLinearClauseInit(S)
{
  OMPPrivateScope LoopScope(*this);
  ...
  EmitOMPLinearClause(S, LoopScope);
  ...
  (void)LoopScope.Privatize();
  ...
}
EmitOMPLinearClauseFinal(S, [](CodeGenFunction &) { return nullptr; });
```
Variables that need to be privatized are added into `LoopScope`, which also
serves as a RAII object. When `LoopScope` is destructed and if optimization is
enabled, a `@llvm.lifetime.end` is also emitted for each privatized variable.
However, the writing back to original variables in `linear` clause happens after
the scope in `EmitOMPLinearClauseFinal`, causing the issue we see above.

A quick "fix" seems to be, moving `EmitOMPLinearClauseFinal` inside the scope.
However, it doesn't work. That's because the local variable map has been updated
by `LoopScope` such that a variable declaration is mapped to the privatized
variable, instead of the actual one. In that way, the following code will be
generated:
```
  %0 = load i32, ptr %j, align 4
  store i32 %0, ptr %j, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %j)
```
Well, now the life time is correct, but apparently the writing back is broken.

In this patch, a new function `OMPPrivateScope::restoreMap` is added and called
before calling `EmitOMPLinearClauseFinal`. This can make sure that
`EmitOMPLinearClauseFinal` can find the orignal varaibls to write back.

Fixes #56913.

Reviewed By: ABataev

Differential Revision: https://reviews.llvm.org/D131272
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was addedclang/test/OpenMP/bug56913.c
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/for_linear_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
Commit bf5550b6790b5873f75db010db158cdae84deecc by i
[ADT] Fix signature of StringSet::insert

to match StringMap and unordered_set.
The file was modifiedllvm/include/llvm/ADT/StringSet.h
Commit c7ec86b13c461f6a8ce11f8443c1b6242013d26f by i
[clang-tidy] Fix g++ -DCMAKE_CXX_STANDARD=17 build

`constexpr std::initializer_list<llvm::StringRef>` leads to
```
error: modification of '<temporary>' is not a constant expression
```
Related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102921
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h
Commit bccdf9197b6d647ccf5bbc86b25e29278aebc4e5 by i
Revert "[lld-macho] Work around odr-use of const non-inline static data member to fix -O0 build after D128298"

This reverts commit 20b2d3260d4a1878ca2a37cee6ee335a21a12d0f.
The workaround is no longer needed for C++17.
The file was modifiedlld/MachO/SyntheticSections.cpp
Commit 5deb678289df4a11d5c0786d702ad2730cd7e391 by i
Revert "[SampleProfileInference] Work around odr-use of const non-inline static data member to fix -O0 builds after D120508"

This reverts commit 48c74bb2e2a72830f1068823bfc2f6fd4b53d427.
With C++17 the workaround is no longer needed.
The file was modifiedllvm/lib/Transforms/Utils/SampleProfileInference.cpp
Commit ec04e45c0358aa47c4696e474c350b9d56e42923 by i
[lld] LLVM_FALLTHROUGH => [[fallthrough]]. NFC

With C++17 there is no Clang pedantic warning or MSVC C5051.
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/Arch/AArch64.cpp
The file was modifiedlld/ELF/Arch/ARM.cpp
The file was modifiedlld/ELF/Arch/Mips.cpp
The file was modifiedlld/ELF/Arch/PPC64.cpp
Commit fa66789d06be2937b15e02a286b67c5f5274df31 by i
[llvm] LLVM_NODISCARD => [[nodiscard]]. NFC

With C++17 there is no Clang pedantic warning.
The file was modifiedllvm/include/llvm/ADT/ImmutableList.h
The file was modifiedllvm/include/llvm/ADT/APSInt.h
The file was modifiedllvm/include/llvm/ADT/SmallPtrSet.h
The file was modifiedllvm/include/llvm/ADT/TypeSwitch.h
The file was modifiedllvm/include/llvm/Support/Casting.h
The file was modifiedllvm/include/llvm/Support/Error.h
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp
The file was modifiedllvm/include/llvm/IR/Attributes.h
The file was modifiedllvm/include/llvm/ADT/SmallSet.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
The file was modifiedllvm/include/llvm/ADT/DenseMap.h
The file was modifiedllvm/include/llvm/ADT/SmallVector.h
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
The file was modifiedllvm/unittests/ProfileData/CoverageMappingTest.cpp
The file was modifiedllvm/include/llvm/ADT/StringRef.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/include/llvm/ADT/ImmutableMap.h
The file was modifiedllvm/include/llvm/ADT/ScopeExit.h
The file was modifiedllvm/include/llvm/ADT/APInt.h
The file was modifiedllvm/include/llvm/ADT/ArrayRef.h
The file was modifiedllvm/include/llvm/IR/ConstantRange.h
The file was modifiedllvm/include/llvm/Analysis/AliasAnalysis.h
The file was modifiedllvm/unittests/ProfileData/InstrProfTest.cpp
The file was modifiedllvm/include/llvm/Support/raw_ostream.h
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/include/llvm/ADT/ImmutableSet.h
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedllvm/include/llvm/ADT/StringSwitch.h
The file was modifiedllvm/include/llvm/ADT/PriorityWorklist.h
The file was modifiedllvm/include/llvm/ADT/SetVector.h
The file was modifiedllvm/include/llvm/ADT/simple_ilist.h
Commit 4401bde317555759a39136f4a232b3311c600655 by jpienaar
[mlir][tosa] Flip to prefixed form.

Flipped to _Both 2 weeks ago, flipping to _Prefixed now.
The file was modifiedmlir/include/mlir/Dialect/Tosa/IR/TosaOpBase.td
Commit 1f54006bcacf3967b03f9851edf7f9cd773d53e8 by me
[clang][docs] use `Fixes` instead of `This fixes` in ReleaseNotes [NFC]
The file was modifiedclang/docs/ReleaseNotes.rst
Commit 5e9b6a2243199d19fb7f23f8a3dce5ac813a2151 by john.demme
[MLIR] Add MlirValue to PybindAdapters

Allows out-of-tree users to automatically cast to/from MlirValue.
The file was modifiedmlir/include/mlir/Bindings/Python/PybindAdaptors.h
Commit aa4977f2e1354bb5e1937235dd12199839ab0801 by sgurevich
[LLDB][NFC] Reliability fixes to TCPSocket code

Patch the following issues found by static code inspection:
- Unchecked return values from lib calls
- Passing potentially negative arg into a function that requires non-negative input
- Possible socket double-close

Differential Revision: https://reviews.llvm.org/D131294
The file was modifiedlldb/source/Host/common/TCPSocket.cpp
Commit 3b114087c34bc1428b157eff8ca8599f7d2380f9 by kazu
[llvm] Drop unnecessary const from return types (NFC)

Identified with readability-const-return-type.
The file was modifiedllvm/include/llvm/Analysis/LoopAccessAnalysis.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
Commit af2d2d775908734f2a71a70a24ad540760f2d88b by kazu
[mlir] Remove redundaunt return statements (NFC)

Identified with readability-redundant-control-flow.
The file was modifiedmlir/lib/Transforms/Utils/CommutativityUtils.cpp
Commit a2d45017182a5b98a6a3c75de49e599d67c92fbb by kazu
[llvm] Fix comment typos (NFC)
The file was modifiedllvm/lib/Target/X86/X86MCInstLower.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopFuse.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/MC/MCParser/AsmLexer.cpp
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/tools/verify-uselistorder/verify-uselistorder.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCMIPeephole.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
The file was modifiedllvm/lib/CodeGen/InlineSpiller.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/Core.cpp
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was modifiedllvm/lib/Transforms/Utils/CodeLayout.cpp
The file was modifiedllvm/utils/UnicodeData/UnicodeNameMappingGenerator.cpp
The file was modifiedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
The file was modifiedllvm/utils/git/github-automation.py
The file was modifiedllvm/lib/IR/BuiltinGCs.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/utils/TableGen/DecoderEmitter.cpp
The file was modifiedllvm/lib/CodeGen/VLIWMachineScheduler.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/tools/llvm-profgen/PerfReader.h
The file was modifiedllvm/lib/Transforms/Utils/CanonicalizeAliases.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp
Commit d0ec61c9ffb32891ed02e57fd2327aa4d641ecde by kazu
[Target] Remove unused forward declarations (NFC)
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/R600MCTargetDesc.h
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.h
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h
Commit 7542e72188cb05b22523cc58ea4223951399520d by kazu
Use llvm::is_contained (NFC)
The file was modifiedlldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/DuplicateIncludeCheck.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
The file was modifiedclang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/misc/NoRecursionCheck.cpp
Commit 54199d805a5431df292d412dbbae9286b3690ad3 by kazu
[x86] Remove unused declaration processWaitCnt (NFC)

The declaration was introduced without a corresponding definition on
Jan 2, 2022 in commit 85e6e748d426f8992016914b07bc67c4da22e278.
The file was modifiedllvm/lib/Target/X86/MCA/X86CustomBehaviour.h
Commit ba0407ba86d0a87f01e1a676f9dc23bae3e9c169 by kazu
[llvm] Use range-based for loops (NFC)
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndexYAML.h
The file was modifiedllvm/include/llvm/Bitstream/BitstreamWriter.h
The file was modifiedllvm/lib/Target/X86/X86VZeroUpper.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/include/llvm/Bitstream/BitstreamReader.h
The file was modifiedllvm/include/llvm/Analysis/LoopInfoImpl.h
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86CmovConversion.cpp
Commit fdc950958ed0970159071cc4367a66149971586f by shivam98.tkg
Added warning about outdated feature into Kaleidoscope tutorial text

**Motivation: **  I have been studying LLVM with LLVM Kaleidoscope tutorial. In the 4th part I faced an error which said that I can't redefine a function as shown in the tutorial. After hours of searching, I finally found the reason that produced the error is that the feature of symbols redefinition has been disabled since LLVM-9. There was no information about that in the tutorial's text, so I've decided to add a warning.

**Changes**: The only file I fixed is "`llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst`", I added text warning which says that described feature is outdated and the described functionality will not work properly on LLVM versions older 8 one.

Patch by : DKay7

Differential Revision: https://reviews.llvm.org/D130613
The file was modifiedllvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst
Commit f0f1bcadc74fa5cd11a118673340ca3e9a8c0037 by alexey.bader
[demangler] Add getters for Qual/Vector/Pointer types

These are useful for downstream tool aligning the mangling of data types which differ between different languages/targets.

Patch by Steffen Larsen <steffen.larsen@intel.com>

Differential Revision: https://reviews.llvm.org/D130909
The file was modifiedllvm/include/llvm/Demangle/ItaniumDemangle.h
Commit 26d811b3ecd2fa1ca3d9b41e17fb42b8c7ad03d6 by markus.boeck02
[mlir] Make use of C++17 language features

Now that C++17 is enabled in LLVM, a lot of the TODOs and patterns to emulate C++17 features can be eliminated.
The steps I have taken were essentially:
```
git grep C++17
git grep c++17
git grep "initializer_list<int>"
```
and address given comments and patterns.
Most of the changes boiled down to just using fold expressions rather than initializer_list.

While doing this I also discovered that Clang by default restricts the depth of fold expressions to 256 elements. I specifically hit this with `TestDialect` in `addOperations`. I opted to not replace it with fold expressions because of that but instead adding a comment documenting the issue.
If any other functions may be called with more than 256 elements in the future we might have to revert other parts as well.
I don't think this is a common occurence besides the `TestDialect` however. If need be, this could potentially be fixed via `mlir-tblgen` in the future.

Differential Revision: https://reviews.llvm.org/D131323
The file was modifiedmlir/include/mlir/IR/BuiltinTypes.td
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/BufferizableOpInterfaceImpl.cpp
The file was modifiedmlir/include/mlir/Dialect/Transform/IR/TransformDialect.td
The file was modifiedmlir/examples/standalone/CMakeLists.txt
The file was modifiedmlir/include/mlir/ExecutionEngine/ExecutionEngine.h
The file was modifiedmlir/include/mlir/IR/Dialect.h
The file was modifiedmlir/include/mlir/IR/StorageUniquerSupport.h
The file was modifiedmlir/include/mlir/IR/BuiltinAttributes.h
The file was modifiedmlir/include/mlir/IR/DialectRegistry.h
The file was modifiedmlir/include/mlir/IR/PatternMatch.h
The file was modifiedmlir/lib/IR/BuiltinTypes.cpp
The file was modifiedmlir/include/mlir/IR/Matchers.h
The file was modifiedmlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
The file was modifiedmlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgDialect.cpp
The file was modifiedmlir/lib/Dialect/Tosa/Transforms/TosaLayerwiseConstantFoldPass.cpp
The file was modifiedmlir/include/mlir/Support/InterfaceSupport.h
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
Commit 6bb51bf06214af3690af7034f4edeb265732c481 by fsb4000
[libc++][test] Fix MSVC warnings C6054, C6001, C4242 in format_tests.h

Reviewed By: Mordante

Differential Revision: https://reviews.llvm.org/D131336
The file was modifiedlibcxx/test/std/utilities/format/format.functions/format_tests.h
Commit b02c7e2b630a04701d12efd2376f25eff2767279 by gareevroman
[Polly] Generalize the pattern matching to the case of tensor contractions

The pattern matching optimization of Polly detects and optimizes dense general
matrix-matrix multiplication. The generated code is close to high performance
implementations of matrix-matrix multiplications, which are contained in
manually tuned libraries. The described pattern matching optimization is
a particular case of tensor contraction optimization, which was
introduced in [1].

This patch generalizes the pattern matching to the case of tensor contractions
using the form of data dependencies and memory accesses produced by tensor
contractions [1].

Optimization of tensor contractions will be added in the next patch. Following
the ideas introduced in [2], it will logically represent tensor contraction
operands as matrix multiplication operands and use an approach for
optimization of matrix-matrix multiplications.

[1] - Gareev R., Grosser T., Kruse M. High-Performance Generalized Tensor
Op­erations: A Compiler-Oriented Approach // ACM Transactions on
Architec­ture and Code Optimization (TACO). 2018. Vol. 15, no. 3.
P. 34:1–34:27. DOI: 10.1145/3235029.

[2] - Matthews D. High-Performance Tensor Contraction without BLAS // SIAM
Journal on Scientific Computing. 2018. Vol. 40, no. 1. P. C 1—C 24.
DOI: 110.1137/16m108968x.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D114336
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_18.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_24.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_25.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_15.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_2.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_4.ll
The file was modifiedpolly/lib/Support/ISLTools.cpp
The file was modifiedpolly/lib/Transform/MatmulOptimizer.cpp
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_16.ll
The file was modifiedpolly/lib/Transform/ScheduleOptimizer.cpp
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_21.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_19.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_17.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_23.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_20.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm_2.ll
The file was addedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_22.ll
The file was modifiedpolly/include/polly/Support/ISLTools.h
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll
Commit f8d976171f2a1b7bf9268929f77904973edb0378 by david.green
[ARM] Regenerate vector_store.ll tests. NFC
The file was modifiedllvm/test/CodeGen/ARM/vector-store.ll
Commit d3b3f7653dd4d1013117429c2fb40b6f7273157a by jpienaar
[mlir] Flip to prefixed accessors (NFC)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Generalization.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/InlineScalarOperands.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/DecomposeLinalgOps.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/InitTensorToAllocTensor.cpp
The file was modifiedmlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/NamedOpConversions.cpp
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Detensorize.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Interchange.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/SplitReduction.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp
Commit e8c9eb49ead08dfd7e469a6574b2e8c10c2dd5f3 by gareevroman
[Polly] Suppress the LLVM-IR output for pattern matching tests, if there is no FileCheck-ing for it.
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_2.ll
The file was modifiedpolly/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll
Commit 32fd0b7fd5ab26a70be1a16846232055e92cb597 by aaron
Revert "[RDF] Remove explicit template arguments from Print"

This reverts commit ede96de751224487aea122af8bfb4e82bc54840b.

This breaks the build on Windows with Visual Studio:
https://lab.llvm.org/buildbot/#/builders/123/builds/12134
The file was modifiedllvm/lib/CodeGen/RDFLiveness.cpp
The file was modifiedllvm/lib/CodeGen/RDFGraph.cpp
Commit 82439b201a01707fd18f0d34a4b625132b9c7304 by hokein.wu
[clang-tidy] Fix a forwarding-reference-overload crash after the
ElaboratedType change.

After 15f3cd6bfc670ba6106184a903eb04be059e5977, the nss of
ElaboratedType can be null.
The file was modifiedclang-tools-extra/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone/forwarding-reference-overload.cpp
Commit ea540bc21078ffc28435ad5802d2e821036744bd by me
[polly] Fixed a number of typos. NFC

I went over the output of the following mess of a command:

`(ulimit -m 2000000; ulimit -v 2000000; git ls-files -z | parallel --xargs -0 cat | aspell list --mode=none --ignore-case | grep -E '^[A-Za-z][a-z]*$' | sort | uniq -c | sort -n | grep -vE '.{25}' | aspell pipe -W3 | grep : | cut -d' ' -f2 | less)`

and proceeded to spend a few days looking at it to find probable typos
and fixed a few hundred of them in all of the llvm project (note, the
ones I found are not anywhere near all of them, but it seems like a
good start).

Reviewed By: inclyc

Differential Revision: https://reviews.llvm.org/D131167
The file was modifiedpolly/test/ScopInfo/aliasing_conditional_alias_groups_2.ll
The file was modifiedpolly/test/ScopInfo/scalar_to_array.ll
The file was modifiedpolly/www/index.html
The file was modifiedpolly/test/CodeGen/non-affine-update.ll
The file was modifiedpolly/test/ScopInfo/redundant_parameter_constraint.ll
The file was modifiedpolly/test/ScopInfo/invariant_load_canonicalize_array_baseptrs_3.ll
The file was modifiedpolly/test/ScopInfo/multidim_fold_constant_dim_zero.ll
The file was modifiedpolly/test/ScopInfo/invariant_load_canonicalize_array_baseptrs_4.ll
The file was modifiedpolly/lib/Transform/ManualOptimizer.cpp
The file was modifiedpolly/www/projects.html
The file was modifiedpolly/lib/CodeGen/ManagedMemoryRewrite.cpp
The file was modifiedpolly/test/ScopInfo/multidim_many_references.ll
The file was modifiedpolly/www/performance.html
The file was modifiedpolly/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll
The file was modifiedpolly/docs/HowToManuallyUseTheIndividualPiecesOfPolly.rst
The file was modifiedpolly/www/todo.html
The file was modifiedpolly/test/ScopInfo/aliasing_many_parameters_not_all_involved.ll
The file was modifiedpolly/test/ScopDetect/non-affine-loop.ll
The file was modifiedpolly/www/documentation/gpgpucodegen.html
The file was modifiedpolly/lib/Transform/ScheduleTreeTransform.cpp
The file was modifiedpolly/test/ScopInfo/invalid_add_rec_after_invariant_load_remapping.ll
The file was modifiedpolly/include/polly/Support/VirtualInstruction.h
The file was modifiedpolly/test/ScopInfo/extract_constant_factor_introduces_new_parameter.ll
The file was modifiedpolly/test/ScopInfo/ranged_parameter.ll
The file was modifiedpolly/test/Simplify/out-of-scop-use-in-region-entry-phi-node.ll
The file was modifiedpolly/test/ForwardOpTree/changed-kind.ll
The file was modifiedpolly/tools/GPURuntime/GPUJIT.h
Commit 7602e285f69c4e3af60629100c151067c27b9eca by jpienaar
[mlir] Flip to prefixed accessors (NFC)

Missed these in td files.
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
Commit 3f10091c04e1478e0e5b2deb7dd782ebca0d529c by pklausler
[flang] Allow pure function references in expandable scalar

F18 disallows function references and coarray references from
appearing in scalar expressions that are to be expanded into
arrays to conform with other operands or actual arguments in
an elemental expression.  This is too strong, as pure procedures
can be safely used.

Differential Revision: https://reviews.llvm.org/D131096
The file was modifiedflang/lib/Semantics/expression.cpp
The file was modifiedflang/lib/Evaluate/call.cpp
The file was modifiedflang/include/flang/Evaluate/call.h
The file was modifiedflang/include/flang/Evaluate/tools.h
Commit dbff03b85840592fcfc97d1a10d4fad5f70e6aee by deadalnix
[X86] Add test case to recombine LEA from OR.
The file was modifiedllvm/test/CodeGen/X86/or-lea.ll
Commit 87dc7d4b619d9823b4d5d33bbc3ff3a193b9da2f by me
[clang][CodeGen] Factor out Swift ABI hooks (NFCI)

Swift calling conventions stands out in the way that they are lowered in
mostly target-independent manner, with very few customization points.
As such, swift-related methods of ABIInfo do not reference the rest of
ABIInfo and vice versa.
This change follows interface segregation principle; it removes
dependency of SwiftABIInfo on ABIInfo. Targets must now implement
SwiftABIInfo separately if they support Swift calling conventions.

Almost all targets implemented `shouldPassIndirectly` the same way. This
de-facto default implementation has been moved into the base class.

`isSwiftErrorInRegister` used to be virtual, now it is not. It didn't
accept any arguments which could have an effect on the returned value.
This is now a static property of the target ABI.

Reviewed By: rusyaev-roman, inclyc

Differential Revision: https://reviews.llvm.org/D130394
The file was modifiedclang/lib/CodeGen/ABIInfo.h
The file was modifiedclang/lib/CodeGen/TargetInfo.h
The file was modifiedclang/lib/CodeGen/SwiftCallingConv.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
Commit 1dcff823db9f4dd5c300507f679cdb2494287442 by Lang Hames
[ORC-RT] Drop __orc_rt::string_view now that we have c++17.

b1356504e63 enabled the use of c++17 features in LLVM, which means that we can
drop the ORC runtime's placeholder string_view implemention in favor of
std::string_view.
The file was modifiedcompiler-rt/lib/orc/adt.h
The file was modifiedcompiler-rt/lib/orc/elfnix_platform.cpp
The file was modifiedcompiler-rt/lib/orc/macho_platform.cpp
The file was modifiedcompiler-rt/lib/orc/simple_packed_serialization.h
The file was modifiedcompiler-rt/lib/orc/unittests/simple_packed_serialization_test.cpp
The file was modifiedcompiler-rt/lib/orc/run_program_wrapper.cpp
The file was modifiedcompiler-rt/lib/orc/unittests/adt_test.cpp
Commit 6ea5bf436a983ea9e16a5fe7534c87beca0a61b7 by Lang Hames
[JITLink] Fix some C++17 related fixmes.
The file was modifiedllvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
Commit 2843a1d87d95f09d2960b17f33b9ce57c6f878a3 by spatel
[InstCombine] add tests for bitwise logic; NFC
The file was modifiedllvm/test/Transforms/InstCombine/and-or-not.ll
Commit 8148c28fad4956b6fc785a5cf1d082eda56e1c6a by spatel
[ConstFolding] fix overzealous assert when converting FP half

Fixes #56981
The file was modifiedllvm/test/Transforms/InstSimplify/ConstProp/convert-from-fp16.ll
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
Commit 5b14c7aee82e67c31e7badae2f5323355cf5dd6d by kazu
[mlir] Fix a warning

This patch fixes:

  llvm-project/mlir/include/mlir/IR/OpDefinition.h:1544:19: error: use
  of bitwise '|' with boolean operands
  [-Werror,-Wbitwise-instead-of-logical]
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
Commit fc40804a5a1d30d336576956d2a84600872092a1 by avogelsgesang
[libc++][NFC] Fix `the the` in comment in `__format/buffer.h`

I made this commit primarily to test my commit access to the LLVM repo

Differential Revision: https://reviews.llvm.org/D131365
The file was modifiedlibcxx/include/__format/buffer.h
Commit e49c1568b6160f9a02da3295ac0d5c684fb64201 by davelee.com
[lldb] Dynamically generate enum names in lldbutil

Change the `<enum>_to_str` functions in lldbutil to be dynamic.

Instead of a manually maintained if/elif switch, the functions now perform
lookup in a dynamically generated dict. The names are determined by stripping
the enum's prefix, and then lowercasing the remaining suffix, ex:

    eStateRunning -> "running"

Differential Revision: https://reviews.llvm.org/D131138
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbutil.py
Commit 87990fd8f4ba0e87ae21c69ae0cff4921c0e2cdf by davelee.com
[lldb] Fix formatting in python-reference.rst
The file was modifiedlldb/docs/use/python-reference.rst
Commit c615e467dbaf5240e4f48f3536d4857ff58c7531 by davelee.com
[lldb] Hoist TraceOn check out of loop (NFC)
The file was modifiedlldb/test/API/lang/cpp/class_types/TestClassTypesDisassembly.py
Commit aa2a3196e28425c6bcf74bbf913efeda1f7fa1c7 by Lang Hames
[ORC-RT] Remove a stray __orc_rt::string_view helper.

This function was accidentally left in after 1dcff823db9.
The file was modifiedcompiler-rt/lib/orc/adt.h
Commit b5f8d42efe3e246d582d4a1a328fac915e4ce8dc by kazu
[ADT] Deprecate Optional::{hasValue,getValue} (NFC)

Differential Revision: https://reviews.llvm.org/D131349
The file was modifiedllvm/include/llvm/ADT/Optional.h
Commit f616a63db25579d51bc11763535aaf371b075827 by kazu
[mlir] Use value instead of getValue
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
Commit 41c41fcbc036d75e6b6ea0756857099befbb3313 by Lang Hames
Revert "[JITLink] Fix some C++17 related fixmes."

This reverts commit 6ea5bf436a983ea9e16a5fe7534c87beca0a61b7.

6ea5bf436a983ea9e16a5fe7534c87beca0a61b7 made use of new c++17 rules regarding
order of evaluation (specifically: in function calls the expression naming the
function should be sequenced before the evalution of any operands) to simplify
some continuation-passing calls. Unfortunately this appears to break at least
one MSVC bot: https://lab.llvm.org/buildbot/#/builders/123/builds/12149 .

Includes an update to the comments to note that the workaround is now based on
MSVC limitations, not on LLVM adopting c++17.
The file was modifiedllvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
Commit 921316af6e6b34d57d5e8f26f86f2bce8d034c7f by pklausler
[flang][runtime] Catch & report attempts at recursive I/O

When an I/O statement contains a function call that attempts
to perform I/O on the same unit, detect the recursive I/O
and terminate with a useful message rather than deadlocking in
the threading library.

Differential Revision: https://reviews.llvm.org/D131097
The file was modifiedflang/runtime/unit.h
The file was modifiedflang/runtime/unit.cpp
The file was modifiedflang/runtime/io-api.cpp
Commit 34a785fee747f45607ec2882f1accebf2cff9006 by spatel
[InstSimplify] add test for over-shift of scalable vector; NFC
The file was modifiedllvm/test/Transforms/InstSimplify/shift.ll
Commit 74b5e797d5c9364bfc733f07ed9d27a33853f57b by spatel
[InstSimplify] fold scalable vectors with over-shift splat constant to poison

Fixes #56968
The file was modifiedllvm/test/Transforms/InstSimplify/shift.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit d446d91aa39da6b616aacb3e036d4ff0d8905337 by Jonas Devlieghere
[lldb] Use single-argument static_assert where applicable (NFC)

Since C++17 the message string for static_assert is optional. Replaces
static asserts with an empty string literal with the single-argument
variant.
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp
The file was modifiedlldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.cpp
The file was modifiedlldb/include/lldb/Utility/Log.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DIERef.h
The file was modifiedlldb/include/lldb/Utility/Scalar.h
The file was modifiedlldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachVMRegion.cpp
The file was modifiedlldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp
Commit 608131b1f94d895e848405215f29c30822f93603 by Lang Hames
[ORC-RT] Fix missing #include <string_view>s.

1dcff823db9 updated the ORC runtime to use std::string_view, rather than its
own placeholder class (__orc_rt::string_view), but failed to add these
includes.
The file was modifiedcompiler-rt/lib/orc/elfnix_platform.cpp
The file was modifiedcompiler-rt/lib/orc/simple_packed_serialization.h
The file was modifiedcompiler-rt/lib/orc/macho_platform.cpp
Commit e6373de53d35ebc0e9b0d62e664b7718f589b28e by pklausler
[flang] Allow assignment to host association in BLOCK in PURE subprogram

We need to distinguish BLOCK host association from subprogram host
association when checking assignments in PURE subprograms.
The specific case that is not allowed is an assignment to a variable
from the scope around the PURE subprogram.

Differential Revision: https://reviews.llvm.org/D131098
The file was modifiedflang/lib/Semantics/assignment.cpp
The file was modifiedflang/include/flang/Semantics/tools.h
The file was modifiedflang/lib/Semantics/tools.cpp
Commit 10de5512971014cb98d41feefcf4206ca442c743 by jpienaar
[mlir][python] Address deprecation warning for hasValue
The file was modifiedmlir/lib/Bindings/Python/IRModule.h
Commit d1bb3016ddc8331a96048eda37ab13bf412c7749 by ashay
[mlir] fix `add_tablegen()` macro to allow installing mlir-pdll

Prior to this patch, the `add_tablegen()` macro in
llvm/cmake/modules/TableGen.cmake added the install rule only if
`project` matched `LLVM` or `MLIR`.  This patch adds an optional
`DESTINATION` argument, which, if non-empty, decides whether (and where)
to install the tablegen tool, thus eliminating the need for
project-specific overrides.  This patch also updates all other
invocations of the `add_tablegen()` macro.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D131282
The file was modifiedllvm/utils/TableGen/CMakeLists.txt
The file was modifiedclang/utils/TableGen/CMakeLists.txt
The file was modifiedmlir/tools/mlir-tblgen/CMakeLists.txt
The file was modifiedmlir/tools/mlir-pdll/CMakeLists.txt
The file was modifiedllvm/cmake/modules/TableGen.cmake
Commit 1d1f5a5251f7570615f0669a56af0ac5b8b302bc by pklausler
[flang] Handle subnormals while folding SCALE, SET_EXPONENT, & FRACTION

The implementations of folding for the intrinsic functions SCALE and SET_EXPONENT
do not cope correctly with numbers in the subnormal range.  Fix SCALE,
then modify SET_EXPONENT to be a special case of SCALE.

Differential Revision: https://reviews.llvm.org/D131099
The file was modifiedflang/lib/Evaluate/real.cpp
The file was modifiedflang/include/flang/Evaluate/real.h
The file was modifiedflang/test/Evaluate/folding07.f90
Commit 98339ac7af30b95f42f50e27bb6f6b7e2857ddc9 by jun
[Support] move llvm::llvm_is_multithread to header, NFC

This allow optimization without LTO. Also remove some useless else-ifs.
Signed-off-by: Jun Zhang <jun@junz.org>

Differential Revision: https://reviews.llvm.org/D131313
The file was modifiedllvm/include/llvm/Support/Threading.h
The file was modifiedllvm/include/llvm/Support/Mutex.h
The file was modifiedllvm/lib/Support/Threading.cpp
Commit ace6e172bd2c86a3b035b90c7e4adedb6ab7a291 by luxufan
[RISCV] Support fe_getround and fe_raise_inexact in builtins

Reviewed By: luismarques

Differential Revision: https://reviews.llvm.org/D128240
The file was modifiedcompiler-rt/lib/builtins/CMakeLists.txt
The file was addedcompiler-rt/lib/builtins/riscv/fp_mode.c
Commit cf7c8bd74ecc6b60f42b78b1829aaf87b5e077a9 by thakis
[gn build] (manually) port ace6e172bd2c
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
Commit 64d326c33c6d3f008f04d850b4b9e62c6d4d99b0 by sheng
[M68k] Add MC support for link/unlk

Reviewers: myhsu

Differential Revision: https://reviews.llvm.org/D125444
The file was modifiedllvm/test/CodeGen/M68k/Alloc/dyn_alloca_aligned.ll
The file was modifiedllvm/lib/Target/M68k/M68kFrameLowering.cpp
The file was addedllvm/test/CodeGen/M68k/link-unlnk.ll
The file was modifiedllvm/lib/Target/M68k/M68kInstrData.td
The file was addedllvm/test/MC/M68k/Data/Classes/MxLink.s
The file was modifiedllvm/test/MC/Disassembler/M68k/data.txt
Commit 350f17ab52ec9df60095f7b7bccd49c429885ef7 by i
[llvm-ar] Remove unused parameter. NFC
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
Commit 0c2b738f8f1d252d31f1075f040af664802b9bac by luweining
[LoongArch] Support for varargs

This patch ensures the `$fp` always points to the bottom of the vararg
spill region.
Includes support for expand `ISD::DYNAMIC_STACKALLOC`.

Differential Revision: https://reviews.llvm.org/D130250
The file was modifiedllvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp
The file was modifiedllvm/lib/Target/LoongArch/LoongArchFrameLowering.h
The file was modifiedllvm/lib/Target/LoongArch/LoongArchISelLowering.h
The file was modifiedllvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
The file was addedllvm/test/CodeGen/LoongArch/vararg.ll
Commit d3651aa697c6a099768ffdde3f3c26a42f113268 by kazu
[BOLT] Upgrade to C++17

Without this patch, I am getting errors like:

  llvm-project/llvm/include/llvm/ADT/StringRef.h:233:7: error: use of
  the 'nodiscard' attribute is a C++17 extension
  [-Werror,-Wc++17-extensions]

Differential Revision: https://reviews.llvm.org/D131348
The file was modifiedbolt/CMakeLists.txt
Commit 0e37ef0186acf071994ea80dde788c397822ed72 by kazu
[Transforms] Fix comment typos (NFC)
The file was modifiedllvm/lib/Transforms/IPO/IROutliner.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopSink.cpp
The file was modifiedllvm/lib/Transforms/IPO/PartialInlining.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopPeel.cpp
The file was modifiedllvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopFuse.cpp
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/MemProfiler.cpp
Commit 1dd8a318544bdf4d06b337340d678df06e4f2f0a by kazu
[clang-tidy] Use is_contained (NFC)
The file was modifiedclang-tools-extra/clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/objc/NSDateFormatterCheck.cpp
Commit e20d210eef92f3952de0e89ef2f01a146480a13b by kazu
[llvm] Qualify auto (NFC)

Identified with readability-qualified-auto.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was modifiedllvm/lib/Transforms/Scalar/StructurizeCFG.cpp
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SCCP.cpp
The file was modifiedllvm/lib/Transforms/IPO/SampleContextTracker.cpp
The file was modifiedllvm/lib/Transforms/IPO/ConstantMerge.cpp
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
The file was modifiedllvm/include/llvm/Support/GenericIteratedDominanceFrontier.h
The file was modifiedllvm/lib/DebugInfo/CodeView/TypeDumpVisitor.cpp
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/lib/Transforms/Utils/FunctionComparator.cpp
The file was modifiedllvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
The file was modifiedllvm/tools/llvm-pdbutil/PrettyClassLayoutGraphicalDumper.cpp
The file was modifiedllvm/lib/DebugInfo/PDB/Native/PDBStringTableBuilder.cpp
The file was modifiedllvm/include/llvm/IR/PassManager.h
The file was modifiedllvm/lib/Transforms/IPO/PruneEH.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalDCE.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
The file was modifiedllvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
The file was modifiedllvm/tools/llvm-tli-checker/llvm-tli-checker.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
The file was modifiedllvm/lib/Transforms/Scalar/Reassociate.cpp
The file was modifiedllvm/lib/Analysis/MemoryProfileInfo.cpp
The file was modifiedllvm/lib/Transforms/Utils/CloneFunction.cpp
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
The file was modifiedllvm/lib/MC/MCWin64EH.cpp
The file was modifiedllvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
The file was modifiedllvm/lib/Transforms/Scalar/ConstantHoisting.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonBlockRanges.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Utils/PredicateInfo.cpp
The file was modifiedllvm/include/llvm/IR/InstrTypes.h
The file was modifiedllvm/lib/Transforms/Scalar/EarlyCSE.cpp
The file was modifiedllvm/lib/Transforms/Utils/FixIrreducible.cpp
The file was modifiedllvm/lib/MC/SubtargetFeature.cpp
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/tools/llvm-cxxdump/llvm-cxxdump.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroElide.cpp
The file was modifiedllvm/include/llvm/Object/ELFObjectFile.h
The file was modifiedllvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedllvm/include/llvm/ProfileData/InstrProf.h
The file was modifiedllvm/include/llvm/Transforms/Utils/Evaluator.h
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
Commit 7042417ef11ce34300908c53ee9659bf8f2ab9ec by n.james93
[NFC][clang] Bring `and_present` and `if_present` casting functions to clang namespace

This should enable simpler migration when the `and_nonnull` and `or_null` functions are deprecated.
The file was modifiedclang/include/clang/Basic/LLVM.h
Commit a3f7a2c183455f390f017effc99bcd1b37328521 by carlos.alberto.enciso
[CodeView] Add function to get size in bytes for TypeIndex/CVType.

Given a TypeIndex or CVType return its size in bytes. Basically it
is the inverse to 'CodeViewDebug::lowerTypeBasic', that returns a
TypeIndex based in a size.

Reviewed By: rnk, djtodoro

Differential Revision: https://reviews.llvm.org/D129846
The file was modifiedllvm/lib/DebugInfo/CodeView/TypeRecordHelpers.cpp
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/TypeRecordHelpers.h
Commit 8342ea6eac85bd20c56be0ab71b4ebbccd134c67 by diana.picus
[scudo] Try to fix standalone build on armv7

When linking scudo standalone on armv7, it can't find symbols related to
unwinding (e.g. __aeabi_unwind_cpp_pr0). This is because it is passing
--unwindlib=none. This patch hacks around the issue by adding
COMPILER_RT_UNWINDER_LINK_LIBS to the link line.

I don't know anything about scudo, so I'm not sure what the original
intention was.

See also https://github.com/llvm/llvm-project/issues/56900

Differential Revision: https://reviews.llvm.org/D131250
The file was modifiedcompiler-rt/lib/scudo/standalone/CMakeLists.txt
Commit e3ef7295ed5d7468dbe810499b4055b68a76cf34 by luweining
[mailmap] Add entry for myself

Differential Revision: https://reviews.llvm.org/D131353
The file was modified.mailmap
Commit 17ac26a78eaa1cbc8543c97f18d37c2e0c8bfad3 by cullen.rhodes
[AArch64][SVE] NFC: Add tests for masked FP arith patterns (D130564)
The file was modifiedllvm/test/CodeGen/AArch64/sve-fp-combine.ll
Commit a6dec9f5b2840b77dcf3c1731a68428893501ade by cullen.rhodes
[AArch64][SVE] Add patterns to select masked FP arith

Add patterns to select predicated instructions when lowering:

  fadd(a, select(mask, b, splat(0)))
  fsub(a, select(mask, b, splat(0)))

'fadd' is unsafe unless no-signed zeros fast-math flag is set, since

  -0.0 + 0.0 = 0.0

changes the sign. Alive2: https://alive2.llvm.org/ce/z/wbhJh_

Also adds FMA patterns for:

  fadd(a, select(mask, mul(b, c), splat(0))) -> fmla(a, mask, b, c)
  fsub(a, select(mask, mul(b, c), splat(0))) -> fmla(a, mask, b, c)

These patterns require the 'contract' fast-math flag to be set, and the
fadd 'nsz' as above.

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D130564
The file was modifiedllvm/test/CodeGen/AArch64/sve-fp-combine.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Commit 061e0189a3dab6b1831a80d489ff1b15ad93aafb by david.green
[DAG] Ensure Legal BUILD_VECTOR elements types in shuffle->And combine

D129150 added a combine from shuffles to And that creates a BUILD_VECTOR
of constant elements. We need to ensure that the elements are of a legal
type, to prevent asserts during lowering.

Fixes #56970.

Differential Revision: https://reviews.llvm.org/D131350
The file was modifiedllvm/test/CodeGen/ARM/vector-store.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 5512f398a039e3ed7df502a0c263a8f366a84a4c by n.james93
[ADT] Update Optional Deprecation with fix-it

When Optional accessors were deprecated, in D131349,  the standard c++14 style attribute was used.
Clang has a slightly better deprecated attribute that enables simpler migration by embedding fix-its.

Reviewed By: kazu

Differential Revision: https://reviews.llvm.org/D131381
The file was modifiedllvm/include/llvm/ADT/Optional.h
The file was modifiedllvm/include/llvm/Support/Compiler.h
Commit 1eee6de873974f55538df976bf7802f019eac70a by anubhabghosh.me
[Orc][JITLink] Slab based memory allocator to reduce RPC calls

Calling reserve() used to require an RPC call. This commit allows large
ranges of executor address space to be reserved. Subsequent calls to
reserve() will return subranges of already reserved address space while
there is still space available.

Differential Revision: https://reviews.llvm.org/D130392
The file was modifiedllvm/unittests/ExecutionEngine/Orc/MapperJITLinkMemoryManagerTest.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/MapperJITLinkMemoryManager.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/MapperJITLinkMemoryManager.cpp
Commit 72017e9b16b737c5bd7c1dd33abff36f368fa724 by simon.tatham
[llvm-objdump,ARM] Fix big-endian AArch32 disassembly.

The ABI for big-endian AArch32, as specified by AAELF32, is above-
averagely complicated. Relocatable object files are expected to store
instruction encodings in byte order matching the ELF file's endianness
(so, big-endian for a BE ELF file). But executable images can
//either// do that //or// store instructions little-endian regardless
of data and ELF endianness (to support BE32 and BE8 platforms
respectively). They signal the latter by setting the EF_ARM_BE8 flag
in the ELF header.

(In the case of the Thumb instruction set, this all means that each
16-bit halfword of a Thumb instruction is stored in one or other
endianness. The two halfwords of a 32-bit Thumb instruction must
appear in the same order no matter what, because the first halfword is
the one that must avoid overlapping the encoding of any 16-bit Thumb
instruction.)

llvm-objdump was unconditionally expecting Arm instructions to be
stored little-endian. So it would correctly disassemble a BE8 image,
but if you gave it a BE32 image or a BE object file, it would retrieve
every instruction in byte-swapped form and disassemble it to
nonsense. (Even an object file output by LLVM itself, because
ARMMCCodeEmitter outputs instructions big-endian in big-endian mode,
which is correct for writing an object file.)

This patch allows llvm-objdump to correctly disassemble all three of
those classes of Arm ELF file. It does it by introducing a new
SubtargetFeature for big-endian instructions, setting it from the ELF
image type and flags during llvm-objdump setup, and teaching both
ARMDisassembler and llvm-objdump itself to pay attention to it when
retrieving instruction data from a section being disassembled.

Differential Revision: https://reviews.llvm.org/D130902
The file was modifiedllvm/lib/Target/ARM/ARM.td
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/ELF.h
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was addedllvm/test/tools/llvm-objdump/ELF/ARM/be-disasm.test
The file was modifiedllvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
Commit fb10bb0d2c50d1ec2f3cf827d09f18bc54a8097a by llvm-dev
ProcessTest.cpp - replace Optional::hasValue() with Optional::has_value()

Fixes windows-only build warnings
The file was modifiedllvm/unittests/Support/ProcessTest.cpp
Commit e5e93b6130bde96d7e14851e218c5bf055f8a834 by llvm-dev
[DAG] FoldConstantArithmetic - add initial support for undef elements in bitcasted binop constant folding

FoldConstantArithmetic can fold constant vectors hidden behind bitcasts (e.g. vXi64 -> v2Xi32 on 32-bit platforms), but currently bails if either vector contains undef elements. These undefs can often occur due to SimplifyDemandedBits/VectorElts calls recognising that the upper bits are often unnecessary (e.g. funnel-shift/rotate implicit-modulo and AND masks).

This patch adds a basic 'FoldValueWithUndef' handler that will attempt to constant fold if one or both of the ops are undef - so far this just handles the AND and MUL cases where we always fold to zero.

The RISCV codegen increase is interesting - it looks like the BUILD_VECTOR lowering was loading a constant pool entry but now (with all elements defined constant) it can materialize the constant instead?

Differential Revision: https://reviews.llvm.org/D130839
The file was modifiedllvm/test/CodeGen/RISCV/srem-seteq-illegal-types.ll
The file was modifiedllvm/test/CodeGen/ARM/srem-seteq-illegal-types.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/srem-seteq-illegal-types.ll
The file was modifiedllvm/test/CodeGen/X86/fshl-splat-undef.ll
Commit b4e9977fc18405d4a11cbaf1975bcadbf75920b8 by benny.kra
Remove C++17 #ifdefs around the implicit conversion between StringRef and string_view

This is no longer needed as LLVM is built with C++17 now. Also drop the
explicit conversion to std::string as the implicit conversion to
std::string_view gets picked first anyways.
The file was modifiedllvm/include/llvm/ADT/StringRef.h
Commit ab4fc87a9d96d759df3c287fd63892165e60e526 by david.green
[DAG] Emit table lookup from TargetLowering::expandCTTZ()

This patch emits table lookup in expandCTTZ.

Context -
https://reviews.llvm.org/D113291 transforms set of IR instructions to
cttz intrinsic but there are some targets which does not support CTTZ or
CTLZ. Hence, I generate a table lookup in TargetLowering::expandCTTZ().

Differential Revision: https://reviews.llvm.org/D128911
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was addedllvm/test/CodeGen/SPARC/cttz.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/ARM/cttz.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv32zbb.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv64zbb.ll
The file was modifiedllvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll
Commit bf20d43f8263b1df43c26a2ac9fec7220bcb735e by thakis
[lld/mac] Use C++17 nested namespace syntax in most places

Some header files used

    namespace lld {
    namespace macho {
    // ...
    } // namespace macho
    std::string toString(const Type &t);
    } // namespace lld

In those files, I didn't use a nested namespace since it's not a big win there.

No behavior change.

Differential Revision: https://reviews.llvm.org/D131354
The file was modifiedlld/MachO/ExportTrie.h
The file was modifiedlld/MachO/MapFile.h
The file was modifiedlld/MachO/Writer.h
The file was modifiedlld/MachO/MarkLive.cpp
The file was modifiedlld/MachO/Dwarf.h
The file was modifiedlld/MachO/Relocations.h
The file was modifiedlld/MachO/SymbolTable.h
The file was modifiedlld/MachO/OutputSection.h
The file was modifiedlld/MachO/EhFrame.h
The file was modifiedlld/MachO/ICF.h
The file was modifiedlld/MachO/SyntheticSections.h
The file was modifiedlld/MachO/Arch/ARM64Common.h
The file was modifiedlld/MachO/ObjC.h
The file was modifiedlld/MachO/SectionPriorities.h
The file was modifiedlld/MachO/Driver.h
The file was modifiedlld/MachO/MachOStructs.h
The file was modifiedlld/MachO/Target.h
The file was modifiedlld/MachO/OutputSegment.h
The file was modifiedlld/MachO/MarkLive.h
The file was modifiedlld/MachO/ConcatOutputSection.h
The file was modifiedlld/MachO/LTO.h
The file was modifiedlld/MachO/UnwindInfoSection.h
Commit b334709467bf5783c27309ecebda6e75578fc14c by llvm-dev
Remove superfluous ; outside of a function
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 7a66fe1075cfc7568554aeea9c40997dfb581979 by Stefan Gränitz
Wrap `llvm_unreachable` macro in do-while loop

Macros that expand into multiple terms can cause interesting preprocessor hickups depending
on the context they are used in. https://github.com/llvm/llvm-project/issues/56867 reported
a miscompilation of `llvm_unreachable(msg)` inside a `LLVM_DEBUG({ ... })` block. We were
able to fix it by wrapping the expansion in a `do {} while(false)`.

Differential Revision: https://reviews.llvm.org/D131337
The file was modifiedllvm/include/llvm/Support/ErrorHandling.h
Commit 8805cf2660d2add2dfc57869c63a6f3231cdf16b by markus.boeck02
[mlir] Remove redundant `inline` from D131323
The file was modifiedmlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
The file was modifiedmlir/include/mlir/IR/BuiltinTypes.td
Commit b99da9d255e9182fcf477b32b2cea221f2b54c85 by thakis
[lld/mac] Use C++17 structured bindings

No behavior change.

Differential Revision: https://reviews.llvm.org/D131355
The file was modifiedlld/MachO/MapFile.cpp
The file was modifiedlld/MachO/SymbolTable.cpp
Commit 090bdaad34867a4aafa750cbe5bdb0d24864a121 by benny.kra
[Support] Use std::shared_mutex when we're not on old MacOS

In C++17 mode this is always available.
The file was modifiedllvm/include/llvm/Support/RWMutex.h
Commit 99a5a029e66643364c87d3945fb6990e943915dc by benny.kra
[ASTMatchers] Replace hand-coded copy of std::apply with the real C++17 function. NFCI
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
Commit bce3da9b8996541dbfc42c27387ff0f34cbb5353 by llvm-dev
[X86] Add 32-bit test coverage to or-lea.ll

Noticed while triaging D131358
The file was modifiedllvm/test/CodeGen/X86/or-lea.ll
Commit 7dc410cbff28270fcfcf7f2dd80f57ead7ab7d18 by hokein.wu
[clang-tidy] Fix a regression of readability-container-size-empty after the AST ElaboratedType change.

With 15f3cd6bfc670ba6106184a903eb04be059e5977, we no longer emit a
diagnostic on a real std::vector case where the size method returns a
sugar `size_type`. This patch fixes it.

```
std::vector<int> v;
if (v.size() == 0) // => no check diagnostics
  ;
```

Differential Revision: https://reviews.llvm.org/D131390
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
Commit e36f9e13bca41223bd6af7e49bf020e58a676e9d by Louis Dionne
[libc++] Allow enabling assertions when back-deploying

When back-deploying to older platforms, we can still provide assertions,
but we might not be able to provide a great implementation for the verbose
handler. Instead, we can just call ::abort().

Differential Revision: https://reviews.llvm.org/D131199
The file was modifiedlibcxx/utils/ci/buildkite-pipeline.yml
The file was modifiedlibcxx/include/__availability
The file was modifiedlibcxx/include/__verbose_abort
The file was modifiedlibcxx/docs/UsingLibcxx.rst
The file was modifiedlibcxx/test/libcxx/assertions/headers_declare_verbose_abort.sh.cpp
The file was modifiedlibcxx/test/libcxx/assertions/single_expression.sh.cpp
The file was removedlibcxx/test/libcxx/assertions/default_verbose_abort.availability.verify.cpp
The file was modifiedlibcxx/test/libcxx/assertions/default_verbose_abort.pass.cpp
The file was modifiedlibcxx/utils/ci/run-buildbot
Commit 0a5c344a84a452452185f3a6bd7d7679a42abb42 by Louis Dionne
[libc++] Add missing <stdbool.h> to the modulemap

It used to be defined by the compiler, but libc++ now provides it.

Differential Revision: https://reviews.llvm.org/D131201
The file was modifiedlibcxx/include/module.modulemap.in
Commit d4abdd2e3dda8f94219879501d22361e0549592b by tobias
[CMake] Check CMAKE_CXX_STANDARD and error if it's to old

Also nuke the old value out of the cache if it's there, otherwise
it could lead to problems when the project increases the standard
and the developer just runs the "make/ninja" program.

Reviewed By: royjacobson

Differential Revision: https://reviews.llvm.org/D131367
The file was modifiedllvm/CMakeLists.txt
Commit 36cc533471cb87ff6e9f44d9a3cd87f21369a87e by dantrushin
[EarlyCSE][OpaquePointers]Replace assert with return for mask type check.

When EarlyCSE tries to common vector masked loads/stores, it first checks that
they have same base operand and then assumes that this is enough for mask types
to be equal. This is true for typed pointers but false for opaque ones -
two loads of different vector sizes from same base pointer '%b' are the same,
`ptr %b`. (For typed pointers, `%b` was cast to vector pointer type so bases
were different).
Change assert to return from lambda `isSubmask` so this transformation properly
works with opaque pointers.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D131251
The file was modifiedllvm/test/Transforms/EarlyCSE/opaque-ptr.ll
The file was modifiedllvm/lib/Transforms/Scalar/EarlyCSE.cpp
Commit b53d44fe47413c87f619baf9e057f2a2e49d3998 by spatel
[EarlyCSE][ConstantFolding] add tests for atan/atan2; NFC

Baseline coverage for D127964.
The file was addedllvm/test/Transforms/EarlyCSE/atan.ll
Commit 27442728cd2e28bfaf0f2d89ad6378b4377e9c66 by Louis Dionne
[libc++][NFC] Fix signature of main in test
The file was modifiedlibcxx/test/support/test.support/test_proxy.pass.cpp
Commit 9ea54ac9cea6c43f3b37dd00f360e6a2ec5f9fb6 by llvm-dev
[X86] X86ISelDAGToDAG.cpp - use auto for all values derived from cast/dyn_cast (style). NFC.
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit 3354644aad90c805aaf6ec04e05fb9d8c8e6e443 by avogelsgesang
[libc++][doc] Update `SpaceshipProjects` status to reflect in-flight reviews
The file was modifiedlibcxx/docs/Status/SpaceshipProjects.csv
Commit dc07d2c91dfd7f14991d07ef1df5f1f0b19b306d by arjunpitchanathan
[MLIR][Presburger] make sample test with integer lexmin use containsPointNoLocal

IntegerPolyhedron::findIntegerLexmin currently does not return values of
the local ids, so when a test for sampling includes a set with locals, the
result of findIntegerLexmin should be checked using containsPointNoLocal,
not containsPoint.
The file was modifiedmlir/include/mlir/Analysis/Presburger/IntegerRelation.h
The file was modifiedmlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
Commit 576375a2d670a7b1bd84b53b0187605a5f4ea0c8 by tobias
[LLD][COFF] Ignore DEBUG_S_XFGHASH_TYPE/VIRTUAL

These are new debug types that ships with the latest
Windows SDK and would warn and finally fail lld-link.

The symbols seems to be related to Microsoft's XFG
which is their version of CFG. We can't handle any of
this yet, so for now we can just ignore these types
so that lld doesn't fail with a new version of Windows
SDK.

Fixes: #56285

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D129378
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/CodeView.h
The file was modifiedlld/test/COFF/pdb-unknown-subsection.s
The file was modifiedllvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp
The file was modifiedlld/COFF/PDB.cpp
The file was addedlld/test/COFF/pdb-xfg-section.s
Commit af8205d0eb47b416b6865488056797f4162321e4 by wyehia
Revert "XFAIL some PGO tests on AIX until the new linker becomes publicly available."

AIX 7.2 TL5 SP4 and AIX 7.3 TL0 SP2 have been released as of now.
The linker in these OS versions recognizes and properly supports
__start_SECNAME and __stop_SECNAME symbols which are needed for PGO.

This reverts commit 93bb2f16e85d2d4c8d3ddadebd99fc0fe26d974b.
The file was modifiedcompiler-rt/test/profile/instrprof-gcov-exceptions.test
The file was modifiedcompiler-rt/test/profile/instrprof-path.c
The file was modifiedcompiler-rt/test/profile/runtime_infinite.c
The file was modifiedcompiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
The file was modifiedcompiler-rt/test/profile/Posix/gcov-execlp.c
The file was modifiedcompiler-rt/test/profile/gcov-__gcov_flush-terminate.c
The file was modifiedcompiler-rt/test/profile/gcov-dump-and-remove.c
The file was modifiedcompiler-rt/test/profile/instrprof-merge-entry-cover.c
The file was modifiedcompiler-rt/test/profile/instrprof-gcov-one-line-function.test
The file was modifiedcompiler-rt/test/profile/infinite_loop.c
The file was modifiedcompiler-rt/test/profile/gcov-basic.c
The file was modifiedcompiler-rt/test/profile/gcov-complex-line.c
The file was modifiedcompiler-rt/test/profile/instrprof-coverage.c
The file was modifiedcompiler-rt/test/profile/Posix/gcov-destructor.c
The file was modifiedcompiler-rt/test/profile/Posix/instrprof-gcov-parallel.test
The file was modifiedcompiler-rt/test/profile/instrprof-gcov-multithread_fork.test
The file was modifiedcompiler-rt/test/profile/instrprof-gcov-switch.test
The file was modifiedcompiler-rt/test/profile/instrprof-icall-promo.test
The file was modifiedcompiler-rt/test/profile/instrprof-gcov-two-objects.test
The file was modifiedcompiler-rt/test/profile/instrprof-get-filename.c
The file was modifiedcompiler-rt/test/profile/instrprof-set-dir-mode.c
The file was modifiedcompiler-rt/test/profile/Posix/gcov-fork.c
The file was modifiedcompiler-rt/test/profile/instrprof-gcov-multiple-bbs-single-line.test
Commit fc470013d13f2b996731c865b921df5a87a40e3f by chris.bieneman
[Docs] Add HLSL ResourceType documentation

Along with the new documentation this also re-organizes the HLSL docs
to a subdirectory. The hope is to continue to expand this documentation
as the HLSL implementation advances.

Differential Revision: https://reviews.llvm.org/D130794
The file was removedclang/docs/HLSLSupport.rst
The file was modifiedclang/docs/index.rst
The file was addedclang/docs/HLSL/HLSLSupport.rst
The file was addedclang/docs/HLSL/HLSLDocs.rst
The file was addedclang/docs/HLSL/ResourceTypes.rst
Commit 59f3b3d7963b933451dcd7516dc3c7135d3c1258 by spatel
[EarlyCSE][ConstantFolding] move test files to dir of pass in RUN line; NFC
The file was addedllvm/test/Transforms/EarlyCSE/math-2.ll
The file was addedllvm/test/Transforms/EarlyCSE/math-1.ll
The file was removedllvm/test/Transforms/InstSimplify/ConstProp/math-2.ll
The file was removedllvm/test/Transforms/InstSimplify/ConstProp/math-1.ll
Commit 59bb9e37c66bfbec6b2f0f7a07516adb6859acc3 by a.v.lapshin
[llvm-dwarfutil] Remove unnecessarily dependency.

llvm-dwarutil.cpp redundantly calls to InitializeAllAsmParsers.
That call might be removed as well as dependency on ${LLVM_TARGETS_TO_BUILD}

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D131157
The file was modifiedllvm/tools/llvm-dwarfutil/CMakeLists.txt
The file was modifiedllvm/tools/llvm-dwarfutil/llvm-dwarfutil.cpp
Commit 9641a201a565346bfddfc02b13b2b583c056e61d by llvm-dev
[DAG] Add initial SelectionDAG::canCreateUndefOrPoison support

This patch adds basic support for a DAG variant of the canCreateUndefOrPoison call and updates DAGCombiner::visitFREEZE to use it, further Opcodes (including target specific Opcodes) can be handled when we have test coverage.

So far, I've left visitFREEZE to just use this for unary nodes (which currently means the existing BITCAST/FREEZE cases) - later patches will add other unary opcodes (with test coverage) and we can also refactor visitFREEZE to support a general number of operands like we do in InstCombinerImpl::pushFreezeToPreventPoisonFromPropagating.

I'm not aware of any vector test freeze coverage so the DemandedElts (and the Depth) args are not being used yet - but they are in place. Similarly we will be able to handle poison generating SDNodeFlags as and when it becomes an issue.

Part of the work for D106675 / PR50468

Differential Revision: https://reviews.llvm.org/D130646
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit ba9dc5f577389db2cc706c0c66615f430a55d153 by kubak
[ADT] Add is_splat overload accepting initializer_list

Allow for `is_splat` to be used inline, similar to `is_contained`, e.g.,
```
if (is_splat({type1, type2, type3, type4}))
  ...
```

which is much more concise and less typo-prone than an equivalent chain of equality comparisons.

My immediate motivation is to clean up some code in the SPIR-V dialect that currently needs to either construct a temporary container or use `makeArrayRef` before calling `is_splat`.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D131289
The file was modifiedllvm/unittests/ADT/STLExtrasTest.cpp
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
Commit 5784199dd1c12be098d3ac8ca7b91dc719539bfd by Dylan.Fleming
[NFC][Flang][OpenMP] Refactor OpenMP.cpp::genOpenMPReduction

This patch serves two main purposes:
Firstly, to split some of the logic into a seperate method
to try and improve readability

On top of this, it aims to make creating the reductions more generic.
That way, subsequent patches adding reductions shouldn't need
to add a significant amount of extra logic checks, such as checking
for specific operators.

Reviewed By: awarzynski

Differential Revision: https://reviews.llvm.org/D131161
The file was modifiedflang/include/flang/Lower/OpenMP.h
The file was modifiedflang/lib/Lower/OpenMP.cpp
Commit 0f5385b70eddfbcb26fed973a4d6e4cc01260930 by kparzysz
Recommit [RDF] Remove explicit template arguments from Print

The build breakages should be addressed by d4abdd2e3d:
  [CMake] Check CMAKE_CXX_STANDARD and error if it's to old

Thanks to Tobias and Roy for addressing these issues.
The file was modifiedllvm/lib/CodeGen/RDFGraph.cpp
The file was modifiedllvm/lib/CodeGen/RDFLiveness.cpp
Commit 81c4e58e2adae7f9711253c07bc0c96dbc6d1b0b by aeubanks
[StandardInstrumentations] Handle case where block order changes

Previously we'd go off the end of the BI iterator because we expected
that the relative positions of common blocks before and after were
consistent. That's not always true though, for example with
jump-threading.

Reviewed By: jamieschmeiser

Differential Revision: https://reviews.llvm.org/D130596
The file was modifiedllvm/lib/Passes/StandardInstrumentations.cpp
The file was addedllvm/test/Other/ChangePrinters/print-changed-diff-block-ordering-changed.ll
Commit 2d20fb00b3c7e455c7ba668ff55efc6515bce383 by llvm-dev
[X86] Add test coverage for sext/zext/bswap/bitreverse with freeze

All of these are safe to fold from freeze(unaryop(x)) -> unaryop(freeze(x))
The file was addedllvm/test/CodeGen/X86/freeze-unary.ll
Commit 00f7096d31cc7896ffd490e65104d264923f0df5 by jeff
[mlir][math] Rename math.abs -> math.absf

To make room for introducing `math.absi`.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D131325
The file was modifiedmlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
The file was modifiedmlir/test/Dialect/Math/polynomial-approximation.mlir
The file was modifiedmlir/include/mlir/Dialect/Math/IR/MathOps.td
The file was modifiedmlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
The file was modifiedmlir/lib/Dialect/Math/IR/MathOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Math/IR/MathBase.td
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
The file was modifiedmlir/test/Target/Cpp/invalid.mlir
The file was modifiedflang/test/Intrinsics/math-codegen.fir
The file was modifiedmlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
The file was modifiedmlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/test/Dialect/Math/canonicalize.mlir
The file was modifiedmlir/test/Conversion/MathToSPIRV/math-to-gl-spirv.mlir
The file was modifiedmlir/test/Dialect/Linalg/generalize-named-polymorphic-ops.mlir
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_fp_ops.mlir
The file was modifiedmlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
The file was modifiedmlir/test/Conversion/MathToSPIRV/math-to-opencl-spirv.mlir
The file was modifiedflang/test/Lower/Intrinsics/abs.f90
The file was modifiedmlir/docs/Bindings/Python.md
The file was modifiedflang/test/Lower/math-lowering.f90
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
The file was modifiedmlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir
The file was modifiedflang/test/Lower/array-expression.f90
The file was modifiedmlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
The file was modifiedmlir/test/IR/core-ops.mlir
The file was modifiedmlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
The file was modifiedmlir/test/python/dialects/linalg/opdsl/emit_misc.py
The file was modifiedflang/lib/Lower/IntrinsicCall.cpp
Commit 7d9fc95b85c4ee421aa0c245f9ba5ed851db4154 by jeff
[mlir][math] Add `math.absi` op

Adds an integer absolute value op to the math dialect.

When converting to LLVM, this op is lowered to the LLVM `abs` intrinsic.
When converting to SPIRV, this op is lowered to `spv.GL.SAbs`.

Depends on D131325

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D131327
The file was modifiedmlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
The file was modifiedmlir/include/mlir/Dialect/Math/IR/MathOps.td
The file was modifiedmlir/test/Conversion/MathToSPIRV/math-to-gl-spirv.mlir
The file was modifiedmlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
The file was modifiedmlir/test/Conversion/MathToLLVM/math-to-llvm.mlir
The file was modifiedmlir/lib/Dialect/Math/IR/MathOps.cpp
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
Commit 2f3256a02ec330efd492e2d5a1cf8162cd78983a by thakis
[lld/mac] Use C++17 structured bindings in two more places

No behavior change.
The file was modifiedlld/MachO/Driver.cpp
The file was modifiedlld/MachO/SymbolTable.cpp
Commit 104f11630ae878232a3368605290be185d14d9bc by jonathanchesterfield
[nfc][openmp] clang-format system.cpp prior to D131401
The file was modifiedopenmp/libomptarget/plugins/amdgpu/impl/system.cpp
Commit e64025045457b7f52201fbd48b24739f64074b59 by aaron
Update the C status page from the latest working draft

WG14 N3047 is the last C working draft before the document goes out
for committee ballot, so this should be the last of the C2x compiler
features to be added.
The file was modifiedclang/www/c_status.html
Commit 9b031d5e3a7b455308257a71116a603e76c8c679 by mgorny
[lldb] Make Process and subclass constructors protected

Make constructors of the Process and its subclasses class protected,
to prevent accidentally constructing Process on stack when it could be
afterwards accessed via a shared_ptr (since it uses
std::enable_shared_from_this<>).

The only place where a stack allocation was used were unittests,
and fixing them via declaring an explicit public constructor
in the respective mock classes is trivial.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.llvm.org/D131275
The file was modifiedlldb/include/lldb/Target/PostMortemProcess.h
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/source/Plugins/Process/scripted/ScriptedProcess.h
The file was modifiedlldb/unittests/Thread/ThreadTest.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/unittests/Expression/DWARFExpressionTest.cpp
The file was modifiedlldb/unittests/Target/ExecutionContextTest.cpp
The file was modifiedlldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
The file was modifiedlldb/unittests/Process/ProcessEventDataTest.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
Commit e4b2c52420011b32a61a9ea0872f233726231bf1 by llvm-dev
[DAG] canCreateUndefOrPoison - add freeze(sext(x)) -> sext(freeze(x)) and freeze(zext(x)) -> zext(freeze(x)) support

Both are guaranteed not to create undef/poison
The file was modifiedllvm/test/CodeGen/X86/freeze-unary.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 7c26641d9dcea70a75ca48d2e3a5bf6ca7a925bb by thakis
[lld/win] Use C++17 nested namespace syntax in most places

Like D131354, but for COFF.

No behavior change.

Differential Revision: https://reviews.llvm.org/D131405
The file was modifiedlld/COFF/CallGraphSort.h
The file was modifiedlld/COFF/Chunks.h
The file was modifiedlld/COFF/TypeMerger.h
The file was modifiedlld/COFF/Chunks.cpp
The file was modifiedlld/COFF/SymbolTable.cpp
The file was modifiedlld/COFF/COFFLinkerContext.h
The file was modifiedlld/COFF/MarkLive.cpp
The file was modifiedlld/COFF/DLL.cpp
The file was modifiedlld/COFF/DLL.h
The file was modifiedlld/COFF/COFFLinkerContext.cpp
The file was modifiedlld/COFF/Writer.h
The file was modifiedlld/COFF/Driver.h
The file was modifiedlld/COFF/Config.h
The file was modifiedlld/COFF/DebugTypes.cpp
The file was modifiedlld/COFF/DebugTypes.h
The file was modifiedlld/COFF/ICF.cpp
The file was modifiedlld/COFF/MarkLive.h
The file was modifiedlld/COFF/MinGW.h
The file was modifiedlld/COFF/LTO.h
The file was modifiedlld/COFF/ICF.h
The file was modifiedlld/COFF/LLDMapFile.h
The file was modifiedlld/COFF/MapFile.h
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/COFF/PDB.h
The file was modifiedlld/COFF/SymbolTable.h
Commit aa1abd7684b6187fa17d2d761bb1a4c747967ea5 by thakis
[lld/win] Use C++17 structured bindings

No behavior change.

Differential Revision: https://reviews.llvm.org/D131403
The file was modifiedlld/COFF/Writer.cpp
The file was modifiedlld/COFF/DriverUtils.cpp
The file was modifiedlld/COFF/SymbolTable.cpp
Commit 06ff46d2d77feba285e672e2da42039c88dc965a by sgurevich
[LLDB][NFC] Fix suspicious bitwise expression in PrintBTEntry()

Current application of bitwise-OR to a binary mask always results in True, which seems
inconsistent with the intent of the statement, a likely typo.

Differential Revision: https://reviews.llvm.org/D131312
The file was modifiedlldb/tools/intel-features/intel-mpx/cli-wrapper-mpxtable.cpp
Commit af28b27d31a5c13c31769c8551ffdcdc469fd5f4 by ron.lieberman
Move openmp from -std=c++14 to -std=c++17
The file was modifiedopenmp/cmake/config-ix.cmake
The file was modifiedopenmp/cmake/HandleOpenMPOptions.cmake
The file was modifiedopenmp/tools/archer/tests/lit.cfg
The file was modifiedopenmp/runtime/test/lit.cfg
Commit 521a5c11acb45fe4672ed63e3f6aa1f22b0e9fbe by jonathanchesterfield
Rename OPENMP_HAVE_STD_CPP14_FLAG to match c++17
The file was modifiedopenmp/cmake/config-ix.cmake
The file was modifiedopenmp/CMakeLists.txt
The file was modifiedopenmp/cmake/HandleOpenMPOptions.cmake
Commit 3f18f7c0072b642f5fe88d2fb7bb8ccf69a6c6f5 by i
[clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC

With C++17 there is no Clang pedantic warning or MSVC C5051.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D131346
The file was modifiedclang/lib/ARCMigrate/TransformActions.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/include/clang/AST/JSONNodeDumper.h
The file was modifiedclang/utils/TableGen/NeonEmitter.cpp
The file was modifiedclang/lib/Lex/Preprocessor.cpp
The file was modifiedclang/lib/Lex/LiteralSupport.cpp
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/lib/Basic/Targets/X86.cpp
The file was modifiedclang/lib/CodeGen/CGAtomic.cpp
The file was modifiedclang/lib/Lex/InitHeaderSearch.cpp
The file was modifiedclang/lib/AST/FormatString.cpp
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/lib/Parse/ParseCXXInlineMethods.cpp
The file was modifiedclang/lib/Parse/ParseStmt.cpp
The file was modifiedclang/lib/Parse/ParseTentative.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/utils/TableGen/SveEmitter.cpp
The file was modifiedclang/lib/Basic/Targets/WebAssembly.cpp
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Lex/Lexer.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/CodeGen/CGException.cpp
The file was modifiedclang/lib/Analysis/ReachableCode.cpp
The file was modifiedclang/lib/AST/ASTDiagnostic.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/Basic/Targets/OSTargets.h
The file was modifiedclang/lib/CodeGen/CGObjCRuntime.cpp
The file was modifiedclang/lib/AST/ASTStructuralEquivalence.cpp
The file was modifiedclang/lib/Sema/SemaExprMember.cpp
The file was modifiedclang/lib/Basic/Targets/SystemZ.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/RegionStore.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Index/USRGeneration.cpp
The file was modifiedclang/lib/Basic/Targets/AMDGPU.cpp
The file was modifiedclang/lib/CodeGen/CGExprCXX.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
The file was modifiedclang/lib/Interpreter/IncrementalParser.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/AST/NestedNameSpecifier.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/AST/TypeLoc.cpp
The file was modifiedclang/lib/CodeGen/CGCoroutine.cpp
The file was modifiedclang/lib/Format/FormatTokenLexer.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/lib/Lex/ModuleMap.cpp
The file was modifiedclang/lib/Lex/TokenConcatenation.cpp
The file was modifiedclang/lib/AST/ScanfFormatString.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/Analysis/ThreadSafety.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/CodeGen/CGClass.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/Sema/SemaStmtAsm.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
The file was modifiedclang/lib/AST/PrintfFormatString.cpp
The file was modifiedclang/lib/Basic/BuiltinTargetFeatures.h
The file was modifiedclang/lib/Sema/JumpDiagnostics.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/Basic/Targets/PPC.h
The file was modifiedclang/lib/Sema/CodeCompleteConsumer.cpp
The file was modifiedclang/lib/CodeGen/CGExprAgg.cpp
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedclang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/Parse/Parser.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/lib/ExtractAPI/DeclarationFragments.cpp
The file was modifiedclang/lib/CodeGen/MacroPPCallbacks.cpp
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was modifiedclang/lib/Frontend/SerializedDiagnosticReader.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/lib/Driver/ToolChains/Myriad.cpp
The file was modifiedclang/lib/Analysis/CalledOnceCheck.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
The file was modifiedclang/lib/AST/APValue.cpp
The file was modifiedclang/lib/Parse/ParseInit.cpp
The file was modifiedclang/lib/AST/ASTDumper.cpp
The file was modifiedclang/lib/AST/Comment.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/SValBuilder.cpp
The file was modifiedclang/lib/CodeGen/VarBypassDetector.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/lib/Rewrite/HTMLRewrite.cpp
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
The file was modifiedclang/lib/Edit/RewriteObjCFoundationAPI.cpp
Commit 4bd25d0b81d1687d7f4be4c170e748277856f33c by antiagainst
[mlir][spirv] Refresh base definitions to latest spec (v1.6)

This commit updates all SPIR-V enum definitions to match the latest
specification (v1.6 revision 2). Along the way, fixed some issues
in `gen_spirv_dialect.py` and added a new script for refreshing
all op definitions for such cases.

Reviewed By: kuhar

Differential Revision: https://reviews.llvm.org/D131293
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVMiscOps.td
The file was modifiedmlir/utils/spirv/gen_spirv_dialect.py
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVStructureOps.td
The file was modifiedmlir/test/Dialect/SPIRV/IR/availability.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVControlFlowOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVImageOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVMemoryOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVLogicalOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVMatrixOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVAtomicOps.td
The file was modifiedmlir/lib/Target/SPIRV/SPIRVBinaryUtils.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVCooperativeMatrixOps.td
The file was addedmlir/utils/spirv/refresh_inst.sh
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVBitOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVNonUniformOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVGroupOps.td
Commit 2960299986980d6070bca6c3e9d8e925e2d8e260 by benny.kra
[ADT] Retire llvm::apply_tuple in favor of C++17 std::apply
The file was modifiedllvm/include/llvm/Support/FormatVariadic.h
The file was modifiedllvm/unittests/Support/FormatVariadicTest.cpp
The file was modifiedllvm/unittests/ADT/STLExtrasTest.cpp
The file was modifiedmlir/include/mlir/IR/DialectRegistry.h
The file was modifiedmlir/include/mlir/TableGen/Format.h
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedmlir/include/mlir/IR/PatternMatch.h
Commit fb33b406df909c90891bf2c50da3d38f82d7d2cd by l.chelini
[MLIR][Linalg] Remove `TiledLoops` from tiling options

TiledLoopOp has been removed in: https://github.com/llvm/llvm-project/commit/1a829d2d06958abf09bb6aff81120959206887f6

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D131383
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
Commit 6f2bee667ad9244be65193892961d5d1eed24551 by llvm-dev
[DAG] canCreateUndefOrPoison - add freeze(bswap(x)) -> bswap(freeze(x)) and freeze(bitreverse(x)) -> bitreverse(freeze(x)) support

Both are guaranteed not to create undef/poison
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/freeze-unary.ll
Commit e2bfbed2bb647dc95d3f7e66d07dad0db1cb36b9 by craig.topper
[RISCV] Add ReadFStoreData as a SchedRead.

The floating point stores use a different register class, it
probably makes sense to have a different SchedRead.

Reviewed By: monkchiang

Differential Revision: https://reviews.llvm.org/D131379
The file was modifiedllvm/lib/Target/RISCV/RISCVSchedSiFive7.td
The file was modifiedllvm/lib/Target/RISCV/RISCVSchedRocket.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoF.td
The file was modifiedllvm/lib/Target/RISCV/RISCVSchedule.td
Commit c1f65df19c0f7324db8a7ec235308aee55fe22ef by tarun
[flang] Add an explicit condition for the BITS=0 case in the MASKL and MASKR intrinsics.

This fixes issue #56706.

Differential Revision: https://reviews.llvm.org/D130590
The file was modifiedflang/lib/Lower/IntrinsicCall.cpp
The file was modifiedflang/test/Lower/Intrinsics/maskl.f90
The file was modifiedflang/test/Lower/Intrinsics/maskr.f90
Commit 333f98b4b68872fd7436d987f2e3dfb4f3e9efba by vmrajas
[mlir][sparse][nfc] Use tensor.generate in sparse integration tests

Currently, dense tensors are initialized in Sparse Integration tests using
"buffer.tensor_alloc and scf.for" . This makes code harder to read and maintain.
This diff uses tensor.generate instead to initialize dense tensors.

Testing: Ran integration tests after building with -DLLVM_USE_SANITIZER=Address flag.

Reviewed By: springerm

Differential Revision: https://reviews.llvm.org/D131404
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_mttkrp.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_spmm.mlir
Commit 1f30ebc898b744688615550dca80ce1f05b57aec by llvm-dev
[llvm-tblgen] Fix copy+paste typo in CodeGenSchedModels::collectLoadStoreQueueInfo

Confirmed with @andreadb - repeated PM.LoadQueue->getLoc() should have been PM.StoreQueue->getLoc()

Found by coverity
The file was modifiedllvm/utils/TableGen/CodeGenSchedule.cpp
Commit 95b3ff08f5de487e928ddd8b26c15984adb59b11 by joker.eph
[mlir][doc] Cross link the dependent dialect section to the tablegen field definition
The file was modifiedmlir/docs/PassManagement.md
Commit 706b3951b38961ffa6581d446fee6664038caced by avogelsgesang
[libc++] Implement `operator==` for `filesystem::space_info`

Implements part of P1614R2 "The Mothership has Landed"

Differential Revision: https://reviews.llvm.org/D130861
The file was modifiedlibcxx/include/filesystem
The file was modifiedlibcxx/docs/Status/SpaceshipProjects.csv
The file was addedlibcxx/test/std/input.output/filesystems/fs.filesystem.synopsis/space_info.pass.cpp
The file was modifiedlibcxx/include/__filesystem/space_info.h
Commit 2cbfa93f429343af3e8acb7ca69270b306e58139 by benny.kra
[mlir][math] Fix pythong bindings after 00f7096d31cc7896ffd490e65104d264923f0df5
The file was modifiedmlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py
Commit aa173573198e024b065c5f6523ce26bb865781b7 by i
[llvm-ranlib] Support more than one input file

BSD and GNU ranlib support more than one input file. Implement this.

While here, update OVERVIEW (Ranlib => ranlib) since "ranlib" is more common.
Remove "speed access" since the index has nothing to do with performance: it is
mandatory for GNU ld and gold but ignored for ld.lld (D119074).

Close https://github.com/llvm/llvm-project/issues/54565

Differential Revision: https://reviews.llvm.org/D131375
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
The file was modifiedllvm/test/tools/llvm-ranlib/D-flag.test
The file was modifiedllvm/docs/CommandGuide/llvm-ranlib.rst
The file was addedllvm/test/tools/llvm-ranlib/error-opening-permission.test
Commit de907138ec96de063660b91a8adc7f28aa1bea98 by peiming
[mlir][sparse] Add new concatente operator to sparse tensor

See https://www.tensorflow.org/xla/operation_semantics#concatenate for the operator semantics

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D131111
The file was modifiedmlir/test/Dialect/SparseTensor/invalid.mlir
The file was modifiedmlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
The file was modifiedmlir/test/Dialect/SparseTensor/roundtrip.mlir
Commit 1b349bdaaa540e97d90318c3706527f6ca084987 by llvm-dev
[X86] Add test coverage for ctpop/parity with freeze

These are safe to fold from freeze(unaryop(x)) -> unaryop(freeze(x))
The file was modifiedllvm/test/CodeGen/X86/freeze-unary.ll
Commit be8bacfd93ec6a51692aafb3478ce975fb9812d2 by szakharin
[flang] Replace more pgmath with libm.

With this change all supported pgmath functions for non-complex
data types are replaced with either libm calls or MLIR operations,
except for MOD and some flavors of POW, which are going to be addressed
by other commits.

At the current stage a few math intrinsics are lowered into libm calls
always. When appropriate MLIR operation are available, the table can be
updated to generate them.
The file was addedflang/test/Lower/Intrinsics/bessel_y0.f90
The file was addedflang/test/Lower/Intrinsics/asin.f90
The file was addedflang/test/Lower/Intrinsics/bessel_j1.f90
The file was addedflang/test/Lower/Intrinsics/gamma.f90
The file was addedflang/test/Lower/Intrinsics/erfc.f90
The file was addedflang/test/Lower/Intrinsics/acosh.f90
The file was addedflang/test/Lower/Intrinsics/bessel_jn.f90
The file was addedflang/test/Lower/Intrinsics/bessel_y1.f90
The file was addedflang/test/Lower/Intrinsics/bessel_yn.f90
The file was addedflang/test/Lower/Intrinsics/bessel_j0.f90
The file was addedflang/test/Lower/Intrinsics/log_gamma.f90
The file was addedflang/test/Lower/Intrinsics/asinh.f90
The file was addedflang/test/Lower/Intrinsics/atanh.f90
The file was modifiedflang/test/Lower/dummy-procedure.f90
The file was modifiedflang/lib/Lower/IntrinsicCall.cpp
The file was addedflang/test/Lower/Intrinsics/acos.f90
Commit 5fff4b75ca0d72759f7ded4c96fc5493d917a3a9 by apl
[lldb] Pass TestExternCSymbols.py on Windows

This test previously was expected to fail on windows. As of my previous
patch (1d2a62afaf7561e331e2f3daf3937d14225b21bf) this test now passes on
windows consistently. This patch adjusts the expectations of the test
accordingly.
The file was modifiedlldb/test/API/lang/cpp/extern_c/TestExternCSymbols.py
Commit 257251247a267c3fa30fdeef17ffa4987d8a52e5 by Vang.Thao
[SROA] Try harder to find a vector promotion viable type when rewriting

We are seeing significant performance loss when an alloca fails to get promoted
to register. I have observed that this is due to the common type found when
attempting to rewrite partition users being unviable for promotion. While if we
would have continue looking for a type, we would have found a subtype in the
original allocated type that would have enabled promotion. Thus first check if
the initial common type found is promotion viable and if not then continue
looking instead of stopping with the initial common type found.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D128073
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
The file was addedllvm/test/Transforms/SROA/sroa-common-type-fail-promotion.ll
Commit bf48b128b02813e53e0c8f6585db837d14c9358f by dthorn
[Symbolizer] Implement pc element in symbolizing filter.

Implements the pc element for the symbolizing filter, including it's
"ra" and "pc" modes. Return addresses ("ra") are adjusted by
decrementing one. By default, {{{pc}}} elements are assumed to point to
precise code ("pc") locations. Backtrace elements will adopt the
opposite convention.

Along the way, some minor refactors of value printing and colorization.

Reviewed By: peter.smith

Differential Revision: https://reviews.llvm.org/D131115
The file was modifiedllvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp
The file was modifiedllvm/docs/SymbolizerMarkupFormat.rst
The file was modifiedllvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h
The file was modifiedllvm/docs/CommandGuide/llvm-symbolizer.rst
The file was addedllvm/test/DebugInfo/symbolize-filter-markup-pc.test
The file was modifiedllvm/test/DebugInfo/symbolize-filter-markup-data.test
Commit 6c52f82d77a1b8d9d9f8b585c73f94e58191b5a9 by filipp.zhinkin
[X86][ARM] Add tests for bitwise logic trees of shifts; NFC

Baseline tests for D131189.
The file was modifiedllvm/test/CodeGen/ARM/shift-combine.ll
The file was modifiedllvm/test/CodeGen/X86/shift-combine.ll
Commit f756f06cc471b91d81d7f7f15d9df76ed24de730 by hanruobing
[SimpleLoopUnswitch] Skip non-trivial unswitching of cold loops

With profile data, non-trivial LoopUnswitch will only apply on non-cold loops, as unswitching cold loops may not gain much benefit but significantly increase the code size.

Reviewed By: aeubanks, asbirlea

Differential Revision: https://reviews.llvm.org/D129599
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was modifiedllvm/test/Transforms/LoopPredication/preserve-bpi.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/PGO-nontrivial-unswitch.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll
The file was modifiedllvm/test/Other/new-pm-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
Commit e4161e88f3164f5922fff3ff565e18149a39aa14 by thakis
[gn build] port 59bb9e37c6
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-dwarfutil/BUILD.gn
Commit 09db7f533174cdda4655d0114cd88bd22d336e31 by thakis
[lld/mac] Remove unusual "Fallthrough" comments

Normally we'd use LLVM_FALLTHROUGH, or now, [[fallthrough]].
But for case labels followed directly by other case labels, we
use neither.

No behavior change.
The file was modifiedlld/MachO/InputFiles.cpp
Commit de9d80c1c579e39cc658a508f1d4ba1cd792e4d5 by i
[llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC

With C++17 there is no Clang pedantic warning or MSVC C5051.
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/lib/MC/MCParser/MasmParser.cpp
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
The file was modifiedllvm/lib/TableGen/TGLexer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600AsmPrinter.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FastISel.cpp
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
The file was modifiedllvm/lib/MC/MCParser/AsmLexer.cpp
The file was modifiedllvm/tools/obj2yaml/macho2yaml.cpp
The file was modifiedllvm/examples/BrainF/BrainF.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/tools/llvm-mc/Disassembler.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/lib/Target/ARC/ARCOptAddrMode.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
The file was modifiedllvm/lib/Support/CommandLine.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopRotationUtils.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86DynAllocaExpander.cpp
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonGenPredicate.cpp
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/Mips/MipsExpandPseudo.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
The file was modifiedllvm/lib/Analysis/MemoryDependenceAnalysis.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
The file was modifiedllvm/lib/TextAPI/TextStubCommon.cpp
The file was modifiedllvm/lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was modifiedllvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegacyLegalizerInfo.cpp
The file was modifiedllvm/lib/IR/Function.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonBitSimplify.cpp
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVSExtWRemoval.cpp
The file was modifiedllvm/lib/Support/YAMLParser.cpp
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/lib/Target/ARM/Thumb2SizeReduction.cpp
The file was modifiedllvm/lib/CodeGen/MIRParser/MIParser.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/ARC/ARCRegisterInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
The file was modifiedllvm/lib/BinaryFormat/Magic.cpp
The file was modifiedllvm/lib/Target/AVR/AVRRegisterInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
The file was modifiedllvm/lib/Support/FormattedStream.cpp
The file was modifiedllvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantIslandPass.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MipsISelLowering.cpp
The file was modifiedllvm/tools/llvm-ml/Disassembler.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
The file was modifiedllvm/lib/Support/FoldingSet.cpp
The file was modifiedllvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonRDFOpt.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonBitTracker.cpp
The file was modifiedllvm/lib/IR/InlineAsm.cpp
The file was modifiedllvm/lib/Support/APFloat.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
The file was modifiedllvm/lib/Support/GlobPattern.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp
The file was modifiedllvm/lib/Target/M68k/M68kISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedllvm/lib/Support/GraphWriter.cpp
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstructionSelector.cpp
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/SerialSnippetGenerator.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64GlobalISelUtils.cpp
The file was modifiedllvm/lib/Support/Triple.cpp
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/lib/Bitcode/Reader/MetadataLoader.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFastISel.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/Target/ARM/MVELaneInterleavingPass.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was modifiedllvm/include/llvm/Target/CodeGenCWrappers.h
The file was modifiedllvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
The file was modifiedllvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreAsmPrinter.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/utils/TableGen/IntrinsicEmitter.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
The file was modifiedllvm/tools/llvm-remark-size-diff/RemarkSizeDiff.cpp
The file was modifiedllvm/lib/Target/X86/X86IndirectBranchTracking.cpp
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonConstPropagation.cpp
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CondBrTuning.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedllvm/lib/MC/MCWin64EH.cpp
The file was modifiedllvm/lib/Target/ARM/Thumb1FrameLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Support/raw_ostream.cpp
The file was modifiedllvm/lib/Target/X86/X86FastISel.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
The file was modifiedllvm/tools/llvm-config/llvm-config.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonSplitDouble.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/Transforms/IPO/FunctionAttrs.cpp
The file was modifiedllvm/lib/Transforms/ObjCARC/PtrState.cpp
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
The file was modifiedllvm/lib/CodeGen/ExpandVectorPredication.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/lib/Target/BPF/AsmParser/BPFAsmParser.cpp
The file was modifiedllvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
The file was modifiedllvm/lib/ProfileData/InstrProf.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
The file was modifiedllvm/include/llvm/CodeGen/CodeGenPassBuilder.h
The file was modifiedllvm/lib/Target/Sparc/SparcInstrInfo.cpp
The file was modifiedllvm/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
The file was modifiedllvm/lib/DebugInfo/PDB/Native/InfoStream.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430ISelLowering.cpp
The file was modifiedllvm/lib/DWARFLinker/DWARFLinkerDeclContext.cpp
The file was modifiedllvm/lib/IR/Value.cpp
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was modifiedllvm/lib/Object/ELFObjectFile.cpp
The file was modifiedllvm/lib/Analysis/IVDescriptors.cpp
The file was modifiedllvm/lib/Target/X86/X86MCInstLower.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineScheduler.cpp
The file was modifiedllvm/lib/Target/VE/VEISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
The file was modifiedllvm/lib/Target/AVR/AsmParser/AVRAsmParser.cpp
The file was modifiedllvm/lib/Transforms/Utils/BuildLibCalls.cpp
The file was modifiedllvm/lib/Option/OptTable.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCFastISel.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp
The file was modifiedllvm/lib/Support/Host.cpp
The file was modifiedllvm/lib/CodeGen/MIRPrinter.cpp
Commit d9728a9baa49e6ddfa6c91af9fd7bf6a760f9a62 by antiagainst
[mlir][spirv] Unify mixed scalar/vector primitive type resources

This further relaxes the requirement to allow aliased resources
to have different primitive types and some are scalars while the
other are vectors.

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D131207
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/UnifyAliasedResourcePass.cpp
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/unify-aliased-resource.mlir
Commit 59d2495fe2c1254f84ad4d2bd61a41e79ff0d44d by i
[lldb] LLVM_FALLTHROUGH => [[fallthrough]]. NFC
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/source/Interpreter/OptionValueFileSpecList.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/Cocoa.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/source/Expression/REPL.cpp
The file was modifiedlldb/unittests/Expression/DWARFExpressionTest.cpp
The file was modifiedlldb/source/Interpreter/Options.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was modifiedlldb/source/Core/FormatEntity.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.cpp
The file was modifiedlldb/source/Core/Address.cpp
The file was modifiedlldb/source/Interpreter/OptionValueArray.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
The file was modifiedlldb/source/Utility/ArchSpec.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Target/StackFrameList.cpp
The file was modifiedlldb/source/Commands/CommandObjectMemory.cpp
The file was modifiedlldb/source/Interpreter/OptionValuePathMappings.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
The file was modifiedlldb/source/Target/StackFrame.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
The file was modifiedlldb/source/Core/Communication.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedlldb/source/Core/ValueObject.cpp
The file was modifiedlldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/source/Core/AddressRange.cpp
The file was modifiedlldb/source/Expression/DWARFExpression.cpp
Commit 7889c41938d2e9d30030aec85fbe703c1fe91238 by jeffbailey
[libc] Website fixes (sidebar and mobile)

Add "using" and "status" sections to the sidebar to make getting these
easier.

Fixed mobile formatting not overflow left and right.

Tested:
Chrome on Desktop, using mobile restrictions in devtools.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D131369
The file was modifiedlibc/docs/_static/custom.css
The file was modifiedlibc/docs/index.rst
Commit 0d6cf1e8b5fa8590f816d5330cb7c2dcc449ec24 by dthorn
[Symbolizer] Fix symbolizer-filter-markup-pc.test on Windows
The file was modifiedllvm/test/DebugInfo/symbolize-filter-markup-pc.test
Commit cdeb50c3215593bffe9e5a46bdc9a9e34fd93dcc by i
[lldb] Remove include/lldb/lldb-private.h

The header from 62e0681afb478a4005efb6ba3598c24dc24866ee does something with
LLVM_FALLTHROUGH. Now that llvm-project has switched to C++17 and
LLVM_FALLTHROUGH uses have been migrated to [[fallthrough]], the header is
unneeded.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D131422
The file was removedlldb/include/lldb/lldb-private-defines.h
The file was modifiedclang/docs/tools/clang-formatted-files.txt
The file was modifiedlldb/include/lldb/module.modulemap
The file was modifiedlldb/include/lldb/lldb-private.h
Commit a12c076f60a726ebe4605ea7d2784f531adfec76 by i
[compiler-rt] Use -std=c++17 for standalone build

Follow-up to D130689.

Reviewed By: thieta

Differential Revision: https://reviews.llvm.org/D131382
The file was modifiedcompiler-rt/cmake/config-ix.cmake
The file was modifiedcompiler-rt/CMakeLists.txt
Commit b71b22e48ddcf98ada78dc1e98c2fbdb562e0bd2 by jhuber6
[LinkerWrapper] Use C++17 structured bindings

Summary:
This patch updates the linker wrapper to use C++17 structured bindings
now that they are availible.
The file was modifiedclang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Commit 33af4b22f8ea5dc8340002833802be95ae9f83a1 by blangmuir
[clang][deps] Stop sharing FileManager across module builds in scanner

Sharing the FileManager across implicit module builds currently leaks
paths looked up in an importer into the built module itself. This can
cause non-deterministic results across scans. It is especially bad for
modules since the path can be saved into the pcm file itself, leading to
stateful behaviour if the cache is shared.

This should not impact the number of real filesystem accesses in the
scanner, since it is already caching in the
DependencyScanningWorkerFilesystem.

Note: this change does not affect whether or not the FileManager is
shared across TUs in the scanner, which is a separate issue.

Differential Revision: https://reviews.llvm.org/D131412
The file was addedclang/test/ClangScanDeps/modules-file-path-isolation.c
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
Commit ddd576ab87a16eb7fb06531da8040ac2ece0c9a3 by walter erquinigo
[lldb] Prevent race condition when fetching /proc/cpuinfo

@clayborg found a potential race condition when setting a static
variable. The fix seems simply to use call_once.

All relevant tests pass.

Differential Revision: https://reviews.llvm.org/D131081
The file was modifiedlldb/source/Plugins/Process/Linux/Procfs.cpp
Commit f181dff0846c2236f72e3f13a819bb0c968ccfb8 by aeubanks
Add -misc-const-correctness to .clang-tidy

I keep getting suggestions from clangd to add 'const' to a bunch of local variables, which is not LLVM's style. This suppresses those.

Reviewed By: kadircet, aaron.ballman

Differential Revision: https://reviews.llvm.org/D131414
The file was modified.clang-tidy
Commit 0c52ab39688e8e107487b8cee00f509fe092f40a by martin
[MC] [Win64EH] Fix the calculation of the end of epilogs

Exclude the terminating end opcode from the epilog - it doesn't
correspond to an actual instruction that is included in the epilog
itself (within the .seh_startepilogue/.seh_endepilogue range).

In most (all?) cases, an epilog is followed by a matching terminating
instruction though (a ret or a branch to a tail call), but it's not
strictly within the .seh_startepilogue/.seh_endepilogue range.

This fixes a number of failed asserts in cases where the codegen
has incorrectly reoredered SEH opcodes so they don't match up
exactly with their instructions.

However this still just avoids failing the assertion; the root cause
of generating unexpected epilogs is still present (and fixing that is
a less obvious issue).

Differential Revision: https://reviews.llvm.org/D131393
The file was modifiedllvm/lib/MC/MCWin64EH.cpp
The file was addedllvm/test/MC/AArch64/seh-multi-epilog.s
Commit 6b3bc7cd3c6f56a63f97e71dc236b2281d98d9d1 by ajcbik
[mlir][sparse] improve sparse attribute documentation

Moved some parts from comments (not user facing) to the actual description
(user facing). Rephrased a bit as well.

Reviewed By: Peiming

Differential Revision: https://reviews.llvm.org/D131418
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
Commit d6bd3d373e89e2025821a83071a41310f74d658d by froese
[DAGCombiner] Add some BE store forwarding tests; NFC

Add tests before D130115. NFC.
The file was addedllvm/test/CodeGen/PowerPC/store-forward-be32.ll
The file was addedllvm/test/CodeGen/PowerPC/store-forward-be64.ll
Commit 8d7c1c55a43fc0eec3410fab0d4cbe6626522a56 by thomasraoux
[mlir][vector] Fix warp distribution test

The test was using a missing prefix. Add the prefix and fix the naming.

Found by @csigg

Reviewed By: csigg

Differential Revision: https://reviews.llvm.org/D131428
The file was modifiedmlir/test/Dialect/Vector/vector-warp-distribute.mlir
Commit cc8edbea7a5f26906ae3d1f7ba0dc5da8fc5afb5 by xingxue
[libunwind][AIX] Save/restore errno before/after system calls dlopen/dlsym/dlclose

Summary:
libunwind on AIX calls dlopen()/dlsym()/dlclose() to dynamically load libc++abi and get the personality for state table EH when it is running against the legacy xlcang++ compiler genereated applications. dlopen() sets errno to 0 when it is successful, which clobbers the value in errno from the user code. This seems to be an AIX bug that it should not set errno to 0 according to POSIX. We will open a bug report to AIX but in the mean time there won't be time line when AIX will have a fix and even AIX does fix it, it won't help earlier AIX releases in the field. This patch saves and restores errno before and after these calls so that user code can work as expected.

Reviewed by: compnerd, libunwind

Differential Revision: https://reviews.llvm.org/D131292
The file was modifiedlibunwind/src/UnwindCursor.hpp
Commit dbd04b853b680b0a383e5f58edf3643364f67bdf by abrachet
[ELF] Support --package-metadata

This was recently introduced in GNU linkers and it makes sense for
ld.lld to have the same support. This implementation omits checking if
the input string is valid json to reduce size bloat.

Differential Revision: https://reviews.llvm.org/D131439
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/docs/ReleaseNotes.rst
The file was modifiedlld/ELF/Config.h
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/ELF/Options.td
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/SyntheticSections.h
The file was addedlld/test/ELF/package-metadata.s
The file was modifiedllvm/include/llvm/BinaryFormat/ELF.h
Commit eec05bfeafe9389e190932e0efbfbed11198311e by craig.topper
[RISCV] Add {{$}} to some CHECK lines in MC tests.

This adds {{$}} to most of the CHECK lines for errors about what
extension an instruction requires. This ensures we check all the
extensions when there is a list.

Differential Revision: https://reviews.llvm.org/D131436
The file was modifiedllvm/test/MC/RISCV/rvv/fminmax.s
The file was modifiedllvm/test/MC/RISCV/rv32m-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zbb-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/freduction.s
The file was modifiedllvm/test/MC/RISCV/rvv/sub.s
The file was modifiedllvm/test/MC/RISCV/rv64zhinxmin-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zbf-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/zvlsseg.s
The file was modifiedllvm/test/MC/RISCV/rvv/clip.s
The file was modifiedllvm/test/MC/RISCV/rvv/invalid-eew.s
The file was modifiedllvm/test/MC/RISCV/rvv/reduction.s
The file was modifiedllvm/test/MC/RISCV/rv32zicboz-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32i-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/fdiv.s
The file was modifiedllvm/test/MC/RISCV/rv32zhinx-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64zfinx-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zhinxmin-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64i-aliases-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64c-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64f-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32zbbp-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/fothers.s
The file was modifiedllvm/test/MC/RISCV/rvv/compare.s
The file was modifiedllvm/test/MC/RISCV/rv32zbkx-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zfhmin-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32c-valid.s
The file was modifiedllvm/test/MC/RISCV/rvv/xor.s
The file was modifiedllvm/test/MC/RISCV/rv32zbe-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/macc.s
The file was modifiedllvm/test/MC/RISCV/rv32zicbom-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/fcompare.s
The file was modifiedllvm/test/MC/RISCV/rv32zmmul-invaild.s
The file was modifiedllvm/test/MC/RISCV/rv64zfinx-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32zbt-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zba-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zdinx-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64a-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32f-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zbp-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32c-only-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32dc-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32zfinx-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/and.s
The file was modifiedllvm/test/MC/RISCV/rvv/mul.s
The file was modifiedllvm/test/MC/RISCV/rv64zmmul-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/ext.s
The file was modifiedllvm/test/MC/RISCV/rv32i-aliases-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv32zicbop-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/fadd.s
The file was modifiedllvm/test/MC/RISCV/rvv/add.s
The file was modifiedllvm/test/MC/RISCV/rv64zfh-valid.s
The file was modifiedllvm/test/MC/RISCV/rvv/fsub.s
The file was modifiedllvm/test/MC/RISCV/rvv/others.s
The file was modifiedllvm/test/MC/RISCV/rv32fc-valid.s
The file was modifiedllvm/test/MC/RISCV/rvv/vsetvl.s
The file was modifiedllvm/test/MC/RISCV/priv-rv64-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32c-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64zhinx-valid.s
The file was modifiedllvm/test/MC/RISCV/rvv/mask.s
The file was modifiedllvm/test/MC/RISCV/rvv/shift.s
The file was modifiedllvm/test/MC/RISCV/rvv/mv.s
The file was modifiedllvm/test/MC/RISCV/rvv/or.s
The file was modifiedllvm/test/MC/RISCV/rv64d-valid.s
The file was modifiedllvm/test/MC/RISCV/rvv/load.s
The file was modifiedllvm/test/MC/RISCV/rvv/store.s
The file was modifiedllvm/test/MC/RISCV/rv64dc-valid.s
The file was modifiedllvm/test/MC/RISCV/rvv/sign-injection.s
The file was modifiedllvm/test/MC/RISCV/rv32zbr-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/div.s
The file was modifiedllvm/test/MC/RISCV/rvv/fmul.s
The file was modifiedllvm/test/MC/RISCV/rvv/fmv.s
The file was modifiedllvm/test/MC/RISCV/rv64zdinx-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/convert.s
The file was modifiedllvm/test/MC/RISCV/rvv/minmax.s
The file was modifiedllvm/test/MC/RISCV/rv64zhinx-invalid.s
The file was modifiedllvm/test/MC/RISCV/rvv/fmacc.s
The file was modifiedllvm/test/MC/RISCV/rv32zbkc-invalid.s
Commit 8c0979c8f7723306862b33583c6bdb1f4566a969 by llvm-project
[flang][test] Don't require .exe suffix.

The suffix is only added then the path the (lld-)link.exe is fully
resolved. Otherwise it may stay "link" or "lld-link".

On non-Windows platforms, lld-link also exists as a symbolic link to
lld, such that the full the path to lld-link might also be resolved
without .exe suffix in this case.

Note that CLANG_DEFAULT_LINKER could be set to other linkers such as
mold, in which case the test may still fail. This also applies to the
non-Windows tests that require "ld" in the linker name.

Fixes issue #56955
The file was modifiedflang/test/Driver/linker-flags.f90
Commit db008af501534d4590542253ae3acf783986f5f7 by Jonas Devlieghere
[llvm] Repair the modules build with C++17

I'm honestly not sure if this is a legitimate issue or not, but after
switching from C++14 to C++17, the modules build started confusing
arrays and initializer lists. Work around the issue by being explicit.
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedllvm/include/llvm/Support/FormatProviders.h
Commit c0124084537bad33180d2e675475baf1a4b79afe by gclayton
Implement better path matching in FileSpecList::FindCompatibleIndex(...).

Currently a FileSpecList::FindFileIndex(...) will only match the specified FileSpec if:
- it has filename and directory and both match exactly
- if has a filename only and any filename in the list matches

Because of this, we modify our breakpoint resolving so it can handle relative paths by doing some extra code that removes the directory from the FileSpec when searching if the path is relative.

This patch is intended to fix breakpoints so they work as users expect them to by adding the following features:
- allow matches to relative paths in the file list to match as long as the relative path is at the end of the specified path at valid directory delimiters
- allow matches to paths to match if the specified path is relative and shorter than the file paths in the list

This allows us to remove the extra logic from BreakpointResolverFileLine.cpp that added support for setting breakpoints with relative paths.

This means we can still set breakpoints with relative paths when the debug info contains full paths. We add the ability to set breakpoints with full paths when the debug info contains relative paths.

Debug info contains "./a/b/c/main.cpp", the following will set breakpoints successfully:
- /build/a/b/c/main.cpp
- a/b/c/main.cpp
- b/c/main.cpp
- c/main.cpp
- main.cpp
- ./c/main.cpp
- ./a/b/c/main.cpp
- ./b/c/main.cpp
- ./main.cpp

This also ensures that we won't match partial directory names, if a relative path is in the list or is used for the match, things must match at the directory level.

The breakpoint resolving code will now use the new FileSpecList::FindCompatibleIndex(...) function to allow this fuzzy matching to work for breakpoints.

Differential Revision: https://reviews.llvm.org/D130401
The file was addedlldb/test/API/functionalities/breakpoint/breakpoint_command/relative.yaml
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
The file was modifiedlldb/unittests/Core/CMakeLists.txt
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h
The file was modifiedlldb/include/lldb/Core/FileSpecList.h
The file was modifiedlldb/source/Core/FileSpecList.cpp
The file was modifiedlldb/source/Breakpoint/BreakpointResolverFileLine.cpp
The file was addedlldb/unittests/Core/FileSpecListTest.cpp
The file was modifiedlldb/source/Symbol/CompileUnit.cpp
Commit 860efb10b42e71ac96d07ea3f45c1baf10ee3f09 by Jonas Devlieghere
Partially revert "[llvm] Repair the modules build with C++17"

This reverts commit db008af501534d4590542253ae3acf783986f5f7 because
this now breaks the non-module build...
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
Commit 1b212d1098d264f2d5ccc17cde5492f9f2338df6 by wlei
[llvm-profgen] Fix perf script parsing issues

Fix two perf script parsing issues:

1) Redirect the error message to a new file. (the error message mixed in the perfscript could screw up the MMAP event line and cause a parsing failure)

2) Changed the MMap parsing error message to warning since the perfscript can still be parsed using the preferred address as base address.

Reviewed By: hoy, wenlei

Differential Revision: https://reviews.llvm.org/D131449
The file was modifiedllvm/tools/llvm-profgen/PerfReader.cpp
Commit b8641bfc4c2d488c7a09a556728f10340d5c8819 by pklausler
[flang] Don't compute pointer component procedure characteristics when not needed

When a procedure pointer component has an interface that is a forward
reference to a procedure, syntax errors can be emitted if there is
a structure constructor that tries to initialize that component,
since its characteristics are not yet known; however, when the
initializer is a bare NULL(with no mold), those characteristics
don't matter.  Make the characterization of the procedure pointer
component take place only when needed.

Differential Revision: https://reviews.llvm.org/D131100
The file was modifiedflang/lib/Semantics/pointer-assignment.cpp
Commit b73e8325fb25b27f898190d81a0d62e92c06694c by jpienaar
[mlir][tosa] Updates tosa.equal to use the InferTensorType interface

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D130373
The file was modifiedmlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
The file was modifiedmlir/lib/Dialect/Tosa/IR/TosaOps.cpp
Commit 2264f7ef27a5dcc89e41fef4a7c734471011f6fd by deadalnix
[X86] Add 64bits test cases for D131358
The file was modifiedllvm/test/CodeGen/X86/or-lea.ll
Commit 67c06c4731bd50f77395144fde3865bf36f5a469 by Vitaly Buka
[NFC][asan] Clang-format a file
The file was modifiedcompiler-rt/lib/asan/asan_interceptors_memintrinsics.h
Commit cc104113ddecbdcec2cca848adbb6afa1214e9de by Shafik Yaghmour
[Clang] Allow downgrading to a warning the diagnostic for setting a non fixed enum to a value outside the range of the enumeration values

In D130058 we diagnose the undefined behavior of setting the value outside the
range of the enumerations values for an enum without a fixed underlying type.

Based on feedback we will provide users to the ability to downgrade this
diagnostic to a waring to allow for a transition period. We expect to turn this
diagnostic to an error in the next release.

Differential Revision: https://reviews.llvm.org/D131307
The file was modifiedclang/include/clang/Basic/DiagnosticASTKinds.td
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/SemaCXX/MicrosoftCompatibility.cpp
The file was modifiedclang/test/SemaCXX/compare.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
Commit 30bbb73bb448910f791088bfc3154e752d42241a by Vitaly Buka
[NFC][asan] Add LIKELY/UNLIKELY on hot memcpy paths
The file was modifiedcompiler-rt/lib/asan/asan_interceptors_memintrinsics.h
Commit 474145c0b2420cb316bb8a9dcc031d613679d496 by i
[CMake] Build lib/gwp_asan/tests with -std=c++17

With the recent llvm-project C++17 switch (D130689), gwp_asan/tests may fail to
link with some versions of GCC (https://github.com/llvm/llvm-project/issues/56994):

> backtrace.cpp:(.text+0xca6): undefined reference to `gwp_asan::AllocationMetadata::kMaxTraceLengthToCollect'

I cannot reproduce this issue by myself, but notice that currently
lib/gwp_asan/*.cpp get -std=c++17 while lib/gwp_asan/tests/*.cpp don't
(therefore may use -std=g++14 default from Clang and older GCC). Using -std=c++17
for lib/gwp_asan/tests will ensure that backtrace.cpp uses inline variable and will assuredly avoid the
possible GCC issue.

In the long-term, we should add -std=c++17 to a central place like generate_compiler_rt_tests.

Reviewed By: dyung

Differential Revision: https://reviews.llvm.org/D131440
The file was modifiedcompiler-rt/lib/gwp_asan/tests/CMakeLists.txt
Commit 2eb50cee11ccbfac71eeb7687b9f136d95fc7f52 by thomasraoux
[mlir][tosa] Use arith::maxf/arith::minf in lowering from tosa

now that `arith` dialect has maxf/minf use it instead of cmp/select.
Also refactor clamp helpers to make them simlper.

Reviewed By: rsuderman

Differential Revision: https://reviews.llvm.org/D131426
The file was modifiedmlir/include/mlir/Dialect/Tosa/Utils/CoversionUtils.h
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
The file was modifiedmlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
The file was modifiedmlir/lib/Dialect/Tosa/Utils/ConversionUtils.cpp
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
Commit d9004dfbabc62887f09775297436792077ce4496 by czhengsz
[PowerPC] mapping hardward loop intrinsics to powerpc pseudo

Map hardware loop intrinsics loop_decrement and set_loop_iteration
to the new PowerPC pseudo instructions, so that the hardware loop
intrinsics will be expanded to normal cmp+branch form or ctrloop
form based on the CTR register usage on MIR level.

Reviewed By: lkail

Differential Revision: https://reviews.llvm.org/D123366
The file was modifiedllvm/test/CodeGen/PowerPC/ctrloops64.mir
The file was modifiedllvm/test/CodeGen/PowerPC/ctrloops-pseudo.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ctrloops32.mir
The file was modifiedllvm/lib/Target/PowerPC/PPCInstr64Bit.td
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCCTRLoops.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/sms-phi.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
Commit 3f561996bf7193091bc6670a2e7804b0cb0bb936 by t-kawashima
[AArch64] Fix and add A64FX scheduling resource/latency info

1. Missing instruction information (FTSSEL, FMSB, PFIRST and RDFFR)
   is added and CompleteModel is set to one.

2. Information for pseudo SVE instructions is added. Those
   instructions are present at the time of scheduling.

3. Resource and latency information for SVE instructions is modified
   to be more accurate.
   For example, the description for CMPEQ, which consumes one cycle
   each of unit FLA and PPR, is as follows.
```
Previous:
  def A64FXGI01 : ProcResGroup<[A64FXIPFLA, A64FXIPPR]>;
  def A64FXWrite_4Cyc_GI01 : SchedWriteRes<[A64FXGI01]> {...
Modified:
  def A64FXGI0 : ProcResGroup<[A64FXIPFLA]>;
  def A64FXGI1 : ProcResGroup<[A64FXIPPR]>;
  def A64FXWrite_CMP : SchedWriteRes<[A64FXGI0, A64FXGI1]> {...
```

Reference: A64FX Microarchitecture Manual (Table 16-3)
https://github.com/fujitsu/A64FX/blob/master/doc/A64FX_Microarchitecture_Manual_en_1.7.pdf

Reviewed By: dmgreen, kawashima-fj

Differential Revision: https://reviews.llvm.org/D131165
The file was addedllvm/test/tools/llvm-mca/AArch64/A64FX/A64FX-neon-instructions.s
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedA64FX.td
The file was addedllvm/test/tools/llvm-mca/AArch64/A64FX/A64-basic-instructions.s
The file was addedllvm/test/tools/llvm-mca/AArch64/A64FX/A64FX-sve-instructions.s
Commit 8d9d27db475943954fce00db47f8c9daf4dae600 by i
[Driver] Add -Xclang= as an alias for -Xclang

Driver options taking a value typically use `=` as the separator, instead of a
space. Unfortunately many older driver options do not stick with the rule, but I
find -Xclang used a lot and will be convenient if -Xclang= exists.

For build systems using a string array instead of a string to indicate compiler options,
`["-Xclang=-foo"]` is more convenient than `["-Xclang", "-foo"]`.
If a tool wants to filter out -Xclang=-foo, it is trivial for the `=` form, but
complex for the space separated form.

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D131455
The file was modifiedclang/test/Driver/disable-llvm.c
The file was modifiedclang/include/clang/Driver/Options.td
Commit 341ee9c0294f368aba83712651d34f6a4bbe92f3 by Vitaly Buka
[NFC][asan] Fix Condition annotation after 30bbb73bb448
The file was modifiedcompiler-rt/lib/asan/asan_interceptors_memintrinsics.h
Commit 03e345b5198d22ac7a4fd9798010fd1da16a25ca by Vitaly Buka
[asan] Avoid few branches on memcpy hot path
The file was modifiedcompiler-rt/lib/asan/asan_internal.h
The file was modifiedcompiler-rt/lib/asan/asan_rtl.cpp
The file was modifiedcompiler-rt/lib/asan/asan_interceptors_memintrinsics.h
Commit 1438639a2f7eb9e9cba01454d3a9b1b16d179c9a by Shafik Yaghmour
[LLDB] Remove undefined behavior in TestConstStaticIntegralMember.py

Setting an enum without a fixed underlying type to a value which is outside the
value range is undefined behavior.

The initializer needs to be a constant expression and therefore this was always
ill-formed we just were not diagnosing it before.

See D130058 and D131307 for more details.

Differential Revision: https://reviews.llvm.org/D131460
The file was modifiedlldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
The file was modifiedlldb/test/API/lang/cpp/const_static_integral_member/main.cpp
Commit bd3976fed470343be8df9caf0e35d290455b700c by Jonas Devlieghere
[lldb] Refactor Symbols::DownloadObjectAndSymbolFile

- Reduce indentation
- Extract caching of the DbgShellCommand and the dsymForUUID executable
   (or equivalent)
- Check the DBGShellCommands before falling back to
   /usr/local/bin/dsymForUUID
- Don't check ~rc/bin/dsymForUUID
- Improve error reporting
- Don't cache the value of LLDB_APPLE_DSYMFORUUID_EXECUTABLE

Differential revision: https://reviews.llvm.org/D131303
The file was modifiedlldb/source/Symbol/LocateSymbolFileMacOSX.cpp
Commit fc63c0542c8d6e5be07e059d03a73ae77f5155aa by i
[mlir] LLVM_FALLTHROUGH => [[fallthrough]]. NFC
The file was modifiedmlir/lib/Tools/PDLL/Parser/Lexer.cpp
The file was modifiedmlir/lib/AsmParser/Parser.cpp
The file was modifiedmlir/lib/Transforms/Utils/DialectConversion.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp
The file was modifiedmlir/lib/IR/AffineExpr.cpp
The file was modifiedmlir/lib/AsmParser/Lexer.cpp
Commit 0972a390b9c74cd994ad0250cf392aecb67502a3 by i
LLVM_FALLTHROUGH => [[fallthrough]]. NFC
The file was modifiedbolt/lib/Passes/ShrinkWrapping.cpp
The file was modifiedpolly/lib/Support/VirtualInstruction.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/FunctionSizeCheck.cpp
The file was modifiedclang-tools-extra/clangd/SourceCode.cpp
The file was modifiedclang-tools-extra/clangd/CodeComplete.cpp
The file was modifiedclang-tools-extra/clang-include-fixer/FuzzySymbolIndex.cpp
The file was modifiedopenmp/libomptarget/plugins/cuda/src/rtl.cpp
The file was modifiedpolly/lib/Analysis/ScopDetection.cpp
The file was modifiedbolt/lib/Target/X86/X86MCPlusBuilder.cpp
The file was modifiedpolly/lib/Analysis/ScopBuilder.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/AvoidBindCheck.cpp
The file was modifiedbolt/lib/Passes/FrameAnalysis.cpp
The file was modifiedpolly/lib/Transform/ForwardOpTree.cpp
The file was modifiedclang-tools-extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp
The file was modifiedbolt/lib/Passes/RegReAssign.cpp
Commit 5357dd2f43a5aab28f34b69e7d3742dd50cbad98 by t-kawashima
[MachinePipeliner] Fix Phi generation failure for large stages

The previous code overwrites VRMap for prologue stages during Phi
generation if a register spans many stages.
As a result, the wrong register is used as the one coming from
the prologue in Phis at later stages. (A process exists to correct
this, but it does not work in all cases.)
In addition, VRMap for prologue must be preserved until addBranches().

This patch fixes them by separating the map for Phis into a different
variable (VRMapPhi).

Reviewed By: bcahoon

Differential Revision: https://reviews.llvm.org/D127840
The file was modifiedllvm/lib/CodeGen/ModuloSchedule.cpp
The file was modifiedllvm/include/llvm/CodeGen/ModuloSchedule.h
The file was addedllvm/test/CodeGen/PowerPC/sms-large-stages.mir
Commit 22e475f5ac237dfebbb3cd2b3306a17d3b2a53ce by czhengsz
[NFC] fix warning
The file was modifiedllvm/lib/Target/PowerPC/PPCCTRLoops.cpp
Commit 8e207e4c096e89fa5410b519715aba8c20701061 by kazu
[Basic] Deprecate MapEntryOptionalStorage::{hasValue,getValue}

MapEntryOptionalStorage is an underlying storage class for
OptionalStorage<clang::DirectoryEntryRef>.

This patch deprecates:

  OptionalStorage<clang::DirectoryEntryRef>::hasValue
  OptionalStorage<clang::DirectoryEntryRef>::getValue

as there is no known users of these two methods.

Differential Revision: https://reviews.llvm.org/D131368
The file was modifiedclang/include/clang/Basic/DirectoryEntry.h
Commit 2db6b34ea8136b02ef533268f0324541c7f93d95 by Jonas Devlieghere
[llvm] Alternative attempt at fixing the modules build with C++17

My initial attempt in db008af50153 resulted in "error: no viable
constructor or deduction guide for deduction of template arguments of
'array'". Let's see if we can work around that by using an ArrayRef with
an explicit template argument.
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
Commit ea42515dadfa3ca0020bc7107787761f026ad2dc by Vitaly Buka
[asan] Faster version of QuickCheckForUnpoisonedRegion

Slightly helps with performance regression after D128146.
The file was modifiedcompiler-rt/lib/asan/asan_interceptors_memintrinsics.h
Commit aaf6c7b05c9d155c8d34ec06a2f76ebdef8d21b9 by yuanke.luo
[globalisel] Select register bank for DBG_VALUE

The register operand of DBG_VALUE is not selected to a proper register
bank in both AArch64 and X86. This would cause getRegClass crash after
global ISel. After discussion, we think the MIR should assume all
vritual register should be set proper register class after global ISel,
so this patch is to fix the gap of DBG_VALUE for AArch64 and X86.

Differential Revision: https://reviews.llvm.org/D129037
The file was modifiedllvm/lib/Target/X86/X86InstructionSelector.cpp
The file was modifiedllvm/lib/Target/X86/X86RegisterBankInfo.cpp
The file was modifiedllvm/lib/CodeGen/RegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-dbg-value.mir
The file was modifiedllvm/test/DebugInfo/X86/debug-reg-bank.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
The file was modifiedllvm/test/DebugInfo/AArch64/debug-reg-bank.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-hint.mir
Commit e8c807fade5ff75ffe7f1395c20cfda0bc9480e3 by Jonas Devlieghere
[llvm] Don't rely on C++17 deduction guide for array creation

Seems like at least one bot (clang-ppc64-aix) is having trouble with the
C++17 deduction guide for array creation. Specify the template arguments
explicitly.
The file was modifiedllvm/include/llvm/Support/FormatProviders.h
Commit f35cb7ba344b4de654c78f8a8d63a455e52588aa by luweining
[LoongArch] Add codegen support for bswap

Differential Revision: https://reviews.llvm.org/D131352
The file was addedllvm/test/CodeGen/LoongArch/bswap.ll
The file was modifiedllvm/lib/Target/LoongArch/LoongArchInstrInfo.td
The file was modifiedllvm/lib/Target/LoongArch/LoongArchISelLowering.h
The file was modifiedllvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
Commit 8716513e65c4e8eb0530579e3a15e44de88c3b9a by luweining
[LoongArch] Implement branch analysis

This allows a number of optimisation passes to work.
E.g. BranchFolding and MachineBlockPlacement.

Differential Revision: https://reviews.llvm.org/D131316
The file was modifiedllvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
The file was addedllvm/test/CodeGen/LoongArch/analyze-branch.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/loongarch_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/lib/Target/LoongArch/LoongArchInstrInfo.h
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/loongarch_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/CodeGen/LoongArch/ir-instruction/br.ll
Commit d3580c2eb6ec95256a65ce7f66346351e9852eab by luweining
[LoongArch] Add codegen support for not

Differential Revision: https://reviews.llvm.org/D131384
The file was modifiedllvm/test/CodeGen/LoongArch/calling-conv-lp64d.ll
The file was modifiedllvm/lib/Target/LoongArch/LoongArchInstrInfo.td
The file was addedllvm/test/CodeGen/LoongArch/not.ll
Commit 32197830ef5990d31b5582c9d497b2a96a1a381f by i
[clang][clang-tools-extra] LLVM_NODISCARD => [[nodiscard]]. NFC
The file was modifiedclang/lib/Format/FormatToken.h
The file was modifiedclang/lib/StaticAnalyzer/Core/ProgramState.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/Taint.h
The file was modifiedclang-tools-extra/clangd/index/Serialization.cpp
The file was modifiedclang-tools-extra/clangd/support/Function.h
The file was modifiedclang-tools-extra/clangd/support/Threading.h
The file was modifiedclang-tools-extra/clangd/support/Context.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h
The file was modifiedclang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/Lex/DependencyDirectivesScanner.cpp
The file was modifiedclang/include/clang/AST/ASTImporter.h
The file was modifiedclang-tools-extra/clangd/ClangdServer.h
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/include/clang/Tooling/Syntax/Tokens.h
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyOptions.h
The file was modifiedclang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
The file was modifiedclang-tools-extra/clangd/index/Background.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/include/clang/Tooling/Core/Replacement.h
Commit 5146f84fd616084fb63025a3e8a172179137b1ce by i
LLVM_NODISCARD => [[nodiscard]]. NFC
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandInterpreter.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.h
The file was modifiedmlir/include/mlir/Analysis/AliasAnalysis.h
The file was modifiedmlir/include/mlir/Support/LogicalResult.h
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was modifiedmlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
Commit d4ff9eff767c24716b5654780bc2e48c2017b4c5 by 1.int32
[clang][ASTImporter] Improve import of functions with auto return type.

ASTImporter used to crash in some cases when a function is imported with
`auto` return type and the return type has references into the function.
The handling of such cases is improved and crash should not occur any more
but it is not fully verified, there are very many different types of
cases to care for.

Reviewed By: martong

Differential Revision: https://reviews.llvm.org/D130705
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit 4ac00789e1b30145ec3cacc4b2a66cb755ff9e4a by npopov
[RelLookupTableConverter] Bail on invalid pointer size (x32)

The RelLookupTableConverter pass currently only supports 64-bit
pointers.  This is currently enforced using an isArch64Bit() check
on the target triple. However, we consider x32 to be a 64-bit target,
even though the pointers are 32-bit. (And independently of that
specific example, there may be address spaces with different pointer
sizes.)

As such, add an additional guard for the size of the pointers that
are actually part of the lookup table.

Differential Revision: https://reviews.llvm.org/D131399
The file was addedllvm/test/Transforms/RelLookupTableConverter/X86/gnux32.ll
The file was modifiedllvm/lib/Transforms/Utils/RelLookupTableConverter.cpp
Commit dd14d471a549c8b9bbcba49e3bb2bc64f4cf7e89 by shraiysh
[mlir][OpenMP] omp.parallel side effects

Add `NoSideEffects` trait to omp.parallel operation.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D130657
The file was modifiedmlir/test/Dialect/OpenMP/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
Commit af0052ef741f9bcfa3c7f0038d49f0cb1eaa59a4 by llvm-dev
Fix MSVC "not all control paths return a value" warning. NFC.
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit 27241435515554bc21105713c9d34cf886c5bced by llvm-dev
[DAG] canCreateUndefOrPoison - add freeze(ctpop(x)) -> ctpop(freeze(x)) and freeze(parity(x)) -> parity(freeze(x)) support

Both are guaranteed not to create undef/poison
The file was modifiedllvm/test/CodeGen/X86/freeze-unary.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 15eaefa5fe3608b03f1abefc31129efaf9eab88e by github
[cmake] Fix ms-compat version in WinMsvc.cmake

As pointed out by @glandium here https://reviews.llvm.org/D130689#3709088
we updated the requirement of MSVC compatibility but not the flag passed when
using WinMsvc.cmake as a toolchain.
The file was modifiedllvm/cmake/platforms/WinMsvc.cmake
Commit d9e5462da61c3e2137a21a868a36f7022a39b59e by llvm-dev
[clang-pseudo] Forest.h - don't inherit from std::iterator

Now that we've updated to C++17 MSVC gives very verbose warnings about not creating classes that inherit from std::iterator - use llvm::iterator_facade_base instead

Fixes #57005
The file was modifiedclang-tools-extra/pseudo/include/clang-pseudo/Forest.h
Commit adb0cd62a98cca26c740364bca308d089bb07cc1 by llvm-dev
[Support] TaskQueue.h - replace std::result_of_t with std::invoke_result_t

std::result_of_t is deprecated in C++17

Fixes #57023
The file was modifiedllvm/include/llvm/Support/TaskQueue.h
Commit 67b075319b17450705483628c87631e3336e110d by alexrichardson
[ARM] Add a baseline elf-preemption test

This is based on the RISC-V elf-preemption.ll (converted to opaque
pointers) and is useful for test coverage for the patch series starting
with D131392.
The file was addedllvm/test/CodeGen/ARM/elf-preemption.ll
Commit 7925341d9332118c8f3469013b08cdcd9016749c by alexrichardson
[ARM] Add a baseline test for D131392

We should be emitting .Lfoo$local aliases for dso_local functions.
The file was addedllvm/test/CodeGen/ARM/dso-local-func.ll
Commit 9a2b14afa02e46acbc7838bafa8d9e59b7cc86b8 by alexrichardson
[ARM] Emit local aliases (.Lfoo$local) for functions

ARMAsmPrinter::emitFunctionEntryLabel() was not calling the base class
function so the $local alias was not being emitted. This should not have
any function effect right now since ARM does not generate different code
for the $local symbols, but it could be improved in the future.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D131392
The file was modifiedllvm/utils/UpdateTestChecks/asm.py
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/ARM/dso-local-func.ll
Commit fa210dd67b458f7a11631c7fb2eebb05f4849ce5 by alexrichardson
[Thumb] Baseline test for incorrect relocation with -ffunction-sections

When calling a dso_local function, we end up creating a call against the
.Lfoo$local label. This might be converted to a relocation against a
section if there is such a matching one (which is a lot more likely with
-ffunction-sections) and then the LSB (Thumb flag) will be lost.

I originally noticed this with Morello LLVM (which uses the LSB to indicate
a C64 encoding mode function). The missing LSB meant that ld.lld would
insert a thunk that switches encoding mode which then resulted in errors
at runtime since functions were being entered with the wrong encoding mode.
Since the Morello backend is not upstream, I looked if any in-tree
backends could also be affected by the missing STT_FUNC flag and noticed
that Thumb is also affected (although the bug is rather difficult to
trigger - it currently requires inline assembly).

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D131432
The file was addedllvm/test/CodeGen/ARM/thumb-function-section-reloc.ll
Commit 6db15a82cc0966458c2b7d84b39f42ef09d2ac20 by alexrichardson
[ARM] Use getSymbolPreferLocal() in GetARMGVSymbol

This allows relaxing some relocations to STT_SECTION symbol+offset
instead of emitting a relocation against a symbol.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D131433
The file was modifiedllvm/test/CodeGen/ARM/dso-local-func.ll
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/ARM/elf-preemption.ll
The file was modifiedllvm/test/CodeGen/ARM/thumb-function-section-reloc.ll
Commit 07529996d92b9fc0cc760f4e98d88b607f66e747 by ibiryukov
[Sema] Merge variable template specializations

Clang used to produce redefinition errors, see tests for examples.

Reviewed By: ChuanqiXu

Differential Revision: https://reviews.llvm.org/D131258
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was addedclang/test/Modules/merge-var-template-spec.cpp
The file was addedclang/test/Modules/merge-var-template-spec-cxx-modules.cppm
Commit fc4c1a86f35f3900f67a6af16b416464369793ba by d-pre
[AMDGPU][MC][GFX11][NFC] Split large tests

Differential Revision: https://reviews.llvm.org/D131397
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_vop1.s
The file was removedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_all.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopd.txt
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/decode-err.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop2.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3p_dpp8.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop1_dpp8.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sopk.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sopp.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop2_dpp16.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc_dpp8.txt
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_vop3.s
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop1_dpp16.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc_dpp16.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_ldsdir.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sop2.txt
The file was removedllvm/test/MC/AMDGPU/gfx11_vop123.s
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop2_dpp8.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3p.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sopc.txt
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_vop2.s
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sop1.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop1.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_smem.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3p_dpp16.txt
Commit 9ff0cc7e0fa7e99163610d2fcb58e96f3315e343 by ron.lieberman
[openmp] Fix enumeration build issue for openmp library

integer value 40962 is outside the valid range of values [0, 31] for this enumeration type [-Wenum-constexpr-conversion]` (Issue #57022)

turn on -Wno-enum-constexpr-conversion to buy some time to fix the more egregious issue in hsa_agent_into_t and hsa_amd_agent_info_t interfaces.

relates to https://reviews.llvm.org/D131307/new/

Differential Revision: https://reviews.llvm.org/D131477
The file was modifiedopenmp/cmake/config-ix.cmake
The file was modifiedopenmp/cmake/HandleOpenMPOptions.cmake
Commit 9d1eeefbfe04d3355c062253e659117d6ba4b735 by d-pre
[AMDGPU][MC][GFX11][NFC] Rename tests

Make test names more uniform.

Differential Revision: https://reviews.llvm.org/D131398
The file was removedllvm/test/MC/AMDGPU/gfx11_flat.s
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_flat_errs.s
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_mubuf.txt
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_vopd.s
The file was removedllvm/test/MC/Disassembler/AMDGPU/mubuf_dasm_gfx11.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_flat.txt
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_ldsdir.s
The file was removedllvm/test/MC/AMDGPU/gfx11_mtbuf_alias.s
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_flat_mnemonic.s
The file was removedllvm/test/MC/Disassembler/AMDGPU/flat-gfx11.txt
The file was removedllvm/test/MC/AMDGPU/vopd.s
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_wmma.s
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_exp.s
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_vinterp.s
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vinterp.txt
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_mubuf.s
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_err.s
The file was removedllvm/test/MC/AMDGPU/sopp-gfx11.s
The file was removedllvm/test/MC/AMDGPU/ldsdir.s
The file was removedllvm/test/MC/Disassembler/AMDGPU/ds_gfx11.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_wmma.txt
The file was removedllvm/test/MC/AMDGPU/exp-gfx11.s
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_sopp.s
The file was removedllvm/test/MC/AMDGPU/vinterp.s
The file was removedllvm/test/MC/AMDGPU/gfx11_mubuf_alias.s
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_ds.s
The file was removedllvm/test/MC/AMDGPU/gfx11_mtbuf.s
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_exp.txt
The file was removedllvm/test/MC/AMDGPU/gfx11-flat-errs.s
The file was removedllvm/test/MC/Disassembler/AMDGPU/gfx11_mimg.txt
The file was removedllvm/test/MC/Disassembler/AMDGPU/gfx11_wmma.txt
The file was removedllvm/test/MC/AMDGPU/gfx11_wmma.s
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_ds.txt
The file was removedllvm/test/MC/AMDGPU/gfx11_ds.s
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_mimg.txt
The file was addedllvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_mtbuf.txt
The file was removedllvm/test/MC/Disassembler/AMDGPU/mtbuf_dasm_gfx11.txt
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_mtbuf.s
The file was removedllvm/test/MC/Disassembler/AMDGPU/vinterp.txt
The file was removedllvm/test/MC/AMDGPU/gfx11_err.s
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_flat.s
The file was removedllvm/test/MC/AMDGPU/gfx11_mubuf.s
The file was removedllvm/test/MC/Disassembler/AMDGPU/exp_gfx11.txt
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_vop3p.s
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_mubuf_alias.s
The file was addedllvm/test/MC/AMDGPU/gfx11_asm_mtbuf_alias.s
The file was removedllvm/test/MC/AMDGPU/flat-gfx11-mnemonic.s
The file was removedllvm/test/MC/AMDGPU/gfx11_vop3p.s
Commit 7d48a9e1ae53ecdbb9a21c5cc0443aecb64479b4 by luweining
[LoongArch] Support register-register-addressed GPR loads/stores

Differential Revision: https://reviews.llvm.org/D131380
The file was modifiedllvm/test/CodeGen/LoongArch/ir-instruction/load-store.ll
The file was modifiedllvm/lib/Target/LoongArch/LoongArchInstrInfo.td
Commit 9fa59e7643d63bbc95c1e011c7403bbe1555c861 by benny.kra
[mlir] Use C++17 structured bindings instead of std::tie where applicable. NFCI
The file was modifiedmlir/lib/Dialect/Arithmetic/IR/InferIntRangeInterfaceImpls.cpp
The file was modifiedmlir/lib/Tools/PDLL/Parser/Parser.cpp
The file was modifiedmlir/lib/TableGen/Pattern.cpp
The file was modifiedmlir/lib/Conversion/MemRefToLLVM/AllocLikeConversion.cpp
The file was modifiedmlir/lib/Transforms/OpStats.cpp
The file was modifiedmlir/lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp
The file was modifiedmlir/lib/Analysis/Presburger/IntegerRelation.cpp
The file was modifiedmlir/lib/AsmParser/DialectSymbolParser.cpp
The file was modifiedmlir/lib/Dialect/SCF/IR/SCF.cpp
The file was modifiedmlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
The file was modifiedmlir/lib/Support/DebugCounter.cpp
The file was modifiedmlir/lib/Analysis/DataFlowFramework.cpp
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
The file was modifiedmlir/lib/Dialect/SCF/Transforms/ParallelLoopTiling.cpp
The file was modifiedmlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
The file was modifiedmlir/lib/Analysis/Presburger/Simplex.cpp
The file was modifiedmlir/lib/Transforms/Utils/DialectConversion.cpp
The file was modifiedmlir/include/mlir/ExecutionEngine/MemRefUtils.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
Commit cf75ef460c92304b3122a7734cc54de7ff398d2b by luweining
[LoongArch] Add codegen support for ISD::ROTL and ISD::ROTR

Differential Revision: https://reviews.llvm.org/D131231
The file was addedllvm/test/CodeGen/LoongArch/rotl-rotr.ll
The file was modifiedllvm/lib/Target/LoongArch/LoongArchISelLowering.h
The file was modifiedllvm/lib/Target/LoongArch/LoongArchInstrInfo.td
The file was modifiedllvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
Commit 1d1a56929b725f9a79d98877f12d0a14f8418b38 by mizvekov
Clang: fix AST representation of expanded template arguments.

Extend clang's SubstTemplateTypeParm to represent the pack substitution index.

Fixes PR56099.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>

Differential Revision: https://reviews.llvm.org/D128113
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/include/clang/AST/TextNodeDumper.h
The file was modifiedclang/lib/AST/ASTStructuralEquivalence.cpp
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/test/AST/ast-dump-template-decls.cpp
The file was modifiedclang/include/clang/AST/JSONNodeDumper.h
The file was modifiedclang/include/clang/AST/TypeProperties.td
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/AST/JSONNodeDumper.cpp
Commit 9d084982a38526fb8ba15867ecceec3e9b82a6f8 by pklausler
[flang] Clarify CheckReductionDIM()

This utility routine in constant folding should return false when
a DIM= actual argument to a reduction intrinsic function has a
value that prevents folding, and true when folding can proceed.
The implementation was returning true in cases where a DIM=
argument was present but not constant.

Clarify the code and add commentary: a true result means that
there is no DIM= actual argument present, or that a DIM= argument
exists, is constant, and has a value that is in range.

Differential Revision: https://reviews.llvm.org/D131101
The file was modifiedflang/lib/Evaluate/fold-reduction.cpp
The file was modifiedflang/lib/Evaluate/fold-reduction.h
Commit 1eaa4de843f6e4fa187b0e0e5bdae1c5f62a4fe8 by llvm-dev
[X86] Regenerate statepoint-vreg.ll

Noticed on D131260
The file was modifiedllvm/test/CodeGen/X86/statepoint-vreg.ll
Commit 6da3f90195e32d9fd36a5794b6b397360fc0e1e4 by Jake.Egan
[AIX][tests] XFAIL atan.ll test on AIX

XFAIL this newly added test for now to get the AIX bot back to green.
The file was modifiedllvm/test/Transforms/EarlyCSE/atan.ll
Commit f5ed0cb217a9988f97b55f2ccb053bca7b41cc0c by npopov
[RISCV] Add target feature to force-enable atomics

This adds a +forced-atomics target feature with the same semantics
as +atomics-32 on ARM (D130480). For RISCV targets without the +a
extension, this forces LLVM to assume that lock-free atomics
(up to 32/64 bits for riscv32/64 respectively) are available.

This means that atomic load/store are lowered to a simple load/store
(and fence as necessary), as these are guaranteed to be atomic
(as long as they're aligned). Atomic RMW/CAS are lowered to __sync
(rather than __atomic) libcalls. Responsibility for providing the
__sync libcalls lies with the user (for privileged single-core code
they can be implemented by disabling interrupts). Code using
+forced-atomics and -forced-atomics are not ABI compatible if atomic
variables cross the ABI boundary.

For context, the difference between __sync and __atomic is that the
former are required to be lock-free, while the latter requires a
shared global lock provided by a shared object library. See
https://llvm.org/docs/Atomics.html#libcalls-atomic for a detailed
discussion on the topic.

This target feature will be used by Rust's riscv32i target family
to support the use of atomic load/store without atomic RMW/CAS.

Differential Revision: https://reviews.llvm.org/D130621
The file was modifiedllvm/docs/Atomics.rst
The file was modifiedllvm/lib/Target/RISCV/RISCVSubtarget.h
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoA.td
The file was addedllvm/test/CodeGen/RISCV/forced-atomics.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCV.td
Commit 4dece4007cc2fb261f29d14287836e28a355810a by clementval
[flang] Pass the pipeline config to the pass

The newly added AlgebraicSimplification pass is triggering the
greedy pattern rewriter. Since we define a specific config in the
flang pipeline, this patch adds the ability to pass the config
to the pass directly.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D131474
The file was modifiedflang/lib/Optimizer/Transforms/AlgebraicSimplification.cpp
The file was modifiedflang/include/flang/Optimizer/Transforms/Passes.h
The file was modifiedflang/include/flang/Tools/CLOptions.inc
Commit e780648a15e67df92d6aee1fe68393f1edddf06d by Yaxun.Liu
[AMDGPU] Unify unreachable intrinsics

si-annotate-control-flow does depth first traversal of BB's of
a function to insert amdgcn if intrinsics for conditional
branches so that isel can generate correct instructions later.

si-annotate-control-flow checks whether the successor BB for the 'else'
branch of a conditional branch has been visited. If it has been
visited, si-annotate-control-flow assumes the conditional
branch has been handled and will not try to insert if intrinsic
for it.

This assumption is not correct when the IR contains multiple
unreachable BB's. Then 'if' intrinscs are not inserted and incorrect
ISA are generated.

This patch fixes the issue by let amdgpu-unify-divergent-exit-nodes
unify unreachables even if they are uniformly reached. In this way
the IR will not contain multiple exits, and structurizer is able to
structurize the IR containing one unified exit.

Reviewed by: Ruiling Song, Matt Arsenault

Differential Revision: https://reviews.llvm.org/D131181

Fixes: SWDEV-343244
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/bool-legalization.ll
The file was addedllvm/test/CodeGen/AMDGPU/si-unify-exit-multiple-unreachables.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-if-dead.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/switch-default-block-unreachable.ll
Commit 08cc03befd44c1157fa5b5586c1a9861a5869203 by kubak
[mlir][spirv] Clean up SPIRVOps.cpp. NFC.

Resolve almost all clang tidy warnings in this file:
1. Clean up string constants.
2. Use consistent argument names across function declarations and definitions. Rename `state` - > `result`, which is consistent with the other dialects.
3. Remove misleading function parameter name comments (`argTypes`). This did not match the actual function argument (`bool enableNameShadowing`).
4. Simplify calls to `is_splat`.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D131297
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
Commit e1ee20d574df8ba6efb01eec3d2fa3c9cd82984d by pklausler
[flang] Ignore inaccessible components when extending types or constructing structures

Inaccessible components -- those declared PRIVATE in another module -- should
be allowed to be redeclared in extended types, and should be ignored if
they appear as keywords in structure constructors.

Differential Revision: https://reviews.llvm.org/D131102
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/lib/Semantics/expression.cpp
The file was addedflang/test/Semantics/symbol22.f90
Commit 37a0022aaa5a2ab15d7933e1c84e30b53a895bca by pklausler
[flang] Don't lose homonymous specific when copying generic

Defined generic procedure interfaces are allowed to shadow non-generic
procedures of the same name in the same scope (whether or not
that non-generic procedure is a specific procedure of the generic).
When making a copy of a generic interface symbol so that it can
be locally modified or be merged with another generic, don't forget
about the homonymous non-generic procedure that it might shadow.

Differential Revision: https://reviews.llvm.org/D131103
The file was modifiedflang/test/Semantics/resolve17.f90
The file was modifiedflang/lib/Semantics/mod-file.cpp
The file was modifiedflang/lib/Semantics/resolve-names.cpp
Commit f53f2f232f794a257c270f4c273b9c9000421c81 by muiez
Extend ptr32 support to be applied on typedef

Earlier, if the QualType was sugared, then we would error out
as it was not a pointer type, for example,

typedef int *int_star;

int_star __ptr32 p;

Now, if ptr32 is given we apply it if the raw Canonical Type
(i.e., the desugared type) is a PointerType, instead of only
checking whether the sugared type is a pointer type.

As before, we still disallow ptr32 usage if the pointer is used
as a pointer to a member.

Differential Revision: https://reviews.llvm.org/D130123
The file was modifiedclang/test/Sema/MicrosoftExtensions.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/test/CodeGen/address-space-ptr32.c
The file was modifiedclang/test/Sema/MicrosoftExtensions.c
Commit 5e8094bae50b1dd533ca0a20693d28a58b9c0d59 by pklausler
[flang] Don't inherit ELEMENTAL attribute from intrinsics for TBP bindings

Type-bound procedure bindings that specify intrinsic procedures as their
interfaces should not acquire the ELEMENTAL attribute from the purposes
of compatibility checking between inherited bindings and their overrides
in extended derived types.

Differential Revision: https://reviews.llvm.org/D131104
The file was modifiedflang/lib/Evaluate/characteristics.cpp
The file was modifiedflang/lib/Semantics/check-declarations.cpp
The file was modifiedflang/lib/Evaluate/tools.cpp
Commit 195287d90afb1b97a0fb869da501370e7c3e67c6 by koraq
[libc++][ranges] Sets ranges feature-test macro.

D131234 marked the ranges papers as complete, but it didn't set the
feature-test macro.

Reviewed By: ldionne, var-const, #libc

Differential Revision: https://reviews.llvm.org/D131326
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/memory.version.compile.pass.cpp
The file was modifiedlibcxx/utils/generate_feature_test_macro_components.py
The file was modifiedlibcxx/docs/FeatureTestMacroTable.rst
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.compile.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/functional.version.compile.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
The file was modifiedlibcxx/include/version
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.compile.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.compile.pass.cpp
Commit d79e7dc939a3e9c422ecb4f7de17ca7a6d827ba7 by llvm-dev
[DAG] SimplifyDemandedVectorElts - and/mul(x,y) - if a demanded element of y is known zero then we don't need to demand it in x

This fixes most of the remaining regressions from the fixes in rG293899c64b75
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-512.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-rot-512.ll
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-512.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-512.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-rot-512.ll
Commit 4c02ab8c9742f6c32b17f49a306b3b072486f5c5 by aaron
Change prototype merging error into a warning for builtins

As was observed in https://reviews.llvm.org/D123627#3707635, it's
confusing that a user can write:
```
float rintf(void) {}
```
and get a warning, but writing:
```
float rintf() {}
```
gives an error. This patch changes the behavior so that both are
warnings, so that users who have functions which conflict with a
builtin identifier can still use that identifier as they wish.

Differential Revision: https://reviews.llvm.org/D131499
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/Sema/prototype-redecls.c
Commit ee27bca2e2c75593e0d794ba23e054af319d04c7 by keithbsmiley
[lld-macho][test] Rename dtrace test (NFC)

This matches the convention used elsewhere

Differential Revision: https://reviews.llvm.org/D131456
The file was removedlld/test/MachO/x86_64-dtrace.s
The file was addedlld/test/MachO/x86-64-dtrace.s
Commit ed162d455a6585a75290c60c934b2a514ac55747 by llvm-dev
[DAG] Avoid hasOneUse() calls if the cheaper !AssumeSingleUse test has already failed. NFC.

Very minor optimization, but every little helps..
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit e486e48c3d9e99e4c17d365bbc4b429c8e5b5999 by schuett
[clang] fix deprecation
The file was modifiedclang/lib/DirectoryWatcher/mac/DirectoryWatcher-mac.cpp
Commit 82afc9b169a67e8b8a1862fb9c41a2cd974d6691 by aaron
Fix -Wbitfield-constant-conversion on 1-bit signed bitfield

A one-bit signed bit-field can only hold the values 0 and -1; this
corrects the diagnostic behavior accordingly.

Fixes #53253
Differential Revision: https://reviews.llvm.org/D131255
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/test/Rewriter/rewrite-modern-struct-ivar-1.mm
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/test/CXX/drs/dr6xx.cpp
The file was modifiedclang/test/Rewriter/rewrite-modern-struct-ivar.mm
The file was modifiedclang/test/CodeGen/bitfield.c
The file was modifiedclang/test/CodeGenCXX/bitfield-layout.cpp
The file was modifiedclang/test/SemaCXX/cxx1z-decomposition.cpp
The file was modifiedclang/test/CXX/class/class.bit/p1.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
The file was modifiedclang/test/SemaCXX/decomposition-blocks.cpp
The file was modifiedclang/test/Sema/constant-conversion.c
Commit 310962f25ec1c1497d91aeacf707c9f6f65c660e by peter.waller
[DAGCombine][NFC] Precommit extract-subvec-combine sext tests
The file was modifiedllvm/test/CodeGen/AArch64/extract-subvec-combine.ll
Commit 525ff9bd206d7fcd3fee01f31985cd0c9990bfbb by pklausler
[flang] Don't check procedure pointer interface function result specification expressions

When a procedure pointer references a function as its interface, don't
apply semantic checks to the specification expressions that appear in
the declaration of the function's result -- this can lead to bogus
error messages as those specification expressions are being examined
out of their proper context.

Differential Revision: https://reviews.llvm.org/D131106
The file was modifiedflang/lib/Semantics/check-declarations.cpp
Commit bad52055954e05a6b4cc86e9e950cac0b42f44a9 by pklausler
[flang][runtime] Support internal I/O to CHARACTER(KIND/=1)

Allow internal I/O to support non-default kinds of CHARACTER.

The I/O runtime design anticipated this standard feature, but
this patch is somewhat larger than I thought it would be because
many code sites had to have assumptions about units (characters
vs. bytes) brought into harmony, and some encoding utilities
had to be pulled out of IoStatementState and templatized into
their own new header file so that they are available to formatted
output code without having to "thread" an IoStatementState reference
through many call chains.

Differential Revision: https://reviews.llvm.org/D131107
The file was modifiedflang/runtime/format.h
The file was modifiedflang/runtime/format-implementation.h
The file was modifiedflang/test/Semantics/io03.f90
The file was addedflang/runtime/emit-encoded.h
The file was modifiedflang/runtime/internal-unit.h
The file was modifiedflang/runtime/internal-unit.cpp
The file was modifiedflang/runtime/io-stmt.cpp
The file was modifiedflang/runtime/edit-input.cpp
The file was modifiedflang/unittests/Runtime/Format.cpp
The file was modifiedflang/lib/Semantics/check-io.cpp
The file was modifiedflang/runtime/edit-output.cpp
The file was modifiedflang/runtime/connection.h
The file was modifiedflang/runtime/io-stmt.h
The file was modifiedflang/runtime/namelist.cpp
Commit f329cf97f25e7c3a3bc735c226605deac806bd5e by pklausler
[flang] Change names of specific procedures of generic interfaces in intrinsic modules

Intrinsic procedures in intrinsic modules that have (or better, *are*) generic interfaces
must not have specific procedures with the same name according to the Fortran
standard (17.11.1); i.e., a user program is allowed to define a procedure
of the same name as one of these generic interfaces, even when the generic is
in scope.

Differential Revision: https://reviews.llvm.org/D131108
The file was modifiedflang/module/__fortran_ieee_exceptions.f90
The file was modifiedflang/module/ieee_arithmetic.f90
The file was modifiedflang/module/iso_fortran_env.f90
Commit 20e6239a44d61bc9a7f287c1b02baa1e5c395278 by david.green
[AArch64] Regenerate arm64-fmax.ll test. NFC
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fmax.ll
Commit c2ab65ddaf4b2ab936ede3cc673de7f8f0440a48 by zhongyunde
[IndVars] Eliminate redundant type cast with different sizes

Deal with different sizes between the itofp and fptoi with
trunc or sext/zext, depend on D129756.
Fixes https://github.com/llvm/llvm-project/issues/55505.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D129958
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp
The file was modifiedllvm/test/Transforms/IndVarSimplify/floating-point-small-iv.ll
The file was modifiedllvm/test/Transforms/IndVarSimplify/floating-point-iv.ll
Commit 0981975ad0df31e3d57ee246607e23be75572eba by jun
[LLVM] Use range based for loop, NFC

Signed-off-by: Jun Zhang <jun@junz.org>
The file was modifiedllvm/include/llvm/IR/PassManager.h
Commit cc71e69459474c19ae7c0ce019abd7a5e12430d6 by vdonaldson
[flang] Intrinsic RANDOM_SEED calls with dynamically absent/present arguments
The file was modifiedflang/include/flang/Lower/Runtime.h
The file was modifiedflang/test/Lower/Intrinsics/random.f90
The file was modifiedflang/lib/Lower/IntrinsicCall.cpp
The file was modifiedflang/lib/Evaluate/intrinsics.cpp
The file was modifiedflang/lib/Lower/Runtime.cpp
The file was modifiedflang/runtime/random.cpp
The file was modifiedflang/include/flang/Runtime/random.h
The file was modifiedflang/lib/Lower/CustomIntrinsicCall.cpp
The file was modifiedflang/unittests/Runtime/Random.cpp
Commit 205701fd47535a7525789f3291bd686cef1a9773 by markus.boeck02
[llvm][ADT] Allow using structured bindings with `llvm::enumerate`

This patch adds the ability to deconstruct the `value_type` returned by `llvm::enumarate` into index and value of the wrapping range. Main use case is the common occurence of using it during loop iteration. After this patch it'd then be possible to write code such as:
```
for (auto [index, value] : enumerate(container)) {
   ...
}
```
where `index` is the current index and `value` a reference to elements in the given container.

Differential Revision: https://reviews.llvm.org/D131486
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedllvm/unittests/ADT/STLExtrasTest.cpp
Commit 56a1c61ad1549a4a7d5bbdf6d3a8431267695ddc by spatel
[PhaseOrdering][AArch64] add test for mul-with-overflow; NFC

Reduced from issue #56403
The file was addedllvm/test/Transforms/PhaseOrdering/AArch64/mul-ov.ll
Commit 6bfe5361b7d92a316544f69e6f01ddd3840344b9 by spatel
[InstCombine] add helper function for extract of with-overflow-intrinsic; NFC

We can do more with these patterns, so this block is going to grow.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 79d9918df616296522147efea8357e01464e036f by pklausler
[flang] Fix build warning from newer compilers

Remove a lambda capture of "[this]" in two cases where it
is no longer required.  Will be pushed without waiting for
review if CI is successful in order to resolve a sad build bot.

Differential Revision: https://reviews.llvm.org/D131506
The file was modifiedflang/runtime/io-stmt.cpp
Commit 8c2668032cb1b4029261c224dda4f4a9b2f44190 by llvm-dev
[X86] Remove unnecessary _mm_undefined_pd() test from avx-intrinsics-fast-isel.ll

This is already in sse2-intrinsics-fast-isel.ll

Noticed in D104790
The file was modifiedllvm/test/CodeGen/X86/avx-intrinsics-fast-isel.ll
Commit 8800b1103a4f5ac5e5a21c96a39cd382aa1ceccd by listmail
[RISCV] Pin a test to scalar lowering to preserve test intent [nfc]

In an upcoming change to enable fixed length vector lowering via vector registers, the codepath exercised would change.  Pin this to the old lowering.
The file was modifiedllvm/test/CodeGen/RISCV/vec3-setcc-crash.ll
Commit 926e7312b2f20f2f7b0a3d5ddbd29da5625507f3 by spatel
[InstCombine] fold usub.with.overflow to icmp when there's no use of the math value

https://alive2.llvm.org/ce/z/UE48FH

This is part of solving issue #56926.
The file was modifiedllvm/test/Transforms/InstCombine/usubo.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 68f97d2f787507eba56c667585fc31db3c27c469 by Adrian Prantl
LiveDebugValues: Fix another crash related to unreachable blocks

This is a follow-up patch to D130999. In the test, the MIR contains an
unreachable MBB but the code attempts to look it up in MLocs. This
patch fixes this issue by checking for the default-constructed value.

rdar://97226240

Differential Revision: https://reviews.llvm.org/D131453
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
The file was addedllvm/test/DebugInfo/MIR/X86/ldv_unreachable_blocks2.mir
Commit b20fe2c25b17ffad30f8f286d4ef94e01a8b3c8d by archibald.elliott
[docs][AArch64] Label Features with Arm ARM Names

This patch adds the names of the Arm Architecture Reference Manual (ARM)
features to the corresponding Subtarget Features in the AArch64 backend
and target parser.

The aim of this is to make it clearer what architectural features a
subtarget feature might enable (so, which features a CPU must provide to
support that subtarget feature), and so make it easier to add new CPUs
in the future.

Differential Revision: https://reviews.llvm.org/D131257
The file was modifiedllvm/include/llvm/Support/AArch64TargetParser.h
The file was modifiedllvm/lib/Target/AArch64/AArch64.td
Commit fe01292457fc04532c5d2eccc9d0674df4582fa6 by jgorbe
Move FormattersMatchCandidate flags to a struct.

This removes some error-prone repetition in
FormatManager::GetPossibleMatches, where the same three boolean flags
are passed in a row multiple times as arguments to recursive calls to
GetPossibleMatches.

Instead of:
```
  // same flags, but with did_strip_typedef set to true.
  GetPossibleMatches(..., did_strip_ptr, did_strip_ref, true);
```
we can now say
```
  GetPossibleMatches(..., current_flags.WithStrippedTypedef());
```
which hopefully makes the intent clearer, and more readable in case we
add another flag.

Reviewed by: DavidSpickett, labath

Differential Revision: https://reviews.llvm.org/D131459
The file was modifiedlldb/include/lldb/DataFormatters/FormatManager.h
The file was modifiedlldb/include/lldb/DataFormatters/FormatClasses.h
The file was modifiedlldb/source/DataFormatters/FormatManager.cpp
Commit ea323a4bd5147ef8e8a6e4f144444e1e07664ec5 by filipp.zhinkin
[X86][ARM] Update tests for bitwise logic trees of shifts; NFC

Baseline tests for D131189.
The file was modifiedllvm/test/CodeGen/ARM/shift-combine.ll
The file was modifiedllvm/test/CodeGen/X86/shift-combine.ll
Commit b09f6b471fd251d1827e9478b944ef15927e5526 by ajcbik
[mlir][sparse] improve semi-ring doc

Spell out SparseVector instead of just using SparseVec

Reviewed By: jim22k, bixia

Differential Revision: https://reviews.llvm.org/D131511
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
Commit a29fffc4752a10494a74bb9f8db9b885c8aa5af1 by antiagainst
[mlir][spirv] Migrate to use specalized enum attributes

Previously we are using IntegerAttr to back all SPIR-V enum
attributes. Therefore we all such attributes are showed like
IntegerAttr in IRs, which is barely readable and breaks
roundtripability of the IR. This commit changes to use
`EnumAttr` as the base directly so that we can have separate
attribute definitions and better IR printing.

Reviewed By: kuhar

Differential Revision: https://reviews.llvm.org/D131311
The file was modifiedmlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
The file was modifiedmlir/test/Dialect/SPIRV/IR/structure-ops.mlir
The file was modifiedmlir/utils/spirv/gen_spirv_dialect.py
The file was modifiedmlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp
The file was modifiedmlir/test/Dialect/SPIRV/IR/group-ops.mlir
The file was modifiedmlir/lib/Target/SPIRV/Serialization/SerializeOps.cpp
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
The file was modifiedmlir/test/Target/SPIRV/non-uniform-ops.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/simple.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVBarrierOps.td
The file was modifiedmlir/unittests/Dialect/SPIRV/SerializationTest.cpp
The file was modifiedmlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp
The file was modifiedmlir/lib/Target/SPIRV/Serialization/Serializer.cpp
The file was modifiedmlir/test/Dialect/SPIRV/IR/non-uniform-ops.mlir
The file was modifiedmlir/lib/TableGen/Attribute.cpp
The file was modifiedmlir/include/mlir/TableGen/Attribute.h
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVAvailability.td
The file was modifiedmlir/test/Dialect/SPIRV/IR/barrier-ops.mlir
The file was modifiedmlir/test/Dialect/SPIRV/IR/memory-ops.mlir
The file was modifiedmlir/test/Dialect/SPIRV/IR/availability.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
The file was modifiedmlir/test/Dialect/SPIRV/IR/target-env.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/vce-deduction.mlir
The file was modifiedmlir/test/Target/SPIRV/barrier-ops.mlir
The file was modifiedmlir/test/Dialect/SPIRV/IR/atomic-ops.mlir
The file was modifiedmlir/test/Conversion/MemRefToSPIRV/map-storage-class.mlir
The file was modifiedmlir/test/Target/SPIRV/group-ops.mlir
The file was modifiedmlir/lib/Target/SPIRV/Deserialization/DeserializeOps.cpp
The file was modifiedmlir/test/Conversion/LinalgToSPIRV/linalg-to-spirv.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
The file was modifiedmlir/test/Dialect/SPIRV/IR/target-and-abi.mlir
Commit 3597727fa7ff104bb0f6e39a71900960b87144df by hanchung
[MLIR] Support lowering n-D arith.index_cast to LLVM

Previously we can only lower arith.index_cast with 1-D vectors to LLVM. This change added the support for n-D vectors.

Reviewed By: ftynse, hanchung

Differential Revision: https://reviews.llvm.org/D129907
The file was modifiedmlir/test/Conversion/ArithmeticToLLVM/convert-nd-vector-to-llvmir.mlir
The file was modifiedmlir/lib/Conversion/ArithmeticToLLVM/ArithmeticToLLVM.cpp
Commit 66c2b76846246fcd1df31e1928b0df44a8fe43e1 by hanchung
[MLIR] Extend vector.gather to accept tensor as base

In addition to memref, accept ranked tensor as the base operand of vector.gather, similar to vector.trasnfer_read.

This will allow us to vectorize noncontiguous tensor.extract into vector.gather. Full discussion can be found here: https://github.com/iree-org/iree/issues/9198

Reviewed By: hanchung, dcaballe

Differential Revision: https://reviews.llvm.org/D130097
The file was modifiedmlir/include/mlir/Dialect/Vector/IR/VectorOps.td
The file was modifiedmlir/lib/Dialect/Vector/IR/VectorOps.cpp
The file was modifiedmlir/lib/Dialect/Vector/Transforms/BufferizableOpInterfaceImpl.cpp
The file was modifiedmlir/test/Dialect/Vector/bufferize.mlir
The file was modifiedmlir/test/Dialect/Vector/ops.mlir
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
Commit b83d0d46c0b197c36c671493a3339d8d7a8bcd6a by antiagainst
[mlir][spirv] Make MemRef memory space mapping pass more flexible

* Avoid restricting the pass to to builtin module ops. The pass
  should be able to run on any region ops.
* Avoid hardcoding func FuncOp when handling functions. Instead,
  use the function op interface.
* Assigns the default mapping in the constructor. So for cases
  where we are using the pass in a pipeline, we still have a
  meaningful default.

Along the way, dropped uncessary unrealized conversion casts and
use full conversion. The pass should be able to convert all sorts
of ops; there is really no need to have such bridages.

Reviewed By: kuhar

Differential Revision: https://reviews.llvm.org/D131409
The file was modifiedmlir/test/Conversion/MemRefToSPIRV/map-storage-class.mlir
The file was modifiedmlir/include/mlir/Conversion/Passes.td
The file was modifiedmlir/include/mlir/Conversion/MemRefToSPIRV/MemRefToSPIRVPass.h
The file was modifiedmlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp
Commit d3f83caeb409b6030ee50c7a82e2fedb1c53fc05 by listmail
[RISCV] Refresh two autogened tests to avoid future whitespace diffs [nfc]
The file was modifiedllvm/test/Analysis/CostModel/RISCV/reduce-fadd.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/cast.ll
Commit 89b595e1418b22cd7c982276aa32872863c5e186 by antiagainst
[mlir][spirv] Detach memory space mapping from type conversion

This commit moves MemRef memory space to SPIR-V storage class
conversion out of the main SPIR-V type converter. Now the mapping
should happen as a prelimiary step before performing the final
conversion to SPIR-V. Flows are expect to write their own memory
space mappings like the `MapMemRefStorageClassPass` to handle
memory space mappings according to their needs.

This is needed because SPIR-V is serving multiple client APIs,
including Vulkan and OpenCL. Different client APIs might want
to use different storage classes for buffers in a particular
memory space, e.g., `StorageBuffer` for Vulkan vs. `CrossWorkgroup`
for OpenCL when converting the default 0 memory space.  Hardcoding
a specific mapping makes that hard. While it's possible to embed
selection logic further inside the main type converter, it will
make the main type converter even complicated. So it's better to
separate the concerns, as mapping the memory space is really
concretizing the meaning of those numeric memory spaces in the
particular context of SPIR-V lowering.

Reviewed By: kuhar

Differential Revision: https://reviews.llvm.org/D131410
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
The file was addedmlir/test/Conversion/GPUToSPIRV/gpu-to-spirv.mlir
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp
The file was modifiedmlir/test/Conversion/SCFToSPIRV/if.mlir
The file was modifiedmlir/tools/mlir-spirv-cpu-runner/mlir-spirv-cpu-runner.cpp
The file was modifiedmlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
The file was modifiedmlir/test/Conversion/FuncToSPIRV/types-to-spirv.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/Transforms/SPIRVConversion.h
The file was removedmlir/test/Conversion/GPUToSPIRV/simple.mlir
The file was modifiedmlir/test/Conversion/MemRefToSPIRV/alloc.mlir
The file was modifiedmlir/test/Conversion/LinalgToSPIRV/linalg-to-spirv.mlir
The file was modifiedmlir/test/Conversion/MemRefToSPIRV/memref-to-spirv.mlir
The file was modifiedmlir/include/mlir/Conversion/GPUToSPIRV/GPUToSPIRVPass.h
The file was modifiedmlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
The file was addedmlir/test/Conversion/GPUToSPIRV/module-opencl.mlir
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp
The file was modifiedmlir/test/Conversion/MemRefToSPIRV/alloca.mlir
The file was modifiedmlir/test/Conversion/SCFToSPIRV/for.mlir
The file was removedmlir/test/Conversion/GPUToSPIRV/module-structure-opencl.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/load-store.mlir
Commit 15135553c4cf34d3915e45b55e915154b33ab67b by antiagainst
[mlir][spirv] Use functors for default memory space mappings

This makes it easier to use as a utility function to query the
mappings, including the reverse.

This commit also drops some storage classes that aren't needed
for now.

Reviewed By: kuhar

Differential Revision: https://reviews.llvm.org/D131411
The file was modifiedmlir/include/mlir/Conversion/MemRefToSPIRV/MemRefToSPIRV.h
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp
The file was modifiedmlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp
Commit 0cc6aac9fae2d3e9145a1b1829419acde687067b by ajcbik
[mlir][sparse] update bibliography of sparse tensor dialect

Reviewed By: Peiming

Differential Revision: https://reviews.llvm.org/D131513
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td
Commit 60076a9eaf5e1c0d66a5238aff3a776078911e4e by ajcbik
[mlir][sparse] fix switch statement bug on two binary ops

They appeared at the wrong place in the switch, treating
them as unary op rather than binary op.

Reviewed By: bixia

Differential Revision: https://reviews.llvm.org/D131509
The file was modifiedmlir/unittests/Dialect/SparseTensor/MergerTest.cpp
Commit 46c49e66d8b2173b8b0467b907fb6d6b65e5e615 by pklausler
[flang] Extend characterization & checking for procedure bindings

Procedure bindings with explicit interfaces don't work when the
interface is shadowed by a generic interface of the same name,
and can produce spurious semantic error messages.  Extend the
characterization and checking code for such things, and the utility
functionns on which they depend, to dig through generics when they
occlude interface-defining subprograms.  This is done on demand in
checking code, not once during name resolution, because the
procedures in question may also be forward-referenced.

Differential Revision: https://reviews.llvm.org/D131105

diff --git a/flang/include/flang/Semantics/symbol.h b/flang/include/flang/Semantics/symbol.h
index e79f8ab6503e..0b03bf06eb73 100644
--- a/flang/include/flang/Semantics/symbol.h
The file was modifiedflang/lib/Evaluate/characteristics.cpp
The file was modifiedflang/test/Semantics/resolve20.f90
The file was modifiedflang/include/flang/Semantics/symbol.h
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/lib/Semantics/tools.cpp
The file was modifiedflang/lib/Semantics/check-declarations.cpp
Commit 9893b26dfa75545404ab9d079a7b2de696f8cd4c by Dylan.Fleming
[Flang][OpenMP] Add support for integer multiplication reduction in worksharing-loop

Adds support for reduction of multiplcation
by extending OpenMP.cpp::genOpenMPReduction()
and altering the identity constant emitted in
OpenMP.cpp::createReductionDelc()

This patch builds D130077 and as such,
only supports reductions for interger types in
worksharping loops.

Reviewed By: awarzynski

Differential Revision: https://reviews.llvm.org/D130767
The file was modifiedflang/lib/Lower/OpenMP.cpp
The file was removedflang/test/Lower/OpenMP/Todo/reduction-multiply.f90
The file was removedflang/test/Lower/OpenMP/wsloop-reduction-int.f90
The file was addedflang/test/Lower/OpenMP/wsloop-reduction-int-mul.f90
The file was addedflang/test/Lower/OpenMP/wsloop-reduction-int-add.f90
Commit c951edb7b22e709e50b8ae2ea6bce46f1d7d2741 by pzheng
[LLD][COFF] Identify /GL object files which are inside libraries

With D26647, we can already identify input object files compiled by cl.exe with
/GL. It seems to be helpful to do the same and print an error message for those
object files compiled with /GL but are inside libraries/archives too.

Reviewed By: rnk, thieta

Differential Revision: https://reviews.llvm.org/D131458
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/test/COFF/cl-gl.test
The file was addedlld/test/COFF/Inputs/cl-gl.lib
Commit 0af643f3ceff6d164fcbdb00bcae0a566be29b80 by jeff
[mlir][LLVMIR] (NFC) Add convenience builders for ConstantOp

And clean up some of the user code
The file was modifiedmlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedflang/lib/Optimizer/CodeGen/CodeGen.cpp
The file was modifiedmlir/lib/Conversion/LLVMCommon/MemRefBuilder.cpp
The file was modifiedmlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp
The file was modifiedmlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
The file was modifiedmlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
The file was modifiedmlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
The file was modifiedmlir/lib/Conversion/GPUToNVVM/WmmaOpsToNvvm.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
The file was modifiedmlir/lib/Conversion/LLVMCommon/Pattern.cpp
The file was modifiedmlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
The file was modifiedmlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
Commit 3edd8978c3129d15e364abb3632a0db478891415 by mtrofin
fix mlgo regalloc test model generation for tflite

To move from TF C API to TFLite, we found that the argmax op in TFLite does not work for int64 inputs, so cast the int64 inputs to int32 inputs to make TFLite argmax op work

Differential Revision: https://reviews.llvm.org/D131462
The file was modifiedllvm/lib/Analysis/models/gen-regalloc-eviction-test-model.py
Commit f20147651822b7e41d6b07e17a4b160452bdd044 by jeff
[mlir] Cleanup DenseArrayAttrBase definition and expose raw API

This patch cleans up the definition of `DenseArrayAttrBase` by relying
more on ODS-generated methods. It also exposes an API for using the raw
data of a dense array, similar to `DenseIntOrFPElementsAttr::getRaw`.

Reviewed By: lattner, mehdi_amini

Differential Revision: https://reviews.llvm.org/D131450
The file was modifiedmlir/lib/IR/BuiltinAttributes.cpp
The file was modifiedmlir/include/mlir/IR/BuiltinAttributes.td
Commit c2c5c39c401b39d2057ebb19b843f53deb950f6e by hokein.wu
[pseudo] Fix a suspicious usage of `sizeof(this)`.

It should be `sizeof(*this)`.
The file was modifiedclang-tools-extra/pseudo/include/clang-pseudo/Forest.h
Commit 0c86fbb557a63d2e9cc2e1a82feb38fe11ecbcdd by jingham
The memory region tests have been consistently timing on the ASAN
bot.  This happens because they are building a long result into
a Python string, and the asan checker is making that very slow.

The last two tests here are both slow, but the 'test_command' is the
really slow one.  I'm going to start disabling just that one and see
if that gets the ASAN bots clean.
The file was modifiedlldb/test/API/functionalities/memory-region/TestMemoryRegion.py
Commit 2f0e50c69b52790eb8ac7d0c275702076d1f7408 by jeff
[mlir] Fix build of toyc-ch6 (NFC)
The file was modifiedmlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp
Commit 65923012b3d15890876458e5448ebaf3157d34d0 by jeff
[flang] Revert changes (NFC)
The file was modifiedflang/lib/Optimizer/CodeGen/CodeGen.cpp
Commit cab6cd68340255be241b7cf169c67a1899ced115 by dinar.temirbulatov
[AArch64][LoopVectorize] Introduce trip count minimal value threshold to ignore tail-folding.

After D121595 was commited, I noticed regressions assosicated with small trip
count numbersvectorisation by tail folding with scalable vectors. As a solution
for those issues I propose to introduce the minimal trip count threshold value.

  Differential Revision: https://reviews.llvm.org/D130755
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/sve-low-trip-count.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
Commit daa44a2309857e616667215fff418aaa191f1c76 by sivachandra
[libc] Add a utility data structure named FixedVector.

This data structure uses a backing cpp::array object and supports a
vector like push_back API. In comparison with a traditional vector
data structure, it is of a fixed capacity and cannot be resized.

Differential Revision: https://reviews.llvm.org/D131377
The file was addedlibc/src/__support/fixedvector.h
The file was modifiedlibc/src/__support/CMakeLists.txt
The file was modifiedlibc/test/src/__support/CMakeLists.txt
The file was addedlibc/test/src/__support/fixedvector_test.cpp
Commit c6dcc359acb937995e75268dc11622740eb05e5f by sivachandra
[libc] Add __cxa_atexit support to the atexit function.

Reviewed By: abrachet

Differential Revision: https://reviews.llvm.org/D131219
The file was modifiedlibc/loader/linux/x86_64/start.cpp
The file was modifiedlibc/test/integration/loader/linux/init_fini_array_test.cpp
The file was modifiedlibc/src/stdlib/CMakeLists.txt
The file was modifiedlibc/src/stdlib/atexit.h
The file was modifiedlibc/loader/linux/aarch64/start.cpp
The file was modifiedlibc/src/stdlib/atexit.cpp
The file was modifiedlibc/loader/linux/aarch64/CMakeLists.txt
The file was modifiedlibc/cmake/modules/LLVMLibCTestRules.cmake
The file was modifiedlibc/loader/linux/x86_64/CMakeLists.txt
Commit 36a461b8c2a2df47a59789e92908a1275aa5fc30 by jingham
@skipIfAsan for the other long test in TestMemoryRegion.py

These two tests were each of them too long when running under ASAN,
so we have to skip both to get a clean ASAN bot run.
The file was modifiedlldb/test/API/functionalities/memory-region/TestMemoryRegion.py
Commit 9bb66224239eb2bd4f91e40b9a56da24a8dd533d by pzheng
[ARM] Do not use LOAD_STACK_GUARD with ROPI/RWPI

ROPI/RWPI are not supported with LOAD_STACK_GUARD currently.

Reviewed By: nickdesaulniers, rengolin

Differential Revision: https://reviews.llvm.org/D131427
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was addedllvm/test/CodeGen/ARM/stack-guard-rwpi.ll
Commit 46fe24e2fb19658e64a804961b7a3be91fc8b8e7 by listmail
[RISCV] Split check lines for fpclamptosat_vec test

This is currently exercising scalarization code path; with vectors enabled, we hit a different code path.  Explicitly exercise both so that both configurations have testing.
The file was modifiedllvm/test/CodeGen/RISCV/fpclamptosat_vec.ll
Commit 80652d270aa56bd1072c9967d1e01cbbcb02df70 by sivachandra
[libc][NFC] Fix a few compiler warnings.
The file was modifiedlibc/src/string/memory_utils/elements_aarch64.h
The file was modifiedlibc/utils/LibcTableGenUtil/APIIndexer.cpp
Commit cf1d9a1fdca258ab56f3060dfa4a303b8127350e by eugenis
[sanitizer] Use C++17 to build the symbolizer.
The file was modifiedcompiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
Commit 3f8ae7efa866e581a16e9ccc8e29744722f13fff by Alexander Timofeev
[AMDGPU] SIFixSGPRCopies refactoring

This change finalizes the series of patches aiming to replace old
strategy of VGPR to SGPR copies loweriong.  Following the
https://reviews.llvm.org/D128252 and https://reviews.llvm.org/D130367 code
parts that are no longer used were removed.  Pass main loop is no longer used
for the MIR changes but collect information for further analysis.  Actual MIR
lowering happens further according the analysys result in the set of separate
functions. Another important change concerns the order of lowering: VGPR to
SGPR copies lowering is done first to have priority on the rest of the MIR
changes.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D131246
The file was modifiedllvm/test/CodeGen/AMDGPU/mubuf-legalize-operands.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/wwm-reserved-spill.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
Commit df9a23e2feda18f0308b6d4dbd591ebe6b605aa4 by avogelsgesang
[libunwind] Use `_dl_find_object` if available

As shown in P2544R0 [1] and the accompanying benchmark [2], the
current unwinding logic does not scale for multi-threaded programs.
This is because `dl_iterate_phdr` takes a global lock.

glibc 2.35 added `_dl_find_object` which directly returns the unwind
info for a given target address. `_dl_find_object` is fully lock-free
and hence allows parallel exception unwinding on multiple threads.

With this commit, libunwind now takes advantage of `_dl_find_object`.
Thereby, this commit improves libunwind's performance on benchmark [2]
for unwinding exception on 20 threads from 1103ms to 78ms.
(measured on Intel Xeon Silver 4114 with 20 physical cores)

[1] https://isocpp.org/files/papers/P2544R0.html
[2] https://github.com/neumannt/exceptionperformance

Detailed performance numbers from the benchmark:

Before:
> Testing unwinding performance: sqrt computation with occasional errors
>
> testing baseline using 1 2 4 8 16 20 threads
> failure rate 0%: 34 35 34 35 35 36
> testing exceptions using 1 2 4 8 16 20 threads
> failure rate 0%: 16 32 33 34 35 36
> failure rate 0.1%: 16 32 34 36 35 36
> failure rate 1%: 20 40 40 43 90 113
> failure rate 10%: 59 92 140 304 880 1103
> [...]
>
> Testing invocation overhead: recursive fib with occasional errors
>
> testing exceptions using 1 2 4 8 16 20 threads
> failure rate 0%: 19 32 37 38 39 36
> failure rate 0.1%: 22 32 40 40 39 34
> failure rate 1%: 20 28 38 39 48 40
> failure rate 10%: 25 39 44 50 92 113

After:
> Testing unwinding performance: sqrt computation with occasional errors
>
> testing baseline using 1 2 4 8 16 20 threads
> failure rate 0%: 19 30 35 38 39 35
> testing baseline using 1 2 4 8 16 20 threads
> failure rate 0%: 32 35 33 34 34 36
> testing exceptions using 1 2 4 8 16 20 threads
> failure rate 0%: 16 35 33 37 35 35
> failure rate 0.1%: 16 32 36 33 34 37
> failure rate 1%: 21 37 39 40 40 41
> failure rate 10%: 72 75 76 80 80 78
> [...]
>
> Testing invocation overhead: recursive fib with occasional errors
>
> testing baseline using 1 2 4 8 16 20 threads
> failure rate 0%: 18 35 37 34 38 37
> testing exceptions using 1 2 4 8 16 20 threads
> failure rate 0%: 19 33 40 40 41 39
> failure rate 0.1%: 21 33 39 38 39 38
> failure rate 1%: 20 36 39 40 41 40
> failure rate 10%: 25 45 41 42 44 43

Differential Revision: https://reviews.llvm.org/D130668
The file was modifiedlibunwind/src/AddressSpace.hpp
Commit a044d0491efeb821f1f23a935515692984b21ad5 by kazu
[llvm-profdata] Support JSON as as an output-only format

This patch teaches llvm-profdata to output the sample profile in the
JSON format.  The new option is intended to be used for research and
development purposes.  For example, one can write a Python script to
take a JSON file and analyze how similar different inline instances of
a given function are to each other.

I've chosen JSON because Python can parse it reasonably fast, and it
just takes a couple of lines to read the whole data:

  import json
  with open ('profile.json') as f:
    profile = json.load(f)

Differential Revision: https://reviews.llvm.org/D130944
The file was addedllvm/test/tools/llvm-profdata/sample-profile-json.test
The file was modifiedllvm/include/llvm/ProfileData/SampleProfReader.h
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
Commit cfefee87c28e68b41147c00dff331e086bc15531 by avogelsgesang
[libc++][NFC] Remove TEST_HAS_NO_SPACESHIP_OPERATOR

The corresponding _LIBCPP_HAS_NO_SPACESHIP_OPERATOR macro was already
removed in commit c0f87e8382

Differential Revision: https://reviews.llvm.org/D131215
The file was modifiedlibcxx/test/std/language.support/cmp/cmp.strongord/strongord.pass.cpp
The file was modifiedlibcxx/test/std/language.support/cmp/cmp.partialord/partialord.pass.cpp
The file was modifiedlibcxx/test/std/language.support/cmp/cmp.weakord/weakord.pass.cpp
The file was modifiedlibcxx/test/support/test_macros.h
Commit 4c2fb2e551e0b60e536c364da87bc0a67c81e79a by medismail.bennani
[lldb/crashlog] Fix interactive crashlog test

This patch should fix the interactive crashlog test by checking in the
binary as a yaml to regeneate the binary with the addresses and offsets
when running the test.

rdar://93655633

Differential Revision: https://reviews.llvm.org/D129603

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/interactive_crashlog/multithread-test.yaml
The file was removedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/multithread-test.cc
The file was removedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/scripted_crashlog.ips
The file was modifiedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/scripted_crashlog_json.test
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/interactive_crashlog/multithread-test.cpp
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/interactive_crashlog/multithread-test.ips
Commit 9df58928045f2370caa201ba14d4ec62cba00e46 by avogelsgesang
[libc++] Implement `operator<=>` for `type_index`

Implements part of P1614R2 "The Mothership has Landed"

Differential Revision: https://reviews.llvm.org/D131357
The file was removedlibcxx/test/std/utilities/type.index/type.index.members/eq.pass.cpp
The file was modifiedlibcxx/docs/Status/SpaceshipProjects.csv
The file was addedlibcxx/test/std/utilities/type.index/type.index.members/cmp.pass.cpp
The file was modifiedlibcxx/include/typeindex
The file was removedlibcxx/test/std/utilities/type.index/type.index.members/lt.pass.cpp
Commit af4a39f8005e7d5fdf43fb2bc52a9bdfe6eec1d6 by Adrian Prantl
Fix modeline
The file was modifiedllvm/include/llvm/BinaryFormat/MachO.h
Commit 5110eb8b677a779927c5ad8dc00c28eb0a41a0ae by ajcbik
[mlir][sparse] fix doc

Reviewed By: Peiming

Differential Revision: https://reviews.llvm.org/D131527
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
Commit c74a204826da331cb18023c626b0717d5b8a927d by malavika.samak
[analyzer] Fix false positive in use-after-move checker

Differential Revision: https://reviews.llvm.org/D131525
The file was modifiedclang/test/Analysis/use-after-move.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
Commit 55d3b79d159bab53b140860279486db8a1c0e4f3 by me
[clang] add APValue type check in `TryPrintAsStringLiteral`

Fixes https://github.com/llvm/llvm-project/issues/57013

https://reviews.llvm.org/D115031 improved printing of non-type template
parameter args. But checking if the end of Inits is 0 without checking
if APValue is an integer, causes clang to segfault. This patch adds
the code to check the type. (May not be a proper bugfix.)

Reviewed By: aaron.ballman, lichray

Differential Revision: https://reviews.llvm.org/D131466
The file was addedclang/test/SemaCXX/try-print-as-string-literal-type-check.cpp
The file was modifiedclang/lib/AST/APValue.cpp
Commit dfe2a3f3eb92b6a94453a74f3f0a4552f6965fcc by i
[COFF] Change a llvm::StringSet<> to llvm::DenseSet<StringRef>. NFC

The former stores strings and is therefore more expensive.
The file was modifiedlld/COFF/Driver.h
Commit c7ec6e19d5446a448f888b33f66316cf2ec6ecae by phoebe.wang
[X86][BF16] Make backend type bf16 to follow the psABI

X86 psABI has updated to support __bf16 type, the ABI of which is the
same as FP16. See https://discourse.llvm.org/t/patch-add-optional-bfloat16-support/63149

This is an alternative of D129858, which has less code modification and
supports the vector type as well.

Reviewed By: LuoYuanke

Differential Revision: https://reviews.llvm.org/D130832
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/bfloat.ll
Commit e4888a37d36780872d685c68ef8b26b2e14d6d39 by phoebe.wang
[X86][BF16] Enable __bf16 for x86 targets.

X86 psABI has updated to support __bf16 type, the ABI of which is the
same as FP16. See https://discourse.llvm.org/t/patch-add-optional-bfloat16-support/63149

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D130964
The file was addedclang/test/CodeGen/X86/bfloat-mangle.cpp
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was addedclang/test/CodeGen/X86/bfloat-abi.c
The file was addedclang/test/CodeGen/X86/bfloat-half-abi.c
The file was modifiedclang/test/Sema/vector-decl-crash.c
The file was modifiedclang/lib/Basic/Targets/X86.cpp
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedllvm/include/llvm/IR/Type.h
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
Commit 0ae2a41d803d715975d710ec289a4bd90ca534e2 by phoebe.wang
[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available

#56854 shows a backwards compatibility problem when builtins of compiler-rt don't follow ABI. We need to prevent to fall into the trap again for BF16.

Reviewed By: bkramer

Differential Revision: https://reviews.llvm.org/D131147
The file was modifiedcompiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
The file was modifiedcompiler-rt/lib/builtins/fp_trunc.h
The file was modifiedcompiler-rt/lib/builtins/CMakeLists.txt
The file was modifiedcompiler-rt/cmake/builtin-config-ix.cmake
The file was modifiedcompiler-rt/lib/builtins/truncsfbf2.c
Commit 4a87afe25fc718999e40cf2dc7f8d5ef1498b19a by github
[sanitizer] Let internal symbolizer to use posix_memalign
The file was modifiedcompiler-rt/lib/sanitizer_common/symbolizer/scripts/global_symbols.txt
Commit 00c0a34f6c42f5233e863241fbe78c3f7bab3541 by phoebe.wang
Revert "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available"

This reverts commit 0ae2a41d803d715975d710ec289a4bd90ca534e2.

Revert due to buildbot fail.
The file was modifiedcompiler-rt/lib/builtins/truncsfbf2.c
The file was modifiedcompiler-rt/cmake/builtin-config-ix.cmake
The file was modifiedcompiler-rt/lib/builtins/fp_trunc.h
The file was modifiedcompiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
The file was modifiedcompiler-rt/lib/builtins/CMakeLists.txt
Commit ab4e5ed441d475ead43bc4ce1cdef842688292f4 by phoebe.wang
Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available"

Fix the mising change for truncdfbf2.c

Reviewed By: bkramer

Differential Revision: https://reviews.llvm.org/D131147
The file was modifiedcompiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
The file was modifiedcompiler-rt/lib/builtins/fp_trunc.h
The file was modifiedcompiler-rt/lib/builtins/truncdfbf2.c
The file was modifiedcompiler-rt/cmake/builtin-config-ix.cmake
The file was modifiedcompiler-rt/lib/builtins/CMakeLists.txt
The file was modifiedcompiler-rt/lib/builtins/truncsfbf2.c
Commit d747a170a47dce64aefb906211e8aaed0c6bd6f6 by john.demme
[MLIR] [Python] Fix `Value.owner` to handle BlockArgs

Previously, calling `Value.owner()` would C++ assert in debug builds if
`Value` was a block argument. Additionally, the behavior was just wrong
in release builds. This patch adds support for BlockArg Values.
The file was modifiedmlir/test/python/ir/value.py
The file was modifiedmlir/lib/Bindings/Python/IRCore.cpp
Commit d44f8a50d50909e67f28f91511045404261dbcbf by john.demme
[MLIR] [Python] Fix the Windows build broken by d747a17

Windows builds require all control paths return. Since we don't have
`llvm_unreachable` in the Python bindings, just return `None`.
The file was modifiedmlir/lib/Bindings/Python/IRCore.cpp
Commit a633c5e11b4443000aa199a2df41eda4e2c6851b by medismail.bennani
[lldb/crashlog] Add '-t|--target' option to interactive mode

This patch introduces a new flag for the interactive crashlog mode, that
allow the user to specify, which target to use to create the scripted
process.

This can be very useful when lldb already have few targets created:
Instead of taking the first one (zeroth index), we will use that flag to
create a new target. If the user didn't provide a target path, we will rely
on the symbolicator to create a targer.If that fails and there are already
some targets loaded in lldb, we use the first one.

rdar://94682869

Differential Revision: https://reviews.llvm.org/D129611

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/examples/python/scripted_process/crashlog_scripted_process.py
The file was modifiedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/scripted_crashlog_json.test
The file was modifiedlldb/examples/python/crashlog.py
Commit a07a75180c01a3f262b02f69ee5722080da74b84 by medismail.bennani
[lldb/crashlog] Surface error using SBCommandReturnObject argument

This patch allows the crashlog script to surface its errors to lldb by
using the provided SBCommandReturnObject argument.

rdar://95048193

Differential Revision: https://reviews.llvm.org/D129614

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/interactive_crashlog_invalid_target.test
The file was modifiedlldb/examples/python/crashlog.py
Commit 81cbc294571fbcc609666ee4aeb86fbb68a7ec23 by medismail.bennani
[lldb/crashlog] Update frame regex matcher

This patch updates the regular expression matching stackframes in
crashlog to allow addresses that are 7 characters long and more (vs. 8
characters previously).

It changes the `0x[0-9a-fA-F]{7}[0-9a-fA-F]+` by `0x[0-9a-fA-F]{7,}`.

rdar://97684839

Differential Revision: https://reviews.llvm.org/D131032

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/text.test
The file was modifiedlldb/examples/python/crashlog.py
The file was modifiedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/a.out.crash
Commit 13aa780f37e193d8c23a6c5ff98cc4c7febc1f95 by medismail.bennani
[lldb/crashlog] Remove 'process_path' parsing logic

In can happen when creating stackshot crash report that that key is missing.

Moreover, we try to parse that key but don't use it, or need it, since we
fetch images and symbolicate the stackframes using the binaries UUIDs.

This is why this patch removes everything that is related to the
`process_path`/`procPath` parsing.

rdar://95054188

Differential Revision: https://reviews.llvm.org/D131033

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/examples/python/crashlog.py
The file was modifiedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/parser_json.test
Commit 41c1a5f9bdc4cb6914e7971f50e4f45aeb11e087 by medismail.bennani
[lldb/crashlog] Add `-s|--skip-status` option to interactive mode

This patch introduces a new option for the interactive crashlog mode,
that will prevent it from dumping the `process status` & `thread backtrace`
output to the debugger console.

This is necessary when lldb in running from an IDE, to prevent flooding
the console with information that should be already present in the UI.

rdar://96813296

Differential Revision: https://reviews.llvm.org/D131036

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/skipped_status_interactive_crashlog.test
The file was modifiedlldb/examples/python/crashlog.py
Commit 355be8cf801603756520cf5d9b4b5eaf9d1b2e77 by medismail.bennani
[lldb/crashlog] Skip null image dsym fetching on interactive mode

Sometimes, it can happen that a crash report has null images in its list
of used binaries. This manifests like such:

```
    0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
```

When fetching debug symbols to symbolicate the crashlog stackframe,
having null images causes `dsymForUUID` to hang for few seconds.

This patch addresses that by skipping null images from being load by the
scripted process.

rdar://97419487

Differential Revision: https://reviews.llvm.org/D131038

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/interactive_crashlog/multithread-test.ips
The file was modifiedlldb/examples/python/scripted_process/crashlog_scripted_process.py
Commit 66f8819c5087198a62ba15da4477d59b9e4a1a1d by medismail.bennani
[lldb/crashlog] Refactor the CrashLogParser logic

This patch changes the CrashLogParser class to be both the base class
and a Factory for the JSONCrashLogParser & TextCrashLogParser.

That should help remove some code duplication and ensure both class
have a parse method.

Differential Revision: https://reviews.llvm.org/D131085

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/examples/python/crashlog.py
The file was modifiedlldb/examples/python/scripted_process/crashlog_scripted_process.py
Commit dc55ab3840fbcb39c2120e06510aa47ff1d7f13c by i
[ELF] De-template createBitcodeSymbol. NFC
The file was modifiedlld/ELF/InputFiles.cpp
Commit 5990cf380644704ef5b41ef8e32c561d5f64baf7 by medismail.bennani
Revert "Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available""

This reverts commit ab4e5ed441d475ead43bc4ce1cdef842688292f4 since it
causes a build failure on macOS:

https://green.lab.llvm.org/green/job/lldb-cmake/45984/
The file was modifiedcompiler-rt/lib/builtins/CMakeLists.txt
The file was modifiedcompiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
The file was modifiedcompiler-rt/lib/builtins/truncdfbf2.c
The file was modifiedcompiler-rt/lib/builtins/truncsfbf2.c
The file was modifiedcompiler-rt/cmake/builtin-config-ix.cmake
The file was modifiedcompiler-rt/lib/builtins/fp_trunc.h
Commit 596f490ab940b6dfeddd72975fa8c5f322e94c9a by i
[ELF] De-template BitcodeFile::parse. NFC
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedlld/ELF/InputFiles.h
Commit e3fcf2e06fbf8273f68a6985f1309136dae59eb1 by i
[ELF] Simplify llvm::enumerate with structured binding. NFC
The file was modifiedlld/ELF/DWARF.cpp
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/Relocations.cpp
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedlld/ELF/Arch/RISCV.cpp
Commit 0729d00135ccbe1514a49168bbf26986823235c2 by phoebe.wang
Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available"

Disable the build on macOS due to the bot fail.

Reviewed By: bkramer

Differential Revision: https://reviews.llvm.org/D131147
The file was modifiedcompiler-rt/lib/builtins/truncdfbf2.c
The file was modifiedcompiler-rt/lib/builtins/truncsfbf2.c
The file was modifiedcompiler-rt/cmake/builtin-config-ix.cmake
The file was modifiedcompiler-rt/lib/builtins/CMakeLists.txt
The file was modifiedcompiler-rt/lib/builtins/fp_trunc.h
Commit 0071a79532e8d664b734956a431d8c8c942cc25e by sivachandra
[libc] Add implementation of pthread_exit and thrd_exit.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D131451
The file was modifiedlibc/spec/posix.td
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
The file was modifiedlibc/src/__support/threads/linux/thread.cpp
The file was modifiedlibc/loader/linux/x86_64/start.cpp
The file was modifiedlibc/src/pthread/CMakeLists.txt
The file was addedlibc/src/threads/thrd_exit.cpp
The file was modifiedlibc/test/integration/src/pthread/CMakeLists.txt
The file was modifiedlibc/src/__support/threads/thread.cpp
The file was addedlibc/test/integration/src/threads/thrd_exit_test.cpp
The file was modifiedlibc/spec/stdc.td
The file was modifiedlibc/test/integration/src/threads/CMakeLists.txt
The file was modifiedlibc/src/threads/CMakeLists.txt
The file was modifiedlibc/src/__support/threads/CMakeLists.txt
The file was modifiedlibc/src/__support/threads/thread.h
The file was addedlibc/test/integration/src/pthread/pthread_exit_test.cpp
The file was addedlibc/src/threads/thrd_exit.h
The file was addedlibc/src/pthread/pthread_exit.cpp
The file was addedlibc/src/pthread/pthread_exit.h
Commit 5331e1229aa6d0d33b5ec9fab7c05310187746d9 by courbet
[clang][transformer] Fix crash on replacement-less ASTEdit.

Given that we provide an EditGenerator edit(ASTEdit), we can't ever be
sure that the user won't give us an empty replacement.

Differential Revision: https://reviews.llvm.org/D128887
The file was modifiedclang/lib/Tooling/Transformer/RewriteRule.cpp
The file was modifiedclang-tools-extra/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp
Commit 0e08061229aad4ffc6dc2e1790dca2e84964334c by i
tsan: update Go rules to use -std=c++17

llvm-project has switched to require C++17.

Reviewed By: dvyukov

Differential Revision: https://reviews.llvm.org/D131536
The file was modifiedcompiler-rt/lib/tsan/go/buildgo.sh
The file was modifiedcompiler-rt/lib/tsan/go/build.bat
Commit 70165c55dc8cbb412d396897c2a588879b78ad1a by tobias
[release] Use threaded compression with xz

Use xz -T0 to use your threads

Reviewed By: tstellar

Differential Revision: https://reviews.llvm.org/D131470
The file was modifiedllvm/utils/release/export.sh
Commit 46a315a3310d7dac88659f6d468437782f651bfe by tobias
[workflow] Run release tasks for me (tru) as well.

Reviewed By: tstellar

Differential Revision: https://reviews.llvm.org/D131493
The file was modified.github/workflows/release-tasks.yml
Commit 3bba12a81e242359580fa322cf1a9a0a43b461e6 by npopov
[Flang] Use find_program() to find clang-tblgen

Use find_program() to find the clang-tblgen executable. The current
code ends up using docs/clang-tblgen for me...

This is the same way that mlir-tblgen is obtained in:
https://github.com/llvm/llvm-project/blob/27241435515554bc21105713c9d34cf886c5bced/flang/CMakeLists.txt#L95-L96.

Differential Revision: https://reviews.llvm.org/D131475
The file was modifiedflang/docs/CMakeLists.txt
Commit 32017d5efec598478a75c2c0027f64b71bd2ea4e by npopov
[Attributor] Check for noalias call in AAInstanceInfo

The relevant property of allocation functions of interest here is
their uniqueness (in the sense of disjoint provenance), which is
encoded by the noalias return attribute.

Differential Revision: https://reviews.llvm.org/D130225
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit 5e538c669c76d26642f64cd03a6c09e5eee436b0 by david.spickett
[LLDB] Add multi value test for const static enum

1438639a2f7eb9e9cba01454d3a9b1b16d179c9a removed a test
that was using undefined behaviour setting a non-typed enum
to a value outside its known range.

That test also checked if we formatted the value properly
when it could contain >1 valid enum value.

I don't think there's anything special about how we format
typed vs non-typed enums so I'm adding a test for ScopedEnum
that will expect to see 2 enum values plus extra.

Reviewed By: labath, Michael137, shafik

Differential Revision: https://reviews.llvm.org/D131472
The file was modifiedlldb/test/API/lang/cpp/const_static_integral_member/main.cpp
The file was modifiedlldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
Commit 98ed6e106972a7bf38857efb2344e2802cfada33 by dominik.adamski
[Flang][OpenMP] Fix conversion of nested loops for SIMD directive

Flang was not able to convert simd directive which contains nested
Fortran loops. The nested Fortran loops inside SIMD directive
are modelled as FIR loops and they need to be translated into LLVM
MLIR dialect.

Differential Revision: https://reviews.llvm.org/D131402

Reviewed by: peixin

Signed-off-by: Dominik Adamski <dominik.adamski@amd.com>
The file was modifiedflang/test/Fir/convert-to-llvm-openmp-and-fir.fir
The file was modifiedmlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp
Commit b6b1c0d1c4ca5fede720a1a8a1b70230376e2b3b by jacquesguan
[RISCV] Add cost model for fp-mask cast op.

The cost of convert from or to mask vector is different from other cases. We could not use PowDiff to calculate it. This patch set it to 3 as we use 3 instruction to make it.

Differential Revision: https://reviews.llvm.org/D131149
The file was modifiedllvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/RISCV/cast.ll
Commit df3ea7365eeac7b45044404e432dd33cca45d9fd by llvm-dev
[DAG] Use DAG.getFreeze() to create freeze node. NFC.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 800d5e178f2b36123f93d6d7733aa737da03b009 by phoebe.wang
Revert "Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available""

This reverts commit 0729d00135ccbe1514a49168bbf26986823235c2.

Buildbot https://lab.llvm.org/buildbot/#/builders/19/builds/11989 failed
with "error: ISO C requires a translation unit to contain at least one declaration [-Werror,-Wempty-translation-unit]"
The file was modifiedcompiler-rt/lib/builtins/CMakeLists.txt
The file was modifiedcompiler-rt/lib/builtins/truncsfbf2.c
The file was modifiedcompiler-rt/lib/builtins/truncdfbf2.c
The file was modifiedcompiler-rt/cmake/builtin-config-ix.cmake
The file was modifiedcompiler-rt/lib/builtins/fp_trunc.h
Commit 104a24ec8bd4bc0e0acbb81c03b916c0c64e85b2 by asb
[WebAssembly] Produce error when encountering unlowerable Wasm global accesses

WebAssembly globals are represented as IR globals with the wasm_var
address space (AS1). Prior to this patch, a wasm global load that isn't
lowerable will produce a failure to select, while a wasm global store
will produced incorrect code. This patch ensures we consistently produce
a clear error.

As noted in the test cases, it's conceivable that a frontend or an
optimisation pass could produce similar IR even in the presence of the
semantic restrictions on pointers to Wasm globals in the frontend, which
is a separate problem to address.

Differential Revision: https://reviews.llvm.org/D131387
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was addedllvm/test/CodeGen/WebAssembly/global-get-unlowerable.ll
The file was addedllvm/test/CodeGen/WebAssembly/global-set-unlowerable.ll
Commit 7e7860c5d70d9da5d648e48daa4c2c2c2e3bd3b8 by asb
[X86][NFCI] Remove target-specific branch optimisation that's handled in BranchFolding

This specific optimisation is handled in OptimizeBlock in BranchFolding
so is redundant. As discussed on the review thread, I've verified that
we have test coverage for that optimisation within test/CodeGen/X86 by
disabling the BranchFolding version of this transform after applying
this patch and rerunning the test suite.

Differential Revision: https://reviews.llvm.org/D129204
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
Commit 8d6f61b6ad71290ad5e99a78843e237486cd2488 by npopov
Revert "[Flang] Use find_program() to find clang-tblgen"

This reverts commit 3bba12a81e242359580fa322cf1a9a0a43b461e6.

While this fixes doc generation in standalone flang builds, it
breaks them for combined builds of clang and flang.
The file was modifiedflang/docs/CMakeLists.txt
Commit 47b1f8362aa409b591b5e9c8a9ff0e3e1d76ed9c by asb
[RISCV] Implement isUsedByReturnOnly TargetLowering hook in order to tailcall more libcalls

Prior to this patch, libcalls inserted by the SelectionDAG legalizer
could never be tailcalled. The eligibility of libcalls for tail calling
is is partly determined by checking TargetLowering::isInTailCallPosition
and comparing the return type of the libcall and the calleer.
isInTailCallPosition in turn calls TargetLowering::isUsedByReturnOnly
(which always returns false if not implemented by the target).

This patch provides a minimal implementation of
TargetLowering::isUsedByReturnOnly - enough to support tail calling
libcalls on hard float ABIs. Soft-float ABIs are left for a follow on
patch. libcall-tail-calls.ll also shows missed opportunities to tail
call integer libcalls, but this is due to issues outside of
the isUsedByReturnOnly hook.

Differential Revision: https://reviews.llvm.org/D131087
The file was modifiedllvm/test/CodeGen/RISCV/float-intrinsics.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
The file was modifiedllvm/test/CodeGen/RISCV/double-frem.ll
The file was modifiedllvm/test/CodeGen/RISCV/libcall-tail-calls.ll
The file was modifiedllvm/test/CodeGen/RISCV/double-intrinsics.ll
The file was modifiedllvm/test/CodeGen/RISCV/div.ll
The file was modifiedllvm/test/CodeGen/RISCV/mul.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/urem-lkk.ll
The file was modifiedllvm/test/CodeGen/RISCV/double-round-conv.ll
The file was modifiedllvm/test/CodeGen/RISCV/float-round-conv.ll
The file was modifiedllvm/test/CodeGen/RISCV/srem-lkk.ll
The file was modifiedllvm/test/CodeGen/RISCV/fp16-promote.ll
The file was modifiedllvm/test/CodeGen/RISCV/rem.ll
Commit a772f775a2ba401e95a0bbe73deb6300f1dc12c0 by 1.int32
[clang-tidy] Support C++14 in bugprone-signal-handler.

Check `bugprone-signal-handler` is improved to check for
C++-specific constructs in signal handlers. This check is
valid until C++17.

Reviewed By: whisperity

Differential Revision: https://reviews.llvm.org/D118996
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was modifiedclang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone/signal-handler.rst
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h
The file was addedclang-tools-extra/docs/clang-tidy/checks/cert/msc54-cpp.rst
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/signal.h
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone/signal-handler.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/signal-handler/stdcpp.h
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone/signal-handler.c
Commit b1b9c39629b5af002cc265d9464e3085b17b91cb by david.truby
[AArch64][SVE] Use SVE for VLS fcopysign for wide vectors

Currently fcopysign for VLS vectors lowers through NEON even when the
vector width is wider than a NEON vector, causing bad codegen as the
vectors are split. This patch causes SVE to be used for these vectors
instead, giving much better codegen on wide VLS vectors.

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D128642
The file was addedllvm/test/CodeGen/AArch64/sve2-fixed-length-fcopysign.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fcopysign.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was addedllvm/test/CodeGen/AArch64/sve-fixed-length-fcopysign.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve2-fcopysign.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 552dccf311c6134c6c895328602172821e3efaed by david.spickett
[LLDB][AArch64][NFC] Fix some clang-format annotations

We don't want the DEFINE_ macros or the array registers
being clang formatted.

RegisterInfos_arm64.h was missing the off annotation and
RegisterInfos_arm64_sve.h needed the off moving to before
the macro definitions.
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_arm64.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_arm64_sve.h
Commit bbc27d01484e9613a13aa0f6e6099e758467d7fb by llvm-dev
[DAG] canCreateUndefOrPoison - add freeze(truncate(x)) -> truncate(freeze(x)) support
The file was modifiedllvm/test/CodeGen/X86/unfold-masked-merge-vector-variablemask.ll
The file was modifiedllvm/test/CodeGen/X86/bitcast-int-to-vector-bool.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 286d59ef6f7118c8a0600f3d281593700528a5d3 by david.truby
[clang][AArch64][SVE] Add unary +/- operators for SVE types

This patch enables the unary promotion and negation operators on
SVE types.

Differential Revision: https://reviews.llvm.org/D130984
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/Sema/sizeless-1.c
The file was modifiedclang/test/SemaCXX/sizeless-1.cpp
The file was modifiedclang/test/CodeGen/aarch64-sve-vector-arith-ops.c
Commit 8a4c40bfe8e6605ffc9d866f8620618dfdde2875 by wyt
[clang][dataflow] Store DeclContext of block being analysed in Environment if available.

Differential Revision: https://reviews.llvm.org/D131065
The file was modifiedclang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
The file was modifiedclang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
Commit 1f02ad71310b9e86d183abdedc75ca99ff1106f5 by jpienaar
[mlir][shape] Update meet to handle all size & shape types

Also tighten up return type inference & compatibility functions.

Differential Revision: https://reviews.llvm.org/D130866
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
The file was modifiedmlir/test/Dialect/Shape/ops.mlir
The file was modifiedmlir/test/Dialect/Shape/invalid.mlir
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeBase.td
Commit 8623da5f748bc36fc78fa148fd34332d386533ea by llvm-dev
[DAG] visitFREEZE - generalize freeze(op()) -> op(freeze()) to any number of operands

canCreateUndefOrPoison currently only handles unary ops, but we intend to change that soon - this more closely matches the pushFreezeToPreventPoisonFromPropagating behaviour where the freeze is pushed up to a single operand value, as long as all others are guaranteed not to be poison/undef.

However, pushFreezeToPreventPoisonFromPropagating would freeze all uses of the value - whilst this variant requires the frozen value to be only used in the op - we can look at generalize multiple uses later if the need arises.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit fa250250b2966613fba7b88575029eb7cf0da66c by vext01
Migrate llvm.experimental.patchpoint() to ptr.

This intrinsic used a typed pointer for a call target operand. This
change updates the operand to be an opaque pointer and updates all
pointers in all test files that use the intrinsic.

Differential revision: https://reviews.llvm.org/D131261
The file was modifiedllvm/test/Analysis/LazyCallGraph/non-leaf-intrinsics.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-anyregcc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-patchpoint.ll
The file was modifiedllvm/test/CodeGen/SystemZ/patchpoint.ll
The file was modifiedllvm/test/CodeGen/SystemZ/stackmap.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-anyregcc-crash.ll
The file was modifiedllvm/test/CodeGen/SystemZ/anyregcc-vec.ll
The file was modifiedllvm/docs/StackMaps.rst
The file was modifiedllvm/test/CodeGen/AArch64/arm64-patchpoint-webkit_jscc.ll
The file was modifiedllvm/test/CodeGen/SystemZ/anyregcc.ll
The file was modifiedllvm/test/CodeGen/MIR/X86/liveout-register-mask.mir
The file was modifiedllvm/test/Analysis/CallGraph/non-leaf-intrinsics.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-patchpoint.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-stackmap.ll
The file was modifiedllvm/test/CodeGen/AArch64/stackmap.ll
The file was modifiedllvm/test/CodeGen/SystemZ/patchpoint-invoke.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-anyregcc.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-anyregcc-crash.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-patchpoint-scratch-regs.ll
The file was modifiedllvm/test/CodeGen/X86/selectiondag-patchpoint-legalize.ll
The file was modifiedllvm/test/CodeGen/AArch64/stackmap-liveness.ll
The file was modifiedllvm/test/CodeGen/SystemZ/anyregcc-novec.ll
The file was modifiedllvm/test/CodeGen/X86/patchpoint-verifiable.mir
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-stackmap.ll
Commit 2e2ad53979045cb18d1c5924af8cb7cc75de5c77 by zinenko
[mlir] Generate C++ doc comments for interfaces

When emitting the declarations for interface methods defined in ODS,
also emit their descriptions as C++ comments. This makes the
documentation accessible to C++ tooling such as IDEs that offers better
usability than reading it form the .td or the website.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D130478
The file was modifiedmlir/tools/mlir-tblgen/OpDocGen.cpp
The file was modifiedmlir/lib/Support/IndentedOstream.cpp
The file was modifiedmlir/include/mlir/Support/IndentedOstream.h
The file was modifiedmlir/tools/mlir-tblgen/DocGenUtilities.h
The file was modifiedmlir/test/mlir-tblgen/op-interface.td
The file was modifiedmlir/tools/mlir-tblgen/OpInterfacesGen.cpp
Commit c1226585b36eacca3a6076e035a9883230597777 by Jake.Egan
[AIX][tests] XFAIL for system-aix instead

The Clang folding for floating-point sometimes calls out to the host.
The file was modifiedllvm/test/Transforms/EarlyCSE/atan.ll
Commit f63e2cfb7f5235d4d5148988e8a0ef86004da66e by kosov.pavel
[LLDB] Add basic floating point ops to IR interpreter

Patch adds support for fadd, fsub, fdiv, fmul and fcmp to IR interpreter.

~~~

OS Laboratory. Huawei RRI. Saint-Petersburg

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D126359
The file was modifiedlldb/source/Expression/IRInterpreter.cpp
The file was addedlldb/test/API/lang/c/fpeval/TestFPEval.py
The file was addedlldb/test/API/lang/c/fpeval/Makefile
The file was addedlldb/test/API/lang/c/fpeval/main.c
Commit 42f32f69ade78fe443c911cdbacc1d77fbb3d843 by pifon
[mlir] Extract offsets-sizes-strides computation from `makeTiledShape(s)`.

This change separates computation of the actual parameters of the subset and
the materialization of subview/extract_slice. That way the users can still use
Linalg tiling logic even if they use different operations to materialize the
subsets.

Differential Revision: https://reviews.llvm.org/D131053
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/test/Dialect/Linalg/tile-conv.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile-and-distribute.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile-and-fuse-tensors.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile.mlir
The file was modifiedmlir/test/Dialect/Linalg/transform-op-split.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile-to-foreach-thread.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
Commit 000c8fef86abb7f056cbea2de99f21dca4b81bf8 by sam
[clang][dataflow] Analyze constructor bodies

This patch adds the ability to context-sensitively analyze constructor bodies, by changing `pushCall` to allow both `CallExpr` and `CXXConstructExpr`, and extracting the main context-sensitive logic out of `VisitCallExpr` into a new `transferInlineCall` method which is now also called at the end of `VisitCXXConstructExpr`.

Reviewed By: ymandel, sgatev, xazax.hun

Differential Revision: https://reviews.llvm.org/D131438
The file was modifiedclang/unittests/Analysis/FlowSensitive/TransferTest.cpp
The file was modifiedclang/lib/Analysis/FlowSensitive/Transfer.cpp
The file was modifiedclang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
The file was modifiedclang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
Commit b92c7dc211c2ae055f3aea999470133281f5646e by llvm-dev
[X86] Use DAG.getFreeze() to create freeze node. NFC.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e4642d78a89930720bc84a4775614c45327bc0dc by david.truby
[clang] Correct documentation for NEON and SVE operator support

Previously the language extension documentation didn't mention SVE and
was incomplete in listing the C/C++ operators supported on NEON. This
corrects the documentation to be in line with the implementation.
The file was modifiedclang/docs/LanguageExtensions.rst
Commit 25340410c9a574d438b8868630fc8a9297d03dd7 by llvm-dev
Revert rGa772f775a2ba401e95a0bbe73deb6300f1dc12c0 "[clang-tidy] Support C++14 in bugprone-signal-handler."

This was breaking a number of buildbots: https://lab.llvm.org/buildbot/#/builders/139/builds/26335
The file was removedclang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/signal-handler/stdcpp.h
The file was removedclang-tools-extra/docs/clang-tidy/checks/cert/msc54-cpp.rst
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone/signal-handler.rst
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone/signal-handler.c
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h
The file was modifiedclang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/signal.h
The file was removedclang-tools-extra/test/clang-tidy/checkers/bugprone/signal-handler.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
Commit f5738c51452f90d7f33963d1c0c6f8e7f3d801e3 by Louis Dionne
[libc++] Make __libcpp_verbose_abort [[noreturn]]

This will allow using it in functions that are [[noreturn]] themselves.

Differential Revision: https://reviews.llvm.org/D131408
The file was modifiedlibcxx/include/__verbose_abort
The file was modifiedlibcxx/test/libcxx/assertions/customize_verbose_abort.backdeployment.pass.cpp
The file was modifiedlibcxx/test/libcxx/assertions/customize_verbose_abort.pass.cpp
The file was modifiedlibcxx/test/libcxx/assertions/debug_mode_compatibility.pass.cpp
Commit 30abc1a6a18e843fd0470157d4d2ec285aaac8cd by spatel
[ConstantFolding] Eliminate atan and atan2 calls

From the opengroup specifications, atan2 may fail if the result
underflows and atan may fail if the argument is subnormal, but
we assume that does not happen and eliminate the calls if we
can constant fold the result at compile-time.

Differential Revision: https://reviews.llvm.org/D127964
The file was modifiedllvm/test/Transforms/EarlyCSE/math-1.ll
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedllvm/test/Transforms/EarlyCSE/atan.ll
The file was modifiedllvm/test/Transforms/EarlyCSE/math-2.ll
Commit f43b2285815961da057af1a772bc31d0152d286b by jrh29
PowerPC: Don't hoist float multiply + add to fused operation on SPE

SPE doesn't have a fmadd instruction, so don't bother hoisting a
multiply and add sequence to this, as it'd become just a library call.
Hoisting happens too late for the CTR usability test to veto using the
CTR in a loop, and results in an assert "Invalid PPC CTR loop!".
The file was modifiedllvm/test/CodeGen/PowerPC/pr55463.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/fma-assoc.ll
Commit 9bceb8981d32fe9465257c31413395f445ab05d8 by deadalnix
[X86] (0 - SetCC) | C -> (zext (not SetCC)) * (C + 1) - 1 if we can get a LEA out of it.

This adresses various regression in D131260 , as well as is a useful optimization in itself.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D131358
The file was modifiedllvm/test/CodeGen/X86/or-lea.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit fdbb15355e7977b914cbd7e753b5e909d735ad83 by jhuber6
[Libomptarget][CUDA] Check CUDA compatibilty correctly

We recently added support for multi-architecture binaries in
libomptarget. This is done by extracting the architecture from the
embedded image and comparing it with the major and minor version
supported by the current CUDA installation. Previously we just compared
these directly, which was not correct for binary compatibility. The CUDA
documentation states that we can consider any image with an equivalent
major or a greater or equal to minor compatible with the current image.
Change the check to use this new logic in the CUDA plugin.

Fixes #57049

Reviewed By: jdoerfert, ye-luo

Differential Revision: https://reviews.llvm.org/D131567
The file was modifiedopenmp/libomptarget/plugins/cuda/src/rtl.cpp
Commit 9757f4f2ddb76ae3ab0cc6c8768e3179ff141ee5 by nemanja.i.ibm
[PowerPC] Don't use the S30 and S31 regs for the pic code

These changes to address issue
https://github.com/llvm/llvm-project/issues/55857.

Since R30/S30 is used as pointer (32 bits) for GOT Table in the ppc32 ABI,
remove it from the SPE callee save register when PIC is enabled.

This prevents emitting the SPE load and store for S30 and S31 regs.

Differential revision: https://reviews.llvm.org/D127495
The file was addedllvm/test/CodeGen/PowerPC/pr55857.ll
The file was modifiedllvm/test/CodeGen/PowerPC/spe.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCCallingConv.td
Commit b1009bbd9e3d5acd85e92cb7f9a1109d2e72967c by Louis Dionne
[libc++] Add missing includes of <cstddef>
The file was modifiedlibcxx/include/__iterator/iterator_traits.h
The file was modifiedlibcxx/include/__ranges/size.h
The file was modifiedlibcxx/include/__iterator/incrementable_traits.h
The file was modifiedlibcxx/include/__memory/pointer_traits.h
Commit e78c80e3d622d455934102dabd765a60ac917739 by ivan.murashko
[clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry

There is a fix for the search procedure at `SourceManager::getFileIDLoaded`. It might return an invalid (not loaded) entry. That might cause clang/clangd crashes. At my case the scenario was the following:
- `SourceManager::getFileIDLoaded` returned an invalid file id for a non loaded entry and incorrectly set `SourceManager::LastFileIDLookup` to the value
- `getSLocEntry` returned `SourceManager::FakeSLocEntryForRecovery` introduced at [D89748](https://reviews.llvm.org/D89748).
- The result entry is not tested at `SourceManager::isOffsetInFileID`and as result the call `return SLocOffset < getSLocEntryByID(FID.ID+1).getOffset();` returned `true` value because `FID.ID+1` pointed to a non-fake entry
- The tested offset was marked as one that belonged to the fake `SLockEntry`

Such behaviour might cause a weird clangd crash when preamble contains some header files that were removed just after the preamble created. Unfortunately it's not so easy to reproduce the crash in the form of a LIT test thus I provided the fix only.

Test Plan:
```
ninja check-clang
```

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D130847
The file was modifiedclang/lib/Basic/SourceManager.cpp
Commit 47cf00407669b0d67f6ffd74c3b39433934752d8 by pifon
[mlir] Fix win build by using has_value() instead of hasValue() for Optional.
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
Commit 4b566933cf7b76fb437d671d2b64e971baeba5c8 by epastor
[ms] [llvm-ml] Add support for the (many) optional SEGMENT parameters

Add support for many parameters to the SEGMENT directive

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D131523
The file was modifiedllvm/lib/MC/MCParser/COFFMasmParser.cpp
The file was addedllvm/test/tools/llvm-ml/segment.asm
Commit d7a47a9bb5bd9f9b292e4f11184942936e2b1fc0 by kda
Desist from passing function location to __msan_set_alloca_origin4.

This is done by calling __msan_set_alloca_origin and providing the location of the variable by using the call stack.
This is prepatory work for dropping variable names when track-origins is enabled.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D131205
The file was modifiedcompiler-rt/test/msan/report-demangling.cpp
The file was modifiedcompiler-rt/test/msan/chained_origin_memmove.cpp
The file was modifiedcompiler-rt/lib/msan/msan.cpp
The file was modifiedcompiler-rt/test/msan/chained_origin.cpp
The file was modifiedcompiler-rt/test/msan/msan_print_shadow.cpp
The file was modifiedcompiler-rt/test/msan/chained_origin_memcpy.cpp
The file was modifiedcompiler-rt/test/msan/stack-origin2.cpp
The file was modifiedcompiler-rt/test/msan/unaligned_read_origin.cpp
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/alloca.ll
The file was modifiedcompiler-rt/test/msan/stack-origin.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Commit 06fc5a7714621324b121fb3ee03ac15eb018cf99 by manojgupta
Driver: Refactor and support per target dirs in baremetal

Refactor baremetal driver code to reduce the bespoke
additions and base class overrides.
This lets us use the per target runtimes like other clang
targets. E.g. clang -target armv7m-cros-none-eabi will now
be able to use the runtimes installed at
<resource_dir>/lib/armv7m-cros-none-eabi instead of the hardcoded
path <resource_dir>/lib/baremetal.
The older code paths should still continue to work as before if
<resource_dir>/lib/<tuple> does not exist.

Reviewed By: MaskRay, barannikov88

Differential Revision: https://reviews.llvm.org/D131225
The file was modifiedclang/include/clang/Driver/ToolChain.h
The file was modifiedclang/test/Driver/baremetal.cpp
The file was modifiedclang/lib/Driver/ToolChains/BareMetal.h
The file was modifiedclang/lib/Driver/ToolChains/BareMetal.cpp
The file was modifiedclang/lib/Driver/ToolChain.cpp
The file was modifiedclang/test/Driver/print-libgcc-file-name-clangrt.c
The file was addedclang/test/Driver/Inputs/resource_dir_with_per_target_subdir/lib/armv7m-vendor-none-eabi/libclang_rt.builtins.a
Commit 77d33f4c1b1be45a3473895e31e34065f11b3888 by llvm-dev
[Analysis] Remove unused CostModelAnalysis::getInstructionCost helper. NFCI.

Everything now uses TTI costs calls directly
The file was modifiedllvm/lib/Analysis/CostModel.cpp
Commit 80dcc907a8a2de9c0e24d1d40625c54c828d508a by szakharin
[NFC] Restructured SimplifyIntrinsicsPass::getOrCreateFunction.

I would like to add DOT_PRODUCT support in this pass, so this restructuring
is the first step to allow some code reuse inside getOrCreateFunction().

Differential Revision: https://reviews.llvm.org/D131530
The file was modifiedflang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
Commit 5c5af910fefbea943a11452b63e2424e5f823470 by jeff
[mlir][LLVMIR] "Modernize" Insert/ExtractValueOp

This patch "modernizes" the LLVM `insertvalue` and `extractvalue`
operations to use DenseI64ArrayAttr, since they only require an array of
indices and previously there was confusion about whether to use i32 or
i64 arrays, and to use assembly format.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D131537
The file was modifiedmlir/docs/SPIRVToLLVMDialectConversion.md
The file was modifiedmlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
The file was modifiedmlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
The file was modifiedmlir/lib/Conversion/GPUToNVVM/WmmaOpsToNvvm.cpp
The file was modifiedmlir/docs/Tutorials/Toy/Ch-6.md
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
The file was modifiedmlir/test/Target/LLVMIR/Import/basic.ll
The file was modifiedmlir/test/Target/LLVMIR/Import/zeroinitializer.ll
The file was modifiedmlir/test/Conversion/FuncToLLVM/calling-convention.mlir
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/misc-ops-to-llvm.mlir
The file was modifiedflang/test/Fir/convert-to-llvm-target.fir
The file was modifiedmlir/lib/Conversion/LLVMCommon/VectorPattern.cpp
The file was modifiedmlir/lib/Conversion/LLVMCommon/Pattern.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
The file was modifiedmlir/test/Dialect/LLVMIR/invalid.mlir
The file was modifiedmlir/lib/Conversion/LLVMCommon/MemRefBuilder.cpp
The file was modifiedmlir/test/Target/LLVMIR/Import/constant-aggregate.ll
The file was modifiedflang/lib/Optimizer/CodeGen/CodeGen.cpp
The file was modifiedflang/test/Fir/global-initialization.fir
The file was modifiedmlir/test/Conversion/GPUToNVVM/wmma-ops-to-nvvm.mlir
The file was modifiedmlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
The file was modifiedmlir/include/mlir/Conversion/LLVMCommon/VectorPattern.h
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
The file was modifiedflang/test/Fir/convert-to-llvm.fir
The file was modifiedmlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
The file was modifiedmlir/lib/Conversion/LLVMCommon/StructBuilder.cpp
The file was modifiedmlir/test/Target/LLVMIR/llvmir.mlir
Commit 7e2b995e0cced8a292c3de9e4ec6a503223de38a by dpetrov
[analyzer] [NFC] Add more test cases for equality tracking

Summary: Cover `ConstraintAssignor::assign(EquivalenceClass, RangeSet)` function with more regression tests.

Differential Revision: https://reviews.llvm.org/D131514
The file was modifiedclang/test/Analysis/equality_tracking.c
Commit 4178e33470763b406f614b646c8b01d24309e20b by llvm-dev
[CostModel] Update RUN -passes=* to double quotes to appease update scripts on windows

DOS really doesn't like `` quotes to be used in command lines

Some prep work as I'm intending to resurrect D79483 soon
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/cmp-ext-01.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/cmps.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/neon-stepvector.ll
The file was modifiedllvm/test/Analysis/CostModel/free-intrinsics-datalayout.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-intrinsics.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/popcnt.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/reduce-max.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/load-to-trunc.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/intrinsics.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/fround.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-fixed-length.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/cmp-ext-02.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/load-and-test.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/shuffle-transpose.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/mve-minmax.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-fptrunc.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/abs.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/shuffle-broadcast.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-cmpsel.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/mve-abs.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/oldarch-vectors.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/arith-ssat.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/logicalop.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/mve-cmp.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fabs.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/cmp-expanded.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-widening-instruction.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/reduce-or.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/arith-overflow.ll
The file was modifiedllvm/test/Analysis/CostModel/free-intrinsics-no_info.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/shuffle-load.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/extractelement.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/cast.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/load-to-trunc.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/immediates.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/reduce-umin.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-shuffle-broadcast.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/logical.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/reduce-add.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/logicalop.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/reduce-minmax.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/load-to-trunc.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/reduce-add.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fmul.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/kryo-inseltpoison.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/free-widening-casts.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/freeshift.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/arith-sminmax.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/logicalop.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/vectorinstrs-inseltpoison.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/insert_extract.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/min-max.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-ldst.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/load-to-trunc.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/scalar-cmp-cmp-log-sel.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/memop-folding-int-arith.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/div.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/reduce-or.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/active_lane_mask.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/vector-reduce.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-fpext.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/control-flow.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/shl-cast-vect.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/reduce-and.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/vsr_load_32_64.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/ext.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/bitreverse.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/cmp-tofp.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/fparith.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/reduce-scalable-fp.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/unaligned_ld_st.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/vectorinstrs.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/rem.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/fp-arith.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/load-to-trunc.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/addrspacecast.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/int-arith.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/int-operands-extcost.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/unal-vec-ldst.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/int-cast.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/reduce-and.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/reduce-and.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/arith-ssat.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/ext-load.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/vector-select.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/shuffle-broadcast.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/gep.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/shuffle-reverse.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/reduce-xor.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/arith-widening.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fsub.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/reduce-smin.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/cmpsel.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/load_store.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/select.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/div.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/cast.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fused_costs.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/fptoi_sat.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/ctlz.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/shuffle-other.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/mul.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/arith-fp-sve.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/kryo.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/reduce-or.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/masked_ldst_vls.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-illegal-types.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-stepvector.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/reduce-umax.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/reduce-xor.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/shuffle-select.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/sub-cast-vect.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/divrem-pow2.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-fptoi.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/ext-of-icmp-cost.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/masked_ldst.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/insertelement.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/arith-usat.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/splice.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/select.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/cmp-tofp-scalar.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-math.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/arith-fp.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fptoui.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/rem.ll
The file was modifiedllvm/test/Analysis/CostModel/no_info.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fneg.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/shifts.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/shuffle.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/huge-immediates.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/reduce-fadd.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/stepvector.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/mul-cast-vect.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-bitcast.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-trunc.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/gep.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/fptoi_sat.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/logicalop.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/fp-cast.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/arith-fp.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/mem-op-cost-model.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/mve-vecreduce-add.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/reduce-and.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/reduce-and.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/arith-ssat.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/cast.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/store.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/aggregates.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-vscale.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/divrem.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/memcpy.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/load_store.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/reduce-and.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/fixed-vector-scatter.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/target-intrinsics.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/scalable-gather.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/arith.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/vector_unit.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/masked_ldst.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-remainder.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/reduce-fadd.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/logic-miscext3.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/add-sub.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/matrix.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/cmp-mem.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/load-ptr-cmp-fold.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/ctpop.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/logicalop.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/getIntrinsicInstrCost-vector-reverse.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/rvv-select.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/bswap.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fround.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/arith-usat.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/cost-scalable-vector-gep.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/scalable-scatter.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/mul.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-insert-extract.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/cttz.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/add-cast-vect.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-gather.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/reduce-or.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/arith.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/load_store.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/control-flow.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/bit-ops.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/divrem-reg.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/aggregates.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/cast_ldst.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/arith-usat.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fma.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/insert_extract-inseltpoison.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/reduce-or.ll
The file was modifiedllvm/test/Analysis/CostModel/PowerPC/future-cost-model.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/gep.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/rvv-shuffle.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/numvectorregs.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/reduce-smax.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/arith-overflow.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/reduce-add.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/cast.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/reduce-scalable-int.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/rvv-intrinsics.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/cmp.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/logicalop.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fptosi.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/reduce-min.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/gep.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fadd.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/active_lane_mask.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/insertelement.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/splice.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/shuffle.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-scatter.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/shufflevector.ll
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/divrem-const.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/arith-uminmax.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/mve-active_lane_mask.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/load-to-trunc.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/div_cte.ll
The file was modifiedllvm/test/Analysis/CostModel/RISCV/fixed-vector-gather.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/reduce-or.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fdiv.ll
Commit 558caf6d2bab08c83c372a56124fee9c813186fa by kazu
[MCParser] Fix a warning

This patch fixes:

  llvm/lib/MC/MCParser/COFFMasmParser.cpp:333:28: error: comparison of
  integers of different signs: 'unsigned int' and 'int'
  [-Werror,-Wsign-compare]
The file was modifiedllvm/lib/MC/MCParser/COFFMasmParser.cpp
Commit 35bb1f5f340b1242d39646466bc2b9fafa1c60e7 by koraq
[NFC][libc++][test] Removes unneeded code.

In D130295 @mumbleskates wondered why `std::strong_ordering::equal` had
special code since it's the same as `std::strong_ordering::equivalent`.

This is indeed the case so the special case can be removed.

Reviewed By: mumbleskates, #libc, avogelsgesang, ldionne

Differential Revision: https://reviews.llvm.org/D131419
The file was modifiedlibcxx/test/support/test_comparisons.h
Commit 08b4cf362059bba7a38a22b571395c9801137dad by szakharin
[mlir][math] Added basic support for IPowI operation.

The operation computes pow(b, p), where 'b' and 'p' are signed integers
of the same width. The result's type matches the operands' type.

Differential Revision: https://reviews.llvm.org/D129809
The file was modifiedmlir/test/Dialect/Math/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/Math/IR/MathOps.td