UnstableChanges

Summary

  1. [Coroutines] Make sure that async coroutine context size is a multiple of the alignment requirement (details)
  2. [CostModel] add tests for math library calls; NFC (details)
  3. [CostModel] make default size cost for libcalls small (again) (details)
  4. [NFC] Small refactor to CompilationDatabase (details)
  5. [TableGen] Add frontend/backend phase timing capability. (details)
  6. [gn build] (manually) merge e51631ca4cf (details)
  7. Fix build after 54f9ee334 (details)
  8. [ARM] Remove more unused check prefixes, NFC (details)
  9. [BasicAA] Remove unnecessary size limitation (details)
  10. [llvm][NFC] Remove unnecessary vector creation in Annotations (details)
  11. Fix build (`ninja check` without running `ninja` first) (details)
  12. [TableGen] Fix missing braces in if statement (details)
  13. [Driver][test] Fix cc1-spawnprocess.c (details)
  14. [mlir][shape] Make attr-dict placement consistent (details)
  15. [AArch64] Remove unused check prefixes. NFC (details)
  16. [mlir] Add passes to passes.md to cleanup empty tabs on website index (details)
  17. Recommit "[VPlan] Use VPValue def for VPWidenSelectRecipe." (details)
  18. Move the test compiler setup in a common place. NFCI (details)
  19. Add forgotten in 888d06d file. (details)
  20. [DCE] Port -redundant-dbg-inst-elim to NPM (details)
  21. [sanitizer] Add timeouts for adb calls (details)
  22. [SCEV] Factor out part of wrap flag detection logic [NFC-ish] (details)
  23. [sanitizer] Fix setup of android-thread-properties-api (details)
  24. Revert "[SCEV] Factor out part of wrap flag detection logic [NFC-ish]" (details)
  25. [mlir] NFC: tiny fix in comment. (details)
  26. [Sema] Use isa<> instead of dyn_cast<> as pointer is never dereferenced. NFCI. (details)
  27. Fix temporary file name on Windows (details)
  28. [TableGen] Improve a couple of descriptions in the command guide (details)
  29. [VPlan] Use VPValue def for VPWidenGEPRecipe. (details)
  30. [gcc] Fix -Wempty-body warning. NFC. (details)
  31. [Sema] Improve notes for value category mismatch in overloading (details)
  32. Consistent spelling in diagnostics: {l,r}value instead of {l,r}-value (details)
  33. [NFC, Refactor] Modernize the TypeSpecifierWidth enum (Specifiers.h) to a scoped enum (details)
  34. [MemorySSA] Add pointer decrement loop clobber test case. (details)
  35. [AA] Add missing AAQI parameter (details)
  36. [OpenMP] Fix building for windows after adding omp_calloc (details)
  37. [InstCombine] add vector tests for multi-use demanded bits; NFC (details)
  38. [InstCombine] add multi-use demanded bits fold for add with low-bit mask (details)
  39. [InstCombine] reduce code for flip of masked bit; NFC (details)
  40. PR48169: Fix crash generating debug info for class non-type template (details)
  41. [CodeGen][X86] Remove unused trivial check-prefixes from all CodeGen/X86 directory. (details)
  42. [IRCE] Use the same min runtime iteration threshold for BPI and BFI checks (details)
  43. [SanitizerCoverage] Use llvm::all_of (NFC) (details)
  44. [X86] Fix crash with i64 bitreverse on 32-bit targets with XOP. (details)
  45. [TRE] Use successors(BB) (NFC) (details)
  46. [BranchProbabilityInfo] Use predecessors(BB) and successors(BB) (NFC) (details)
  47. [NFC][Test] Add test coverage for IEEE Long Double on Power8 (details)
  48. [ADCE] Use succ_empty (NFC) (details)
  49. [Loop Fusion] Use pred_empty and succ_empty (NFC) (details)
  50. [IR] Use llvm::is_contained in BasicBlock::removePredecessor (NFC) (details)
  51. [JumpThreading] Call eraseBlock when folding a conditional branch (details)
  52. Recommit "[NFC] Move code between functions as a preparation step for further improvement" (details)
  53. [VE] LVLGen sets VL before vector insts (details)
  54. [MCJIT] Profile the code generated by MCJIT engine using Intel VTune profiler (details)
  55. [clang][cli] Add support for options with two flags for controlling the same field. (details)
  56. [VP][NFC] Rename to HANDLE_VP_TO_OPC (details)
  57. [VE] Change variable capitalization (details)
  58. [RISCV] Use a macro to simplify getTargetNodeName (details)
  59. [OpenMP][Tool] Add Archer option to disable data race analysis for sequential part (details)
  60. [lld] Use %t file in test (details)
  61. [ARM] Cortex-M7 schedule (details)
  62. [LoopFlatten] Widen the IV (details)
  63. [IRGen] Add !annotation metadata for auto-init stores. (details)
  64. [LoopFlatten] Fold variable into assert. NFC. (details)
  65. [sanitizer] Fix StackDepotPrint testing (details)
  66. [VE] Add pfchv intrinsic instructions (details)
  67. [mlir][Linalg] Add support for tileAndDistribute on tensors. (details)
  68. [lldb] [Process/FreeBSDRemote] Access GPR via reginfo offsets (details)
  69. [AMDGPU][MC] Corrected error position for hwreg() and sendmsg() (details)
  70. [AMDGPU][MC] Corrected error position for swizzle() (details)
  71. [lldb] [Process/FreeBSDRemote] Access FPR via RegisterInfo offsets (details)
  72. [lldb] [Process/FreeBSDRemote] Access debug registers via offsets (details)
  73. [lldb] [Process/FreeBSDRemote] Modernize and simplify YMM logic (details)
  74. [lldb] [Process/FreeBSDRemote] Optimize regset pointer logic (details)
  75. [Test] More tests on range check elimination (details)
  76. [NFC][tsan] Simplify call_pthread_cancel_with_cleanup (details)
  77. Revert "Move the test compiler setup in a common place. NFCI" (details)
  78. Hwasan reporting check for dladdr failing (details)
  79. [AArch64] Add check for widening instruction for SVE. (details)
  80. [Test] More tests on range checks (details)
  81. [AMDGPU][MC] Corrected error position for some operands and modifiers (details)
  82. Reland "Move the test compiler setup in a common place. NFCI" (details)
  83. Convert TypeSpecifiersPipe from Specifiers.h to a scoped enum; NFC (details)
  84. Convert TypeSpecifierSign from Specifiers.h to a scoped enum; NFC (details)
  85. Adding some explicit casts to appease build bots; NFC (details)
  86. Fix bots that are running with assertions enabled; NFC. (details)
  87. [VE] Add lsv/lvs intrinsic instructions (details)
  88. [clang][SveEmitter] Fix enum declarations. [NFCI] (details)
  89. [mlir][StandardToSPIRV] Extend support for lowering cmpi to SPIRV. (details)
  90. Add pass to add !annotate metadata from @llvm.global.annotations. (details)
  91. [gn build] Port 8dbe44cb293 (details)
  92. [lldb] Add support for using variables with C++ keywords names in non-C++ expressions (details)
  93. [AIX][driver] Include crti[_64].o and -bcdtors also for C language link invocations by default (details)
  94. BPF: make __builtin_btf_type_id() return 64bit int (details)
  95. [VE] fastcc and vreg-to-vreg copy (details)
  96. [MLIR][OpenMP] Add omp.wsloop operation (details)
  97. [VE] Optimize leaf functions (details)
  98. [flang][f18] Remove "-fdebug-resolve-names" (details)
  99. [mlir] Require std.alloc() ops to have canonical layout during LLVM lowering. (details)
  100. [AMDGPU] Add comments. NFC. (details)
  101. Fix the compilation assertion due to unreachable BB pruning not deleting the associated BB from the jump tables (details)
  102. AMDGPU: Split large offsets when selecting global saddr mode (details)
  103. [AMDGPU][GlobalISel] Fix lowerShlSat (details)
  104. AMDGPU: Select global saddr mode from SGPR pointer (details)
  105. [fuzzer] Add allocator_may_return_null to uncaught-exception.test. (details)
  106. [Coroutine] Allocas used by StoreInst does not always escape (details)
  107. [fuzzer] Disable uncaught-exception on non-Win+undo bad fix (details)
  108. [flang] Unsplit COMPLEX operations (details)
  109. [lldb] Skip TestCppKeywordsAsCIdentifiers on Windows (details)
  110. [SimplifyCFG] Respect optforfuzzing in NPM pass (details)
  111. [RISCV] When matching SROIW, check all 64 bits of the OR mask (details)
  112. [Flang][OpenMP] Add semantic checks for OpenMP Depend clause. (details)
  113. Reland "[AsmPrinter] fix -disable-debug-info option" (details)
  114. [libc++] Remove transitional #error message (details)
  115. [RISCV] Add MC tests for the User Vector CSRs (details)
  116. [YAMLIO] Correctly diagnose empty alias/anchor (details)
  117. [AArch64][GlobalISel] Look through a G_ZEXT when trying to match shift-extended register offsets. (details)
  118. [dsymutil] Generalize handling of aliases external symbols (details)
  119. Convert ConstexprKind from Specifiers.h to a scoped enum; NFC (details)
  120. Speculatively fix the lldb build (details)
  121. Another speculative fix for lldb related to ConstexprSpecKind (details)
  122. Revert "[InstCombine] add multi-use demanded bits fold for add with low-bit mask" (details)
  123. [ConstraintElimination] Add complex test cases. (details)
  124. [coro] Async coroutines: Make sure we can handle control flow in suspend point dispatch function (details)
  125. [SCEV] Factor out part of wrap flag detection logic [NFC](try 2) (details)
  126. lld/mach-o: Infer darwinnew from filename ld64.lld.darwinnew too (details)
  127. [mlir] Add DecomposeCallGraphTypes pass. (details)
  128. [scudo][standalone] Correct min/max region indices (details)
  129. [libc++] Move the GDB pretty printer tests to the DSL (details)
  130. [LoopVec] Introduce an api for detecting uniform memory ops (details)
  131. [ConstraintElimination] Add support for Or. (details)
  132. [crashlog] Implement parser for JSON encoded crashlogs (details)
  133. [VE] Add lvm/svm intrinsic instructions (details)
  134. [InferAddrSpace] Teach to handle assumed address space. (details)
  135. [clang-tidy] performance-unnecessary-copy-initialization: Check for const reference arguments that are replaced template parameter type. (details)
  136. [AArch64][GlobalISel] Fold G_XOR x, -1 into G_SELECT and select CSINV (details)
  137. [LoopFlatten] Disable IV widening (details)
  138. Revert "Revert "[analyzer] NFC: Separate PathDiagnosticConsumer options from AnalyzerOptions."" (details)
  139. Add an optional argument for pattern rewriter max iteration count (NFC) (details)
  140. [MLIR] Extend Symbol verification to reject public symbol declarations. (details)
  141. [MC][test] Strengthen dwarf-asm-multiple-sections.s by adding more CHECK lines (details)
  142. [sanitizers-test]add definition for %device_rm on android so it stops complaining (details)
  143. [Polly] Move SimplifyVisitor into polly namespace. (details)
  144. test commit for new client (details)
  145. Fix flang MLIR unit test verification failures (details)
  146. [CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer (details)
  147. [AMDGPU] Add option -munsafe-fp-atomics (details)
  148. [flang] Duplicate names for ac-implied-do variables erroneously cause errors (details)
  149. [ORC] Include config.h in RegisterEHFrames.cpp. (details)
  150. [CodeGen][X86] Remove some unused check-prefixes and regenerate tests. (details)
  151. [Polly] Add override qualifiers. (details)
  152. Add const qualifier to Type's utility functions (details)
  153. ELFAsmParser: Remove non-SHF_ALLOC or non-executable sections' line info/address ranges contribution for -g (details)
  154. Fix python bindings tests after change in visibility requirement for symbol declarations (details)
  155. [Debugify] Skip debugifying on special/immutable passes (details)
  156. [NFC][PowerPC] Add testcase of constant-i64. (details)
  157. [SanitizerCoverage] Use [&] for lambdas (NFC) (details)
  158. [Test] One more widening opportunity test (details)
  159. [Transforms] Use pred_empty (NFC) (details)
  160. [NFC] Add const qualifier to isEmpty() (details)
  161. [NPM] Add remaining test of -slsr (details)
  162. [NFC] Collect ext users into vector instead of finding them twice (details)
  163. [crashlog] Improve patch-crashlog.py script (details)
  164. [Test] Add one more elaborate test with LCSSA users (details)
  165. [JumpThreading] Fix branch probabilities in DuplicateCondBranchOnPHIIntoPred() (details)
  166. [Driver] Quote executable in reports generated by -fproc-stat-report (details)
  167. [mlir][IR] Use tablegen for the BuiltinDialect and operations (details)
  168. [mlir][NFC] Remove references to Module.h and Function.h (details)
  169. [clang-tidy] Verify the fixes in abseil-redundant-strcat-calls test, NFC (details)
  170. [PowerPC] Add negated abs test using llvm.abs intrinsic. NFC. (details)
Commit 8fb73cecfd1a1c0367759721566a91d320f76d8b by aschwaighofer
[Coroutines] Make sure that async coroutine context size is a multiple of the alignment requirement

This simplifies the code the allocator has to executed

Differential Revision: https://reviews.llvm.org/D91471
The file was modifiedllvm/test/Transforms/Coroutines/coro-async.ll
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp
Commit df09f825995b10da03f148133c119f52c94fd6e4 by spatel
[CostModel] add tests for math library calls; NFC
The file was modifiedllvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll
Commit 8ec7ea3ddce7379e13e8dfb4a5260a6d2004aa1c by spatel
[CostModel] make default size cost for libcalls small (again)

This was changed recently with D90554 / f7eac51b9b3f
...because we had a regression testing blindspot for intrinsics
that are expected to be lowered to libcalls.

In general, we want the *size* cost for a scalar call to be cheap
even if the other costs are expensive - we expect it to just be
a branch with some optional stack manipulation.

It is likely that we will want to carve out some
exceptions/overrides to this rule as follow-up patches for
calls that have some general and/or target-specific difference
to the expected lowering.

This was noticed as a regression in unrolling, so we have a test
for that now along with a couple of direct cost model tests.

If the assumed scalarization costs for the oversized vector
calls are not realistic, that would be another follow-up
refinement of the cost models.
The file was modifiedllvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/test/Transforms/LoopUnroll/AArch64/thresholdO3-cost-model.ll
Commit 0a6e051a9b30cc1eade2c7a5045c9c643598499b by n.james93
[NFC] Small refactor to CompilationDatabase
The file was modifiedclang/lib/Tooling/CompilationDatabase.cpp
Commit 54f9ee334114e9b494fc80978357d58295a48bd1 by paul
[TableGen] Add frontend/backend phase timing capability.

Describe in the BackEnd Developer's Guide. Instrument a few backends.

Remove an old unused timing facility. Add a null backend for timing
the parser.

Differential Revision: https://reviews.llvm.org/D91388
The file was modifiedllvm/include/llvm/TableGen/Record.h
The file was modifiedllvm/lib/TableGen/Main.cpp
The file was modifiedllvm/utils/TableGen/DAGISelEmitter.cpp
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
The file was modifiedllvm/utils/TableGen/TableGen.cpp
The file was modifiedllvm/utils/TableGen/CodeGenTarget.cpp
The file was modifiedllvm/utils/TableGen/RegisterInfoEmitter.cpp
The file was modifiedllvm/lib/TableGen/Record.cpp
The file was modifiedllvm/utils/TableGen/CallingConvEmitter.cpp
The file was modifiedllvm/utils/TableGen/PseudoLoweringEmitter.cpp
The file was modifiedllvm/utils/TableGen/RegisterBankEmitter.cpp
The file was modifiedllvm/docs/TableGen/BackGuide.rst
The file was modifiedllvm/docs/CommandGuide/tblgen.rst
Commit c0538938c9323fb99114e2ad0305ad7a740cd0ec by thakis
[gn build] (manually) merge e51631ca4cf
The file was modifiedllvm/utils/gn/secondary/compiler-rt/test/test.gni
The file was modifiedllvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
Commit 237dcfe2e6a29f058f7ada3ba9bfcd6bb55ec76c by thakis
Fix build after 54f9ee334
The file was modifiedllvm/lib/TableGen/Record.cpp
The file was modifiedllvm/include/llvm/TableGen/Record.h
Commit 32556a9832883f13adeca5c45d32773b50fdc64f by david.green
[ARM] Remove more unused check prefixes, NFC
The file was modifiedllvm/test/CodeGen/ARM/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll
The file was modifiedllvm/test/CodeGen/Thumb/large-stack.ll
The file was modifiedllvm/test/CodeGen/Thumb2/pic-load.ll
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/multi-use-loads.ll
The file was modifiedllvm/test/CodeGen/ARM/cmse.ll
The file was modifiedllvm/test/CodeGen/ARM/long_shift.ll
The file was modifiedllvm/test/CodeGen/ARM/hoist-and-by-const-from-shl-in-eqcmp-zero.ll
The file was modifiedllvm/test/CodeGen/ARM/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/addsubcarry-promotion.ll
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-call-lowering.ll
The file was modifiedllvm/test/CodeGen/ARM/sub-of-not.ll
The file was modifiedllvm/test/CodeGen/ARM/qdadd.ll
The file was modifiedllvm/test/CodeGen/ARM/sat-to-bitop.ll
The file was modifiedllvm/test/CodeGen/ARM/usub_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/vcgt.ll
The file was modifiedllvm/test/CodeGen/ARM/bswap16.ll
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/select-dbg.mir
The file was modifiedllvm/test/CodeGen/ARM/usub_sat_plus.ll
The file was modifiedllvm/test/CodeGen/Thumb/PR35481.ll
The file was modifiedllvm/test/CodeGen/ARM/inc-of-add.ll
Commit 0b72444211e4d2016cbb7628ab5fb8272ded43a2 by nikita.ppv
[BasicAA] Remove unnecessary size limitation

We're dropping a common offset from both GEPs here. It's not
necessary for the access sizes to be the same as well.
The file was modifiedllvm/test/Analysis/BasicAA/noalias-geps.ll
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
Commit 5a2febb31af7e3ee2f6d1a3495c6ccbc7c7031b5 by n.james93
[llvm][NFC] Remove unnecessary vector creation in Annotations
The file was modifiedllvm/lib/Testing/Support/Annotations.cpp
Commit d34add0ba1c2d0c9d1d54c28e519b598128c9edb by joker.eph
Fix build (`ninja check` without running `ninja` first)

9218ff50f9 removed the BUILD.txt file, and as a subtle side-effect
libLLVMFrontendOpenACC wasn't a dependency of `ninja check` anymore.
However llvm-config requires all components to be built, and the
relevant test is broken when libLLVMFrontendOpenACC isn't built.

Unittest for libLLVMFrontendOpenACC are pending, but this addition
should fix some bots in the meantime.
The file was modifiedllvm/unittests/Frontend/CMakeLists.txt
Commit 9671790b4f7d660790eacb89d15228842a47b149 by paul
[TableGen] Fix missing braces in if statement
The file was modifiedllvm/lib/TableGen/Record.cpp
Commit c35448ba80bdaddaf4d4f7d2076da3b24135148a by i
[Driver][test] Fix cc1-spawnprocess.c
The file was modifiedclang/test/Driver/cc1-spawnprocess.c
Commit 02ef4bcb9ab8ebc51e9b4616f1110237c34209e1 by jpienaar
[mlir][shape] Make attr-dict placement consistent

Also follows what we do in std ops too and move it before :.
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
Commit 2104783d024cc9cea215256b9ae8bf518395e5fa by david.green
[AArch64] Remove unused check prefixes. NFC
The file was modifiedllvm/test/CodeGen/AArch64/div-rem-pair-recomposition-unsigned.ll
The file was modifiedllvm/test/CodeGen/AArch64/fast-isel-sdiv.ll
The file was modifiedllvm/test/CodeGen/AArch64/hoist-and-by-const-from-shl-in-eqcmp-zero.ll
The file was modifiedllvm/test/CodeGen/AArch64/div-rem-pair-recomposition-signed.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-neon-2velem.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-AdvSIMD-Scalar.ll
The file was modifiedllvm/test/CodeGen/AArch64/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll
Commit cf58df29495c2c527e5514bfe8c3582ac774952e by jpienaar
[mlir] Add passes to passes.md to cleanup empty tabs on website index
The file was modifiedmlir/docs/Passes.md
Commit a70b511e7802a082ea174c53a65ba78a1cec893f by flo
Recommit "[VPlan] Use VPValue def for VPWidenSelectRecipe."

This reverts the revert commit c8d73d939fa4fda9c87b3979225d02d63062bd68.

It includes a fix for cases where we missed inserting VPValues
for some selects, which should fix PR48142.
The file was modifiedllvm/test/Transforms/LoopVectorize/optsize.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/icmp-uniforms.ll
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanValue.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 888d06dfb8b55c4fd41fa4febe22c6fc4111c118 by v.g.vassilev
Move the test compiler setup in a common place. NFCI

This patch reduces the copy paste in the unittest/CodeGen folder by moving the
common compiler setup phase in a header file.

Differential revision: https://reviews.llvm.org/D91061
The file was modifiedclang/unittests/CodeGen/BufferSourceTest.cpp
The file was modifiedclang/unittests/CodeGen/CodeGenExternalTest.cpp
The file was modifiedclang/unittests/CodeGen/IncrementalProcessingTest.cpp
The file was modifiedclang/unittests/CodeGen/TBAAMetadataTest.cpp
Commit 23cc838099e10b13a32e54105f4db0f1b7e3a842 by v.g.vassilev
Add forgotten in 888d06d file.
The file was addedclang/unittests/CodeGen/TestCompiler.h
Commit 6e04da0a5ac98e776fa94a6ae240d3fed2d8be57 by aeubanks
[DCE] Port -redundant-dbg-inst-elim to NPM

This is used to test RemoveRedundantDbgInstrs(), which is used by other
passes.

Reviewed By: ychen

Differential Revision: https://reviews.llvm.org/D91477
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/include/llvm/Transforms/Scalar/DCE.h
The file was modifiedllvm/lib/Transforms/Scalar/DCE.cpp
The file was modifiedllvm/test/Transforms/DCE/dbg-value-removal.ll
Commit dd0b8b94d0796bd895cc998dd163b4fbebceb0b8 by Vitaly Buka
[sanitizer] Add timeouts for adb calls
The file was modifiedcompiler-rt/test/sanitizer_common/android_commands/android_common.py
Commit 1ec6e1eb8a084bffae8a40236eb9925d8026dd07 by listmail
[SCEV] Factor out part of wrap flag detection logic [NFC-ish]

In an effort to make code around flag determination more readable, and (possibly) prepare for a follow up change, factor out some of the flag detection logic.  In the process, reduce the number of locations we mutate wrap flags by a couple.

Note that this isn't NFC.  The old code tried for NSW xor (NUW || NW).  This is, two different paths computed different sets of wrap flags.  The new code will try for all three.  The result is that some expressions end up with a few extra flags set.
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
The file was modifiedllvm/test/Analysis/ScalarEvolution/pr22641.ll
The file was modifiedllvm/test/Transforms/IndVarSimplify/X86/loop-invariant-conditions.ll
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/test/Analysis/ScalarEvolution/sext-iv-2.ll
Commit 581ebf44d28b3e12bab771737e508fde9d22b25e by Vitaly Buka
[sanitizer] Fix setup of android-thread-properties-api
The file was modifiedcompiler-rt/test/lit.common.cfg.py
Commit 9ace4b337fe26dd2c15da854767064acdd8da543 by nikita.ppv
Revert "[SCEV] Factor out part of wrap flag detection logic [NFC-ish]"

This reverts commit 1ec6e1eb8a084bffae8a40236eb9925d8026dd07.

This change causes a significant compile-time regression:
https://llvm-compile-time-tracker.com/compare.php?from=dd0b8b94d0796bd895cc998dd163b4fbebceb0b8&to=1ec6e1eb8a084bffae8a40236eb9925d8026dd07&stat=instructions

I assume that this is due to the non-NFC part of the change, which
now performs expensive nowrap inference even for nowrap flags that
are not used by the particular code.
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/test/Analysis/ScalarEvolution/sext-iv-2.ll
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
The file was modifiedllvm/test/Transforms/IndVarSimplify/X86/loop-invariant-conditions.ll
The file was modifiedllvm/test/Analysis/ScalarEvolution/pr22641.ll
Commit 906220b5e9b3fc642c4b6c6401936c8f32e0e0d9 by csigg
[mlir] NFC: tiny fix in comment.

Reviewed By: ftynse, mehdi_amini

Differential Revision: https://reviews.llvm.org/D91430
The file was modifiedmlir/include/mlir/IR/Types.h
The file was modifiedmlir/include/mlir/IR/StandardTypes.h
Commit 5e373b2e94d714a7250e961029a58bae5585f33e by llvm-dev
[Sema] Use isa<> instead of dyn_cast<> as pointer is never dereferenced. NFCI.

We are only checking for the class type. Fixes Wshadow warnings.
The file was modifiedclang/lib/Sema/CodeCompleteConsumer.cpp
Commit fb58142e00ad73c2e6bfd80452e5e9b080c81552 by Yaxun.Liu
Fix temporary file name on Windows

Bound arch may contain ':', which is invalid in Windows file names.

This patch fixes that.

Differential Revision: https://reviews.llvm.org/D91421
The file was addedclang/test/Driver/hip-windows-filename.hip
The file was modifiedclang/lib/Driver/Driver.cpp
Commit d4b3277d8e96e781be47e78ed366116e201136d8 by paul
[TableGen] Improve a couple of descriptions in the command guide

Differential Revision: https://reviews.llvm.org/D91484
The file was modifiedllvm/docs/CommandGuide/tblgen.rst
Commit 0c119ba8a8e5a4343029f883fdcd126db52ba528 by flo
[VPlan] Use VPValue def for VPWidenGEPRecipe.

This patch turns VPWidenGEPRecipe into a VPValue and uses it
during VPlan construction and codegeneration instead of the plain IR
reference where possible.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D84683
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/vplan-printing.ll
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanValue.h
Commit d2acf229279233a6ff7317cc2268a65b7bc5fe80 by marek
[gcc] Fix -Wempty-body warning. NFC.
The file was modifiedlibcxx/include/__threading_support
The file was modifiedlibcxx/include/atomic
Commit 6f84779674a9764c6adee29b9a48ed3b3f0d5132 by aaronpuchert
[Sema] Improve notes for value category mismatch in overloading

When an overloaded member function has a ref-qualifier, like:

class X {
    void f() &&;
    void f(int) &;
};

we would print strange notes when the ref-qualifier doesn't fit the value
category:

X x;
x.f();
X().f(0);

would both print a note "no known conversion from 'X' to 'X' for object
argument" on their relevant overload instead of pointing out the
mismatch in value category.

At first I thought the solution is easy: just use the FailureKind member
of the BadConversionSequence struct. But it turns out that we weren't
properly setting this for function arguments. So I went through
TryReferenceInit to make sure we're doing that right, and found a number
of notes in the existing tests that improved as well.

Fixes PR47791.

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D90123
The file was modifiedclang/test/SemaCXX/overload-member-call.cpp
The file was modifiedclang/test/SemaCXX/rval-references-examples.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/CXX/drs/dr6xx.cpp
The file was modifiedclang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3-0x.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/test/CXX/drs/dr14xx.cpp
The file was modifiedclang/test/CXX/drs/dr1xx.cpp
Commit dea31f135ceae6e860e6301f9bb66d3b3adb1357 by aaronpuchert
Consistent spelling in diagnostics: {l,r}value instead of {l,r}-value

As Richard Smith pointed out in the review of D90123, both the C and C++
standard call it lvalue and rvalue, so let's stick to the same spelling
in Clang.
The file was modifiedclang/test/Misc/integer-literal-printing.cpp
The file was modifiedclang/test/OpenMP/nesting_of_regions.cpp
The file was modifiedclang/test/SemaCXX/user-defined-conversions.cpp
The file was modifiedclang/test/CXX/drs/dr6xx.cpp
The file was modifiedclang/test/SemaCXX/recovery-expr-type.cpp
The file was modifiedclang/test/Sema/heinous-extensions-on.c
The file was modifiedclang/test/OpenMP/atomic_messages.cpp
The file was modifiedclang/test/CXX/drs/dr1xx.cpp
The file was modifiedclang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3-0x.cpp
The file was modifiedclang/test/SemaTemplate/constructor-template.cpp
The file was modifiedclang/test/SemaObjC/arc.m
The file was modifiedclang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-cxx03-extra-copy.cpp
The file was modifiedclang/test/OpenMP/atomic_messages.c
The file was modifiedclang/test/SemaCXX/overload-member-call.cpp
The file was modifiedclang/test/Sema/heinous-extensions-off.c
The file was modifiedclang/test/SemaCXX/rval-references-examples.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/CXX/dcl/dcl.fct/p17.cpp
The file was modifiedclang/test/CXX/drs/dr14xx.cpp
Commit e6aa06545b123292be283af7c414daead23cf9ab by faisalv
[NFC, Refactor] Modernize the TypeSpecifierWidth enum (Specifiers.h) to a scoped enum

Reviewed here: https://reviews.llvm.org/D91409 by Aaron.
Highlights of the review:
  - avoid an underlying type for enums
  - avoid enum bit fields (MSVC packing anomalies) and favor static_casts to unsigned bit-fields

Patch by Thorsten Schuett <schuett@gmail.com> w some minor fixes in SemaType.cpp where a couple asserts had to be repaired to deal with lack of implicit coversion to int.

Thanks Thorsten!
The file was modifiedclang/include/clang/AST/TypeLoc.h
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/lib/Sema/DeclSpec.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/Sema/DeclSpec.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/include/clang/Basic/Specifiers.h
Commit 7fa8b629208c98efa883f7a0e1d51de1d21b104c by flo
[MemorySSA] Add pointer decrement loop clobber test case.
The file was modifiedllvm/test/Analysis/MemorySSA/phi-translation.ll
Commit 3b7f84d97fa5be1fcd178a5450362bfbe3ff0234 by nikita.ppv
[AA] Add missing AAQI parameter

This alias() call did not pass on the AAQueryInfo.
The file was modifiedllvm/lib/Analysis/AliasAnalysis.cpp
Commit 9bcef58b63776c490fd902290f0efc580e3970bc by martin
[OpenMP] Fix building for windows after adding omp_calloc

Differential Revision: https://reviews.llvm.org/D91478
The file was modifiedopenmp/runtime/tools/generate-def.pl
Commit 91aa211ea168306ba5d13830806f44aa41e1b5bc by spatel
[InstCombine] add vector tests for multi-use demanded bits; NFC

See D91415.
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
Commit e56103d25016c9ce4e98f652ac1a09379793ccf5 by spatel
[InstCombine] add multi-use demanded bits fold for add with low-bit mask

I noticed an add example like the one from D91343, so here's a similar patch.
The logic is based on existing code for the single-use demanded bits fold.
But I only matched a constant instead of using compute known bits on the
operands because that was the motivating patterni that I noticed.

I think this will allow removing a special-case (but incomplete) dedicated
fold within visitAnd(), but I need to untangle the existing code to be sure.

https://rise4fun.com/Alive/V6fP

  Name: add with low mask
  Pre: (C1 & (-1 u>> countLeadingZeros(C2))) == 0
  %a = add i8 %x, C1
  %r = and i8 %a, C2
  =>
  %r = and i8 %x, C2

Differential Revision: https://reviews.llvm.org/D91415
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/runtime-check.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/if-conversion-nest.ll
The file was modifiedllvm/test/Transforms/PhaseOrdering/X86/vdiv.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/float-induction-x86.ll
Commit 6ddc2377669243e93c1d6fa931f3eaef370e55e0 by spatel
[InstCombine] reduce code for flip of masked bit; NFC

There are 1-2 potential follow-up NFC commits to reduce
this further on the way to generalizing this for vectors.

The operand replacing path should be dead code because demanded
bits handles that more generally (D91415).
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
The file was modifiedllvm/test/Transforms/InstCombine/add.ll
Commit dc58cd1480374a6d5dbf87e8a2424811c0003ce3 by richard
PR48169: Fix crash generating debug info for class non-type template
parameters.

It appears that LLVM isn't able to generate a DW_AT_const_value for a
constant of class type, but if it could, we'd match GCC's debug info in
this case, and in the interim we no longer crash.
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-template.cpp
Commit c22dc71b120b066c0066b8517014149a001cc2b0 by pengfei.wang
[CodeGen][X86] Remove unused trivial check-prefixes from all CodeGen/X86 directory.

I had manually removed unused prefixes from CodeGen/X86 directory for more than 100 tests.
I checked the change history for each of them at the beginning, and then I mainly focused on the format since I found all of the unused prefixes were result from either insensible copy or residuum after functional update.
I think it's OK to remove the remaining X86 tests by script now. I wrote a rough script which works for me in most tests. I put it in llvm/utils temporarily for review and hope it may help other components owners.
The tests in this patch are all generated by the tool and checked by update tool for the autogenerated tests. I skimmed them and checked about 30 tests and didn't find any unexpected changes.

Reviewed By: mtrofin, MaskRay

Differential Revision: https://reviews.llvm.org/D91496
The file was modifiedllvm/test/CodeGen/X86/combine-bitselect.ll
The file was modifiedllvm/test/CodeGen/X86/palignr.ll
The file was modifiedllvm/test/CodeGen/X86/avx-logic.ll
The file was modifiedllvm/test/CodeGen/X86/fp-undef.ll
The file was modifiedllvm/test/CodeGen/X86/i128-udiv.ll
The file was modifiedllvm/test/CodeGen/X86/psubus.ll
The file was modifiedllvm/test/CodeGen/X86/clear-lowbits.ll
The file was modifiedllvm/test/CodeGen/X86/apm.ll
The file was modifiedllvm/test/CodeGen/X86/build-vector-512.ll
The file was modifiedllvm/test/CodeGen/X86/conditional-tailcall.ll
The file was modifiedllvm/test/CodeGen/X86/fp128-cast.ll
The file was modifiedllvm/test/CodeGen/X86/sincos.ll
The file was modifiedllvm/test/CodeGen/X86/8bit_cmov_of_trunc_promotion.ll
The file was modifiedllvm/test/CodeGen/X86/gather-addresses.ll
The file was modifiedllvm/test/CodeGen/X86/combine-smax.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-fsub-scalar.mir
The file was modifiedllvm/test/CodeGen/X86/broadcast-elm-cross-splat-vec.ll
The file was modifiedllvm/test/CodeGen/X86/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/X86/andimm8.ll
The file was modifiedllvm/test/CodeGen/X86/pr35982.ll
The file was modifiedllvm/test/CodeGen/X86/sse-scalar-fp-arith.ll
The file was modifiedllvm/test/CodeGen/X86/avx-intrinsics-x86_64.ll
The file was modifiedllvm/test/CodeGen/X86/isint.ll
The file was modifiedllvm/test/CodeGen/X86/combine-sub-usat.ll
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-umin.ll
The file was modifiedllvm/test/CodeGen/X86/lzcnt.ll
The file was modifiedllvm/test/CodeGen/X86/insertelement-ones.ll
The file was modifiedllvm/test/CodeGen/X86/pr46189.ll
The file was modifiedllvm/test/CodeGen/X86/pmulh.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-br.mir
The file was modifiedllvm/test/CodeGen/X86/atomic-non-integer.ll
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-fadd.ll
The file was modifiedllvm/test/CodeGen/X86/urem-seteq-nonzero.ll
The file was modifiedllvm/test/CodeGen/X86/sse2-intrinsics-x86_64-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/const-shift-of-constmasked.ll
The file was modifiedllvm/test/CodeGen/X86/fast-isel-int-float-conversion-x86-64.ll
The file was modifiedllvm/test/CodeGen/X86/inc-of-add.ll
The file was modifiedllvm/test/CodeGen/X86/load-scalar-as-vector.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-fdiv-scalar.mir
The file was modifiedllvm/test/CodeGen/X86/code-model-elf-memset.ll
The file was modifiedllvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll
The file was modifiedllvm/test/CodeGen/X86/fma-intrinsics-canonical.ll
The file was modifiedllvm/test/CodeGen/X86/clz.ll
The file was modifiedllvm/test/CodeGen/X86/clear-highbits.ll
The file was modifiedllvm/test/CodeGen/X86/sse-cvttp2si.ll
The file was modifiedllvm/test/CodeGen/X86/combine-abs.ll
The file was modifiedllvm/test/CodeGen/X86/i128-sdiv.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-ext.mir
The file was modifiedllvm/test/CodeGen/X86/lea-3.ll
The file was modifiedllvm/test/CodeGen/X86/combine-sub-ssat.ll
The file was modifiedllvm/test/CodeGen/X86/prefer-avx256-shift.ll
The file was modifiedllvm/test/CodeGen/X86/fma-intrinsics-x86-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/sse-scalar-fp-arith-unary.ll
The file was modifiedllvm/test/CodeGen/X86/atomic-fp.ll
The file was modifiedllvm/test/CodeGen/X86/prefer-avx256-lzcnt.ll
The file was modifiedllvm/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll
The file was modifiedllvm/test/CodeGen/X86/div-rem-pair-recomposition-signed.ll
The file was modifiedllvm/test/CodeGen/X86/urem-seteq-vec-nonsplat.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-memop-scalar.mir
The file was modifiedllvm/test/CodeGen/X86/fast-isel-fptrunc-fpext.ll
The file was modifiedllvm/test/CodeGen/X86/usub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/srem-seteq-optsize.ll
The file was modifiedllvm/test/CodeGen/X86/fast-isel-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/fshl.ll
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-smax.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-add.mir
The file was modifiedllvm/test/CodeGen/X86/atomic-idempotent.ll
The file was modifiedllvm/test/CodeGen/X86/not-and-simplify.ll
The file was modifiedllvm/test/CodeGen/X86/shrink-const.ll
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-umax.ll
The file was modifiedllvm/test/CodeGen/X86/haddsub.ll
The file was modifiedllvm/test/CodeGen/X86/align-down-const.ll
The file was modifiedllvm/test/CodeGen/X86/combine-add-usat.ll
The file was modifiedllvm/test/CodeGen/X86/legalize-shl-vec.ll
The file was modifiedllvm/test/CodeGen/X86/phaddsub-undef.ll
The file was modifiedllvm/test/CodeGen/X86/ssub_sat_plus.ll
The file was modifiedllvm/test/CodeGen/X86/fma-fneg-combine-2.ll
The file was modifiedllvm/test/CodeGen/X86/srem-seteq-vec-splat.ll
The file was modifiedllvm/test/CodeGen/X86/sse3-intrinsics-x86.ll
The file was modifiedllvm/test/CodeGen/X86/bmi.ll
The file was modifiedllvm/test/CodeGen/X86/midpoint-int-vec-256.ll
The file was modifiedllvm/test/CodeGen/X86/pr29222.ll
The file was modifiedllvm/test/CodeGen/X86/kshift.ll
The file was modifiedllvm/test/CodeGen/X86/pr45378.ll
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-add.ll
The file was modifiedllvm/test/CodeGen/X86/bmi-x86_64.ll
The file was modifiedllvm/test/CodeGen/X86/avx2-intrinsics-x86-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/pr35918.ll
The file was modifiedllvm/test/CodeGen/X86/fast-isel-uint-float-conversion-x86-64.ll
The file was modifiedllvm/test/CodeGen/X86/sse-intrinsics-fast-isel-x86_64.ll
The file was modifiedllvm/test/CodeGen/X86/avx.ll
The file was modifiedllvm/test/CodeGen/X86/scalar-int-to-fp.ll
The file was modifiedllvm/test/CodeGen/X86/powi.ll
The file was modifiedllvm/test/CodeGen/X86/haddsub-4.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-sub.mir
The file was modifiedllvm/test/CodeGen/X86/lwp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/avg-mask.ll
The file was modifiedllvm/test/CodeGen/X86/lround-conv-i32.ll
The file was modifiedllvm/test/CodeGen/X86/lea-dagdag.ll
The file was modifiedllvm/test/CodeGen/X86/midpoint-int-vec-512.ll
The file was modifiedllvm/test/CodeGen/X86/ssse3-intrinsics-x86-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/fma-intrinsics-x86.ll
The file was modifiedllvm/test/CodeGen/X86/shift-mask.ll
The file was modifiedllvm/test/CodeGen/X86/ssse3-intrinsics-fast-isel.ll
The file was modifiedllvm/test/CodeGen/X86/scalarize-fp.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-fconstant.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-sub-v128.mir
The file was modifiedllvm/test/CodeGen/X86/pr38533.ll
The file was modifiedllvm/test/CodeGen/X86/memcmp.ll
The file was modifiedllvm/test/CodeGen/X86/not-of-dec.ll
The file was modifiedllvm/test/CodeGen/X86/fold-load-binops.ll
The file was modifiedllvm/test/CodeGen/X86/avx-vzeroupper.ll
The file was modifiedllvm/test/CodeGen/X86/sext-i1.ll
The file was modifiedllvm/test/CodeGen/X86/mmx-build-vector.ll
The file was modifiedllvm/test/CodeGen/X86/insertps-combine.ll
The file was modifiedllvm/test/CodeGen/X86/fold-pcmpeqd-2.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-memop-scalar-unordered.mir
The file was modifiedllvm/test/CodeGen/X86/avx-cast.ll
The file was modifiedllvm/test/CodeGen/X86/extractelement-load.ll
The file was modifiedllvm/test/CodeGen/X86/merge-consecutive-loads-128.ll
The file was modifiedllvm/test/CodeGen/X86/recip-fastmath2.ll
The file was modifiedllvm/test/CodeGen/X86/cmovcmov.ll
The file was modifiedllvm/test/CodeGen/X86/sse2-intrinsics-fast-isel-x86_64.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-unsafe-fp-math.ll
The file was modifiedllvm/test/CodeGen/X86/combine-smin.ll
The file was modifiedllvm/test/CodeGen/X86/pr31773.ll
The file was modifiedllvm/test/CodeGen/X86/sqrt-partial.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-i1test.ll
The file was modifiedllvm/test/CodeGen/X86/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/sse-fcopysign.ll
The file was modifiedllvm/test/CodeGen/X86/conditional-tailcall-pgso.ll
The file was modifiedllvm/test/CodeGen/X86/addsub-constant-folding.ll
The file was modifiedllvm/test/CodeGen/X86/sse2-intrinsics-x86.ll
The file was modifiedllvm/test/CodeGen/X86/sat-add.ll
The file was modifiedllvm/test/CodeGen/X86/sse-intrinsics-x86-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/store-zero-and-minus-one.ll
The file was modifiedllvm/test/CodeGen/X86/fast-isel-store.ll
The file was modifiedllvm/test/CodeGen/X86/sse2-intrinsics-canonical.ll
The file was modifiedllvm/test/CodeGen/X86/tbm-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/urem-seteq-optsize.ll
The file was modifiedllvm/test/CodeGen/X86/pr32907.ll
The file was modifiedllvm/test/CodeGen/X86/fp-stack-direct-ret.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-memop-v128.mir
The file was modifiedllvm/test/CodeGen/X86/sse42-intrinsics-fast-isel-x86_64.ll
The file was modifiedllvm/test/CodeGen/X86/prefer-avx256-trunc.ll
The file was modifiedllvm/test/CodeGen/X86/fp-elim.ll
The file was modifiedllvm/test/CodeGen/X86/avx-intrinsics-x86-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/fma4-commute-x86.ll
The file was modifiedllvm/test/CodeGen/X86/sse1-fcopysign.ll
The file was modifiedllvm/test/CodeGen/X86/sse42-intrinsics-x86_64.ll
The file was modifiedllvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll
The file was modifiedllvm/test/CodeGen/X86/pr34292.ll
The file was modifiedllvm/test/CodeGen/X86/shuffle-strided-with-offset-256.ll
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-smin.ll
The file was modifiedllvm/test/CodeGen/X86/recip-fastmath.ll
The file was modifiedllvm/test/CodeGen/X86/cmpxchg8b.ll
The file was modifiedllvm/test/CodeGen/X86/ssse3-intrinsics-x86.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-add-v128.mir
The file was modifiedllvm/test/CodeGen/X86/scalar-fp-to-i32.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-trunc.mir
The file was modifiedllvm/test/CodeGen/X86/fma-scalar-memfold.ll
The file was modifiedllvm/test/CodeGen/X86/fixup-bw-copy.ll
The file was modifiedllvm/test/CodeGen/X86/pmaddubsw.ll
The file was modifiedllvm/test/CodeGen/X86/pull-conditional-binop-through-shift.ll
The file was modifiedllvm/test/CodeGen/X86/movddup-load-fold.ll
The file was modifiedllvm/test/CodeGen/X86/pr47874.ll
The file was modifiedllvm/test/CodeGen/X86/urem-seteq-vec-splat.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-fmul-scalar.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-memop-v256.mir
The file was modifiedllvm/test/CodeGen/X86/fast-isel-select-cmov.ll
The file was modifiedllvm/test/CodeGen/X86/prefer-avx256-wide-mul.ll
The file was modifiedllvm/test/CodeGen/X86/unfold-masked-merge-vector-variablemask.ll
The file was modifiedllvm/test/CodeGen/X86/promote-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-add-v512.mir
The file was modifiedllvm/test/CodeGen/X86/broadcastm-lowering.ll
The file was modifiedllvm/test/CodeGen/X86/i686-win-shrink-wrapping.ll
The file was modifiedllvm/test/CodeGen/X86/neg-of-3ops-lea.ll
The file was modifiedllvm/test/CodeGen/X86/rotate-extract.ll
The file was modifiedllvm/test/CodeGen/X86/insertelement-zero.ll
The file was modifiedllvm/test/CodeGen/X86/limited-prec.ll
The file was modifiedllvm/test/CodeGen/X86/div-rem-pair-recomposition-unsigned.ll
The file was modifiedllvm/test/CodeGen/X86/midpoint-int-vec-128.ll
The file was modifiedllvm/test/CodeGen/X86/usub_sat_plus.ll
The file was modifiedllvm/test/CodeGen/X86/pull-binop-through-shift.ll
The file was modifiedllvm/test/CodeGen/X86/tbm-intrinsics-fast-isel.ll
The file was modifiedllvm/test/CodeGen/X86/midpoint-int.ll
The file was modifiedllvm/test/CodeGen/X86/sse4a.ll
The file was modifiedllvm/test/CodeGen/X86/sse-intrinsics-x86_64.ll
The file was modifiedllvm/test/CodeGen/X86/cast-vsel.ll
The file was modifiedllvm/test/CodeGen/X86/sse2-intrinsics-x86_64.ll
The file was modifiedllvm/test/CodeGen/X86/sub-of-not.ll
The file was modifiedllvm/test/CodeGen/X86/phaddsub.ll
The file was modifiedllvm/test/CodeGen/X86/flt-rounds.ll
The file was modifiedllvm/test/CodeGen/X86/nontemporal-loads-2.ll
The file was modifiedllvm/test/CodeGen/X86/split-extend-vector-inreg.ll
The file was modifiedllvm/test/CodeGen/X86/finite-libcalls.ll
The file was modifiedllvm/test/CodeGen/X86/signed-truncation-check.ll
The file was modifiedllvm/test/CodeGen/X86/combine-umax.ll
The file was modifiedllvm/test/CodeGen/X86/ptest.ll
The file was modifiedllvm/test/CodeGen/X86/shrink_vmul.ll
The file was modifiedllvm/test/CodeGen/X86/combine-umin.ll
The file was modifiedllvm/test/CodeGen/X86/shuffle-vs-trunc-128.ll
The file was modifiedllvm/test/CodeGen/X86/merge-consecutive-stores-nt.ll
The file was modifiedllvm/test/CodeGen/X86/haddsub-3.ll
The file was modifiedllvm/test/CodeGen/X86/bmi2.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-ext-x86-64.mir
The file was modifiedllvm/test/CodeGen/X86/buildvec-extract.ll
The file was modifiedllvm/test/CodeGen/X86/fshr.ll
The file was modifiedllvm/test/CodeGen/X86/i128-mul.ll
The file was modifiedllvm/test/CodeGen/X86/srem-vector-lkk.ll
The file was modifiedllvm/test/CodeGen/X86/lsr-loop-exit-cond.ll
The file was modifiedllvm/test/CodeGen/X86/lower-vec-shift.ll
The file was modifiedllvm/test/CodeGen/X86/lack-of-signed-truncation-check.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-add-v256.mir
The file was modifiedllvm/test/CodeGen/X86/bool-vector.ll
The file was modifiedllvm/test/CodeGen/X86/shuffle-of-insert.ll
The file was modifiedllvm/test/CodeGen/X86/avx2-intrinsics-canonical.ll
The file was modifiedllvm/test/CodeGen/X86/memset-sse-stack-realignment.ll
The file was modifiedllvm/test/CodeGen/X86/shuffle-strided-with-offset-128.ll
The file was modifiedllvm/test/CodeGen/X86/urem-seteq-vec-nonzero.ll
The file was modifiedllvm/test/CodeGen/X86/avx2-phaddsub.ll
The file was modifiedllvm/test/CodeGen/X86/cvt16.ll
The file was modifiedllvm/test/CodeGen/X86/sse41-pmovxrm.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-add.mir
The file was modifiedllvm/test/CodeGen/X86/select-of-fp-constants.ll
The file was modifiedllvm/test/CodeGen/X86/align-down.ll
The file was modifiedllvm/test/CodeGen/X86/shift-amount-mod.ll
The file was modifiedllvm/test/CodeGen/X86/avx-cvttp2si.ll
The file was modifiedllvm/test/CodeGen/X86/pr28173.ll
The file was modifiedllvm/test/CodeGen/X86/copy-eflags.ll
The file was modifiedllvm/test/CodeGen/X86/nontemporal-3.ll
The file was modifiedllvm/test/CodeGen/X86/sadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/X86/sse2-intrinsics-x86-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/uadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/X86/insert-loaded-scalar.ll
The file was modifiedllvm/test/CodeGen/X86/fma_patterns.ll
The file was modifiedllvm/test/CodeGen/X86/fma-scalar-combine.ll
The file was modifiedllvm/test/CodeGen/X86/rdpid.ll
The file was modifiedllvm/test/CodeGen/X86/merge-consecutive-loads-512.ll
The file was modifiedllvm/test/CodeGen/X86/unfold-masked-merge-vector-variablemask-const.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-insert-vec256.mir
The file was modifiedllvm/test/CodeGen/X86/combine-sdiv.ll
The file was modifiedllvm/test/CodeGen/X86/fast-isel-vecload.ll
The file was modifiedllvm/test/CodeGen/X86/sse2.ll
The file was modifiedllvm/test/CodeGen/X86/sse41-intrinsics-x86.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-constant.mir
The file was modifiedllvm/test/CodeGen/X86/combine-add-ssat.ll
The file was modifiedllvm/test/CodeGen/X86/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/X86/combine-movmsk.ll
The file was modifiedllvm/test/CodeGen/X86/cmpxchg-clobber-flags.ll
The file was modifiedllvm/test/CodeGen/X86/pr34177.ll
The file was modifiedllvm/test/CodeGen/X86/v8i1-masks.ll
The file was addedllvm/utils/update_test_prefix.py
The file was modifiedllvm/test/CodeGen/X86/concat-cast.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-brcond.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-fadd-scalar.mir
The file was modifiedllvm/test/CodeGen/X86/maskmovdqu.ll
The file was modifiedllvm/test/CodeGen/X86/fma.ll
The file was modifiedllvm/test/CodeGen/X86/complex-fastmath.ll
The file was modifiedllvm/test/CodeGen/X86/sad_variations.ll
The file was modifiedllvm/test/CodeGen/X86/all-ones-vector.ll
The file was modifiedllvm/test/CodeGen/X86/subvector-broadcast.ll
The file was modifiedllvm/test/CodeGen/X86/peephole-na-phys-copy-folding.ll
The file was modifiedllvm/test/CodeGen/X86/sse42-intrinsics-x86.ll
The file was modifiedllvm/test/CodeGen/X86/trunc-subvector.ll
The file was modifiedllvm/test/CodeGen/X86/sse-intrinsics-x86_64-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/fp-cvt.ll
The file was modifiedllvm/test/CodeGen/X86/memcmp-more-load-pairs.ll
The file was modifiedllvm/test/CodeGen/X86/memcpy-struct-by-value.ll
The file was modifiedllvm/test/CodeGen/X86/sse41-intrinsics-x86-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/sse41.ll
The file was modifiedllvm/test/CodeGen/X86/sub-of-bias.ll
The file was modifiedllvm/test/CodeGen/X86/atomic32.ll
Commit 400f6edce7541e071afe18e40cca745a672e84dc by serguei.katkov
[IRCE] Use the same min runtime iteration threshold for BPI and BFI checks

In the last change to IRCE the BPI is ignored if BFI is present, however
BFI and BPI have a different thresholds. Specifically BPI approach checks only
latch exit probability so it is expected if the loop has only one exit block (latch)
the behavior with BFI and BPI should be the same,

BPI approach by default uses threshold 10, so it considers the loop with estimated
number of iterations less then 10 should not be considered for IRCE optimization.
BFI approach uses the default value 3 and this is inconsistent.

The CL modifies the code to use the same threshold for both approaches..

The test is updated due to it has two side-exits (except latch) and each of them has a
probability 1/16, so BFI estimates the number of runtime iteration is about to 7
(1/16 + 1/16 + some for latch) and test fails.

Reviewers: mkazantsev, ebrevnov
Reviewed By: mkazantsev
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D91230
The file was modifiedllvm/test/Transforms/IRCE/multiple-access-no-preloop.ll
The file was modifiedllvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
The file was modifiedllvm/test/Transforms/IRCE/low-iterations.ll
Commit 918e3439e20d068b3336febf084d7e11baa48311 by kazu
[SanitizerCoverage] Use llvm::all_of (NFC)
The file was modifiedllvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
Commit 57c0c4a27575840ae0a48eb9f8455a5ed087c857 by craig.topper
[X86] Fix crash with i64 bitreverse on 32-bit targets with XOP.

We unconditionally marked i64 as Custom, but did not install a
handler in ReplaceNodeResults when i64 isn't legal type. This
leads to ReplaceNodeResults asserting.

We have two options to fix this. Only mark i64 as Custom on
64-bit targets and let it expand to two i32 bitreverses which
each need a VPPERM. Or the other option is to add the Custom
handling to ReplaceNodeResults. This is what I went with.
The file was modifiedllvm/test/CodeGen/X86/bitreverse.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 43a6a1e928b709d78ca28e944e5184af191c521f by kazu
[TRE] Use successors(BB) (NFC)
The file was modifiedllvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
Commit c5cc2d8b945a23e32613014b5de5d8d7f0c3cfe6 by kazu
[BranchProbabilityInfo] Use predecessors(BB) and successors(BB) (NFC)
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp
Commit 2b84784a258da4dfd4ef99fb337f0f8b8321c200 by qshanz
[NFC][Test] Add test coverage for IEEE Long Double on Power8
The file was modifiedllvm/test/CodeGen/PowerPC/f128-arith.ll
The file was modifiedllvm/test/CodeGen/PowerPC/f128-bitcast.ll
The file was modifiedllvm/test/CodeGen/PowerPC/f128-aggregates.ll
The file was modifiedllvm/test/CodeGen/PowerPC/f128-rounding.ll
The file was modifiedllvm/test/CodeGen/PowerPC/f128-compare.ll
The file was modifiedllvm/test/CodeGen/PowerPC/f128-truncateNconv.ll
The file was modifiedllvm/test/CodeGen/PowerPC/f128-passByValue.ll
The file was modifiedllvm/test/CodeGen/PowerPC/f128-conv.ll
The file was modifiedllvm/test/CodeGen/PowerPC/f128-fma.ll
Commit 0c03d1328c454940616125d30d8e8b4045e8d5aa by kazu
[ADCE] Use succ_empty (NFC)
The file was modifiedllvm/lib/Transforms/Scalar/ADCE.cpp
Commit 0888eaf3fde66336f03a091086e733a3d860e296 by kazu
[Loop Fusion] Use pred_empty and succ_empty (NFC)
The file was modifiedllvm/lib/Transforms/Scalar/LoopFuse.cpp
Commit aa0695137791d8e7749dd6be5ea0e6a63bd85854 by kazu
[IR] Use llvm::is_contained in BasicBlock::removePredecessor (NFC)
The file was modifiedllvm/lib/IR/BasicBlock.cpp
Commit 147ccc848a5581765a758dc752842053aa0024d0 by kazu
[JumpThreading] Call eraseBlock when folding a conditional branch

This patch teaches the jump threading pass to call BPI->eraseBlock
when it folds a conditional branch.

Without this patch, BranchProbabilityInfo could end up with stale edge
probabilities for the basic block containing the conditional branch --
one edge probability with less than 1.0 and the other for a removed
edge.

This patch is one of the steps before we can safely re-apply D91017.

Differential Revision: https://reviews.llvm.org/D91511
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp
The file was addedllvm/test/Transforms/JumpThreading/thread-prob-2.ll
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
Commit b4624f65cfcb5b17226d0a330692570f8618ca69 by mkazantsev
Recommit "[NFC] Move code between functions as a preparation step for further improvement"

The bug should be fixed now.
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit 1c00d096a608da1489cc4e3c1bba9ac5b4732af8 by simon.moll
[VE] LVLGen sets VL before vector insts

The VE backend represents vector instructions with an explicit 'i32'
vector length operand.  In the VE ISA, the vector length is always read
from the VL hardware register.  The LVLGen pass inserts 'lvl'
instructions as necessary to set VL to the right value before each
vector instruction.

Reviewed By: kaz7

Differential Revision: https://reviews.llvm.org/D91416
The file was modifiedllvm/lib/Target/VE/CMakeLists.txt
The file was modifiedllvm/test/CodeGen/VE/VELIntrinsics/vst.ll
The file was addedllvm/lib/Target/VE/LVLGen.cpp
The file was modifiedllvm/lib/Target/VE/VETargetMachine.cpp
The file was addedllvm/test/CodeGen/VE/VELIntrinsics/lvlgen.ll
The file was modifiedllvm/test/CodeGen/VE/VELIntrinsics/vld.ll
The file was modifiedllvm/lib/Target/VE/VE.h
Commit f62e5f456917fabaa3c05442d343ea4fb4089a71 by Lang Hames
[MCJIT] Profile the code generated by MCJIT engine using Intel VTune profiler

Patch by Elena Kovanova. Thanks Elena!

Problem:

LLVM already has a feature to profile the JIT-compiled code with VTune. This is
done using Intel JIT Profiling API (https://github.com/intel/ittapi). Function
information is captured by VTune as soon as the function is JIT-compiled. We
tried to use the same approach to report the function information generated by
the MCJIT engine – read parsing the debug information for in-memory ELF module
and report it using JIT API. As the results, we figured out that it did not work
properly for the following cases: inline functions, the functions located in
multiple source files, the functions having several bodies (address ranges).

Solution:

To overcome limitations described above, we have introduced new APIs as a part
of Intel ITT APIs to report the entire in-memory ELF module to be further
processed as regular ELF binaries with debug information.

This patch

1. Switches LLVM to open source version of Intel ITT/JIT APIs
(https://github.com/intel/ittapi) to keep it always up to date.

2. Adds support of profiling the code generated by MCJIT engine using Intel
VTune profiler

Another separate patch will get rid of obsolete Intel ITT APIs stuff, having
LLVM already switched to https://github.com/intel/ittapi.

Differential Revision: https://reviews.llvm.org/D86435
The file was modifiedllvm/tools/llvm-jitlistener/llvm-jitlistener.cpp
The file was modifiedllvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventsWrapper.h
The file was modifiedllvm/lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt
The file was modifiedllvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp
The file was modifiedllvm/test/JitListener/lit.local.cfg
Commit 2f3055c543f8f5e8cd975350fae5f4b0ac4871c3 by git
[clang][cli] Add support for options with two flags for controlling the same field.

This enables automatically parsing and generating CC1 arguments for options where two flags control the same field, e.g. -fexperimental-new-pass-manager and -fno-experimental new pass manager.

Reviewed By: Bigcheese, dexonsmith

Original patch by Daniel Grumberg.

Differential Revision: https://reviews.llvm.org/D83071
The file was modifiedllvm/include/llvm/Option/OptParser.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/utils/TableGen/OptParserEmitter.cpp
Commit 0007d8ed2c0b4a1416642c111d49bbc5eb960730 by simon.moll
[VP][NFC] Rename to HANDLE_VP_TO_OPC

Use the less surprising shorthand OPC instead of OC.
The file was modifiedllvm/include/llvm/IR/VPIntrinsics.def
The file was modifiedllvm/lib/IR/IntrinsicInst.cpp
Commit 15a2bacab6e15d07b07ac228de178e2dca13df4b by marukawa
[VE] Change variable capitalization

Change dl to DL in VEFrameLowering.cpp.  And clean some comments.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D91490
The file was modifiedllvm/lib/Target/VE/VEFrameLowering.cpp
Commit fe9dc2e54a6d56cbc7a6aadee2efa5d3c83a7612 by fraser
[RISCV] Use a macro to simplify getTargetNodeName

Similar to the X86 and AMDGPU targets, this uses a macro to cut down on
repetitive and error-prone code when converting RISCVISD node names to
strings in getTargetNodeName.

Reviewed By: asb

Differential Revision: https://reviews.llvm.org/D91414
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit fdc9dfc8e47750fa27b7e7bde2f62c9af68b99e5 by protze
[OpenMP][Tool] Add Archer option to disable data race analysis for sequential part

This introduces the new `ARCHER_OPTIONS` flag `ignore_serial=0|1` to disable
analysis and logging of memory accesses in the sequential part of the OpenMP
application.

In the sequential part of an OpenMP program no data race is possible, unless
there is non-OpenMP concurrency (such as pthreads, MPI, ...). For the latter
reason, this is not active by default.

Besides reducing the runtime overhead for the sequential part of the program,
this reduces the memory overhead for sequential initialization. In combination
with `flush_shadow=1` this can allow analysis of applications, which run close
to the limit of available memory, but only access smaller parts of shared
memory during each OpenMP parallel region.

A problem for this approach is that Archer only gets active, when the OpenMP
runtime gets initialized, which might be after serial initialization of the
application. In such case, it helps to call for example `omp_get_max_threads()`
at the beginning of main.

Differential Revision: https://reviews.llvm.org/D90473
The file was modifiedopenmp/tools/archer/ompt-tsan.cpp
The file was modifiedopenmp/tools/archer/tests/races/critical-unrelated.c
The file was modifiedopenmp/tools/archer/tests/races/task-dependency.c
The file was modifiedopenmp/tools/archer/tests/lit.cfg
The file was modifiedopenmp/tools/archer/tests/races/lock-nested-unrelated.c
The file was modifiedopenmp/tools/archer/tests/races/task-taskwait-nested.c
The file was modifiedopenmp/tools/archer/tests/races/parallel-simple.c
The file was modifiedopenmp/tools/archer/tests/races/lock-unrelated.c
The file was modifiedopenmp/tools/archer/README.md
The file was modifiedopenmp/tools/archer/tests/races/task-two.c
The file was modifiedopenmp/tools/archer/tests/races/task-taskgroup-unrelated.c
Commit 47c17bcd0e8ee319fd18f37c45dd8b2e38b91b93 by goncharov.mikhail
[lld] Use %t file in test

Otherwise it fails in some setups when creation of "out.wasm" is not possible.

Differential Revision: https://reviews.llvm.org/D91521
The file was modifiedlld/test/wasm/relocation-bad-tls.s
Commit 48b43c9d4f038a85cb08601922cb362c169d57e3 by david.green
[ARM] Cortex-M7 schedule

This patch adds the SchedMachineModel for Cortex-M7. It
also adds test cases for the scheduling information.

Details of the pipeline and descriptions are in comments
in file ARMScheduleM7.td included in this patch.

Differential Revision: https://reviews.llvm.org/D91355
The file was modifiedllvm/lib/Target/ARM/ARM.td
The file was addedllvm/lib/Target/ARM/ARMScheduleM7.td
The file was addedllvm/test/tools/llvm-mca/ARM/m7-int.s
The file was addedllvm/test/tools/llvm-mca/ARM/m7-fp.s
Commit 9aa773381bd546f205f33e4d91dcfa89526ec0e2 by sjoerd.meijer
[LoopFlatten] Widen the IV

Widen the IV to the widest available and legal integer type, which makes this
transformations always safe so that we can skip overflow checks.

Motivation is to let this pass trigger on 64-bit targets too, and this is the
last patch in a serie to achieve this: D90402 moves pass LoopFlatten to just
before IndVarSimplify so that IVs are not already widened, D90421 factors out
widening from IndVarSimplify into Utils/SimplifyIndVar so that we can also use
it in LoopFlatten.

Differential Revision: https://reviews.llvm.org/D90640
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
The file was addedllvm/test/Transforms/LoopFlatten/widen-iv.ll
The file was modifiedllvm/test/Transforms/LoopFlatten/loop-flatten-negative.ll
Commit ca2e7e59994d167c74f4ecfdda682d2a826124e3 by flo
[IRGen] Add !annotation metadata for auto-init stores.

This patch updates Clang's IRGen to add !annotation nodes with an
"auto-init" annotation to all stores for auto-initialization.

As discussed in 'RFC: Combining Annotation Metadata and Remarks'
(http://lists.llvm.org/pipermail/llvm-dev/2020-November/146393.html)
this allows using optimization remarks to track down where auto-init
code was inserted (and not removed by optimizations).

There are a few cases in the tests where !annotation gets dropped by
optimizations. Those optimizations will be updated in subsequent
patches.

This patch is based on a patch by Francis Visoiu Mistrih.

Reviewed By: thegameg, paquette

Differential Revision: https://reviews.llvm.org/D91417
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/test/CodeGenCXX/trivial-auto-var-init.cpp
The file was modifiedclang/test/CodeGenCXX/trivial-auto-var-init-attribute.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/include/llvm/IR/Instruction.h
The file was modifiedclang/test/CodeGenCXX/auto-var-init.cpp
The file was modifiedllvm/lib/IR/Metadata.cpp
Commit 2e7455f00a11b53ddcecd35ea93f75f8f2669474 by benny.kra
[LoopFlatten] Fold variable into assert. NFC.
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
Commit 7006738131cb397d2f1cda2280d8f0feb2ac6e1e by Vitaly Buka
[sanitizer] Fix StackDepotPrint testing

Make test order agnostic as it can change with platform.
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp
Commit e0c92c6c03772ca97285367bb460dafa58beb0c0 by marukawa
[VE] Add pfchv intrinsic instructions

Add pfchv intrinsic instructions and a regression test.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D91522
The file was modifiedllvm/include/llvm/IR/IntrinsicsVEVL.gen.td
The file was addedllvm/test/CodeGen/VE/VELIntrinsics/pfchv.ll
The file was modifiedllvm/lib/Target/VE/VEInstrIntrinsicVL.gen.td
Commit 76257422378e54dc2b59ff034e2955e9518e6c99 by nicolas.vasilache
[mlir][Linalg] Add support for tileAndDistribute on tensors.

scf.parallel is currently not a good fit for tiling on tensors.
Instead provide a path to parallelism directly through scf.for.
For now, this transformation ignores the distribution scheme and always does a block-cyclic mapping (where block is the tile size).

Differential revision: https://reviews.llvm.org/D90475
The file was modifiedmlir/include/mlir/Dialect/SCF/SCF.h
The file was modifiedmlir/lib/Dialect/SCF/EDSC/Builders.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
The file was modifiedmlir/test/Dialect/Linalg/tile-and-distribute.mlir
The file was modifiedmlir/test/lib/Transforms/TestLinalgTransforms.cpp
The file was modifiedmlir/include/mlir/Dialect/SCF/EDSC/Builders.h
Commit 58abbf821ce88f4d35cdfa36cdb486e2d56a04e2 by mgorny
[lldb] [Process/FreeBSDRemote] Access GPR via reginfo offsets

Read and write registers from m_gpr using offsets from RegisterInfo
rather than explicit switch-case.  This eliminates a lot of redundant
code, and avoids mistakes such as type mismatches seen recently (wrt
segment registers).  The same logic will be extended to other register
sets in the future.

Make m_gpr an uint8_t std::array to ease accesses.  Ideally, we could
avoid including <machine/reg.h> entirely in the future and instead
get the correct GPR size from Utility/RegisterContextFreeBSD_* somehow.

While at it, modify register set logic to use an explicit enum with
llvm::Optional<>, making the code cleaner and at the same time enabling
compiler warnings for unhandled sets.

Since now we're fully relying on 'struct GPR' defined
in Utility/RegisterContextFreeBSD_* being entirely in sync with
the system structure, add unit tests to verify the field offsets
and sizes.

Differential Revision: https://reviews.llvm.org/D91216
The file was modifiedlldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.h
The file was addedlldb/unittests/Process/Utility/CMakeLists.txt
The file was modifiedlldb/unittests/Process/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
The file was addedlldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp
Commit 89df8fc0d73f86cbb2b32a2142a67ec63fd212f0 by dmitry.preobrazhensky
[AMDGPU][MC] Corrected error position for hwreg() and sendmsg()

Partially fixes bug 47518 (https://bugs.llvm.org/show_bug.cgi?id=47518)

Reviewers: rampitec

Differential Revision: https://reviews.llvm.org/D91407
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/test/MC/AMDGPU/gfx10_err_pos.s
Commit 0bee8c784b3f9303cb77336b18f65d45439e066a by dmitry.preobrazhensky
[AMDGPU][MC] Corrected error position for swizzle()

Partially fixes bug 47518 (https://bugs.llvm.org/show_bug.cgi?id=47518)

Reviewers: rampitec

Differential Revision: https://reviews.llvm.org/D91408
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/test/MC/AMDGPU/gfx10_err_pos.s
Commit e520487bf4bf1efc83e1f8175c6fd8356495bb5d by mgorny
[lldb] [Process/FreeBSDRemote] Access FPR via RegisterInfo offsets

Use offset-based method to access base x87 FPU registers, using offsets
relative to the position of 'struct FPR', as determined by the location
of first register in it (fctrl).  Change m_fpr to use a fixed-size array
matching FXSAVE size (512 bytes).  Add unit tests for verifying
RegisterInfo offsets and sizes against the FXSAVE layout.

Differential Revision: https://reviews.llvm.org/D91248
The file was modifiedlldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
The file was modifiedlldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp
The file was modifiedlldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.h
Commit 6adb55877c4bae6c75ab0d2c0374fab6787bff2d by mgorny
[lldb] [Process/FreeBSDRemote] Access debug registers via offsets

Use offset-based method to access x86 debug registers.  This also
involves adding a test for the correctness of these offsets, and making
GetDR() method of NativeRegisterContextWatchpoint_x86 public to avoid
duplicate code.

Differential Revision: https://reviews.llvm.org/D91268
The file was modifiedlldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.h
The file was modifiedlldb/source/Plugins/Process/Utility/NativeRegisterContextWatchpoint_x86.h
The file was modifiedlldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
The file was modifiedlldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp
Commit 68ca01eb50af0a4aca06c90a4ce1eb78029603f6 by mgorny
[lldb] [Process/FreeBSDRemote] Modernize and simplify YMM logic

Eliminate the remaining swith-case code for register getters,
and migrate YMM registers to regset-oriented model.  Since these
registers are recombined from XMM and YMM_Hi128 XSAVE blocks, while LLDB
gdb-server protocol transmits YMM registers whole, the offset-based
model will not work here.  Nevertheless, some improvement was possible.

Replace generic 'XSaveRegSet' along with sub-sets for XSAVE components
with 'YMMRegSet' (and more regsets in the future as further components
are implemented).  Create a helper GetYMMSplitReg() method that obtains
pointers to the appropriate XMM and YMM_Hi128 blocks to reduce code
duplication.

Differential Revision: https://reviews.llvm.org/D91293
The file was modifiedlldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.h
The file was modifiedlldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
Commit b9734c6b44e52fd94f9fe19f8ce60f55c4d3819c by mgorny
[lldb] [Process/FreeBSDRemote] Optimize regset pointer logic

Create a helper GetOffsetRegSetData() method to get pointer
to the regset data accounting for the necessary offset.  Establish
the offsets in the constructor and store them in the structure.  This
avoids having to add new Get*Offset() methods and combines some common
code.

Differential Revision: https://reviews.llvm.org/D91411
The file was modifiedlldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.h
The file was modifiedlldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
Commit b2fd9ff579d078f6cd72591c76daed308de4e672 by mkazantsev
[Test] More tests on range check elimination
The file was modifiedllvm/test/Transforms/IndVarSimplify/predicated_ranges.ll
Commit 2ec25bae5a5149e8ad0dcebbf74f182f4f9203a6 by Vitaly Buka
[NFC][tsan] Simplify call_pthread_cancel_with_cleanup
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp
Commit 6c185acfffc1f7cdf2a6e785cb4a422140c34f06 by Vitaly Buka
Revert "Move the test compiler setup in a common place. NFCI"

There is memory leaks

This reverts commit 23cc838099e10b13a32e54105f4db0f1b7e3a842.
This reverts commit 888d06dfb8b55c4fd41fa4febe22c6fc4111c118.
The file was modifiedclang/unittests/CodeGen/IncrementalProcessingTest.cpp
The file was removedclang/unittests/CodeGen/TestCompiler.h
The file was modifiedclang/unittests/CodeGen/CodeGenExternalTest.cpp
The file was modifiedclang/unittests/CodeGen/TBAAMetadataTest.cpp
The file was modifiedclang/unittests/CodeGen/BufferSourceTest.cpp
Commit 83ac18205ec69a00ac2be3b603bc3a61293fbe89 by matthew.malcomson
Hwasan reporting check for dladdr failing

In `GetGlobalSizeFromDescriptor` we use `dladdr` to get info on the the
current address.  `dladdr` returns 0 if it failed.
During testing on Linux this returned 0 to indicate failure, and
populated the `info` structure with a NULL pointer which was
dereferenced later.

This patch checks for `dladdr` returning 0, and in that case returns 0
from `GetGlobalSizeFromDescriptor` to indicate failure of identifying
the address.

This occurs when `GetModuleNameAndOffsetForPC` succeeds for some address
not in a dynamically loaded library.  One example is when the found
"module" is '[stack]' having come from parsing /proc/self/maps.

Differential Revision: https://reviews.llvm.org/D91344
The file was modifiedcompiler-rt/lib/hwasan/hwasan_report.cpp
Commit 6c4d8f4651fd46b93ef16f4fc9115881eb0ea0b2 by caroline.concatto
[AArch64] Add check for widening instruction for SVE.

This patch fixes the function isWideningInstruction for scalable vectors.
Now the cost model can check the widening pattern for SVE.

Differential Revision: https://reviews.llvm.org/D91260
The file was addedllvm/test/Analysis/CostModel/AArch64/sve-widening-instruction.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Commit 58f9ceaad6fe4ec26a1a311b75b4eef0633a37cf by mkazantsev
[Test] More tests on range checks
The file was modifiedllvm/test/Transforms/IndVarSimplify/predicated_ranges.ll
Commit 65f3e121fe4f80e2b178fa157ef1346043555b4b by dmitry.preobrazhensky
[AMDGPU][MC] Corrected error position for some operands and modifiers

Partially fixes bug 47518 (https://bugs.llvm.org/show_bug.cgi?id=47518)

Reviewers: rampitec

Differential Revision: https://reviews.llvm.org/D91412
The file was modifiedllvm/test/MC/AMDGPU/gfx8_err_pos.s
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/test/MC/AMDGPU/gfx7_err_pos.s
The file was modifiedllvm/test/MC/AMDGPU/gfx10_err_pos.s
The file was modifiedllvm/test/MC/AMDGPU/gfx9_err_pos.s
Commit 54e655b3f8dc1d005655d9138880f3823d58224f by v.g.vassilev
Reland "Move the test compiler setup in a common place. NFCI"

Original commit message: "
Move the test compiler setup in a common place. NFCI

This patch reduces the copy paste in the unittest/CodeGen folder by moving the
common compiler setup phase in a header file.

Differential revision: https://reviews.llvm.org/D91061
"

This patch includes a fix for the memory leaks pointed out by @vitalybuka
The file was modifiedclang/unittests/CodeGen/BufferSourceTest.cpp
The file was addedclang/unittests/CodeGen/TestCompiler.h
The file was modifiedclang/unittests/CodeGen/IncrementalProcessingTest.cpp
The file was modifiedclang/unittests/CodeGen/TBAAMetadataTest.cpp
The file was modifiedclang/unittests/CodeGen/CodeGenExternalTest.cpp
Commit a6ac2b32fbab9679c8f2fa97a3b1123e3a9654c8 by aaron
Convert TypeSpecifiersPipe from Specifiers.h to a scoped enum; NFC
The file was modifiedclang/lib/Sema/DeclSpec.cpp
The file was modifiedclang/include/clang/Basic/Specifiers.h
Commit 7c6412e0ccf5e00a9f59c5805df9df6ff6720ed2 by aaron
Convert TypeSpecifierSign from Specifiers.h to a scoped enum; NFC
The file was modifiedclang/include/clang/Basic/Specifiers.h
The file was modifiedclang/include/clang/Sema/DeclSpec.h
The file was modifiedclang/lib/Sema/DeclSpec.cpp
The file was modifiedclang/include/clang/AST/TypeLoc.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
Commit f7c881b89eabec1af65073ede344da818292d62b by aaron
Adding some explicit casts to appease build bots; NFC
The file was modifiedclang/lib/Sema/DeclSpec.cpp
Commit f9e639efda4aa391a2f247abf69912ca2d29217f by aaron
Fix bots that are running with assertions enabled; NFC.
The file was modifiedclang/lib/Sema/SemaType.cpp
Commit 37e7a80aed7c92575e20ff44f10408eb0cf47bad by marukawa
[VE] Add lsv/lvs intrinsic instructions

Add lsv/lvs intrinsic instructions and a regression test.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D91526
The file was addedllvm/test/CodeGen/VE/VELIntrinsics/lsv.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsVEVL.gen.td
The file was modifiedllvm/lib/Target/VE/VEInstrIntrinsicVL.td
Commit 02bdbdc76021fcfb8cae465363b362cb889406d2 by francesco.petrogalli
[clang][SveEmitter] Fix enum declarations. [NFCI]

Adapt the declarations of `svpattern` and `svprfop` to the most recent
one defined in section "5. Enum declarations" of the SVE ACLE
specifications [1].

The signature of the intrinsics using these enums have been changed
accordingly.

A test has been added to make sure that `svpattern` and `svprfop` are
not typedefs.

[1] https://developer.arm.com/documentation/100987/latest, version
00bet6

Reviewed By: joechrisellis

Differential Revision: https://reviews.llvm.org/D91333
The file was addedclang/test/Sema/aarch64-sve-enums.c
The file was modifiedclang/utils/TableGen/SveEmitter.cpp
Commit 47fd19f22eb5e6a7e711ca44f0414e2de7614f4b by hanchung
[mlir][StandardToSPIRV] Extend support for lowering cmpi to SPIRV.

The logic of vector on boolean was missed. This patch adds the logic and test on
it.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D91403
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp
Commit 8dbe44cb2936ecafea4b26ef16d1727371ad203f by flo
Add pass to add !annotate metadata from @llvm.global.annotations.

This patch adds a new pass to add !annotation metadata for entries in
@llvm.global.anotations, which is generated  using
__attribute__((annotate("_name"))) on functions in Clang.

This has been discussed on llvm-dev as part of
    RFC: Combining Annotation Metadata and Remarks
    http://lists.llvm.org/pipermail/llvm-dev/2020-November/146393.html

Reviewed By: thegameg

Differential Revision: https://reviews.llvm.org/D91195
The file was modifiedllvm/lib/Transforms/IPO/CMakeLists.txt
The file was modifiedllvm/include/llvm/Transforms/IPO.h
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
The file was addedllvm/include/llvm/Transforms/IPO/Annotation2Metadata.h
The file was modifiedllvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/test/Other/new-pm-defaults.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/opt-pipeline.ll
The file was addedllvm/lib/Transforms/IPO/Annotation2Metadata.cpp
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
The file was modifiedllvm/lib/Transforms/IPO/IPO.cpp
The file was modifiedllvm/test/Other/opt-O3-pipeline-enable-matrix.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was modifiedllvm/test/Other/opt-O0-pipeline.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-lto-defaults.ll
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was modifiedclang/test/CodeGen/code-coverage.c
The file was addedllvm/test/Transforms/Util/annotation2metadata.ll
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
Commit 07927ac675e9cc3207050eb5d02dc0403c260fbc by llvmgnsyncbot
[gn build] Port 8dbe44cb293
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn
Commit a8350ce79d167643b53d06e2167535d24fe68dc3 by Raphael Isemann
[lldb] Add support for using variables with C++ keywords names in non-C++ expressions

LLDB is currently always activating C++ when parsing expressions as LLDB itself
is using C++ features when creating the final AST that will be codegen'd
(specifically, references to variables, namespaces and using declarations are
used).

This is causing problems for users that have variables in non-C++ programs (e.g.
plain C or Objective-C) that have names which are keywords in C++. Expressions
referencing those variables fail to parse as LLDB's Clang parser thinks those
identifiers are C++ keywords and not identifiers that may belong to a
declaration.

We can't just disable C++ in the expression parser for those situations as
replacing the functionality of the injected C++ code isn't trivial. So this
patch is just disabling most keywords that are exclusive to C++ in LLDB's Clang
parser when we are in a non-C++ expression. There are a few keywords we can't
disable for now:

* `using` as that's currently used in some situations to inject variables into the expression function.
* `__null` as that's used by LLDB to define `NULL`/`Nil`/`nil`.

Getting rid of these last two keywords is possible but is a large enough change
that this will be handled in follow up patches.

Note that this only changes the keyword status of those tokens but this patch
does not remove any C++ functionality from the expression parser. The type
system still follows C++ rules and so does the rest of the expression parser.

There is another small change that gives the hardcoded macro definitions in LLDB
a higher precedence than the macros imported from the Objective-C modules. The
reason for this is that the Objective-C modules in LLDB are actually parsed in
Objective-C++ mode and they end up providing the C++ definitions of certain
system macros (like `NULL` being defined as `nullptr`). So we have to move the
LLDB definition forward and surround the definition from the module with an
`#ifdef` to make sure that we use the correct LLDB definition that doesn't
reference C++ keywords. Or to give an example, this is how the expression source
code changes:

Before:
```
#define NULL (nullptr) // injected module definition
#ifndef NULL
#define NULL (__null) // hardcoded LLDB definition
#endif
```

After:
```
#ifndef NULL
#define NULL (__null) // hardcoded LLDB definition
#endif
#ifndef NULL
#define NULL (nullptr) // injected module definition
#endif
```

Fixes rdar://10356912

Reviewed By: shafik

Differential Revision: https://reviews.llvm.org/D82770
The file was addedlldb/test/API/lang/cpp/struct_with_keyword_name/Makefile
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
The file was addedlldb/test/API/lang/cpp/struct_with_keyword_name/TestStructWithKeywordName.py
The file was addedlldb/test/API/lang/objcxx/cpp_keywords_enabled/TestObjCppKeywordsEnabled.py
The file was addedlldb/test/API/lang/objc/cpp_keyword_identifiers/TestCppKeywordsAsObjCIdentifiers.py
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
The file was addedlldb/test/API/lang/c/cpp_keyword_identifiers/Makefile
The file was addedlldb/test/API/lang/objc/cpp_keyword_identifiers/Makefile
The file was addedlldb/test/API/lang/c/cpp_keyword_identifiers/TestCppKeywordsAsCIdentifiers.py
The file was modifiedlldb/test/API/lang/objc/modules/TestObjCModules.py
The file was addedlldb/test/API/lang/objc/cpp_keyword_identifiers/main.m
The file was addedlldb/test/API/lang/cpp/keywords_enabled/TestCppKeywordsEnabled.py
The file was addedlldb/test/API/lang/c/cpp_keyword_identifiers/main.c
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was addedlldb/test/API/lang/cpp/struct_with_keyword_name/main.c
Commit 9e407afd9bd3b5181db24b08f78cb43344bd8292 by Xiangling.Liao
[AIX][driver] Include crti[_64].o and -bcdtors also for C language link invocations by default

In order to support attribute((constructor)) and attribute((destructor)),
which is used by various LLVM non-C++ runtime components, AIX will include
crti[_64].o and -bcdtors for C language link invocations by default.

Differential Revision: https://reviews.llvm.org/D91361
The file was modifiedclang/lib/Driver/ToolChains/AIX.cpp
The file was modifiedclang/test/Driver/aix-ld.c
Commit 4369223ea73c4b8a3fa9a8a84533125c7d0eea98 by yhs
BPF: make __builtin_btf_type_id() return 64bit int

Linux kernel recently added support for kernel modules
  https://lore.kernel.org/bpf/20201110011932.3201430-5-andrii@kernel.org/

In such cases, a type id in the kernel needs to be presented
as (btf id for modules, btf type id for this module).
Change __builtin_btf_type_id() to return 64bit value
so libbpf can do the above encoding.

Differential Revision: https://reviews.llvm.org/D91489
The file was modifiedclang/test/CodeGen/builtin-bpf-btf-type-id.c
The file was modifiedllvm/test/CodeGen/BPF/BTF/builtin-btf-type-id.ll
The file was modifiedllvm/lib/Target/BPF/BPFPreserveDIType.cpp
The file was modifiedllvm/lib/Target/BPF/BTFDebug.cpp
The file was modifiedllvm/test/CodeGen/BPF/optnone-2.ll
The file was modifiedclang/include/clang/Basic/BuiltinsBPF.def
The file was modifiedllvm/include/llvm/IR/IntrinsicsBPF.td
The file was modifiedllvm/test/CodeGen/BPF/CORE/btf-id-duplicate.ll
The file was modifiedclang/lib/Sema/SemaChecking.cpp
Commit a598c08ac858dd7780aeb8e85a801b48333e0a07 by simon.moll
[VE] fastcc and vreg-to-vreg copy

This defines a 'fastcc' for the VE target and implements vreg-to-vreg
copy for parameter passing.  The 'fastcc' extends the standard CC for
SX-Aurora with register passing of vector-typed parameters and return
values.

Reviewed By: kaz7

Differential Revision: https://reviews.llvm.org/D90842
The file was modifiedllvm/lib/Target/VE/VEInstrInfo.cpp
The file was modifiedllvm/lib/Target/VE/VERegisterInfo.cpp
The file was addedllvm/test/CodeGen/VE/Vector/fastcc_caller.ll
The file was modifiedllvm/lib/Target/VE/VECallingConv.td
The file was modifiedllvm/lib/Target/VE/VEISelLowering.cpp
The file was addedllvm/test/CodeGen/VE/Vector/fastcc_callee.ll
Commit 843525075b87b367f3d18754ef0a3e35dc2ed162 by kiran.chandramohan
[MLIR][OpenMP] Add omp.wsloop operation

This adds a simple definition of a "workshare loop" operation for
the OpenMP MLIR dialect, excluding the "reduction" and "allocate"
clauses and without a custom parser and pretty printer.

The schedule clause also does not yet accept the modifiers that are
permitted in OpenMP 5.0.

Co-authored-by: Kiran Chandramohan <kiran.chandramohan@arm.com>

Reviewed By: ftynse, clementval

Differential Revision: https://reviews.llvm.org/D86071
The file was modifiedmlir/test/Dialect/OpenMP/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMP.td
The file was modifiedmlir/include/mlir/Dialect/OpenMP/OpenMPDialect.h
Commit 44a4f9392546649f7d6247af1b816aa1f346dee0 by marukawa
[VE] Optimize leaf functions

Optimize leaf functions by not generating save/restore for callee saved
registers.  Update regression tests also.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D91539
The file was modifiedllvm/test/CodeGen/VE/Scalar/shr.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/selectcci32.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/rem.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/selectccf32i.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/load-align8.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/selectcci32c.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/selectccf64.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/setcci32.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/bswap.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/fsqrt.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/setcci32i.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/load.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/subtraction.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/loadrri.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/setcc.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/store-align8.ll
The file was modifiedllvm/test/CodeGen/VE/VELIntrinsics/lvlgen.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/fp_extload_truncstore.ll
The file was modifiedllvm/test/CodeGen/VE/VELIntrinsics/vst.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/min.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/fabs.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/bitcast.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/max.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/store_gv.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/inlineasm-lea.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/selectcci64c.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/load_off.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/fp_div.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/selectccf32.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/multiply.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/setcci64.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/cast.ll
The file was addedllvm/test/CodeGen/VE/Scalar/function_prologue_epilogue.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/selectcci32i.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/fsin.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/load_gv.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/br_cc.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/store-align1.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/store-align2.ll
The file was modifiedllvm/test/CodeGen/VE/VELIntrinsics/pfchv.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/selectcci64i.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/blockaddress.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/callstruct.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/setccf64i.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/constants.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/right_shift.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/atomic_fence.ll
The file was removedllvm/test/CodeGen/VE/Scalar/simple_prologue_epilogue.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/fcos.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/setccf64.ll
The file was modifiedllvm/test/CodeGen/VE/VELIntrinsics/vld.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/brind.ll
The file was modifiedllvm/test/CodeGen/VE/Vector/fastcc_callee.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/ctlz.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/symbol_relocation_tls.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/selectccf32c.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/store.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/store-align4.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/ctpop.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/load-align2.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/and.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/setccf32.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/cttz.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/rotl.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/xor.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/int_to_fp.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/left_shift.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/tls.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/load-align1.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/fp_add.ll
The file was modifiedllvm/test/CodeGen/VE/VELIntrinsics/lsv.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/br_jt.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/atomic_store.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/setcci64i.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/or.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/select_cc.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/selectcci64.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/fp_sub.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/selectccf64c.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/selectccf64i.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/load-align4.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/nnd.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/truncstore.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/setccf32i.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/bitreverse.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/brcond.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/fp_to_int.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/select.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/div.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/rotr.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/inlineasm-vldvst.ll
The file was modifiedllvm/lib/Target/VE/VEFrameLowering.cpp
The file was modifiedllvm/lib/Target/VE/VEFrameLowering.h
The file was modifiedllvm/test/CodeGen/VE/Scalar/fcopysign.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/shl.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/fp_fneg.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/fp_mul.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/addition.ll
The file was modifiedllvm/test/CodeGen/VE/Scalar/atomic_load.ll
Commit 6c02835d6c9290aa0a4f46dbce6827a8bd9466da by andrzej.warzynski
[flang][f18] Remove "-fdebug-resolve-names"

This option doesn't enable any unique feature/code-patch. Also, it is
neither tested nor documented.

Differential Revision: https://reviews.llvm.org/D91537
The file was modifiedflang/tools/f18/f18.cpp
Commit 04481f26faff79027192bd27200956be16c11102 by csigg
[mlir] Require std.alloc() ops to have canonical layout during LLVM lowering.

The current code allows strided layouts, but the number of elements allocated is ambiguous. It could be either the number of elements in the shape (the current implementation), or the amount of elements required to not index out-of-bounds with the given maps (which would require evaluating the layout map).

If we require the canonical layouts, the two will be the same.

Reviewed By: nicolasvasilache, ftynse

Differential Revision: https://reviews.llvm.org/D91523
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
Commit a6ecb2eb3d18803796a2eddc3aa0c9e248d17dd4 by jay.foad
[AMDGPU] Add comments. NFC.
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
Commit 6bb2ceac90875a54d5c28a2441c29b6cc6029c36 by wei.huang
Fix the compilation assertion due to unreachable BB pruning not deleting the associated BB from the jump tables

This patch is added to remove the unreachable MBBs reference in the jump table.

Differential Revisien: https://reviews.llvm.org/D90498
Reviewed by: amyk, bsaleil
The file was modifiedllvm/include/llvm/CodeGen/MachineJumpTableInfo.h
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was addedllvm/test/CodeGen/PowerPC/unreachable-mbb-jtreference-elimination.ll
Commit a6e353b1d0831867225825d8580bad48174577ae by Matthew.Arsenault
AMDGPU: Split large offsets when selecting global saddr mode

When the offset doesn't fit in the immediate field, move some to
voffset.
The file was modifiedllvm/test/CodeGen/AMDGPU/global_atomics_i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/global_atomics.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-atomic-cmpxchg-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/global-saddr-load.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cgp-addressing-modes-gfx908.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/offset-split-global.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cgp-addressing-modes-gfx1030.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global-saddr.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.global.atomic.csub.ll
Commit 4cf6dd518ece653094159fbc48d13832c371cf48 by Mirko.Brkusanin
[AMDGPU][GlobalISel] Fix lowerShlSat

RegBankSelect would crash on G_SELECT when type is not s1.

Differential Revision: https://reviews.llvm.org/D91437
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sshlsat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ushlsat.mir
Commit d2e52eec513a475fb69af7718e00a6aaac7738e8 by Matthew.Arsenault
AMDGPU: Select global saddr mode from SGPR pointer

Use the 64-bit SGPR base with a 0 offset, since it's 1 fewer
instruction to materialize the 0 vs. the 64-bit copy.
The file was modifiedllvm/test/CodeGen/AMDGPU/fast-unaligned-load-store.global.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.dec.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.atomic.inc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/non-entry-alloca.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vector_shuffle.packed.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mad.u16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/dagcombine-select.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idiv-licm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/memory_clause.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/non-entry-alloca.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.2darraymsaa.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.mov.dpp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-triv-disjoint-mem-access.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.update.dpp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fneg.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.2darraymsaa.a16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot4u.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-copy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/smrd_vmem_war.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/idot8u.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.3d.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/global-saddr-load.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mai-inline.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.inc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.pkrtz.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-atomic-cmpxchg-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement-stack-lower.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot4s.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fcanonicalize.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/readcyclecounter.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.d16.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/local-stack-alloc-block-sp-reference.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i8.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.csub.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.fadd.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fabs.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/store-weird-sizes.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/hsa.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/amdpal-elf.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/call-waitcnt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/offset-split-global.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/global_atomics_i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ds_read2.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fneg-fabs.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/addrspacecast.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.sin.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/saddo.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/global_atomics.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-global-i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cgp-addressing-modes-gfx1030.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fshr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/kernel-argument-dag-lowering.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.2d.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/kernel-args.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot2.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global-saddr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/promote-alloca-vector-to-vector.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/callee-special-input-sgprs-fixed-abi.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/load-constant.96.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.scale.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props-v3.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.get.waveid.in.workgroup.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.cos.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/chain-hi-to-lo.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot8s.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/fshl.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/lshr.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/trunc-store-i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wave32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.wavefrontsize.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fcanonicalize.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fract.f64.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/store-global.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cgp-addressing-modes-gfx908.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fdiv32-to-rcp-folding.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.fmas.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/memory-legalizer-store.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.3d.a16.ll
Commit a3be1287091463f4099cdb1710883645329cda7e by metzman
[fuzzer] Add allocator_may_return_null to uncaught-exception.test.

Speculative fix for failing unittest.
The file was modifiedcompiler-rt/test/fuzzer/uncaught-exception.test
Commit 985c524001d4dbaab17c2f59dac5f20f43695ae3 by xun
[Coroutine] Allocas used by StoreInst does not always escape

In the existing logic, for a given alloca, as long as its pointer value is stored into another location, it's considered as escaped.
This is a bit too conservative. Specifically, in non-optimized build mode, it's often to have patterns of code that first store an alloca somewhere and then load it right away.
These used should be handled without conservatively marking them escaped.

This patch tracks how the memory location where an alloca pointer is stored into is being used. As long as we only try to load from that location and nothing else, we can still
consider the original alloca not escaping and keep it on the stack instead of putting it on the frame.

Differential Revision: https://reviews.llvm.org/D91305
The file was addedllvm/test/Transforms/Coroutines/coro-alloca-06.ll
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp
Commit 91703085f53428ea6305770d41db148e0ebbdea7 by metzman
[fuzzer] Disable uncaught-exception on non-Win+undo bad fix

Test is failing on non-Windows platforms. Also undo speculative
fix since it causes failures on Windows.
The file was modifiedcompiler-rt/test/fuzzer/uncaught-exception.test
Commit df62afd559d4899a968cb72ad2ddc98b27412fa6 by pklausler
[flang] Unsplit COMPLEX operations

COMPLEX negation, addition, subtraction, conversions of kind, and
equality/inequality were represented as component-wise REAL
operations.  It turns out to be easier for lowering if we
do not split and recombine these COMPLEX operations, and it
avoids a potential problem with COMPLEX valued function calls
in these contexts.  So add this suite of operations to the
typed expression representation in place of the component-wise
transformations, and support them in folding.

Differential revision: https://reviews.llvm.org/D91443
The file was modifiedflang/include/flang/Evaluate/expression.h
The file was modifiedflang/lib/Evaluate/fold-implementation.h
The file was modifiedflang/lib/Evaluate/tools.cpp
The file was modifiedflang/lib/Evaluate/formatting.cpp
The file was modifiedflang/include/flang/Evaluate/tools.h
The file was modifiedflang/lib/Evaluate/fold-logical.cpp
Commit 618f11ba0bf96107074e8c3f16753bbfd24b7062 by Raphael Isemann
[lldb] Skip TestCppKeywordsAsCIdentifiers on Windows

Somehow static_assert is a keyword with C on Windows (maybe the Windows
default is C11?). Skipping the test for now.
The file was modifiedlldb/test/API/lang/c/cpp_keyword_identifiers/TestCppKeywordsAsCIdentifiers.py
Commit aeb0fdff351b6142eef3db5ce5033bfcb1d093e6 by aeubanks
[SimplifyCFG] Respect optforfuzzing in NPM pass

Regression caused by refactoring in
cdd006eec9409923f9a56b9026ce2cb72e7b71dc.

See discussion in https://reviews.llvm.org/D89917.

Reviewed By: arsenm, morehouse

Differential Revision: https://reviews.llvm.org/D91473
The file was modifiedllvm/test/Transforms/SimplifyCFG/opt-for-fuzzing.ll
The file was modifiedllvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
Commit 124c93c528758071fccfce68f6b633081a19c226 by craig.topper
[RISCV] When matching SROIW, check all 64 bits of the OR mask

We need to make sure the upper 32 bits are all ones to ensure the result is properly sign extended. Previously we only checked the lower 32 bits of the mask. I've also added a check that the shift amount is less than 32. Without that the original code asserts inside maskLeadingOnes if the SROI check is removed or the SROIW pattern is checked first. I've refactored the code to use early outs to reduce nesting.

I've also updated SLOIW matching with the same changes, but I couldn't find a broken test case with the existing code.

Differential Revision: https://reviews.llvm.org/D90961
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rv64Zbb.ll
Commit 2e26459fabcab31221c6144633f10883bc1d3926 by praveen
[Flang][OpenMP] Add semantic checks for OpenMP Depend clause.

Add the semantic checks for the OpenMP 4.5 - 2.13.9 Depend clause.

1. List items in depend clause should not be zero length array sections.
2. A variable that is part of another variable like structure component
   should not be specified on a depend clause.

Test cases : omp-depend01.f90, omp-depend02.f90, omp-depend03.f90

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D89934
The file was addedflang/test/Semantics/omp-depend01.f90
The file was modifiedflang/lib/Semantics/check-omp-structure.cpp
The file was modifiedflang/lib/Semantics/check-omp-structure.h
The file was addedflang/test/Semantics/omp-depend03.f90
The file was addedflang/test/Semantics/omp-depend02.f90
Commit bf6ed355c8d10319bd7e3ce62d5f369db9fa0b97 by vtjnash
Reland "[AsmPrinter] fix -disable-debug-info option"

This reverts commit 105ed27ed80dd47a9d32e72bbdd2a776a3318f38, and
removes the offending line from the tests.
The file was addedllvm/test/CodeGen/Generic/disable-debug-info-print.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Commit f1cf6b47e4b659bae3314acbb0d11d533bd4175f by Louis Dionne
[libc++] Remove transitional #error message

It's been more than 4 years now, so anyone that was defining
_LIBCPP_TRIVIAL_PAIR_COPY_CTOR has had ample time to see that
error and fix their code.
The file was modifiedlibcxx/include/__config
Commit c37cc6bf7e1574fb189edbef44f909acd277b2ab by craig.topper
[RISCV] Add MC tests for the User Vector CSRs

Make sure we can parse and print the user CSR names

Differential Revision: https://reviews.llvm.org/D91469
The file was addedllvm/test/MC/RISCV/rvv-user-csr-names.s
Commit b877c35d4b2cc67f7c3d96698fcd3845683ce5e2 by scott.linder
[YAMLIO] Correctly diagnose empty alias/anchor

The `Range` of an alias/anchor token includes the leading `&` or `*`,
but it is skipped while parsing the name. The check for an empty name
fails to account for the skipped leading character and so the error is
never hit.

Fix the off-by-one and add a couple regression tests.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D91462
The file was modifiedllvm/lib/Support/YAMLParser.cpp
The file was modifiedllvm/unittests/Support/YAMLIOTest.cpp
Commit 0b6090699ab542cde24be1565b4d97dbad153cba by Amara Emerson
[AArch64][GlobalISel] Look through a G_ZEXT when trying to match shift-extended register offsets.

The G_ZEXT in these cases seems to actually come from a combine that we do but
SelectionDAG doesn't. Looking through it allows us to match "uxtw #2" addressing
modes.

Differential Revision: https://reviews.llvm.org/D91475
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/load-wro-addressing-modes.mir
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
Commit ee91e2311cf5209c39c46cd99de0fe686b7b5716 by Jonas Devlieghere
[dsymutil] Generalize handling of aliases external symbols

In f9fb9da36c34d2745b74dc30e6c26f7d3f48466c we fixed spurious warnings
caused by aliases to private extern symbols. This patch generalizes that
to regular external symbols as well.
The file was modifiedllvm/tools/dsymutil/MachODebugMapParser.cpp
The file was addedllvm/test/tools/dsymutil/Inputs/private/tmp/extern/extern.o
The file was removedllvm/test/tools/dsymutil/ARM/private-extern-alias.test
The file was addedllvm/test/tools/dsymutil/ARM/extern-alias.test
The file was addedllvm/test/tools/dsymutil/Inputs/private/tmp/extern/main.o
The file was addedllvm/test/tools/dsymutil/Inputs/private/tmp/extern/extern.out
Commit 41b65f166b51760f77d0f9e465b3858f46e101f0 by aaron
Convert ConstexprKind from Specifiers.h to a scoped enum; NFC
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/include/clang/Basic/Specifiers.h
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/include/clang/Sema/DeclSpec.h
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/lib/Sema/DeclSpec.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
Commit 1941d9651cc90948fa442584eec09bdb0cf01a33 by aaron
Speculatively fix the lldb build

Pick up the changes from 41b65f166b51760f77d0f9e465b3858f46e101f0.
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Commit fa72ce346c5f81ef96901fce0b6b23fa4faaa33e by aaron
Another speculative fix for lldb related to ConstexprSpecKind
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/NameSearchContext.cpp
Commit 4e68bc09998c8cc0bdd84e095b98783f7bcdd137 by spatel
Revert "[InstCombine] add multi-use demanded bits fold for add with low-bit mask"

This reverts commit e56103d25016c9ce4e98f652ac1a09379793ccf5.
There is a stage2 msan failure blamed on this commit:
http://lab.llvm.org:8011/#/builders/74/builds/888/steps/9/logs/stdio
The file was modifiedllvm/test/Transforms/LoopVectorize/if-conversion-nest.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/float-induction-x86.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/runtime-check.ll
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
The file was modifiedllvm/test/Transforms/PhaseOrdering/X86/vdiv.ll
Commit 15beb4e2365cf610fcc6ad90de8345c45d83d989 by flo
[ConstraintElimination] Add complex test cases.
The file was modifiedllvm/test/Transforms/ConstraintElimination/add-nuw.ll
Commit d861cc0e4311ec193cea9aaa5cfdc2b55563222c by aschwaighofer
[coro] Async coroutines: Make sure we can handle control flow in suspend point dispatch function

Create a valid basic block with a terminator before we call
InlineFunction.

Differential Revision: https://reviews.llvm.org/D91547
The file was modifiedllvm/test/Transforms/Coroutines/coro-async.ll
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp
Commit 257d33c815d4a204b5a9de1ab2b1ed21c94c2ae6 by listmail
[SCEV] Factor out part of wrap flag detection logic [NFC](try 2)

This is a cut down version of 1ec6e1 which was reverted due to a compile time issue.  The key changes made from that patch: 1) only infer the flags needed along each path, 2) be careful to preserve order of checks, and 3) avoid computing NW flags at all since we need to prove the stronger property (does not cross 0) in the caller anyways.

Assuming this doesn't trip regressions, I'm going to try weakening (1).  My end objective is to move flag inference into addrec construction.  If I can't weaken (1) without compile time impact, I'll have a problem.
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
Commit f2710d4b576053d405af7a0e2a62ea06d5a978e3 by thakis
lld/mach-o: Infer darwinnew from filename ld64.lld.darwinnew too

`-flavor` is difficult to use through the clang driver since it
must be the first argument.

clang's `-fuse-ld=foo` looks for `ld64.foo` when targeting darwin,
so it's easiest if darwinnew accepts some `ld64.foo`. Let's go with
`ld64.lld.darwinnew`, so that `clang -fuse-ld=lld.darwinnew` does
the right thing (assuming a symlink with the name `ld64.ld.darwinnew
exists in the right place).

This is temporary until darwinnew replaces ld64.lld, and it only
exists to make testing the new lld port easier.
The file was modifiedlld/tools/lld/lld.cpp
Commit 7c62c6313baebb4866dd51a095c66c7808af868b by silvasean
[mlir] Add DecomposeCallGraphTypes pass.

This replaces the old type decomposition logic that was previously mixed
into bufferization, and makes it easily accessible.

This also deletes TestFinalizingBufferize, because after we remove the type
decomposition, it doesn't do anything that is not already provided by
func-bufferize.

Differential Revision: https://reviews.llvm.org/D90899
The file was modifiedmlir/include/mlir/Transforms/Bufferize.h
The file was modifiedmlir/lib/Transforms/Bufferize.cpp
The file was addedmlir/test/lib/Transforms/TestDecomposeCallGraphTypes.cpp
The file was removedmlir/test/lib/Transforms/TestFinalizingBufferize.cpp
The file was addedmlir/include/mlir/Dialect/StandardOps/Transforms/DecomposeCallGraphTypes.h
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was removedmlir/test/Transforms/finalizing-bufferize.mlir
The file was modifiedmlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was addedmlir/lib/Dialect/StandardOps/Transforms/DecomposeCallGraphTypes.cpp
The file was addedmlir/test/Transforms/decompose-call-graph-types.mlir
Commit f0703cb1b24be4f915257f91a290a3d92ac6cd4f by kostyak
[scudo][standalone] Correct min/max region indices

The original code to keep track of the minimum and maximum indices
of allocated 32-bit primary regions was sketchy at best.

`MinRegionIndex` & `MaxRegionIndex` were shared between all size
classes, and could (theoretically) have been updated concurrently. This
didn't materialize anywhere I could see, but still it's not proper.

This changes those min/max indices by making them class specific rather
than global: classes are locked when growing, so there is no
concurrency there. This also allows to simplify some of the 32-bit
release code, that now doesn't have to go through all the regions to
get the proper min/max. Iterate and unmap will no longer have access to
the global min/max, but they aren't used as much so this is fine.

Differential Revision: https://reviews.llvm.org/D91106
The file was modifiedcompiler-rt/lib/scudo/standalone/primary32.h
Commit 7ad8e19958b271b9369e6b9d8d76f2f9f1beeb90 by Louis Dionne
[libc++] Move the GDB pretty printer tests to the DSL

Also, enable them whenever we detect that gdb is available. Previously,
these tests would basically never run because they relied on a CMake
configuration option that defaulted to OFF.

Differential Revision: https://reviews.llvm.org/D91434
The file was removedlibcxx/test/pretty_printers/gdb_pretty_printer_test.py
The file was modifiedlibcxx/test/CMakeLists.txt
The file was modifiedlibcxx/test/configs/legacy.cfg.in
The file was addedlibcxx/test/libcxx/gdb/gdb_pretty_printer_test.py
The file was modifiedlibcxx/utils/libcxx/test/features.py
The file was modifiedlibcxx/utils/libcxx/test/dsl.py
The file was modifiedlibcxx/utils/libcxx/test/config.py
The file was modifiedlibcxx/CMakeLists.txt
The file was removedlibcxx/test/pretty_printers/gdb_pretty_printer_test.sh.cpp
The file was addedlibcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
Commit 2240d3d05451e4712050308cc4b922dea03fbc78 by listmail
[LoopVec] Introduce an api for detecting uniform memory ops

Split off D91398 at request of reviewer.
The file was modifiedllvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 5a4ca8b550afea96c0539083b470f87b40226688 by flo
[ConstraintElimination] Add support for Or.

When processing conditional branches, if the condition is an OR of 2 compares
and the false successor only has the current block as predecessor, queue both
negated conditions for the false successor
The file was modifiedllvm/lib/Transforms/Scalar/ConstraintElimination.cpp
The file was modifiedllvm/test/Transforms/ConstraintElimination/or.ll
Commit c7cbf32f5770c5eec2a2dd6eb7cf3153e654ed08 by Jonas Devlieghere
[crashlog] Implement parser for JSON encoded crashlogs

Add a parser for JSON crashlogs. The CrashLogParser now defers to either
the JSONCrashLogParser or the TextCrashLogParser. It first tries to
interpret the input as JSON, and if that fails falling back to the
textual parser.

Differential revision: https://reviews.llvm.org/D91130
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/test.c
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/json.test
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/parser_text.test
The file was modifiedlldb/examples/python/crashlog.py
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/Assertion.check
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/a.out.crash
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/parser_json.test
The file was removedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/crashlog.test
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/a.out.ips
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/text.test
Commit 38621c45a8fe8ef6b96f4c92919f6fd35b15f3d6 by marukawa
[VE] Add lvm/svm intrinsic instructions

Add lvm/svm intrinsic instructions and a regression test.  Change
RegisterInfo to specify that VM0/VMP0 are constant and reserved
registers.  This modifies a vst regression test, so update it.
Also add pseudo instructions for VM512 register classes
and mechanism to expand them after register allocation.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D91541
The file was modifiedllvm/test/CodeGen/VE/VELIntrinsics/vst.ll
The file was modifiedllvm/lib/Target/VE/VEInstrInfo.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicsVEVL.gen.td
The file was modifiedllvm/lib/Target/VE/VERegisterInfo.cpp
The file was addedllvm/test/CodeGen/VE/VELIntrinsics/lvm.ll
The file was modifiedllvm/lib/Target/VE/VEInstrVec.td
The file was modifiedllvm/lib/Target/VE/VEInstrIntrinsicVL.gen.td
Commit f375885ab86d1b3e82269725c8e9aa49f347b4a7 by michael.hliao
[InferAddrSpace] Teach to handle assumed address space.

- In certain cases, a generic pointer could be assumed as a pointer to
  the global memory space or other spaces. With a dedicated target hook
  to query that address space from a given value, infer-address-space
  pass could infer and propagate that to all its users.

Differential Revision: https://reviews.llvm.org/D91121
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/include/llvm/Target/TargetMachine.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/docs/AMDGPUUsage.rst
The file was modifiedclang/test/CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu
The file was modifiedllvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
The file was addedllvm/test/Transforms/InferAddressSpaces/AMDGPU/assumed-addrspace.ll
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
Commit ace9653c11c6308401dcda2e8b26bf97e6e66e30 by flx
[clang-tidy] performance-unnecessary-copy-initialization: Check for const reference arguments that are replaced template parameter type.

This fixes false positive cases where a non-const reference is passed to a
std::function but interpreted as a const reference.

Fix the definition of the fake std::function added in the test to match
std::function and make the bug reproducible.

Reviewed-by: aaron.ballman

Differential Revision: https://reviews.llvm.org/D90042
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/performance-unnecessary-copy-initialization.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
Commit 5bc0bd05e6a8d788e08cdf3d154f3a33202aee53 by Jessica Paquette
[AArch64][GlobalISel] Fold G_XOR x, -1 into G_SELECT and select CSINV

When we see

```
xor = G_XOR xor_lhs, -1
select = G_SELECT cc, tval, xor
```

Fold this into

```
select = CSINV tval, xor_lhs, cc
```

Update select-select.mir to reflect the changes.

For now, only handle the case where the G_XOR is the false-value for the
G_SELECT. It may make more sense to handle the true-value case in post-legalizer
lowering.

Differential Revision: https://reviews.llvm.org/D90774
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-select.mir
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
Commit fa5cb4b9366228e8e17a95990a021e62376a592f by sjoerd.meijer
[LoopFlatten] Disable IV widening

Disable widening of the IV in LoopFlatten while I investigate an assertion
failures. Please note that the pass is also not yet enabled by default.
The file was modifiedllvm/test/Transforms/LoopFlatten/widen-iv.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
Commit 499bce3abab8a362b9b4197944bd40b826c736c4 by Artem Dergachev
Revert "Revert "[analyzer] NFC: Separate PathDiagnosticConsumer options from AnalyzerOptions.""

This reverts commit 10f1ca99b498347186ec74b01046ad292bde9a4c.

(cherry picked from commit c599fc738a70e482976c6cc0ea31bef561641279)
The file was modifiedclang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
The file was modifiedclang/include/clang/Analysis/PathDiagnostic.h
The file was modifiedclang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
Commit fbceee2d63bd47f94d4b2b519e28184dddca90e2 by joker.eph
Add an optional argument for pattern rewriter max iteration count (NFC)

Some rewriters take more iterations to converge, add a parameter to overwrite
the built-in maximum iteration count.

Fix PR48073.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D91553
The file was modifiedmlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
The file was modifiedmlir/include/mlir/Transforms/GreedyPatternRewriteDriver.h
Commit b7382ed3fea08da27530a6d6d53f168fc704e4c4 by jurahul
[MLIR] Extend Symbol verification to reject public symbol declarations.

- Extend the Symbol interface with `isDeclaration` to identify operations that declare
  a symbol as opposed to define it.
- Extend verification to disallow public declarations as per the discussion in
   https://llvm.discourse.group/t/rfc-symbol-definition-declaration-x-visibility-checks/2140
- Adopt the new interface for `FuncOp` and fix test and code to not have/create public
  function declarations.

Differential Revision: https://reviews.llvm.org/D91456
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-conv-2d-call.mlir
The file was modifiedmlir/integration_test/Dialect/Vector/CPU/test-transfer-to-loops.mlir
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-conv-2d-nhwc-call.mlir
The file was modifiedmlir/test/Transforms/sccp-callgraph.mlir
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-conv-3d-ndhwc-call.mlir
The file was modifiedmlir/test/mlir-vulkan-runner/addi8.mlir
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/rank-reducing-subview.mlir
The file was modifiedmlir/test/mlir-cpu-runner/utils.mlir
The file was modifiedmlir/test/Dialect/LLVMIR/invalid.mlir
The file was modifiedmlir/test/mlir-cuda-runner/multiple-all-reduce.mlir
The file was modifiedmlir/test/IR/affine-map.mlir
The file was modifiedmlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir
The file was modifiedmlir/docs/SymbolsAndSymbolTables.md
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-conv-3d-call.mlir
The file was modifiedmlir/include/mlir/IR/SymbolInterfaces.td
The file was modifiedmlir/test/mlir-spirv-cpu-runner/double.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-xor.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/invalid.mlir
The file was modifiedmlir/test/mlir-vulkan-runner/mulf.mlir
The file was modifiedmlir/test/IR/invalid-func-op.mlir
The file was modifiedmlir/unittests/Pass/AnalysisManagerTest.cpp
The file was modifiedmlir/test/Dialect/Affine/simplify-affine-structures.mlir
The file was modifiedmlir/test/IR/traits.mlir
The file was modifiedmlir/test/mlir-vulkan-runner/subf.mlir
The file was modifiedmlir/test/Transforms/normalize-memrefs.mlir
The file was modifiedmlir/test/Pass/dynamic-pipeline-nested.mlir
The file was modifiedmlir/test/IR/test-symbol-rauw.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-and.mlir
The file was modifiedmlir/test/Transforms/test-convert-call-op.mlir
The file was modifiedmlir/test/Transforms/sccp.mlir
The file was modifiedmlir/test/mlir-cpu-runner/global_memref.mlir
The file was modifiedmlir/test/mlir-rocm-runner/vector-transferops.mlir
The file was modifiedmlir/test/mlir-cpu-runner/memref_reinterpret_cast.mlir
The file was modifiedmlir/include/mlir/IR/Function.h
The file was modifiedmlir/test/IR/test-func-erase-result.mlir
The file was modifiedmlir/test/mlir-cuda-runner/two-modules.mlir
The file was modifiedmlir/test/mlir-rocm-runner/gpu-to-hsaco.mlir
The file was modifiedmlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-conv-1d-call.mlir
The file was modifiedmlir/test/Dialect/GPU/async-region.mlir
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-conv-1d-ncw-call.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-min.mlir
The file was modifiedmlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-conv-1d-nwc-call.mlir
The file was modifiedmlir/test/Dialect/Linalg/bufferize.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-op.mlir
The file was modifiedmlir/test/Transforms/test-symbol-dce.mlir
The file was modifiedmlir/test/mlir-cpu-runner/memref_reshape.mlir
The file was modifiedmlir/integration_test/Dialect/Vector/CPU/test-vector-distribute.mlir
The file was modifiedmlir/test/mlir-rocm-runner/vecadd.mlir
The file was modifiedmlir/test/mlir-vulkan-runner/addi.mlir
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-tensor-matmul.mlir
The file was modifiedmlir/test/IR/parser.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-static-memref-ops.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-region.mlir
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/matmul-vs-matvec.mlir
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-tensor-e2e.mlir
The file was modifiedmlir/test/IR/test-func-set-type.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-or.mlir
The file was modifiedmlir/test/Dialect/Standard/func-bufferize.mlir
The file was modifiedmlir/test/Transforms/inlining.mlir
The file was modifiedmlir/test/Transforms/decompose-call-graph-types.mlir
The file was modifiedmlir/test/mlir-cuda-runner/all-reduce-max.mlir
The file was modifiedmlir/test/Dialect/SCF/canonicalize.mlir
The file was modifiedmlir/test/Analysis/test-callgraph.mlir
The file was modifiedmlir/lib/Conversion/LinalgToStandard/LinalgToStandard.cpp
The file was modifiedmlir/test/Conversion/AffineToStandard/lower-affine.mlir
The file was modifiedmlir/test/mlir-cuda-runner/shuffle.mlir
The file was modifiedmlir/test/mlir-spirv-cpu-runner/simple_add.mlir
The file was modifiedmlir/test/Conversion/SCFToStandard/convert-to-cfg.mlir
The file was modifiedmlir/test/Pass/dynamic-pipeline-fail-on-parent.mlir
The file was modifiedmlir/test/Transforms/buffer-results-to-out-params.mlir
The file was modifiedmlir/test/mlir-cpu-runner/async-group.mlir
The file was modifiedmlir/test/mlir-cpu-runner/unranked_memref.mlir
The file was modifiedmlir/test/mlir-cpu-runner/async.mlir
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-conv-2d-nchw-call.mlir
The file was modifiedmlir/test/mlir-cuda-runner/gpu-to-cubin.mlir
The file was modifiedmlir/test/mlir-vulkan-runner/time.mlir
The file was modifiedmlir/integration_test/Sparse/CPU/matrix-market-example.mlir
The file was modifiedmlir/test/Dialect/Affine/loop-unswitch.mlir
The file was modifiedmlir/test/IR/locations.mlir
The file was modifiedmlir/test/IR/test-symbol-uses.mlir
The file was modifiedmlir/test/IR/core-ops.mlir
The file was modifiedmlir/test/Transforms/test-legalizer.mlir
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-elementwise.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-funcs.mlir
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-conv-3d-ncdhw-call.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/calling-convention.mlir
The file was modifiedmlir/unittests/Pass/PassManagerTest.cpp
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
The file was modifiedmlir/test/Dialect/SPIRV/types.mlir
The file was modifiedmlir/test/mlir-vulkan-runner/addf.mlir
Commit f118d91a0d45ae6e32f4ace2bcaef47e4c60ca39 by i
[MC][test] Strengthen dwarf-asm-multiple-sections.s by adding more CHECK lines

And change DWARF-DL-4 to DWARF-DL-3 since DWARF v3/DWARF v4 have same
output and using DWARF-DL-3 makes it clear that the lowest standard
having the behavior is version 3.
The file was modifiedllvm/test/MC/ARM/dwarf-asm-multiple-sections.s
Commit b16e4d3fc11d890480a6b5ecd61874e0e19ed5b7 by vyng
[sanitizers-test]add definition for %device_rm on android so it stops complaining

Differential Revision: https://reviews.llvm.org/D91570
The file was modifiedcompiler-rt/test/lit.common.cfg.py
Commit fc115f2e73a2049211efa231b6c54c29248efdf5 by llvm-project
[Polly] Move SimplifyVisitor into polly namespace.

Declarations in headers should not be in the anonymous
namespace. Compilers also warn about the use of
<anon namespace>::SimplifyVisitor as a public field in
polly::SimplifyPass and polly::SimplifyPrinterPass.
The file was modifiedpolly/include/polly/Simplify.h
The file was modifiedpolly/lib/Transform/Simplify.cpp
Commit 0f41a2fe8339b5fd113fd5ce143c1234f6dc650e by listmail
test commit for new client
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit ba3317d0baacf2a08520735b2b8c89472fc8fc10 by jurahul
Fix flang MLIR unit test verification failures

- Eliminate public function declarations in these tests
The file was modifiedflang/test/Fir/fir-types.fir
The file was modifiedflang/test/Fir/fir-ops.fir
Commit 69cd776e1ee79e72ccbdad30749eac04579715ee by richard
[CodeGen] Apply 'nonnull' and 'dereferenceable(N)' to 'this' pointer
arguments.

* Adds 'nonnull' and 'dereferenceable(N)' to 'this' pointer arguments
* Gates 'nonnull' on -f(no-)delete-null-pointer-checks
* Introduces this-nonnull.cpp and microsoft-abi-this-nullable.cpp tests to
  explicitly test the behavior of this change
* Refactors hundreds of over-constrained clang tests to permit these
  attributes, where needed
* Updates Clang12 patch notes mentioning this change

Reviewed-by: rsmith, jdoerfert

Differential Revision: https://reviews.llvm.org/D17993
The file was modifiedclang/test/CodeGenOpenCLCXX/addrspace-with-class.cl
The file was modifiedclang/test/CodeGenCoroutines/coro-unhandled-exception.cpp
The file was modifiedclang/test/CodeGenOpenCLCXX/addrspace-derived-base.cl
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-unknown-arch.cpp
The file was modifiedclang/test/OpenMP/parallel_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/auto-variable-template.cpp
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-constructors.cpp
The file was modifiedclang/test/CodeGenCXX/mangle-subst-std.cpp
The file was modifiedclang/test/CodeGenCXX/atomicinit.cpp
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
The file was modifiedclang/test/CodeGenCXX/inalloca-vector.cpp
The file was modifiedclang/test/CodeGenCXX/new.cpp
The file was modifiedclang/test/CodeGenCXX/virtual-operator-call.cpp
The file was modifiedclang/test/CodeGenObjCXX/property-object-reference-2.mm
The file was modifiedclang/test/CodeGenOpenCLCXX/addrspace-operators.cl
The file was modifiedclang/test/OpenMP/distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_24.cpp
The file was modifiedclang/test/CodeGenObjCXX/property-objects.mm
The file was modifiedclang/test/OpenMP/task_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/delete.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/lambda-expressions.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-thunks.cpp
The file was modifiedclang/test/CodeGenCXX/thunk-returning-memptr.cpp
The file was modifiedclang/test/OpenMP/distribute_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/arm.cpp
The file was modifiedclang/test/CodeGenCXX/references.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/copy-constructor-elim-2.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/task_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/msabi-ctor-abstract-vbase.cpp
The file was addedclang/test/CodeGenCXX/this-nonnull.cpp
The file was modifiedclang/test/CodeGenCXX/attr-disable-tail-calls.cpp
The file was modifiedclang/test/CodeGenCXX/dllexport.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/vbase-offset.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/diamond-virtual-inheritance.cpp
The file was modifiedclang/test/CodeGenCXX/float128-declarations.cpp
The file was modifiedclang/test/CodeGenCXX/init-invariant.cpp
The file was modifiedclang/test/CodeGenCXX/virt-dtor-gen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/inheriting-constructor-cleanup.cpp
The file was modifiedclang/test/CodeGenCXX/matrix-type-builtins.cpp
The file was modifiedclang/test/CXX/except/except.spec/p14-ir.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-member-funcs.cpp
The file was modifiedclang/test/CodeGenCXX/constructor-destructor-return-this.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/catch-undef-behavior.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-class.cpp
The file was modifiedclang/test/CodeGenCXX/exceptions-seh-filter-captures.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/conditional-gnu-ext.cpp
The file was modifiedclang/test/CodeGenCXX/float16-declarations.cpp
The file was modifiedclang/test/CodeGenCXX/constructor-direct-call.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/synthesized-property-cleanup.mm
The file was modifiedclang/test/CodeGenCoroutines/coro-params.cpp
The file was modifiedclang/test/OpenMP/for_linear_codegen.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-await.cpp
The file was modifiedclang/test/OpenMP/declare_target_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/child-inheritted-from-parent-in-comdat.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/pass-byval-attributes.cpp
The file was modifiedclang/test/CodeGenCXX/vla-consruct.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/amdgcn-func-arg.cpp
The file was modifiedclang/test/CodeGenCXX/attr.cpp
The file was modifiedclang/test/CodeGenCXX/ext-int.cpp
The file was modifiedclang/test/CodeGenOpenCLCXX/template-address-spaces.cl
The file was modifiedclang/test/CodeGenCXX/goto.cpp
The file was addedclang/test/CodeGenCXX/microsoft-abi-this-nullable.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-initializer-aggregate.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-vmemptr-conflicts.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp
The file was modifiedclang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
The file was modifiedclang/test/CodeGenCXX/thunks.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-byval-thunks.cpp
The file was modifiedclang/test/CodeGenCXX/destructors.cpp
The file was modifiedclang/test/CodeGenCXX/virtual-bases.cpp
The file was modifiedclang/test/CodeGen/temporary-lifetime.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1z-lambda-star-this.cpp
The file was modifiedclang/test/OpenMP/sections_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/constructors.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/test/CodeGenCXX/cxx11-initializer-array-new.cpp
The file was modifiedclang/test/CodeGenCXX/static-initializer-branch-weights.cpp
The file was modifiedclang/test/CodeGen/attr-nomerge.cpp
The file was modifiedclang/test/CodeGenCXX/noinline-template.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/cross-translation-unit-2.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/dllimport.cpp
The file was modifiedclang/test/CodeGenCXX/member-expr-references-variable.cpp
The file was modifiedclang/test/CodeGenObjCXX/block-nested-in-lambda.mm
The file was modifiedclang/test/OpenMP/master_taskloop_private_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_copyin_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1z-initializer-aggregate.cpp
The file was modifiedclang/test/OpenMP/distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp
The file was modifiedclang/test/CodeGenCXX/thiscall-struct-return.cpp
The file was modifiedclang/test/CodeGenCXX/arm64-constructor-return.cpp
The file was modifiedclang/test/OpenMP/sections_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-structors.cpp
The file was modifiedclang/test/CodeGenOpenCLCXX/addrspace-of-this.cl
The file was modifiedclang/test/OpenMP/taskloop_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/copy-constructor-synthesis.cpp
The file was modifiedclang/test/OpenMP/for_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/child-vtable-in-comdat.cpp
The file was modifiedclang/test/CodeGenCXX/blocks.cpp
The file was modifiedclang/test/CodeGenCXX/ms-property.cpp
The file was modifiedclang/test/CodeGen/aix-ignore-xcoff-visibility.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-arg-order.cpp
The file was modifiedclang/test/OpenMP/declare_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/cfi-cross-dso.cpp
The file was modifiedclang/test/CodeGenCXX/aix-static-init-debug-info.cpp
The file was modifiedclang/test/CodeGenCXX/pod-member-memcpys.cpp
The file was modifiedclang/test/CodeGenCXX/aix-static-init.cpp
The file was modifiedclang/test/CodeGenCXX/inalloca-overaligned.cpp
The file was modifiedclang/test/CodeGenCXX/matrix-type-operators.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1y-init-captures.cpp
The file was modifiedclang/test/CodeGenCXX/template-instantiation.cpp
The file was modifiedclang/test/CodeGenObjCXX/arc-blocks.mm
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/trivial_abi.cpp
The file was modifiedclang/test/CodeGenCXX/apple-kext.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/apple-kext-indirect-call.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/duplicate-mangled-name.cpp
The file was modifiedclang/test/CodeGenCXX/default-arguments.cpp
The file was modifiedclang/test/OpenMP/threadprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/static-local-in-local-class.cpp
The file was modifiedclang/test/OpenMP/for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/blocks-cxx11.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_private_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/stack-reuse-miscompile.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/implicit-copy-constructor.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1z-copy-omission.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-vbase-dtor.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-cdecl-method-sret.cpp
The file was modifiedclang/test/CodeGenCXX/cxx2a-destroying-delete.cpp
The file was modifiedclang/test/CodeGenCXX/builtin-source-location.cpp
The file was modifiedclang/test/CodeGenCXX/devirtualize-virtual-function-calls.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/temporaries.cpp
The file was modifiedclang/test/CodeGenCXX/dllimport-members.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/partial-destruction.cpp
The file was modifiedclang/test/CodeGenCXX/dllexport-members.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/parent-vtable-in-comdat.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/exceptions-seh.cpp
The file was modifiedclang/test/CodeGenCXX/member-init-assignment.cpp
The file was modifiedclang/test/CodeGen/no-builtin.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/virtual-function-call.cpp
The file was modifiedclang/test/CodeGenCXX/exceptions.cpp
The file was modifiedclang/test/CodeGenCXX/inheriting-constructor.cpp
The file was modifiedclang/test/CodeGenCXX/apple-kext-indirect-virtual-dtor-call.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1z-decomposition.cpp
The file was modifiedclang/test/CodeGenCXX/vtable-assume-load.cpp
The file was modifiedclang/test/CodeGenCXX/cxx0x-delegating-ctors.cpp
The file was modifiedclang/test/CodeGenCXX/dllexport-ctor-closure.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-symmetric-transfer-01.cpp
The file was modifiedclang/test/CodeGenObjCXX/property-dot-reference.mm
The file was modifiedclang/test/OpenMP/for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/single_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-thread-safe-statics.cpp
The file was modifiedclang/test/CodeGenCXX/value-init.cpp
The file was modifiedclang/test/CodeGenCXX/pointers-to-data-members.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/amdgcn-automatic-variable.cpp
The file was modifiedclang/test/CodeGenCUDA/device-var-init.cu
The file was modifiedclang/test/Profile/cxx-abc-deleting-dtor.cpp
The file was modifiedclang/test/CodeGenCXX/virtual-functions-incomplete-types.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/lvalue-reference-getter.mm
The file was modifiedclang/test/CodeGenOpenCLCXX/method-overload-address-space.cl
The file was modifiedclang/test/OpenMP/task_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/atomic_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/static-destructor.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/multiple-inheritance.cpp
The file was modifiedclang/test/CodeGenCXX/const-init-cxx11.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-ms-dtor-thunks.cpp
The file was modifiedclang/test/CodeGenCXX/aix-static-init-temp-spec-and-inline-var.cpp
The file was modifiedclang/test/CodeGenCXX/template-anonymous-types.cpp
The file was modifiedclang/test/CodeGenCXX/array-default-argument.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1y-sized-deallocation.cpp
The file was modifiedclang/test/CodeGenObjCXX/arc-list-init-destruct.mm
The file was modifiedclang/test/CodeGenCXX/member-templates.cpp
The file was modifiedclang/test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm
The file was modifiedclang/test/OpenMP/sections_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/static-init-wasm.cpp
The file was modifiedclang/test/CodeGenCXX/pr40771-ctad-with-lambda-copy-capture.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/member-function-pointer.cpp
The file was modifiedclang/test/CodeGenCXX/derived-to-base-conv.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/parent-and-child-in-comdats.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/utils/update_cc_test_checks/Inputs/basic-cplusplus.cpp.expected
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp
The file was modifiedclang/test/CodeGenCXX/vtable-pointer-initialization.cpp
The file was modifiedclang/test/CodeGen/arm64-microsoft-arguments.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-extern-template.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/stack-reuse.cpp
The file was modifiedclang/test/OpenMP/for_lastprivate_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_simd_private_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/test/CodeGenCXX/builtin_LINE.cpp
The file was modifiedclang/test/CodeGenCXX/ms_struct.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-throw.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-return-voidtype-initlist.cpp
The file was modifiedclang/test/OpenMP/parallel_master_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/hidden-dllimport.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-destroy-helper.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-out-of-line-defs.cpp
The file was modifiedclang/test/CodeGenCXX/template-linkage.cpp
The file was modifiedclang/test/CodeGenObjCXX/property-dot-copy-elision.mm
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_private_codegen.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-return.cpp
The file was modifiedclang/test/OpenMP/single_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/devirtualize-virtual-function-calls-final.cpp
The file was modifiedclang/test/CodeGenCXX/virtual-destructor-calls.cpp
The file was modifiedclang/test/OpenMP/nvptx_lambda_capturing.cpp
The file was modifiedclang/test/OpenMP/parallel_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/lambda-expressions.mm
The file was modifiedclang/test/CodeGenCXX/mangle.cpp
The file was modifiedclang/test/CodeGenObjCXX/implicit-copy-constructor.mm
The file was modifiedclang/test/CodeGenCXX/microsoft-interface.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/volatile.cpp
The file was modifiedclang/test/CodeGenCXX/wasm-args-returns.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-multiple-nonvirtual-inheritance.cpp
The file was modifiedclang/test/CodeGenCXX/dllimport-dtor-thunks.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/simple-vtable-definition.cpp
The file was modifiedclang/test/OpenMP/taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-ret-void.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/objc-struct-cxx-abi.mm
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/cross-translation-unit-1.cpp
The file was modifiedclang/test/CodeGenCXX/runtimecc.cpp
The file was modifiedclang/test/CodeGenCXX/default-arg-temps.cpp
The file was modifiedclang/test/CodeGenCXX/empty-nontrivially-copyable.cpp
The file was modifiedclang/test/OpenMP/parallel_for_linear_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/global-init.cpp
The file was modifiedclang/test/CodeGenCXX/strict-vtable-pointers.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_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/scan_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/constructor-init.cpp
The file was modifiedclang/test/CodeGenCXX/vla-lambda-capturing.cpp
The file was modifiedclang/test/OpenMP/single_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/eh.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/nrvo.cpp
The file was modifiedclang/test/CodeGenCXX/thunks-ehspec.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/global-dtor-no-atexit.cpp
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
Commit 3f4b5893efed620d93015896d79eb276628286f8 by Yaxun.Liu
[AMDGPU] Add option -munsafe-fp-atomics

Add an option -munsafe-fp-atomics for AMDGPU target.

When enabled, clang adds function attribute "amdgpu-unsafe-fp-atomics"
to any functions for amdgpu target. This allows amdgpu backend to use
unsafe fp atomic instructions in these functions.

Differential Revision: https://reviews.llvm.org/D91546
The file was modifiedclang/lib/Basic/Targets/AMDGPU.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was addedclang/test/CodeGenCUDA/amdgpu-func-attrs.cu
The file was modifiedclang/include/clang/Basic/TargetOptions.h
The file was modifiedclang/test/Driver/hip-options.hip
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 681978d3b4e8fab98dd5c5c1f1687d3eff790a95 by psteinfeld
[flang] Duplicate names for ac-implied-do variables erroneously cause errors

According to section 19.4, paragraph 5, the scope of an ac-implied-do variable
is the enclosing ac-implied-do.  But we were not creating new scopes upon
entry to an ac-implied-do.  This was causing error messages to be erroneously
emitted.

I fixed, the code, added a test to array-constr-values.f90, added the test
folding15.f90 and corrected the test symbol05.f90.

Differential Revision: https://reviews.llvm.org/D91560
The file was modifiedflang/test/Semantics/array-constr-values.f90
The file was modifiedflang/test/Semantics/symbol05.f90
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was addedflang/test/Evaluate/folding15.f90
Commit 22e44358d3e4bc764bc829c52baee8ab7c04a71a by Lang Hames
[ORC] Include config.h in RegisterEHFrames.cpp.

RegisterEHFrames.cpp needs access to the HAVE_REGISTER_FRAME /
HAVE_DEREGISTER_FRAME defines.

rdar://71458921
The file was modifiedllvm/lib/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.cpp
Commit f4467c4d3b6c65d2a0d799badb1edf233e829162 by pengfei.wang
[CodeGen][X86] Remove some unused check-prefixes and regenerate tests.
The file was modifiedllvm/test/CodeGen/X86/oddsubvector.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-sub-v256.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-sub-v128.mir
The file was modifiedllvm/test/CodeGen/X86/pr32368.ll
The file was modifiedllvm/test/CodeGen/X86/mmx-fold-zero.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-sub-v512.mir
The file was modifiedllvm/test/CodeGen/X86/fast-isel-nontemporal.ll
The file was modifiedllvm/test/CodeGen/X86/testb-je-fusion.ll
Commit 33ca0b0ea619078440b676d136cfda35dfa02e01 by llvm-project
[Polly] Add override qualifiers.

Silence compiler warnings that suggest to add override qualifiers.
The file was modifiedpolly/lib/CodeGen/ManagedMemoryRewrite.cpp
The file was modifiedpolly/lib/CodeGen/PPCGCodeGeneration.cpp
Commit 65d4b5cb18e36897ebc09a4223f4b22d16e62b8c by joker.eph
Add const qualifier to Type's utility functions

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D91491
The file was modifiedmlir/include/mlir/IR/Types.h
The file was modifiedmlir/lib/IR/StandardTypes.cpp
Commit fac0622ae0a59659a5969a137a724008547be697 by i
ELFAsmParser: Remove non-SHF_ALLOC or non-executable sections' line info/address ranges contribution for -g

I filed the issue https://sourceware.org/bugzilla/show_bug.cgi?id=26850 ,
which was acknowledged and fixed in GNU binutils 2.36

This patch adds the similar behavior to MC.

Reviewed By: #debug-info, dblaikie

Differential Revision: https://reviews.llvm.org/D91505
The file was modifiedllvm/lib/MC/MCParser/ELFAsmParser.cpp
The file was modifiedllvm/test/MC/ARM/dwarf-asm-multiple-sections.s
Commit 74207e78cf26a52a59efaf95104d7ca0e5f801bf by joker.eph
Fix python bindings tests after change in visibility requirement for symbol declarations
The file was modifiedmlir/test/Bindings/Python/ir_operation.py
The file was modifiedmlir/test/Bindings/Python/ir_module.py
Commit 7de6dcd24644eee6af9e642cb9e0402a47018413 by aeubanks
[Debugify] Skip debugifying on special/immutable passes

With a function pass manager, it would insert debuginfo metadata before
getting to function passes while processing the pass manager, causing
debugify to skip while running the function passes.

Skip special passes + verifier + printing passes. Compared to the legacy
implementation of -debugify-each, this additionally skips verifier
passes. Probably no need to update the legacy version since it will be
obsolete soon.

This fixes 2 instcombine tests using -debugify-each under NPM.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D91558
The file was modifiedllvm/lib/IR/PassInstrumentation.cpp
The file was modifiedllvm/test/DebugInfo/debugify-export.ll
The file was modifiedllvm/lib/Transforms/Utils/Debugify.cpp
The file was modifiedllvm/test/DebugInfo/debugify-each.ll
The file was modifiedllvm/test/Transforms/InstCombine/call-guard.ll
Commit 8063905b041546f62ce3a4c375dc7ebf746fe60f by esme.yi
[NFC][PowerPC] Add testcase of constant-i64.
The file was modifiedllvm/test/CodeGen/PowerPC/constants-i64.ll
Commit 5935952c3108c99bd865411845c4b02a6234a1d5 by kazu
[SanitizerCoverage] Use [&] for lambdas (NFC)
The file was modifiedllvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
Commit 4ce3d2715a41aca2e153f5fa36a428c8b75270a5 by mkazantsev
[Test] One more widening opportunity test
The file was modifiedllvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll
Commit 1da60f1d44cc2157a8832993952bfea95e8cb6d6 by kazu
[Transforms] Use pred_empty (NFC)
The file was modifiedllvm/lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
The file was modifiedllvm/lib/Transforms/Utils/CloneFunction.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopSimplify.cpp
The file was modifiedllvm/lib/Transforms/Utils/LowerSwitch.cpp
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
Commit c2e22fd16453e1ec8a88287f32af7a79666b794d by tu.da.wei
[NFC] Add const qualifier to isEmpty()

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D91587
The file was modifiedllvm/include/llvm/IR/PassManager.h
Commit d196aaf725a86cc9f8b422e1a98169e6f3d5e486 by tu.da.wei
[NPM] Add remaining test of -slsr

Add RUN lines for NPM of -slsr tests that require -separate-const-offset-from-gep

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D91588
The file was modifiedllvm/test/Transforms/StraightLineStrengthReduce/AMDGPU/reassociate-geps-and-slsr-addrspace.ll
The file was modifiedllvm/test/Transforms/StraightLineStrengthReduce/NVPTX/reassociate-geps-and-slsr.ll
Commit 63dd1734b2ed427170e1423285cc2767f6272b04 by mkazantsev
[NFC] Collect ext users into vector instead of finding them twice
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Commit a4d1e60910ede9456f5720bcd40b17279e3b9331 by Jonas Devlieghere
[crashlog] Improve patch-crashlog.py script

Compute the real addresses and offsets for the json crashlog test.
The file was modifiedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/a.out.ips
The file was modifiedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/text.test
The file was modifiedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py
The file was modifiedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/json.test
Commit e9453e26cbb624d84a49389d64c806f4f001b4ee by mkazantsev
[Test] Add one more elaborate test with LCSSA users
The file was modifiedllvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll
Commit a57fe210ff7cf553b721bf08e74df42b0ae1df38 by yrouban
[JumpThreading] Fix branch probabilities in DuplicateCondBranchOnPHIIntoPred()

When instructions are cloned from block BB to PredBB in the method
DuplicateCondBranchOnPHIIntoPred() number of successors of PredBB
changes from 1 to number of successors of BB. So we have to copy
branch probabilities from BB to PredBB.

Reviewed By: Kazu Hirata

Differential Revision: https://reviews.llvm.org/D90841
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
The file was addedllvm/test/Transforms/JumpThreading/thread-prob-3.ll
Commit 9faedb2d7146d29bfd0f601e2a4a90b546cdaf04 by sepavloff
[Driver] Quote executable in reports generated by -fproc-stat-report

The option -fproc-stat-report=<file> makes driver to generate child
process resource comsumption report. In the report executable name was
not quoted and it made parsing the report more difficult. With this
change the executable name is surrounded by quotation marks.
The file was modifiedclang/lib/Driver/Driver.cpp
Commit c51e4c4f012d89b8693c79ec855769e7e18b55a1 by riddleriver
[mlir][IR] Use tablegen for the BuiltinDialect and operations

This has been a long standing TODO, and cleans up a bit of IR/. This will also make it easier to move FuncOp out of IR/ at some point in the future. For now, Module.h and Function.h just forward BuiltinDialect.h. These files will be removed in a followup.

Differential Revision: https://reviews.llvm.org/D91571
The file was modifiedmlir/include/mlir/IR/Operation.h
The file was modifiedmlir/lib/IR/MLIRContext.cpp
The file was addedmlir/lib/IR/BuiltinDialect.cpp
The file was removedmlir/lib/IR/Module.cpp
The file was modifiedmlir/include/mlir/IR/Function.h
The file was modifiedmlir/include/mlir/IR/CMakeLists.txt
The file was modifiedmlir/lib/IR/CMakeLists.txt
The file was addedmlir/include/mlir/IR/BuiltinDialect.h
The file was modifiedmlir/lib/TableGen/OpClass.cpp
The file was removedmlir/lib/IR/Function.cpp
The file was modifiedmlir/include/mlir/IR/Module.h
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
The file was addedmlir/include/mlir/IR/BuiltinOps.td
Commit 73ca690df88ad5df77afe29b984720963ee37183 by riddleriver
[mlir][NFC] Remove references to Module.h and Function.h

These includes have been deprecated in favor of BuiltinDialect.h, which contains the definitions of ModuleOp and FuncOp.

Differential Revision: https://reviews.llvm.org/D91572
The file was modifiedmlir/lib/IR/Builders.cpp
The file was modifiedmlir/lib/Pass/IRPrinting.cpp
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
The file was modifiedmlir/unittests/Pass/AnalysisManagerTest.cpp
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h
The file was modifiedmlir/examples/toy/Ch6/include/toy/Dialect.h
The file was modifiedmlir/test/lib/Dialect/SPIRV/TestModuleCombiner.cpp
The file was modifiedflang/include/flang/Lower/FIRBuilder.h
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp
The file was modifiedmlir/examples/toy/Ch5/mlir/MLIRGen.cpp
The file was modifiedmlir/test/lib/IR/TestPrintDefUse.cpp
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was modifiedmlir/examples/toy/Ch3/toyc.cpp
The file was modifiedmlir/include/mlir/CAPI/IR.h
The file was modifiedmlir/examples/toy/Ch3/include/toy/Dialect.h
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
The file was modifiedmlir/lib/Analysis/AffineAnalysis.cpp
The file was modifiedmlir/lib/Conversion/AVX512ToLLVM/ConvertAVX512ToLLVM.cpp
The file was modifiedmlir/examples/toy/Ch3/mlir/MLIRGen.cpp
The file was modifiedmlir/lib/Translation/Translation.cpp
The file was modifiedmlir/test/lib/Transforms/TestConstantFold.cpp
The file was modifiedmlir/examples/toy/Ch4/include/toy/Dialect.h
The file was modifiedmlir/examples/toy/Ch5/include/toy/Dialect.h
The file was modifiedmlir/test/lib/IR/TestFunc.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/RewriteInsertsPass.cpp
The file was modifiedmlir/lib/Analysis/SliceAnalysis.cpp
The file was modifiedmlir/examples/toy/Ch7/include/toy/Dialect.h
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorTransforms.h
The file was modifiedmlir/lib/Conversion/SCFToStandard/SCFToStandard.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
The file was modifiedmlir/lib/Dialect/Affine/Utils/Utils.cpp
The file was modifiedflang/tools/tco/tco.cpp
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
The file was modifiedmlir/test/lib/IR/TestSymbolUses.cpp
The file was modifiedmlir/examples/toy/Ch6/toyc.cpp
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
The file was modifiedmlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp
The file was modifiedmlir/test/lib/Pass/TestPassManager.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVOps.h
The file was modifiedmlir/lib/Pass/Pass.cpp
The file was modifiedmlir/test/lib/IR/TestMatchers.cpp
The file was modifiedflang/include/flang/Lower/Bridge.h
The file was modifiedmlir/lib/Dialect/LLVMIR/Transforms/LegalizeForExport.cpp
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/lib/Transforms/Utils/DialectConversion.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was modifiedmlir/lib/Transforms/Utils/LoopFusionUtils.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertKernelFuncToBlob.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/lib/IR/MLIRContext.cpp
The file was modifiedmlir/examples/toy/Ch2/include/toy/Dialect.h
The file was modifiedmlir/lib/ExecutionEngine/ExecutionEngine.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.h
The file was modifiedmlir/test/lib/Transforms/TestInlining.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/IR/Attributes.cpp
The file was modifiedmlir/include/mlir/Pass/Pass.h
The file was modifiedmlir/examples/toy/Ch2/toyc.cpp
The file was modifiedmlir/unittests/Pass/PassManagerTest.cpp
The file was modifiedflang/lib/Optimizer/Dialect/FIROps.cpp
The file was modifiedmlir/lib/Transforms/OpStats.cpp
The file was modifiedmlir/examples/toy/Ch2/mlir/MLIRGen.cpp
The file was modifiedmlir/test/lib/IR/TestSlicing.cpp
The file was modifiedmlir/lib/CAPI/IR/IR.cpp
The file was modifiedflang/include/flang/Lower/AbstractConverter.h
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
The file was modifiedmlir/lib/Support/MlirOptMain.cpp
The file was modifiedmlir/test/lib/IR/TestPrintNesting.cpp
The file was modifiedmlir/lib/Dialect/Affine/IR/AffineOps.cpp
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was modifiedmlir/examples/toy/Ch7/toyc.cpp
The file was modifiedmlir/lib/Conversion/SCFToSPIRV/SCFToSPIRV.cpp
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/ConvertLaunchFuncToLLVMCalls.cpp
The file was modifiedmlir/examples/toy/Ch4/mlir/MLIRGen.cpp
The file was modifiedmlir/include/mlir/Analysis/NestedMatcher.h
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
The file was modifiedmlir/lib/Transforms/LoopInvariantCodeMotion.cpp
The file was modifiedmlir/examples/toy/Ch4/toyc.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToNVVMIR.cpp
The file was modifiedmlir/test/lib/Dialect/SPIRV/TestAvailability.cpp
The file was modifiedmlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp
The file was modifiedmlir/lib/Dialect/SCF/Transforms/Utils.cpp
The file was modifiedmlir/examples/toy/Ch5/toyc.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/MLIRGen.cpp
The file was modifiedmlir/include/mlir/Pass/AnalysisManager.h
The file was modifiedmlir/examples/toy/Ch6/mlir/MLIRGen.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/TranslateRegistration.cpp
The file was modifiedmlir/lib/Transforms/Utils/Utils.cpp
The file was modifiedmlir/include/mlir/Transforms/Bufferize.h
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/include/mlir/Reducer/Tester.h
The file was modifiedmlir/lib/Transforms/Utils/InliningUtils.cpp
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/lib/Transforms/StripDebugInfo.cpp
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp
Commit 218500d823c8f0f43fb9c0d8e2ed5d4dd197785b by hokein.wu
[clang-tidy] Verify the fixes in abseil-redundant-strcat-calls test, NFC
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/abseil-redundant-strcat-calls.cpp
Commit c2460c3254a0de7a63c082474cc5dc73fe10b7b0 by lkail
[PowerPC] Add negated abs test using llvm.abs intrinsic. NFC.
The file was addedllvm/test/CodeGen/PowerPC/neg-abs.ll

Summary

  1. [sanitizer] Simplify few lines in bot script (details)
  2. clangd-ubuntu-tsan: Fix arguments passed to CMake (details)
  3. clangd-ubuntu-tsan: fix depends_on_projects (details)
  4. clangd-ubuntu-tsan: Add forgotten gRPC installation path (details)
  5. clangd-ubuntu-clang: Cleanup (details)
  6. clangd-ubuntu-clang: Bump gRPC back to 1.33.2 (details)
Commit 2467f4892851632a2c5ea573a382bb98badde882 by Vitaly Buka
[sanitizer] Simplify few lines in bot script
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android_functions.sh
Commit 945bb04ad6ecf55232093bf6e31ece084ae96278 by kbobyrev
clangd-ubuntu-tsan: Fix arguments passed to CMake

The builds are currently failing:
http://lab.llvm.org:8014/#/builders/136/builds/5

Presumably, the problem is that extra `"` make it into the values passed to
CMake somehow through the shell or invocation, and that causes unexpected
failures. The buildbot configurations around clangd-ubuntu-tsan never enclose
values in additional `"` so this patch also makes it more coherent with the
rest of existing code.

Differential Revision: https://reviews.llvm.org/D91566
The file was modifiedbuildbot/osuosl/master/config/builders.py
Commit 68644e471ebd874057eea90f6c1c2fc035753ead by kbobyrev
clangd-ubuntu-tsan: fix depends_on_projects

`depends_on_projects` appears to be the Python list of single project
names rather than project names joined with `;`.

Also, use `"` across all values to be consistent within the single
project config.
The file was modifiedbuildbot/osuosl/master/config/builders.py
Commit 972c462597cfaed8745927dff2541254a0a2ae47 by kbobyrev
clangd-ubuntu-tsan: Add forgotten gRPC installation path
The file was modifiedbuildbot/osuosl/master/config/builders.py
Commit 0843df3c4f0928a2aaa936cc20c669dc1aa22c93 by kbobyrev
clangd-ubuntu-clang: Cleanup

* Add LLVM to buildbot dependencies.
* Downgrade gRPC built in Docker to 1.30.2 to make the version
  compatible with Debian unstable.
* Minor cleanup in comments for the Docker image.
The file was modifiedbuildbot/osuosl/master/config/builders.py
The file was modifiedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/Dockerfile
Commit 8efd618edaf110cab2d25b56ee66eced203639d1 by kbobyrev
clangd-ubuntu-clang: Bump gRPC back to 1.33.2

1.30.2 without the patches Debian has is buggy.
The file was modifiedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/Dockerfile