Changes

Summary

  1. [PowerPC] Implement a TestSuiteBuilder (details)
  2. Avoid building the entire tree and testing LLVM itself on MLIR builders (details)
Commit 9d4301d25f098f5efcf2a56c9c5d16645e3957d5 by albionapc
[PowerPC] Implement a TestSuiteBuilder

This patch implements TestSuiteBuilder, which utilises
UnifiedTreeBuilder to build with ninja, and then checks
out llvm-test-suite, builds it and runs it.

The patch also changes the PPC RHEL bot to this new builder.

Differential revision: https://reviews.llvm.org/D109628
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
The file was addedzorg/buildbot/builders/TestSuiteBuilder.py
Commit fbdda46df1702d87909e66856796ffaefb5c0b41 by joker.eph
Avoid building the entire tree and testing LLVM itself on MLIR builders

This reduces the amount of targets to build and tests. The build gets faster (see below) but
the main motivation right now is to not get notified by an mlir-* bot when there is a failure
in a LLVM test (there are enough other bots to cover these).

Build time gain is hard to evaluate because it is highly dependent on the machine.
Below are the results on my Linux machine (with the same cmake config as the
win-mlir-buildbot, so no python tests):
```
$ time ninja check-mlir -j 16
894.323 [0/1/2803] Running the MLIR regression tests

Testing Time: 98.80s
  Unsupported      : 163
  Passed           : 927
  Expectedly Failed:   1

real 16m41.103s
user 188m17.260s
sys 23m22.081s
```

After that, adding `ninja -j 16` results in an added:

```
$ time ninja -j 16
441.094 [0/1/767] Linking CXX executable bin/SpeculativeJIT

real 7m21.771s
user 86m25.291s
sys 15m5.505s
```

So it is ~1/3 of the build time that we're saving here.

Differential Revision: https://reviews.llvm.org/D110187
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [AArch64] Regenerate test lines in sve-implicit-zero-filling.ll (details)
  2. [AMDGPU] Prefer v_fmac over v_fma only when no source modifiers are used (details)
  3. [AMDGPU] Prefer fmac over fma when selecting FMA_W_CHAIN (details)
  4. tsan: fix debug format strings (details)
  5. tsan: rearrange thread state callbacks (NFC) (details)
  6. tsan: simplify thread context setting (details)
  7. [CodeGen] SDDbgValue::getSDNodes() - use const-ref to avoid unnecessary copies. NFCI. (details)
  8. RewriteStatepointsForGC - Use const-ref iterator in for-range loops. NFCI. (details)
  9. [CodeGen] SelectionDAGBuilder - Use const-ref iterator in for-range loops. NFCI. (details)
  10. [InstCombine] foldConstantInsEltIntoShuffle - bail if we fail to find constant element (PR51824) (details)
  11. [AArch64] Improve schedule modelling on the Cortex-A55 (details)
  12. [VectorCombine] Add tests which require DT to use info from assumes. (details)
  13. [SystemZ]  Emit EXRL target instructions before text section is ended. (details)
  14. [llvm] Pass LLVM_CHECK_ENABLED_PROJECTS through in cross builds (details)
  15. [IR] Add the constructor of ShuffleVector for one-input-vector. (details)
  16. [AMDGPU][MC][GFX10] Enabled dlc for FLAT and GLOBAL atomics (details)
  17. [InstCombine] add tests for mask-shift with trunc; NFC (details)
  18. [NFC] Update the list of subprojects in docs. (details)
  19. [clang-offload-bundler][docs][NFC] Add archive unbundling documentation (details)
  20. [InstCombine] Improve TryToSinkInstruction with multiple uses (details)
  21. [OpenCL] Defines helper function for OpenCL default address space (details)
  22. [RISCV] Optimize (add (mul x, c0), c1) (details)
  23. [NFC] `goto fail` has failed us in the past... (details)
  24. [mlir][linalg] Assert tile loop nest invariants in fusion. (details)
  25. [mlir][Linalg] Revisit RAW dependence interference in comprehensive bufferize. (details)
  26. [mlir][Linalg] Revisit heuristic ordering of tensor.insert_slice in comprehensive bufferize. (details)
  27. [AArch64] Regenerate test lines in and-mask-removal.ll (details)
  28. [clang][NFC] Fix needless double-parenthisation (details)
  29. AMDGPU/GlobalISel: Restore run line erased in D109154 by mistake (details)
  30. [AMDGPU][MC][GFX7][GFX10] Corrected image_atomic_fcmpswap (details)
  31. [mlir][linalg] Add isPermutation helper (NFC). (details)
  32. [mlir][linalg] Simplify slice dim computation for fusion on tensors (NFC). (details)
  33. [GlobalISel] Support ConstantAsMetadata in IRTranslator (details)
  34. [SelectionDAG] Re-calculate scoped AA metadata when merging stores. (details)
  35. [ValueTracking,VectorCombine] Allow passing DT to computeConstantRange. (details)
  36. [sanitizer coverage] write the pc-table at the process exit (details)
  37. [InstCombine] move/add tests for trunc-of-lshr; NFC (details)
  38. [CodeGen] Remove redundant declaration getFileType (NFC) (details)
  39. [PowerPC] Fix signature of lxvp and stxvp builtins (details)
  40. [InstCombine] powi(x, y) * powi(x, z) -> powi(x, y + z) (details)
  41. Revert "Diagnose -Wunused-value based on CFG reachability" (details)
  42. [OpenMP][NFC] Add declare variant and metadirective to support page (details)
  43. [libc++][format] Adds parser std-format-spec. (details)
  44. [gn build] Port a04a6ce7726b (details)
  45. [lldb/win] Default to native PDB reader when LLVM_ENABLE_DIA_SDK=NO (details)
  46. [RISCV] Teach RISCVTargetLowering::shouldSinkOperands to sink splats for and/or/xor. (details)
  47. [LV] Fix crash for reverse interleaved loads with gap under fold-tail. (details)
  48. [PowerPC] Add prefix load pattern for fpext to v2f64 (details)
  49. [OpenMP] Codegen aggregate for outlined function captures (details)
  50. [LSR] Make sure that Factor fits into Base type (details)
  51. [RISCV] Make some arrays of constants 'static const'. NFC (details)
  52. [AMDGPU] Correctly merge alias.scope and noalias metadata for memops (details)
  53. Teach InstCombine to eliminate malloc-realloc-free triplets. (details)
  54. [AMDGPU] Filtering out the inactive lanes bits when lowering copy to SCC (details)
  55. Print nullptr_t namespace qualified within std:: (details)
  56. [IR] Re-group AAMDNodes relevant interfaces. NFC. (details)
  57. DebugInfo: Rebuild decltype(nullptr) as 'std::nullptr_t' (details)
  58. Support value-typed references in iterator facade's operator->() (details)
  59. nullptr printing - update for a change to clang type printing that now uses "std::nullptr_t" (details)
  60. [MergeICmps] Don't reorder unmerged comparisons (details)
  61. [Bazel] Add support for targeting macOS arm64 (details)
  62. [clang] don't mark as Elidable CXXConstruct expressions used in NRVO (details)
  63. [MergeICmps] Remove unused NumMerged variable (details)
  64. [OpenMP][OMPD] Fix compile error when OMPD is not supported (details)
  65. [IR] Look through bitcast in hasFnAttribute() (details)
  66. [InstCombine] fold cast of right-shift if high bits are not demanded (details)
  67. [libc++] counting_semaphore should not be default-constructible. (details)
  68. Revert "[OpenMP] Codegen aggregate for outlined function captures" (details)
  69. MemoryBuiltins: update comment; NFC (details)
  70. [CodeGen] regenerate test checks; NFC (details)
  71. [PowerPC] Support for vector bool int128 on vector comparison builtins (details)
  72. [X86] Clear kill flags when rewriting SETCC uses in flag copy lowering. (details)
  73. Revert "[X86] Clear kill flags when rewriting SETCC uses in flag copy lowering." (details)
  74. [clang] Make -Rpass imply -Rpass=.* (details)
  75. [OpenMP] Add thread ID function into new RTL (details)
  76. [LTO] Emit DebugLoc for dead function in optimization remarks (details)
  77. Recommit "[X86] Clear kill flags when rewriting SETCC uses in flag copy lowering." (details)
  78. [mlir] Always create a list of alias scopes when emitting LLVM IR (details)
  79. [asan] Fixed a bug causing a crash when redzone optimization kicked in on X86 with -asan-optimize-callbacks flag on. (details)
  80. Make DiagnosticInfoResourceLimit's limit param required (details)
  81. [libc++] Surpress -Wunused-value warning in variant (details)
  82. [AArch64][SVE] Add patterns to generate ADR instruction (details)
  83. [compiler-rt] [windows] Add more assembly patterns for interception (details)
  84. [Sanitizer] Allow setting the report path to create directory (details)
  85. [libc++abi] Remove unnecessary atomic_support.h header from libc++abi (details)
  86. [SamplePGO] Add switch to honor zero count on block level as accurate (details)
  87. [libcxx][AIX] Remove locale fallbacks for old OS levels (details)
  88. [DialectAsmPrinter] Add missing 'printAttributeWithoutType' member. (details)
  89. [Sanitizer] Modify test to avoid bot timeouts (details)
  90. [RISCV][NFC] Deleted useless lines in clang tests. (details)
  91. [NFC] Fix typo. (details)
  92. DebugInfo: Unify some printing policy adjustments (details)
  93. DebugInfo: Don't suppress inline namespaces when printing template template parameter names (details)
  94. AMDGPU: Fix test relying on incompatible attributes (details)
  95. [libc++][test] Fix iterator assertion in span.cons/deduct.pass.cpp (details)
  96. [PowerPC] prepare for udpate form with non-const increment. (details)
  97. AMDGPU: Refactor getWavesPerEU to separate flat workgroup size query (details)
  98. [RISCV] add Half-precision test for clang (details)
  99. DebugInfo: Don't use preferred template names in debug info (details)
  100. [libc++] Add some missing _LIBCPP_HIDE_FROM_ABI markup (details)
  101. [RISCV][NFC] Fix clang test for vloxei/vluxei (details)
  102. [mlir][sparse] cleanup ABI issues in C interface with memrefs (details)
  103. [PowerPC] add testcase for chain commoning; nfc (details)
  104. tsan: don't call dlsym during exit (details)
  105. tsan: move errno spoiling reporting into a separate function (NFC) (details)
  106. tsan: enable sse4.2 in tests (details)
  107. [Polly] Add -polly-reschedule and -polly-postopts options. (details)
  108. tsan: reset destination range in Java heap move (details)
  109. tsan: uninline Enable/DisableIgnores (details)
  110. tsan: prepare for trace mapping removal (details)
  111. [lldb] Add --stack option to `target symbols add` command (details)
  112. [flang] Change complex type define in runtime for clang-cl (details)
  113. [InstCombine] Move InstCombineWorklist to Utils to allow reuse (NFC). (details)
  114. [clang][ASTImporter] Generic attribute import handling (first step). (details)
  115. [Utils] Replace llc with cat for tests (details)
  116. tsan: account for mid app range in mem profile (details)
  117. tsan: include MBlock/SyncObj stats into mem profile (details)
  118. tsan: make mem profile data more consistent (details)
  119. tsan: include internal allocator info in mem profile (details)
  120. tsan: move mem profile initialization into separate function (details)
  121. tsan: remove stale comment (details)
  122. tsan: write uptime in mem profile (details)
  123. [ARM] Add additional tests for VMOVL in tail predicated loops. (details)
  124. [AMDGPU] Divergence-driven instruction selection for mul i32 (details)
  125. [AMDGPU] Convert mac/fmac to mad/fma when folding output modifiers (details)
  126. [AArch64][SVE] Add missing load/store patterns for unpacked bfloat vectors. (details)
  127. [VectorCombine] Switch to using a worklist. (details)
  128. [LoopVectorize][X86] Add operands to make it more obvious what line the CHECK concerns (details)
  129. [SelectionDAG] Make WidenVecRes_Convert work for scalable vectors. (details)
  130. [hwasan] also omit safe mem[cpy|mov|set]. (details)
  131. Don't fold (select C, (gep Ptr, Idx), Ptr) if C is vector but Idx is scalar (details)
  132. Unbreak module builds by making InstructionWorklist.h non-modular (details)
  133. [ARM] Allow smaller VMOVL in tail predicated loops (details)
  134. [lldb] [Windows] Fix continuing from breakpoints and singlestepping on ARM/AArch64 (details)
  135. [Matrix] Emit assumption that matrix indices are valid. (details)
  136. Revert "[CodeGen] regenerate test checks; NFC" (details)
  137. Revert "[InstCombine] fold cast of right-shift if high bits are not demanded" (details)
  138. [Passes] Run vector-combine early with -fenable-matrix. (details)
  139. [gn build] (manually) port f8b1cc365786 (details)
  140. [gn build] Port 7a320b279d07 (details)
  141. [SelectionDAG] Add PromoteIntOp_INSERT_SUBVECTOR. (details)
  142. [lldb] JITLoaderGDB tests can use lli in ORC greedy mode (details)
  143. [SLP][NFC]Rename function in the test for better matching of the (details)
  144. [ELF][test] Restore important part of ICF alignment test (details)
  145. AArch64: use indivisible cmpxchg for 128-bit atomic loads at O0 (details)
  146. [SelectionDAG] Remove PromoteIntOp_EXTRACT_SUBVECTOR. (details)
  147. [AArch64][SVE] Add extract_subvector patterns for unpacked fp16 and bfloat types. (details)
  148. [mailmap] Add entry for myself (details)
  149. [OpenMP] Make sure the Thread ID function is not removed (details)
  150. [AArch64][SVE] NFC: Move extract_subvector tests around. (details)
  151. [InstCombine] Update InstCombine to use poison instead of undef for shufflevector's placeholder (1/3) (details)
  152. [Target][CodeGen] Remove default CostKind arguments on inner/impl TTI overrides (details)
  153. [Sanitizer] Add Windows header for _mkdir (details)
  154. [libc++][NFC] Add link to Discord channel from documentation (details)
  155. [InstCombine] Update InstCombine to use poison instead of undef for shufflevector's placeholder (2/3) (details)
  156. [OpenMP][Offloading] Use bitset to indicate execution mode instead of value (details)
  157. [libc++] Disallow volatile types in std::allocator (details)
  158. [InstCombine] Update InstCombine to use poison instead of undef for shufflevector's placeholder (3/3) (details)
  159. [SLP] getReductionCost - use explicit TTI::TCK_RecipThroughput CostKind. NFCI. (details)
  160. [ORC] Re-enable ELF DebugObjectManagerPlugin tests (details)
  161. [CodeGen] Remove redundant declaration MIRCanonicalizerID (NFC) (details)
  162. [SLP][NFC]Add a test to show an issue with incorrectly extracted (details)
  163. [CSSPGO] Set PseudoProbeInserter as a default pass. (details)
  164. [NFC] clang-format -i llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp (details)
  165. [RISCV] Optimize vp.store with an all ones mask to avoid a vmset. (details)
  166. [mlir][sparse] replace ad-hoc MemRef struct with CRunnerUtils definition (details)
  167. [OpenMP] Add function tracing debugging to device RTL (details)
  168. [ORC] DebugObjectManagerPlugin tests can use lli in ORC greedy mode (details)
  169. [HWASan] Use a single .weak binding in asm. (details)
  170. [libc] Add an implementation of bsearch. (details)
  171. [SimplifyCFG] Ignore free instructions when computing cost for folding branch to common dest (details)
  172. Add document numbers for the C99 status page. (details)
  173. [NFCI][CodeGen, AArch64] Fix inconsistent TargetCostKind types. (details)
  174. [llvm-profgen] An option to dump disasm of specified symbols (details)
  175. [mlir][linalg] Fix interchange initialization in fusion on tensors. (details)
  176. Don't diagnose unused but set when the Cleanup attribute is used. (details)
  177. [Analysis] improve function matching for strlen libcall (details)
  178. Change error for storage-class to mean linkage, fix lang-linkage diag (details)
  179. Mark CFG as preserved in TypePromotion and InterleaveAccess passes (details)
  180. [lldb] Remove IRExecutionUnit::CollectFallbackNames (details)
  181. DebugInfo: Add (initially no-op) -gsimple-template-names={simple,mangled} (details)
  182. [OpenMP] Fix KeepAlive usage (details)
  183. [ELF][AArch64] Refine and fix the condition when BTI/PAC PLT needs bti c (details)
  184. [Analysis] reduce code for isOnlyUsedInZeroEqualityComparison; NFC (details)
  185. [ValueTracking] fix isOnlyUsedInZeroEqualityComparison with no users (details)
  186. [mlir][sparse] generalize reduction support in sparse compiler (details)
  187. [libc++][test] Remove disable_missing_braces_warning.h from tests (details)
  188. [libc++][NFCI] Remove uses of _LIBCPP_INLINE_VAR (details)
  189. Reset operation when canceling root update transaction (details)
  190. [mlir:DataFlowAnalysis] Reprocess the arguments of already executable edges (details)
  191. [JumpThreading] Add test with free instructions (NFC) (details)
  192. [InstCombine] add test for shift-shift with extra use; NFC (details)
  193. [InstCombine] add one-use check to shift-shift transform (details)
  194. [libc++][NFC] Add missing whitespace in <compare> (details)
  195. [mlir][Linalg] Teach constant -> generic op fusion to handle scalar constants. (details)
  196. [Clang] Ignore BTFTag attr if used as a type attribute (details)
  197. [OpenMP][Offloading] Change `bool IsSPMD` to `int8_t Mode` in `__kmpc_target_init` and `__kmpc_target_deinit` (details)
  198. Fix bug for Ops with default valued attributes and successors/variadic regions. (details)
  199. [RISCV] Add test cases showing failure to use ADDIW before fcvt.s.w/fcvt.d.w/fcvt.h.w. NFC (details)
  200. [RISCV] Add fcvt.s.w(u)/fcvt.d.w(u)/fcvt.h.w(u) to hasAllNBitUsers (details)
  201. [RISCV] Remove stale FIXMEs from float-convert.ll and double-convert.ll. NFC (details)
  202. Diagnose -Wunused-value based on CFG reachability (details)
  203. [flang] Catch error: base of DATA statement object can't be a pointer (details)
  204. [WebAssembly] Add relaxed-simd feature (details)
  205. [mlir][sparse] add sparse kernels test to sparse compiler test suite (details)
  206. [llvm-profgen] Use hot threshold for context merging and trimming (details)
  207. [NFC] Remove trailing spaces from some files (details)
  208. [compiler-rt][test] Add REQUIRES for checking static libc++abi (details)
  209. [Polly] Implement user-directed loop distribution/fission. (details)
  210. [Polly] Dissolve Isl test directory. NFC. (details)
  211. [libc++] Fix __wrap_iter to be a proper contiguous iterator. (details)
  212. [NFC][InstCombine] Fix inconsistent comments (details)
  213. [llvm-profgen] Fix a bug of assertion (details)
  214. [llvm-profgen] Fix an out-of-range error during unwinding (details)
  215. [llvm-profgen] Fix a dangling vector reference in CS line number based generator (details)
  216. [RISCV] Update mir tests. (details)
  217. [NFC] Remove redundant setOperationAction. (details)
  218. [MLIR] [Python] Make Attribute and Type hashable (details)
  219. [X86][FP16] Change the order of the operands in complex FMA intrinsics to allow swap between the mul operands. (details)
  220. [demangle] Support for ISO/IEC TS 18661 binary floating point type (details)
  221. [AArch64][SVE][InstCombine] Eliminate redundant chains of tuple get/set (details)
  222. [OpenMP][NFC] Clang format OMPIRBuilder (details)
  223. [OpenMP][NFC] Improve debug output (details)
  224. [OpenMP][NFC] Precommit test that exposes a bug in our optnone handling (details)
  225. [OpenMP][NFC] Rerun the test check update script on all OpenMP-Opt tests (details)
  226. [OpenMP][NFC] Repair test that contained nested kernels (details)
  227. [OpenMP][FIX] Be more deliberate about invalidating the AAKernelInfo state (details)
  228. [libc++][spaceship] Implement std::pair::operator<=> (details)
  229. [AMDGPU] Fix gcc warnings about unused variables [NFC] (details)
  230. [mlir] Fix build on Windows on Arm (details)
  231. [clang][tooling] NFC: Refactor command-line diagnostic tests (details)
  232. [X86][FP16] Combine the FADD(A, FMA(B, C, 0)) to FMA(B, C, A) (details)
  233. Wrap xar/xar.h include in extern "C" block (details)
  234. [NFC] Wrap MLIR addAffineForOpDomain warning with LLVM_DEBUG (details)
  235. [clangd] Ensure lambda init-capture gets semantic token (details)
  236. [ModuleInlinerWrapperPass] Do some naive printing of wrapped pipeline with -print-pipeline-passes (details)
  237. [DAGCombiner] Rename isAlias as mayAlias. NFC (details)
  238. [TII] Remove the MFI argument to convertToThreeAddress. NFC. (details)
  239. [Driver] Correctly handle static C++ standard library (details)
  240. Revert "[Driver] Correctly handle static C++ standard library" (details)
  241. [libc] Add optimized memset for AArch64 (details)
  242. [InstSimplify] Don't lose inbounds when simplifying a GEP (details)
  243. tsan: remove unnecessary enum values (NFC) (details)
  244. tsan: remove DontDumpShadow from Go build (details)
  245. tsan: add another deep stack test (details)
  246. tsan: use RawShadow instead of u64 more (details)
  247. tsan: move shadow declaration into a separate header file (NFC) (details)
  248. [fir][NFC] inline trival isa_<type> functions (details)
  249. [RISCV][VP] Add support for VP_REDUCE_* operations (details)
  250. [lldb] Fix DomainSocket::GetSocketName for unnamed sockets (details)
  251. [BasicBlockUtils] Fixup of an assumed typo in MergeBlockIntoPredecessor (details)
  252. [CodeGen] RegisterCoalescer::buildVRegToDbgValueMap - use const-ref value in for-range loop. NFCI. (details)
  253. [CodeGen] ProcessSDDbgValues - use const-ref value in for-range loop. NFCI. (details)
  254. [RISCV] Add missing op type OPERAND_UIMM2, OPERAND_UIMM3 and OPERAND_UIMM7 for verifyInstruction (details)
  255. [DSE] Track earliest escape, use for loads in isReadClobber. (details)
  256. tsan: remove expected race leftover (details)
  257. [libc++] Remove uses of _LIBCPP_HAS_NO_VARIABLE_TEMPLATES (details)
  258. [CodeGen] update test file to not run the entire LLVM optimizer; NFC (details)
  259. [gn build] (semi-manually) port 702cb7afe9de (details)
  260. [gn build] (manually) port ac191bcc99e2f (details)
  261. [gn build] Port f4abdb0c074b (details)
  262. [InstCombine] fold cast of right-shift if high bits are not demanded (2nd try) (details)
  263. [CostModel][X86] Increase i64 mul cost from 1 to 2 (details)
  264. clangd: Do not report inline overrides twice (details)
  265. [ORC][examples] Fix segfault in LLJITWithTargetProcessControl (details)
  266. [Sema] Fix a null pointer reference crash. (details)
  267. [AMDGPU] Avoid processing functions in amdgpu-propagate-attributes pass for shaders (details)
  268. Pass some DataLayout arguments by const-ref (details)
  269. Fix buildbot error. (details)
  270. Support: Fix missing whitespace in comment for inconvertibleErrorCode(), NFC (details)
  271. [x86] add AVX run to tests of fcmp logic; NFC (details)
  272. [lldb] [gdb-remote] Refactor getting remote regs to use local vector (details)
  273. [lldb] [gdb-remote] Use local regnos for value_regs/invalidate_regs (details)
  274. [clang] Use portable "#!/usr/bin/env bash" shebang for tools and utils. (details)
  275. [RegAlloc] Cast uint8_t to unsigned before printing it. (details)
  276. [SampleFDO] Remove redundant declarations (NFC) (details)
  277. [PowerPC] Add range checks for P10 Vector Builtins (details)
  278. [libc++] Use CMake interface targets to setup benchmark flags (details)
  279. [LiveIntervals] Fix repairOldRegInRange for simple def cases (details)
  280. Revert "[lldb] [gdb-remote] Use local regnos for value_regs/invalidate_regs" (details)
  281. Revert "[lldb] [gdb-remote] Refactor getting remote regs to use local vector" (details)
  282. Resolve {GlobalValue,GloalIndirectSymol}::getBaseObject confusion (details)
  283. [JumpThreading] Ignore free instructions (details)
  284. [fir][NFC] rename canBePointerOrHeapElementType to cannotBePointerOrHeapElementType (details)
  285. Revert "[LiveIntervals] Fix repairOldRegInRange for simple def cases" (details)
  286. [fir][NFC] Remove fir.cmpf replaced by mlir.cmpf (details)
  287. [ARM] Extra tests for unpredicated qr MVE intrinsics. (details)
  288. [libc++] Remove unused macro in __config (details)
  289. [flang] Implement READ(SIZE=) and INQUIRE(IOLENGTH=) in runtime (details)
  290. [compiler-rt][profile] Add padding after binary IDs (details)
  291. [lldb] Add a C language REPL to test LLDB's REPL infrastructure (details)
  292. [WebAssembly] Add prototype relaxed SIMD fma/fms instructions (details)
  293. [lldb] [gdb-remote] Refactor getting remote regs to use local vector (details)
  294. [lldb] [gdb-remote] Use local regnos for value_regs/invalidate_regs (details)
  295. Revert "Diagnose -Wunused-value based on CFG reachability" (details)
  296. [x86] move combiner state check into convertIntLogicToFPLogic(); NFC (details)
  297. [x86] add AVX512 run for fcmp+logic ops; NFC (details)
  298. [RISCV] Add more tests for (and (srl x, C2), C1) that can be improved by using a pair of shifts. NFC (details)
  299. [RISCV] Add more isel optimizations for (and (shr x, c2), c1). (details)
  300. [AArch64] Update some sve-fixed-length test checks. (details)
  301. [clang-format] Add Left/Right Const fixer capability (details)
  302. [gn build] Port a44ab1702539 (details)
  303. [InlineAdvisor] Use one single quote (details)
  304. [ORC] Minor renaming and typo fixes (NFC) (details)
  305. [llvm] Replace tab with spaces in one test (details)
  306. [llvm] Fix a copy-pasto (details)
  307. [ORC][examples] Export exectuable symbols explicitly in LLJITWithExecutorProcessControl (details)
  308. [mlir][sparse] Moved a conditional from the RT library to the generated MLIR. (details)
  309. [lldb] Show fix-it applied even if expression didn't evaluate succesfully (details)
  310. [flang] Represent (parentheses around derived types) (details)
  311. [Polly] Remove -polly-opt-fusion option. (details)
  312. Support: Add closing namespace comment in raw_ostream_test.cpp, NFC (details)
  313. Revert "[Polly] Implement user-directed loop distribution/fission." (details)
  314. [clang-format] NFC ensure Penality variable is passed back with Fixes (details)
  315. [clangd] Support `#pragma mark` in the outline (details)
  316. [CMake] Pass llvm-readelf to CMake external builds (details)
  317. [RISCV] Add more tests for (and (shl x, C2), C1) that can be improved by using a pair of shifts. NFC (details)
  318. [RISCV] Add another isel optimization for (and (shl x, c2), c1) (details)
  319. RegAllocGreedy: Remove an unhelpful auto, and don't use a reference (details)
  320. [OpenMP] Fix data-race in new device RTL (details)
  321. [lldb] Handle malformed qfThreadInfo reply (details)
  322. [profile][fuchsia] Don't include extra NUL in log messages (details)
  323. [AMDGPU] Propagate defining src reg for AGPR to AGPR Copys (details)
  324. [libc++][NFC] Refactor the std::reverse_view tests (details)
  325. [ORC] Fix file header. (details)
  326. Revert "[compiler-rt][profile] Add padding after binary IDs" (details)
  327. [CSSPGO] Do not pass -fpseudo-probe-for-profiling to the linker. (details)
  328. [RISCV] Limit transformAddImmMulImm to prevent an infinite loop. (details)
  329. [NFC] Refactor tests to improve readability. (details)
  330. Fix -fno-unwind-tables -fasynchronous-unwind-tables to emit unwind tables (details)
  331. [clang-format] Fix unittest failures with -Werror (details)
  332. [ORC] Shut down services in SimpleRemoteEPCServer. (details)
  333. [compiler-rt][profile] Make corrupted-profile.c more robust (details)
  334. [ThinLTO] Don't emit original GUID for locals to distributed indexes (details)
  335. [ThinLTO] Fix bot failures (details)
  336. [mlir][linalg] Merge all tiling passes into a single one. (details)
  337. [mlir][linalg] Support tile+peel with TiledLoopOp (details)
  338. Add missing storageType to AttrDef to ODS (details)
  339. [Polly] Implement user-directed loop distribution/fission. (details)
  340. [Driver] Default Generic_GCC x86 to -fasynchronous-unwind-tables (details)
  341. [AMDGPU] Legalize initialized LDS variables (details)
  342. DebugInfo: Implement the -gsimple-template-names functionality (details)
  343. [ORC] Introduce EPCGenericDylibManager / SimpleExecutorDylibManager. (details)
  344. [gn build] Port a2c1cf09dfaa (details)
  345. [TableGen] Allow targets to entirely ignore Psets for registers (details)
  346. [Sanitizers] intercept ttyent api on FreeBSD. (details)
  347. [docs] Document the --print-passes flag in opt. (details)
  348. [ORC] Rename ExecutorAddress to ExecutorAddr. (details)
  349. Remove non-portable directory separator from test (details)
  350. DebugInfo: STN: Handle unreconstitutable types in function types (details)
  351. Fix that same path separator issue again... (details)
  352. [PowerPC] SemaChecking for darn family of builtins (details)
  353. [ORC-RT] Rename ExecutorAddress to ExecutorAddr. (details)
  354. [AArch64][GlobalISel] Fix crash in the extend(extract_vector_elt) optimization. (details)
  355. [clang-offload-bundler][docs][NFC] invalid indentation cause build issue (details)
  356. [lldb] Fix target-symbols-add-unwind.test for clang 7647a841 (details)
  357. [clang-format] ensure clang-format command-line argument sets up the default left/right qualifier ordering (details)
  358. [clang-format][docs] Fix documentation of clang-format BasedOnStyle type (details)
  359. [GlobalISel][IRTranslator] Fix crash during bit-test switch optimization with odd types. (details)
  360. [Driver] Correctly handle static C++ standard library (details)
  361. [mlir][linalg] Fix result type in FoldSourceTensorCast (details)
  362. [AArch64] Rewrite ldst-unsignedimm.ll codegen test. (details)
  363. [SystemZ] Implement ISD::BITCAST for fp128 -> i128. (details)
  364. [libcxx][pretty printers] Check GDB Python scripting support (details)
  365. [clang-format] Fixed an unused variable warning (details)
  366. [llvm-objcopy][docs] Add missing options to the help output and the command guide (details)
  367. [Analysis] Fix issues when querying vscale attributes on functions (details)
  368. [libcxx][pretty printers] Import gdb module in gdb feature check (details)
  369. [clang-doc] Pass Record argument by const-ref. NFCI. (details)
  370. [X86][SLM] Fix ADDQ/SUBQ/CMPEQQ throughput to account for running on either port. (details)
  371. [RISCV] (1/2) Add the tail policy argument to builtins/intrinsics. (details)
  372. [RISCV] (2/2) Add the tail policy argument to builtins/intrinsics. (details)
  373. Revert "[libcxx][pretty printers] Import gdb module in gdb feature check" (details)
  374. [analyzer] Retrieve a value from list initialization of constant array declaration in a global scope. (details)
  375. Reapply "[Dexter] Improve performance by evaluating expressions only when needed" (details)
  376. [CodeMoverUtils] Enhance isSafeToMoveBefore() when moving BBs (details)
  377. [mlir] add pad_tensor(tensor.cast) -> pad_tensor canonicalizer (details)
  378. [MLIR] PresburgerSet: support divisions in operations (details)
  379. [NFC] Mark LI.getLoopsInPreorder and LI.getLoopsInReverseSiblingPreorder const. (details)
  380. [LiveIntervals] Fix repairOldRegInRange for simple def cases (details)
  381. [LiveIntervals] Repair live intervals that gain subranges (details)
  382. [lldb] [Host] Refactor Socket::DecodeHostAndPort() to use LLVM API (details)
  383. Revert "[lldb] [Host] Refactor Socket::DecodeHostAndPort() to use LLVM API" (details)
  384. [flang][fir] Add support to mangle/deconstruct namelist group name (details)
  385. [Analysis] Fix another issue when querying vscale attributes on functions (details)
  386. [lldb] [Host] Refactor Socket::DecodeHostAndPort() to use LLVM API (details)
  387. [SystemZ] NFC: Remove unused intrinsic template arg 'name' (details)
  388. [compiler-rt] Use portable "#!/usr/bin/env bash" shebang for tests. (details)
  389. Revert "[DSE] Track earliest escape, use for loads in isReadClobber." (details)
  390. tsan: add a test for flushing memory (details)
  391. Revert "[JumpThreading] Ignore free instructions" (details)
  392. tsan: add a stress test (details)
  393. Revert "[InstCombine] fold cast of right-shift if high bits are not demanded (2nd try)" (details)
  394. [TargetLibraryInfo][AMDGPU] Minor cleanup, NFC (details)
  395. [llvm-objcopy][NFC] Add a helper method RelocationSectionBase::getNamePrefix() (details)
  396. [Transforms/Utils] Remove redundant declaration computeSyntheticCounts (NFC) (details)
  397. [libc++][NFC] Add missing link to a ranges review (details)
  398. [InstCombine] add tests for lshr-trunc-lshr; NFC (details)
  399. [x86] convert logic-of-FP-compares to FP logic-of-vector-compares (details)
  400. [libc++] Require a C++20 capable compiler. (details)
  401. [X86][SSE] combineMulToPMADDWD - replace sext(v8i16) -> zext(v8i16) (details)
  402. tsan: don't use pipe2 in tests (details)
  403. [MC][NFC] Add end-of-namespace comments (details)
  404. Recommit "[DSE] Track earliest escape, use for loads in isReadClobber." (details)
  405. [PowerPC] Add range check for vec_genpcvm builtins (details)
  406. [mlir] Linalg: ensure tile-and-pad always creates padding as requested (details)
  407. [AMDGPU] Always reserve flat scratch SGPR for architected flat scratch (details)
  408. Revert "[flang][fir] Add support to mangle/deconstruct namelist group name" (details)
  409. Re-apply "[JumpThreading] Ignore free instructions" (details)
  410. [PowerPC] Mark splat immediate instructions as rematerializable (details)
  411. Write test for CWG1772/CWG1762/CWG1779, mark them 'done', and update (details)
  412. Fix wrong FixIt about union in cppcoreguidelines-pro-type-member-init (details)
  413. [PowerPC][NFC] Add test case in preparation for codegen change (details)
  414. [SCCP] Regenerate bigint test checks (details)
  415. [ConstantFold] ConstantFoldGetElementPtr - use APInt::isNegative() instead of getSExtValue() to support big ints (details)
  416. [libc++] Refactor the tests for common_view to reduce duplication (details)
  417. Add test for DR1307, which we have already implemented. (details)
  418. Fix test from 8dd42f, capitalization in test (details)
  419. Revert "Allow rematerialization of virtual reg uses" (details)
  420. [NFC][libc++] Update clang-format style. (details)
  421. [mlir:OpConversionPattern] Add overloads for taking an Adaptor instead of ArrayRef (details)
  422. [mlir:OpConversion] Remove the remaing usages of the deprecated matchAndRewrite methods (details)
  423. [SystemZ][z/OS] Add GOFF Support to the DataLayout (details)
  424. [libc++][NFC] Mark LWG3158 as implemented (details)
  425. [LiveIntervals] Fix asan debug build failures (details)
  426. DebugInfo: Move the '=' version of -gsimple-template-names to the frontend (details)
  427. [libc++][NFC] Update status of old issue LWG2560 -- we implement it properly (details)
  428. [ARM] Addition jump table plus while loop block placement pass test. (details)
  429. [compiler-rt] Add shared_cxxabi requirement to some tests (details)
  430. [TargetLibraryInfo] Correctly handle sqrt*_finite (details)
  431. [DSE] Add additional capture tests (NFC) (details)
  432. [NFC] Replace hard-coded usages of SystemZ::R15D with SpecialRegisters API (details)
  433. [libc] Add an implementation of qsort. (details)
  434. [mlir][tosa] Add some transpose folders (details)
  435. [ThinLTO] Update combined index for SamplePGO indirect calls to locals (details)
  436. [mlir:MemRef] Move DmaStartOp/DmaWaitOp to ODS (details)
  437. Fix bot failure by adding needed dependence (details)
  438. [InstCombine] match variable names and code comments; NFC (details)
  439. [InstCombine] fold lshr(trunc(lshr X, C1)) C2 (details)
  440. [Polly] Fix wrong redirect in test case. (details)
  441. [flang][fir] Add support to mangle/deconstruct namelist group name (details)
  442. [mlir:OpAsm] Factor out the common bits of (Op/Dialect)Asm(Parser/Printer) (details)
  443. [IR] Handle large element size when calculating GEP indices (details)
  444. [SystemZ][z/OS] Introduce the GOFFMCAsmInfo Interface for z/OS (details)
  445. [ORC] Add 'contains' and 'overlaps' operations to ExecutorAddrRange. (details)
  446. [gn build] Port a9ae2436fc0d (details)
  447. [gn build] Port c0d889995e70 (details)
  448. [AMDGPU] Limit promote alloca max size in functions (details)
  449. [llvm-profgen] Ignore invalid perf line in LBR record (details)
  450. [mlir] Create a generic reduction detection utility (details)
  451. [AutoFDO][llvm-profgen] Profile generation for LBR(non-CS) sample (details)
  452. [mlir][tosa] Do not fold transpose with quantized types (details)
  453. [AutoFDO][llvm-profgen] Report zero count for unexecuted part of function code (details)
  454. [llvm-profgen] Unify output format of different unsymbolized profiles (details)
  455. [dsymutil] Track incompleteness across unions (details)
  456. WIP: Verify -gsimple-template-names=mangled values (details)
  457. [ORC] Allow construction of an ExecutorAddrRange from an addr and a size. (details)
  458. [lldb] Copy the system debugserver in LLDB.framework (details)
  459. [dsymutil] Update union-fwd-decl.test for Windows (details)
  460. [RISCV] Add another isel optimization for (and (shl X, c2), c1). (details)
  461. Fixed a bug in https://reviews.llvm.org/rG8eb617d719bdc6a4ed7773925d2421b9bbdd4b7a. (details)
  462. Add "REQUIRES: zlib" in forward-compatible.test since it handles compressed file. (details)
  463. [llvm] Improve export.sh with help and snapshot (details)
  464. Revert "[Driver] Correctly handle static C++ standard library" (details)
  465. [llvm] Remove LLVM_CHECK_ENABLED_PROJECTS again (details)
  466. [llvm-profdata] Extend support of --topn to sample profiles (details)
  467. [mlir:ElementsAttr] Avoid crash on empty contiguous ranges (details)
  468. DebugInfo: Use the signedness of the underlying enum when encoding enum non-type-template-parameters (details)
  469. Add pragma to make it easier to find "image list" impl (details)
  470. [CMake] Pass through CMAKE_READELF to subbuilds (details)
  471. [AArch64][AMDGPU] Re-generate some tests with CHECK-NEXT to prepare for a patch. (details)
  472. [clang] set templates as invalid when any of the parameters are invalid (details)
  473. [RISCV] Fix incorrect operand type of inst alias for InstR4 (details)
  474. [TTI] getUserCost - Ensure a vector insert/extract index is in unsigned 32-bit range (details)
  475. tsan: uninline RacyStacks::operator== (details)
  476. [ARM] Fix Arm block placement creating branches after jump tables. (details)
  477. [MLIR] Add functionality to remove redundant local variables (details)
  478. [DAG] combineShiftToMULH - move getValueType() inside assert. NFCI. (details)
  479. [IR] DIBuilder::createEnumerator - pass APSInt by const reference (details)
  480. [CMake] Consistently use the LibXml2::LibXml2 target instead of LIBXML2_LIBRARIES (details)
  481. [InstCombine] Ensure shifts are in range for (X << C1) / C2 -> X fold. (details)
  482. [fir] Add desc to fir.array_load op and update operand name (details)
  483. [lldb] Convert misc. StringConvert uses (details)
  484. [X86] combineShiftToPMULH - relax from ISA from SSE41 to SSE2 (details)
  485. [X86] X86FastISel::fastMaterializeConstant - break if-else chain to fix llvm-else-after-return warning. NFCI (details)
  486. [X86][SSE] combineMulToPMADDWD - enable sext(v8i16) -> zext(v8i16) fold on pre-SSE41 targets (details)
  487. [Mips] Remove redundant declarations (NFC) (details)
  488. [X86][SSE] combineMulToPMADDWD - enable sext(v8i16) -> zext(v8i16) fold on sub-128 bit vectors (details)
  489. [X86][SSE] combineMulToPMADDWD - mask off upper bits of sign-extended vXi32 constants (details)
  490. [CostModel][X86] Adjust vXi32 multiply costs if it can be performed using PMADDWD (details)
  491. [clang-format] Left/Right alignment fixer can cause false positive replacements when they don't actually change anything (details)
  492. [DAG] ReduceLoadOpStoreWidth - replace getABITypeAlign with allowsMemoryAccess (PR45116) (details)
  493. [ORC] Introduce EPCGenericRTDyldMemoryManager. (details)
  494. [lli] Add ChildTarget dependence on OrcTargetProcess library. (details)
  495. Revert "[ORC] Introduce EPCGenericRTDyldMemoryManager." (details)
  496. [ELF][test] Improve test coverage (details)
  497. [ORC-RT] ExecutorAddrDiff ergonomic improvements; contains and overlaps methods (details)
  498. [BasicAA] Don't consider Argument as escape source (NFCI) (details)
  499. [DSE] Make capture check more precise (details)
  500. [AA] Move earliest escape tracking from DSE to AA (details)
  501. [ELF] Default gotBaseSymInGotPlt to false (NFC for most architectures) (details)
Commit e83629280f32102cd93a216490188922843af06c by david.green
[AArch64] Regenerate test lines in sve-implicit-zero-filling.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-implicit-zero-filling.ll
Commit 86dcb592069f2d18a183fa1daa611029ae80ef4c by jay.foad
[AMDGPU] Prefer v_fmac over v_fma only when no source modifiers are used

v_fmac with source modifiers forces VOP3 encoding, but it is strictly
better to use the VOP3-only v_fma instead, because $dst and $src2 are
not tied so it gives the register allocator more freedom and avoids a
copy in some cases.

This is the same strategy we already use for v_mad vs v_mac and
v_fma_legacy vs v_fmac_legacy.

Differential Revision: https://reviews.llvm.org/D110070
The file was modifiedllvm/test/CodeGen/AMDGPU/mad-mix.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fma.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/frem.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/udiv.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/fmad-formation-fmul-distribute-denormal-mode.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fma.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fdiv.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/strict_fma.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/strict_fma.f32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/dagcombine-fma-fmad.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fma.s32.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/fmuladd.f16.ll
Commit 598bebeaa645049d13f1d3d1c8b8b821bb97283f by jay.foad
[AMDGPU] Prefer fmac over fma when selecting FMA_W_CHAIN

FMA_W_CHAIN is used when lowering fdiv f32. Prefer to select it to fmac
if there are no source modifiers, just like we do for other mad/mac and
fma/fmac cases.

Differential Revision: https://reviews.llvm.org/D110074
The file was modifiedllvm/test/CodeGen/AMDGPU/fdiv.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/frem.ll
Commit 6fe35ef419391215e21e51b859f74e6b7b8819d4 by dvyukov
tsan: fix debug format strings

Some of the DPrintf's currently produce -Wformat warnings if enabled.
Fix these format strings.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D110131
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
Commit 908256b0ea3e3ba3b80dbe9c81fc68a1ee35ac33 by dvyukov
tsan: rearrange thread state callbacks (NFC)

Thread state functions are split into 2 parts:
tsan entry function (e.g. ThreadStart) and thread registry
state change callback (e.g. OnStart). Currently these
pairs of functions are located far from each other and
in reverse order. This makes it hard to read and follow the logic.
Reorder the code so that OnFoo directly follows ThreadFoo.
No other code changes.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D110132
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
Commit 9d7b7350c9e00e2a43585328e875bec11c8c8c17 by dvyukov
tsan: simplify thread context setting

Currently we set thr->tctx after OnStarted callback
taking thread registry mutex again and searching for the context.
But OnStarted already runs under the thread registry mutex
and has access to the context, so set it in the OnStarted.
This makes code simpler and faster.

Depends on D110132.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D110133
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
Commit 0f83456cf5bfaa731f9d5aa2500a5f10dd9de1b7 by llvm-dev
[CodeGen] SDDbgValue::getSDNodes() - use const-ref to avoid unnecessary copies. NFCI.

Reported by MSVC static analyzer.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
Commit f5d23d36de87f0cef3117df657d4f1d9133749c0 by llvm-dev
RewriteStatepointsForGC - Use const-ref iterator in for-range loops. NFCI.

Avoid unnecessary copies, reported by MSVC static analyzer.
The file was modifiedllvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
Commit 20b58855e0cfc263d609e8bb59e692024ecb42aa by llvm-dev
[CodeGen] SelectionDAGBuilder - Use const-ref iterator in for-range loops. NFCI.

Avoid unnecessary copies, reported by MSVC static analyzer.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit fc8f1e4419d338a347bade7cfc76f73052f00739 by llvm-dev
[InstCombine] foldConstantInsEltIntoShuffle - bail if we fail to find constant element (PR51824)

If getAggregateElement() returns null for any element, early out as otherwise we will assert when creating a new constant vector

Fixes PR51824 + ; OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38057
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was addedllvm/test/Transforms/InstCombine/pr51824.ll
Commit 9e4d72675f476386cf6555cd5a1014cdd8d9facb by nicholas.guy
[AArch64] Improve schedule modelling on the Cortex-A55

Enables the FuseAddress feature in the Cortex-A55 scheduling model

Differential Revision: https://reviews.llvm.org/D109323
The file was addedllvm/test/CodeGen/AArch64/a55-fuse-address.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64.td
Commit ea27dd74972e95e513fefcf96067522364f4e3d7 by flo
[VectorCombine] Add tests which require DT to use info from assumes.
The file was modifiedllvm/test/Transforms/VectorCombine/AArch64/load-extract-insert-store-scalarization.ll
The file was modifiedllvm/test/Transforms/VectorCombine/AArch64/load-extractelement-scalarization.ll
Commit a48b43f9816aa3a3ccc9ca13e7767ccf70756729 by paulsson
[SystemZ]  Emit EXRL target instructions before text section is ended.

SystemZ adds the EXRL target instructions in the end of each file. This must
be done before debug info emission since that may end the text section, and
therefore this is now done in emitConstantPools() (instead of in
emitEndOfAsmFile).

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D109513
The file was modifiedllvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetStreamer.h
The file was addedllvm/test/CodeGen/SystemZ/memset-06.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZAsmPrinter.h
Commit e9ea03c62ccc1ed4e3ed4f20e37640cfdd76cbcf by thakis
[llvm] Pass LLVM_CHECK_ENABLED_PROJECTS through in cross builds
The file was modifiedllvm/cmake/modules/CrossCompile.cmake
Commit 043733d677310d6b0ac465b938e82733a9f4cfce by gusrb406
[IR] Add the constructor of ShuffleVector for one-input-vector.

One of the two inputs of the Shufflevector is often a placeholder.
Previously, there were cases where the placeholder was undef, and there were cases where it was poison.
I added these constructors to create a placeholder consistently.

Changing to use the newly added constructor will be written in a separate patch.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D110146
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/lib/IR/Instructions.cpp
Commit b8e7f5320825812fc4b597ee5df3dccc53fe78bb by dmitry.preobrazhensky
[AMDGPU][MC][GFX10] Enabled dlc for FLAT and GLOBAL atomics

Differential Revision: https://reviews.llvm.org/D109614
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/flat_gfx10.txt
The file was modifiedllvm/test/MC/AMDGPU/gfx10_asm_flat.s
The file was modifiedllvm/lib/Target/AMDGPU/FLATInstructions.td
Commit af1c5312d76000bf134d8b81cdb7343607c6ee64 by spatel
[InstCombine] add tests for mask-shift with trunc; NFC
The file was modifiedllvm/test/Transforms/InstCombine/and-narrow.ll
Commit 17a26f585127fde64fdf1b2393e90454e81f143c by diana.picus
[NFC] Update the list of subprojects in docs.

The updated list is based on the output of
cmake -G Ninja -S llvm -B build -DLLVM_ENABLE_PROJECTS='foo'.

Differential Revision: https://reviews.llvm.org/D110124
The file was modifiedREADME.md
The file was modifiedllvm/docs/GettingStarted.rst
Commit ee31ad0ab5f7d443b0bd582582a3524dcf7f13f0 by Saiyedul.Islam
[clang-offload-bundler][docs][NFC] Add archive unbundling documentation

Add documentation of unbundling of heterogeneous device archives to
create device specific archives, as introduced by D93525. Also, add
documentation for supported text file formats.

Reviewed By: yaxunl

Differential Revision: https://reviews.llvm.org/D110083
The file was modifiedclang/docs/ClangOffloadBundler.rst
Commit 69921f6f4558a2c5c8e48c5b12d83a65127bfecc by anna
[InstCombine] Improve TryToSinkInstruction with multiple uses

This patch allows sinking an instruction which can have multiple uses in a
single user. We were previously over-restrictive by looking for exactly one use,
rather than one user.

Also added an API for retrieving a unique undroppable user.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D109700
The file was modifiedllvm/test/Transforms/InstCombine/icmp-mul-zext.ll
The file was modifiedllvm/lib/IR/Value.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/blending-shuffle.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/include/llvm/IR/Value.h
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/blending-shuffle-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/sink_instruction.ll
Commit 32b994bca66641cdac8586f25315daf349921ebc by Justas.Janickas
[OpenCL] Defines helper function for OpenCL default address space

Helper function `getDefaultOpenCLPointeeAddrSpace()` introduced to
`ASTContext` class. It returns default OpenCL address space
depending on language version and enabled features. If generic
address space is supported, the helper function returns value
`LangAS::opencl_generic`. Otherwise, value `LangAS::opencl_private`
is returned. Code refactoring changes performed in several suitable
places.

Differential Revision: https://reviews.llvm.org/D109874
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
Commit b3052013b43617defd777b1f3b4339540c4c07df by powerman1st
[RISCV] Optimize (add (mul x, c0), c1)

Optimize (add (mul x, c0), c1) -> (ADDI (MUL (ADDI, c1/c0), c0), c1%c0),
if c1/c0 and c1%c0 are simm12, while c1 is not.

Optimize (add (mul x, c0), c1) -> (MUL (ADDI, c1/c0), c0),
if c1%c0 is zero, and c1/c0 is simm12 while c1 is not.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D108607
The file was modifiedllvm/test/CodeGen/RISCV/addimm-mulimm.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit 744ec74b305a5039dc74e2d043e1c136e06beac1 by chris.bieneman
[NFC] `goto fail` has failed us in the past...

This patch replaces reliance on `goto failure` pattern with
`llvm::scope_exit`.

Reviewed By: bkramer

Differential Revision: https://reviews.llvm.org/D109865
The file was modifiedclang/lib/Frontend/FrontendAction.cpp
Commit c8eed8f9a7e019382ab236c90ac1ee0f5d81c54f by gysit
[mlir][linalg] Assert tile loop nest invariants in fusion.

Assert the tile loop nest invariants are satisfied instead of failing silently.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D110137
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
Commit 0d2c54e851f12594b38f45e76ced03e3f5cc5443 by nicolas.vasilache
[mlir][Linalg] Revisit RAW dependence interference in comprehensive bufferize.

Previously, comprehensive bufferize would consider all aliasing reads and writes to
the result buffer and matching operand. This resulted in spurious dependences
being considered and resulted in too many unnecessary copies.

Instead, this revision revisits the gathering of read and write alias sets.
This results in fewer alloc and copies.
An exhaustive test cases is added that considers all possible permutations of
`matmul(extract_slice(fill), extract_slice(fill), ...)`.
The file was addedmlir/test/Dialect/Linalg/comprehensive-bufferize-analysis-2fill-extract-matmul-all-perms.mlir
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
Commit 101d017a643845b537687467e3f7c2a5d963df6e by nicolas.vasilache
[mlir][Linalg] Revisit heuristic ordering of tensor.insert_slice in comprehensive bufferize.

It was previously assumed that tensor.insert_slice should be bufferized first in a greedy fashion to avoid out-of-place bufferization of the large tensor. This heuristic does not hold upon further inspection.

This CL removes the special handling of such ops and adds a test that exhibits better behavior and appears in real use cases.

The only test adversely affected is an artificial test which results in a returned memref: this pattern is not allowed by comprehensive bufferization in real scenarios anyway and the offending test is deleted.

Differential Revision: https://reviews.llvm.org/D110072
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir
Commit a502294b2d9594e06be01fab344e937ddae22cd1 by david.green
[AArch64] Regenerate test lines in and-mask-removal.ll
The file was modifiedllvm/test/CodeGen/AArch64/and-mask-removal.ll
Commit 9ae4275557ca10f79af91ca99a2aa79d5dfd7ed3 by wingo
[clang][NFC] Fix needless double-parenthisation

Strip a layer of parentheses in TreeTransform::RebuildQualifiedType.

Differential Revision: https://reviews.llvm.org/D108359
The file was modifiedclang/lib/Sema/TreeTransform.h
Commit f3366983f0aa81f5fc5361392a6fcec05157b851 by petar.avramovic
AMDGPU/GlobalISel: Restore run line erased in D109154 by mistake
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcanonicalize.mir
Commit 3500e7d2b0f1c3f508f384ba9223e879c103b0ab by dmitry.preobrazhensky
[AMDGPU][MC][GFX7][GFX10] Corrected image_atomic_fcmpswap

Differential Revision: https://reviews.llvm.org/D109616
The file was modifiedllvm/test/MC/AMDGPU/gfx7_asm_mimg.s
The file was modifiedllvm/lib/Target/AMDGPU/MIMGInstructions.td
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/gfx10_mimg.txt
The file was modifiedllvm/test/MC/AMDGPU/gfx10_asm_mimg.s
Commit 9072f1b5f81347b36f0668e8cc10802fedbc6cfd by gysit
[mlir][linalg] Add isPermutation helper (NFC).

Add a helper method to check if an index vector contains a permutation of its indices. Additionally, refactor applyPermutationToVector to take int64_t.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D110135
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Interchange.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
Commit 8b5236def5a1adc55f649f125d2582254b80f699 by gysit
[mlir][linalg] Simplify slice dim computation for fusion on tensors (NFC).

Compute the tiled producer slice dimensions directly starting from the consumer not using the producer at all.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D110147
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
The file was modifiedmlir/test/Dialect/Linalg/tile-and-fuse-on-tensors.mlir
Commit 624e4d087efdb2f26a9a618dd0e2da99782e6308 by Matthew.Arsenault
[GlobalISel] Support ConstantAsMetadata in IRTranslator

When using instructions which have a MetadataAsValue argument
(e.g. some target-specific intrinsics) MD canonicalization strips
internal MDNodes with a single ConstantAsMetadata child. That
prevented IRTranslator from the proper translation of such a calls.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-metadata.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
Commit 5fb3ae525ffa7fc9e09e0c10de02ecc003c3adae by michael.hliao
[SelectionDAG] Re-calculate scoped AA metadata when merging stores.

Reviewed By: jeroen.dobbelaere

Differential Revision: https://reviews.llvm.org/D102821
The file was modifiedllvm/include/llvm/IR/Metadata.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was addedllvm/test/CodeGen/AArch64/merge-scoped-aa-store.ll
The file was modifiedllvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
Commit 5131037ea96f9e2bc863557ba6d6dc63f46a94ab by flo
[ValueTracking,VectorCombine] Allow passing DT to computeConstantRange.

isValidAssumeForContext can provide better results with access to the
dominator tree in some cases. This patch adjusts computeConstantRange to
allow passing through a dominator tree.

The use VectorCombine is updated to pass through the DT to enable
additional scalarization.

Note that similar APIs like computeKnownBits already accept optional dominator
tree arguments.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D110175
The file was modifiedllvm/lib/Transforms/Vectorize/VectorCombine.cpp
The file was modifiedllvm/unittests/Analysis/ValueTrackingTest.cpp
The file was modifiedllvm/include/llvm/Analysis/ValueTracking.h
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/test/Transforms/VectorCombine/AArch64/load-extract-insert-store-scalarization.ll
The file was modifiedllvm/test/Transforms/VectorCombine/AArch64/load-extractelement-scalarization.ll
Commit 11c533e1ea38381726ed04ab65937a03fbfb3e19 by kcc
[sanitizer coverage] write the pc-table at the process exit

The current code writes the pc-table at the process startup,
which may happen before the common_flags() are initialized.
Move writing to the process end.
This is consistent with how we write the counters and avoids the problem with the uninitalized flags.
Add prints if verbosity>=1.

Reviewed By: kostik

Differential Revision: https://reviews.llvm.org/D110119
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep_new.cpp
The file was modifiedcompiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter_default_impl.cpp
Commit 08ef71ca92d9bd474ac4bbb5109e9ced19c77f0e by spatel
[InstCombine] move/add tests for trunc-of-lshr; NFC

Planning to reframe a proposed transform in terms of
demanded bits as suggested in D110170.
The new tests end with an 'or'.
The file was modifiedllvm/test/Transforms/InstCombine/and-narrow.ll
The file was addedllvm/test/Transforms/InstCombine/trunc-demand.ll
Commit 54229cd9e44f70de09ffa0c55ad35317c521adc0 by kazu
[CodeGen] Remove redundant declaration getFileType (NFC)
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.h
Commit 57939309501c33b264b777e04186c7747ebc3de1 by quinn.pham
[PowerPC] Fix signature of lxvp and stxvp builtins

This patch changes the signature of the load and store vector pair
builtins to match their documentation. The type of the `signed long long`
argument is changed to `signed long`. This patch also changes existing testcases
to match the signature change.

Reviewed By: lei, Conanap

Differential Revision: https://reviews.llvm.org/D109996
The file was modifiedclang/include/clang/Basic/BuiltinsPPC.def
The file was modifiedclang/test/Sema/ppc-pair-mma-types.c
The file was modifiedclang/test/CodeGen/builtins-ppc-pair-mma.c
Commit c0fdfc9af2338fa84f1b65dda8f1649c0ec1ebf1 by Dávid Bolvanský
[InstCombine] powi(x, y) * powi(x, z) -> powi(x, y + z)

We already have pow(x, y) * pow(x, z) -> pow(x, y + z) transformation, but we are missing same transformation for powi (power is integer).

Requires reassoc.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D109954
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
The file was modifiedllvm/test/Transforms/InstCombine/powi.ll
Commit 73a8bcd78921d38130fc42c90fd75d47b05b063d by aaron
Revert "Diagnose -Wunused-value based on CFG reachability"

This reverts commit 63e0d038fc20c894a3d541effa1bc2b1fdea37b9.

It causes test failures:

http://lab.llvm.org:8011/#/builders/119/builds/5612
https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket/8835548361443044001/+/u/clang/test/stdout
The file was modifiedclang/test/CXX/drs/dr14xx.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/Sema/i-c-e.c
The file was modifiedclang/test/SemaCXX/builtin-constant-p.cpp
The file was modifiedclang/test/Sema/sizeless-1.c
The file was modifiedclang/test/SemaCXX/constant-expression.cpp
The file was modifiedclang/test/Sema/warn-type-safety.c
The file was modifiedclang/test/PCH/cxx-explicit-specifier.cpp
The file was modifiedclang/test/Sema/const-eval.c
The file was modifiedclang/test/SemaCXX/sizeless-1.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/test/Parser/cxx-ambig-decl-expr.cpp
The file was modifiedclang/test/Parser/cxx1z-init-statement.cpp
The file was modifiedclang/test/SemaCXX/vector.cpp
The file was modifiedclang/test/SemaCXX/warn-comma-operator.cpp
The file was modifiedclang/test/CXX/basic/basic.link/p8.cpp
The file was modifiedclang/test/CXX/drs/dr20xx.cpp
The file was modifiedclang/test/Parser/objc-try-catch-1.m
The file was modifiedclang/test/SemaCXX/matrix-type-operators.cpp
The file was modifiedclang/test/SemaTemplate/lambda-capture-pack.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/Sema/warn-unused-value.c
The file was modifiedclang/test/Parser/cxx0x-ambig.cpp
The file was modifiedclang/test/SemaCXX/attr-annotate.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.constr/partial-specializations.cpp
The file was modifiedclang/test/Sema/vla-2.c
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx2a.cpp
The file was modifiedclang/test/SemaTemplate/derived.cpp
The file was modifiedclang/test/Sema/switch-1.c
The file was modifiedclang/test/CodeCompletion/pragma-macro-token-caching.c
The file was modifiedclang/test/SemaCXX/overloaded-operator.cpp
The file was modifiedclang/test/Parser/objcxx11-attributes.mm
The file was modifiedclang/test/Frontend/fixed_point_crash.c
The file was modifiedclang/test/SemaCXX/warn-unused-value.cpp
The file was modifiedclang/test/Sema/exprs.c
The file was modifiedclang/test/SemaCXX/expression-traits.cpp
The file was modifiedclang/test/Parser/objc-messaging-1.m
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/Analysis/dead-stores.c
The file was modifiedclang/test/CXX/drs/dr7xx.cpp
Commit 8c68bd480f3d8a5bf6087f47837d320f9d6dba2d by cchen
[OpenMP][NFC] Add declare variant and metadirective to support page
The file was modifiedclang/docs/OpenMPSupport.rst
Commit a04a6ce7726b51c4f503c8de899362bee40d4e04 by koraq
[libc++][format] Adds parser std-format-spec.

This implements the generic std.format.spec framework for all types.

The Unicode support will be added in a separate patch.

Implements parts of:
- P0645 Text Formatting

Completes:
- LWG-3242 std::format: missing rules for arg-id in width and precision
- P1892 Extended locale-specific presentation specifiers for std::format

Reviewed By: #libc, ldionne, vitaut

Differential Revision: https://reviews.llvm.org/D103368
The file was addedlibcxx/test/libcxx/diagnostics/detail.headers/format/parser_std_format_spec.module.verify.cpp
The file was modifiedlibcxx/docs/Status/Cxx20Papers.csv
The file was modifiedlibcxx/include/__format/formatter.h
The file was addedlibcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_integral.pass.cpp
The file was addedlibcxx/test/libcxx/utilities/format/format.string/format.string.std/test_exception.h
The file was modifiedlibcxx/docs/Status/Cxx20Issues.csv
The file was modifiedlibcxx/include/module.modulemap
The file was modifiedlibcxx/include/format
The file was addedlibcxx/test/libcxx/utilities/format/format.string/format.string.std/concepts_precision.h
The file was modifiedlibcxx/include/CMakeLists.txt
The file was addedlibcxx/include/__format/parser_std_format_spec.h
The file was addedlibcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_string.pass.cpp
Commit a3bb4f145599c7c4147fd60ea15cb09cd68e50d9 by llvmgnsyncbot
[gn build] Port a04a6ce7726b
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit 908c1154421287c6ffa0ef06ef5225a8fd0b06a7 by thakis
[lldb/win] Default to native PDB reader when LLVM_ENABLE_DIA_SDK=NO

Trying to use the DIA SDK reader only to fail with "DIA SDK wasn't enabled"
isn't very useful. The native PDB reader is missing some stuff, but it's still
better than nothing.

Reduces number of lldb-check-shell test failures with LLVM_ENABLE_DIA_SDK=NO
from 27 to 15.

Differential Revision: https://reviews.llvm.org/D110172
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
Commit aeb63d464f30db5e32da1449a650eec8c85d95bd by craig.topper
[RISCV] Teach RISCVTargetLowering::shouldSinkOperands to sink splats for and/or/xor.

This requires a minor change to CodeGenPrepare to ensure that
shouldSinkOperands will be called for And.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D110106
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit ab6a69dfea64d362dca300c3926733b9a599ad2c by ayal.zaks
[LV] Fix crash for reverse interleaved loads with gap under fold-tail.

This patch fixes the crash found by PR51614:
whenever doing tail folding, interleave groups must be considered under mask.

Another fix D108900 follows for targets that support masked loads and stores:
when *deciding* to vectorize with masked interleave groups, check if the access
is reverse - which is currently not supported; rather than (only) asserting when
computing cost and generating code.

Differential Revision: https://reviews.llvm.org/D108891
The file was addedllvm/test/Transforms/LoopVectorize/pr51614-fold-tail-by-masking.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 2af57b6099e1750c375cfc1321d1a5ef0a65c085 by amy.kwan1
[PowerPC] Add prefix load pattern for fpext to v2f64

This patch adds a prefixed load pattern involving v2f32 fpext v2f64, where we
are dealing with a value with an offset that fits into a 34-bit signed immediate.
A reduced test case is also added to patch that tests the pattern, in which the
pattern is tested in the big endian CHECKs of the newly added test.

Differential Revision: https://reviews.llvm.org/D109887
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrPrefix.td
The file was modifiedllvm/test/CodeGen/PowerPC/reduce_scalarization.ll
Commit 1d66649adf28d48ae1731516d87fb899426e3349 by georgakoudis1
[OpenMP] Codegen aggregate for outlined function captures

Parallel regions are outlined as functions with capture variables explicitly generated as distinct parameters in the function's argument list. That complicates the fork_call interface in the OpenMP runtime: (1) the fork_call is variadic since there is a variable number of arguments to forward to the outlined function, (2) wrapping/unwrapping arguments happens in the OpenMP runtime, which is sub-optimal, has been a source of ABI bugs, and has a hardcoded limit (16) in the number of arguments, (3)  forwarded arguments must cast to pointer types, which complicates debugging. This patch avoids those issues by aggregating captured arguments in a struct to pass to the fork_call.

Reviewed By: jdoerfert, jhuber6

Differential Revision: https://reviews.llvm.org/D102107
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/taskgroup_codegen.cpp
The file was modifiedclang/test/AST/ast-dump-openmp-distribute-parallel-for.c
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_generic_mode_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_codegen.cpp
The file was modifiedclang/test/OpenMP/remarks_parallel_in_multiple_target_state_machines.c
The file was modifiedclang/test/AST/ast-dump-openmp-distribute-parallel-for-simd.c
The file was modifiedclang/test/OpenMP/debug-info-openmp-array.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/openmp_win_codegen.cpp
The file was modifiedclang/test/OpenMP/unroll_codegen_parallel_for_factor.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/reduction_compound_op.cpp
The file was modifiedclang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for.c
The file was modifiedclang/test/OpenMP/for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_lastprivate_conditional.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/metadirective_device_kind_codegen.c
The file was removedopenmp/libomptarget/utils/generate_microtask_cases.py
The file was modifiedclang/test/OpenMP/for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_map_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/single_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_lambda_capturing.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/observe-noexcept.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_variant_construct_codegen_1.c
The file was modifiedclang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_sections_reduction_task_codegen.cpp
The file was modifiedclang/test/utils/update_cc_test_checks/Inputs/generated-funcs.c.no-generated.expected
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_data_sharing.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/remarks_parallel_in_target_state_machine.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_target_codegen_globalization.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/vla_crash.c
The file was modifiedclang/test/OpenMP/sections_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/metadirective_implementation_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_if_codegen_PR51349.cpp
The file was modifiedclang/test/OpenMP/sections_private_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_linear_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_sections_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/debug-info-complex-byval.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/parallel_for_simd_aligned_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/utils/update_cc_test_checks/Inputs/generated-funcs.c.generated.expected
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/support.cu
The file was modifiedclang/test/OpenMP/for_linear_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/single_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/cancellation_point_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/metadirective_device_kind_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_debug_codegen.cpp
The file was modifiedclang/test/OpenMP/task_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_allocate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_codegen.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_collapse_codegen.cpp
The file was modifiedclang/test/AST/ast-dump-openmp-teams-distribute-parallel-for.c
The file was modifiedclang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/single_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_copyin_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_order_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/tile_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen_global_capture.cpp
The file was modifiedclang/test/OpenMP/target_parallel_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_lastprivate_codegen.cpp
The file was removedopenmp/libomptarget/deviceRTLs/common/generated_microtask_cases.gen
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/task_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_debug_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_private_codegen.cpp
The file was modifiedclang/test/AST/ast-dump-openmp-teams-distribute-parallel-for-simd.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_nested_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_task_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_dist_schedule_codegen.cpp
The file was modifiedclang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for-simd.c
The file was modifiedclang/test/OpenMP/parallel_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/task_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/cancel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_03.cpp
The file was modifiedclang/test/OpenMP/distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_private_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/sections_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
The file was modifiedclang/test/OpenMP/nvptx_multi_target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
Commit 78b51c7a2cb6994c1baf4349d61266f36f0c45c5 by dmalyutin
[LSR] Make sure that Factor fits into Base type

Fixes pr42770

Differential Revision: https://reviews.llvm.org/D108772
The file was addedllvm/test/Transforms/LoopStrengthReduce/scaling-factor-incompat-type.ll
The file was removedllvm/test/Transforms/LoopStrengthReduce/pr42770.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Commit 7c975665b47cb91227c5ec0cd902aaf4a7529b58 by craig.topper
[RISCV] Make some arrays of constants 'static const'. NFC

This helps the compiler generate better code.
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit cbdf624bb82b57dc9372353459cb04e615418697 by brendon.cahoon
[AMDGPU] Correctly merge alias.scope and noalias metadata for memops

When adding alias.scope and noalias metadata to a memcpy function,
the alias.scope and noalias metadata from the operands are merged.
The rule for merging alias.scope is to take the intersection of
the domains and the union of the scopes within those domains.
The rule for merging noalias is to take the intersection.

The bug is that AMDGPULowerModuleLDS was using concatenation for
both alias.scope and noalias. For example, when f1 and f2 are added
to the LDS structure and there is a memcpy(f2, f1, sizeof(f1)).
Then, concatenation creates noalias metadata for the memcpy that
includes both {f1, f2}. That means that the memcpy is assumed
not to alias a prior load of f2, which enables the optimizer to
remove a load of f2 that occurs after mempcy.

The function MDNode::getmostGenericAliasScope defines the semantics
for alias.scope. There is a function, combineMetadata in Local.cpp,
that uses intersect for noalias.

Differential Revision: https://reviews.llvm.org/D110049
The file was modifiedllvm/test/CodeGen/AMDGPU/lower-lds-struct-aa-merge.ll
The file was addedllvm/test/CodeGen/AMDGPU/lower-lds-struct-aa-memcpy.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
Commit b5fbbdd2025fb04dc8ee1fc892d6575a9a3e2bcd by resistor
Teach InstCombine to eliminate malloc-realloc-free triplets.

Reviewed By: majnemer

Differential Revision: https://reviews.llvm.org/D109988
The file was addedllvm/test/Transforms/InstCombine/realloc-free.ll
The file was addedllvm/test/Transforms/InstCombine/alloc-realloc-free.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 1a33294652b24eff17a1f222f1f11f4986cdce5a by Alexander Timofeev
[AMDGPU] Filtering out the inactive lanes bits when lowering copy to SCC

Normally, given that the DA results are kept consistent over the selection DAG, uniform comparisons get selected to S_CMP_* but divergent to V_CMP_*.  Sometimes, for the sake of efficiency,  SSA subgraphs may be converted to VALU to avoid repeatedly copying data back and forth. Hence we have to be able to sustain the correctness passing the i1 from VALU to SALU context and vice versa.

VALU operations only process the active lanes of the VGPR and ignore inactive ones.
Active lanes correspond to 1 bit in the EXEC mask register.
SALU represents i1 as just one bit but VALU as 64bits: 0/1 and 0/(0xffffffffffffffff & EXEC) respectively.
SALU uses one-bit conditional flag SCC but VALU - VCC that is a pair of 32-bit SGPRs

To expose SCC to the VALU context we need to convert the one-bit boolean value to the appropriate 64bit.
To return back to the SALU context we need to do the opposite.

To correctly convert 64bit VALU boolean to either 0 or 1 we need to filter out the bits corresponding to the inactive lanes.

Reviewed By: piotr

Differential Revision: https://reviews.llvm.org/D109900
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
The file was addedllvm/test/CodeGen/AMDGPU/copy_to_scc.ll
Commit 131e8786640a49daf533b7ead4d3b5b82e0aea2a by dblaikie
Print nullptr_t namespace qualified within std::

This improves diagnostic (& important to me, DWARF) accuracy - otherwise
there could be ambiguities between "std::nullptr_t" and some user-defined
type that's /actually/ "nullptr_t" defined in the global namespace.

Differential Revision: https://reviews.llvm.org/D110044
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/test/SemaTemplate/deduction.cpp
The file was modifiedclang/test/OpenMP/task_affinity_messages.cpp
The file was modifiedclang/test/OpenMP/task_depend_messages.cpp
The file was modifiedclang/test/Sema/format-strings-pedantic.c
The file was modifiedclang/test/Analysis/plist-diagnostics-template-record.cpp
The file was modifiedclang/test/SemaTemplate/deduction-guide.cpp
The file was modifiedclang/test/SemaCXX/cxx0x-noexcept-expression.cpp
The file was modifiedclang/test/SemaCXX/nullptr.cpp
The file was modifiedclang/test/SemaTemplate/friend.cpp
The file was modifiedclang/test/CXX/drs/dr6xx.cpp
The file was modifiedclang/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp
The file was modifiedclang/test/Sema/builtins-arm64-mte.c
The file was modifiedclang/test/SemaCXX/nullability.cpp
The file was modifiedclang/test/CXX/drs/dr15xx.cpp
The file was modifiedclang/test/SemaCXX/cxx2a-explicit-bool.cpp
The file was modifiedclang/test/AST/ast-dump-recovery.cpp
The file was modifiedclang/test/SemaTemplate/instantiate-local-class.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-template.cpp
The file was modifiedclang/test/CXX/temp/temp.param/p10-2a.cpp
Commit 2d1ffad01074cdfa6e986c526167b600cf71eb41 by michael.hliao
[IR] Re-group AAMDNodes relevant interfaces. NFC.
The file was modifiedllvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
The file was modifiedllvm/include/llvm/IR/Instruction.h
The file was modifiedllvm/lib/IR/Metadata.cpp
Commit 49c519a84856d018578ed2af625b114771f666e4 by dblaikie
DebugInfo: Rebuild decltype(nullptr) as 'std::nullptr_t'

Now that Clang's been changed to render nullptr types/template
parameters as 'std::nullptr_t' do the same thing down here.

(Clang commit: 131e8786640a49daf533b7ead4d3b5b82e0aea2a )
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/prettyprint_types.s
Commit 9149ae09bd1ef2934e2bc7bcaeffbb055739f074 by csigg
Support value-typed references in iterator facade's operator->()

Add a PointerProxy similar to the existing iterator_facade_base::ReferenceProxy and return it from the arrow operator. This prevents iterator facades with a reference type that is not a true reference to take the address of a temporary.

Forward the reference type of the mapped_iterator to the iterator adaptor which in turn forwards it to the iterator facade. This fixes mlir::op_iterator::operator->() to take the address of a temporary.

Make some polishing changes to op_iterator and op_filter_iterator.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D109490
The file was modifiedmlir/include/mlir/IR/UseDefLists.h
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedmlir/include/mlir/IR/BuiltinAttributes.h
The file was modifiedmlir/include/mlir/IR/BlockSupport.h
The file was modifiedmlir/include/mlir/IR/TypeUtilities.h
The file was modifiedllvm/include/llvm/ADT/iterator.h
The file was modifiedmlir/include/mlir/TableGen/Operator.h
The file was modifiedmlir/include/mlir/IR/TypeRange.h
Commit 40e971a21052a8638933037615e3c681e193f3fc by dblaikie
nullptr printing - update for a change to clang type printing that now uses "std::nullptr_t"
The file was modifiedlldb/test/Shell/SymbolFile/NativePDB/function-types-builtins.cpp
Commit f2fa6ad0476b318fdba46f09a2d59187228431ee by nikita.ppv
[MergeICmps] Don't reorder unmerged comparisons

MergeICmps will currently sort (by offset) all comparisons in a chain,
including those that do not get merged. This is problematic in two ways:

* We may end up moving the original first block into the middle of
   the chain, in which case the "extra work" instructions will also
   be in the middle of the chain, resulting in invalid IR
   (reported in https://reviews.llvm.org/D108782#3005583).
* Reordering branches is generally not legal, because it may
   introduce branch on poison, which is UB (PR51845). The merging
   done by MergeICmps is legal as long as we assume that memcmp()
   works on frozen memory, but the reordering of unmerged comparisons
   is definitely incorrect (without inserting freeze instructions),
   so we should avoid it.

There are easier ways to fix the first issue, but I figured it was
worthwhile to do this properly to also fix the second one. What we
now do is to restore the original relative order of (potentially
merged) comparisons.

I took the liberty of dropping the MERGEICMPS_DOT_ON functionality,
because it would be more awkward to implement now (as the before and
after representation is different) and it doesn't seem terribly
useful nowadays.

Differential Revision: https://reviews.llvm.org/D110024
The file was addedllvm/test/Transforms/MergeICmps/X86/entry-block-shuffled-2.ll
The file was modifiedllvm/test/Transforms/MergeICmps/X86/entry-block-shuffled.ll
The file was modifiedllvm/lib/Transforms/Scalar/MergeICmps.cpp
Commit 33e1713a00a5291e5de658d0eb0aebdbf1d3aa03 by gcmn
[Bazel] Add support for targeting macOS arm64

In attempting to build JAX on Apple Silicon, we discovered an issue with
the bazel configuration in llvm-project-overlay. This patch fixes the
logic, at least when building JAX. More context is included on the
following GitHub issue: https://github.com/google/jax/issues/5501

Differential Revision: https://reviews.llvm.org/D109839
The file was modifiedutils/bazel/llvm-project-overlay/llvm/config.bzl
Commit d9308aa39b236064a680ca57178af3c731e13e49 by mizvekov
[clang] don't mark as Elidable CXXConstruct expressions used in NRVO

See PR51862.

The consumers of the Elidable flag in CXXConstructExpr assume that
an elidable construction just goes through a single copy/move construction,
so that the source object is immediately passed as an argument and is the same
type as the parameter itself.

With the implementation of P2266 and after some adjustments to the
implementation of P1825, we started (correctly, as per standard)
allowing more cases where the copy initialization goes through
user defined conversions.

With this patch we stop using this flag in NRVO contexts, to preserve code
that relies on that assumption.
This causes no known functional changes, we just stop firing some asserts
in a cople of included test cases.

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D109800
The file was modifiedclang/test/CodeGen/nrvo-tracking.cpp
The file was modifiedclang/lib/Sema/SemaCoroutine.cpp
The file was modifiedclang/lib/Sema/SemaObjCProperty.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/lib/CodeGen/CGExprCXX.cpp
The file was addedclang/test/CodeGenCXX/copy-elision.cpp
The file was modifiedclang/include/clang/Sema/Initialization.h
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
Commit e4a1af37249d93f265bbdb052af0a687ffccaf02 by nikita.ppv
[MergeICmps] Remove unused NumMerged variable
The file was modifiedllvm/lib/Transforms/Scalar/MergeICmps.cpp
Commit 248342b7c72916ce95fce91fbf6c40ea5417860c by mnadeem
[OpenMP][OMPD] Fix compile error when OMPD is not supported

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

Change-Id: I9d39dacfab5b7fbab37ee4b4d960d51e0892b24d
The file was modifiedopenmp/runtime/CMakeLists.txt
Commit 43d6991c2a4cc2ac374e68c029634f2b59ffdfdf by nikita.ppv
[IR] Look through bitcast in hasFnAttribute()

A logic incompleteness may lead MemorySSA to be too conservative
in its results. Specifically, when dealing with a call of kind
`call i32 bitcast (i1 (i1)* @test to i32 (i32)*)(i32 %1)`, where
the function `test` is declared with readonly attribute, the
bitcast is not looked through, obscuring function attributes. Hence,
some methods of CallBase (e.g., doesNotReadMemory) could provide
suboptimal results.

Differential Revision: https://reviews.llvm.org/D109888
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/arg-count-mismatch.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/arg-type-mismatch.ll
The file was addedllvm/test/Analysis/MemorySSA/call-bitcast.ll
Commit 2f6b07316f560a1f6d225919019dff2e5d6346e5 by spatel
[InstCombine] fold cast of right-shift if high bits are not demanded

(masked) trunc (lshr X, C) --> (masked) lshr (trunc X), C

Narrowing the shift should be better for analysis and can lead
to follow-on transforms as shown.

Attempt at a general proof in Alive2:
https://alive2.llvm.org/ce/z/tRnnSF

Here are a couple of the specific tests:
https://alive2.llvm.org/ce/z/bCnTp-
https://alive2.llvm.org/ce/z/TfaHnb

Differential Revision: https://reviews.llvm.org/D110170
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
The file was modifiedllvm/test/Transforms/InstCombine/trunc-demand.ll
Commit c9af0e61fa85842ce280ddab8ab491de38a7ae5b by arthur.j.odwyer
[libc++] counting_semaphore should not be default-constructible.

Neither the current C++2b draft, nor any revision of [p1135],
nor libstdc++, claims that `counting_semaphore` should be
default-constructible. I think this was just a copy-paste issue
somehow.

Also, `explicit` was missing from the constructor.

Also, `constexpr` remains missing; but that's probably more of a
technical limitation, since apparently there are some platforms
where we don't (can't??) use the atomic implementation and
have to rely on pthreads, which obviously isn't constexpr.

Differential Revision: https://reviews.llvm.org/D110042
The file was modifiedlibcxx/include/semaphore
The file was addedlibcxx/test/std/thread/thread.semaphore/ctor.compile.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.semaphore/binary.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.semaphore/max.pass.cpp
Commit ac90dfc43a0133f97e5a7501ec91a0a8bb6042cc by georgakoudis1
Revert "[OpenMP] Codegen aggregate for outlined function captures"

This reverts commit 1d66649adf28d48ae1731516d87fb899426e3349.

Revert to fix AMG GPU issue.
The file was modifiedclang/test/OpenMP/teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/single_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/test/OpenMP/master_taskloop_in_reduction_codegen.cpp
The file was addedopenmp/libomptarget/deviceRTLs/common/generated_microtask_cases.gen
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/debug-info-complex-byval.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/task_if_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/utils/update_cc_test_checks/Inputs/generated-funcs.c.generated.expected
The file was modifiedclang/test/OpenMP/nvptx_target_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/observe-noexcept.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_if_codegen_PR51349.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_dist_schedule_codegen.cpp
The file was modifiedclang/test/AST/ast-dump-openmp-teams-distribute-parallel-for.c
The file was modifiedclang/test/OpenMP/parallel_sections_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/task_codegen.cpp
The file was modifiedclang/test/AST/ast-dump-openmp-distribute-parallel-for.c
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/utils/update_cc_test_checks/Inputs/generated-funcs.c.no-generated.expected
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_data_sharing.cpp
The file was modifiedclang/test/OpenMP/nvptx_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_linear_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_order_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_simd_aligned_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_03.cpp
The file was modifiedclang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for-simd.c
The file was modifiedclang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/openmp_win_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_generic_mode_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_debug_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/AST/ast-dump-openmp-teams-distribute-parallel-for-simd.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/single_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_copyin_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/task_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_debug_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_lambda_capturing.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/AST/ast-dump-openmp-distribute-parallel-for-simd.c
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.cpp
The file was modifiedclang/test/OpenMP/metadirective_device_kind_codegen.c
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_private_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp
The file was addedopenmp/libomptarget/utils/generate_microtask_cases.py
The file was modifiedclang/test/OpenMP/teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/cancel_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_allocate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/single_private_codegen.cpp
The file was modifiedclang/test/OpenMP/cancellation_point_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/debug-info-openmp-array.cpp
The file was modifiedclang/test/OpenMP/nvptx_multi_target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_map_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/tile_codegen.cpp
The file was modifiedclang/test/OpenMP/for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_nested_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/vla_crash.c
The file was modifiedclang/test/OpenMP/distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_sections_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/for_linear_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_target_codegen_globalization.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/remarks_parallel_in_target_state_machine.c
The file was modifiedclang/test/OpenMP/declare_variant_construct_codegen_1.c
The file was modifiedclang/test/OpenMP/teams_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/metadirective_device_kind_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/unroll_codegen_parallel_for_factor.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/taskgroup_codegen.cpp
The file was modifiedclang/test/OpenMP/reduction_compound_op.cpp
The file was modifiedclang/test/OpenMP/taskloop_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_lastprivate_conditional.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/metadirective_implementation_codegen.cpp
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/support.cu
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen_global_capture.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/remarks_parallel_in_multiple_target_state_machines.c
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_num_threads_codegen.cpp
Commit cd5f582c3dd747ab97b57df37642b0dffba398ee by George Burgess IV
MemoryBuiltins: update comment; NFC

This comment references behavior that was removed in
ccae43a247b0791f78ea89b9cb7e59fa70f5000d, which is a commit from 5 years
ago. It seems safe to assume that that behavior won't be coming back
soon. If it does, we can readd this part of the comment :)
The file was modifiedllvm/lib/Analysis/MemoryBuiltins.cpp
Commit 52832cd917af00e2b9c6a9d1476ba79754dcabff by spatel
[CodeGen] regenerate test checks; NFC

This broke with 2f6b07316f56 because it wrongly runs the entire LLVM optimizer.
The file was modifiedclang/test/CodeGen/aapcs-bitfield.c
Commit b93359ea3fe59ea0c652f5e61ee68231e2fb60c4 by albionapc
[PowerPC] Support for vector bool int128 on vector comparison builtins

This patch implements support for the type vector bool int128
for arguments on vector comparison builtins listed below,
which would otherwise crash due to ambiguity.

The following builtins are added:

vec_all_eq (vector bool __int128, vector bool __int128)
vec_all_ne (vector bool __int128, vector bool __int128)
vec_any_eq (vector bool __int128, vector bool __int128)
vec_any_ne (vector bool __int128, vector bool __int128)
vec_cmpne(vector bool __int128 a, vector bool __int128 b)
vec_cmpeq(vector bool __int128 a, vector bool __int128 b)

Differential revision: https://reviews.llvm.org/D110084
The file was modifiedclang/test/CodeGen/builtins-ppc-p10vector.c
The file was modifiedclang/lib/Headers/altivec.h
Commit 7550f146ff75667d6e1828d64438dcc23b77f036 by craig.topper
[X86] Clear kill flags when rewriting SETCC uses in flag copy lowering.

When we rewrite the setcc we replace set old setcc output register
with the new CondReg. But since CondReg can be shared by other
replacements, we don't know if the kill flags for the old register
are valid for CondReg. So be conservative and remove them.

The test case has a SETCCr and a SETCCm on the same condition so
they end up sharing the same CondReg. The SETCCr had one use with
a kill flag. This kill flag isn't valid after the replacement because
CondReg needs a live range extending to the later SETCCm replacment.

Fixes PR51908.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D110046
The file was addedllvm/test/CodeGen/X86/pr51908.mir
The file was modifiedllvm/test/CodeGen/X86/flags-copy-lowering.mir
The file was modifiedllvm/lib/Target/X86/X86FlagsCopyLowering.cpp
Commit 51a82e051e7cd25f0b60d5106400243bcf87233f by craig.topper
Revert "[X86] Clear kill flags when rewriting SETCC uses in flag copy lowering."

This reverts commit 7550f146ff75667d6e1828d64438dcc23b77f036.

I botched the bug number.
The file was modifiedllvm/lib/Target/X86/X86FlagsCopyLowering.cpp
The file was removedllvm/test/CodeGen/X86/pr51908.mir
The file was modifiedllvm/test/CodeGen/X86/flags-copy-lowering.mir
Commit e1ed02181ffcfea7de952d252a5e25953c822251 by aeubanks
[clang] Make -Rpass imply -Rpass=.*

Previously with -Rpass (and friends) we'd have remarks "enabled", but
without an actual regex.

As seen in the test change to line numbers, this can give us better
diagnostics by properly enabling NeedLocTracking with -Rpass.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D110201
The file was modifiedclang/test/Frontend/optimization-remark.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/Frontend/optimization-remark-analysis.c
Commit e95731cca7ecf5be22ea67a273cb19ba2c14d54c by jhuber6
[OpenMP] Add thread ID function into new RTL

The new device runtime library currently lacks the
`kmpc_get_hardware_thread_id_in_block` function which is currently used
when doing the SPMDzation optimization. This call would be introduced
through the optimization and then cause a linking error because it was
not present. This patch adds support for this runtime call.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D110195
The file was modifiedopenmp/libomptarget/DeviceRTL/src/Mapping.cpp
The file was modifiedopenmp/libomptarget/DeviceRTL/include/Interface.h
Commit 32ab405717ecb92041d8f753a1ccd0e5dd874cb7 by tejohnson
[LTO] Emit DebugLoc for dead function in optimization remarks

Currently, the dead functions information getting from optimizations remarks does not contain debug location, but knowing where these dead functions locate could be useful for debugging or for detecting dead code.

Cause in `LTO::addRegularLTO()` we use `BitcodeModule::getLazyModule()` to read the bitcode module, when we pass Function F to `ore::NV()`, F is not materialized, so `F->getSubprogram()` returns nullptr, and there is no debug location information of dead functions in optimizations remarks.

This patch call `F->materialize()` before we pass Function F to `ore::NV()`, then debug location information will be emitted for dead functions in optimization remarks.

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D109737
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/test/LTO/Resolution/X86/dead-strip-fulllto.ll
The file was modifiedllvm/include/llvm/LTO/LTO.h
Commit b81e26c7f470ee324095f7adfbe0384974db4375 by craig.topper
Recommit "[X86] Clear kill flags when rewriting SETCC uses in flag copy lowering."

This time with the right bug number.

When we rewrite the setcc we replace set old setcc output register
with the new CondReg. But since CondReg can be shared by other
replacements, we don't know if the kill flags for the old register
are valid for CondReg. So be conservative and remove them.

The test case has a SETCCr and a SETCCm on the same condition so
they end up sharing the same CondReg. The SETCCr had one use with
a kill flag. This kill flag isn't valid after the replacement because
CondReg needs a live range extending to the later SETCCm replacment.

Fixes PR51903.
The file was addedllvm/test/CodeGen/X86/pr51903.mir
The file was modifiedllvm/test/CodeGen/X86/flags-copy-lowering.mir
The file was modifiedllvm/lib/Target/X86/X86FlagsCopyLowering.cpp
Commit bdaf038266c28a67bce83491dafd6752e53d4e33 by zinenko
[mlir] Always create a list of alias scopes when emitting LLVM IR

Previously, the translation to LLVM IR would emit IR that directly uses
a scope metadata node in case only one scope was in use in alias.scopes
or noalias metadata. It should always be a list of scopes. The verifier
change in 8700f2bd36bb9b7d7075ed4dac0aef92b9489237 enforced this and
broke the test. Fix the translation to always create a list of scopes
using a new metadata node, update and reenable the respective test.

Fixes PR51919.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D110140
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/test/Target/LLVMIR/llvmir.mlir
Commit 26499995799516c361afc3f2481f50272ac3c2ea by kstoimenov
[asan] Fixed a bug causing a crash when redzone optimization kicked in on X86 with -asan-optimize-callbacks flag on.

This change adds the ASan intrinsic to the list whihc are setting hasCopyImplyingStackAdjustment.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D110012
The file was modifiedllvm/test/CodeGen/X86/asan-check-memaccess-or.ll
The file was modifiedllvm/test/CodeGen/X86/asan-check-memaccess-add.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e42234383e2c0a7472413cd8047889f6ad4afc88 by aeubanks
Make DiagnosticInfoResourceLimit's limit param required

And always print it.

This makes some LLVM diagnostics match up better with Clang's diagnostics.

Updated some AMDGPU uses of DiagnosticInfoResourceLimit and now we print
better diagnostics for those.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D110204
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedclang/test/Misc/backend-stack-frame-diagnostics-fallback.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/stack-size-overflow.ll
The file was modifiedclang/test/Misc/backend-resource-limit-diagnostics.cl
The file was modifiedllvm/lib/CodeGen/PrologEpilogInserter.cpp
The file was modifiedllvm/lib/IR/DiagnosticInfo.cpp
The file was modifiedllvm/include/llvm/IR/DiagnosticInfo.h
Commit 45c0ebe00efbc09750a808f1e95377b9ea1744c4 by Yuanfang Chen
[libc++] Surpress -Wunused-value warning in variant

The idiom helps with parameter unpacking so the return value is not
important. Make it explicit.
The file was modifiedlibcxx/include/variant
Commit 645b8f5365de49cbced4286f86e4a149c56600d3 by mnadeem
[AArch64][SVE] Add patterns to generate ADR instruction

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

Change-Id: I9d2928688b80b804a16f52928e2057749ec2c0b2
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-gep.ll
The file was addedllvm/test/CodeGen/AArch64/sve-adr.ll
Commit 22ea0cea595e1b44b46c520243f2292bc4e3d943 by rnk
[compiler-rt] [windows] Add more assembly patterns for interception

To intercept the functions in Win11's ntdll.dll, we need to use the trampoline
technique because there are bytes other than 0x90 or 0xcc in the gaps between
exported functions.  This patch adds more patterns that appear in ntdll's
functions.

Bug: https://bugs.llvm.org/show_bug.cgi?id=51721

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D109941
The file was modifiedcompiler-rt/lib/interception/tests/interception_win_test.cpp
The file was modifiedcompiler-rt/lib/interception/interception_win.cpp
Commit 56dec4be9bd321a8fc0f19df00a8d63fc44813f5 by tejohnson
[Sanitizer] Allow setting the report path to create directory

When setting the report path, recursively create the directory as
needed. This brings the profile path support for memprof on par with
normal PGO. The code was largely cloned from __llvm_profile_recursive_mkdir
in compiler-rt/lib/profile/InstrProfilingUtil.c.

Differential Revision: https://reviews.llvm.org/D109794
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_file.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
The file was modifiedcompiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_path_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_file.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_win.cpp
Commit f8b1cc36578608f2f840d7ea8b0aa9b28fdaa492 by Louis Dionne
[libc++abi] Remove unnecessary atomic_support.h header from libc++abi

The file was a duplicate of atomic_support.h in libc++. Since we now
require the libc++ sources in order to build libc++abi, it's OK to
remove this duplication.

Thanks to @chandlerc for noticing this.

Differential Revision: https://reviews.llvm.org/D110103
The file was modifiedlibcxxabi/src/CMakeLists.txt
The file was modifiedlibcxxabi/src/cxa_guard_impl.h
The file was modifiedlibcxxabi/src/cxa_handlers.cpp
The file was modifiedlibcxxabi/src/cxa_default_handlers.cpp
The file was modifiedlibcxxabi/test/libcxxabi/test/config.py
The file was modifiedlibcxx/src/include/atomic_support.h
The file was modifiedlibcxxabi/src/stdlib_stdexcept.cpp
The file was modifiedlibcxxabi/src/cxa_exception.cpp
The file was removedlibcxxabi/src/include/atomic_support.h
Commit 5f187f0afaad33013ba03454c4749d99b1362534 by aktoon
[SamplePGO] Add switch to honor zero count on block level as accurate

Add a new LLVM switch `-profile-sample-block-accurate` to trust zero block counts for branches. Currently we leave out such zero counts when annotating branch weight metadata, which would lead to weights being considered as unknown.

Differential Revision: https://reviews.llvm.org/D110117
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
Commit 7a320b279d076cb0736caed2a222b1d3367b003d by daltenty
[libcxx][AIX] Remove locale fallbacks for old OS levels

These routines were add years ago during initial porting attempts to AIX and are mostly build hacks for routines which we're missing at the time, but are available now on recent AIX OS levels.

Thus builds on modern AIX OS levels no longer need these and they cause problems if you try to build the library with a generic triple (i.e. powerpc-ibm-aix) as we'll pull them in and encounter duplicate definitions from the OS.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D110183
The file was modifiedlibcxx/include/CMakeLists.txt
The file was removedlibcxx/include/__support/ibm/locale_mgmt_aix.h
The file was modifiedlibcxx/include/__support/ibm/xlocale.h
Commit da93829b441525fd82a23c710290328907dde756 by clattner
[DialectAsmPrinter] Add missing 'printAttributeWithoutType' member.

DialectAsmParser has a `parseAttribute` member that takes a
contextual type, but DialectAsmPrinter doesn't have the corresponding
member to take advantage of it.  As such, custom attribute
implementations can't really use it.  This adds the obvious missing
method which fills this hole.

Differential Revision: https://reviews.llvm.org/D110211
The file was modifiedmlir/include/mlir/IR/DialectImplementation.h
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
Commit 7acd1807dd6899441cff9e1246155379971352fb by tejohnson
[Sanitizer] Modify test to avoid bot timeouts

Change the mutex type to one that initializes on construction and
hopefully avoid what appear to be deadlock failures in the new test
on a couple bots, e.g.:

https://green.lab.llvm.org/green/job/clang-stage1-RA/24140/testReport/SanitizerCommon-Unit/__Sanitizer-x86_64-Test/SanitizerCommon_ReportFile/
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cpp
Commit a83eda591c1032e24100f9bf551db9bc7a303f97 by shaoce
[RISCV][NFC] Deleted useless lines in clang tests.
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmsac.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsuxei.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfrsqrt7.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vnot.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vid.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vasub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfrdiv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwmsac.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwredsum.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsra.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsse.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vloxei.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vredand.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmxnor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vslidedown.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfgt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vamoswap.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vslide1down.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmerge.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vundefined.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsetvl.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfne.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfnmsac.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfsqrt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsetvlmax.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vneg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsne.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vredmin.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmadc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmflt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vrem.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsof.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vslideup.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmand.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmul.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwcvt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vnmsac.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsrl.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vncvt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vssub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vaadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vnsra.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vadc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vredor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfredmax.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsbc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vamoor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmin.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfncvt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfrec7.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmxor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vrgather.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmnand.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vxor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vzext.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vamoxor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmnor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsbc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vamoadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsext.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsoxei.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfneg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmin.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmslt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfredsum.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmnot.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsll.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vlmul.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vluxei.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vwsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmax.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vamoand.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfredmin.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsge.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vnmsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfeq.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmset.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfclass.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vamomax.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfrsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwnmsac.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/viota.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vdiv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsbf.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsgt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfslide1down.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwmul.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vwmul.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vnclip.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsmul.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vnsrl.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vslide1up.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwnmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfle.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfsgnj.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfabs.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwredosum.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfnmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vwadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vwcvt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfge.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vreinterpret.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vredxor.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vredsum.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsif.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmax.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vwredsum.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmclr.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfnmadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vredmax.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfcvt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmseq.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmerge.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vleff.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfdiv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfnmsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vssrl.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vrsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vpopc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vlse.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmul.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vssra.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmmv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmsle.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vamomin.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vand.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfirst.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vwmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfslide1up.c
Commit d9aff62560e100df2285c5e6d2401ad0cbefa93d by shaoce
[NFC] Fix typo.
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.td
Commit d31dfc30115705332034a81b6b2ab904ca1cf029 by dblaikie
DebugInfo: Unify some printing policy adjustments
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit db6f1e8a8857ccaa339304131373f3150528e812 by dblaikie
DebugInfo: Don't suppress inline namespaces when printing template template parameter names
The file was modifiedclang/test/CodeGenCXX/debug-info-template.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit 4c2ee571482e066c0a524bd393a4c61aeaecff8a by Matthew.Arsenault
AMDGPU: Fix test relying on incompatible attributes

This combination of amdgpu-waves-per-eu and
amdgpu-flat-work-group-size cannot be satisfied at the same time, so
this was using the default.
The file was modifiedllvm/test/CodeGen/AMDGPU/large-work-group-promote-alloca.ll
Commit bc4a23811b021f4e5369162ed84f88a0240a81e2 by joeloser93
[libc++][test] Fix iterator assertion in span.cons/deduct.pass.cpp

Two tests in span.cons/deduct.pass.cpp accidentally check whether the
iterator range from member begin and member end are equivalent to the
ones from free begin and free end. This is obviously true and not
intended. Correct the intent by comparing the size/data from the span
with the source input.

While in the neighborhood, add test for const int arr[N], remove extraneous
type aliases, unused <type_traits> header, and the
disable_missing_braces_warning.h include.

Reviewed By: Quuxplusone, ldionne, #libc

Differential Revision: https://reviews.llvm.org/D109668
The file was modifiedlibcxx/test/std/containers/views/span.cons/deduct.pass.cpp
Commit ffa9fa9ed232f35c0b0dcd4ab48fc565cf8a2f42 by czhengsz
[PowerPC] prepare for udpate form with non-const increment.

This is a follow-up of D105872. Now we are able to prepare for update
form with non-const increment.

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D106032
The file was modifiedllvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/lsr-profitable-chain.ll
The file was modifiedllvm/test/CodeGen/PowerPC/loop-instr-prep-non-const-increasement.ll
Commit ec55dcedcec1cdf95d020307067bc871cb2b70e4 by Matthew.Arsenault
AMDGPU: Refactor getWavesPerEU to separate flat workgroup size query

Add an overload to pass the flat workgroup range in separately. This
will allow the attributor to use the assumed value for
amdgpu-flat-workgroup-sizes when inferring amdgpu-waves-per-eu.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
Commit e247fed23b9220e59ec5438d4c2013c0bf7f3fe9 by shaoce
[RISCV] add Half-precision test for clang

and deleted useless lines.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D109799
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vlsegff.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vslideup.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfclass.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfncvt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfnmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsoxseg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwnmsac.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfrsqrt7.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmul.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfge.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfle.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsoxei.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vloxei.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfne.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfnmsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfredsum.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfnmadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfrdiv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwcvt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmerge.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfslide1down.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vrgather.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfsqrt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfdiv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfcvt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmax.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsuxseg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmerge.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfgt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfabs.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfsgnj.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwredsum.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vlmul.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfrsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmin.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfrec7.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vleff.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmsac.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vreinterpret.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vloxseg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vlsseg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsse.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsseg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwredosum.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vcompress.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vssseg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vundefined.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmflt.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vsuxei.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vluxseg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwmsac.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwsub.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfslide1up.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfnmsac.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vlse.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmv.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vslidedown.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vmfeq.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfredmax.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfneg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwmul.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vlseg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfmadd.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vluxei.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfwnmacc.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfredmin.c
Commit 2ff049b12ee3fb60581835a28bf9d0acc1723f23 by dblaikie
DebugInfo: Don't use preferred template names in debug info

Using the preferred name creates a mismatch between the textual name of
a type and the DWARF tags describing the parameters as well as possible
inconsistency between DWARF producers (like Clang and GCC, or
older/newer Clang versions, etc).
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/include/clang/AST/PrettyPrinter.h
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-template.cpp
Commit 84d07f4dfea3cd6673a828998e229dda2b081934 by Louis Dionne
[libc++] Add some missing _LIBCPP_HIDE_FROM_ABI markup

Also, as a fly-by fix, use `inline` directly to define inline variables
(all compilers support it).

Differential Revision: https://reviews.llvm.org/D110208
The file was modifiedlibcxx/include/__compare/common_comparison_category.h
The file was modifiedlibcxx/include/__compare/ordering.h
Commit 1d8bbafed202cfae5ce31bea36072490f3d07960 by shaoce
[RISCV][NFC] Fix clang test for vloxei/vluxei
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vluxei.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vloxei.c
Commit 128a9e1cb480188fc68aaedbcaf92d8ee74a92c7 by ajcbik
[mlir][sparse] cleanup ABI issues in C interface with memrefs

This change adds automatic wrapper functoins with emit_c_interface
to all methods in the sparse support library that deal with MEMREFs.
The wrappers will take care of passing MEMREFs by value internally
and by pointer externally, thereby avoiding ABI issues across platforms.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D110219
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
The file was modifiedmlir/lib/ExecutionEngine/SparseUtils.cpp
Commit 957514eb9e712d9f0ea5c7afb2294c05da0c5e2d by czhengsz
[PowerPC] add testcase for chain commoning; nfc
The file was addedllvm/test/CodeGen/PowerPC/common-chain.ll
Commit 20ee72d4ccb17c6f32641c690fa129475427ae45 by dvyukov
tsan: don't call dlsym during exit

dlsym calls into dynamic linker which calls malloc and other things.
It's problematic to do it during the actual exit, because
it can happen from a singal handler or from within the runtime
after we reported the first bug, etc.
See https://github.com/google/sanitizers/issues/1440 for an example
(captured in the added test).
Initialize the callbacks during startup instead.

Depends on D110159.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D110166
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was addedcompiler-rt/test/tsan/signal_exit.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
Commit cf93f7677de3cde9a1166d23eafddd27536c8b25 by dvyukov
tsan: move errno spoiling reporting into a separate function (NFC)

CallUserSignalHandler function is quite large and complex.
Move errno spoiling reporting into a separate function.
No logical changes.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D110159
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Commit 41f8ef3e3183145a49366bb4cc639dd13664d0c6 by dvyukov
tsan: enable sse4.2 in tests

Pass -msse4.2 flag to the tests the same way we do for the runtime.
Layout of some structs in the runtime headers depends on the flag
(TSAN_VECTORIZE), so we need it to be consistent across the runtime
and tests.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D110192
The file was modifiedcompiler-rt/lib/tsan/tests/CMakeLists.txt
Commit ced20c6672970ee416147b0fc8f2fb6e733acbc5 by llvm-project
[Polly] Add -polly-reschedule and -polly-postopts options.

This command line options allow to off parts of the schedule tree optimization pipeline.
The file was modifiedpolly/lib/Transform/ScheduleOptimizer.cpp
Commit db2f870fe3dcecc43c874ef571757d5aeac0569c by dvyukov
tsan: reset destination range in Java heap move

Switch Java heap move to the new scheme required for the new tsan runtime.
Instead of copying the shadow we reset the destination range.
The new v3 trace contains addresses of accesses, so we cannot simply copy the shadow.
This can lead to false negatives, but cannot lead to false positives.

Depends on D110159.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D110190
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
The file was modifiedcompiler-rt/test/tsan/java_race_move.cpp
The file was modifiedcompiler-rt/test/tsan/java_move_overlap_race.cpp
Commit 82e593cf900d10e9968fcecdcb51e922a553c2de by dvyukov
tsan: uninline Enable/DisableIgnores

ScopedInterceptor::Enable/DisableIgnores is only used for some special cases.
Unline them from the common interceptor handling.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D110157
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Commit 4986959eb2140a58f7bcce4b616483549a68e0a2 by dvyukov
tsan: prepare for trace mapping removal

Don't test for presence of the trace mapping,
it will be removed soon.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D110194
The file was modifiedcompiler-rt/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cpp
Commit 47f79c6057764e0c83016269ae2359f8c5c8d135 by Jonas Devlieghere
[lldb] Add --stack option to `target symbols add` command

Currently you can ask the target symbols add command to locate the debug
symbols for the current frame. This patch add an options to do that for
the whole call stack.

Differential revision: https://reviews.llvm.org/D110011
The file was addedlldb/test/API/macosx/add-dsym/TestAddDsymDownload.py
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
Commit abbb0f901ad85aaa06780deefbda9c0ee0c2c7a2 by diana.picus
[flang] Change complex type define in runtime for clang-cl

When compiling the runtime with a version of clang-cl newer than 12, we
define CMPLXF as __builtin_complex, which returns a float _Complex type.
This errors out in contexts where the result of CMPLXF is expected to be
a float_Complex_t. This is defined as _Fcomplex whenever _MSC_VER is
defined (and as float _Complex otherwise).

This patch defines float_Complex_t & friends as _Fcomplex only when
we're using "true" MSVC, and not just clang-pretending-to-be-MSVC. This
should only affect clang-cl >= 12.

Differential Revision: https://reviews.llvm.org/D110139
The file was modifiedflang/runtime/complex-reduction.c
The file was modifiedflang/runtime/complex-reduction.h
Commit e08a5dc86f1ff868a61e74bfea413889a3d5915f by flo
[InstCombine] Move InstCombineWorklist to Utils to allow reuse (NFC).

InstCombine's worklist can be re-used by other passes like
VectorCombine. Move it to llvm/Transform/Utils and rename it to
InstructionWorklist.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D110181
The file was addedllvm/include/llvm/Transforms/Utils/InstructionWorklist.h
The file was modifiedllvm/include/llvm/Transforms/InstCombine/InstCombiner.h
The file was removedllvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h
The file was modifiedllvm/include/llvm/Transforms/InstCombine/InstCombine.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 7ce638538bcf323cd15ed5dfbc43013312b0e3e3 by 1.int32
[clang][ASTImporter] Generic attribute import handling (first step).

Import of Attr objects was incomplete in ASTImporter.
This change introduces support for a generic way of importing an attribute.
For an usage example import of the attribute AssertCapability is
added to ASTImporter.
Updating the old attribute import code and adding new attributes or extending
the generic functions (if needed) is future work.

Reviewed By: steakhal, martong

Differential Revision: https://reviews.llvm.org/D109608
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
Commit ecd5145c27e819f95036cc0be8f22ce174f19238 by sebastian.neubauer
[Utils] Replace llc with cat for tests

Make the update_llc_test_checks script test independant of llc behavior
by using cat with static files to simulate llc output.

This allows changing llc without breaking the script test case.

The update script is executed in a temporary directory, so the
llc-generated assembly files are copied there. %T is deprecated, but it
allows copying a file with a predictable filename.

Differential Revision: https://reviews.llvm.org/D110143
The file was addedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_no_merge_comments-O0.s
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_no_merge_comments.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/amdgpu-no-merge-comments.test
The file was modifiedllvm/utils/UpdateTestChecks/common.py
The file was addedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_no_merge_comments-O3.s
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_no_merge_comments.ll.expected
Commit 608ffc98c3b781a3da9b7222d145cade96fda14c by dvyukov
tsan: account for mid app range in mem profile

We account low and high ranges, but forgot abount the mid range.
Account mid range as well.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D110148
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
Commit eefef56ece7e27c8746cd207e8e2d96996ea5de1 by dvyukov
tsan: include MBlock/SyncObj stats into mem profile

Include info about MBlock/SyncObj memory consumption in the memory profile.

Depends on D110148.

Reviewed By: melver, vitalybuka

Differential Revision: https://reviews.llvm.org/D110149
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_dense_alloc.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.cpp
Commit 58a157cd3b54942283a301019dceb65be2da85f7 by dvyukov
tsan: make mem profile data more consistent

We currently query number of threads before reading /proc/self/smaps.
But reading /proc/self/smaps can take lots of time for huge processes
and it's retries several times with different buffer sizes.
Overall it can take tens of seconds. This can make number of threads
significantly inconsistent with the rest of the stats.
So query it after reading /proc/self/smaps.

Depends on D110149.

Reviewed By: melver, vitalybuka

Differential Revision: https://reviews.llvm.org/D110150
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_windows.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
Commit b8aa9b0c37f4914cdd68aef5cf32fb411d2674c0 by dvyukov
tsan: include internal allocator info in mem profile

We allocate things from the internal allocator,
it's useful to know how much it consumes.

Depends on D110150.

Reviewed By: melver, vitalybuka

Differential Revision: https://reviews.llvm.org/D110151
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
Commit e8101f2149dfcd6a915b975a1f83ac09a5cd04b9 by dvyukov
tsan: move mem profile initialization into separate function

BackgroundThread function is quite large,
move mem profile initialization into a separate function.

Depends on D110151.

Reviewed By: melver, vitalybuka

Differential Revision: https://reviews.llvm.org/D110152
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
Commit ae6d57ca5a945063a25181e3875c1fcf3787a040 by dvyukov
tsan: remove stale comment

We do query it every 100ms now.
(GetRSS was fixed to not be dead slow IIRC)

Depends on D110152.

Reviewed By: melver, vitalybuka

Differential Revision: https://reviews.llvm.org/D110153
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
Commit 0ee77d6db355215273eb78c4546321067c882ff3 by dvyukov
tsan: write uptime in mem profile

Write uptime in real time seconds for every mem profile record.
Uptime is useful to make more sense out of the profile,
compare random lines, etc.

Depends on D110153.

Reviewed By: melver, vitalybuka

Differential Revision: https://reviews.llvm.org/D110154
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_windows.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform.h
Commit 636fc0ef86f69229486c36f0d3c7539fef860a5a by david.green
[ARM] Add additional tests for VMOVL in tail predicated loops.
The file was addedllvm/test/CodeGen/Thumb2/mve-vmovlloop.ll
Commit 3828ea6181fd007438379de70fc7b9fc9c8dbb02 by jay.foad
[AMDGPU] Divergence-driven instruction selection for mul i32

Differential Revision: https://reviews.llvm.org/D109881
The file was modifiedllvm/test/CodeGen/AMDGPU/urem-seteq-illegal-types.ll
The file was modifiedllvm/lib/Target/AMDGPU/SOPInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/VOP3Instructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/wwm-reserved.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vgpr-liverange-ir.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wwm-reserved-spill.ll
Commit 0205806d0fe5706c76ae1756e9180918dd495446 by jay.foad
[AMDGPU] Convert mac/fmac to mad/fma when folding output modifiers

Use of output modifiers forces VOP3 encoding for a VOP2 mac/fmac
instruction, so we might as well convert it to the more flexible VOP3-
only mad/fma form.

With this change, the only way we should emit VOP3-encoded mac/fmac is
if regalloc chooses registers that require the VOP3 encoding, e.g. sgprs
for both src0 and src1. In all other cases the mac/fmac should either be
converted to mad/fma or shrunk to VOP2 encoding.

Differential Revision: https://reviews.llvm.org/D110156
The file was modifiedllvm/test/CodeGen/AMDGPU/mad-mix-lo.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/mad-mix.ll
Commit ab3607c0ed92a7e39952ce22e72e778d2679876a by sander.desmalen
[AArch64][SVE] Add missing load/store patterns for unpacked bfloat vectors.

Reviewed By: c-rhodes

Differential Revision: https://reviews.llvm.org/D110063
The file was modifiedllvm/test/CodeGen/AArch64/sve-masked-ldst-nonext.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-ld1-addressing-mode-reg-reg.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-st1-addressing-mode-reg-reg.ll
Commit 300870a95c22fde840862cf57d82adba3e5bd633 by flo
[VectorCombine] Switch to using a worklist.

This patch updates VectorCombine to use a worklist to allow iterative
simplifications where a combine enables other combines.

Suggested in D100302.

The main use case at the moment is foldSingleElementStore and
scalarizeLoadExtract working together to improve scalarization.

Note that we now also do not run SimplifyInstructionsInBlock on the
whole function if there have been changes. This means we fail to
remove/simplify instructions not related to any of the vector combines.
IMO this is fine, as simplifying the whole function seems more like a
workaround for not tracking the changed instructions.

Compile-time impact looks neutral:
NewPM-O3: +0.02%
NewPM-ReleaseThinLTO: -0.00%
NewPM-ReleaseLTO-g: -0.02%

http://llvm-compile-time-tracker.com/compare.php?from=52832cd917af00e2b9c6a9d1476ba79754dcabff&to=e66520a4637290550a945d528e3e59573485dd40&stat=instructions

Reviewed By: spatel, lebedev.ri

Differential Revision: https://reviews.llvm.org/D110171
The file was modifiedllvm/test/Transforms/VectorCombine/X86/extract-binop-inseltpoison.ll
The file was modifiedllvm/test/Transforms/PhaseOrdering/AArch64/matrix-extract-insert.ll
The file was modifiedllvm/test/Transforms/VectorCombine/X86/extract-binop.ll
The file was modifiedllvm/test/Transforms/VectorCombine/load-insert-store.ll
The file was modifiedllvm/test/Transforms/VectorCombine/AArch64/load-extract-insert-store-scalarization.ll
The file was modifiedllvm/lib/Transforms/Vectorize/VectorCombine.cpp
Commit 41492d77ba65338b9eb2b7f401e47acf22e4ea19 by llvm-dev
[LoopVectorize][X86] Add operands to make it more obvious what line the CHECK concerns

As we're checking the cost debug analysis these should match the original IR line - so we shouldn't have any variable naming issues.

I'm investigating v4i32 mul -> PMADDDW costs handling (for PR47437) and these CHECK lines were proving tricky to keep track of
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/mul_slm_16bit.ll
Commit 4ca1fbe361860976646ad09da26757bf32563145 by sander.desmalen
[SelectionDAG] Make WidenVecRes_Convert work for scalable vectors.

Most of the code wasn't yet scalable safe, although most of the
code conceptually just works for scalable vectors. This change
makes the algorithm work on ElementCount, where appropriate,
and leaves the fixed-width only code to use `getFixedNumElements`.

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D110058
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/test/CodeGen/AArch64/sve-fcvt.ll
Commit 36daf074d997a79f25a1de2a1b869170ea6c20cc by fmayer
[hwasan] also omit safe mem[cpy|mov|set].

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D109816
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/ipa.ll
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/ipa-alias.ll
The file was modifiedllvm/test/Instrumentation/HWAddressSanitizer/stack-safety-analysis.ll
The file was modifiedllvm/test/Instrumentation/HWAddressSanitizer/mem-intrinsics.ll
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/local.ll
The file was modifiedllvm/include/llvm/Analysis/StackSafetyAnalysis.h
Commit d0746f2e9bbf08f52196ae12f25d0ef7edcbbe4c by yikong
Don't fold (select C, (gep Ptr, Idx), Ptr) if C is vector but Idx is scalar

The folding rule (select C, (gep Ptr, Idx), Ptr) -> (gep Ptr, (select C,
Idx, 0)) creates a malformed SELECT IR if C is a vector while Idx is scalar.

  SELECT VecC, ScalarIdx, 0

We could splat Idx to a vector but it defeats the purpose of
optimisation. Don't apply the folding rule in this case.

This fixes a regression from commit d561b6fbdbe6d1da05fd92003a4ac1e37bf4b8bc.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
The file was modifiedllvm/test/Transforms/InstCombine/select-gep.ll
Commit a5e1c746b870d79142419a07a8aecc471eacfed1 by Raphael Isemann
Unbreak module builds by making InstructionWorklist.h non-modular

This regressed in D110181 and apparently the header intentionally requires
DEBUG_TYPE to be defined by the including file. Just exclude the header from
the module to unbreak the build.
The file was modifiedllvm/include/llvm/module.modulemap
Commit 02cd8a6b915a9dab32fdd91167f875ce5f67ebd4 by david.green
[ARM] Allow smaller VMOVL in tail predicated loops

This allows VMOVL in tail predicated loops so long as the the vector
size the VMOVL is extending into is less than or equal to the size of
the VCTP in the tail predicated loop. These cases represent a
sign-extend-inreg (or zero-extend-inreg), which needn't block tail
predication as in https://godbolt.org/z/hdTsEbx8Y.

For this a vecsize has been added to the TSFlag bits of MVE
instructions, which stores the size of the elements that the MVE
instruction operates on. In the case of multiple size (such as a
MVE_VMOVLs8bh that extends from i8 to i16, the largest size was be
chosen). The sizes are encoded as 00 = i8, 01 = i16, 10 = i32 and 11 =
i64, which often (but not always) comes from the instruction encoding
directly. A unit test was added, and although only a subset of the
vecsizes are currently used, the rest should be useful for other cases.

Differential Revision: https://reviews.llvm.org/D109706
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMInstrFormats.td
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vmovlloop.ll
The file was modifiedllvm/unittests/Target/ARM/MachineInstrTest.cpp
Commit 9f34f75ff8f49b0efca6e20d916527a2c432d8b4 by martin
[lldb] [Windows] Fix continuing from breakpoints and singlestepping on ARM/AArch64

Based on suggestions by Eric Youngdale.

This fixes https://llvm.org/PR51673.

Differential Revision: https://reviews.llvm.org/D109777
The file was modifiedlldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeThreadWindows.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.h
The file was modifiedlldb/source/Plugins/Platform/Windows/PlatformWindows.h
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
The file was modifiedlldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
Commit ea21d688dc0a420b9fc385562a46017fb39b13e5 by flo
[Matrix] Emit assumption that matrix indices are valid.

The matrix extension requires the indices for matrix subscript
expression to be valid and it is UB otherwise.

extract/insertelement produce poison if the index is invalid, which
limits the optimizer to not be bale to scalarize load/extract pairs for
example, which causes very suboptimal code to be generated when using
matrix subscript expressions with variable indices for large matrixes.

This patch updates IRGen to emit assumes to for index expression to
convey the information that the index must be valid.

This also adjusts the order in which operations are emitted slightly, so
indices & assumes are added before the load of the matrix value.

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D102478
The file was modifiedclang/test/CodeGenObjC/matrix-type-operators.m
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/test/CodeGenCXX/matrix-type-operators.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/test/CodeGen/matrix-type-operators.c
The file was modifiedllvm/include/llvm/IR/MatrixBuilder.h
Commit 1ee851c5859fdb36eca57a46347a1e7b8e1ff236 by spatel
Revert "[CodeGen] regenerate test checks; NFC"

This reverts commit 52832cd917af00e2b9c6a9d1476ba79754dcabff.
The motivating commit 2f6b07316f5 caused several bots to hit
an infinite loop at stage 2, so that needs to be reverted too
while figuring out how to fix that.
The file was modifiedclang/test/CodeGen/aapcs-bitfield.c
Commit c6013f71a4555f6d9ef9c60e6bc4376ad63f1c47 by spatel
Revert "[InstCombine] fold cast of right-shift if high bits are not demanded"

This reverts commit 2f6b07316f560a1f6d225919019dff2e5d6346e5.

This caused several bots to hit an infinite loop at stage 2,
so it needs to be reverted while figuring out how to fix that.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
The file was modifiedllvm/test/Transforms/InstCombine/trunc-demand.ll
Commit a7c6471a85380f5af644e50daf2951b41c82f1b2 by flo
[Passes] Run vector-combine early with -fenable-matrix.

IR with matrix intrinsics is likely to also contain large vector
operations, which can benefit from early simplifications.

This is the last step in a series of changes to improve code-gen for
code using matrix subscript operators with the C/C++ matrix extension in
CLang, like

    using matrix_t = double __attribute__((matrix_type(15, 15)));

    void foo(unsigned i, matrix_t &A, matrix_t &B) {
      for (unsigned j = 0; j < 4; ++j)
        for (unsigned k = 0; k < i; k++)
          B[k][j] -= A[k][j] * B[i][j];
    }

https://clang.godbolt.org/z/6dKxK1Ed7

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D102496
The file was modifiedllvm/lib/Passes/PassBuilderPipelines.cpp
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was modifiedllvm/test/Transforms/PhaseOrdering/AArch64/matrix-extract-insert.ll
The file was modifiedllvm/test/Other/new-pm-defaults.ll
Commit c828b93fb367b67d5e6342fee179a93970ba71ec by thakis
[gn build] (manually) port f8b1cc365786
The file was modifiedllvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
Commit f099ac838e6bce8b743a71c2fc46c1699eae8dc3 by llvmgnsyncbot
[gn build] Port 7a320b279d07
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit d5681f1d688a45c000dd1e2c4f4d3678e0440b94 by sander.desmalen
[SelectionDAG] Add PromoteIntOp_INSERT_SUBVECTOR.

This is required to codegen something like:
  <vscale x 8 x i16> @llvm.experimental.vector.insert(<vscale x 8 x i16> %vec,
                                                      <vscale x 2 x i16> %subvec,
                                                      i64 %idx)
where the output vector is legal, but the input vector needs promoting.

It implements this by performing the whole operation on the promoted type,
and then truncating the result.

Reviewed By: david-arm, craig.topper

Differential Revision: https://reviews.llvm.org/D110059
The file was modifiedllvm/test/CodeGen/AArch64/sve-insert-vector.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
Commit 9689c1b7bb77d65e8acc9a13e5e416803d38b02f by Stefan Gränitz
[lldb] JITLoaderGDB tests can use lli in ORC greedy mode

At first, lli only supported lazy mode for ORC. Greedy mode was added with e1579894d205 and is the default settings now. JITLoaderGDB tests don't rely on laziness, so we can switch them to greedy and remove some complexity.
The file was modifiedlldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test
The file was modifiedlldb/test/Shell/Breakpoint/jit-loader_rtdyld_elf.test
Commit b6d10beb505cbf17c21668cca0486f89ce35857c by a.bataev
[SLP][NFC]Rename function in the test for better matching of the
transformation.
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/tiny-tree.ll
Commit 05b130342143a0c93407cfbecf6d7cf30c6d1890 by andrew.ng
[ELF][test] Restore important part of ICF alignment test

Restore the checking of addresses in ICF test which was testing the
behaviour of ICF with regards to different alignments of otherwise
identical sections. Also make the test more robust to layout changes.

Differential Revision: https://reviews.llvm.org/D110090
The file was modifiedlld/test/ELF/icf7.s
Commit 3a00e58c2fca0c20d3792c897ef1ea54b6a168a0 by Tim Northover
AArch64: use indivisible cmpxchg for 128-bit atomic loads at O0

Like normal atomicrmw operations, at -O0 the simple register-allocator can
insert spills into the LL/SC loop if it's expanded and visible when regalloc
runs. This can cause the operation to never succeed by repeatedly clearing the
monitor. Instead expand to a cmpxchg, which has a pseudo-instruction for -O0.
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic-128.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 3e8d2008f74245e9e1ca60bc97e4e619b0d42c6c by sander.desmalen
[SelectionDAG] Remove PromoteIntOp_EXTRACT_SUBVECTOR.

This code seems untested and is likely obsolete, because this case
should already be handled by the code that legalizes the result type
of EXTRACT_SUBVECTOR.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D110061
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
Commit 6375ca40590b9fea49a9d7d20f80d3da6af381f1 by sander.desmalen
[AArch64][SVE] Add extract_subvector patterns for unpacked fp16 and bfloat types.

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D110163
The file was modifiedllvm/test/CodeGen/AArch64/sve-extract-vector.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Commit f7d1a60cac6b7bb3199e3aba083346bf0eb4a24f by JCTremoulet
[mailmap] Add entry for myself
The file was modified.mailmap
Commit 1cf86df8839ae2c8ebb7c68e1c355ec960a153cf by jhuber6
[OpenMP] Make sure the Thread ID function is not removed

Summary:
The thread ID function was reintroduced in D110195, but could
potentially be removed by the optimizer. Make the function noinline to
preserve the call sites and add it to the externalization RAII so its
definition is not removed by the attributor.
The file was modifiedopenmp/libomptarget/DeviceRTL/include/Utils.h
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedopenmp/libomptarget/DeviceRTL/src/Mapping.cpp
Commit c97820c50d73d05d3ec5679253206d1ac39d10ee by sander.desmalen
[AArch64][SVE] NFC: Move extract_subvector tests around.

This patch splits up sve-extract-vector.ll into
  * sve-extract-fixed-vector.ll
  * sve-extract-scalable-vector.ll

For testing extracts of a fixed-width or scalable sub-vector from a
scalable source vector, respectively.
The file was addedllvm/test/CodeGen/AArch64/sve-extract-scalable-vector.ll
The file was removedllvm/test/CodeGen/AArch64/sve-extract-vector.ll
The file was addedllvm/test/CodeGen/AArch64/sve-extract-fixed-vector.ll
Commit e5aaf0332670577cc19ac67b07b10261da6fc1e1 by gusrb406
[InstCombine] Update InstCombine to use poison instead of undef for shufflevector's placeholder (1/3)

This patch is for fixing potential shufflevector-related bugs like D93818.
As D93818, this patch change shufflevector's default placeholder to poison.
To reduce risk, it was divided into several patches, and this patch is for InstCombineCasts.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D110226
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-f16c-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/vector-casts.ll
The file was modifiedllvm/test/Transforms/InstCombine/cast.ll
The file was modifiedclang/test/Headers/wasm.c
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-f16c.ll
The file was modifiedllvm/test/Transforms/InstCombine/shufflevec-bitcast.ll
The file was modifiedllvm/test/Transforms/InstCombine/shuffle-cast-dist.ll
The file was modifiedllvm/test/Transforms/InstCombine/trunc.ll
The file was modifiedllvm/test/Transforms/InstCombine/shufflevec-bitcast-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/trunc-inseltpoison.ll
Commit b1f38a27f0c95fdf5f81eac4812b781a9d612425 by llvm-dev
[Target][CodeGen] Remove default CostKind arguments on inner/impl TTI overrides

Based off a discussion on D110100, we should be avoiding default CostKinds whenever possible.

This initial patch removes them from the 'inner' target implementation callbacks - these should only be used by the main TTI calls, so this should guarantee that we don't cause changes in CostKind by missing it in an inner call. This exposed a few missing arguments in getGEPCost and reduction cost calls that I've cleaned up.

Differential Revision: https://reviews.llvm.org/D110242
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
The file was modifiedllvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.h
The file was modifiedllvm/lib/Target/Lanai/LanaiTargetTransformInfo.h
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.h
The file was modifiedllvm/lib/Target/BPF/BPFTargetTransformInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
Commit 1864976c967de36146eb5a5b86e6312d466e1031 by tejohnson
[Sanitizer] Add Windows header for _mkdir

This will hopefully fix the sanitizer_windows bot failure after D109794:
https://lab.llvm.org/buildbot/#/builders/127/builds/17222
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_win.cpp
Commit b034593c8719e42a56cf4e6cb2ffb762783b0d7f by Louis Dionne
[libc++][NFC] Add link to Discord channel from documentation
The file was modifiedlibcxx/docs/Contributing.rst
Commit ec8311444abec8ad68a9fd08e509ae2178b43ca3 by gusrb406
[InstCombine] Update InstCombine to use poison instead of undef for shufflevector's placeholder (2/3)

This patch is for fixing potential shufflevector-related bugs like D93818.
As D93818, this patch change shufflevector's default placeholder to poison.
To reduce risk, it was divided into several patches, and this patch is for InstCombineCompares and InstructionCombining.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D110227
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/transpose-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/shufflevector-div-rem.ll
The file was modifiedllvm/test/Transforms/InstCombine/vec-binop-select.ll
The file was modifiedllvm/test/Transforms/InstCombine/broadcast-inseltpoison.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/alternate-int-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/gep-inbounds-null.ll
The file was modifiedllvm/test/Transforms/InstCombine/icmp-vec.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll
The file was modifiedllvm/test/Transforms/PhaseOrdering/X86/shuffle.ll
The file was modifiedllvm/test/Transforms/InstCombine/shufflevector-div-rem-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/icmp-vec-inseltpoison.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/test/Transforms/InstCombine/broadcast.ll
The file was modifiedllvm/test/Transforms/InstCombine/getelementptr.ll
The file was modifiedllvm/test/Transforms/InstCombine/vec_shuffle.ll
The file was modifiedllvm/test/Transforms/PhaseOrdering/X86/shuffle-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/vscale_cmp.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/alternate-int.ll
The file was modifiedllvm/test/Transforms/InstCombine/vec_shuffle-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/vec-binop-select-inseltpoison.ll
Commit ca999f719117f916b333a794cc8c59984ae40dd2 by tianshilei1992
[OpenMP][Offloading] Use bitset to indicate execution mode instead of value

The execution mode of a kernel is stored in a global variable, whose value means:
- 0 - SPMD mode
- 1 - indicates generic mode
- 2 - SPMD mode execution with generic mode semantics

We are going to add support for SIMD execution mode. It will be come with another
execution mode, such as SIMD-generic mode. As a result, this value-based indicator
is not flexible.

This patch changes to bitset based solution to encode execution mode. Each
position is:
[0] - generic mode
[1] - SPMD mode
[2] - SIMD mode (will be added later)

In this way, `0x1` is generic mode, `0x2` is SPMD mode, and `0x3` is SPMD mode
execution with generic mode semantics. In the future after we add the support for
SIMD mode, `0b1xx` will be in SIMD mode.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D110029
The file was modifiedllvm/test/Transforms/OpenMP/get_hardware_num_threads_in_block_fold.ll
The file was modifiedllvm/test/Transforms/OpenMP/spmdization.ll
The file was modifiedllvm/test/Transforms/OpenMP/spmdization_guarding.ll
The file was modifiedopenmp/libomptarget/plugins/cuda/src/rtl.cpp
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_reduction_codegen.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPConstants.h
The file was modifiedllvm/test/Transforms/OpenMP/spmdization_assumes.ll
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_simd_codegen.cpp
The file was modifiedopenmp/libomptarget/plugins/cuda/CMakeLists.txt
The file was modifiedclang/test/OpenMP/nvptx_target_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_proc_bind_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/is_spmd_exec_mode_fold.ll
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
Commit 400b33e18d27d801ec5ad1cc52b34c6d8bed64aa by joeloser93
[libc++] Disallow volatile types in std::allocator

LWG 2447 is marked as `Complete`, but there is no `static_assert` to
reject volatile types in `std::allocator`. See the discussion at
https://reviews.llvm.org/D108856.

Add `static_assert` in `std::allocator` to disallow volatile types. Since this
is an implementation choice, mark the binding test as `libc++` only.

Remove tests that use containers backed by `std::allocator` that test
the container when used with a volatile type.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D109056
The file was removedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.volatile.pass.cpp
The file was modifiedlibcxx/TODO.TXT
The file was modifiedlibcxx/test/std/concepts/concepts.lang/concept.default.init/default_initializable.compile.pass.cpp
The file was addedlibcxx/test/libcxx/memory/allocator_volatile.verify.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.pass.cpp
The file was modifiedlibcxx/include/__memory/allocator.h
Commit 98e96663f6a77ee06c5db3f25cdcf19b56ac8f04 by gusrb406
[InstCombine] Update InstCombine to use poison instead of undef for shufflevector's placeholder (3/3)

This patch is for fixing potential shufflevector-related bugs like D93818.
As D93818, this patch change shufflevector's default placeholder to poison.
To reduce risk, it was divided into several patches, and this patch is for InstCombineVectorOps.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D110230
The file was modifiedllvm/test/Transforms/InstCombine/broadcast.ll
The file was modifiedllvm/test/Transforms/InstCombine/shuffle-cast-dist.ll
The file was modifiedclang/test/CodeGen/aarch64-bf16-ldst-intrinsics.c
The file was modifiedclang/test/CodeGen/aarch64-neon-dot-product.c
The file was modifiedllvm/test/Transforms/InstCombine/vec_demanded_elts-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-f16c-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/obfuscated_splat-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/insert-extract-shuffle.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-avx512.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-f16c.ll
The file was modifiedllvm/test/Transforms/InstCombine/obfuscated_splat.ll
The file was modifiedllvm/test/Transforms/InstCombine/vec_shuffle-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/trunc-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-avx512-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/broadcast-inseltpoison.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/test/Transforms/InstCombine/trunc.ll
The file was modifiedclang/test/CodeGen/arm-neon-dot-product.c
The file was modifiedllvm/test/Transforms/InstCombine/insert-extract-shuffle-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/reduction-shufflevector.ll
The file was modifiedllvm/test/Transforms/InstCombine/vec_shuffle.ll
The file was modifiedllvm/test/Transforms/InstCombine/vec_demanded_elts.ll
Commit 8a44281f478fb0b62ea2d09f10b13643f774cdab by llvm-dev
[SLP] getReductionCost - use explicit TTI::TCK_RecipThroughput CostKind. NFCI.

Avoid relying on the default cost kinds in TTI calls (we already do this in other places in SLP) - noticed while trying to see how much work it'd be to extend D110242 and remove all remaining uses of default CostKind arguments.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 506dbd88fe8f1d3ac43457a9bb960c4745368886 by Stefan Gränitz
[ORC] Re-enable ELF DebugObjectManagerPlugin tests

These tests were disabled by accident after D107640. Actually, REQUIRES lines don't support `x86_64` and so these tests stopped running on all targets.
`native && target-x86_64` should be the correct term to express "x86_64 host targeting native arch".
The file was modifiedllvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll
The file was modifiedllvm/test/ExecutionEngine/OrcLazy/debug-descriptor-elf-minimal.ll
Commit 3c557cd7f9a5d71a763a12027f18de66f6360562 by kazu
[CodeGen] Remove redundant declaration MIRCanonicalizerID (NFC)

Note that MIRCanonicalizerID is declared in
llvm/include/llvm/CodeGen/Passes.h, which MIRCanonicalizerPass.cpp
includes.

Identified with readability-redundant-declaration.
The file was modifiedllvm/lib/CodeGen/MIRCanonicalizerPass.cpp
Commit 173dd896db976d1e975a2a5d844fc09238884277 by a.bataev
[SLP][NFC]Add a test to show an issue with incorrectly extracted
pointers.
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/extract_in_tree_user.ll
Commit d9b511d8e8c43f79e0e277be287656693dd6563f by hoy
[CSSPGO] Set PseudoProbeInserter as a default pass.

Currenlty PseudoProbeInserter is a pass conditioned on a target switch. It works well with a single clang invocation. It doesn't work so well when the backend is called separately (i.e, through the linker or llc), where user has always to pass -pseudo-probe-for-profiling explictly. I'm making the pass a default pass that requires no command line arg to trigger, but will be actually run depending on whether the CU comes with `llvm.pseudo_probe_desc` metadata.

Reviewed By: wenlei

Differential Revision: https://reviews.llvm.org/D110209
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/lib/CodeGen/PseudoProbeInserter.cpp
The file was modifiedllvm/test/CodeGen/X86/opt-pipeline.ll
The file was modifiedllvm/test/Transforms/SampleProfile/pseudo-probe-emit.ll
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.cpp
The file was modifiedlld/test/ELF/lto/pseudo-probe-lto.ll
The file was modifiedllvm/test/Transforms/SampleProfile/pseudo-probe-emit-inline.ll
The file was modifiedllvm/test/tools/llvm-profgen/truncated-pseudoprobe.test
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.h
The file was modifiedllvm/lib/CodeGen/CommandFlags.cpp
The file was modifiedlld/ELF/Config.h
The file was modifiedlld/ELF/LTO.cpp
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedlld/ELF/Options.td
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedllvm/include/llvm/Target/TargetOptions.h
The file was modifiedllvm/test/CodeGen/X86/O0-pipeline.ll
The file was modifiedllvm/test/Transforms/SampleProfile/pseudo-probe-dangle.ll
The file was modifiedllvm/test/Transforms/SampleProfile/pseudo-probe-instsched.ll
Commit b205b3300b2f3b18bf82771f761eb8e6794f3e32 by tianshilei1992
[NFC] clang-format -i llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Commit b33a1cc05b4800ae9e8c7df097c4a76c9da28c94 by craig.topper
[RISCV] Optimize vp.store with an all ones mask to avoid a vmset.

We can use riscv_vse intrinsic instead of riscv_vse_mask. The code here
is based on similar code for handling masked.scatter and vp.scatter.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D110206
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpstore.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vpstore.ll
Commit 56bddf3b1c035043c2568efaa8aa37f6fa87f9f1 by ajcbik
[mlir][sparse] replace ad-hoc MemRef struct with CRunnerUtils definition

This revision removes the ad-hoc MemRefs that were needed using the old
ABI (when we still passed by value) and replaces them with the shared
StridedMemRef definitions of CRunnerUtils (possible now that we pass by
pointer). This avoids code duplication and makes sure we have a consistent
view of strided memory references in all our support libraries.

Reviewed By: jsetoain

Differential Revision: https://reviews.llvm.org/D110221
The file was modifiedmlir/lib/ExecutionEngine/SparseUtils.cpp
Commit 277b681edec2ee4394c7e62a118ad21b2cbbb227 by jhuber6
[OpenMP] Add function tracing debugging to device RTL

This patch adds support for an RAII struct that will print function
traces when placed inside of a function declaration. Each successive
call will increase the indentation to make it easier to visually
inspect.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D110202
The file was modifiedopenmp/libomptarget/DeviceRTL/include/Configuration.h
The file was modifiedopenmp/libomptarget/DeviceRTL/include/Debug.h
The file was modifiedopenmp/libomptarget/DeviceRTL/src/Configuration.cpp
The file was modifiedopenmp/libomptarget/DeviceRTL/src/Debug.cpp
Commit 2131eb696386241e77f257ccc57e1a7955869971 by Stefan Gränitz
[ORC] DebugObjectManagerPlugin tests can use lli in ORC greedy mode

Initially, lli only supported lazy mode for ORC. Greedy mode was added with e1579894d205 and it's the default setting now. DebugObjectManagerPlugin tests don't rely on laziness, so we can switch them to greedy in order to avoid some unnecessary complexity.
The file was modifiedllvm/test/ExecutionEngine/OrcLazy/debug-descriptor-elf-minimal.ll
The file was modifiedllvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll
Commit 1aedf77ece6bc9a1fc70453d4603280bde6ebf1f by mascasa
[HWASan] Use a single .weak binding in asm.

Specifying .global and .weak causes a compiler warning:

  warning: __sigsetjmp changed binding to STB_WEAK

Specifying only .weak should have the same effect without causing a
warning.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D110178
The file was modifiedcompiler-rt/lib/hwasan/hwasan_setjmp_x86_64.S
The file was modifiedcompiler-rt/lib/hwasan/hwasan_setjmp_aarch64.S
Commit 32a50078657dd8beead327a3478ede4e9d730432 by sivachandra
[libc] Add an implementation of bsearch.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D110222
The file was modifiedlibc/spec/spec.td
The file was modifiedlibc/config/linux/api.td
The file was addedlibc/test/src/stdlib/bsearch_test.cpp
The file was modifiedlibc/spec/stdc.td
The file was modifiedlibc/src/stdlib/CMakeLists.txt
The file was addedlibc/src/stdlib/bsearch.cpp
The file was modifiedlibc/config/linux/aarch64/entrypoints.txt
The file was modifiedlibc/test/src/stdlib/CMakeLists.txt
The file was addedlibc/src/stdlib/bsearch.h
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
Commit e7249e4acf3cf9438d6d9e02edecebd5b622a4dc by aeubanks
[SimplifyCFG] Ignore free instructions when computing cost for folding branch to common dest

When determining whether to fold branches to a common destination by
merging two blocks, SimplifyCFG will count the number of instructions to
be moved into the first basic block. However, there's no reason to count
free instructions like bitcasts and other similar instructions.

This resolves missed branch foldings with -fstrict-vtable-pointers in
llvm-test-suite's lambda benchmark.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D108837
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/fold-branch-to-common-dest-free-cost.ll
The file was modifiedllvm/test/CodeGen/AArch64/csr-split.ll
Commit fe16d331d345acfb06a01da15100d5899efb0c51 by aaron
Add document numbers for the C99 status page.

This doesn't add all of the document numbers, but it adds a bunch of
them. Not all of the documents are available on the committee page
(they're old enough that they come from a time when the mailing was
comprised of physical pieces of paper), so some of the documents listed
are assumed to be correct based on my reading of editor's reports.
The file was modifiedclang/www/c_status.html
Commit 1a7b7d7ba23232fe27c996e1731da7099859569c by daniil.fukalov
[NFCI][CodeGen, AArch64] Fix inconsistent TargetCostKind types.

The pass uses different cost kinds to estimate "old" and "interleaved" costs:
default cost kind for all targets override `getInterleavedMemoryOpCost()` is
`TCK_SizeAndLatency`. Although at the moment estimated `TCK_Latency` costs are
equal to `TCK_SizeAndLatency`, (so the change is NFC) it may change in future.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D110100
The file was modifiedllvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
Commit 734f4d832cd2d3a9520d2384c98e1429b53e0238 by hoy
[llvm-profgen] An option to dump disasm of specified symbols

For large app, dumping disasm of the whole program can be slow and result in gianant output. Adding a switch to dump specific symbols only.

Reviewed By: wlei

Differential Revision: https://reviews.llvm.org/D110079
The file was modifiedllvm/test/tools/llvm-profgen/pseudoprobe-decoding.test
The file was modifiedllvm/tools/llvm-profgen/ProfiledBinary.h
The file was modifiedllvm/tools/llvm-profgen/ProfiledBinary.cpp
Commit e828655313db901c733bf4bab6ac78c18833d765 by gysit
[mlir][linalg] Fix interchange initialization in fusion on tensors.

If no interchange vector is given initialize it with the identity permutation from 0 to number of loops.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D110249
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
Commit af99236747872af7e77092cbf6ddd18fa8623a2f by mbenfield
Don't diagnose unused but set when the Cleanup attribute is used.

This applies to -Wunused-but-set-variable and
-Wunused-but-set-parameter.

This addresses bug 51865.

Differential Revision: https://reviews.llvm.org/D109862
The file was modifiedclang/test/Sema/warn-unused-but-set-variables.c
The file was modifiedclang/lib/Sema/SemaDecl.cpp
Commit c240169ff2e416f2652a5d3a80a83ef68ab7fa23 by spatel
[Analysis] improve function matching for strlen libcall

The return type of strlen is size_t, not just any integer.

This is a partial fix for an example based on:
https://llvm.org/PR50836

There's another bug here because we can still crash
processing a real strlen or something that looks like it.
The file was modifiedllvm/test/Transforms/InstCombine/simplify-libcalls.ll
The file was modifiedllvm/test/Transforms/InstCombine/call-callconv.ll
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
Commit 97b2f20a446e54f4354d8f950dfab62c37e6ddf4 by erich.keane
Change error for storage-class to mean linkage, fix lang-linkage diag

Allow multiversioning declarations to match when the actual formal
linkage matches, not just when the storage class is identical.
Additionally, change the ambiguous 'linkage' mismatch to be more
specific and say 'language linkage'.
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/SemaCXX/attr-cpuspecific.cpp
The file was modifiedclang/test/SemaCXX/attr-target-mv.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
Commit c49611f9097899e51a91ddc71eb295486f5271ea by david.green
Mark CFG as preserved in TypePromotion and InterleaveAccess passes

Neither of these passes modify the CFG, allowing us to preserve DomTree
and LoopInfo across them by using setPreservesCFG.

Differential Revision: https://reviews.llvm.org/D110161
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll
The file was modifiedllvm/lib/CodeGen/InterleavedAccessPass.cpp
The file was modifiedllvm/lib/CodeGen/TypePromotion.cpp
Commit 43552651319e1c39c09ce0f61b588813414cebda by apl
[lldb] Remove IRExecutionUnit::CollectFallbackNames

The work that IRExecutionUnit::CollectFallbackNames is basically the
work that `CPlusPlusLanguage::GetDemangledFunctionNameWithoutArguments`
does already. It's also (at time or writing) specific to C++, so it can
be folded into `IRExecutionUnit::CollectCandidateCPlusPlusNames`.

Differential Revision: https://reviews.llvm.org/D109928
The file was modifiedlldb/include/lldb/Expression/IRExecutionUnit.h
The file was modifiedlldb/source/Expression/IRExecutionUnit.cpp
Commit 38c09ea2d279eddddabe3602e2002f8cdfcc5380 by dblaikie
DebugInfo: Add (initially no-op) -gsimple-template-names={simple,mangled}

This is to build the foundation of a new debug info feature to use only
the base name of template as its debug info name (eg: "t1" instead of
the full "t1<int>"). The intent being that a consumer can still retrieve
all that information from the DW_TAG_template_*_parameters.

So gno-simple-template-names is business as usual/previously ("t1<int>")
   =simple is the simplified name ("t1")
   =mangled is a special mode to communicate the full information, but
   also indicate that the name should be able to be simplified. The data
   is encoded as "_STNt1|<int>" which will be matched with an
   llvm-dwarfdump --verify feature to deconstruct this name, rebuild the
   original name, and then try to rebuild the simple name via the DWARF
   tags - then compare the latter and the former to ensure that all the
   data necessary to fully rebuild the name is present.
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/include/clang/Basic/DebugInfoOptions.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/Driver/debug-options.c
Commit 60a40cf37904f6496ad038be5f494e3c37a7d1bb by jhuber6
[OpenMP] Fix KeepAlive usage

Summary:
Functions were called the wrong way around, this didn't keep the symbol
alive.
The file was modifiedopenmp/libomptarget/DeviceRTL/src/Utils.cpp
The file was modifiedopenmp/libomptarget/DeviceRTL/src/Mapping.cpp
The file was modifiedopenmp/libomptarget/DeviceRTL/include/Utils.h
Commit 19d53d45f2709d37b07bcd73dc5300304ce2ffee by i
[ELF][AArch64] Refine and fix the condition when BTI/PAC PLT needs bti c

(As I mentioned in https://reviews.llvm.org/D62609#1534158 ,
the condition for using bti c for executable can be loosened.)

In two cases the address of a PLT may escape:

* canonical PLT entry for a STT_FUNC
* non-preemptible STT_GNU_IFUNC which is converted to STT_FUNC

The first case can be detected with `needsPltAddr`.

The second case is not straightforward to detect because for the Relocations.cpp
created `directSym`, it's difficult to know whether the associated `sym` has
exercised the `!needsPlt(expr)` code path. Just use the conservative `isInIplt`
condition. A non-preemptible ifunc not referenced by non-GOT-generating
non-PLT-generating relocations will have an unneeded `bti c`, but the cost is acceptable.

The second case fixes a bug as well: a -shared link may have non-preemptible ifunc.
Before the patch we did not emit `bti c` and could be wrong if the PLT address escaped.
GNU ld doesn't handle the case: `relocation R_AARCH64_ADR_PREL_PG_HI21 against STT_GNU_IFUNC symbol 'ifunc2' isn't handled by elf64_aarch64_final_link_relocate` (https://sourceware.org/bugzilla/show_bug.cgi?id=28370)

For -shared, if BTI is enabled but PAC is disabled, the PLT entry size increases
from 16 to 24 because we have to select the PLT scheme early, but the cost is
acceptable.

Reviewed By: peter.smith

Differential Revision: https://reviews.llvm.org/D110217
The file was modifiedlld/test/ELF/aarch64-feature-btipac.s
The file was modifiedlld/ELF/Arch/AArch64.cpp
The file was modifiedlld/test/ELF/aarch64-feature-bti.s
The file was modifiedlld/test/ELF/aarch64-ifunc-bti.s
The file was modifiedlld/test/ELF/Inputs/aarch64-addrifunc.s
Commit b05804ab4c8c62a9d24aff9a0da0eb8ba5d0296f by spatel
[Analysis] reduce code for isOnlyUsedInZeroEqualityComparison; NFC

There's a bug here noted by the FIXME and visible in variations of PR50836.
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit a85d7a56c7bbd9b3c8409c00f48de47bec5fc8af by spatel
[ValueTracking] fix isOnlyUsedInZeroEqualityComparison with no users

This is another problem exposed by:
https://bugs.llvm.org/PR50836
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was addedllvm/test/Transforms/InstCombine/strlen-3.ll
Commit 5da21338bcd0fe377fc788b1b24cf055ab1977af by ajcbik
[mlir][sparse] generalize reduction support in sparse compiler

Now not just SUM, but also PRODUCT, AND, OR, XOR. The reductions
MIN and MAX are still to be done (also depends on recognizing
these operations in cmp-select constructs).

Reviewed By: bixia

Differential Revision: https://reviews.llvm.org/D110203
The file was modifiedmlir/test/Dialect/SparseTensor/sparse_vector.mlir
The file was addedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reductions.mlir
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
Commit 9fb3669429a8bc59622c26ab6f5cf6926ee97e7d by joeloser93
[libc++][test] Remove disable_missing_braces_warning.h from tests

Several tests include `disable_missing_braces_warning.h` but do not need
to. Remove the include.

Inspired from discussion at https://reviews.llvm.org/D109668

Reviewed By: ldionne, #libc, Mordante

Differential Revision: https://reviews.llvm.org/D109711
The file was modifiedlibcxx/test/std/containers/sequences/array/array.data/data.pass.cpp
The file was modifiedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/apply.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.fill/fill.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/compare.fail.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/iterators.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.data/data_const.pass.cpp
The file was modifiedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/apply_extended_types.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.cons/deduct.fail.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.tuple/get.fail.cpp
The file was modifiedlibcxx/test/std/iterators/iterator.range/begin-end.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/at.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.cons/stdarray.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.fill/fill.fail.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.special/swap.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/indexing.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.cons/implicit_copy.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.swap/swap.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/compare.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.size/size.pass.cpp
The file was removedlibcxx/test/support/disable_missing_braces_warning.h
The file was modifiedlibcxx/test/std/containers/sequences/array/array.swap/swap.fail.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.tuple/get_const_rv.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.cons/deduct.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp
The file was modifiedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.tuple/get.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/front_back_const.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/at_const.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/front_back.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/indexing_const.pass.cpp
Commit cb793e1a3655b8a571cb621db9d221c46f32ba9f by Louis Dionne
[libc++][NFCI] Remove uses of _LIBCPP_INLINE_VAR

All supported compilers provide support for inline variables in C++17 now.
Also, as a fly-by fix, replace some uses of _LIBCPP_CONSTEXPR by just
constexpr.

The only exception in this patch is `std::ignore`, which is provided
prior to C++17. Since it is defined in an anonymous namespace, it always
has internal linkage anyway, so using an inline variable there doesn't
provide any benefit. Instead, `inline` was removed entirely on `std::ignore`.

Differential Revision: https://reviews.llvm.org/D110243
The file was modifiedlibcxx/include/variant
The file was modifiedlibcxx/include/__functional/bind.h
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/include/__utility/piecewise_construct.h
The file was modifiedlibcxx/include/ratio
The file was modifiedlibcxx/include/__memory/uses_allocator.h
The file was modifiedlibcxx/include/__mutex_base
The file was modifiedlibcxx/include/__utility/in_place.h
The file was modifiedlibcxx/include/type_traits
The file was modifiedlibcxx/include/tuple
The file was modifiedlibcxx/include/optional
The file was modifiedlibcxx/include/chrono
The file was modifiedlibcxx/include/new
The file was modifiedlibcxx/include/system_error
The file was modifiedlibcxx/include/__memory/allocator_arg_t.h
The file was modifiedlibcxx/include/experimental/simd
Commit b2b63d1b9122befaf44bf91a3ed1e8a71c6ffe06 by cathyzhyi
Reset operation when canceling root update transaction

Should reset the operation to original state when canceling the updates.

Reviewed By: rriddle, ftynse

Differential Revision: https://reviews.llvm.org/D110176
The file was modifiedmlir/lib/Transforms/Utils/DialectConversion.cpp
Commit 6e60bb6883178cf14e6fd47a6789495636e4322f by riddleriver
[mlir:DataFlowAnalysis] Reprocess the arguments of already executable edges

This fixes a bug where we discover new information about the arguments of an
already executable edge, but don't visit the arguments. We only visit the arguments, and not the block itself, so this commit shouldn't really affect performance at all.

Fixes PR#51871

Differential Revision: https://reviews.llvm.org/D110197
The file was modifiedmlir/lib/Analysis/DataFlowAnalysis.cpp
The file was modifiedmlir/test/Transforms/sccp.mlir
Commit d8e1203f91500a4a87218e9a8f5de03456bd8603 by nikita.ppv
[JumpThreading] Add test with free instructions (NFC)

Which demonstrates that "free" instructions can prevent jump
threading.
The file was addedllvm/test/Transforms/JumpThreading/free_instructions.ll
Commit 55aa4e92f7374f01ef8d3c2f793a8666a1b13dca by spatel
[InstCombine] add test for shift-shift with extra use; NFC
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll
Commit 1cd6b44f267b256051e6106d9cf665f3bae2fd22 by spatel
[InstCombine] add one-use check to shift-shift transform

We don't want to create extra instructions, and this
could infinite loop with the proposed transform in D110170.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll
Commit 474816384fd43f5176339b625981fd986be95489 by Louis Dionne
[libc++][NFC] Add missing whitespace in <compare>
The file was modifiedlibcxx/include/__compare/ordering.h
Commit a40a08ed988f4da0183622ff62bc151712bd9de0 by ravishankarm
[mlir][Linalg] Teach constant -> generic op fusion to handle scalar constants.

The current folder of constant -> generic op only handles splat
constants. The same logic holds for scalar constants. Teach the
pattern to handle such cases.

Differential Revision: https://reviews.llvm.org/D109982
The file was modifiedmlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
Commit b875343873a584965daf507d73ff1fe71eab1953 by yhs
[Clang] Ignore BTFTag attr if used as a type attribute

Currently, linux kernel has a __user attribute ([1]) defined as
   __attribute__((noderef, address_space(__user)))
which is used by sparse tool ([2]) to do some
type checking of pointers to user space memory.
During normal compilation, __user will be defined
to nothing so it won't have an impact on compilation.

The btf_tag attribute, which is motivated by
carrying linux kernel annotations into dwarf/BTF,
is introduced in [3]. We intended to define __user as
   __attribute__((btf_tag("user")))
so such information will be encoded in dwarf/BTF
and can be used later by bpf verification or other
tracing tools.

But linux kernel __user attribute is also used during
type conversion which btf_tag doesn't support ([4]) since
such type conversion is only used for compiler analysis
and not encoded in dwarf/btf. Theoretically, it is
possible for clang to understand these tags and
do a sparse-like type checking work. But I would like
to leave that to future work and for now suggest simply
ignore these btf_tag attributes if they are used
as type attributes.

  [1] https://github.com/torvalds/linux/blob/master/include/linux/compiler_types.h#L10
  [2] https://sparse.docs.kernel.org/en/latest/
  [3] https://reviews.llvm.org/D106614
  [4] https://github.com/torvalds/linux/blob/master/fs/binfmt_flat.c#L135

Differential Revision: https://reviews.llvm.org/D110116
The file was modifiedclang/test/Sema/attr-btf_tag.c
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedclang/include/clang/Basic/Attr.td
Commit 423d34f74a10ae122a67a18a76c2ead6e26924eb by tianshilei1992
[OpenMP][Offloading] Change `bool IsSPMD` to `int8_t Mode` in `__kmpc_target_init` and `__kmpc_target_deinit`

This is a follow-up of D110029, which uses bitset to indicate execution mode. This patches makes the changes in the function call.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D110279
The file was modifiedllvm/test/Transforms/OpenMP/spmdization_guarding.ll
The file was modifiedclang/test/OpenMP/nvptx_multi_target_parallel_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/custom_state_machines.ll
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_debug_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/spmdization.ll
The file was modifiedclang/test/OpenMP/nvptx_nested_parallel_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/parallel_level_fold.ll
The file was modifiedclang/test/OpenMP/nvptx_parallel_for_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/single_threaded_execution.ll
The file was modifiedllvm/test/Transforms/OpenMP/replace_globalization.ll
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/omptarget.cu
The file was modifiedclang/test/OpenMP/nvptx_target_printf_codegen.c
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/omp_data.cu
The file was modifiedllvm/test/Transforms/OpenMP/fold_generic_main_thread.ll
The file was modifiedllvm/test/Transforms/OpenMP/get_hardware_num_threads_in_block_fold.ll
The file was modifiedllvm/test/Transforms/OpenMP/spmdization_remarks.ll
The file was modifiedllvm/test/Transforms/OpenMP/is_spmd_exec_mode_fold.ll
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/global_constructor.ll
The file was modifiedclang/test/OpenMP/nvptx_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_debug_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/remove_globalization.ll
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/support.cu
The file was modifiedllvm/test/Transforms/OpenMP/spmdization_assumes.ll
The file was modifiedclang/test/OpenMP/declare_target_codegen_globalization.cpp
The file was modifiedopenmp/libomptarget/deviceRTLs/common/include/target.h
The file was modifiedopenmp/libomptarget/deviceRTLs/interface.h
The file was modifiedclang/test/OpenMP/nvptx_target_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/amdgcn_target_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
The file was modifiedclang/test/OpenMP/nvptx_SPMD_codegen.cpp
The file was modifiedopenmp/libomptarget/deviceRTLs/common/omptarget.h
The file was modifiedllvm/test/Transforms/OpenMP/gpu_state_machine_function_ptr_replacement.ll
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_codegen.cpp
The file was modifiedopenmp/libomptarget/DeviceRTL/include/Interface.h
The file was modifiedclang/test/OpenMP/nvptx_force_full_runtime_SPMD_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_data_sharing.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/deduplication_target.ll
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedopenmp/libomptarget/DeviceRTL/include/Types.h
The file was modifiedclang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_simd_codegen.cpp
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedopenmp/libomptarget/DeviceRTL/src/Kernel.cpp
The file was modifiedopenmp/libomptarget/deviceRTLs/common/support.h
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_generic_mode_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/always_inline_device.ll
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/custom_state_machines_remarks.ll
The file was modifiedclang/test/OpenMP/nvptx_lambda_capturing.cpp
Commit cd36bab4ca901199c753e99cb66143eca52ffed8 by joker.eph
Fix bug for Ops with default valued attributes and successors/variadic regions.

When both a DefaultValuedAttr and a successor or variadic region was specified, this would generate invalid C++ declaration. There would be the parameter with a default value, followed by the successors/regions, which don't have a default, which is invalid.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D110205
The file was modifiedmlir/test/mlir-tblgen/op-attribute.td
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
Commit c7e78150f733d5be3cae766de3385173e2e245ff by craig.topper
[RISCV] Add test cases showing failure to use ADDIW before fcvt.s.w/fcvt.d.w/fcvt.h.w. NFC

By not using ADDIW we can cause both an ADDIW and ADDI to be emitted
when the add has multiple users.

These instructions needed be added to the list of instructions that
only use the lower 32 bits of input.

I've also added tests for the wu versions, but I'm having trouble
showing bad codegen from it.
The file was modifiedllvm/test/CodeGen/RISCV/float-convert.ll
The file was modifiedllvm/test/CodeGen/RISCV/half-convert.ll
The file was modifiedllvm/test/CodeGen/RISCV/double-convert.ll
Commit f0a422f935af877d8d9304eacbfbb6621e9ff643 by craig.topper
[RISCV] Add fcvt.s.w(u)/fcvt.d.w(u)/fcvt.h.w(u) to hasAllNBitUsers

These instructions only read the lower 32 bits of their input.
The file was modifiedllvm/test/CodeGen/RISCV/half-convert.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/RISCV/float-convert.ll
The file was modifiedllvm/test/CodeGen/RISCV/double-convert.ll
Commit 16ba77d19c5e28e693fc1bf69d7c6071ed59c6b1 by craig.topper
[RISCV] Remove stale FIXMEs from float-convert.ll and double-convert.ll. NFC
The file was modifiedllvm/test/CodeGen/RISCV/float-convert.ll
The file was modifiedllvm/test/CodeGen/RISCV/double-convert.ll
Commit cbbf2e8c8ae7730ff0121f4868de4a7d188feb65 by Yuanfang Chen
Diagnose -Wunused-value based on CFG reachability

While at it, add the diagnosis message "left operand of comma operator has no effect" (used by GCC) for comma operator.

This also makes Clang diagnose in the constant evaluation context which aligns with GCC/MSVC behavior. (https://godbolt.org/z/7zxb8Tx96)

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D103938
The file was modifiedclang/test/Sema/exprs.c
The file was modifiedclang/test/CXX/basic/basic.link/p8.cpp
The file was modifiedclang/test/Parser/objc-try-catch-1.m
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/test/SemaTemplate/derived.cpp
The file was modifiedclang/test/CXX/drs/dr7xx.cpp
The file was modifiedclang/test/Parser/cxx1z-init-statement.cpp
The file was modifiedclang/test/SemaCXX/constant-expression.cpp
The file was modifiedclang/test/PCH/cxx-explicit-specifier.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/Analysis/dead-stores.c
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/Parser/cxx0x-ambig.cpp
The file was modifiedclang/test/Sema/const-eval.c
The file was modifiedclang/test/SemaCXX/expression-traits.cpp
The file was modifiedclang/test/Parser/cxx-ambig-decl-expr.cpp
The file was modifiedclang/test/SemaCXX/warn-comma-operator.cpp
The file was modifiedclang/test/Sema/switch-1.c
The file was modifiedclang/test/Sema/sizeless-1.c
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/test/SemaCXX/matrix-type-operators.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/Frontend/fixed_point_crash.c
The file was modifiedclang/test/SemaCXX/constant-expression-cxx2a.cpp
The file was modifiedclang/test/SemaCXX/sizeless-1.cpp
The file was modifiedclang/test/CXX/drs/dr14xx.cpp
The file was modifiedclang/test/SemaCXX/overloaded-operator.cpp
The file was modifiedclang/test/CodeCompletion/pragma-macro-token-caching.c
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.constr/partial-specializations.cpp
The file was modifiedclang/test/Sema/warn-unused-value.c
The file was modifiedclang/test/Parser/objcxx11-attributes.mm
The file was modifiedclang/test/Sema/warn-type-safety.c
The file was modifiedclang/test/CXX/drs/dr20xx.cpp
The file was modifiedclang/test/Parser/objc-messaging-1.m
The file was modifiedclang/test/Sema/vla-2.c
The file was modifiedclang/test/SemaCXX/attr-annotate.cpp
The file was modifiedclang/test/SemaCXX/vector.cpp
The file was modifiedclang/test/Sema/i-c-e.c
The file was modifiedclang/test/SemaCXX/builtin-constant-p.cpp
The file was modifiedclang/test/SemaTemplate/lambda-capture-pack.cpp
The file was modifiedclang/test/SemaCXX/warn-unused-value.cpp
Commit 57705df2de9db50adca4a19ca32ee928990cc380 by pklausler
[flang] Catch error: base of DATA statement object can't be a pointer

A pointer with subscripts, substring indices, or components cannot
be initialized by a DATA statement (although of course a whole pointer
can be so).  Catch the missing cases.

Differential Revision: https://reviews.llvm.org/D109931
The file was modifiedflang/test/Semantics/data04.f90
The file was modifiedflang/lib/Semantics/check-data.cpp
Commit 1552179ac0199d819396d8b8db807016a78c8951 by tlively
[WebAssembly] Add relaxed-simd feature

This currently only defines a constant, but it the future will be used
to gate builtins for experimenting and prototyping relaxed-simd proposal
(https://github.com/WebAssembly/relaxed-simd/).

Differential Revision: https://reviews.llvm.org/D110111
The file was modifiedllvm/lib/Target/WebAssembly/WebAssembly.td
The file was modifiedclang/test/Preprocessor/wasm-target-features.c
The file was modifiedclang/lib/Basic/Targets/WebAssembly.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Basic/Targets/WebAssembly.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblySubtarget.h
Commit a924fcc7c3193b50a64908c8480389de45801555 by ajcbik
[mlir][sparse] add sparse kernels test to sparse compiler test suite

This test makes sure kernels map to efficient sparse code, i.e. all
compressed for-loops, no co-iterating while loops.  In addition, this
revision removes the special constant folding inside the sparse
compiler in favor of Mahesh' new generic linalg folding. Thanks!

NOTE: relies on Mahesh fix, which needs to be rebased first

Reviewed By: bixia

Differential Revision: https://reviews.llvm.org/D110001
The file was modifiedmlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
The file was addedmlir/test/Dialect/SparseTensor/sparse_kernels.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_quantized_matmul.mlir
The file was modifiedmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_filter_conv2d.mlir
The file was modifiedmlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h
Commit 81c249784f424f8b7bd04dcbeaf0594d9b529696 by aktoon
[llvm-profgen] Use hot threshold for context merging and trimming

Without preinliner, we need to tune down the cold count cutoff to merge/trim more context to limit profile size for large components. However it doesn't make sense for cold threshold to be higher than hot threshold, so we now change to use hot threshold as merging/trimming cut off instead.

Differential Revision: https://reviews.llvm.org/D110212
The file was modifiedllvm/tools/llvm-profgen/ProfileGenerator.cpp
The file was modifiedllvm/test/tools/llvm-profgen/merge-cold-profile.test
Commit 747b1a67a3dd706ffab9df9ee6f816b75ccaa5b6 by tianshilei1992
[NFC] Remove trailing spaces from some files
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit ac191bcc99e2fc4ab7993138f5e82a0b75b7e9db by leonardchan
[compiler-rt][test] Add REQUIRES for checking static libc++abi

intercept-rethrow-exception.cc fails when running runtimes tests if linking in
a hermetic libc++abi. This is because if libc++abi is used, then asan expects
to intercept __cxa_rethrow_primary_exception on linux, which should unpoison the
stack. If we statically link in libc++abi though, it will contain a strong
definition for __cxa_rethrow_primary_exception which wins over the weakly
defined interceptor provided by asan, causing the test to fail by not unpoisoning
the stack on the exception being thrown.

It's likely no one has encountered this before and possible that upstream tests
opt for dynamically linking where the interceptor can work properly. An ideal
long term solution would be to update the interceptor and libc++[abi] APIs to
work for this case, but that will likely take a long time to work out. In the
meantime, since the test isn't necessarily broken, we can just add another
REQUIRES check to make sure that it's only run if we aren't statically linking
in libc++abi.

Differential Revision: https://reviews.llvm.org/D109938
The file was modifiedcompiler-rt/test/asan/TestCases/intercept-rethrow-exception.cpp
The file was modifiedcompiler-rt/CMakeLists.txt
The file was modifiedcompiler-rt/test/lit.common.cfg.py
The file was modifiedcompiler-rt/test/lit.common.configured.in
Commit 52c30adc7dfe6334b71adf256d81f70e7b976143 by llvm-project
[Polly] Implement user-directed loop distribution/fission.

This is a simple version without the possibility to define distribute
points or followup-transformations. However, it is the first
transformation that has to check whether the transformation is correct.

It interprets the same metadata as the LoopDistribute pass.
The file was modifiedpolly/include/polly/ScheduleTreeTransform.h
The file was addedpolly/test/ScheduleOptimizer/ManualOptimization/distribute_illegal_pragmaloc.ll
The file was modifiedpolly/lib/Analysis/DependenceInfo.cpp
The file was modifiedpolly/include/polly/DependenceInfo.h
The file was modifiedpolly/lib/Transform/ScheduleTreeTransform.cpp
The file was addedpolly/test/ScheduleOptimizer/ManualOptimization/distribute_heuristic.ll
The file was modifiedpolly/include/polly/ManualOptimizer.h
The file was modifiedpolly/lib/Transform/ManualOptimizer.cpp
The file was addedpolly/test/ScheduleOptimizer/ManualOptimization/distribute_illegal_looploc.ll
The file was modifiedpolly/lib/Transform/ScheduleOptimizer.cpp
Commit 35f7020098773816f151c2c1da7b4dfc11041126 by llvm-project
[Polly] Dissolve Isl test directory. NFC.

All tests use ISL, integrate its subfolder into the components they
belong to.
The file was removedpolly/test/Isl/CodeGen/MemAccess/invariant_base_ptr___%loop---%exit.jscop
The file was removedpolly/test/Isl/CodeGen/inner_scev_sdiv_in_lb.ll
The file was addedpolly/test/CodeGen/reduction_simple_binary.ll
The file was removedpolly/test/Isl/single_loop_param_less_equal.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_escaping_second_scop.ll
The file was removedpolly/test/Isl/CodeGen/scalar-store-from-same-bb.ll
The file was addedpolly/test/CodeGen/constant_condition.ll
The file was removedpolly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule_2.ll
The file was addedpolly/test/CodeGen/20101103-signmissmatch.ll
The file was addedpolly/test/CodeGen/reduction_2.ll
The file was removedpolly/test/Isl/CodeGen/multidim-non-matching-typesize-2.ll
The file was addedpolly/test/IstAstInfo/dependence_distance_parametric_expr.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/simple_analyze.ll
The file was addedpolly/test/CodeGen/MemAccess/codegen_address_space.ll
The file was removedpolly/test/Isl/CodeGen/LoopParallelMD/single_loop_param_parallel.ll
The file was removedpolly/test/Isl/CodeGen/run-time-condition-with-scev-parameters.ll
The file was addedpolly/test/CodeGen/OpenMP/single_loop_with_loop_invariant_baseptr.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/map_scalar_access.ll
The file was removedpolly/test/Isl/CodeGen/loop_with_conditional_entry_edge_split_hard_case.ll
The file was removedpolly/test/Isl/Ast/alias_checks_with_empty_context.ll
The file was removedpolly/test/Isl/CodeGen/20100718-DomInfo-2.ll
The file was addedpolly/test/CodeGen/inner_scev_sdiv_3.ll
The file was addedpolly/test/CodeGen/partial_write_mapped_vector___%for---%return.jscop.transformed
The file was addedpolly/test/CodeGen/simple_loop_non_single_exit.ll
The file was addedpolly/test/IstAstInfo/reduction_loop_reversal.ll
The file was removedpolly/test/Isl/Ast/reduction_in_one_dimension.ll
The file was addedpolly/test/CodeGen/partial_write_mapped_vector.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/simple___%for.cond---%for.end.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/loop_with_condition_2.ll
The file was addedpolly/test/CodeGen/loop_with_conditional_entry_edge_split_hard_case.ll
The file was addedpolly/test/CodeGen/invariant_load_address_space.ll
The file was addedpolly/test/CodeGen/single_loop_ll_max_iterations.ll
The file was removedpolly/test/Isl/Ast/dependence_distance_varying_in_outer_loop.ll
The file was addedpolly/test/CodeGen/MemAccess/simple___%for.cond---%for.end14.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/invariant_load_base_pointer_conditional.ll
The file was removedpolly/test/Isl/Ast/reduction_multiple_dimensions_4.ll
The file was addedpolly/test/CodeGen/OpenMP/reference-other-bb.ll
The file was addedpolly/test/CodeGen/invariant_load.ll
The file was removedpolly/test/Isl/CodeGen/new_multidim_access___%bb1---%bb17.jscop
The file was addedpolly/test/IstAstInfo/rmsmd___%for.cond---%for.end6.jscop
The file was addedpolly/test/IstAstInfo/rmalrs___%for.cond---%for.end10.jscop
The file was addedpolly/test/CodeGen/20110226-Ignore-Dead-Code.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/invariant_base_pointers_preloaded.ll
The file was addedpolly/test/CodeGen/20100713.ll
The file was removedpolly/test/Isl/Ast/reduction_loop_reversal.ll
The file was addedpolly/test/IstAstInfo/reduction_multiple_dimensions_4.ll
The file was addedpolly/test/IstAstInfo/rmsmd3___%for.cond---%for.end6.jscop
The file was removedpolly/test/Isl/CodeGen/variant_load_empty_domain.ll
The file was addedpolly/test/CodeGen/simple_nonaffine_loop.ll
The file was removedpolly/test/Isl/CodeGen/region-with-instructions.ll
The file was addedpolly/test/CodeGen/MemAccess/codegen_constant_offset.ll
The file was addedpolly/test/CodeGen/20110226-PHI-Node-removed.ll
The file was addedpolly/test/CodeGen/invariant_load_condition.ll
The file was removedpolly/test/Isl/Ast/rmsmd___%for.cond---%for.end6.jscop
The file was removedpolly/test/Isl/CodeGen/simple_vec_stride_x.ll
The file was removedpolly/test/Isl/CodeGen/openmp_limit_threads.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/reference-argument-from-non-affine-region.ll
The file was removedpolly/test/Isl/CodeGen/20100708.ll
The file was addedpolly/test/CodeGen/scalar_codegen_crash.ll
The file was addedpolly/test/CodeGen/simple_vec_ptr_ptr_ty.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_canonicalize_array_baseptrs.ll
The file was removedpolly/test/Isl/CodeGen/dead_invariant_load_instruction_referenced_by_parameter_2.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/create_arrays___%bb9---%bb26.jscop
The file was addedpolly/test/CodeGen/partial_write_array___%for---%return.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/scev-backedgetaken.ll
The file was removedpolly/test/Isl/CodeGen/load_subset_with_context___%for.cond7.preheader---%for.cond33.preheader.jscop
The file was removedpolly/test/Isl/CodeGen/non-affine-synthesized-in-branch.ll
The file was removedpolly/test/Isl/CodeGen/intrinsics_misc.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/mapped-phi-access.ll
The file was addedpolly/test/CodeGen/RuntimeDebugBuilder/stmt_tracing.ll
The file was removedpolly/test/Isl/CodeGen/no_guard_bb.ll
The file was removedpolly/test/Isl/CodeGen/loop-invariant-load-type-mismatch.ll
The file was addedpolly/test/CodeGen/simple_vec_large_width.ll
The file was removedpolly/test/Isl/CodeGen/reduction_simple_binary.ll
The file was addedpolly/test/CodeGen/20100707_2.ll
The file was addedpolly/test/CodeGen/MemAccess/codegen_constant_offset___%for.cond---%for.end.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/test-invalid-operands-for-select-2.ll
The file was addedpolly/test/CodeGen/loop_with_condition_2.ll
The file was removedpolly/test/Isl/CodeGen/single_loop_zero_iterations.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/alias-metadata.ll
The file was removedpolly/test/Isl/CodeGen/20100811-ScalarDependencyBetweenBrAndCnd.ll
The file was addedpolly/test/CodeGen/OpenMP/loop-body-references-outer-iv.ll
The file was addedpolly/test/CodeGen/inner_scev_sdiv_in_lb_invariant.ll
The file was removedpolly/test/Isl/CodeGen/20100718-DomInfo.ll
The file was removedpolly/test/Isl/CodeGen/simple_vec_ptr_ptr_ty.ll
The file was addedpolly/test/CodeGen/MemAccess/map_scalar_access___%outer.for---%return.jscop.transformed
The file was addedpolly/test/CodeGen/OpenMP/invariant_base_pointer_preloaded_pass_only_needed.ll
The file was removedpolly/test/Isl/CodeGen/single_do_loop_one_iteration.ll
The file was removedpolly/test/Isl/Ast/reduction_multiple_dimensions_3.ll
The file was removedpolly/test/Isl/CodeGen/scev_expansion_in_nonaffine.ll
The file was addedpolly/test/CodeGen/20100717.ll
The file was removedpolly/test/Isl/Ast/OpenMP/nested_loop_inner_parallel.ll
The file was addedpolly/test/CodeGen/MemAccess/codegen_simple_md___%for.cond---%for.end6.jscop.transformed+withconst
The file was addedpolly/test/IstAstInfo/domain_bounded_only_with_context.ll
The file was addedpolly/test/CodeGen/invariant_load_hoist_alignment.ll
The file was removedpolly/test/Isl/CodeGen/20101103-signmissmatch.ll
The file was addedpolly/test/CodeGen/MemAccess/bad_alignment___%for.cond---%for.end.jscop
The file was addedpolly/test/CodeGen/MemAccess/update_access_functions___%loop1---%exit.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/constant_condition.ll
The file was addedpolly/test/CodeGen/load_subset_with_context.ll
The file was addedpolly/test/CodeGen/region_multiexit_partialwrite___%bb3---%bb19.jscop.transformed
The file was addedpolly/test/CodeGen/alias_metadata_too_many_arrays.ll
The file was addedpolly/test/CodeGen/single_loop_int_max_iterations.ll
The file was addedpolly/test/IstAstInfo/single_loop_ull_max_iterations.ll
The file was addedpolly/test/IstAstInfo/rms___%for.cond---%for.end10.jscop
The file was removedpolly/test/Isl/CodeGen/annotated_alias_scopes.ll
The file was removedpolly/test/Isl/CodeGen/reduction.ll
The file was addedpolly/test/CodeGen/scop_never_executed_runtime_check_location.ll
The file was addedpolly/test/CodeGen/aliasing_multidimensional_access.ll
The file was addedpolly/test/CodeGen/phi_in_exit_early_lnt_failure_3.ll
The file was addedpolly/test/IstAstInfo/reduction_different_reduction_clauses.ll
The file was removedpolly/test/Isl/CodeGen/phi_loop_carried_float_escape.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll
The file was addedpolly/test/IstAstInfo/dependence_distance_varying.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_in_region___%bb1---%bb12.jscop
The file was removedpolly/test/Isl/CodeGen/MemAccess/simple___%for.cond---%for.end14.jscop
The file was addedpolly/test/CodeGen/RuntimeDebugBuilder/combine_different_values.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_impossible_restriction.ll
The file was removedpolly/test/Isl/CodeGen/single_loop_one_iteration.ll
The file was removedpolly/test/Isl/Ast/reduction_multiple_dimensions.ll
The file was removedpolly/test/Isl/CodeGen/if-conditions-in-vector-code.ll
The file was removedpolly/test/Isl/Ast/dependence_distance_constant.ll
The file was addedpolly/test/CodeGen/phi_in_exit_early_lnt_failure_1.ll
The file was addedpolly/test/CodeGen/invariant_load_not_executed_but_in_parameters.ll
The file was addedpolly/test/CodeGen/non-affine-region-implicit-store.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/recomputed-srem.ll
The file was addedpolly/test/CodeGen/region_multiexit_partialwrite___%bb3---%bb19.jscop
The file was removedpolly/test/Isl/CodeGen/OpenMP/single_loop_with_param.ll
The file was removedpolly/test/Isl/CodeGen/invariant_verify_function_failed.ll
The file was addedpolly/test/CodeGen/variant_load_empty_domain.ll
The file was addedpolly/test/IstAstInfo/rlr___%for.cond---%for.end10.jscop
The file was removedpolly/test/Isl/CodeGen/phi_in_exit_early_lnt_failure_5.ll
The file was addedpolly/test/CodeGen/error-stmt-in-non-affine-region.ll
The file was addedpolly/test/CodeGen/aliasing_parametric_simple_2.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/bad_alignment___%for.cond---%for.end.jscop
The file was addedpolly/test/CodeGen/MemAccess/create_arrays___%bb9---%bb26.jscop
The file was removedpolly/test/Isl/CodeGen/read-only-scalars.ll
The file was addedpolly/test/CodeGen/OpenMP/new_multidim_access.ll
The file was removedpolly/test/Isl/CodeGen/scop_expander_segfault.ll
The file was addedpolly/test/CodeGen/OpenMP/matmul-parallel.ll
The file was addedpolly/test/CodeGen/20100617.ll
The file was addedpolly/test/CodeGen/scop_expander_insert_point.ll
The file was addedpolly/test/CodeGen/whole-scop-non-affine-subregion.ll
The file was addedpolly/test/CodeGen/partial_write_emptyset.ll
The file was addedpolly/test/CodeGen/non-affine-update.ll
The file was addedpolly/test/CodeGen/MemAccess/codegen_simple.ll
The file was addedpolly/test/CodeGen/phi_condition_modeling_2.ll
The file was addedpolly/test/CodeGen/no-overflow-tracking.ll
The file was addedpolly/test/CodeGen/OpenMP/scev-rewriting.ll
The file was addedpolly/test/CodeGen/inner_scev_sdiv_in_lb.ll
The file was addedpolly/test/CodeGen/loop_with_condition_nested.ll
The file was addedpolly/test/CodeGen/MemAccess/default_aligned_new_access_function.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_in_region.ll
The file was removedpolly/test/Isl/Ast/rmalrs2___%for.cond---%for.end10.jscop
The file was addedpolly/test/IstAstInfo/OpenMP/multiple_loops_outer_parallel.ll
The file was removedpolly/test/Isl/CodeGen/phi_condition_modeling_2.ll
The file was removedpolly/test/Isl/CodeGen/non-affine-region-exit-phi-incoming-synthesize-2.ll
The file was removedpolly/test/Isl/CodeGen/perf_monitoring.ll
The file was addedpolly/test/CodeGen/single_do_loop_int_max_iterations___%do.body---%do.end.jscop
The file was addedpolly/test/CodeGen/MemAccess/codegen_simple_md_float.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/different_types___%bb2---%bb18.jscop
The file was addedpolly/test/CodeGen/simple_vec_two_stmts.ll
The file was removedpolly/test/Isl/Ast/reduction_clauses_onedimensional_access.ll
The file was addedpolly/test/CodeGen/MemAccess/map_scalar_access.ll
The file was addedpolly/test/CodeGen/OpenMP/invariant_base_pointers_preloaded.ll
The file was addedpolly/test/CodeGen/simple_vec_stride_one.ll
The file was removedpolly/test/Isl/CodeGen/phi-defined-before-scop.ll
The file was removedpolly/test/Isl/CodeGen/20100707.ll
The file was addedpolly/test/CodeGen/region-with-instructions.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/map_scalar_access___%outer.for---%return.jscop
The file was addedpolly/test/CodeGen/non-affine-exit-node-dominance.ll
The file was removedpolly/test/Isl/CodeGen/test-invalid-operands-for-select.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/invariant_base_pointer_preloaded_pass_only_needed.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_scalar_dep.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_impossible_restriction___%for.body344---%if.then.i.i1141.loopexit.jscop.transformed
The file was addedpolly/test/IstAstInfo/reduction_modulo_and_loop_reversal_schedule.ll
The file was addedpolly/test/CodeGen/partial_write_impossible_restriction___%for.body344---%if.then.i.i1141.loopexit.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/non_affine_float_compare.ll
The file was removedpolly/test/Isl/CodeGen/multidim_alias_check.ll
The file was addedpolly/test/CodeGen/non-affine-region-phi-references-in-scop-value.ll
The file was removedpolly/test/Isl/CodeGen/single_do_loop_int_param_iterations.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/codegen_constant_offset___%for.cond---%for.end.jscop
The file was removedpolly/test/Isl/Ast/domain_bounded_only_with_context.ll
The file was addedpolly/test/IstAstInfo/single_loop_strip_mine.ll
The file was addedpolly/test/CodeGen/simple_loop_non_single_exit_2.ll
The file was addedpolly/test/CodeGen/inv-load-lnt-crash-wrong-order-2.ll
The file was addedpolly/test/CodeGen/loop-invariant-load-type-mismatch.ll
The file was removedpolly/test/Isl/CodeGen/20100622.ll
The file was removedpolly/test/Isl/CodeGen/20100708_2.ll
The file was removedpolly/test/Isl/Ast/OpenMP/single_loop_param_parallel_computeout.ll
The file was addedpolly/test/CodeGen/scev.ll
The file was removedpolly/test/Isl/Ast/OpenMP/multiple_loops_outer_parallel.ll
The file was removedpolly/test/Isl/CodeGen/whole-scop-non-affine-subregion.ll
The file was removedpolly/test/Isl/CodeGen/single_loop_param.ll
The file was addedpolly/test/CodeGen/aliasing_parametric_simple_1.ll
The file was addedpolly/test/IstAstInfo/rmd3___%for.cond---%for.end12.jscop
The file was removedpolly/test/Isl/CodeGen/simple_nonaffine_loop.ll
The file was addedpolly/test/CodeGen/MemAccess/create_arrays_heap.ll
The file was addedpolly/test/CodeGen/single_loop_one_iteration.ll
The file was addedpolly/test/CodeGen/hoisting_1.ll
The file was addedpolly/test/CodeGen/partial_write_in_region___%bb1---%bb12.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/non-affine-region-exit-phi-incoming-synthesize.ll
The file was addedpolly/test/CodeGen/PHIInExit.ll
The file was addedpolly/test/CodeGen/phi_after_error_block_outside_of_scop.ll
The file was removedpolly/test/Isl/CodeGen/error_block_contains_invalid_memory_access.ll
The file was addedpolly/test/CodeGen/MemAccess/simple___%for.cond---%for.end.jscop
The file was addedpolly/test/CodeGen/sequential_loops.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/codegen_simple_md_float.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/matmul-parallel.ll
The file was removedpolly/test/Isl/Ast/rlr___%for.cond---%for.end10.jscop
The file was removedpolly/test/Isl/CodeGen/LoopParallelMD/loop_nest_param_parallel.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_condition.ll
The file was addedpolly/test/IstAstInfo/dependence_distance_varying_in_outer_loop.ll
The file was addedpolly/test/CodeGen/entry_with_trivial_phi_other_bb.ll
The file was removedpolly/test/Isl/CodeGen/inner_scev_sdiv_2.ll
The file was removedpolly/test/Isl/CodeGen/non-affine-region-phi-references-in-scop-value.ll
The file was addedpolly/test/CodeGen/multiple-codegens.ll
The file was removedpolly/test/Isl/CodeGen/20100707_2.ll
The file was removedpolly/test/Isl/CodeGen/non-affine-phi-node-expansion.ll
The file was addedpolly/test/CodeGen/multidim_alias_check.ll
The file was removedpolly/test/Isl/CodeGen/inv-load-lnt-crash-wrong-order-3.ll
The file was removedpolly/test/Isl/CodeGen/single_loop_ll_max_iterations.ll
The file was addedpolly/test/CodeGen/fortran_array_runtime_size_generation.ll
The file was removedpolly/test/Isl/CodeGen/simple_vec_cast.ll
The file was addedpolly/test/CodeGen/unpredictable-loop-unsynthesizable.ll
The file was addedpolly/test/CodeGen/MemAccess/codegen_constant_offset___%for.cond---%for.end.jscop
The file was removedpolly/test/Isl/CodeGen/20110226-PHI-Node-removed.ll
The file was removedpolly/test/Isl/CodeGen/srem-in-other-bb.ll
The file was removedpolly/test/Isl/CodeGen/simple_loop_non_single_exit.ll
The file was addedpolly/test/CodeGen/MemAccess/simple_stride___%for.cond---%for.end.jscop
The file was removedpolly/test/Isl/CodeGen/OpenMP/reference-preceeding-loop.ll
The file was addedpolly/test/CodeGen/invariant_verify_function_failed.ll
The file was removedpolly/test/Isl/CodeGen/invariant_loads_from_struct_with_different_types_1.ll
The file was addedpolly/test/CodeGen/invariant_loads_ignore_parameter_bounds.ll
The file was removedpolly/test/Isl/CodeGen/split_edge_of_exit.ll
The file was removedpolly/test/Isl/CodeGen/non-affine-switch.ll
The file was addedpolly/test/IstAstInfo/run-time-condition.ll
The file was removedpolly/test/Isl/Ast/rmd2___%for.cond---%for.end12.jscop
The file was addedpolly/test/CodeGen/20100811-ScalarDependencyBetweenBrAndCnd.ll
The file was addedpolly/test/CodeGen/inner_scev_sdiv_1.ll
The file was addedpolly/test/CodeGen/ptrtoint_as_parameter.ll
The file was removedpolly/test/Isl/CodeGen/pointer-type-expressions-2.ll
The file was addedpolly/test/CodeGen/scev_looking_through_bitcasts.ll
The file was removedpolly/test/Isl/CodeGen/RuntimeDebugBuilder/combine_different_values.ll
The file was removedpolly/test/Isl/CodeGen/20100720-MultipleConditions.ll
The file was addedpolly/test/CodeGen/OpenMP/new_multidim_access___%bb1---%bb17.jscop
The file was removedpolly/test/Isl/Ast/dependence_distance_multiple_constant.ll
The file was addedpolly/test/CodeGen/MemAccess/codegen_simple_float.ll
The file was addedpolly/test/CodeGen/partial_write_full_write_that_appears_partial.ll
The file was addedpolly/test/CodeGen/scev-division-invariant-load.ll
The file was addedpolly/test/CodeGen/dominance_problem_after_early_codegen_bailout.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/single_parallel_loop___%for.i---%exit.jscop
The file was removedpolly/test/Isl/CodeGen/MemAccess/codegen_simple___%for.cond---%for.end.jscop
The file was addedpolly/test/CodeGen/simple_non_single_entry.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/new_multidim_access___%bb1---%bb17.jscop
The file was removedpolly/test/Isl/CodeGen/perf_monitoring_trip_counts_per_scop.ll
The file was addedpolly/test/CodeGen/non-affine-phi-node-expansion.ll
The file was addedpolly/test/CodeGen/partial_write_emptyset___%for---%return.jscop.transformed
The file was addedpolly/test/CodeGen/LoopParallelMD/loop_nest_param_parallel.ll
The file was addedpolly/test/IstAstInfo/reduction_modulo_schedule_multiple_dimensions_3.ll
The file was removedpolly/test/Isl/CodeGen/phi_scalar_simple_1.ll
The file was addedpolly/test/CodeGen/non-affine-phi-node-expansion-4.ll
The file was removedpolly/test/Isl/CodeGen/phi_with_multi_exiting_edges_2.ll
The file was addedpolly/test/CodeGen/partial_write_impossible_restriction___%for.body344---%if.then.i.i1141.loopexit.jscop
The file was addedpolly/test/CodeGen/non-affine-subregion-dominance-reuse.ll
The file was addedpolly/test/CodeGen/20101030-Overflow.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_parameters_cyclic_dependence.ll
The file was addedpolly/test/IstAstInfo/reduction_modulo_and_loop_reversal_schedule_2.ll
The file was removedpolly/test/Isl/CodeGen/multidim-non-matching-typesize.ll
The file was removedpolly/test/Isl/Ast/reduction_dependences_equal_non_reduction_dependences.ll
The file was addedpolly/test/CodeGen/loop_with_condition_ineq.ll
The file was addedpolly/test/CodeGen/single_do_loop_one_iteration.ll
The file was removedpolly/test/Isl/single_loop_ull_max_iterations.ll
The file was removedpolly/test/Isl/CodeGen/LoopParallelMD/do_not_mutate_debug_info.ll
The file was removedpolly/test/Isl/CodeGen/phi_with_one_exit_edge.ll
The file was addedpolly/test/IstAstInfo/rmd2___%for.cond---%for.end12.jscop
The file was addedpolly/test/CodeGen/RuntimeDebugBuilder/combine_different_values.c
The file was removedpolly/test/Isl/CodeGen/MemAccess/codegen_constant_offset___%for.cond---%for.end.jscop.transformed
The file was addedpolly/test/IstAstInfo/aliasing_arrays_with_identical_base.ll
The file was addedpolly/test/CodeGen/simple_vec_assign_scalar_2.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/simple___%for.cond---%for.end14.jscop.transformed
The file was addedpolly/test/CodeGen/invariant_load_base_pointer.ll
The file was removedpolly/test/Isl/CodeGen/entry_with_trivial_phi.ll
The file was addedpolly/test/CodeGen/MemAccess/codegen_simple___%for.cond---%for.end.jscop
The file was removedpolly/test/Isl/Ast/single_loop_strip_mine.ll
The file was addedpolly/test/CodeGen/MemAccess/simple_analyze.ll
The file was removedpolly/test/Isl/CodeGen/multiple_sai_fro_same_base_address.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_emptyset___%for---%return.jscop
The file was addedpolly/test/CodeGen/out-of-scop-phi-node-use.ll
The file was addedpolly/test/IstAstInfo/reduction_modulo_schedule_multiple_dimensions_4.ll
The file was removedpolly/test/Isl/CodeGen/pointer_rem.ll
The file was addedpolly/test/CodeGen/test-invalid-operands-for-select.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_full_write_that_appears_partial.ll
The file was removedpolly/test/Isl/CodeGen/alias_metadata_too_many_arrays.ll
The file was addedpolly/test/CodeGen/new_multidim_access___%bb1---%bb17.jscop
The file was removedpolly/test/Isl/CodeGen/non-affine-phi-node-expansion-3.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/multiple_types___%bb1---%bb22.jscop
The file was removedpolly/test/Isl/Ast/rmsmd4___%for.cond---%for.end6.jscop
The file was addedpolly/test/CodeGen/OpenMP/loop-body-references-outer-values.ll
The file was removedpolly/test/Isl/CodeGen/inv-load-lnt-crash-wrong-order-2.ll
The file was removedpolly/test/Isl/Ast/rmd3___%for.cond---%for.end12.jscop
The file was addedpolly/test/CodeGen/invariant_load_base_pointer_conditional_2.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_array.ll
The file was addedpolly/test/CodeGen/OpenMP/reference_latest.ll
The file was addedpolly/test/CodeGen/uninitialized_scalar_memory.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/scev-rewriting.ll
The file was removedpolly/test/Isl/Ast/rmsmd2___%for.cond---%for.end6.jscop
The file was removedpolly/test/Isl/CodeGen/scev-division-invariant-load.ll
The file was removedpolly/test/Isl/CodeGen/20101103-Overflow3.ll
The file was addedpolly/test/CodeGen/single_do_loop_int_max_iterations.ll
The file was addedpolly/test/CodeGen/partial_write_in_region_with_loop.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_in_region_with_loop.ll
The file was addedpolly/test/CodeGen/MemAccess/create_arrays___%bb9---%bb26.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/aliasing_different_base_and_access_type.ll
The file was addedpolly/test/CodeGen/partial_write_mapped_scalar_subregion___%for---%return.jscop
The file was addedpolly/test/CodeGen/MemAccess/codegen_simple_md.ll
The file was removedpolly/test/Isl/Ast/non_affine_access.ll
The file was addedpolly/test/CodeGen/create-conditional-scop.ll
The file was addedpolly/test/CodeGen/MemAccess/create_arrays_heap___%for.cond1.preheader---%for.end18.jscop
The file was addedpolly/test/CodeGen/phi_with_multi_exiting_edges_2.ll
The file was addedpolly/test/CodeGen/two-loops-right-after-each-other-2.ll
The file was removedpolly/test/Isl/CodeGen/udiv_expansion_position.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load.ll
The file was addedpolly/test/CodeGen/load_subset_with_context___%for.cond7.preheader---%for.cond33.preheader.jscop
The file was removedpolly/test/Isl/Ast/reduction_modulo_schedule.ll
The file was addedpolly/test/CodeGen/split_edges_2.ll
The file was addedpolly/test/CodeGen/aliasing_struct_element.ll
The file was removedpolly/test/Isl/CodeGen/dominance_problem_after_early_codegen_bailout.ll
The file was addedpolly/test/IstAstInfo/rmsmd4___%for.cond---%for.end6.jscop
The file was removedpolly/test/Isl/CodeGen/region_exiting-domtree.ll
The file was addedpolly/test/CodeGen/run-time-condition.ll
The file was removedpolly/test/Isl/CodeGen/loop_with_condition_nested.ll
The file was addedpolly/test/CodeGen/single_do_loop_int_param_iterations.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/invariant_base_pointer_preloaded.ll
The file was removedpolly/test/Isl/CodeGen/getNumberOfIterations.ll
The file was removedpolly/test/Isl/Ast/reduction_different_reduction_clauses.ll
The file was removedpolly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll
The file was addedpolly/test/CodeGen/phi_in_exit_early_lnt_failure_2.ll
The file was addedpolly/test/CodeGen/multidim-non-matching-typesize-2.ll
The file was addedpolly/test/CodeGen/invariant-load-preload-base-pointer-origin-first.ll
The file was addedpolly/test/CodeGen/run-time-condition-with-scev-parameters.ll
The file was removedpolly/test/Isl/CodeGen/two-scops-in-row-invalidate-scevs.ll
The file was addedpolly/test/CodeGen/hoisted_load_escapes_through_phi.ll
The file was removedpolly/test/Isl/CodeGen/20100717.ll
The file was addedpolly/test/CodeGen/multiple_sai_fro_same_base_address.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/create_arrays.ll
The file was removedpolly/test/Isl/CodeGen/split_edges.ll
The file was addedpolly/test/CodeGen/invariant_cannot_handle_void.ll
The file was addedpolly/test/CodeGen/MemAccess/simple_stride_test.ll
The file was removedpolly/test/Isl/Ast/aliasing_arrays_with_identical_base.ll
The file was removedpolly/test/Isl/CodeGen/invariant-load-preload-base-pointer-origin-first.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_in_region___%bb1---%bb12.jscop.transformed
The file was addedpolly/test/CodeGen/partial_write_emptyset___%for---%return.jscop
The file was addedpolly/test/CodeGen/exprModDiv.ll
The file was removedpolly/test/Isl/CodeGen/select-base-pointer.ll
The file was removedpolly/test/Isl/Ast/simple-run-time-condition.ll
The file was addedpolly/test/CodeGen/MemAccess/invariant_base_ptr___%loop---%exit.jscop
The file was addedpolly/test/CodeGen/large-numbers-in-boundary-context.ll
The file was addedpolly/test/CodeGen/getNumberOfIterations.ll
The file was addedpolly/test/CodeGen/invariant_load_scalar_escape_alloca_sharing.ll
The file was removedpolly/test/Isl/Ast/dependence_distance_minimal.ll
The file was addedpolly/test/IstAstInfo/rmd4___%for.cond---%for.end12.jscop
The file was removedpolly/test/Isl/CodeGen/error-stmt-in-non-affine-region.ll
The file was removedpolly/test/Isl/CodeGen/single_loop.ll
The file was addedpolly/test/CodeGen/MemAccess/multiple_types___%bb1---%bb22.jscop
The file was addedpolly/test/CodeGen/partial_write_mapped_vector___%for---%return.jscop
The file was removedpolly/test/Isl/CodeGen/two-loops-right-after-each-other-2.ll
The file was removedpolly/test/Isl/Ast/single_loop_strip_mine___%for.cond---%for.end.jscop
The file was removedpolly/test/Isl/CodeGen/invariant_cannot_handle_void.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_emptyset___%for---%return.jscop.transformed
The file was addedpolly/test/CodeGen/split_edges.ll
The file was addedpolly/test/CodeGen/debug-intrinsics.ll
The file was addedpolly/test/CodeGen/udiv_expansion_position.ll
The file was addedpolly/test/CodeGen/non-affine-dominance-generated-entering.ll
The file was addedpolly/test/CodeGen/region_exiting-domtree.ll
The file was removedpolly/test/Isl/CodeGen/phi_in_exit_early_lnt_failure_3.ll
The file was addedpolly/test/CodeGen/inv-load-lnt-crash-wrong-order.ll
The file was removedpolly/test/Isl/CodeGen/single_do_loop_ll_max_iterations.ll
The file was addedpolly/test/CodeGen/single_loop_param_less_than.ll
The file was addedpolly/test/CodeGen/OpenMP/loop-body-references-outer-values-2.ll
The file was addedpolly/test/CodeGen/region_multiexit_partialwrite.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_alias_metadata.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/codegen_simple_md___%for.cond---%for.end6.jscop.transformed+withconst
The file was addedpolly/test/IstAstInfo/rmalrs2___%for.cond---%for.end10.jscop
The file was addedpolly/test/IstAstInfo/reduction_multiple_dimensions.ll
The file was addedpolly/test/IstAstInfo/reduction_clauses_onedimensional_access.ll
The file was removedpolly/test/Isl/Ast/reduction_multiple_dimensions_2.ll
The file was removedpolly/test/Isl/CodeGen/aliasing_different_pointer_types.ll
The file was addedpolly/test/CodeGen/LoopParallelMD/single_loop_param_parallel.ll
The file was removedpolly/test/Isl/Ast/OpenMP/nested_loop_outer_parallel.ll
The file was addedpolly/test/CodeGen/OpenMP/reference-preceeding-loop.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_mapped_scalar___%for---%return.jscop
The file was addedpolly/test/CodeGen/single_loop_zero_iterations.ll
The file was removedpolly/test/Isl/CodeGen/load_subset_with_context.ll
The file was removedpolly/test/Isl/CodeGen/fortran_array_runtime_size_generation.ll
The file was addedpolly/test/CodeGen/inv-load-lnt-crash-wrong-order-3.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/codegen_constant_offset.ll
The file was addedpolly/test/CodeGen/non-hoisted-load-needed-as-base-ptr.ll
The file was addedpolly/test/CodeGen/split_edge_of_exit.ll
The file was addedpolly/test/CodeGen/20100718-DomInfo-2.ll
The file was removedpolly/test/Isl/CodeGen/simple_vec_const.ll
The file was addedpolly/test/IstAstInfo/OpenMP/single_loop_param_non_parallel.ll
The file was removedpolly/test/Isl/CodeGen/non-affine-update___%bb1---%bb15.jscop
The file was addedpolly/test/CodeGen/two-scops-in-row.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_ptr_ptr_noalias.ll
The file was removedpolly/test/Isl/CodeGen/param_div_div_div_2.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/codegen_simple___%for.cond---%for.end.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/non-affine-update.ll
The file was addedpolly/test/CodeGen/partial_write_mapped_scalar_subregion___%for---%return.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/RuntimeDebugBuilder/combine_different_values.c
The file was addedpolly/test/CodeGen/partial_write_mapped_scalar___%for---%return.jscop
The file was removedpolly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_3.ll
The file was addedpolly/test/CodeGen/phi_in_exit_early_lnt_failure_5.ll
The file was addedpolly/test/IstAstInfo/aliasing_parametric_simple_1.ll
The file was removedpolly/test/Isl/CodeGen/conflict-between-loop-invariant-code-hosting-and-escape-map-computation.ll
The file was addedpolly/test/CodeGen/load_subset_with_context___%for.cond7.preheader---%for.cond33.preheader.jscop.transformed
The file was addedpolly/test/IstAstInfo/alias_simple_3.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/simple___%for.cond4---%for.end14.jscop.transformed
The file was addedpolly/test/CodeGen/alignment.ll
The file was removedpolly/test/Isl/CodeGen/no-overflow-tracking.ll
The file was removedpolly/test/Isl/CodeGen/20130211-getNumberOfIterations.ll
The file was addedpolly/test/CodeGen/non-affine-region-exit-phi-incoming-synthesize-2.ll
The file was removedpolly/test/Isl/CodeGen/single_do_loop_scev_replace.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/invariant_base_ptr.ll
The file was addedpolly/test/CodeGen/20100708_2.ll
The file was addedpolly/test/CodeGen/MemAccess/codegen_simple_md___%for.cond---%for.end6.jscop
The file was addedpolly/test/CodeGen/alias-check-multi-dim.ll
The file was removedpolly/test/Isl/CodeGen/non-affine-phi-node-expansion-2.ll
The file was removedpolly/test/Isl/Ast/rmd4___%for.cond---%for.end12.jscop
The file was removedpolly/test/Isl/CodeGen/out-of-scop-phi-node-use.ll
The file was addedpolly/test/CodeGen/OpenMP/invariant_base_pointer_preloaded_different_bb.ll
The file was removedpolly/test/Isl/CodeGen/20110226-Ignore-Dead-Code.ll
The file was addedpolly/test/CodeGen/MemAccess/multiple_types.ll
The file was removedpolly/test/Isl/CodeGen/single_do_loop_int_max_iterations.ll
The file was removedpolly/test/Isl/CodeGen/20100617.ll
The file was addedpolly/test/CodeGen/simple_vec_call_2.ll
The file was addedpolly/test/CodeGen/MemAccess/bad_alignment.ll
The file was removedpolly/test/Isl/CodeGen/RuntimeDebugBuilder/stmt_tracing.ll
The file was removedpolly/test/Isl/CodeGen/invariant_verify_function_failed_2.ll
The file was addedpolly/test/CodeGen/invariant_load_alias_metadata.ll
The file was addedpolly/test/CodeGen/invariant_load_canonicalize_array_baseptrs.ll
The file was removedpolly/test/Isl/CodeGen/simple_vec_assign_scalar_2.ll
The file was addedpolly/test/CodeGen/if-conditions-in-vector-code.ll
The file was addedpolly/test/CodeGen/non-affine-synthesized-in-branch.ll
The file was removedpolly/test/Isl/CodeGen/two-scops-in-row.ll
The file was removedpolly/test/Isl/CodeGen/scalar_codegen_crash.ll
The file was addedpolly/test/CodeGen/inner_scev_sdiv_in_rtc.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/bad_alignment.ll
The file was addedpolly/test/CodeGen/MemAccess/map_scalar_access___%outer.for---%return.jscop
The file was addedpolly/test/CodeGen/partial_write_impossible_restriction.ll
The file was addedpolly/test/IstAstInfo/dependence_distance_minimal.ll
The file was removedpolly/test/Isl/CodeGen/hoisted_load_escapes_through_phi.ll
The file was addedpolly/test/CodeGen/LoopParallelMD/do_not_mutate_debug_info.ll
The file was addedpolly/test/CodeGen/OpenMP/mapped-phi-access.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/new_multidim_access.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_address_space.ll
The file was addedpolly/test/IstAstInfo/aliasing_multiple_alias_groups.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/default_aligned_new_access_function.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_in_non_affine_subregion.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_impossible_restriction___%for.body344---%if.then.i.i1141.loopexit.jscop
The file was addedpolly/test/IstAstInfo/OpenMP/nested_loop_both_parallel.ll
The file was addedpolly/test/IstAstInfo/runtime_context_with_error_blocks.ll
The file was removedpolly/test/Isl/Ast/rmd___%for.cond---%for.end12.jscop
The file was removedpolly/test/Isl/CodeGen/MemAccess/simple___%for.cond---%for.end.jscop
The file was removedpolly/test/Isl/CodeGen/MemAccess/codegen_simple.ll
The file was addedpolly/test/CodeGen/select-base-pointer.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/two-parallel-loops-reference-outer-indvar.ll
The file was addedpolly/test/CodeGen/OpenMP/single_loop_with_param.ll
The file was removedpolly/test/Isl/CodeGen/reduction_2.ll
The file was addedpolly/test/CodeGen/perf_monitoring.ll
The file was addedpolly/test/CodeGen/simple_vec_const.ll
The file was addedpolly/test/CodeGen/scev_expansion_in_nonaffine.ll
The file was removedpolly/test/Isl/CodeGen/single_do_loop_int_max_iterations___%do.body---%do.end.jscop
The file was removedpolly/test/Isl/CodeGen/simple_vec_call.ll
The file was addedpolly/test/CodeGen/simple_vec_stride_x.ll
The file was removedpolly/test/Isl/CodeGen/synthesizable_phi_write_after_loop.ll
The file was removedpolly/test/Isl/CodeGen/dead_invariant_load_instruction_referenced_by_parameter_1.ll
The file was removedpolly/test/Isl/Ast/rmsmd3___%for.cond---%for.end6.jscop
The file was removedpolly/test/Isl/CodeGen/non-hoisted-load-needed-as-base-ptr.ll
The file was removedpolly/test/Isl/CodeGen/phi_condition_modeling_1.ll
The file was addedpolly/test/CodeGen/non-affine-update___%bb1---%bb15.jscop
The file was removedpolly/test/Isl/Ast/dependence_distance_varying.ll
The file was addedpolly/test/CodeGen/20100707.ll
The file was removedpolly/test/Isl/CodeGen/non-affine-phi-node-expansion-4.ll
The file was addedpolly/test/CodeGen/phi_condition_modeling_1.ll
The file was addedpolly/test/CodeGen/inner_scev_sdiv_2.ll
The file was addedpolly/test/CodeGen/no_guard_bb.ll
The file was removedpolly/test/Isl/CodeGen/phi_in_exit_early_lnt_failure_2.ll
The file was addedpolly/test/IstAstInfo/simple-run-time-condition.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/codegen_simple_md___%for.cond---%for.end6.jscop
The file was addedpolly/test/IstAstInfo/reduction_multiple_dimensions_3.ll
The file was removedpolly/test/Isl/CodeGen/multidim_2d_parametric_array_static_loop_bounds.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_mapped_scalar.ll
The file was removedpolly/test/Isl/CodeGen/multiple-scops-in-a-row.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_mapped_vector___%for---%return.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/simple_vec_assign_scalar.ll
The file was addedpolly/test/CodeGen/phi_conditional_simple_1.ll
The file was addedpolly/test/CodeGen/multidim_2d_parametric_array_static_loop_bounds.ll
The file was removedpolly/test/Isl/Ast/OpenMP/single_loop_param_parallel.ll
The file was addedpolly/test/IstAstInfo/rmd___%for.cond---%for.end12.jscop
The file was removedpolly/test/Isl/CodeGen/OpenMP/reference_latest.ll
The file was removedpolly/test/Isl/CodeGen/pointer-type-pointer-type-comparison.ll
The file was removedpolly/test/Isl/CodeGen/uninitialized_scalar_memory.ll
The file was removedpolly/test/Isl/CodeGen/pr25241.ll
The file was removedpolly/test/Isl/CodeGen/multiple-codegens.ll
The file was addedpolly/test/CodeGen/OpenMP/alias-metadata.ll
The file was addedpolly/test/CodeGen/single_loop.ll
The file was addedpolly/test/CodeGen/scop_expander_segfault.ll
The file was addedpolly/test/CodeGen/srem-in-other-bb.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_outermost.ll
The file was removedpolly/test/Isl/CodeGen/unpredictable-loop-unsynthesizable.ll
The file was removedpolly/test/Isl/CodeGen/20101030-Overflow.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/simple___%for.cond4---%for.end14.jscop
The file was addedpolly/test/CodeGen/OpenMP/invariant_base_pointer_preloaded.ll
The file was removedpolly/test/Isl/CodeGen/inner_scev_sdiv_in_rtc.ll
The file was addedpolly/test/CodeGen/invariant_load_in_non_affine_subregion.ll
The file was addedpolly/test/IstAstInfo/alias_simple_1.ll
The file was addedpolly/test/CodeGen/pointer_rem.ll
The file was removedpolly/test/Isl/CodeGen/aliasing_parametric_simple_2.ll
The file was removedpolly/test/Isl/CodeGen/phi_in_exit_early_lnt_failure_1.ll
The file was removedpolly/test/Isl/CodeGen/only_non_affine_error_region.ll
The file was addedpolly/test/CodeGen/stack-overflow-in-load-hoisting.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_hoist_alignment.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_not_executed_but_in_parameters.ll
The file was addedpolly/test/CodeGen/invariant_load_scalar_dep.ll
The file was removedpolly/test/Isl/Ast/alias_simple_3.ll
The file was addedpolly/test/CodeGen/test-invalid-operands-for-select-2.ll
The file was removedpolly/test/Isl/CodeGen/switch-in-non-affine-region.ll
The file was addedpolly/test/CodeGen/OpenMP/single_loop.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_mapped_scalar_subregion___%for---%return.jscop
The file was removedpolly/test/Isl/CodeGen/partial_write_in_region_with_loop___%bb1---%bb14.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/stmt_split_no_dependence.ll
The file was addedpolly/test/CodeGen/stmt_split_no_dependence.ll
The file was removedpolly/test/Isl/Ast/rms___%for.cond---%for.end10.jscop
The file was addedpolly/test/CodeGen/OpenMP/loop-bounds-reference-outer-ids.ll
The file was removedpolly/test/Isl/CodeGen/PHIInExit.ll
The file was removedpolly/test/Isl/CodeGen/region_multiexit_partialwrite___%bb3---%bb19.jscop
The file was addedpolly/test/CodeGen/20100718-DomInfo.ll
The file was removedpolly/test/Isl/CodeGen/hoisting_2.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/codegen_simple_md.ll
The file was addedpolly/test/CodeGen/reduction.ll
The file was addedpolly/test/CodeGen/intrinsics_misc.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/create_arrays___%bb9---%bb26.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/phi_loop_carried_float.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/codegen_simple_float.ll
The file was addedpolly/test/CodeGen/partial_write_mapped_scalar.ll
The file was addedpolly/test/CodeGen/simple_vec_cast.ll
The file was addedpolly/test/IstAstInfo/single_loop_strip_mine___%for.cond---%for.end.jscop
The file was addedpolly/test/CodeGen/20120316-InvalidCast.ll
The file was removedpolly/test/Isl/CodeGen/split_edges_2.ll
The file was addedpolly/test/CodeGen/annotated_alias_scopes.ll
The file was addedpolly/test/CodeGen/single_loop_param.ll
The file was addedpolly/test/IstAstInfo/reduction_modulo_schedule_multiple_dimensions_5.ll
The file was addedpolly/test/CodeGen/MemAccess/simple___%for.cond4---%for.end14.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/MemAccess/update_access_functions___%loop1---%exit.jscop
The file was removedpolly/test/Isl/CodeGen/simple_loop_non_single_exit_2.ll
The file was removedpolly/test/Isl/CodeGen/loop_with_condition_ineq.ll
The file was addedpolly/test/CodeGen/blas_sscal_simplified.ll
The file was addedpolly/test/CodeGen/empty_domain_in_context.ll
The file was addedpolly/test/IstAstInfo/aliasing_parametric_simple_2.ll
The file was addedpolly/test/CodeGen/MemAccess/generate-all.ll
The file was addedpolly/test/IstAstInfo/reduction_clauses_multidimensional_access.ll
The file was addedpolly/test/CodeGen/20120403-RHS-type-mismatch.ll
The file was addedpolly/test/CodeGen/partial_write_array.ll
The file was removedpolly/test/Isl/Ast/runtime_context_with_error_blocks.ll
The file was removedpolly/test/Isl/CodeGen/inner_scev_sdiv_in_lb_invariant.ll
The file was addedpolly/test/CodeGen/aliasing_different_base_and_access_type.ll
The file was addedpolly/test/CodeGen/partial_write_in_region.ll
The file was addedpolly/test/IstAstInfo/dependence_distance_parametric.ll
The file was addedpolly/test/CodeGen/synthesizable_phi_write_after_loop.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_base_pointer.ll
The file was addedpolly/test/CodeGen/single_do_loop_scev_replace.ll
The file was addedpolly/test/IstAstInfo/dependence_distance_constant.ll
The file was addedpolly/test/CodeGen/invariant_load_loop_ub.ll
The file was removedpolly/test/Isl/Ast/OpenMP/single_loop_param_non_parallel.ll
The file was removedpolly/test/Isl/CodeGen/empty_domain_in_context.ll
The file was addedpolly/test/CodeGen/multiple-scops-in-a-row.ll
The file was addedpolly/test/CodeGen/loop_with_condition.ll
The file was removedpolly/test/Isl/CodeGen/pointer-type-expressions.ll
The file was removedpolly/test/Isl/CodeGen/simple_vec_stride_negative_one.ll
The file was addedpolly/test/CodeGen/partial_write_mapped_scalar_subregion.ll
The file was removedpolly/test/Isl/CodeGen/simple_vec_stride_one.ll
The file was addedpolly/test/IstAstInfo/OpenMP/nested_loop_inner_parallel.ll
The file was addedpolly/test/CodeGen/MemAccess/simple___%for.cond4---%for.end14.jscop
The file was removedpolly/test/Isl/CodeGen/simple_non_single_entry.ll
The file was removedpolly/test/Isl/CodeGen/scev.ll
The file was removedpolly/test/Isl/CodeGen/sequential_loops.ll
The file was removedpolly/test/Isl/CodeGen/test.ll
The file was addedpolly/test/CodeGen/memcpy_annotations.ll
The file was removedpolly/test/Isl/Ast/OpenMP/nested_loop_both_parallel_parametric.ll
The file was removedpolly/test/Isl/CodeGen/memcpy_annotations.ll
The file was removedpolly/test/Isl/Ast/aliasing_parametric_simple_1.ll
The file was addedpolly/test/CodeGen/non-affine-phi-node-expansion-3.ll
The file was removedpolly/test/Isl/Ast/rmalrs___%for.cond---%for.end10.jscop
The file was removedpolly/test/Isl/CodeGen/phi_scalar_simple_2.ll
The file was removedpolly/test/Isl/CodeGen/stack-overflow-in-load-hoisting.ll
The file was removedpolly/test/Isl/CodeGen/20120403-RHS-type-mismatch.ll
The file was removedpolly/test/Isl/CodeGen/20150328-SCEVExpanderIntroducesNewIV.ll
The file was addedpolly/test/CodeGen/simple_vec_assign_scalar.ll
The file was addedpolly/test/CodeGen/scev-backedgetaken.ll
The file was addedpolly/test/CodeGen/multiple-types-invariant-load-2.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_in_region_with_loop___%bb1---%bb14.jscop
The file was addedpolly/test/CodeGen/non_affine_float_compare.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_mapped_scalar___%for---%return.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/non-affine-exit-node-dominance.ll
The file was addedpolly/test/CodeGen/phi-defined-before-scop.ll
The file was addedpolly/test/IstAstInfo/reduction_modulo_schedule_multiple_dimensions.ll
The file was addedpolly/test/CodeGen/intrinsics_lifetime.ll
The file was removedpolly/test/Isl/CodeGen/multiple-types-invariant-load.ll
The file was removedpolly/test/Isl/CodeGen/large-numbers-in-boundary-context.ll
The file was addedpolly/test/CodeGen/partial_write_array___%for---%return.jscop
The file was removedpolly/test/Isl/CodeGen/create-conditional-scop.ll
The file was addedpolly/test/CodeGen/exprModDiv___%for.cond---%for.end.jscop
The file was removedpolly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_5.ll
The file was addedpolly/test/IstAstInfo/reduction_in_one_dimension.ll
The file was removedpolly/test/Isl/CodeGen/run-time-condition.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/codegen_address_space.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/generate-all.ll
The file was addedpolly/test/CodeGen/entry_with_trivial_phi.ll
The file was removedpolly/test/Isl/Ast/reduction_clauses_multidimensional_access.ll
The file was addedpolly/test/CodeGen/phi_scalar_simple_1.ll
The file was removedpolly/test/Isl/CodeGen/exprModDiv___%for.cond---%for.end.jscop
The file was addedpolly/test/CodeGen/MemAccess/codegen_simple_md___%for.cond---%for.end6.jscop.transformed+withoutconst
The file was addedpolly/test/CodeGen/dead_invariant_load_instruction_referenced_by_parameter_1.ll
The file was addedpolly/test/CodeGen/MemAccess/update_access_functions.ll
The file was addedpolly/test/IstAstInfo/single_loop_uint_max_iterations.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/simple_stride_test.ll
The file was removedpolly/test/Isl/Ast/dependence_distance_parametric.ll
The file was removedpolly/test/Isl/Ast/OpenMP/nested_loop_both_parallel.ll
The file was addedpolly/test/CodeGen/20100713_2.ll
The file was removedpolly/test/Isl/CodeGen/aliasing_struct_element.ll
The file was addedpolly/test/CodeGen/scalar-references-used-in-scop-compute.ll
The file was addedpolly/test/IstAstInfo/non_affine_access.ll
The file was removedpolly/test/Isl/CodeGen/non-affine-dominance-generated-entering.ll
The file was removedpolly/test/Isl/CodeGen/phi_conditional_simple_1.ll
The file was removedpolly/test/Isl/CodeGen/ptrtoint_as_parameter.ll
The file was removedpolly/test/Isl/CodeGen/region_multiexit_partialwrite.ll
The file was removedpolly/test/Isl/CodeGen/invariant_loads_ignore_parameter_bounds.ll
The file was addedpolly/test/CodeGen/MemAccess/invariant_base_ptr.ll
The file was addedpolly/test/CodeGen/exprModDiv___%for.cond---%for.end.jscop.pow2
The file was addedpolly/test/CodeGen/invariant_loads_from_struct_with_different_types_2.ll
The file was removedpolly/test/Isl/CodeGen/scev_looking_through_bitcasts.ll
The file was removedpolly/test/Isl/single_loop_param_less_than.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_array___%for---%return.jscop.transformed
The file was addedpolly/test/CodeGen/invariant_verify_function_failed_2.ll
The file was removedpolly/test/Isl/CodeGen/exprModDiv___%for.cond---%for.end.jscop.pow2
The file was removedpolly/test/Isl/CodeGen/20120316-InvalidCast.ll
The file was addedpolly/test/CodeGen/OpenMP/recomputed-srem.ll
The file was addedpolly/test/CodeGen/invariant_load_escaping.ll
The file was addedpolly/test/CodeGen/phi_loop_carried_float.ll
The file was addedpolly/test/CodeGen/simple_vec_stride_negative_one.ll
The file was addedpolly/test/CodeGen/OpenMP/single_parallel_loop___%for.i---%exit.jscop
The file was addedpolly/test/CodeGen/invariant_load_base_pointer_conditional.ll
The file was addedpolly/test/IstAstInfo/OpenMP/nested_loop_outer_parallel.ll
The file was addedpolly/test/IstAstInfo/reduction_dependences_equal_non_reduction_dependences.ll
The file was removedpolly/test/Isl/CodeGen/inv-load-lnt-crash-wrong-order.ll
The file was addedpolly/test/CodeGen/MemAccess/create_arrays_heap___%for.cond1.preheader---%for.end18.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/scop_expander_insert_point.ll
The file was addedpolly/test/IstAstInfo/rmsmd2___%for.cond---%for.end6.jscop
The file was addedpolly/test/CodeGen/pointer-type-expressions-2.ll
The file was addedpolly/test/CodeGen/OpenMP/two-parallel-loops-reference-outer-indvar.ll
The file was removedpolly/test/Isl/single_loop_uint_max_iterations.ll
The file was addedpolly/test/CodeGen/multidim-non-matching-typesize.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_mapped_vector.ll
The file was removedpolly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll
The file was addedpolly/test/CodeGen/switch-in-non-affine-region.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_scalar_escape_alloca_sharing.ll
The file was addedpolly/test/CodeGen/20150328-SCEVExpanderIntroducesNewIV.ll
The file was removedpolly/test/Isl/CodeGen/20100809-IndependentBlock.ll
The file was addedpolly/test/IstAstInfo/dependence_distance_varying_multiple.ll
The file was addedpolly/test/CodeGen/invariant_loads_from_struct_with_different_types_1.ll
The file was removedpolly/test/Isl/CodeGen/region_multiexit_partialwrite___%bb3---%bb19.jscop.transformed
The file was addedpolly/test/CodeGen/multiple-types-invariant-load.ll
The file was addedpolly/test/CodeGen/20100708.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/loop-bounds-reference-outer-ids.ll
The file was removedpolly/test/Isl/CodeGen/intrinsics_lifetime.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/reference-other-bb.ll
The file was addedpolly/test/CodeGen/invariant-load-dimension.ll
The file was removedpolly/test/Isl/isl-args.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values.ll
The file was addedpolly/test/CodeGen/partial_write_in_region_with_loop___%bb1---%bb14.jscop.transformed
The file was addedpolly/test/CodeGen/conflict-between-loop-invariant-code-hosting-and-escape-map-computation.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_escaping.ll
The file was addedpolly/test/CodeGen/OpenMP/reference-argument-from-non-affine-region.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/codegen_simple_md___%for.cond---%for.end6.jscop.transformed+withoutconst
The file was removedpolly/test/Isl/CodeGen/MemAccess/simple_stride___%for.cond---%for.end.jscop
The file was addedpolly/test/CodeGen/invariant_load_escaping_second_scop.ll
The file was removedpolly/test/Isl/CodeGen/inner_scev_sdiv_1.ll
The file was removedpolly/test/Isl/CodeGen/multiple-types-invariant-load-2.ll
The file was addedpolly/test/IstAstInfo/reduction_modulo_schedule_multiple_dimensions_2.ll
The file was removedpolly/test/Isl/CodeGen/blas_sscal_simplified.ll
The file was addedpolly/test/CodeGen/invariant_load_parameters_cyclic_dependence.ll
The file was removedpolly/test/Isl/CodeGen/20130221.ll
The file was removedpolly/test/Isl/CodeGen/exprModDiv.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_mapped_scalar_subregion___%for---%return.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/aliasing_multidimensional_access.ll
The file was removedpolly/test/Isl/CodeGen/debug-intrinsics.ll
The file was removedpolly/test/Isl/CodeGen/single_loop_int_max_iterations.ll
The file was addedpolly/test/CodeGen/hoisting_2.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-iv.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_base_pointer_conditional_2.ll
The file was addedpolly/test/CodeGen/MemAccess/simple.ll
The file was removedpolly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_2.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/create_arrays_heap___%for.cond1.preheader---%for.end18.jscop
The file was removedpolly/test/Isl/CodeGen/invariant_loads_from_struct_with_different_types_2.ll
The file was addedpolly/test/IstAstInfo/OpenMP/nested_loop_both_parallel_parametric.ll
The file was addedpolly/test/Support/isl-args.ll
The file was removedpolly/test/Isl/Ast/run-time-condition.ll
The file was addedpolly/test/CodeGen/non-affine-switch.ll
The file was removedpolly/test/Isl/CodeGen/perf_monitoring_cycles_per_scop.ll
The file was removedpolly/test/Isl/CodeGen/scop_never_executed_runtime_check_location.ll
The file was removedpolly/test/Isl/Ast/dependence_distance_varying_multiple.ll
The file was removedpolly/test/Isl/CodeGen/alignment.ll
The file was addedpolly/test/CodeGen/invariant_load_ptr_ptr_noalias.ll
The file was addedpolly/test/CodeGen/read-only-scalars.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/create_arrays_heap___%for.cond1.preheader---%for.end18.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/OpenMP/single_loop.ll
The file was addedpolly/test/CodeGen/aliasing_different_pointer_types.ll
The file was removedpolly/test/Isl/CodeGen/hoisting_1.ll
The file was removedpolly/test/Isl/CodeGen/non-affine-subregion-dominance-reuse.ll
The file was removedpolly/test/Isl/Ast/alias_simple_2.ll
The file was addedpolly/test/CodeGen/20101103-Overflow3.ll
The file was removedpolly/test/Isl/Ast/dependence_distance_parametric_expr.ll
The file was addedpolly/test/CodeGen/phi_loop_carried_float_escape.ll
The file was removedpolly/test/Isl/Ast/aliasing_parametric_simple_2.ll
The file was removedpolly/test/Isl/CodeGen/alias-check-multi-dim.ll
The file was removedpolly/test/Isl/CodeGen/20100713_2.ll
The file was addedpolly/test/IstAstInfo/reduction_modulo_schedule.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/multiple_types.ll
The file was addedpolly/test/CodeGen/OpenMP/loop-body-references-outer-values-3.ll
The file was addedpolly/test/CodeGen/20100720-MultipleConditions.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_mapped_scalar_subregion.ll
The file was addedpolly/test/IstAstInfo/OpenMP/single_loop_param_parallel.ll
The file was addedpolly/test/CodeGen/perf_monitoring_trip_counts_per_scop.ll
The file was addedpolly/test/CodeGen/scalar-store-from-same-bb.ll
The file was addedpolly/test/CodeGen/non-affine-region-exit-phi-incoming-synthesize.ll
The file was addedpolly/test/CodeGen/20100809-IndependentBlock.ll
The file was addedpolly/test/CodeGen/invariant_load_different_sized_types.ll
The file was addedpolly/test/CodeGen/only_non_affine_error_region.ll
The file was addedpolly/test/CodeGen/two-scops-in-row-invalidate-scevs.ll
The file was addedpolly/test/CodeGen/20130211-getNumberOfIterations.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/update_access_functions___%loop1---%exit.jscop.transformed
The file was addedpolly/test/IstAstInfo/dependence_distance_multiple_constant.ll
The file was addedpolly/test/CodeGen/phi_scalar_simple_2.ll
The file was addedpolly/test/CodeGen/phi_with_one_exit_edge.ll
The file was removedpolly/test/Isl/CodeGen/non-affine-region-implicit-store.ll
The file was addedpolly/test/IstAstInfo/alias_checks_with_empty_context.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/different_types.ll
The file was removedpolly/test/Isl/CodeGen/scalar-references-used-in-scop-compute.ll
The file was removedpolly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule.ll
The file was addedpolly/test/CodeGen/dead_invariant_load_instruction_referenced_by_parameter_2.ll
The file was addedpolly/test/CodeGen/MemAccess/create_arrays.ll
The file was removedpolly/test/Isl/Ast/rmsmd5___%for.cond---%for.end6.jscop
The file was addedpolly/test/IstAstInfo/OpenMP/single_loop_param_parallel_computeout.ll
The file was removedpolly/test/Isl/Ast/aliasing_multiple_alias_groups.ll
The file was addedpolly/test/CodeGen/perf_monitoring_cycles_per_scop.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/simple.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/invariant_base_pointer_preloaded_different_bb.ll
The file was removedpolly/test/Isl/CodeGen/invariant-load-dimension.ll
The file was removedpolly/test/Isl/CodeGen/simple_vec_call_2.ll
The file was addedpolly/test/CodeGen/MemAccess/different_types___%bb2---%bb18.jscop
The file was removedpolly/test/Isl/CodeGen/entry_with_trivial_phi_other_bb.ll
The file was removedpolly/test/Isl/CodeGen/phi_after_error_block_outside_of_scop.ll
The file was addedpolly/test/CodeGen/20130221.ll
The file was addedpolly/test/CodeGen/MemAccess/simple___%for.cond---%for.end14.jscop
The file was removedpolly/test/Isl/CodeGen/simple_vec_strides_multidim.ll
The file was addedpolly/test/CodeGen/partial_write_mapped_scalar___%for---%return.jscop.transformed
The file was addedpolly/test/CodeGen/non-affine-phi-node-expansion-2.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_loop_ub.ll
The file was removedpolly/test/Isl/CodeGen/load_subset_with_context___%for.cond7.preheader---%for.cond33.preheader.jscop.transformed
The file was addedpolly/test/CodeGen/MemAccess/update_access_functions___%loop1---%exit.jscop
The file was removedpolly/test/Isl/CodeGen/partial_write_emptyset.ll
The file was addedpolly/test/CodeGen/MemAccess/simple___%for.cond---%for.end.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/loop_with_condition.ll
The file was addedpolly/test/IstAstInfo/reduction_multiple_dimensions_2.ll
The file was addedpolly/test/IstAstInfo/alias_simple_2.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/update_access_functions.ll
The file was addedpolly/test/CodeGen/MemAccess/codegen_simple___%for.cond---%for.end.jscop.transformed
The file was removedpolly/test/Isl/CodeGen/simple_vec_large_width.ll
The file was addedpolly/test/CodeGen/simple_vec_strides_multidim.ll
The file was addedpolly/test/IstAstInfo/rmsmd5___%for.cond---%for.end6.jscop
The file was addedpolly/test/CodeGen/single_loop_param_less_equal.ll
The file was removedpolly/test/Isl/CodeGen/inner_scev_sdiv_3.ll
The file was removedpolly/test/Isl/CodeGen/invariant_load_different_sized_types.ll
The file was addedpolly/test/CodeGen/openmp_limit_threads.ll
The file was removedpolly/test/Isl/CodeGen/aliasing_parametric_simple_1.ll
The file was addedpolly/test/CodeGen/error_block_contains_invalid_memory_access.ll
The file was removedpolly/test/Isl/CodeGen/partial_write_mapped_vector___%for---%return.jscop
The file was removedpolly/test/Isl/CodeGen/partial_write_array___%for---%return.jscop
The file was removedpolly/test/Isl/CodeGen/MemAccess/create_arrays_heap.ll
The file was addedpolly/test/CodeGen/pr25241.ll
The file was addedpolly/test/CodeGen/pointer-type-expressions.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-2.ll
The file was addedpolly/test/CodeGen/single_do_loop_ll_max_iterations.ll
The file was removedpolly/test/Isl/CodeGen/simple_vec_two_stmts.ll
The file was addedpolly/test/CodeGen/invariant_load_outermost.ll
The file was addedpolly/test/CodeGen/MemAccess/different_types.ll
The file was addedpolly/test/CodeGen/simple_vec_call.ll
The file was addedpolly/test/CodeGen/20100622.ll
The file was addedpolly/test/CodeGen/param_div_div_div_2.ll
The file was removedpolly/test/Isl/CodeGen/20100713.ll
The file was removedpolly/test/Isl/CodeGen/OpenMP/single_loop_with_loop_invariant_baseptr.ll
The file was removedpolly/test/Isl/CodeGen/MemAccess/map_scalar_access___%outer.for---%return.jscop.transformed
The file was addedpolly/test/CodeGen/pointer-type-pointer-type-comparison.ll
The file was addedpolly/test/CodeGen/partial_write_in_region___%bb1---%bb12.jscop
The file was addedpolly/test/CodeGen/partial_write_in_region_with_loop___%bb1---%bb14.jscop
The file was addedpolly/test/CodeGen/test.ll
The file was removedpolly/test/Isl/Ast/alias_simple_1.ll
Commit 85d4e29fd84e1afe03a589e240e33aa5a5c4b7ce by arthur.j.odwyer
[libc++] Fix __wrap_iter to be a proper contiguous iterator.

Instead of overloading `__to_address`, let's specialize `pointer_traits`.
Function overloads need to be in scope at the point where they're called,
whereas template specializations do not. (User code can provide pointer_traits
specializations to be used by already-included library code, so obviously
`__wrap_iter` can do the same.)

`pointer_traits<__wrap_iter<It>>` cannot provide `pointer_to`, because
you generally cannot create a `__wrap_iter` without also knowing the
identity of the container into which you're trying to create an iterator.
I believe this is OK; contiguous iterators are required to provide
`to_address` but *not* necessarily `pointer_to`.

Differential Revision: https://reviews.llvm.org/D110198
The file was modifiedlibcxx/include/__iterator/wrap_iter.h
The file was modifiedlibcxx/test/std/utilities/memory/pointer.traits/pointer_to.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/pointer.conversion/to_address_std_iterators.pass.cpp
Commit 10a5632550abb318c8012a80ae753f606263712a by gusrb406
[NFC][InstCombine] Fix inconsistent comments
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Commit c2be2d3284d2b0d76eacbe3e3999fb0843ef65a6 by wlei
[llvm-profgen] Fix a bug of assertion

The assertion should work on the entire context.

Reviewed By: hoy, wenlei

Differential Revision: https://reviews.llvm.org/D110268
The file was modifiedllvm/tools/llvm-profgen/ProfiledBinary.cpp
Commit 686cc0006793b06fd15d08cc0188b071f49ae990 by wlei
[llvm-profgen] Fix an out-of-range error during unwinding

It happened that the LBR entry target can be the first address of text section which causes an out-of-range crash. So here add a boundary check.

Reviewed By: hoy, wenlei

Differential Revision: https://reviews.llvm.org/D110271
The file was modifiedllvm/tools/llvm-profgen/PerfReader.cpp
Commit 1ed69bb86eb188ab23f62c266d2d23846588e768 by wlei
[llvm-profgen] Fix a dangling vector reference in CS line number based generator

It seems we missed one spot to persist `SampleContextFrameVector` into the global table (CSProfileGenerator::populateFunctionBoundarySamples:340) which causes a crash.

This change tried to fix it in a centralized way i. e. where we generate the `FunctionSamples`.

Reviewed By: hoy, wenlei

Differential Revision: https://reviews.llvm.org/D110275
The file was modifiedllvm/tools/llvm-profgen/ProfileGenerator.cpp
The file was modifiedllvm/tools/llvm-profgen/ProfileGenerator.h
Commit ebc5feb4ed6b1f59a000669030f9639bf1763403 by kai.wang
[RISCV] Update mir tests.
The file was modifiedllvm/test/CodeGen/RISCV/rvv/get-vlen-debugloc.mir
The file was modifiedllvm/test/CodeGen/RISCV/rvv/tail-agnostic-impdef-copy.mir
The file was modifiedllvm/test/CodeGen/RISCV/rvv/commuted-op-indices-regression.mir
The file was modifiedllvm/test/CodeGen/RISCV/rvv/zvlsseg-spill.mir
The file was modifiedllvm/test/CodeGen/RISCV/rvv/emergency-slot.mir
The file was modifiedllvm/test/CodeGen/RISCV/rvv/reg-coalescing.mir
The file was modifiedllvm/test/CodeGen/RISCV/rvv/frameindex-addr.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/addi-scalable-offset.mir
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.mir
The file was modifiedllvm/test/CodeGen/RISCV/rvv/zvlsseg-copy.mir
The file was modifiedllvm/test/CodeGen/RISCV/rvv/mask-reg-alloc.mir
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsetvli-insert.mir
Commit 13207a21a64d3a0f1537cc99efe91d757d51f46c by freddy.ye
[NFC] Remove redundant setOperationAction.

[FROUND,FROUNDEVEN][f32, f64, f128] are set Expand twice.

Differential Revision: https://reviews.llvm.org/D110302
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
Commit 47cc166bc023b497bdffe0964d80f15eaee8b7da by john.demme
[MLIR] [Python] Make Attribute and Type hashable

Enables putting types and attributes in sets and in dicts as keys.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D110301
The file was modifiedmlir/test/python/ir/attributes.py
The file was modifiedmlir/lib/Bindings/Python/IRCore.cpp
The file was modifiedmlir/test/python/ir/builtin_types.py
Commit ebec077e07f5d35a870f075fb665c006978d49ea by pengfei.wang
[X86][FP16] Change the order of the operands in complex FMA intrinsics to allow swap between the mul operands.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D109658
The file was modifiedllvm/test/CodeGen/X86/stack-folding-fp-avx512fp16.ll
The file was modifiedllvm/test/CodeGen/X86/avx512fp16-combine-xor-vfmulc-fadd.ll
The file was modifiedllvm/test/CodeGen/X86/stack-folding-fp-avx512fp16vl.ll
The file was modifiedllvm/lib/Target/X86/X86InstrFragmentsSIMD.td
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedclang/lib/Headers/avx512vlfp16intrin.h
The file was modifiedllvm/test/CodeGen/X86/avx512cfmulsh-instrinsics.ll
The file was modifiedllvm/lib/Target/X86/X86IntrinsicsInfo.h
The file was modifiedclang/lib/Headers/avx512fp16intrin.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512cfma-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/avx512cfmul-intrinsics.ll
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/test/CodeGen/X86/avx512fp16-combine-vfmulc-fadd.ll
Commit 1873f3be78a5255df8c36c195f4c778f9f47fc5c by pengfei.wang
[demangle] Support for ISO/IEC TS 18661 binary floating point type

Reviewed By: #libc_abi, ldionne

Differential Revision: https://reviews.llvm.org/D105278
The file was modifiedllvm/include/llvm/Demangle/ItaniumDemangle.h
The file was modifiedlibcxxabi/test/test_demangle.pass.cpp
The file was modifiedlibcxxabi/src/demangle/ItaniumDemangle.h
Commit 3b12282b0ed738f138229993505fbba23cd534a2 by mnadeem
[AArch64][SVE][InstCombine] Eliminate redundant chains of tuple get/set

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

Change-Id: I06a3c28e3658ecda109a3a1b73265828274ab2ea
The file was addedllvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-tuple-get.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Commit 94c177e6b29e7ea1211d1650ca6fd98c87cd2b05 by johannes
[OpenMP][NFC] Clang format OMPIRBuilder

These files should be kept clang-formatted but diverge sometimes.
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
Commit 0a16c560102212f5b317e646486b6826847334ca by johannes
[OpenMP][NFC] Improve debug output
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
Commit 5e835ecb6d43eade0cbd0a91df7c22412481d264 by johannes
[OpenMP][NFC] Precommit test that exposes a bug in our optnone handling
The file was addedllvm/test/Transforms/OpenMP/get_hardware_num_threads_in_block_fold_optnone.ll
Commit 92280ae3d83d4c1436167fa05fc8292628062250 by johannes
[OpenMP][NFC] Rerun the test check update script on all OpenMP-Opt tests
The file was modifiedllvm/test/Transforms/OpenMP/icv_tracking.ll
The file was modifiedllvm/test/Transforms/OpenMP/dead_use.ll
The file was modifiedllvm/test/Transforms/OpenMP/deduplication.ll
Commit 57822c3f4f36b81635da98707cf149747a754a6b by johannes
[OpenMP][NFC] Repair test that contained nested kernels

The benchmark contained (partially) nested kernels, something we do not
generate nor support.
The file was modifiedllvm/test/Transforms/OpenMP/replace_globalization.ll
Commit c6457dcae88043cbd07dedc61b602b66b26f1ddf by johannes
[OpenMP][FIX] Be more deliberate about invalidating the AAKernelInfo state

This patch fixes a problem when the AAKernelInfo state was invalidated,
e.g., due to `optnone` for a kernel, but not all parts indicated the
invalidation properly. We further eliminate most full state
invalidations as they should never be necessary.

Differential Revision: https://reviews.llvm.org/D109468
The file was modifiedllvm/test/Transforms/OpenMP/get_hardware_num_threads_in_block_fold_optnone.ll
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
Commit f4abdb0c074bd7b7b89d9828d449078d16d0e1c3 by k
[libc++][spaceship] Implement std::pair::operator<=>

Implements parts of P1614, including synth-three-way and three way comparison for std::pair.

Reviewed By: #libc, Quuxplusone, Mordante

Differential Revision: https://reviews.llvm.org/D107721
The file was addedlibcxx/test/libcxx/library/description/conventions/expos.only.func/synth_three_way.pass.cpp
The file was modifiedlibcxx/include/utility
The file was addedlibcxx/test/libcxx/diagnostics/detail.headers/compare/synth_three_way.module.verify.cpp
The file was modifiedlibcxx/include/CMakeLists.txt
The file was addedlibcxx/test/std/utilities/utility/pairs/pairs.spec/three_way_comparison.pass.cpp
The file was modifiedlibcxx/include/module.modulemap
The file was modifiedlibcxx/include/__utility/pair.h
The file was modifiedlibcxx/docs/Status/SpaceshipProjects.csv
The file was addedlibcxx/include/__compare/synth_three_way.h
Commit e7b169a8ae99b0cef1e5262f18b35e0abcc69ef8 by mikael.holmen
[AMDGPU] Fix gcc warnings about unused variables [NFC]
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
Commit b7050c791d8951c0a099bf162f9ab3a696611b7d by diana.picus
[mlir] Fix build on Windows on Arm

clang-cl errors out while handling the templated version of tgfmt. This
patch works around the issue by explicitly choosing the non-templated
version of tgfmt, which takes an ArrayRef<std::string>.

More details in this thread:
https://lists.llvm.org/pipermail/cfe-dev/2021-September/068936.html

Thanks @Mehdi Amini for suggesting the fix :)

Differential Revision: https://reviews.llvm.org/D110223
The file was modifiedmlir/tools/mlir-tblgen/RewriterGen.cpp
Commit 352a2e67162541efe79a1e144b40a054751e7d5c by Jan Svoboda
[clang][tooling] NFC: Refactor command-line diagnostic tests

This patch uses a different command-line arguments to test `clang::tooling::ToolInvocation` that are not specific to Darwin.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D110160
The file was modifiedclang/unittests/Tooling/ToolingTest.cpp
Commit 76656ec8ec535bd17afc998112a83c7c55ad7719 by chen3.liu
[X86][FP16] Combine the FADD(A, FMA(B, C, 0)) to FMA(B, C, A)

This patch is to support transform something like
_mm512_add_ph(acc, _mm512_fmadd_pch(a, b, _mm512_setzero_ph()))
to _mm512_fmadd_pch(a, b, acc).

Differential Revision: https://reviews.llvm.org/D109953
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was addedllvm/test/CodeGen/X86/avx512fp16-combine-vfmac-fadd.ll
Commit 08ef24f6abdfaee038c47e3fe0b61b40e8fd9053 by sylvestre
Wrap xar/xar.h include in extern "C" block

Without such wrapping, linking lld fails with missing symbols because of
C++ symbol mangling with older versions of the MacOSX SDK, in which
xar.h doesn't have an extern "C" block itself.

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D110224
The file was modifiedlld/MachO/SyntheticSections.cpp
Commit 1f3f144446d1766b6bd63ac02a064450c4fa5e55 by shivam98.tkg
[NFC] Wrap MLIR addAffineForOpDomain warning with LLVM_DEBUG

Current warning message in method `addAffineForOpDomain` of mlir/lib/Analysis/AffineStructures.cpp is being printed to the stdout/stderr.
This patch redirects the warning with LLVM_DEBUG following standard llvm practice.

Reviewed By: bondhugula

Differential Revision: https://reviews.llvm.org/D108340
The file was modifiedmlir/lib/Analysis/AffineStructures.cpp
Commit 4223195de3eaaa9c221d1f178899f221be6264c5 by zeratul976
[clangd] Ensure lambda init-capture gets semantic token

Prior to this patch, CollectExtraHighlightings would incorrectly produce
a token for the init-capture's type which overlapped the name and
resulted in both being dropped.

Fixes https://github.com/clangd/clangd/issues/868

Differential Revision: https://reviews.llvm.org/D110130
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
Commit c5e0313e4489cb3130f441685fd4207eeee6aa48 by bjorn.a.pettersson
[ModuleInlinerWrapperPass] Do some naive printing of wrapped pipeline with -print-pipeline-passes

Bisecting and reducing opt pipelines that includes the
ModuleInlinerWrapperPass has turned out to be a bit problematic.
This is far from perfect (it still lacks information about inline
advisor params etc.), but it should give some kind of hint to what
the wrapped pipeline looks like when using -print-pipeline-passes.

Reviewed By: aeubanks, mtrofin

Differential Revision: https://reviews.llvm.org/D109878
The file was modifiedllvm/include/llvm/Transforms/IPO/Inliner.h
The file was modifiedllvm/lib/Transforms/IPO/Inliner.cpp
The file was modifiedllvm/test/Other/new-pm-print-pipeline.ll
Commit c3ae8ecb520e6565594272d12e447e295ce09c9b by bjorn.a.pettersson
[DAGCombiner] Rename isAlias as mayAlias. NFC

Differential Revision: https://reviews.llvm.org/D110062
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 6cef28ed2df19c197790ca777423fc1c2572c138 by jay.foad
[TII] Remove the MFI argument to convertToThreeAddress. NFC.

This simplifies the API and addresses a FIXME in
TwoAddressInstructionPass::convertInstTo3Addr.

Differential Revision: https://reviews.llvm.org/D110229
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86FixupLEAs.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/TwoAddressInstructionPass.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.h
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
Commit 5e28c892d06f95600f8b6290ad4de38bfe142637 by phosek
[Driver] Correctly handle static C++ standard library

When statically linking C++ standard library, we shouldn't add -Bdynamic
after including the library on the link line because that might override
user settings like -static and -static-pie. Rather, we should surround
the library with --push-state/--pop-state to make sure that -Bstatic
only applies to C++ standard library and nothing else. This has been
supported since GNU ld 2.25 (2014) so backwards compatibility should
no longer be a concern.

Differential Revision: https://reviews.llvm.org/D110128
The file was modifiedclang/lib/Driver/ToolChains/Fuchsia.cpp
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/test/Driver/linux-ld.c
The file was modifiedclang/test/Driver/fuchsia.cpp
Commit 904ca7d2ed97bf114fd11373c722acd1e54bfaa3 by phosek
Revert "[Driver] Correctly handle static C++ standard library"

This reverts commit 5e28c892d06f95600f8b6290ad4de38bfe142637 as
the linker on the clang-ppc64le-rhel bot doesn't seem to support
--push-state/--pop-state.
The file was modifiedclang/lib/Driver/ToolChains/Fuchsia.cpp
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/test/Driver/linux-ld.c
The file was modifiedclang/test/Driver/fuchsia.cpp
Commit 8b87c3d5736730cda1d8856098621029b759f3d1 by andre.simoesdiasvieira
[libc] Add optimized memset for AArch64

Differential Revision: https://reviews.llvm.org/D107848
The file was modifiedlibc/src/string/CMakeLists.txt
The file was addedlibc/src/string/aarch64/memset.cpp
The file was modifiedlibc/src/string/memory_utils/elements_aarch64.h
Commit 05663dc14644d12d688155d55ba267e7b7e69817 by Alexander.Richardson
[InstSimplify] Don't lose inbounds when simplifying a GEP

I noticed this while working on a (ptrtoint (gep null, x)) -> x fold.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D110168
The file was modifiedllvm/lib/Analysis/PHITransAddr.cpp
The file was modifiedllvm/lib/Transforms/Scalar/NewGVN.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/simplify-nested-bitcast.ll
The file was modifiedllvm/include/llvm/Analysis/InstructionSimplify.h
Commit af8b14c278c2cb5309562b6e3fa55333c2889d86 by dvyukov
tsan: remove unnecessary enum values (NFC)

Remove unnecessary enum values in the memory profiler.
There is no point in spelling them, it can only lead to bugs
and larger diffs when values are added/removed.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D110263
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
Commit 356ecd9bd1c5c10ff776dced80f353839fafb354 by dvyukov
tsan: remove DontDumpShadow from Go build

DontDumpShadow is used only in InitializeShadowMemory which is Go-only.

Depends on D110263.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D110264
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp
Commit dcc6db22d8508a85ecd2b8bdcc5ae5646968c083 by dvyukov
tsan: add another deep stack test

Add a test for a trace corner case that lead to a bug
in experimental runtime replacement.
Since it passes with the current runtime it makes sense
to submit it on its own.

Depends on D110264.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D110265
The file was addedcompiler-rt/test/tsan/deep_stack2.cpp
Commit 20d3e518010a2a4fa1f4cdc9b7b885f13966a19c by dvyukov
tsan: use RawShadow instead of u64 more

Fix few remaining cases where we use u64 instead of the new RawShadow type.

Depends on D110265.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D110266
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
Commit 702cb7afe9de21b9a86d012cdd0b283496e619af by dvyukov
tsan: move shadow declaration into a separate header file (NFC)

tsan_rtl.h is very huge and contains too many things.
Move FastState and Shadow types into a new tsan_shadow.h file.
This also allows to use FastState/Shadow in other header files
without creating circular dependencies (which most likely will
happen today).

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D110272
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt
The file was addedcompiler-rt/lib/tsan/rtl/tsan_shadow.h
Commit ce59ccd04023cab3a837da14079ca2dcbfebb70c by clementval
[fir][NFC] inline trival isa_<type> functions

This patch is part of the upstreaming effort from fir-dev branch and sync changes. Inline trival `isa_<type>` functions.

Co-authored-by: schweitzpgi

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D110233
The file was modifiedflang/lib/Optimizer/Dialect/FIRType.cpp
The file was modifiedflang/include/flang/Optimizer/Dialect/FIRType.h
Commit e7c879a69d6b61f35969936a9efd46bcfbf80ca0 by fraser
[RISCV][VP] Add support for VP_REDUCE_* operations

This patch adds codegen support for lowering the vector-predicated
reduction intrinsics to RVV instructions. The process is similar to that
of the other reduction intrinsics, save for the fact that every VP
reduction has a start value. We reuse the existing custom "VL" nodes,
adding extra patterns where required to handle non-true masks.

To support these nodes, the `RISCVISD::VECREDUCE_*_VL` nodes have been
given an explicit "merge" operand. This is to faciliate the VP
reductions, where we must be careful to ensure that even if no operation
is performed (when VL=0) we still produce the start value. The RVV
reductions don't update the destination register under these conditions,
so we tie the splatted start value to the output register.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D107657
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
The file was addedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp-vp.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was addedllvm/test/CodeGen/RISCV/rvv/vreductions-int-vp.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vreductions-mask-vp.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-int-vp.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was addedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-mask-vp.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll
Commit 5685eb950da7c6901c8b264a3c93e8ea63b34d3d by pavel
[lldb] Fix DomainSocket::GetSocketName for unnamed sockets

getpeername will return addrlen = 2 (sizeof sa_family_t) for unnamed
sockets (those not assigned a name with bind(2)). This is typically true
for client sockets as well as those created by socketpair(2).

This GetSocketName used to crash for sockets which were connected to
these kinds of sockets. Now it returns an empty string.
The file was modifiedlldb/source/Host/posix/DomainSocket.cpp
The file was modifiedlldb/unittests/Host/SocketTest.cpp
Commit 85a586501bcc5b556d34a566b9d256d56d6fc5ba by bjorn.a.pettersson
[BasicBlockUtils] Fixup of an assumed typo in MergeBlockIntoPredecessor

The NFC commit e5692a564a73ef63b7b changed the logic for
DomTreeUpdates to use the range [succ_begin, succ_begin) when
looking for SuccsOfPredBB rather than using [succ_begin, succ_end).

As the commit was NFC this is identified as a typo (it has been
discussed briefly in phabricator).

The typo was found when inspecting the code, so I've got no idea if
changing back to the old range has any significant impact (such as
solving any PR:s or causing some new problems). But at least this
restores the code to the originally indented behavior.
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
Commit 5cabe4d9d3226bfd0856ac031b63ab641acc08f5 by llvm-dev
[CodeGen] RegisterCoalescer::buildVRegToDbgValueMap - use const-ref value in for-range loop. NFCI.

Avoid unnecessary copies, reported by MSVC static analyzer.
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp
Commit 2a5936faf0f3da9f55109ac1ed3b7b45436e3ced by llvm-dev
[CodeGen] ProcessSDDbgValues - use const-ref value in for-range loop. NFCI.

Avoid unnecessary copies, reported by MSVC static analyzer.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
Commit fbacf5ad385c63c73060369ac11dd535e44a37ce by jim
[RISCV] Add missing op type OPERAND_UIMM2, OPERAND_UIMM3 and OPERAND_UIMM7 for verifyInstruction

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D110307
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
Commit 5ce89279c0986d0bcbe526dce52f91dd0c16427c by flo
[DSE] Track earliest escape, use for loads in isReadClobber.

At the moment, DSE only considers whether a pointer may be captured at
all in a function. This leads to cases where we fail to remove stores to
local objects because we do not check if they escape before potential
read-clobbers or after.

Doing context-sensitive escape queries in isReadClobber has been removed
a while ago in d1a1cce5b130 to save compile-time. See PR50220 for more
context.

This patch introduces a new capture tracker, which keeps track of the
'earliest' capture. An instruction A is considered earlier than instruction
B, if A dominates B. If 2 escapes do not dominate each other, the
terminator of the common dominator is chosen. If not all uses cannot be
analyzed, the earliest escape is set to the first instruction in the
function entry block.

If the query instruction dominates the earliest escape and is not in a
cycle, then pointer does not escape before the query instruction.

This patch uses this information when checking if a load of a loaded
underlying object may alias a write to a stack object. If the stack
object does not escape before the load, they do not alias.

I will share a follow-up patch to also use the information for call
instructions to fix PR50220.

In terms of compile-time, the impact is low in general,
    NewPM-O3: +0.05%
    NewPM-ReleaseThinLTO: +0.05%
    NewPM-ReleaseLTO-g: +0.03

with the largest change being tramp3d-v4 (+0.30%)
http://llvm-compile-time-tracker.com/compare.php?from=1a3b3301d7aa9ab25a8bdf045c77298b087e3930&to=bc6c6899cae757c3480f4ad4874a76fc1eafb0be&stat=instructions

Compared to always computing the capture information on demand, we get
the following benefits from the caching:
NewPM-O3: -0.03%
NewPM-ReleaseThinLTO: -0.08%
NewPM-ReleaseLTO-g: -0.04%

The biggest speedup is tramp3d-v4 (-0.21%).
http://llvm-compile-time-tracker.com/compare.php?from=0b0c99177d1511469c633282ef67f20c851f58b1&to=bc6c6899cae757c3480f4ad4874a76fc1eafb0be&stat=instructions

Overall there is a small, but noticeable benefit from caching. I am not
entirely sure if the speedups warrant the extra complexity of caching.
The way the caching works also means that we might miss a few cases, as
it is less precise. Also, there may be a better way to cache things.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D109844
The file was modifiedllvm/lib/Analysis/CaptureTracking.cpp
The file was modifiedllvm/include/llvm/Analysis/CaptureTracking.h
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
The file was modifiedllvm/test/Transforms/DeadStoreElimination/captures-before-load.ll
Commit 7faf1285f2c416494aacf7ee13e70e330b2f0540 by dvyukov
tsan: remove expected race leftover

Remove nmissed_expected variable.
It's a leftover from removed "expected race" feature and is never incremented.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D110321
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
Commit 1711a6ec650980764d97b3be148745e2813a3707 by Louis Dionne
[libc++] Remove uses of _LIBCPP_HAS_NO_VARIABLE_TEMPLATES

All supported compilers provide support for variable templates now.

Differential Revision: https://reviews.llvm.org/D110284
The file was modifiedlibcxx/test/support/test_macros.h
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/test/libcxx/selftest/test_macros.pass.cpp
The file was modifiedlibcxx/include/chrono
The file was modifiedlibcxx/include/ratio
The file was modifiedlibcxx/include/type_traits
Commit c75c5c5f8f3740716c9a1c4fb1d8f7e753af2cf6 by spatel
[CodeGen] update test file to not run the entire LLVM optimizer; NFC

Clang regression tests should not break when changes are made to
the LLVM optimizer. This file broke on the 1st attempt at D110170,
so I'm trying to prevent that on another try.

Similar to other files in this directory, we make a compromise and
run -mem2reg to reduce noise by about 1000 lines out of 5000+ CHECK lines.
The file was modifiedclang/test/CodeGen/aapcs-bitfield.c
Commit cef0280a95dd969f18a5cd3c2238a60a25ef4cce by thakis
[gn build] (semi-manually) port 702cb7afe9de
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/tsan/BUILD.gn
Commit 64f623d4c37c686e74fae6f1a3e33dd4f39e1423 by thakis
[gn build] (manually) port ac191bcc99e2f
The file was modifiedllvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
Commit ac889a5262f230eaccfbe60ad2c1d1ae60280623 by llvmgnsyncbot
[gn build] Port f4abdb0c074b
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit bb9333c3504a4a02b982526ad8264d14c6ec1ad4 by spatel
[InstCombine] fold cast of right-shift if high bits are not demanded (2nd try)

The 1st try at this was reverted because it caused an infinite loop in instcombine.
That should be fixed after:
1cd6b44f267b

(masked) trunc (lshr X, C) --> (masked) lshr (trunc X), C

Narrowing the shift should be better for analysis and can lead
to follow-on transforms as shown.

Attempt at a general proof in Alive2:
https://alive2.llvm.org/ce/z/tRnnSF

Here are a couple of the specific tests:
https://alive2.llvm.org/ce/z/bCnTp-
https://alive2.llvm.org/ce/z/TfaHnb

Differential Revision: https://reviews.llvm.org/D110170
The file was modifiedllvm/test/Transforms/InstCombine/trunc-demand.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
Commit c931d35216a320465947a5a46b158cf71024458d by llvm-dev
[CostModel][X86] Increase i64 mul cost from 1 to 2

Only the most recent cpus support really 1cy 64-bit multiplies, and the X64 cost table represents a realistic worst case. The 1cy value was also discouraging vectorization when most vXi64 PMULDQ expansions aren't actually slower than scalarization.

Noticed while investigating PR51436.
The file was modifiedllvm/test/Analysis/CostModel/X86/rem.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-fix.ll
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/X86/arith-fix.ll
The file was modifiedllvm/test/Transforms/IndVarSimplify/X86/loop-invariant-conditions.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-mul.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/arith.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/slm-arith-costs.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/arith-overflow.ll
Commit eb209c13cce99b1ad8d8e619bf2006f4376ed1ef by sam.mccall
clangd: Do not report inline overrides twice

... in textDocument/references.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D110324
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
Commit 828422747d65ab6f0e3cdd75ed9a35f0afedf589 by Stefan Gränitz
[ORC][examples] Fix segfault in LLJITWithTargetProcessControl

Issue reported during review D110260
The file was modifiedllvm/examples/OrcV2Examples/LLJITWithTargetProcessControl/LLJITWithTargetProcessControl.cpp
Commit 3778c1cd6ef5a3286d5d49e842a2c65fffb8f3a6 by hokein.wu
[Sema] Fix a null pointer reference crash.

Differential Revision: https://reviews.llvm.org/D110315
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was addedclang/test/SemaCXX/rounding-math-crash.cpp
Commit 2ac53fffaeda809df34e3fb2c442b0fd85d4b0ff by Piotr Sobczak
[AMDGPU] Avoid processing functions in amdgpu-propagate-attributes pass for shaders

The pass amdgpu-propagate-attributes ("Early/Late propagate attributes
from kernels to functions") is currently run also for shaders, where
it does nothing. Modify the check so the pass only processes functions
for kernels.

Differential Revision: https://reviews.llvm.org/D109961
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
Commit 5f2c53bdf4c58a488c098ed42c26dfcd369dd15e by llvm-dev
Pass some DataLayout arguments by const-ref

Avoid unnecessary copies, reported by MSVC static analyzer.
The file was modifiedllvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Assembler.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp
Commit 8ecf3660f2de3b88d10db0fd52d0bc80bda33dcc by hokein.wu
Fix buildbot error.

-frounding-math is not available for all targets.
The file was modifiedclang/test/SemaCXX/rounding-math-crash.cpp
Commit 87689657e28cd78faf2e07e859fb5b96f7a1f8fc by Duncan P. N. Exon Smith
Support: Fix missing whitespace in comment for inconvertibleErrorCode(), NFC
The file was modifiedllvm/include/llvm/Support/Error.h
Commit b240a2980b6e3777d6659d993f3ba60a3ca84bcb by spatel
[x86] add AVX run to tests of fcmp logic; NFC

The ISA before AVX has predicate gaps for both fcmp
codegen alternatives, so that requires a more
complicated fix to get ideal asm in all cases.
The file was modifiedllvm/test/CodeGen/X86/fcmp-logic.ll
Commit b03e701c145365ba339657ead54a2e0cc5c02776 by mgorny
[lldb] [gdb-remote] Refactor getting remote regs to use local vector

Refactor remote register getters to collect them into a local
std::vector rather than adding them straight into DynamicRegisterInfo.
The purpose of this change is to lay groundwork for switching value_regs
and invalidate_regs to use local LLDB register numbers rather than
remote numbers.

Differential Revision: https://reviews.llvm.org/D110025
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
Commit 6fbed33d4a7de2229c40e6318f223092d3a23848 by mgorny
[lldb] [gdb-remote] Use local regnos for value_regs/invalidate_regs

Switch the gdb-remote client logic to use local (LLDB) register numbers
in value_regs/invalidate_regs rather than remote regnos. This involves
translating regnos received from lldb-server.

Differential Revision: https://reviews.llvm.org/D110027
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
Commit 7f5ca8cc2158debe66663f09eb19b4613e75e124 by shivam98.tkg
[clang] Use portable "#!/usr/bin/env bash" shebang for tools and utils.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D110041
The file was modifiedclang/tools/diag-build/diag-build.sh
The file was modifiedclang/utils/make-ast-dump-check.sh
Commit d5c67bba62d3abc96ac501f45cabc33a100b00e8 by craig.topper
[RegAlloc] Cast uint8_t to unsigned before printing it.

raw_ostream interprets uint8_t as wanting to print a character
with that ASCII value. In this case the uint8_t is an integer
that we want to print.
The file was modifiedllvm/lib/CodeGen/RegAllocGreedy.cpp
Commit a95061691e43fd9a4216e60917715bdc58660d17 by kazu
[SampleFDO] Remove redundant declarations (NFC)

Note that these are declared in SampleProfileLoaderBaseUtil.h, which
SampleProfileLoaderBaseImpl.h includes.
The file was modifiedllvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
Commit f9912fe4eac91f27965c22d015b3109c5158d050 by quinn.pham
[PowerPC] Add range checks for P10 Vector Builtins

This patch adds range checking for some Power10 altivec builtins and
changes the signature of a builtin to match documentation. For `vec_cntm`,
range checking is done via SemaChecking. For `vec_splati_ins`, the second
argument is masked to extract the 0th bit so that we always receive either a `0`
or a `1`.

Reviewed By: lei, amyk

Differential Revision: https://reviews.llvm.org/D109710
The file was modifiedclang/lib/Headers/altivec.h
The file was addedclang/test/CodeGen/builtins-ppc-p10vector-error.c
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/test/CodeGen/builtins-ppc-p10vector.c
Commit fd04fd9ac92d705f7d144b77109b8bcec950c04f by Louis Dionne
[libc++] Use CMake interface targets to setup benchmark flags

This is a re-application of da0592e4c8df which was reverted in
1454018dc1d9 because it was incompatible with older CMakes.
Instead, disable the benchmarks when CMake is too old to
support those idioms.

Differential Revision: https://reviews.llvm.org/D110285
The file was modifiedlibcxx/benchmarks/CMakeLists.txt
Commit 8229cb74125322ff337cfe316ab35c6ebf412bde by jay.foad
[LiveIntervals] Fix repairOldRegInRange for simple def cases

The fix applied in D23303 "LiveIntervalAnalysis: fix a crash in repairOldRegInRange"
was over-zealous. It would bail out when the end of the range to be
repaired was in the middle of the first segment of the live range of
Reg, which was always the case when the range contained a single def of
Reg.

This patch fixes it as suggested by Matthias Braun in post-commit review
on the original patch, and tests it by adding -early-live-intervals to
a selection of existing lit tests that now pass.

(Note that D23303 was originally applied to fix a crash in
SILoadStoreOptimizer, but that is now moot since D23814 updated
SILoadStoreOptimizer to run before scheduling so it no longer has to
update live intervals.)

Differential Revision: https://reviews.llvm.org/D110238
The file was addedllvm/test/CodeGen/AMDGPU/twoaddr-regsequence.mir
The file was modifiedllvm/lib/CodeGen/LiveIntervals.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/extract-load-i1.ll
The file was modifiedllvm/test/CodeGen/ARM/signext-inreg.ll
The file was modifiedllvm/test/CodeGen/X86/mul-shift-reassoc.ll
Commit 12504f50729a338fb37c1c1863e7125b607e11d7 by mgorny
Revert "[lldb] [gdb-remote] Use local regnos for value_regs/invalidate_regs"

This reverts commit 6fbed33d4a7de2229c40e6318f223092d3a23848.
The prerequisite commit is causing regressions.
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
Commit bcb6b97cde84b6acd67d5551302683234c09337c by mgorny
Revert "[lldb] [gdb-remote] Refactor getting remote regs to use local vector"

This reverts commit b03e701c145365ba339657ead54a2e0cc5c02776.  This is
causing regressions when XML support is disabled.
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Commit 1a6e1ee42a6af255d45e3fd2fe87021dd31f79bb by i
Resolve {GlobalValue,GloalIndirectSymol}::getBaseObject confusion

While both GlobalAlias and GlobalIFunc are GlobalIndirectSymbol, their
`getIndirectSymbol()` usage is quite different (GlobalIFunc's resolver
is an entity different from GlobalIFunc itself).

As discussed on https://lists.llvm.org/pipermail/llvm-dev/2020-September/144904.html
("[IR] Modelling of GlobalIFunc"), the name `getBaseObject` is confusing when
used with GlobalIFunc.

To resolve the confusion:

* Move GloalIndirectSymol::getBaseObject to GlobalAlias:: (GlobalIFunc should use `getResolver` instead)
* Change GlobalValue::getBaseObject not to inspect GlobalIFunc. Note: the function has 7 references.
* Add GlobalIFunc::getResolverFunction to peel off potential ConstantExpr indirection
  (`strlen` in `test/LTO/Resolution/X86/ifunc.ll`)

Note: GlobalIFunc::getResolver (like GlobalAlias::getAliasee which does not peel
off ConstantExpr indirection) is kept to be used by ValueEnumerator.

Reviewed By: ibookstein

Differential Revision: https://reviews.llvm.org/D109792
The file was modifiedllvm/lib/Object/IRSymtab.cpp
The file was modifiedllvm/include/llvm/IR/GlobalIFunc.h
The file was modifiedllvm/lib/Transforms/Utils/SplitModule.cpp
The file was modifiedllvm/lib/Object/ModuleSymbolTable.cpp
The file was modifiedllvm/include/llvm/IR/GlobalAlias.h
The file was modifiedllvm/lib/IR/Globals.cpp
The file was modifiedllvm/test/LTO/Resolution/X86/ifunc.ll
Commit 1e3c6fc7cb9d2ee6a5328881f95d6643afeadbff by nikita.ppv
[JumpThreading] Ignore free instructions

This is basically D108837 but for jump threading. Free instructions
should be ignored for the threading decision. JumpThreading already
skips some free instructions (like pointer bitcasts), but does not
skip various free intrinsics -- in fact, it currently gives them a
fairly large cost of 2.

Differential Revision: https://reviews.llvm.org/D110290
The file was modifiedllvm/include/llvm/Transforms/Scalar/JumpThreading.h
The file was modifiedllvm/test/Transforms/PhaseOrdering/inlining-alignment-assumptions.ll
The file was modifiedllvm/test/Transforms/JumpThreading/free_instructions.ll
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
Commit bbc74a11bc15f4ce962ac7f915309145dcfc2582 by clementval
[fir][NFC] rename canBePointerOrHeapElementType to cannotBePointerOrHeapElementType

This patch is part of the upstreaming effort from fir-dev branch.
Rename the function so the name conveys better what it does.

Reviewed By: jeanPerier

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

Co-authored-by: schweitz
Co-authored-by: jeanPerier
The file was modifiedflang/lib/Optimizer/Dialect/FIRType.cpp
Commit deb2ca566ae70303042e3ab9296978895a817bf8 by jay.foad
Revert "[LiveIntervals] Fix repairOldRegInRange for simple def cases"

This reverts commit 8229cb74125322ff337cfe316ab35c6ebf412bde.

It was failing on buildbots with expensive checks enabled.
The file was removedllvm/test/CodeGen/AMDGPU/twoaddr-regsequence.mir
The file was modifiedllvm/test/CodeGen/ARM/signext-inreg.ll
The file was modifiedllvm/test/CodeGen/X86/mul-shift-reassoc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/extract-load-i1.ll
The file was modifiedllvm/lib/CodeGen/LiveIntervals.cpp
Commit 2155aa79d7019b620906d94ae6be72179bfd4880 by clementval
[fir][NFC] Remove fir.cmpf replaced by mlir.cmpf

fir.cmpf op is not necessary anymore as it is replaced by mlir.cmpf.
This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: jeanPerier

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

Co-authored-by: schweitzpgi
Co-authored-by: jeanPerier
The file was modifiedflang/include/flang/Optimizer/Dialect/FIROps.td
The file was modifiedflang/lib/Optimizer/Dialect/FIROps.cpp
The file was modifiedflang/test/Fir/fir-ops.fir
The file was modifiedflang/include/flang/Optimizer/Dialect/FIROps.h
The file was modifiedflang/lib/Lower/IntrinsicCall.cpp
Commit e2050f94b65322f886eade488e4398cb38a480df by david.green
[ARM] Extra tests for unpredicated qr MVE intrinsics.
The file was modifiedllvm/test/CodeGen/Thumb2/mve-qrintr.ll
Commit e6126faba060d5341dae6c5cc99a22a80d8c4d23 by Louis Dionne
[libc++] Remove unused macro in __config

That macro was being defined but not used anywhere in libc++, so it
must be safe to remove it.

As a fly-by fix, also remove mentions of this macro in other places
in LLVM, to make sure they were not depending on the value defined in
libc++.

Differential Revision: https://reviews.llvm.org/D110289
The file was modifiedlibcxx/include/__config
The file was modifiedclang-tools-extra/clangd/unittests/JSONTransportTests.cpp
The file was modifiedllvm/lib/Support/LockFileManager.cpp
Commit 4393e3776b41471afbd37cb13fe5b777243fedd1 by pklausler
[flang] Implement READ(SIZE=) and INQUIRE(IOLENGTH=) in runtime

Count input characters corresponding to formatted edit descriptors
for READ(SIZE=); count output bytes for INQUIRE(IOLENGTH=).

The I/O APIs GetSize() and GetLength() were adjusted to return
std::size_t as function results.

Basic unit tests were added (and others fixed).

Differential Revision: https://reviews.llvm.org/D110291
The file was modifiedflang/unittests/Runtime/ExternalIOTest.cpp
The file was modifiedflang/runtime/io-api.cpp
The file was modifiedflang/runtime/io-stmt.h
The file was modifiedflang/include/flang/Runtime/io-api.h
The file was modifiedflang/runtime/descriptor-io.h
The file was modifiedflang/runtime/unit.cpp
The file was modifiedflang/runtime/edit-input.cpp
The file was modifiedflang/runtime/io-stmt.cpp
Commit 6bc9c8dfe32cc4662f2ed9041af527f69dfff13b by leonardchan
[compiler-rt][profile] Add padding after binary IDs

Some tests with binary IDs would fail with error: no profile can be merged.
This is because raw profiles could have unaligned headers when emitting binary
IDs. This means padding should be emitted after binary IDs are emitted to
ensure everything else is aligned. This patch accounts for that padding in
__llvm_write_binary_ids.

Differential Revision: https://reviews.llvm.org/D110188
The file was modifiedcompiler-rt/lib/profile/InstrProfilingPlatformLinux.c
Commit c22329972f02f9d51e2f9ea54d9075a4a808ffde by Raphael Isemann
[lldb] Add a C language REPL to test LLDB's REPL infrastructure

LLDB has a bunch of code that implements REPL support, but all that code is
unreachable as no language in master currently has an implemented REPL backend.
The only REPL that exists is in the downstream Swift fork. All patches for this
generic REPL code therefore also only have tests downstream which is clearly not
a good situation.

This patch implements a basic C language REPL on top of LLDB's REPL framework.
Beside implementing the REPL interface and hooking it up into the plugin
manager, the only other small part of this patch is making the `--language` flag
of the expression command compatible with the `--repl` flag. The `--repl` flag
uses the value of `--language` to see which REPL should be started, but right
now the `--language` flag is only available in OptionGroups 1 and 2, but not in
OptionGroup 3 where the `--repl` flag is declared.

The REPL currently can currently only start if a running target exists. I'll add
the 'create and run a dummy executable' logic from Swift (which is requires when
doing `lldb --repl`) when I have time to translate all this logic to something
that will work with Clang.

I should point out that the REPL currently uses the C expression parser's
approach to persistent variables where only result variables and the ones
starting with a '$' are transferred between expressions. I'll fix that in a
follow up patch. Also the REPL currently doesn't work in a non-interactive
terminal. This seems to be fixed in the Swift fork, so I assume one of our many
REPL downstream changes addresses the issue.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D87281
The file was addedlldb/source/Plugins/REPL/Clang/ClangREPL.h
The file was modifiedlldb/source/Plugins/CMakeLists.txt
The file was addedlldb/test/API/repl/clang/TestClangREPL.py
The file was addedlldb/source/Plugins/REPL/Clang/CMakeLists.txt
The file was addedlldb/source/Plugins/REPL/Clang/ClangREPL.cpp
The file was addedlldb/source/Plugins/REPL/CMakeLists.txt
The file was modifiedlldb/source/Commands/Options.td
The file was addedlldb/test/API/repl/clang/Makefile
The file was addedlldb/test/API/repl/clang/main.c
Commit 2f519825ba56cc2377ef9fbf1514944215ed9d0d by tlively
[WebAssembly] Add prototype relaxed SIMD fma/fms instructions

Add experimental clang builtins, LLVM intrinsics, and backend definitions for
the new {f32x4,f64x2}.{fma,fms} instructions in the relaxed SIMD proposal:
https://github.com/WebAssembly/relaxed-simd/blob/main/proposals/relaxed-simd/Overview.md.
Do not allow these instructions to be selected without explicit user opt-in.

Differential Revision: https://reviews.llvm.org/D110295
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-intrinsics.ll
The file was modifiedllvm/test/MC/WebAssembly/simd-encodings.s
The file was modifiedllvm/include/llvm/IR/IntrinsicsWebAssembly.td
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
The file was modifiedclang/include/clang/Basic/BuiltinsWebAssembly.def
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/test/CodeGen/builtins-wasm.c
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
Commit fa456505b80b0cf83647a1b26713e4d3b38eccc2 by mgorny
[lldb] [gdb-remote] Refactor getting remote regs to use local vector

Refactor remote register getters to collect them into a local
std::vector rather than adding them straight into DynamicRegisterInfo.
The purpose of this change is to lay groundwork for switching value_regs
and invalidate_regs to use local LLDB register numbers rather than
remote numbers.

Differential Revision: https://reviews.llvm.org/D110025
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Commit cc3c788ad23636d16f1db2ae859315628783b0e8 by mgorny
[lldb] [gdb-remote] Use local regnos for value_regs/invalidate_regs

Switch the gdb-remote client logic to use local (LLDB) register numbers
in value_regs/invalidate_regs rather than remote regnos. This involves
translating regnos received from lldb-server.

Differential Revision: https://reviews.llvm.org/D110027
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
Commit 59337263ab45d7657ee901eb5525a21967c46265 by Yuanfang Chen
Revert "Diagnose -Wunused-value based on CFG reachability"

This reverts commit cbbf2e8c8ae7730ff0121f4868de4a7d188feb65.
It seems causing diagnoses in SFINAE context.
The file was modifiedclang/test/CXX/drs/dr14xx.cpp
The file was modifiedclang/test/Sema/const-eval.c
The file was modifiedclang/test/Sema/sizeless-1.c
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/SemaCXX/overloaded-operator.cpp
The file was modifiedclang/test/Parser/objc-messaging-1.m
The file was modifiedclang/test/Sema/warn-unused-value.c
The file was modifiedclang/test/Sema/vla-2.c
The file was modifiedclang/test/CXX/basic/basic.link/p8.cpp
The file was modifiedclang/test/Parser/objc-try-catch-1.m
The file was modifiedclang/test/SemaTemplate/lambda-capture-pack.cpp
The file was modifiedclang/test/CodeCompletion/pragma-macro-token-caching.c
The file was modifiedclang/test/SemaCXX/constant-expression-cxx2a.cpp
The file was modifiedclang/test/SemaCXX/sizeless-1.cpp
The file was modifiedclang/test/Parser/cxx0x-ambig.cpp
The file was modifiedclang/test/Sema/i-c-e.c
The file was modifiedclang/test/SemaCXX/expression-traits.cpp
The file was modifiedclang/test/Sema/exprs.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/SemaCXX/vector.cpp
The file was modifiedclang/test/SemaCXX/warn-comma-operator.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.constr/partial-specializations.cpp
The file was modifiedclang/test/Parser/cxx1z-init-statement.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/SemaTemplate/derived.cpp
The file was modifiedclang/test/Parser/cxx-ambig-decl-expr.cpp
The file was modifiedclang/test/SemaCXX/matrix-type-operators.cpp
The file was modifiedclang/test/SemaCXX/constant-expression.cpp
The file was modifiedclang/test/Sema/switch-1.c
The file was modifiedclang/test/Analysis/dead-stores.c
The file was modifiedclang/test/Frontend/fixed_point_crash.c
The file was modifiedclang/test/SemaCXX/warn-unused-value.cpp
The file was modifiedclang/test/Parser/objcxx11-attributes.mm
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/test/CXX/drs/dr20xx.cpp
The file was modifiedclang/test/SemaCXX/attr-annotate.cpp
The file was modifiedclang/test/PCH/cxx-explicit-specifier.cpp
The file was modifiedclang/test/Sema/warn-type-safety.c
The file was modifiedclang/test/CXX/drs/dr7xx.cpp
The file was modifiedclang/test/SemaCXX/builtin-constant-p.cpp
Commit 74ba4b769ad9a5d7ba381ebc80fa8ced7d658451 by spatel
[x86] move combiner state check into convertIntLogicToFPLogic(); NFC

This function can be adapted to solve bugs like PR51245,
but it could require differentiating the combiner timing
between the existing and new transforms.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 5188e2c9ce1fb33600270243bbc32b4b108f1019 by spatel
[x86] add AVX512 run for fcmp+logic ops; NFC

Suggested in D110342
The file was modifiedllvm/test/CodeGen/X86/fcmp-logic.ll
Commit 19734ae6f05498a75d4bb3960be06f5d704f8528 by craig.topper
[RISCV] Add more tests for (and (srl x, C2), C1) that can be improved by using a pair of shifts. NFC

These tests have C1 as a shifted mask having C2 leading zeros and some
number of trailing zeros, C3. We can select this as
(slli (srli x, C2+C3), C3) or (slli (srliw x, C2+C3), C3).
The file was addedllvm/test/CodeGen/RISCV/shift-and.ll
Commit 4a69551d663e42453c3ad5ab799326fe2ddc9657 by craig.topper
[RISCV] Add more isel optimizations for (and (shr x, c2), c1).

Turn (and (shr x, c2), c1) -> (slli (srli x, c2+c3), c3) if c1 is a
shifted mask with c2 leading zeros and c3 trailing zeros.

When the leading zeros is C2+32 we can use SRLIW in place of SRLI.
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/RISCV/shift-and.ll
Commit 52272f294ffc28691ec3d77582c3678273d25411 by david.green
[AArch64] Update some sve-fixed-length test checks.

Some of these test show very poor code generation. Updating the tests
to make the tests more maintainable and prevent problems from being
hidden behind badly written test checks. Also in some of them the check
lines were using incorrect prefixes.

These are not-quite auto-generated. They are generated with the normal
update scripts and then uninteresting checks are removed, which at least
makes the test _more_ maintainable without materially changing what they
are testing.

I have otherwise attempted to not alter what is tested.
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-float-compares.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-masked-scatter.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-fp-vselect.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-vector-shuffle.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-masked-stores.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-insert-vector-elt.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-masked-loads.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-int-mulh.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-fp-extend-trunc.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-masked-gather.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-int-to-fp.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-fp-select.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-int-vselect.ll
Commit a44ab1702539c9ef3aea292e23cfbff17897bdbd by mydeveloperday
[clang-format] Add Left/Right Const fixer capability

Developers these days seem to argue over east vs west const like they used to argue over tabs vs whitespace or the various bracing style. These previous arguments were mainly eliminated with tools like `clang-format` that allowed those rules to become part of your style guide. Anyone who has been using clang-format in a large team over the last couple of years knows that we don't have those religious arguments any more, and code reviews are more productive.

https://www.youtube.com/watch?v=fv--IKZFVO8
https://mariusbancila.ro/blog/2018/11/23/join-the-east-const-revolution/
https://www.youtube.com/watch?v=z6s6bacI424

The purpose of this revision is to try to do the same for the East/West const discussion. Move the debate into the style guide and leave it there!

In addition to the new `ConstStyle: Right` or `ConstStyle: Left` there is an additional command-line argument `--const-style=left/right` which would allow an individual developer to switch the source back and forth to their own style for editing, and back to the committed style before commit. (you could imagine an IDE might offer such a switch)

The revision works by implementing a separate pass of the Annotated lines much like the SortIncludes and then create replacements for constant type declarations.

Differential Revision: https://reviews.llvm.org/D69764
The file was modifiedclang/lib/Format/Format.cpp
The file was modifiedclang/docs/ClangFormatStyleOp