UnstableChanges

Summary

  1. [PowerPC] Remaining KnownBits should be constant when performing non-sign comparison (details)
  2. [PowerPC] Add mir test to show effect of `optimizeCompareInstr` when `equalityOnly` is true. NFC. (details)
  3. [RISCV] Add intrinsics for vcompress instruction (details)
  4. [Analysis] Use llvm::append_range (NFC) (details)
  5. [Transforms/Utils] Construct SmallVector with iterator ranges (NFC) (details)
  6. [Analysis, IR] Use *Map::lookup (NFC) (details)
  7. [mlir][python] Install generated dialect sources. (details)
  8. [llvm-elfabi] Add flag to preserve timestamp when output is the same (details)
  9. [Verifier] Remove declaration of method that was removed 8.5 years ago. NFC (details)
  10. [X86][test] Improve global address offset folding tests (details)
  11. [X86] Add x86_amx type for intel AMX. (details)
  12. [libc] Add implementations of rounding functions which depend rounding mode. (details)
  13. [ConstraintElimination] Add tests for select form and/or (NFC) (details)
  14. [IROutliner] Adding support for swift errors (details)
  15. Revert "[IROutliner] Adding support for swift errors" (details)
  16. [IROutliner] Adding support for swift errors in the IROutliner (details)
  17. Move -fno-semantic-interposition dso_local logic from TargetMachine to Clang CodeGenModule (details)
  18. [X86] Refactor AMX test case, remove unnecessary code. (details)
  19. [mlir][Python] Initial Affine Map Python Bindings. (details)
  20. [ConstraintElimination] Add support for select form of and/or (details)
  21. [SimplifyCFG] Add tests for select form and/or for creating select from icmps (details)
  22. [libc++] [docs] Mark contract-related papers as removed from C++20. (details)
  23. [mlir] Fix a typo MemRefType -> UnrankedMemRefType (details)
  24. Use unary CreateShuffleVector if possible (details)
  25. clang-format, address warnings (details)
  26. [X86][AMX] Fix compilation warning introduced by 981a0bd8. (details)
  27. Remove functions from *-inseltpoison.ll tests if unnecessary (details)
  28. [IR] remove 'NoNan' param when creating FP reductions (details)
  29. Fixes warning 'enumeration value not handled in switch'. (details)
  30. [SLP] add fadd reduction test to show broken FMF propagation; NFC (details)
  31. [mlir] NFC - Fix SubViewOp printing (details)
  32. [mlir] Fix indexing of first offset operand in ops that implement OffsetSizeAndStrideOpInterface (details)
  33. [ELF] Drop '>>> defined in ' for locations of linker synthesized symbols (details)
  34. [CMake][tsan] Remove --sysroot=. (details)
  35. [IROutliner] Adding option to enable outlining from linkonceodr functions (details)
  36. [compiler-rt] FuzzedDataProvider: Add PickValueInArray for std::array (details)
  37. [PowerPC][test] Add explicit dso_local to definitions in ELF static relocation model tests (details)
  38. [mlir] Add option to read reproducer options from file (details)
  39. Fix `LLVM_ENABLE_MODULES=On` build (details)
  40. [gn build] Switch copy_bundle_data from pax to cpio (details)
  41. [update_llc_test_checks] Support .Lfunc$local for x86 -relocation-model=pic dsolocal tests (details)
  42. [LoopVectorizer] add test to show wrong FMF propagation; NFC (details)
  43. [LoopUtils] reduce FMF and min/max complexity when forming reductions (details)
  44. [update_llc_test_checks] Support Windows .seh_proc for x86 (details)
  45. [RISCV] Cleanup some V intrinsic names used in tests to match the type overloads used. Add some missing double tests on rv32. NFC (details)
  46. [SimplifyCFG] Teach SimplifyBranchOnICmpChain() to preserve DomTree (details)
  47. [SimplifyCFG] Teach switchToSelect() to preserve DomTree (details)
  48. [SimplifyCFG] Teach SwitchToLookupTable() to preserve DomTree (details)
  49. [LoopIdiom] 'left-shift until bittest': don't forget to check that PHI node is in loop header (details)
  50. [libc][NFC] Use ASSERT_FP_EQ to compare nan values in tests. (details)
  51. [PowerPC] Add addtional test that retroactively catches PR47259 (details)
  52. [OpenMP] libomp: Handle implicit conversion warnings (details)
  53. Avoid using /dev/null in test (details)
  54. [X86][test] Add explicit dso_local to definitions in ELF static relocation model tests (details)
  55. [test] Fix linux-preemption.ll (details)
  56. [AArch64][test] Add explicit dso_local to definitions in ELF static relocation model tests (details)
  57. [ARM][test] Add explicit dso_local to definitions in ELF static relocation model tests (details)
  58. [SystemZ][test] Add explicit dso_local to definitions in ELF static relocation model tests (details)
  59. [RISCV][test] Add explicit dso_local to definitions in ELF static relocation model tests (details)
  60. [ORC] Remove some stale debugging output. (details)
  61. [test] Add explicit dso_local to definitions in ELF static relocation model tests (details)
  62. [LowerEmuTls] Copy dso_local from <var> to __emutls_v.<var> (details)
  63. [test] Add explicit dso_local to definitions in ELF static relocation model tests (details)
  64. [TargetMachine] Drop implied dso_local for definitions in ELF static relocation model/PIE (details)
  65. [ThinLTO][test] Add visibility related tests (details)
  66. [ARM] Declare Op within an if statement (NFC) (details)
  67. [PGO] Use isa instead of dyn_cast (NFC) (details)
  68. [Analysis] Remove unused code recursivelySimplifyInstruction (NFC) (details)
  69. [lld/mac] Add -adhoc_codesign / -no_adhoc_codesign flags (details)
  70. [LoopDeletion] Allows deletion of possibly infinite side-effect free loops (details)
  71. [X86] Don't fold negative offset into 32-bit absolute address (e.g. movl $foo-1, %eax) (details)
  72. [lsan] Ignore inderect leaks referenced by suppressed blocks (details)
  73. Add intrinsic testcase for some missing widening reduction. (details)
  74. [RISCV] Define vector widening type-convert intrinsic. (details)
  75. [RISCV] Define vector narrowing type-convert intrinsic. (details)
  76. [RISCV] Define vector single-width type-convert intrinsic. (details)
  77. [test] Add {{.*}} to make tests immune to dso_local/dso_preemptable/(none) differences (details)
  78. [CodeGenModule] Set dso_local for Mach-O GlobalValue (details)
  79. Support tilezero intrinsic and c interface for AMX. (details)
  80. [lld/mac] fix typo (details)
  81. [mlir][python] Tweaks to make python extensions packagable/distributable. (details)
  82. [mlir][python] Fix python extension building on windows. (details)
  83. Update inselt tests at llvm/test/Analysis to have poison as shufflevector's placeholder (NFC) (details)
  84. [test] Fix -triple and delete UNSUPPORTED: system-windows (details)
  85. [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences (details)
  86. [sanitizer] Define SANITIZER_GLIBC to refine SANITIZER_LINUX feature detection and support musl (details)
  87. [sanitizer] Include fstab.h on glibc/FreeBSD/NetBSD/macOS (details)
  88. LangRef: fix significand bits of fp128 (details)
  89. Revert "[ThinLTO][test] Add visibility related tests" (details)
  90. Revert "[LoopDeletion] Allows deletion of possibly infinite side-effect free loops" (details)
  91. [NFC] Added tests for PR48604 (details)
  92. [InstCombine] Transform (A + B) - (A | B) to A & B (PR48604) (details)
  93. [NFC] Added/adjusted tests for PR48604; second pattern (details)
  94. [InstCombine] Transform (A + B) - (A & B) to A | B (PR48604) (details)
  95. [ThinLTO][test] Add visibility related tests (details)
  96. [ThinLTO][test] Specify -enable-import-metadata to make !thinlto_src_module available in -DLLVM_ENABLE_ASSERTIONS=off mode (details)
  97. [llvm-objcopy] Use llvm::erase_if (NFC) (details)
  98. [CodeGen] Construct SmallVector with iterator ranges (NFC) (details)
  99. [MemorySSA, BPF] Use isa instead of dyn_cast (NFC) (details)
  100. [ThinLTO] Default -enable-import-metadata to false (details)
  101. [IROutliner] Adding consistent function attribute merging (details)
  102. [Clang][Misc] Change run line in fragile test (details)
  103. [SCEV] recognize logical and/or pattern (details)
  104. [CodeGen] recognize select form of and/ors when splitting branch conditions (details)
  105. remove pessimizing moves (reported by gcc 10) (details)
  106. [IRSim] Letting gep instructions be legal for similarity identification. (details)
  107. Add tests for D93943 (NFC) (details)
  108. Revert "remove pessimizing moves (reported by gcc 10)" (details)
  109. [test] Make ELF tests immune to dso_local/dso_preemptable/(none) differences (details)
  110. Refactor how -fno-semantic-interposition sets dso_local on default visibility external linkage definitions (details)
  111. [Analysis] reduce code for matching min/max; NFC (details)
  112. [mlir][shape] Add shape.lib attribute (details)
  113. [IRSim][IROutliner] Allowing GEP instructions to be outlined. (details)
  114. [SimplifyCFG] Teach FoldValueComparisonIntoPredecessors() to preserve DomTree, part 1 (details)
  115. [SimplifyCFG] Teach FoldBranchToCommonDest() to preserve DomTree, part 2 (details)
  116. [SimplifyCFG] Teach simplifyIndirectBr() to preserve DomTree (details)
  117. [SimplifyCFG] Teach SimplifyEqualityComparisonWithOnlyPredecessor() to preserve DomTree, part 3 (details)
  118. [SimplifyCFG] Teach eliminateDeadSwitchCases() to preserve DomTree, part 1 (details)
  119. [SimplifyCFG] Teach FoldValueComparisonIntoPredecessors() to preserve DomTree, part 2 (details)
  120. [SimplifyCFG] Teach tryToSimplifyUncondBranchWithICmpInIt() to preserve DomTree (details)
  121. [SimplifyCFG] SUCCESS! Teach createUnreachableSwitchDefault() to preserve DomTree (details)
  122. [IRSim] Letting call instructions be legal for similarity identification. (details)
  123. [IRSim][IROutliner] Allowing call instructions to be outlined. (details)
  124. [Sema] Fix deleted function problem in implicitly movable test (details)
  125. [clang-tidy][NFC] Fix a build warning due to an extra semicolon (details)
  126. Precommit a test for D92015 (NFC) (details)
  127. [LV] Fix crash when generating remarks with multi-exit loops. (details)
  128. [LAA] Add tests with uncomputable BTCs. (details)
  129. [LoopLoadElim] Add tests with uncomputable BTCs. (details)
  130. [LoopDistribute] Add tests with uncomputable BTCs. (details)
  131. [TableGen] Continue cleaning up .td files (details)
  132. [CVP] Add tests for union of conditions (NFC) (details)
  133. [LVI] Handle unions of conditions (details)
  134. [InstSimplify] Add tests for gep p, -p without inbounds (NFC) (details)
  135. [SLP]Add a test for correct use of the reordered loads, NFC. (details)
  136. [Analysis] fix typo in code comment; NFC (details)
  137. [Analysis] flatten enums for recurrence types (details)
  138. test/OpenMP/parallel_codegen.cpp: Allow multiple result attributes (details)
  139. [SSAUpdater] Remove unused code InstrIsPHI (NFC) (details)
  140. [llvm] Use *Map::lookup (NFC) (details)
  141. [llvm] Use isa instead of dyn_cast (NFC) (details)
  142. [SimplifyCFGPass] Ensure that DominatorTreeWrapperPass is init'd before SimplifyCFG (details)
  143. [SimplifyCFG] Teach tryWidenCondBranchToCondBranch() to preserve DomTree (details)
  144. [SimplifyCFG] Teach eliminateDeadSwitchCases() to preserve DomTree, part 2 (details)
  145. [IR] PassManagerTest: Register DominatorTreeAnalysis before running SimplifyCFGPass (details)
  146. [Utils] LocalTest: fix SimplifyCFGWithNullAC test to work with `-simplifycfg-require-and-preserve-domtree=1` (details)
  147. [NFC] clang-format the entire DwarfEHPrepare.cpp (details)
  148. [NFC][CodeGen] Split DwarfEHPrepare pass into an actual transform and an legacy-PM wrapper (details)
  149. [NFC][CodeGen][Tests] Mark all tests that fail to preserve DomTree for SimplifyCFG as such (details)
  150. [CodeGen][SimplifyCFG] Teach DwarfEHPrepare to preserve DomTree (details)
  151. [SimplifyCFG] Teach removeUndefIntroducingPredecessor to preserve DomTree (details)
  152. [AMDGPU][SimplifyCFG] Teach AMDGPUUnifyDivergentExitNodes to preserve {,Post}DomTree (details)
  153. [compiler-rt][test] Suppress stderr of ldd output (details)
  154. [sanitizer] Enable mallopt and mallinfo interceptors on Android after D93848 (details)
  155. [NFC][RISCV] Move vmsge{u}.vx processing to RISCVAsmParser. (details)
  156. [MLIR] Fix affine_map compose with multi-symbols (details)
  157. [CodeGen][NFC] Fix a build warning due to an extra semicolon (details)
  158. [gn build] (manually) port 5e31e226b5: Use Py3 for the build (details)
  159. fix typo to cycle bots (details)
  160. fix typos to cycle bots (details)
  161. Temporarily disable to clang-tidy tests on Windows (details)
  162. [NFCI][CodeGen] DwarfEHPrepare: don't actually pass DTU into simplifyCFG by default (details)
  163. [SimplifyCFG] Don't actually take DomTreeUpdater unless we intend to maintain DomTree validity (details)
  164. [LV] Add missed optimization fold-tail test (details)
  165. [LV] Clean up trailing whitespace (NFC). (details)
  166. [TableGen] Use llvm::append_range (NFC) (details)
  167. [llvm] Use llvm::erase_value and llvm::erase_if (NFC) (details)
  168. [Transforms] Construct SmallVector with iterator ranges (NFC) (details)
  169. [lldb/test] Deduplicate the rest of TestLldbGdbServer.py (details)
  170. [lldb] Deduplicate more lldb-server tests (details)
  171. [Process/NetBSD] Copy changes from FreeBSDRemote and reformat (details)
  172. [PowerPC] Add the LLVM triple for powerpcle [1/5] (details)
  173. [PowerPC] Support powerpcle target in LLVMObject [2/5] (details)
  174. [PowerPC] Support powerpcle target in Clang [3/5] (details)
  175. [PowerPC] Support powerpcle target in LLD [4/5] (details)
  176. [PowerPC] Enable OpenMP for powerpcle target. [5/5] (details)
  177. [PowerPC] NFC: Apply minor clang-format fix (details)
  178. [NFC] Switch up some dyn_cast calls (details)
  179. Moving UniqueInternalLinkageNamesPass to the start of IR pipelines. (details)
  180. [SimplifyCFG][AMDGPU] AMDGPUUnifyDivergentExitNodes: SimplifyCFG isn't ready to preserve PostDomTree (details)
  181. [llvm-reduce] Fix removal of unused llvm intrinsics declarations (details)
  182. [llvm-reduce] Refactor global variable delta pass (details)
  183. [NFC][SimplifyCFG] Add test for switch creation where we fail to maintain DomTree (details)
  184. [SimplifyCFG] FoldValueComparisonIntoPredecessors(): fine-tune/fix DomTree preservation (details)
  185. [NFC][SimplifyCFG] Add another test for switch creation where we fail to maintain DomTree (details)
  186. [SimplifyCFG] FoldValueComparisonIntoPredecessors(): fine-tune/fix DomTree preservation, take 2 (details)
  187. [gn build] Port 5799fc79c3f (details)
  188. [RuntimeDyld] Fix dangling reference in RuntimeDyldELF. (details)
  189. Revert "[sanitizer] Define SANITIZER_GLIBC to refine SANITIZER_LINUX feature detection and support musl" (details)
  190. [dsymutil][DWARFLinker][NFC] Refactor usages of UniquingStringPool. (details)
  191. [SCEV] Simplify trunc to zero based on known bits (details)
  192. Update *-inseltpoison.ll tests at Transforms/InstCombine/X86 by replacing undef with poison (NFC) (details)
  193. [Scalarizer] Use poison as insertelement's placeholder (details)
  194. [ArgPromotion] Add test with dead GEP when promoting. (details)
  195. [InstSimplify] Return poison if insertelement touches out of bounds (details)
  196. [InstSimplify] Regenerate test checks (NFC) (details)
  197. [X86] Make deinterleave8bitStride3 use unary CreateShuffleVector (details)
  198. [InstSimplify] Return poison for out of bounds extractelement (details)
  199. [InstSimplify] Fix addo/subo with undef (PR43188) (details)
  200. [Target] Use llvm::append_range (NFC) (details)
  201. [Target] Construct SmallVector with iterator ranges (NFC) (details)
  202. [llvm] Call *(Set|Map)::erase directly (NFC) (details)
  203. [InstSimplify] Fold division by zero to poison (details)
  204. [LoopUnswitch] Precommit initial partial unswitching test cases. (details)
  205. [InstSimplify] Fold nnan/ninf violation to poison (details)
  206. [NFC][SimplifyCFG] Add a test where we fail to preserve DomTree validity (details)
  207. [NFC][SimplifyCFG] SimplifyTerminatorOnSelect(): pull out OldTerm->getParent() into a variable (details)
  208. [SimplifyCFG] SimplifyTerminatorOnSelect(): fix/tune DomTree updates (details)
  209. [NFC][SimplifyCFG] Hoist 'original' DomTree verification from simplifyOnce() into run() (details)
  210. [clang-tidy] Fix windows tests (details)
  211. [compiler-rt] [Sanitizers] Extend ThreadDescriptorSize() for glibc-2.32-2.fc33.x86_64+i686 (details)
  212. [Flang][openmp][5.0] Add task_reduction clause. (details)
  213. [IROutliner] Removing a duplicate addition, causing overestimates in IROutliner. (details)
  214. [IROutliner] Refactoring errors in the cost model from past patches. (details)
  215. [PowerPC] Do not fold `cmp(d|w)` and `subf` instruction to `subf.` if `nsw` is not present (details)
  216. [benchmark] Fixed a build error when using CMake 3.15.1 + NDK-R20 (details)
  217. [RISCV] Remove unused method isUImm5NonZero() from RISCVAsmParser.cpp. NFC (details)
  218. [SVE] Fix inline assembly parsing crash (details)
  219. [VE] Remove VA.needsCustom checks (details)
  220. Revert "[Sema] Fix deleted function problem in implicitly movable test" (details)
  221. [ArgPromotion] Delay dead GEP removal until doPromotion. (details)
  222. [AARCH64] Improve accumulator forwarding for Cortex-A57 model (details)
  223. [VE] Change default CPU name to "generic" (details)
  224. [AArch64] Attempt to fix Mac tests with a more specific triple. NFC (details)
  225. [docs] Release notes for IsDecl in DIModule. (details)
  226. [Sparc] Fixes for the internal assembler (details)
  227. [ARM] Extend lowering for i64 reductions (details)
  228. [Support] Add KnownBits::icmp helpers. (details)
  229. [AArch64] Add patterns for FMCLA*_indexed. (details)
  230. [AArch64][SVE]Add cost model for masked gather and scatter for scalable vector. (details)
  231. [Sparc] SparcMCExpr::printVariantKind - fix Wcovered-switch-default gcc warning. NFCI. (details)
  232. [OpenMP] Add definition/interface for target memory routines (details)
  233. DeclCXX - Fix getAs<> null-dereference static analyzer warnings. NFCI. (details)
  234. [IR] CallBase::getBundleOpInfoForOperand - ensure Current iterator is defined. NFCI. (details)
  235. [InterleavedAccess] Return correct 'modified' status. (details)
  236. [RISCV][NFC] Add additional cmov tests (details)
  237. [SimplifyCFG] Enabled hoisting late in LTO pipeline. (details)
  238. [Hexagon] Fix bad SDNodeXForm (details)
  239. [libomptarget][amdgpu] Call into deviceRTL instead of ockl (details)
  240. [ProfileData] GCOVFile::readGCNO - silence undefined pointer warning. NFCI. (details)
  241. [OpenMP] Add using bit flags to select Libomptarget Information (details)
  242. [LoopDeletion] Break backedge of loops when known not taken (details)
  243. Revert "[LoopDeletion] Break backedge of loops when known not taken" (details)
  244. CodeGen: Use Register (details)
  245. [InstCombine] add tests for ashr+icmp; NFC (details)
  246. [RISCV] Replace i32 with XLenVT in (add AddrFI, simm12) isel patterns. (details)
  247. [NewPM][AMDGPU] Run InternalizePass when -amdgpu-internalize-symbols (details)
  248. [llvm] Construct SmallVector with iterator ranges (NFC) (details)
  249. [DebugInfo] Use llvm::append_range (NFC) (details)
  250. [llvm] Use llvm::any_of (NFC) (details)
  251. [NewPM][AMDGPU] Port amdgpu-propagate-attributes-early/late (details)
  252. [NewPM][AMDGPU] Port amdgpu-unify-metadata (details)
  253. [LoopNest] Allow empty basic blocks without loops (details)
  254. Switching Clang UniqueInternalLinkageNamesPass scheduling to using the LLVM one with newpm. (details)
  255. [flang][openmp] Make Reduction clause part of OmpClause (details)
  256. [RISCV] Remove unused method RISCVInstPrinter::printSImm5Plus1. NFC (details)
  257. [NewPM][AMDGPU] Port amdgpu-printf-runtime-binding (details)
  258. [NewPM][AMDGPU] Port amdgpu-always-inline (details)
  259. [NewPM][AMDGPU] Make amdgpu-aa work with NewPM (details)
  260. Revert "[LoopNest] Allow empty basic blocks without loops" (details)
  261. [FPEnv][AMDGPU] Disable FSUB(-0,X)->FNEG(X) DAGCombine when subnormals are flushed (details)
  262. [LoopUtils] reorder logic for creating reduction; NFC (details)
  263. [LoopUtils] reduce code for creatng reduction; NFC (details)
  264. [test] Pin backedge-id-bug-xfail.ll to legacy PM (details)
  265. [NewPM][AMDGPU] Pass TargetMachine to AMDGPUSimplifyLibCallsPass (details)
  266. [ValueTracking] isGuaranteedNotToBePoison should return true on undef (details)
  267. [NFC, Refactor] Modernize StorageClass from Specifiers.h to a scoped enum (II) (details)
  268. [LoopUtils] remove redundant opcode parameter; NFC (details)
  269. Revert "[NFC, Refactor] Modernize StorageClass from Specifiers.h to a scoped enum (II)" (details)
  270. [clang] - Also look for devtoolset-10 (details)
  271. [NFCI] DwarfEHPrepare: update DomTree in non-permissive mode, when present (details)
  272. [NFCI] SimplifyCFG: switch to non-permissive DomTree updates, where possible (details)
  273. [SimplifyCFGPass] mergeEmptyReturnBlocks(): switch to non-permissive DomTree updates (details)
  274. [SimplifyCFG] simplifyIndirectBr(): switch to non-permissive DomTree updates (details)
  275. [SimplifyCFG] SimplifyEqualityComparisonWithOnlyPredecessor(): switch to non-permissive DomTree updates (details)
  276. [SimplifyCFG] SimplifyCondBranchToTwoReturns(): switch to non-permissive DomTree updates (details)
  277. [JumpThreading][NewPM] Skip when target has divergent CF (details)
  278. [WebAssembly] Remove old SDT_WebAssemblyCalls (NFC) (details)
  279. [InstSimplify] add a test for gep with poison operand (NFC) (details)
  280. [InstSimplify] gep with poison operand is poison (details)
  281. [UpdateTestChecks] Fix PowerPC RE to support AIX assembly (details)
  282. [RISCV] Rename RVV intrinsics class (NFC) (details)
  283. [NFC] Add the getSizeInBytes() interface for MachineConstantPoolValue (details)
  284. [NFC] [PowerPC] Update vec_constants test to reflect more patterns (details)
  285. [NFC] [PowerPC] Remove dead code in BUILD_VECTOR peephole (details)
  286. Remove RefSCC::handleTrivialEdgeInsertion (details)
  287. [llvm/Orc] Fix ExecutionEngine module build breakage (details)
  288. [compiler-rt] [windows] Add UNUSED attributes on variables/functions only used for 64 bit targets (details)
Commit f904d50c29f23510cdbae0579085ae7ffebc1f63 by lkail
[PowerPC] Remaining KnownBits should be constant when performing non-sign comparison

In `PPCTargetLowering::DAGCombineTruncBoolExt`, when checking if it's correct to perform the transformation for non-sign comparison, as the comment says
```
      // This is neither a signed nor an unsigned comparison, just make sure
      // that the high bits are equal.
```
Origin check
```
      if (Op1Known.Zero != Op2Known.Zero || Op1Known.One != Op2Known.One)
        return SDValue();
```
is not strong enough. For example,
```
Op1Known = 111x000x;
Op2Known = 111x000x;
```
Bit 4, besides bit 0, is still unknown and affects the final result.

This patch fixes https://bugs.llvm.org/show_bug.cgi?id=48388.

Reviewed By: nemanjai, #powerpc

Differential Revision: https://reviews.llvm.org/D93092
The file was addedllvm/test/CodeGen/PowerPC/pr48388.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit e3e25cfb44bc2a35e3b53d62d37c27b7d13157b6 by lkail
[PowerPC] Add mir test to show effect of `optimizeCompareInstr` when `equalityOnly` is true. NFC.
The file was addedllvm/test/CodeGen/PowerPC/peephole-cmp-eq.mir
Commit 096b02ebbff72c403379b28a40f14a8c48e640f8 by shihpo.hung
[RISCV] Add intrinsics for vcompress instruction

This patch defines vcompress intrinsics and lower to V instructions.

We work with @rogfer01 from BSC to come out this patch.

Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com>
Co-Authored-by: ShihPo Hung <shihpo.hung@sifive.com>

Differential revision: https://reviews.llvm.org/D93809
The file was modifiedllvm/include/llvm/IR/IntrinsicsRISCV.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vcompress-rv32.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vcompress-rv64.ll
Commit f76e83bfbba9fcaf6f2e3d869774302d721ba1e4 by kazu
[Analysis] Use llvm::append_range (NFC)
The file was modifiedllvm/include/llvm/Analysis/DDG.h
The file was modifiedllvm/include/llvm/Analysis/IntervalIterator.h
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
The file was modifiedllvm/lib/Analysis/DDG.cpp
The file was modifiedllvm/lib/Analysis/AliasSetTracker.cpp
The file was modifiedllvm/lib/Analysis/DependenceGraphBuilder.cpp
The file was modifiedllvm/lib/Analysis/IRSimilarityIdentifier.cpp
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp
Commit 16d20e2554e9e8aac7ecf98df640da29e8de69ce by kazu
[Transforms/Utils] Construct SmallVector with iterator ranges (NFC)
The file was modifiedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
The file was modifiedllvm/lib/Transforms/Utils/LowerInvoke.cpp
The file was modifiedllvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
Commit 329b887286ab91872decd56adf1bb87aa30f9707 by kazu
[Analysis, IR] Use *Map::lookup (NFC)
The file was modifiedllvm/lib/IR/SafepointIRVerifier.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/include/llvm/Analysis/RegionInfoImpl.h
The file was modifiedllvm/lib/IR/PassRegistry.cpp
Commit 11f41cd4451554d6ad6065dc7cd6c9349159c567 by stellaraccident
[mlir][python] Install generated dialect sources.

Differential Revision: https://reviews.llvm.org/D93928
The file was modifiedmlir/lib/Bindings/Python/CMakeLists.txt
Commit a1d0589266865998785c996668d828445f10fc98 by haowei
[llvm-elfabi] Add flag to preserve timestamp when output is the same

This change adds '--write-if-changed' flag to llvm-elfabi tool. When
enabled, llvm-elfabi will not overwrite the existing file if the
content of the file will not be changed, which preserves the
timestamp.

Differential Revision: https://reviews.llvm.org/D92902
The file was modifiedllvm/include/llvm/InterfaceStub/ELFObjHandler.h
The file was addedllvm/test/tools/llvm-elfabi/preserve-dates-tbe.test
The file was modifiedllvm/tools/llvm-elfabi/llvm-elfabi.cpp
The file was modifiedllvm/lib/InterfaceStub/ELFObjHandler.cpp
The file was addedllvm/test/tools/llvm-elfabi/preserve-dates-stub.test
Commit 18c3e795f7ccecbc752d132e37306c5c051b5f8e by craig.topper
[Verifier] Remove declaration of method that was removed 8.5 years ago. NFC
The file was modifiedllvm/lib/IR/Verifier.cpp
Commit bf286b00e9e860a85adaab1214271e374267a033 by i
[X86][test] Improve global address offset folding tests
The file was modifiedllvm/test/CodeGen/X86/fold-add.ll
The file was removedllvm/test/CodeGen/X86/fold-add-pcrel.ll
Commit 981a0bd85811fe49379fdbef35528e2c2f3511a3 by yuanke.luo
[X86] Add x86_amx type for intel AMX.

The x86_amx is used for AMX intrisics. <256 x i32> is bitcast to x86_amx when
it is used by AMX intrinsics, and x86_amx is bitcast to <256 x i32> when it
is used by load/store instruction. So amx intrinsics only operate on type x86_amx.
It can help to separate amx intrinsics from llvm IR instructions (+-*/).
Thank Craig for the idea. This patch depend on https://reviews.llvm.org/D87981.

Differential Revision: https://reviews.llvm.org/D91927
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
The file was modifiedllvm/lib/IR/LLVMContextImpl.h
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-intrinsic-chain.ll
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/utils/TableGen/CodeGenTarget.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicsX86.td
The file was modifiedllvm/include/llvm/Support/MachineValueType.h
The file was modifiedllvm/lib/IR/Function.cpp
The file was modifiedclang/test/CodeGen/X86/amx_api.c
The file was modifiedllvm/include/llvm-c/Core.h
The file was modifiedllvm/include/llvm/Bitcode/LLVMBitCodes.h
The file was modifiedllvm/lib/IR/DataLayout.cpp
The file was modifiedllvm/lib/IR/LLVMContextImpl.cpp
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-spill.ll
The file was modifiedllvm/lib/CodeGen/ValueTypes.cpp
The file was modifiedllvm/utils/TableGen/IntrinsicEmitter.cpp
The file was modifiedllvm/lib/AsmParser/LLLexer.cpp
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/include/llvm/IR/DataLayout.h
The file was modifiedllvm/lib/Target/X86/X86RegisterInfo.td
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.td
The file was modifiedllvm/include/llvm/IR/Type.h
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-config.ll
The file was modifiedllvm/lib/IR/Type.cpp
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-type.ll
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-across-func.ll
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/include/llvm/IR/Intrinsics.h
The file was modifiedllvm/lib/Target/X86/X86LowerAMXType.cpp
Commit ff6fd3855244bc90094e7de3f07853a5971cf8ef by sivachandra
[libc] Add implementations of rounding functions which depend rounding mode.

Namely, implementations for rint, rintf, rintl, lrint, lrintf, lrintl,
llrint, llrintf and llrintl have been added.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D93889
The file was addedlibc/src/math/lrint.h
The file was addedlibc/src/math/rintf.h
The file was addedlibc/src/math/rint.h
The file was addedlibc/test/src/math/rintf_test.cpp
The file was addedlibc/src/math/llrintf.h
The file was addedlibc/src/math/rintl.cpp
The file was addedlibc/test/src/math/llrint_test.cpp
The file was addedlibc/test/src/math/lrintf_test.cpp
The file was addedlibc/test/src/math/lrint_test.cpp
The file was addedlibc/src/math/llrintl.cpp
The file was addedlibc/src/math/llrintl.h
The file was addedlibc/src/math/lrintf.cpp
The file was addedlibc/test/src/math/llrintl_test.cpp
The file was addedlibc/src/math/rintl.h
The file was addedlibc/src/math/lrint.cpp
The file was addedlibc/src/math/lrintl.cpp
The file was addedlibc/src/math/rint.cpp
The file was addedlibc/test/src/math/lrintl_test.cpp
The file was modifiedlibc/src/math/CMakeLists.txt
The file was modifiedlibc/test/src/math/CMakeLists.txt
The file was addedlibc/test/src/math/llrintf_test.cpp
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
The file was addedlibc/src/math/lrintf.h
The file was addedlibc/test/src/math/rintl_test.cpp
The file was addedlibc/src/math/llrint.h
The file was modifiedlibc/utils/MPFRWrapper/MPFRUtils.h
The file was addedlibc/src/math/llrintf.cpp
The file was modifiedlibc/spec/stdc.td
The file was modifiedlibc/utils/MPFRWrapper/MPFRUtils.cpp
The file was addedlibc/src/math/llrint.cpp
The file was modifiedlibc/utils/FPUtil/NearestIntegerOperations.h
The file was addedlibc/src/math/lrintl.h
The file was addedlibc/src/math/rintf.cpp
The file was addedlibc/test/src/math/RIntTest.h
The file was modifiedlibc/test/src/math/RoundToIntegerTest.h
The file was addedlibc/test/src/math/rint_test.cpp
Commit 109e0736620cc3ca618e80ec3c1f2f267ee2e026 by aqjune
[ConstraintElimination] Add tests for select form and/or (NFC)
The file was modifiedllvm/test/Transforms/ConstraintElimination/and.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/or.ll
Commit 71867ed5e6606a93f0c1413f205afe3bb16317fe by andrew.litteken
[IROutliner] Adding support for swift errors
The file was modifiedllvm/lib/Transforms/IPO/IROutliner.cpp
The file was addedllvm/test/Transforms/IROutliner/outlining-swift-error.ll
Commit eeb99c2ac2672c8a61085e94f66b1b31c524cd87 by andrew.litteken
Revert "[IROutliner] Adding support for swift errors"

This reverts commit 71867ed5e6606a93f0c1413f205afe3bb16317fe.

Reverting for lack of commit messages.
The file was removedllvm/test/Transforms/IROutliner/outlining-swift-error.ll
The file was modifiedllvm/lib/Transforms/IPO/IROutliner.cpp
Commit 30feb93036ebb8ffc5233a9ab3960836c2407d95 by andrew.litteken
[IROutliner] Adding support for swift errors in the IROutliner

Since some values can be swift errors, we need to make sure that we
correctly propagate the parameter attributes.

Tests found at:
llvm/test/Transforms/IROutliner/outlining-swift-error.ll

Reviewers: jroelofs, paquette

Recommit of: 71867ed5e6606a93f0c1413f205afe3bb16317fe

Differential Revision: https://reviews.llvm.org/D87742
The file was modifiedllvm/lib/Transforms/IPO/IROutliner.cpp
The file was addedllvm/test/Transforms/IROutliner/outlining-swift-error.ll
Commit 2820a2ca3a0e69c3f301845420e0067ffff2251b by i
Move -fno-semantic-interposition dso_local logic from TargetMachine to Clang CodeGenModule

This simplifies TargetMachine::shouldAssumeDSOLocal and and gives frontend the
decision to use dso_local. For LLVM synthesized functions/globals, they may lose
inferred dso_local but such optimizations are probably not very useful.

Note: the hasComdat() condition in canBenefitFromLocalAlias (D77429) may be dead now.
(llvm/CodeGen/X86/semantic-interposition-comdat.ll)
(Investigate whether we need test coverage when Fuchsia C++ ABI is clearer)
The file was modifiedllvm/lib/Target/TargetMachine.cpp
The file was addedclang/test/CodeGen/semantic-interposition-no.c
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was removedllvm/test/CodeGen/X86/semantic-interposition-infer-dsolocal.ll
The file was removedllvm/test/CodeGen/X86/semantic-interposition-comdat.ll
Commit 6e9755bb80c8a913626f99905720f981f1027176 by yuanke.luo
[X86] Refactor AMX test case, remove unnecessary code.

Differential Revision: https://reviews.llvm.org/D93792
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-across-func.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-type.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-config.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-intrinsic-chain.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-spill.ll
Commit abb4cd3e74954ccb43307c71f7d0f0f937e0e045 by zhanghb97
[mlir][Python] Initial Affine Map Python Bindings.

- Add `PyAffineMap` to wrap around `MlirAffineMap`.
- Add `mlirPythonAffineMapToCapsule` and `mlirPythonCapsuleToAffineMap` to interoperate with python capsule.
- Add and test some simple bindings of `PyAffineMap`.

Differential Revision: https://reviews.llvm.org/D93200
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
The file was modifiedmlir/lib/Bindings/Python/IRModules.h
The file was addedmlir/test/Bindings/Python/ir_affine_map.py
The file was modifiedmlir/include/mlir-c/Bindings/Python/Interop.h
Commit bfedd5d2b650e0fcef9c16907e8b694d9b213181 by aqjune
[ConstraintElimination] Add support for select form of and/or

This patch adds support for select form of and/or.
Currently there is an ongoing effort for moving towards using `select a, b, false` instead of `and i1 a, b` and
`select a, true, b` instead of `or i1 a, b` as well.
D93065 has links to relevant changes.

Alive2 proof: (undef input was disabled due to timeout :( )
- and: https://alive2.llvm.org/ce/z/AgvFbQ
- or: https://alive2.llvm.org/ce/z/KjLJyb

Differential Revision: https://reviews.llvm.org/D93935
The file was modifiedllvm/test/Transforms/ConstraintElimination/and.ll
The file was modifiedllvm/lib/Transforms/Scalar/ConstraintElimination.cpp
The file was modifiedllvm/test/Transforms/ConstraintElimination/or.ll
Commit e6e6404600281d4ae34162a5853e7a9cdbe50d44 by aqjune
[SimplifyCFG] Add tests for select form and/or for creating select from icmps
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch_create.ll
Commit 3f0b637d6b3ef967383610051f040c2a7d40d206 by marek.kurdej
[libc++] [docs] Mark contract-related papers as removed from C++20.
The file was modifiedlibcxx/docs/Cxx2aStatusPaperStatus.csv
Commit e47e313d647e00ab5fbb4a17f9b69f33c49aafc3 by pifon
[mlir] Fix a typo MemRefType -> UnrankedMemRefType
The file was modifiedmlir/include/mlir/IR/OpBase.td
Commit 9b29610228c838a66a88edf43ddd25acf8d1b477 by aqjune
Use unary CreateShuffleVector if possible

As mentioned in D93793, there are quite a few places where unary `IRBuilder::CreateShuffleVector(X, Mask)` can be used
instead of `IRBuilder::CreateShuffleVector(X, Undef, Mask)`.
Let's update them.

Actually, it would have been more natural if the patches were made in this order:
(1) let them use unary CreateShuffleVector first
(2) update IRBuilder::CreateShuffleVector to use poison as a placeholder value (D93793)

The order is swapped, but in terms of correctness it is still fine.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D93923
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/strided-load-float.ll
The file was modifiedclang/test/CodeGenOpenCL/partial_initializer.cl
The file was modifiedclang/test/CodeGen/X86/avx512dq-builtins.c
The file was modifiedllvm/test/Transforms/LoopVectorize/float-minmax-instruction-flag.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/strided-store-float.ll
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/const-gep.ll
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vmovl.c
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/bigger-expressions-double.ll
The file was modifiedllvm/test/Transforms/SROA/vector-promotion.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/rewrite-out-arguments-address-space.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/lower-kernargs.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/transpose-i32.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/strided-load-i32.ll
The file was modifiedclang/test/CodeGen/X86/avx512f-builtins.c
The file was modifiedllvm/test/Transforms/InterleavedAccess/ARM/interleaved-accesses-inseltpoison.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/invariant-store-vectorization.ll
The file was modifiedclang/test/CodeGenOpenCL/preserve_vec3.cl
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/propagate-backwards-unsupported.ll
The file was modifiedclang/test/CodeGen/X86/f16c-builtins.c
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/rewrite-out-arguments.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/load-align-volatile.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/propagate-forward.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/store-align-volatile.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
The file was modifiedllvm/test/Transforms/InterleavedAccess/ARM/interleaved-accesses.ll
The file was modifiedllvm/test/Transforms/InstCombine/canonicalize-vector-insert.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-i32.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/sphinx.ll
The file was modifiedclang/test/CodeGen/X86/avx-builtins.c
The file was modifiedclang/test/CodeGen/X86/avx512vldq-builtins.c
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-float-contraction.ll
The file was modifiedllvm/unittests/IR/PatternMatch.cpp
The file was modifiedllvm/test/CodeGen/Generic/expand-experimental-reductions.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-double.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/AMDGPU/horizontal-store.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-double-row-major.ll
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vmovn.c
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/transpose-float-row-major.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/transpose-i32-row-major.ll
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vrev.c
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/clmul.ll
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/AMDGPU/packed-math.ll
The file was modifiedclang/test/CodeGenOpenCL/as_type.cl
The file was modifiedclang/test/CodeGen/X86/avx512vl-builtins.c
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/strided-load-double.ll
The file was modifiedclang/test/CodeGenOpenCL/vectorLoadStore.cl
The file was modifiedclang/test/CodeGen/X86/avx512vl-builtins-constrained.c
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-float.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/PowerPC/widened-massv-call.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-float-contraction-fmf.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/transpose-double-row-major.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-double-contraction-fmf.ll
The file was modifiedclang/test/CodeGen/X86/avx512vlbw-builtins.c
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-double-contraction.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/PowerPC/widened-massv-vfabi-attr.ll
The file was modifiedclang/test/CodeGen/X86/avx512bw-builtins.c
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedclang/test/CodeGen/X86/avx2-builtins.c
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/propagate-backward.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/strided-store-i32.ll
The file was modifiedllvm/test/Transforms/InterleavedAccess/AArch64/interleaved-accesses-inseltpoison.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/transpose-float.ll
The file was modifiedclang/test/CodeGen/X86/avx512-reduceMinMaxIntrin.c
The file was modifiedllvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/transpose-double.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/select-reduction.ll
The file was modifiedllvm/test/CodeGen/AArch64/aarch64-interleaved-ld-combine.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/propagate-mixed-users.ll
The file was modifiedllvm/test/Transforms/PhaseOrdering/X86/vector-reductions-expanded.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-i32-row-major.ll
The file was modifiedclang/test/CodeGen/X86/sse2-builtins.c
The file was modifiedllvm/lib/Target/X86/X86InterleavedAccess.cpp
The file was modifiedllvm/test/Transforms/InterleavedAccess/X86/interleavedStore-inseltpoison.ll
The file was modifiedclang/test/CodeGen/arm64-abi-vector.c
The file was modifiedclang/test/CodeGenOpenCL/vector_literals_valid.cl
The file was modifiedllvm/test/Transforms/InterleavedAccess/AArch64/interleaved-accesses.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-add-sub-double-row-major.ll
The file was modifiedllvm/test/Transforms/InterleavedAccess/X86/interleavedStore.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/strided-store-double.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-volatile.ll
The file was modifiedllvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts-inseltpoison.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/AMDGPU/reduction.ll
The file was modifiedclang/test/CodeGen/X86/f16c-builtins-constrained.c
Commit 420d046d6bdd8d950dad389a97e31f841052efb2 by aqjune
clang-format, address warnings
The file was modifiedclang/test/CodeGen/X86/avx512f-builtins.c
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
The file was modifiedclang/test/CodeGen/X86/avx512-reduceMinMaxIntrin.c
The file was modifiedclang/test/CodeGen/arm64-abi-vector.c
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
The file was modifiedclang/test/CodeGen/X86/avx512vl-builtins-constrained.c
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
Commit 16c2067cf212cd8355d4c274db0fe40b486eb3d3 by pengfei.wang
[X86][AMX] Fix compilation warning introduced by 981a0bd8.
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
Commit c6035a7bdf207dc3c1e12c041d5658770893fc68 by aqjune
Remove functions from *-inseltpoison.ll tests if unnecessary

X-inseltpoison.ll is a copy of X.ll with insertelement/shufflevector's
placeholder replaced with poison.
This commit removes a few redundant functions which do not contain any
shufflevector/insertelement.
The file was modifiedllvm/test/Transforms/InstCombine/assume-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/bswap-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/fmul-inseltpoison.ll
Commit e90ea76380d411bf81861228f23e4716ef337100 by spatel
[IR] remove 'NoNan' param when creating FP reductions

This is no-functional-change-intended (AFAIK, we can't
isolate this difference in a regression test).

That's because the callers should be setting the IRBuilder's
FMF field when creating the reduction and/or setting those
flags after creating. It doesn't make sense to override this
one flag alone.

This is part of a multi-step process to clean up the FMF
setting/propagation. See PR35538 for an example.
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
Commit 2016f2c8a76d67d8cd4771796b6cd19fd66e3f37 by jpienaar
Fixes warning 'enumeration value not handled in switch'.

This was introduced in commit: 981a0bd85811fe49379fdbef35528e2c2f3511a3.

Differential Revision: https://reviews.llvm.org/D93944
The file was modifiedllvm/tools/llvm-c-test/echo.cpp
Commit 3567908d8ceb95afe50961c7a953c202131235c5 by spatel
[SLP] add fadd reduction test to show broken FMF propagation; NFC
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/horizontal.ll
Commit ed507bc4d5eee48560d28089ab6e31d91ef3fd88 by nicolas.vasilache
[mlir] NFC - Fix SubViewOp printing

Avoid casting the source operand type allows better debugging when conversion patterns
fail to produce a proper MemRefType.
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
Commit 9b5a3d67b496ce92729c61b7b2a99e8dc8d39ca3 by nicolas.vasilache
[mlir] Fix indexing of first offset operand in ops that implement OffsetSizeAndStrideOpInterface

OffsetSizeAndStrideOpInterface ops may have a varying number of operands before the first
offset operand. This revision adds a method that such ops much implement to properly specify
the position of the first offset operand.

Differential Revision: https://reviews.llvm.org/D93947
The file was modifiedmlir/include/mlir/Interfaces/ViewLikeInterface.td
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td
Commit b0d6bebe90ddce73e58824ba5cb294cb663b5c27 by i
[ELF] Drop '>>> defined in ' for locations of linker synthesized symbols

Reviewed By: grimar

Differential Revision: https://reviews.llvm.org/D93925
The file was modifiedlld/ELF/Relocations.cpp
The file was modifiedlld/test/ELF/x86-64-gotpc-err.s
Commit 9c0c123b0b48772973f8864e36e451ab0c8c7419 by i
[CMake][tsan] Remove --sysroot=.

rL254966 added `--sysroot=.` to prevent accidental including system headers.
It caused hassle to FreeBSD (D17383)/NetBSD. The next problem is that
we want to include `features.h` (usually `/usr/include/features.h`) to detect `__GLIBC__`.

At this point it seems that `--sysroot=.` adds lots of inconvenience so we disable it for now.
If there is a better way preventing accidental system header inclusion we can consider it again.

Reviewed By: #sanitizers, vitalybuka

Differential Revision: https://reviews.llvm.org/D93921
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt
Commit fe431103b633278da9ece1e03d6b441c1d44d977 by andrew.litteken
[IROutliner] Adding option to enable outlining from linkonceodr functions

There are functions that the linker is able to automatically
deduplicate, we do not outline from these functions by default. This
allows for outlining from those functions.

Tests:
llvm/test/Transforms/IROutliner/outlining-odr.ll

Reviewers: jroelofs, paquette

Differential Revision: https://reviews.llvm.org/D87309
The file was modifiedllvm/lib/Transforms/IPO/IROutliner.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/IROutliner.h
The file was addedllvm/test/Transforms/IROutliner/outlining-odr.ll
Commit 70de7e0d9a95b7fcd7c105b06bd90fdf4e01f563 by mmoroz
[compiler-rt] FuzzedDataProvider: Add PickValueInArray for std::array

This makes `PickValueInArray` work for `std::array<T, s>` (C++11). I've also tested the C++17 `std::array` (with compiler-deduced template parameters)

```
Author:
MarcoFalke <falke.marco@gmail.com>
```

Reviewed By: Dor1s

Differential Revision: https://reviews.llvm.org/D93412
The file was modifiedcompiler-rt/include/fuzzer/FuzzedDataProvider.h
The file was modifiedcompiler-rt/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp
Commit 88cadb894ce2b3ba72a91db84504963cf3db991d by i
[PowerPC][test] Add explicit dso_local to definitions in ELF static relocation model tests

TargetMachine::shouldAssumeDSOLocal currently implies dso_local for such definitions.

Adding explicit dso_local makes these tests align with the clang -fpic behavior
and allow the removal of the TargetMachine::shouldAssumeDSOLocal special case.

Rewrite preemption.ll to dsolocal-static.ll and dsolocal-pic.ll, and add
"PIC Level" metadata.
The file was modifiedllvm/test/CodeGen/PowerPC/pie.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllnesll.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesinesll.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesilesll.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllequi.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllequs.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllequll.ll
The file was modifiedllvm/test/CodeGen/PowerPC/tailcall-speculatable-callee.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiequll.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiltui.ll
The file was modifiedllvm/test/CodeGen/PowerPC/p10-setbcr-ri.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigeull.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesieqsi.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiequc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiness.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesieqss.ll
The file was addedllvm/test/CodeGen/PowerPC/dsolocal-static.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigess.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pr32140.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesilesi.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgesi.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgess.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgeus.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pcrel-tls-local-exec.ll
The file was modifiedllvm/test/CodeGen/PowerPC/peephole-align.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testCompareslleqss.ll
The file was modifiedllvm/test/CodeGen/PowerPC/mcm-11.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiltsi.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigeuc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigesi.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesileui.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllleull.ll
The file was addedllvm/test/CodeGen/PowerPC/dsolocal-pic.ll
The file was modifiedllvm/test/CodeGen/PowerPC/p10-setbc-rr.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testCompareslllesi.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigeui.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiequs.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-sibcall.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testCompareslllesll.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesieqsll.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesi32gtu.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllleus.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesi32ltu.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fast-isel-load-store.ll
The file was modifiedllvm/test/CodeGen/PowerPC/mma-acc-memops.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiequi.ll
The file was modifiedllvm/test/CodeGen/PowerPC/elf-common.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-sibcall-shrinkwrap.ll
The file was modifiedllvm/test/CodeGen/PowerPC/tls.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-nonfunc-calls.ll
The file was modifiedllvm/test/CodeGen/PowerPC/p10-setnbcr-rr.ll
The file was modifiedllvm/test/CodeGen/PowerPC/func-addr.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesineull.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesinesi.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllneull.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgeuc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiltsll.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigeus.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllleui.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiless.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgeull.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiltus.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllltuc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/mcm-obj-2.ll
The file was modifiedllvm/test/CodeGen/PowerPC/p10-setbc-ri.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesileull.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesineus.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgesll.ll
The file was modifiedllvm/test/CodeGen/PowerPC/atomics-constant.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllltus.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigesll.ll
The file was modifiedllvm/test/CodeGen/PowerPC/p10-setnbc-ri.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgeui.ll
The file was modifiedllvm/test/CodeGen/PowerPC/sched-addi.ll
The file was removedllvm/test/CodeGen/PowerPC/preemption.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesileuc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/tailcall1-64.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllequc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testCompareslllesc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testCompareslleqsc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/p10-setnbcr-ri.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesieqsc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesilesc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesileus.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesineuc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllless.ll
The file was modifiedllvm/test/CodeGen/PowerPC/f128-arith.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fma-combine.ll
The file was modifiedllvm/test/CodeGen/PowerPC/f128-compare.ll
The file was modifiedllvm/test/CodeGen/PowerPC/mcm-3.ll
The file was modifiedllvm/test/CodeGen/PowerPC/tailcall-string-rvo.ll
The file was modifiedllvm/test/CodeGen/PowerPC/macro-fusion.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiltss.ll
The file was modifiedllvm/test/CodeGen/PowerPC/p10-setbcr-rr.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigesc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/p10-setnbc-rr.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiltsc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesinesc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testCompareslleqsi.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgesc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllleuc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiltuc.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesineui.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testCompareslleqsll.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllltsll.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-calls.ll
The file was modifiedllvm/test/CodeGen/PowerPC/float-load-store-pair.ll
The file was modifiedllvm/test/CodeGen/PowerPC/mcm-obj.ll
The file was modifiedllvm/test/CodeGen/PowerPC/alias.ll
Commit 453b6aadcef9625599d6099011bede710d4524f1 by jpienaar
[mlir] Add option to read reproducer options from file

Add command line option to read the configuration dumped by the MLIR crash
reproducer and adds those to the other command line options parsed by mlir-opt.

Simple convenience that enables `mlir-opt --run-reproducer /tmp/repro.mlir`
instead of needing to copy&paste the configuration.

Differential Revision: https://reviews.llvm.org/D93924
The file was modifiedmlir/docs/PassManagement.md
The file was modifiedmlir/lib/Support/MlirOptMain.cpp
The file was addedmlir/test/Pass/run-reproducer.mlir
Commit 277ebe46c6665a8717c5c6e7d767bbec31becfb8 by Yuanfang Chen
Fix `LLVM_ENABLE_MODULES=On` build

for commit 480936e741d588d53b9e2d9c5935b5daa0fdee25.
The file was modifiedllvm/include/llvm/module.modulemap
The file was modifiedllvm/include/llvm/CodeGen/CodeGenPassBuilder.h
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachinePassRegistry.def
Commit 51a292d994535d14af1873f09534a352da1d5456 by thakis
[gn build] Switch copy_bundle_data from pax to cpio

This will hopefully fix the build not becoming clean when using Ninja
1.9+. Ninja 1.9 enabled high-resolution time stamps, but pax doesn't
correctly set high-resolution timestamps on its output.

See https://github.com/nico/hack/blob/master/notes/copydir.md for a
detailed writeup of problem and alternatives.
The file was modifiedllvm/utils/gn/build/toolchain/BUILD.gn
Commit 294a196b0488c737544411bf570f4aa2a23f727e by i
[update_llc_test_checks] Support .Lfunc$local for x86 -relocation-model=pic dsolocal tests
The file was modifiedllvm/utils/UpdateTestChecks/asm.py
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_function_name.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_function_name.ll.expected
Commit 5ced712e9851f00ecd81ba4dc235811bbc9ec5a2 by spatel
[LoopVectorizer] add test to show wrong FMF propagation; NFC
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/reduction-fastmath.ll
Commit 8ca60db40bd944dc5f67e0f200a403b4e03818ea by spatel
[LoopUtils] reduce FMF and min/max complexity when forming reductions

I don't know if there's some way this changes what the vectorizers
may produce for reductions, but I have added test coverage with
3567908 and 5ced712 to show that both passes already have bugs in
this area. Hopefully this does not make things worse before we can
really fix it.
The file was modifiedllvm/include/llvm/Transforms/Utils/LoopUtils.h
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 7181df1e4990bdeb55ebe38a0238db1e8c2f2001 by i
[update_llc_test_checks] Support Windows .seh_proc for x86
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_function_name.ll.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_function_name.ll
The file was modifiedllvm/utils/UpdateTestChecks/asm.py
Commit 253dc16f9eb0701305272dc5a438e1f766b4ad60 by craig.topper
[RISCV] Cleanup some V intrinsic names used in tests to match the type overloads used. Add some missing double tests on rv32. NFC

The matching for intrinsic names is forgiving about types in the
name being absent or wrong. Once the intrinsic is parsed its
name will remangled to include the real types.

This commit fixes the names to have at least enough correct types
so that the name used in the test is a prefix of the canonical name.
The big missing part is the type for the VL parameter which changes
size between rv32 and rv64.

While I was in here I noticed that we were missing some tests for
double on rv32 so I fixed that by copying from rv64 and fixing up
the VL argument type.
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmsbc.borrow.in-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwadd.w-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredmax-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredxor-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmv.v.x-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmv.v.x-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwmul-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmsbc-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfmv.v.f-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredmax-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwredsum-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwredsum-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfmv.v.f-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwsub.w-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredmaxu-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfredsum-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwsub-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredand-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmadc.carry.in-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmadc-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwredosum-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwadd-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredor-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwsub-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmsbc.borrow.in-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfredosum-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfredmin-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwadd-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredmin-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfredosum-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredminu-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfredmax-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwredosum-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredminu-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredand-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredmaxu-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredsum-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfirst-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmadc-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredsum-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfredmax-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfredmin-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmsbc-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredor-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredmin-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfredsum-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwmul-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmadc.carry.in-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vredxor-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwsub.w-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwadd.w-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vpopc-rv32.ll
Commit c45f765c0d41ad94b857ee4b7e007d58b41ed650 by lebedev.ri
[SimplifyCFG] Teach SimplifyBranchOnICmpChain() to preserve DomTree
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch_msan.ll
Commit a17025aa61b16021ee85ff5deec47a9ed40ae1d4 by lebedev.ri
[SimplifyCFG] Teach switchToSelect() to preserve DomTree
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch-to-select-two-case.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 7f221c9196de2f042030e2a31f81089889d705bd by lebedev.ri
[SimplifyCFG] Teach SwitchToLookupTable() to preserve DomTree
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/CoveredLookupTable.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/switch-covered-bug.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/switch-table-bug.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/rangereduce.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/disable-lookup-table.ll
Commit 51879a525649c8151f7e841b66a5cea0e1c8e74e by lebedev.ri
[LoopIdiom] 'left-shift until bittest': don't forget to check that PHI node is in loop header

Fixes an issue reported by Peter Collingbourne in
https://reviews.llvm.org/D91726#2475301
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/test/Transforms/LoopIdiom/X86/left-shift-until-bittest.ll
Commit cc07d5251144e12cc089748ec66af0423ba57ad1 by sivachandra
[libc][NFC] Use ASSERT_FP_EQ to compare nan values in tests.

This change "fixes" one of the uses that was missed in
0524da67b448dcce6569fae0f54c10f208c2dc56.
The file was modifiedlibc/test/src/math/RemQuoTest.h
Commit f07b95e8bcd1584167eaa8bd41ef8ee96422df65 by bdragon
[PowerPC] Add addtional test that retroactively catches PR47259

Due to the unfortunate way the bug could only be triggered when reading SPRG[0-3] into a register lower than %r4 with the "mfsprg %rX, 0" syntax, the tests did not detect it.

(It could not be triggered for "mfsprg0, %r2" because that pattern was already in the table, so the earlier "correct" match took effect)

As a canary, add an intentionally ambiguous "mfsprg 2, 2" and "mtsprg 2, 2" check that would have caught the problem.

Reviewed By: ZhangKang

Differential Revision: https://reviews.llvm.org/D86489
The file was modifiedllvm/test/MC/PowerPC/ppc64-encoding-ext.s
Commit 6b316febb4388764789677f81f03aff373ec35b2 by Andrey.Churbanov
[OpenMP] libomp: Handle implicit conversion warnings

This patch partially prepares the runtime source code to be built with
-Wconversion, which should trigger warnings if any implicit conversions
can possibly change a value. For builds done with icc or gcc, all such
warnings are handled in this patch. clang gives a much longer list of
warnings, particularly for sign conversions, which the other compilers
don't report. The -Wconversion flag is commented into cmake files, but
I'm not going to turn it on. If someone thinks it is important, and wants
to fix all the clang warnings, they are welcome to.

Types of changes made here involve either improving the consistency of types
used so that no conversion is needed, or else performing careful explicit
conversions, when we're sure a problem won't arise.

Patch is a combination of changes by Terry Wilmarth and Johnny Peyton.

Differential Revision: https://reviews.llvm.org/D92942
The file was modifiedopenmp/runtime/src/kmp_stub.cpp
The file was modifiedopenmp/runtime/src/kmp_gsupport.cpp
The file was modifiedopenmp/runtime/src/kmp_ftn_entry.h
The file was modifiedopenmp/runtime/src/kmp_tasking.cpp
The file was modifiedopenmp/runtime/src/z_Linux_util.cpp
The file was modifiedopenmp/runtime/src/kmp_settings.cpp
The file was modifiedopenmp/runtime/src/kmp_stub.h
The file was modifiedopenmp/runtime/src/kmp_stats.cpp
The file was modifiedopenmp/runtime/cmake/LibompHandleFlags.cmake
The file was modifiedopenmp/runtime/src/kmp.h
The file was modifiedopenmp/runtime/src/kmp_itt.inl
The file was modifiedopenmp/runtime/src/kmp_csupport.cpp
The file was modifiedopenmp/runtime/src/kmp_barrier.cpp
The file was modifiedopenmp/runtime/src/ompt-specific.cpp
The file was modifiedopenmp/runtime/src/kmp_alloc.cpp
The file was modifiedopenmp/runtime/src/kmp_dispatch_hier.h
The file was modifiedopenmp/runtime/src/kmp_atomic.cpp
The file was modifiedopenmp/runtime/src/kmp_affinity.h
The file was modifiedopenmp/runtime/src/kmp_dispatch.cpp
The file was modifiedopenmp/runtime/src/kmp_lock.cpp
The file was modifiedopenmp/runtime/src/kmp_affinity.cpp
The file was modifiedopenmp/runtime/src/kmp_taskdeps.cpp
The file was modifiedopenmp/runtime/src/kmp_runtime.cpp
The file was modifiedopenmp/runtime/cmake/config-ix.cmake
The file was modifiedopenmp/runtime/src/kmp_str.cpp
The file was modifiedopenmp/runtime/src/kmp_str.h
The file was modifiedopenmp/runtime/src/kmp_threadprivate.cpp
The file was modifiedopenmp/runtime/src/kmp_environment.cpp
The file was modifiedopenmp/runtime/src/kmp_stats.h
The file was modifiedopenmp/runtime/src/kmp_i18n.h
The file was modifiedopenmp/runtime/src/kmp_utility.cpp
The file was modifiedopenmp/runtime/src/kmp_wait_release.h
Commit 8c1f55384450a26f6ca391dd25905c32f9ed5644 by jpienaar
Avoid using /dev/null in test

Windows build bot was not happy with this
(http://lab.llvm.org:8011/#/builders/13/builds/3327/steps/7/logs/FAIL__MLIR__run-reproducer_mlir)
The file was modifiedmlir/test/Pass/run-reproducer.mlir
Commit 871de4a479c80e9ea9040c95ff0a22b3a21c36be by i
[X86][test] Add explicit dso_local to definitions in ELF static relocation model tests

TargetMachine::shouldAssumeDSOLocal currently implies dso_local for such definitions.

Adding explicit dso_local makes these tests align with the clang -fno-pic behavior
and allow the removal of the TargetMachine::shouldAssumeDSOLocal special case.
The file was modifiedllvm/test/CodeGen/X86/subvector-broadcast.ll
The file was modifiedllvm/test/CodeGen/X86/abi-isel.ll
The file was modifiedllvm/test/CodeGen/X86/avx2-gather.ll
The file was modifiedllvm/test/CodeGen/X86/break-false-dep.ll
The file was modifiedllvm/test/CodeGen/X86/backpropmask.ll
The file was modifiedllvm/test/CodeGen/X86/copy-eflags.ll
The file was modifiedllvm/test/CodeGen/X86/dbg-changes-codegen.ll
The file was modifiedllvm/test/CodeGen/X86/pr43866.ll
The file was modifiedllvm/test/CodeGen/X86/cast-vsel.ll
The file was modifiedllvm/test/CodeGen/X86/narrow_op-1.ll
The file was modifiedllvm/test/CodeGen/X86/tls.ll
The file was modifiedllvm/test/CodeGen/X86/bswap.ll
The file was modifiedllvm/test/CodeGen/X86/2011-10-19-LegelizeLoad.ll
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
The file was modifiedllvm/test/CodeGen/X86/cmp.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/GV.ll
The file was modifiedllvm/test/CodeGen/X86/pr32282.ll
The file was modifiedllvm/test/CodeGen/X86/vec-loadsingles-alignment.ll
The file was modifiedllvm/test/CodeGen/X86/emutls.ll
The file was modifiedllvm/test/CodeGen/X86/shift-combine.ll
The file was modifiedllvm/test/CodeGen/X86/cmov-double.ll
The file was modifiedllvm/test/CodeGen/X86/pr31956.ll
The file was modifiedllvm/test/CodeGen/X86/pr35761.ll
The file was modifiedllvm/test/CodeGen/X86/xray-tail-call-sled.ll
The file was modifiedllvm/test/CodeGen/X86/global-access-pie.ll
The file was modifiedllvm/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll
The file was modifiedllvm/test/CodeGen/X86/pr38865.ll
The file was modifiedllvm/test/CodeGen/X86/pie.ll
The file was modifiedllvm/test/CodeGen/X86/stores-merging.ll
The file was modifiedllvm/test/CodeGen/X86/fp128-libcalls.ll
The file was modifiedllvm/test/CodeGen/X86/2010-08-04-MaskedSignedCompare.ll
The file was modifiedllvm/test/CodeGen/X86/fp128-cast.ll
The file was modifiedllvm/test/CodeGen/X86/fmf-flags.ll
The file was modifiedllvm/test/CodeGen/X86/ga-offset.ll
The file was modifiedllvm/test/CodeGen/X86/musttail-tailcc.ll
The file was modifiedllvm/test/CodeGen/X86/splat-for-size.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-regcall-NoMask.ll
The file was modifiedllvm/test/CodeGen/X86/critical-edge-split-2.ll
The file was modifiedllvm/test/CodeGen/X86/sad.ll
The file was modifiedllvm/test/CodeGen/X86/test-shrink-bug.ll
The file was modifiedllvm/test/CodeGen/X86/ms-inline-asm-PR44272.ll
The file was modifiedllvm/test/CodeGen/X86/pr37826.ll
The file was modifiedllvm/test/CodeGen/X86/fp128-store.ll
The file was modifiedllvm/test/CodeGen/X86/pr35763.ll
The file was modifiedllvm/test/CodeGen/X86/avx-vzeroupper.ll
The file was modifiedllvm/test/CodeGen/X86/hoist-spill-lpad.ll
The file was modifiedllvm/test/CodeGen/X86/linux-preemption.ll
The file was modifiedllvm/test/CodeGen/X86/widen_load-1.ll
The file was modifiedllvm/test/CodeGen/X86/tailcall.ll
The file was modifiedllvm/test/CodeGen/X86/pr38803.ll
The file was modifiedllvm/test/CodeGen/X86/undef-label.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-GV-64.mir
The file was modifiedllvm/test/CodeGen/X86/peephole-fold-movsd.ll
The file was modifiedllvm/test/CodeGen/X86/fp128-load.ll
The file was modifiedllvm/test/CodeGen/X86/fp128-cast-strict.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-GV-32.mir
The file was modifiedllvm/test/CodeGen/X86/fp128-i128.ll
The file was modifiedllvm/test/CodeGen/X86/mempcpy.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-regcall-Mask.ll
The file was modifiedllvm/test/CodeGen/X86/cmovcmov.ll
The file was modifiedllvm/test/CodeGen/X86/lea-recursion.ll
The file was modifiedllvm/test/CodeGen/X86/shrink-compare.ll
The file was modifiedllvm/test/CodeGen/X86/immediate_merging.ll
The file was modifiedllvm/test/CodeGen/X86/load-partial.ll
The file was modifiedllvm/test/CodeGen/X86/tailcall-disable.ll
The file was modifiedllvm/test/CodeGen/X86/pr38217.ll
The file was modifiedllvm/test/CodeGen/X86/pr22774.ll
The file was modifiedllvm/test/CodeGen/X86/xor-select-i1-combine.ll
The file was modifiedllvm/test/CodeGen/X86/atomic-fp.ll
The file was modifiedllvm/test/CodeGen/X86/shrink-compare-pgso.ll
The file was modifiedllvm/test/CodeGen/X86/fp128-g.ll
The file was modifiedllvm/test/CodeGen/X86/pr34629.ll
The file was modifiedllvm/test/CodeGen/X86/pr35765.ll
The file was modifiedllvm/test/CodeGen/X86/tail-opts.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-gather-scatter-intrin.ll
The file was modifiedllvm/test/CodeGen/X86/callbr-asm-branch-folding.ll
The file was modifiedllvm/test/CodeGen/X86/pr34634.ll
The file was modifiedllvm/test/CodeGen/X86/rd-mod-wr-eflags.ll
The file was modifiedllvm/test/CodeGen/X86/pr36312.ll
The file was modifiedllvm/test/CodeGen/X86/inline-asm-h.ll
The file was modifiedllvm/test/CodeGen/X86/pr33290.ll
The file was modifiedllvm/test/CodeGen/X86/x86-64-intrcc.ll
The file was modifiedllvm/test/CodeGen/X86/sibcall.ll
The file was modifiedllvm/test/CodeGen/X86/tailcall-tailcc.ll
The file was modifiedllvm/test/CodeGen/X86/swift-return.ll
The file was modifiedllvm/test/CodeGen/X86/speculative-execution-side-effect-suppression.ll
The file was modifiedllvm/test/CodeGen/X86/speculative-load-hardening-indirect.ll
The file was modifiedllvm/test/CodeGen/X86/tls-pie.ll
The file was modifiedllvm/test/CodeGen/X86/trunc-and.ll
The file was modifiedllvm/test/CodeGen/X86/emutls-pie.ll
The file was modifiedllvm/test/CodeGen/X86/lsr-sort.ll
Commit e0f70ee01c6b83ce1b49a8d38bb1fe62e9302854 by i
[test] Fix linux-preemption.ll
The file was modifiedllvm/test/CodeGen/X86/linux-preemption.ll
Commit 7b529d0411a4d3c8d2cb29e15648aec08c85be6a by i
[AArch64][test] Add explicit dso_local to definitions in ELF static relocation model tests

TargetMachine::shouldAssumeDSOLocal currently implies dso_local for such definitions.

Adding explicit dso_local makes these tests align with the clang -fno-pic behavior
and allow the removal of the TargetMachine::shouldAssumeDSOLocal special case.

Split tiny_model.ll to tiny-model-{static,pic}.ll
The file was modifiedllvm/test/CodeGen/AArch64/atomic-ops-lse.ll
The file was modifiedllvm/test/CodeGen/AArch64/irg_sp_tagp.ll
The file was modifiedllvm/test/CodeGen/AArch64/ldst-unscaledimm.ll
The file was modifiedllvm/test/CodeGen/AArch64/func-calls.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-variadic-aapcs.ll
The file was removedllvm/test/CodeGen/AArch64/tiny_model.ll
The file was modifiedllvm/test/CodeGen/AArch64/code-model-large-abs.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-blockaddress.mir
The file was modifiedllvm/test/CodeGen/AArch64/arm64-ldxr-stxr.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-custom-call-saved-reg.ll
The file was modifiedllvm/test/CodeGen/AArch64/literal_pools_float.ll
The file was modifiedllvm/test/CodeGen/AArch64/sibling-call.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-misched-multimmo.ll
The file was modifiedllvm/test/CodeGen/AArch64/fcopysign.ll
The file was addedllvm/test/CodeGen/AArch64/tiny-model-pic.ll
The file was modifiedllvm/test/CodeGen/AArch64/and-sink.ll
The file was modifiedllvm/test/CodeGen/AArch64/global-alignment.ll
The file was modifiedllvm/test/CodeGen/AArch64/call-rv-marker.ll
The file was modifiedllvm/test/CodeGen/AArch64/i1-contents.ll
The file was modifiedllvm/test/CodeGen/AArch64/aarch64-be-bv.ll
The file was modifiedllvm/test/CodeGen/AArch64/global-merge-3.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-gv-cmodel-large.mir
The file was modifiedllvm/test/CodeGen/AArch64/misched-fusion-lit.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-aapcs.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/sext-inreg-ldrow-16b.mir
The file was modifiedllvm/test/CodeGen/AArch64/movw-shift-encoding.ll
The file was modifiedllvm/test/CodeGen/AArch64/global-merge-2.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-blockaddress.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-static.mir
The file was modifiedllvm/test/CodeGen/AArch64/bool-loads.ll
The file was modifiedllvm/test/CodeGen/AArch64/pie.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-sitofp-combine-chains.ll
The file was modifiedllvm/test/CodeGen/AArch64/breg.ll
The file was modifiedllvm/test/CodeGen/AArch64/zero-reg.ll
The file was modifiedllvm/test/CodeGen/AArch64/addsub_ext.ll
The file was modifiedllvm/test/CodeGen/AArch64/func-argpassing.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-gv-cmodel-tiny.mir
The file was modifiedllvm/test/CodeGen/AArch64/bitfield.ll
The file was modifiedllvm/test/CodeGen/AArch64/misched-fusion-addr.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fp128.ll
The file was modifiedllvm/test/CodeGen/AArch64/code-model-tiny-abs.ll
The file was modifiedllvm/test/CodeGen/AArch64/cmpxchg-O0.ll
The file was addedllvm/test/CodeGen/AArch64/tiny-model-static.ll
The file was modifiedllvm/test/CodeGen/AArch64/ldst-unsignedimm.ll
The file was modifiedllvm/test/CodeGen/AArch64/atomic-ops.ll
Commit a64b89e69e3e3d9884e135082a80b6010e127219 by i
[ARM][test] Add explicit dso_local to definitions in ELF static relocation model tests

TargetMachine::shouldAssumeDSOLocal currently implies dso_local for such definitions.

Adding explicit dso_local makes these tests align with the clang -fno-pic behavior
and allow the removal of the TargetMachine::shouldAssumeDSOLocal special case.
The file was modifiedllvm/test/CodeGen/ARM/global-merge-external.ll
The file was modifiedllvm/test/CodeGen/ARM/pie.ll
The file was modifiedllvm/test/CodeGen/ARM/ldm-base-writeback.ll
The file was modifiedllvm/test/CodeGen/ARM/cortex-a57-misched-vstm-wrback.ll
The file was modifiedllvm/test/CodeGen/ARM/tls1.ll
The file was modifiedllvm/test/CodeGen/ARM/cortex-a57-misched-ldm-wrback.ll
The file was modifiedllvm/test/CodeGen/ARM/cortex-a57-misched-vldm-wrback.ll
The file was modifiedllvm/test/CodeGen/ARM/global-merge-external-2.ll
The file was modifiedllvm/test/CodeGen/ARM/global-merge-alignment.ll
The file was modifiedllvm/test/CodeGen/ARM/aeabi-read-tp.ll
The file was modifiedllvm/test/CodeGen/ARM/fast-isel-pie.ll
Commit a90e5a8f0d010c339e4f14e0b098a2a147ef8e67 by i
[SystemZ][test] Add explicit dso_local to definitions in ELF static relocation model tests
The file was modifiedllvm/test/CodeGen/SystemZ/int-cmp-39.ll
The file was modifiedllvm/test/CodeGen/SystemZ/memcpy-02.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-cmp-42.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-cmp-40.ll
The file was modifiedllvm/test/CodeGen/SystemZ/spill-01.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-cmp-37.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-cmp-38.ll
The file was modifiedllvm/test/CodeGen/SystemZ/tls-01.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-move-08.ll
The file was modifiedllvm/test/CodeGen/SystemZ/la-01.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-move-09.ll
The file was modifiedllvm/test/CodeGen/SystemZ/branch-06.ll
The file was modifiedllvm/test/CodeGen/SystemZ/pie.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-cmp-43.ll
The file was modifiedllvm/test/CodeGen/SystemZ/and-08.ll
The file was modifiedllvm/test/CodeGen/SystemZ/prefetch-01.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-cmp-36.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-cmp-41.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-move-10.ll
Commit 7e5508e6a8a5e6f70634a5631affe646c8836690 by i
[RISCV][test] Add explicit dso_local to definitions in ELF static relocation model tests
The file was modifiedllvm/test/CodeGen/RISCV/double-mem.ll
The file was modifiedllvm/test/CodeGen/RISCV/fold-addi-loadstore.ll
The file was modifiedllvm/test/CodeGen/RISCV/half-mem.ll
The file was modifiedllvm/test/CodeGen/RISCV/float-mem.ll
The file was modifiedllvm/test/CodeGen/RISCV/mem.ll
The file was modifiedllvm/test/CodeGen/RISCV/mem64.ll
The file was modifiedllvm/test/CodeGen/RISCV/zext-with-load-is-free.ll
Commit a14c955af8602e450d75f4049eaa153387961ae1 by Lang Hames
[ORC] Remove some stale debugging output.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Shared/FDRawByteChannel.h
Commit a964e0f085000dc90c6175f21ac455263ed76d68 by i
[test] Add explicit dso_local to definitions in ELF static relocation model tests
The file was modifiedllvm/test/DebugInfo/X86/machinecse-wrongdebug-hoist.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/hexagon_generated_funcs.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/sparc_generated_funcs.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/wasm_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/CodeGen/Mips/tls.ll
The file was modifiedllvm/test/DebugInfo/X86/debug-loc-frame.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/aarch64_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/arm_generated_funcs.ll
The file was modifiedllvm/test/CodeGen/Thumb2/tls1.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/wasm_generated_funcs.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/hexagon_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/sparc_generated_funcs.ll.nogenerated.expected
The file was addedllvm/test/CodeGen/Mips/tls-static.ll
The file was modifiedllvm/test/DebugInfo/X86/live-debug-values.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/hexagon_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/CodeGen/XCore/codemodel.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/msp430_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/ppc_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/mips_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/msp430_generated_funcs.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/sparc_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/mips_generated_funcs.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/systemz_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/MC/AArch64/elf-globaladdress.ll
The file was modifiedllvm/test/CodeGen/Hexagon/tls_static.ll
The file was modifiedllvm/test/CodeGen/PowerPC/dsolocal-static.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/aarch64_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/arm_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/ppc_generated_funcs.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/aarch64_generated_funcs.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/msp430_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/ppc_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai_generated_funcs.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/systemz_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/MC/X86/intel-syntax-var-offset.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/CodeGen/WebAssembly/offset-folding.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_generated_funcs.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/wasm_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/arm_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/systemz_generated_funcs.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/mips_generated_funcs.ll.nogenerated.expected
Commit f73183958482602c4588b0f4a1c3a096e7542947 by i
[LowerEmuTls] Copy dso_local from <var> to __emutls_v.<var>

This effect is not testable until we drop the implied dso_local for ELF
static/PIE defined symbols from TargetMachine::shouldAssumeDSOLocal.
The file was modifiedllvm/lib/CodeGen/LowerEmuTLS.cpp
Commit bf1160c1d6b23bd5290584b158ea204adb41b7d0 by i
[test] Add explicit dso_local to definitions in ELF static relocation model tests
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/aarch64_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/CodeGen/PowerPC/dsolocal-static.ll
The file was modifiedllvm/test/CodeGen/ARM/fast-isel-intrinsic.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/aarch64_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/systemz_generated_funcs.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-regcall-NoMask.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/on_the_fly_arg_change.ll.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/on_the_fly_arg_change.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/systemz_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/systemz_generated_funcs.ll.generated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/aarch64_generated_funcs.ll
Commit 2047c10c22b071cccc57a7e2779d6603512e9113 by i
[TargetMachine] Drop implied dso_local for definitions in ELF static relocation model/PIE

TargetMachine::shouldAssumeDSOLocal currently implies dso_local for such definitions.

Since clang -fno-pic add the dso_local specifier, we don't need to special case.
The file was modifiedllvm/lib/Target/TargetMachine.cpp
The file was modifiedllvm/test/CodeGen/ARM/fast-isel-intrinsic.ll
The file was modifiedllvm/test/CodeGen/PowerPC/dsolocal-static.ll
The file was modifiedllvm/test/CodeGen/X86/linux-preemption.ll
Commit 52aa4e210744361a5ed6dc50fef78ed91706e508 by i
[ThinLTO][test] Add visibility related tests

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D92899
The file was addedllvm/test/ThinLTO/X86/visibility-elf.ll
The file was addedllvm/test/ThinLTO/X86/visibility-macho.ll
Commit 331c28f60dbbb09136c2e86e8a4ed8d066f2d271 by kazu
[ARM] Declare Op within an if statement (NFC)
The file was modifiedllvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
Commit 95ea86587c54240b3f1b7ed5a18d2f3660cb7573 by kazu
[PGO] Use isa instead of dyn_cast (NFC)
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
Commit a87c7003ac260424092e5ee8bcb0059e39cd2db0 by kazu
[Analysis] Remove unused code recursivelySimplifyInstruction (NFC)

The last use of the function, located in RemovePredecessorAndSimplify,
was removed on Dec 25, 2020 in commit
46bea9b29714ba77010612b04ba13aff56d62e7b.

The last use of RemovePredecessorAndSimplify was removed on Sep 29,
2010 in commit 99c985c37dd45dd0fbd03863037d8e93153783e6.
The file was modifiedllvm/include/llvm/Analysis/InstructionSimplify.h
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit 8886be242de8af6531204e2586b023f03b56992a by thakis
[lld/mac] Add -adhoc_codesign / -no_adhoc_codesign flags

These are new in Xcode 12's ld64. lld never codesigns at the moment, so
-no_adhoc_codesign doesn't even have to warn that it's not implemented.
The file was modifiedlld/MachO/Options.td
Commit 6f1503d59854b331f1f970d39839619b0a26bbc7 by atmndp
[LoopDeletion] Allows deletion of possibly infinite side-effect free loops

From C11 and C++11 onwards, a forward-progress requirement has been
introduced for both languages. In the case of C, loops with non-constant
conditionals that do not have any observable side-effects (as defined by
6.8.5p6) can be assumed by the implementation to terminate, and in the
case of C++, this assumption extends to all functions. The clang
frontend will emit the `mustprogress` function attribute for C++
functions (D86233, D85393, D86841) and emit the loop metadata
`llvm.loop.mustprogress` for every loop in C11 or later that has a
non-constant conditional.

This patch modifies LoopDeletion so that only loops with
the `llvm.loop.mustprogress` metadata or loops contained in functions
that are required to make progress (`mustprogress` or `willreturn`) are
checked for observable side-effects. If these loops do not have an
observable side-effect, then we delete them.

Loops without observable side-effects that do not satisfy the above
conditions will not be deleted.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D86844
The file was addedllvm/test/Transforms/LoopDeletion/mustprogress.ll
The file was modifiedllvm/test/Transforms/LoopDeletion/no-exit-blocks.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/LoopUtils.h
The file was modifiedclang/test/Misc/loop-opt-setup.c
Commit 6be0b9a8ddca0b2c937b31e0ee33fcbb7eb03dda by i
[X86] Don't fold negative offset into 32-bit absolute address (e.g. movl $foo-1, %eax)

When building abseil-cpp `bin/absl_hash_test` with Clang in -fno-pic
mode, an instruction like `movl $foo-2147483648, $eax` may be produced
(subtracting a number from the address of a static variable). If foo's
address is smaller than 2147483648, GNU ld/gold/LLD will error because
R_X86_64_32 cannot represent a negative value.

```
using absl::Hash;
struct NoOp {
  template < typename HashCode >
  friend HashCode AbslHashValue(HashCode , NoOp );
};
template <typename> class HashIntTest : public testing::Test {};
TYPED_TEST_SUITE_P(HashIntTest);
TYPED_TEST_P(HashIntTest, BasicUsage) {
  if (std::numeric_limits< TypeParam >::min )
    EXPECT_NE(Hash< NoOp >()({}),
              Hash< TypeParam >()(std::numeric_limits< TypeParam >::min()));
}
REGISTER_TYPED_TEST_CASE_P(HashIntTest, BasicUsage);
using IntTypes = testing::Types< int32_t>;
INSTANTIATE_TYPED_TEST_CASE_P(My, HashIntTest, IntTypes);

ld: error: hash_test.cc:(function (anonymous namespace)::gtest_suite_HashIntTest_::BasicUsage<int>::TestBody(): .text+0x4E472): relocation R_X86_64_32 out of range: 18446744071564237392 is not in [0, 4294967295]; references absl::hash_internal::HashState::kSeed
```

Actually any negative offset is not allowed because the symbol address
can be zero (e.g. set by `-Wl,--defsym=foo=0`). So disallow such folding.

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D93931
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/test/CodeGen/X86/fold-add.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 9a0237011b7e9e8111757365d1cb322fbbb086ae by Vitaly Buka
[lsan] Ignore inderect leaks referenced by suppressed blocks

This makes suppression list to work similar to __lsan_ignore_object.

Existing behavior was inconsistent and very inconvenient for complex
data structures.

Example:

struct B;
struct A { B* ptr; };
A* t = makeA();
t->ptr = makeB();

Before the patch: if makeA suppressed by suppression file, lsan will
still report the makeB() leak, so we need two suppressions.

After the patch: a single makeA suppression is enough (the same as a
single __lsan_ignore_object(t)).

Differential Revision: https://reviews.llvm.org/D93884
The file was modifiedcompiler-rt/lib/lsan/lsan_common.cpp
The file was modifiedcompiler-rt/lib/lsan/lsan_common.h
The file was modifiedcompiler-rt/test/lsan/TestCases/suppressions_file.cpp
Commit ecc38eac766926b3d83bb80676df56d8be8f238f by monk.chiang
Add intrinsic testcase for some missing widening reduction.

Add vfredosum/vfredsum/vwredsum/vwredsumu testcase.

Differential Revision: https://reviews.llvm.org/D93887
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwredsum-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwredosum-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vwredsum-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vwredsumu-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwredosum-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vwredsumu-rv64.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfwredsum-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vwredsum-rv64.ll
Commit fdd30faae5b63509f99976f7e52e686a8b39880a by monk.chiang
[RISCV] Define vector widening type-convert intrinsic.

Define intrinsics:
  1. vfwcvt.xu.f.v/vfwcvt.x.f.v
  2. vfwcvt.rtz.xu.f.v/vfwcvt.rtz.x.f.v
  3. vfwcvt.f.xu.v/vfwcvt.f.x.v
  4. vfwcvt.f.f.v

We work with @rogfer01 from BSC to come out this patch.

Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com>
Co-Authored-by: Monk Chiang <monk.chiang@sifive.com>

Differential Revision: https://reviews.llvm.org/D93855
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwcvt-rtz-x-f-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwcvt-x-f-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwcvt-xu-f-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwcvt-xu-f-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwcvt-rtz-x-f-rv64.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsRISCV.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwcvt-x-f-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwcvt-f-f-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwcvt-f-xu-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwcvt-f-f-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwcvt-f-x-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwcvt-rtz-xu-f-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwcvt-rtz-xu-f-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwcvt-f-xu-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwcvt-f-x-rv64.ll
Commit 2aed9bc98ab6c33c149b9daefef139626abf70c0 by monk.chiang
[RISCV] Define vector narrowing type-convert intrinsic.

Define intrinsics:
  1. vfncvt.xu.f.w/vfncvt.x.f.w
  2. vfncvt.rtz.xu.f.w/vfncvt.rtz.x.f.w
  3. vfncvt.f.xu.w/vfncvt.f.x.w
  4. vfncvt.f.f.w/vfncvt.rod.f.f.w

We work with @rogfer01 from BSC to come out this patch.

Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com>
Co-Authored-by: Monk Chiang <monk.chiang@sifive.com>

Differential Revision: https://reviews.llvm.org/D93932
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-f-xu-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-rod-f-f-rv32.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsRISCV.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-rtz-xu-f-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-f-xu-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-f-f-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-f-x-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-rtz-xu-f-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-x-f-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-xu-f-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-rod-f-f-rv64.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-f-x-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-rtz-x-f-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-f-f-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-xu-f-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-rtz-x-f-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfncvt-x-f-rv32.ll
Commit 1d04cbeb4353ae9d39ca7e8c4de32b65e09bc390 by monk.chiang
[RISCV] Define vector single-width type-convert intrinsic.

Define intrinsics:
  1. vfcvt.xu.f.v/vfcvt.x.f.v
  2. vfcvt.rtz.xu.f.v/vfcvt.rtz.x.f.v
  3. vfcvt.f.xu.v/vfcvt.f.x.v

We work with @rogfer01 from BSC to come out this patch.

Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com>
Co-Authored-by: Monk Chiang <monk.chiang@sifive.com>

Differential Revision: https://reviews.llvm.org/D93933
The file was addedllvm/test/CodeGen/RISCV/rvv/vfcvt-f-xu-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfcvt-f-x-rv64.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsRISCV.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vfcvt-f-x-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfcvt-f-xu-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfcvt-xu-f-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfcvt-x-f-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfcvt-rtz-x-f-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfcvt-x-f-rv64.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vfcvt-rtz-x-f-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfcvt-rtz-xu-f-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfcvt-xu-f-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfcvt-rtz-xu-f-rv64.ll
Commit 6b3351792c6c9a362a3e8b826bc1d96f8e1918e0 by i
[test] Add {{.*}} to make tests immune to dso_local/dso_preemptable/(none) differences

For a definition (of most linkage types), dso_local is set for ELF -fno-pic/-fpie
and COFF, but not for Mach-O.  This nuance causes unneeded binary format differences.

This patch replaces (function) `define ` with `define{{.*}} `,
(variable/constant/alias) `= ` with `={{.*}} `, or inserts appropriate `{{.*}} `
if there is an explicit linkage.

* Clang will set dso_local for Mach-O, which is currently implied by TargetMachine.cpp. This will make COFF/Mach-O and executable ELF similar.
* Eventually I hope we can make dso_local the textual LLVM IR default (write explicit "dso_preemptable" when applicable) and -fpic ELF will be similar to everything else. This patch helps move toward that goal.
The file was modifiedclang/test/CodeGen/compound-literal.c
The file was modifiedclang/test/CodeGenObjC/attr-objc-runtime-visible.m
The file was modifiedclang/test/CodeGenCXX/temporaries.cpp
The file was modifiedclang/test/CodeGenCXX/apple-kext-indirect-virtual-dtor-call.cpp
The file was modifiedclang/test/CodeGenCXX/mangle.cpp
The file was modifiedclang/test/CodeGenObjC/arc-unsafeclaim.m
The file was modifiedclang/test/CodeGenObjCXX/arc-move.mm
The file was modifiedclang/test/CodeGenCXX/threadsafe-statics-exceptions.cpp
The file was modifiedclang/test/CodeGenObjC/disable-tail-call-escaping-block.m
The file was modifiedclang/test/CodeGen/nonnull.c
The file was modifiedclang/test/CodeGenCXX/virtual-bases.cpp
The file was modifiedclang/test/CodeGenCXX/x86_32-arguments.cpp
The file was modifiedclang/test/OpenMP/sections_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/lambda-expressions-nested-linkage.cpp
The file was modifiedclang/test/CodeGenObjC/noescape.m
The file was modifiedclang/test/CodeGenCXX/alloc-size.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-inheriting-constructor.cpp
The file was modifiedclang/test/CodeGen/attr-arm-sve-vector-bits-types.c
The file was modifiedclang/test/CodeGen/ubsan-shift.c
The file was modifiedclang/test/CodeGenObjC/arc.m
The file was modifiedclang/test/CodeGen/aarch64-arguments-hfa-v3.c
The file was modifiedclang/test/CodeGenObjCXX/objc-container-subscripting.mm
The file was modifiedclang/test/OpenMP/task_codegen.cpp
The file was modifiedclang/test/CodeGen/X86/avx512-reduceMinMaxIntrin.c
The file was modifiedclang/test/CodeGenObjC/ubsan-nullability.m
The file was modifiedclang/test/CodeGenCXX/uncode-string.cpp
The file was modifiedclang/test/CodeGenCXX/virtual-destructor-calls.cpp
The file was modifiedclang/test/CodeGenObjC/bitfield-access.m
The file was modifiedclang/test/CodeGen/arm-swiftcall.c
The file was modifiedclang/test/CodeGen/atomic-arm64.c
The file was modifiedclang/test/CXX/temp/temp.spec/temp.expl.spec/p14.cpp
The file was modifiedclang/test/CodeGenCXX/key-function-vtable.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_private_codegen.cpp
The file was modifiedclang/test/CodeGenObjC/nsvalue-objc-boxable-mac.m
The file was modifiedclang/test/CodeGenObjC/strong-in-c-struct.m
The file was modifiedclang/test/CodeGenObjC/objc-non-trivial-struct-nrvo.m
The file was modifiedclang/test/CodeGenCXX/member-expressions.cpp
The file was modifiedclang/test/CodeGenObjC/encode-test.m
The file was modifiedclang/test/CodeGenObjCXX/arc-new-delete.mm
The file was modifiedclang/test/CodeGenCXX/vtable-pointer-initialization.cpp
The file was modifiedclang/test/CodeGenObjC/ubsan-nonnull.m
The file was modifiedclang/test/CodeGen/ubsan-pointer-overflow.m
The file was modifiedclang/test/CodeGenObjC/constant-string-class.m
The file was modifiedclang/test/CodeGenObjCXX/auto-release-result-assert.mm
The file was modifiedclang/test/CodeGen/arm-cc.c
The file was modifiedclang/test/CodeGen/ms_struct-bitfield.c
The file was modifiedclang/test/CodeGenObjC/tentative-cfconstantstring.m
The file was modifiedclang/test/CodeGenCXX/mangle-lambdas.cpp
The file was modifiedclang/test/CodeGenObjC/arc-exceptions.m
The file was modifiedclang/test/CodeGen/ubsan-promoted-arith.cpp
The file was modifiedclang/test/CodeGenCXX/ubsan-suppress-checks.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/aarch64-args.cpp
The file was modifiedclang/test/CodeGen/arm64_vdupq_n_f64.c
The file was modifiedclang/test/CodeGenCXX/abstract-class-ctors-dtors.cpp
The file was modifiedclang/test/CodeGenCXX/lambda-expressions.cpp
The file was modifiedclang/test/CodeGenCXX/member-functions.cpp
The file was modifiedclang/test/CodeGenCXX/no-exceptions.cpp
The file was modifiedclang/test/CodeGenObjC/arc-related-result-type.m
The file was modifiedclang/test/CodeGen/pragma-visibility.c
The file was modifiedclang/test/CodeGenObjC/exceptions-asm-attribute.m
The file was modifiedclang/test/CodeGen/address-space.c
The file was modifiedclang/test/CodeGenCXX/pass-object-size.cpp
The file was modifiedclang/test/CodeGen/func-aligned.c
The file was modifiedclang/test/CodeGen/darwin-thread-specifier.c
The file was modifiedclang/test/CodeGenObjC/extern-void-class-decl.m
The file was modifiedclang/test/CodeGen/disable-tail-calls.c
The file was modifiedclang/test/CodeGenCXX/visibility-pr36810.cpp
The file was modifiedclang/test/CodeGenObjCXX/ubsan-nullability-return-notypeloc.mm
The file was modifiedclang/test/CodeGenCXX/mangle-subst.cpp
The file was modifiedclang/test/CodeGenCXX/conditional-temporaries.cpp
The file was modifiedclang/test/CodeGen/X86/x86-vec-i128.c
The file was modifiedclang/test/CodeGenCXX/reference-cast.cpp
The file was modifiedclang/test/CodeGenCXX/trivial_abi.cpp
The file was modifiedclang/test/CodeGen/func-return-member.c
The file was modifiedclang/test/OpenMP/single_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenObjC/arc-literals.m
The file was modifiedclang/test/CodeGenObjCXX/exceptions.mm
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.lambda/blocks-irgen.mm
The file was modifiedclang/test/CodeGen/sanitize-atomic-int-overflow.c
The file was modifiedclang/test/CodeGenCXX/anonymous-union-member-initializer.cpp
The file was modifiedclang/test/CodeGenCXX/mangle-system-header.cpp
The file was modifiedclang/test/OpenMP/for_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/vtable-available-externally.cpp
The file was modifiedclang/test/CodeGen/fixed-point-tbaa.c
The file was modifiedclang/test/CodeGenCXX/mangle-subst-std.cpp
The file was modifiedclang/test/CodeGenCXX/default-arguments.cpp
The file was modifiedclang/test/CodeGenCXX/ms-inline-asm-fields.cpp
The file was modifiedclang/test/Headers/xmmintrin.c
The file was modifiedclang/test/CodeGenCXX/cxx-apple-kext.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/mangle-98.cpp
The file was modifiedclang/test/CodeGenObjC/arc-bridged-cast.m
The file was modifiedclang/test/CodeGenObjCXX/arc-special-member-functions.mm
The file was modifiedclang/test/CodeGenCXX/cxx11-vtable-key-function.cpp
The file was modifiedclang/test/CodeGen/ms-inline-asm.cpp
The file was modifiedclang/test/CodeGenCXX/noexcept.cpp
The file was modifiedclang/test/OpenMP/for_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/property-lvalue-lambda.mm
The file was modifiedclang/test/OpenMP/master_taskloop_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/global-init.cpp
The file was modifiedclang/test/CodeGen/ext-int-cc.c
The file was modifiedclang/test/PCH/chain-external-defs.c
The file was modifiedclang/test/CodeGen/X86/x86_32-arguments-darwin.c
The file was modifiedclang/test/CodeGenObjC/arc-weak.m
The file was modifiedclang/test/CodeGen/arm-interrupt-attr.c
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/inline2.c
The file was modifiedclang/test/CodeGenObjC/gc.m
The file was modifiedclang/test/CodeGenObjC/terminate.m
The file was modifiedclang/test/CodeGenCXX/ubsan-type-checks.cpp
The file was modifiedclang/test/CodeGenObjC/ubsan-nonnull-and-nullability.m
The file was modifiedclang/test/CodeGenObjCXX/objc-struct-cxx-abi.mm
The file was modifiedclang/test/CodeGen/object-size.c
The file was modifiedclang/test/CodeGenObjC/objc2-legacy-dispatch.m
The file was modifiedclang/test/CodeGen/exceptions.c
The file was modifiedclang/test/OpenMP/parallel_reduction_codegen.cpp
The file was modifiedclang/test/CodeGen/arm64_32-vaarg.c
The file was modifiedclang/test/CodeGenCXX/template-instantiation.cpp
The file was modifiedclang/test/CodeGenObjC/exceptions-nonfragile.m
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local.cpp
The file was modifiedclang/test/CodeGenObjC/arc-loadweakretained-release.m
The file was modifiedclang/test/CodeGenCXX/matrix-type-builtins.cpp
The file was modifiedclang/test/CodeGen/attr-disable-tail-calls.c
The file was modifiedclang/test/CodeGenCXX/rtti-fundamental.cpp
The file was modifiedclang/test/CodeGen/asm-label.c
The file was modifiedclang/test/CodeGen/vector.c
The file was modifiedclang/test/CodeGenObjCXX/personality-abuse.mm
The file was modifiedclang/test/CodeGenCXX/derived-to-base.cpp
The file was modifiedclang/test/CodeGen/arm64-arguments.c
The file was modifiedclang/test/CodeGen/no-opt-volatile-memcpy.c
The file was modifiedclang/test/CodeGenObjCXX/property-dot-reference.mm
The file was modifiedclang/test/CodeGenObjC/builtin-constant-p.m
The file was modifiedclang/test/CodeGenObjC/exceptions.m
The file was modifiedclang/test/CodeGenObjCXX/references.mm
The file was modifiedclang/test/PCH/arc-blocks.mm
The file was modifiedclang/test/OpenMP/parallel_for_linear_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/bitfield-layout.cpp
The file was modifiedclang/test/CodeGenObjC/blocks-1.m
The file was modifiedclang/test/CodeGen/arm-target-attr.c
The file was modifiedclang/test/CodeGenCXX/derived-to-base-conv.cpp
The file was modifiedclang/test/CodeGenCXX/noescape.cpp
The file was modifiedclang/test/CodeGenCXX/const-init-cxx1y.cpp
The file was modifiedclang/test/CodeGenObjC/x86_64-struct-return-gc.m
The file was modifiedclang/test/CodeGen/tbaa.cpp
The file was modifiedclang/test/CodeGen/ubsan-pointer-overflow.c
The file was modifiedclang/test/CodeGenObjC/fragile-arc.m
The file was modifiedclang/test/CodeGenCXX/value-init.cpp
The file was modifiedclang/test/CodeGenObjCXX/block-nested-in-lambda.mm
The file was modifiedclang/test/OpenMP/master_taskloop_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/pr12251.c
The file was modifiedclang/test/CodeGenObjC/arc-unopt.m
The file was modifiedclang/test/CodeGenObjCXX/lambda-to-block.mm
The file was modifiedclang/test/OpenMP/sections_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/unknown-anytype.mm
The file was modifiedclang/test/CodeGen/X86/x86_32-arguments-realign.c
The file was modifiedclang/test/CodeGenCXX/matrix-type-operators.cpp
The file was modifiedclang/test/CodeGenCXX/apple-kext-indirect-call-2.cpp
The file was modifiedclang/test/CodeGenObjC/nsvalue-objc-boxable-ios-arc.m
The file was modifiedclang/test/CodeGenObjC/arc-no-arc-exceptions.m
The file was modifiedclang/test/CodeGen/pass-object-size.c
The file was modifiedclang/test/OpenMP/for_linear_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/varargs.cpp
The file was modifiedclang/test/CodeGen/constructor-attribute.c
The file was modifiedclang/test/CodeGen/arm64_32.c
The file was modifiedclang/test/CodeGenObjC/ns_consume_null_check.m
The file was modifiedclang/test/CodeGenCXX/virtual-functions-incomplete-types.cpp
The file was modifiedclang/test/CodeGenCXX/member-function-pointer-calls.cpp
The file was modifiedclang/test/CodeGen/complex-indirect.c
The file was modifiedclang/test/CodeGenCXX/c99-variable-length-array.cpp
The file was modifiedclang/test/CodeGen/2009-10-20-GlobalDebug.c
The file was modifiedclang/test/CodeGenCXX/ms_struct.cpp
The file was modifiedclang/test/CodeGen/integer-overflow.c
The file was modifiedclang/test/OpenMP/taskloop_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGen/2008-04-08-NoExceptions.c
The file was modifiedclang/test/CodeGenCXX/attr-notail.cpp
The file was modifiedclang/test/CodeGen/block-byref-aggr.c
The file was modifiedclang/test/CodeGenCXX/typeid.cpp
The file was modifiedclang/test/CodeGenCXX/references.cpp
The file was modifiedclang/test/CodeGenObjC/objc-asm-attribute-test.m
The file was modifiedclang/test/CodeGen/ms-inline-asm.c
The file was modifiedclang/test/CodeGenObjC/2010-02-01-utf16-with-null.m
The file was modifiedclang/test/OpenMP/taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/visibility-ms-compat.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/typeid-cxx11.cpp
The file was modifiedclang/test/SemaCXX/linkage.cpp
The file was modifiedclang/test/CodeGen/trapv.c
The file was modifiedclang/test/CodeGen/incomplete-function-type.c
The file was modifiedclang/test/CodeGenCXX/runtimecc.cpp
The file was modifiedclang/test/CodeGenCXX/blocks.cpp
The file was modifiedclang/test/CodeGenCXX/ubsan-global-alignment.cpp
The file was modifiedclang/test/CodeGenCXX/delete.cpp
The file was modifiedclang/test/CodeGenCXX/rvalue-references.cpp
The file was modifiedclang/test/CodeGenCXX/pointers-to-data-members.cpp
The file was modifiedclang/test/CodeGenObjC/synchronized.m
The file was modifiedclang/test/CodeGen/aarch64-neon-vget.c
The file was modifiedclang/test/CodeGenCXX/strict-vtable-pointers.cpp
The file was modifiedclang/test/CodeGenObjC/empty-collection-literals.m
The file was modifiedclang/test/CodeGen/arm64_vcopy.c
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/destroy.mm
The file was modifiedclang/test/CodeGenCXX/ubsan-bitfields.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/arm-vector-arguments.c
The file was modifiedclang/test/CodeGenObjCXX/exception-cxx.mm
The file was modifiedclang/test/CodeGenCXX/mangle-exprs.cpp
The file was modifiedclang/test/CodeGenObjCXX/arc-blocks.mm
The file was modifiedclang/test/CodeGenCXX/mangle-alias-template.cpp
The file was modifiedclang/test/CodeGenObjCXX/arc-pseudo-destructors.mm
The file was modifiedclang/test/CodeGen/asm-reg-var-local.c
The file was modifiedclang/test/CodeGenObjC/fpret.m
The file was modifiedclang/test/CodeGenCXX/eh.cpp
The file was modifiedclang/test/CodeGenOpenCL/addr-space-struct-arg.cl
The file was modifiedclang/test/CodeGen/pragma-pack-1.c
The file was modifiedclang/test/CodeGenObjCXX/arc-attrs.mm
The file was modifiedclang/test/Profile/c-captured.c
The file was modifiedclang/test/CodeGenCXX/ubsan-nullability-assign.cpp
The file was modifiedclang/test/CodeGenCXX/constructors.cpp
The file was modifiedclang/test/CodeGen/restrict.c
The file was modifiedclang/test/CodeGenCXX/matrix-type.cpp
The file was modifiedclang/test/CodeGenObjC/for-in.m
The file was modifiedclang/test/CodeGenCXX/inheriting-constructor-cleanup.cpp
The file was modifiedclang/test/CodeGenObjCXX/copy.mm
The file was modifiedclang/test/CodeGenObjC/class-stubs.m
The file was modifiedclang/test/CodeGen/PR32874.c
The file was modifiedclang/test/CodeGenObjC/direct-method.m
The file was modifiedclang/test/CodeGenObjCXX/arc-cxx11-init-list.mm
The file was modifiedclang/test/CodeGenCXX/non-const-init-cxx2a.cpp
The file was modifiedclang/test/CodeGenCXX/vector-splat-conversion.cpp
The file was modifiedclang/test/CodeGenCXX/lvalue-bitcasts.cpp
The file was modifiedclang/test/CodeGenCXX/vla.cpp
The file was modifiedclang/test/CodeGenObjC/nontrivial-struct-param-init.m
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local-reference.cpp
The file was modifiedclang/test/CodeGenCXX/empty-classes.cpp
The file was modifiedclang/test/CodeGenObjC/block-6.m
The file was modifiedclang/test/CXX/special/class.copy/p3.cpp
The file was modifiedclang/test/CodeGenObjC/arc-ternary-op.m
The file was modifiedclang/test/CodeGenObjC/nsvalue-objc-boxable-ios.m
The file was modifiedclang/test/CodeGenObjC/mrc-weak.m
The file was modifiedclang/test/CodeGen/attr-func-def.c
The file was modifiedclang/test/CodeGen/tbaa-class.cpp
The file was modifiedclang/test/CodeGenObjCXX/arc-exceptions.mm
The file was modifiedclang/test/CodeGenObjC/arc-i386.m
The file was modifiedclang/test/CodeGenObjCXX/property-dot-copy-elision.mm
The file was modifiedclang/test/CodeGenObjC/arc-foreach.m
The file was modifiedclang/test/CodeGen/annotations-var.c
The file was modifiedclang/test/CodeGenCXX/condition.cpp
The file was modifiedclang/test/CodeGenCXX/pragma-followup_outer.cpp
The file was modifiedclang/test/CodeGenCXX/rtti-linkage.cpp
The file was modifiedclang/test/CodeGenOpenCL/builtins-f16.cl
The file was modifiedclang/test/CodeGen/tbaa-vec.cpp
The file was modifiedclang/test/CodeGen/ubsan-builtin-checks.c
The file was modifiedclang/test/CodeGen/unsigned-overflow.c
The file was modifiedclang/test/CodeGenCXX/copy-initialization.cpp
The file was modifiedclang/test/CodeGenObjC/blocks.m
The file was modifiedclang/test/CodeGenObjC/weak-in-c-struct.m
The file was modifiedclang/test/CodeGen/attr-naked.c
The file was modifiedclang/test/CodeGenObjC/matrix-type-builtins.m
The file was modifiedclang/test/CodeGenCXX/mangle-ref-qualifiers.cpp
The file was modifiedclang/test/CodeGenCXX/pragma-followup_inner.cpp
The file was modifiedclang/test/CodeGenCXX/address-space-ref.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen.cpp
The file was modifiedclang/test/CodeGen/arm-arguments.c
The file was modifiedclang/test/CodeGen/builtins.c
The file was modifiedclang/test/OpenMP/task_if_codegen.cpp
The file was modifiedclang/test/CodeGen/byval-memcpy-elim.c
The file was modifiedclang/test/CodeGenObjCXX/mangle.mm
The file was modifiedclang/test/CodeGen/armv7k-abi.c
The file was modifiedclang/test/CodeGenObjC/nsvalue-objc-boxable-mac-arc.m
The file was modifiedclang/test/CodeGenCXX/default-arg-temps.cpp
The file was modifiedclang/test/CodeGen/object-size.cpp
The file was modifiedclang/test/CodeGenObjC/parameterized_classes.m
The file was modifiedclang/test/CodeGenCXX/rtti-layout.cpp
The file was modifiedclang/test/CodeGenCXX/vtable-assume-load.cpp
The file was modifiedclang/test/CodeGenCXX/arm-swiftcall.cpp
The file was modifiedclang/test/CodeGenObjC/blocks-2.m
The file was modifiedclang/test/CodeGenCXX/destructors.cpp
The file was modifiedclang/test/CodeGenCXX/volatile.cpp
The file was modifiedclang/test/CodeGenObjCXX/arc-constexpr.mm
The file was modifiedclang/test/CodeGenObjCXX/arc-references.mm
The file was modifiedclang/test/CodeGen/incomplete-function-type-2.c
The file was modifiedclang/test/CodeGenObjC/autorelease.m
The file was modifiedclang/test/OpenMP/master_taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenObjCXX/mrc-weak.mm
The file was modifiedclang/test/CodeGenCXX/forward-enum.cpp
The file was modifiedclang/test/OpenMP/taskloop_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/skip-vtable-pointer-initialization.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/align-param.c
The file was modifiedclang/test/CodeGenCXX/no-opt-volatile-memcpy.cpp
The file was modifiedclang/test/CodeGenObjC/builtins.m
The file was modifiedclang/test/CodeGenCXX/for-range.cpp
The file was modifiedclang/test/CodeGenObjC/arc-blocks.m
The file was modifiedclang/test/CodeGenObjC/metadata-symbols-64.m
The file was modifiedclang/test/CodeGen/unsigned-promotion.c
The file was modifiedclang/test/CodeGenCXX/builtin-bit-cast-no-tbaa.cpp
The file was modifiedclang/test/CodeGenObjCXX/inheriting-constructor-cleanup.mm
The file was modifiedclang/test/CodeGenObjC/arc-property.m
The file was modifiedclang/test/Modules/irgen.c
The file was modifiedclang/test/Profile/c-ternary.c
The file was modifiedclang/test/CodeGen/matrix-type-builtins.c
The file was modifiedclang/test/CodeGenObjC/local-static-block.m
The file was modifiedclang/test/CodeGenCXX/block-byref.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-template-member.cpp
The file was modifiedclang/test/CodeGenObjCXX/exceptions-legacy.mm
The file was modifiedclang/test/CodeGenObjC/attr-exception.m
The file was modifiedclang/test/CodeGenObjC/objc-dispatch-null-check.m
The file was modifiedclang/test/CodeGenObjCXX/lambda-expressions.mm
The file was modifiedclang/test/OpenMP/task_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/no-bitfield-type-align.c
The file was modifiedclang/test/CodeGen/X86/x86-long-double.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_private_codegen.cpp
The file was modifiedclang/test/CodeGen/arm-aapcs-vfp.c
The file was modifiedclang/test/OpenMP/task_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/builtin-bit-cast.cpp
The file was modifiedclang/test/CodeGenCXX/inline-functions.cpp
The file was modifiedclang/test/CodeGenObjC/encode-test-5.m
The file was modifiedclang/test/CodeGenObjC/encode-test-6.m
The file was modifiedclang/test/CodeGenObjC/ivar-invariant.m
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/inheriting-constructor.cpp
The file was modifiedclang/test/CodeGenCXX/arm64.cpp
The file was modifiedclang/test/CodeGenObjC/messages-2.m
The file was modifiedclang/test/CodeGenCXX/constructor-destructor-return-this.cpp
The file was modifiedclang/test/CodeGen/64bit-swiftcall.c
The file was modifiedclang/test/CodeGenCXX/mangle-extreme.cpp
The file was modifiedclang/test/OpenMP/taskloop_private_codegen.cpp
The file was modifiedclang/test/CodeGen/available-externally-suppress.c
The file was modifiedclang/test/CodeGen/complex-init-list.c
The file was modifiedclang/test/CodeGenCXX/anonymous-namespaces.cpp
The file was modifiedclang/test/CodeGenCXX/threadsafe-statics.cpp
The file was modifiedclang/test/CodeGenCXX/ubsan-unreachable.cpp
The file was modifiedclang/test/CodeGenObjC/externally-retained.m
The file was modifiedclang/test/CodeGenObjCXX/property-objects.mm
The file was modifiedclang/test/CodeGen/volatile-2.c
The file was modifiedclang/test/CodeGen/2008-08-07-AlignPadding1.c
The file was modifiedclang/test/CodeGen/aligned-sret.c
The file was modifiedclang/test/CodeGenCXX/DynArrayInit.cpp
The file was modifiedclang/test/CodeGen/mms-bitfields.c
The file was modifiedclang/test/CodeGenCXX/arm.cpp
The file was modifiedclang/test/CodeGenCXX/cxx2a-thread-local-constinit.cpp
The file was modifiedclang/test/CodeGenObjC/fp2ret.m
The file was modifiedclang/test/CodeGenCXX/atomicinit.cpp
The file was modifiedclang/test/CodeGenObjC/arc-with-atthrow.m
The file was modifiedclang/test/CodeGenObjC/arc-precise-lifetime.m
The file was modifiedclang/test/CodeGenObjCXX/encode.mm
The file was modifiedclang/test/CodeGenCXX/armv7k.cpp
The file was modifiedclang/test/CodeGen/address-space-field1.c
The file was modifiedclang/test/OpenMP/allocate_codegen.cpp
The file was modifiedclang/test/CodeGen/Atomics.c
The file was modifiedclang/test/PCH/external-defs.c
The file was modifiedclang/test/CodeGenObjCXX/gc.mm
The file was modifiedclang/test/CodeGenCXX/static-member-variable-explicit-specialization.cpp
The file was modifiedclang/test/CodeGen/2008-03-05-syncPtr.c
The file was modifiedclang/test/CodeGenObjC/weak-metaclass-visibility.m
The file was modifiedclang/test/CodeGenCXX/apple-kext-linkage.cpp
The file was modifiedclang/test/CodeGen/private-extern-redef.c
The file was modifiedclang/test/CodeGenCXX/vtt-layout.cpp
The file was modifiedclang/test/CodeGenObjC/os_log.m
The file was modifiedclang/test/CodeGen/ubsan-pass-object-size.c
The file was modifiedclang/test/CodeGenObjC/nontrivial-c-struct-exception.m
The file was modifiedclang/test/CodeGen/attr-weak-import.c
The file was modifiedclang/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c
The file was modifiedclang/test/CodeGen/ms-inline-asm-align.c
The file was modifiedclang/test/CodeGenCXX/partial-destruction.cpp
The file was modifiedclang/test/SemaObjC/debugger-support.m
The file was modifiedclang/test/CodeGenCXX/vtable-align.cpp
The file was modifiedclang/test/CodeGenObjCXX/literals.mm
The file was modifiedclang/test/CodeGen/matrix-type.c
The file was modifiedclang/test/CodeGenCXX/no_destroy.cpp
The file was modifiedclang/test/CodeGenObjC/objc-literal-tests.m
The file was modifiedclang/test/OpenMP/sections_reduction_codegen.cpp
The file was modifiedclang/test/CodeGen/c11atomics-ios.c
The file was modifiedclang/test/CodeGenObjC/metadata_symbols.m
The file was modifiedclang/test/CodeGenObjCXX/arc-weak.mm
The file was modifiedclang/test/CodeGenObjCXX/arc.mm
The file was modifiedclang/test/CodeGen/matrix-type-operators.c
The file was modifiedclang/test/CodeGenCXX/apple-kext.cpp
The file was modifiedclang/test/CodeGenCXX/constructor-init.cpp
Commit 809a1e0ffd7af40ee27270ff8ba2ffc927330e71 by i
[CodeGenModule] Set dso_local for Mach-O GlobalValue

* static relocation model: always
* other relocation models: if isStrongDefinitionForLinker

This will make LLVM IR emitted for COFF/Mach-O and executable ELF similar.
The file was modifiedclang/test/CodeGenCXX/type_visibility.cpp
The file was modifiedclang/test/CodeGenCXX/const-init.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/CodeGenCXX/visibility.cpp
The file was modifiedclang/test/CodeGenCXX/linkage.cpp
Commit 08665b180568c82a1b2b8bd38a1e5769a862c2a9 by yuanke.luo
Support tilezero intrinsic and c interface for AMX.

Differential Revision: https://reviews.llvm.org/D92837
The file was modifiedllvm/lib/Target/X86/X86RegisterInfo.cpp
The file was modifiedclang/lib/Headers/amxintrin.h
The file was modifiedllvm/lib/Target/X86/X86PreTileConfig.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrAMX.td
The file was addedllvm/test/CodeGen/X86/AMX/amx-tile-basic.ll
The file was modifiedclang/include/clang/Basic/BuiltinsX86_64.def
The file was modifiedclang/test/CodeGen/X86/amx_api.c
The file was modifiedllvm/include/llvm/IR/IntrinsicsX86.td
The file was modifiedllvm/lib/Target/X86/X86ExpandPseudo.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit 4a290a59051bc07a5b806371ee6f70c31e5ce266 by schuett
[lld/mac] fix typo
The file was modifiedlld/MachO/Options.td
Commit 42c57dcc35ea9d6a09469c61473b17c95edcaa2e by stellaraccident
[mlir][python] Tweaks to make python extensions packagable/distributable.

* Works in tandem with prototype packaging scripts here: https://github.com/stellaraccident/mlir-py-release
* The `mlir` top-level now differentiates between in-tree builds where all packages are co-located and distribution mode where all native components are under a top-level `_mlir_libs` package.
* Also fixes the generated dialect python installation again. Hopefully the last tweak.
* With this, I am able to install and generate archives with the above setup script on Linux. Archive size=31M with just host codegen and headers/shared-libraries. Will need more linker tweaks when wiring up the next dependent project.

Differential Revision: https://reviews.llvm.org/D93936
The file was modifiedmlir/lib/Bindings/Python/CMakeLists.txt
The file was modifiedmlir/lib/Bindings/Python/mlir/__init__.py
The file was modifiedmlir/lib/Bindings/Python/mlir/transforms/__init__.py
Commit a16c00a7033df6863f3ecd77a9809790f8db286b by stellaraccident
[mlir][python] Fix python extension building on windows.
The file was modifiedmlir/cmake/modules/AddMLIRPythonExtension.cmake
Commit c1f3033697c254d68cf1d94acdbdd8edb74adc41 by aqjune
Update inselt tests at llvm/test/Analysis to have poison as shufflevector's placeholder (NFC)

File listed by:

grep -R -E "^[^;]*shufflevector <.*> .*, <.*> undef" . | grep inseltpoison

Updated with:

sed -i -E 's/shufflevector <(.*)> (.*), <(.*)> undef/shufflevector <\1> \2, <\3> poison/g' $1
The file was modifiedllvm/test/Analysis/CostModel/X86/vector_gep-inseltpoison.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/uniformshift-inseltpoison.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/vshift-shl-cost-inseltpoison.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/masked-intrinsic-cost-inseltpoison.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/vshift-ashr-cost-inseltpoison.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/vshift-lshr-cost-inseltpoison.ll
Commit f2cc2669a0d91994c93f2e9708e137484081a7c1 by i
[test] Fix -triple and delete UNSUPPORTED: system-windows
The file was modifiedclang/test/CodeGen/attr-loader-uninitialized.c
The file was modifiedclang/test/CodeGenCXX/attr-loader-uninitialized.cpp
Commit fd739804e0591468762eb87488a497a3f7d4afb0 by i
[test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences

For a default visibility external linkage definition, dso_local is set for ELF
-fno-pic/-fpie and COFF and Mach-O. Since default clang -cc1 for ELF is similar
to -fpic ("PIC Level" is not set), this nuance causes unneeded binary format differences.

To make emitted IR similar, ELF -cc1 -fpic will default to -fno-semantic-interposition,
which sets dso_local for default visibility external linkage definitions.

To make this flip smooth and enable future (dso_local as definition default),
this patch replaces (function) `define ` with `define{{.*}} `,
(variable/constant/alias) `= ` with `={{.*}} `, or inserts appropriate `{{.*}} `.
The file was modifiedclang/test/CodeGenCXX/arm64-darwinpcs.cpp
The file was modifiedclang/test/CodeGenCXX/thiscall-struct-return.cpp
The file was modifiedclang/test/Parser/pragma-visibility2.c
The file was modifiedclang/test/CodeGenOpenCL/spir-calling-conv.cl
The file was modifiedclang/test/CodeGenCXX/amdgcn-string-literal.cpp
The file was modifiedclang/test/CodeGen/catch-pointer-overflow.c
The file was modifiedclang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.cpp
The file was modifiedclang/test/CodeGen/X86/3dnow-builtins.c
The file was modifiedclang/test/CodeGenCXX/vtable-key-function-arm.cpp
The file was modifiedclang/test/CodeGen/variadic-null-win64.c
The file was modifiedclang/test/CodeGen/mips-zero-sized-struct.c
The file was modifiedclang/test/CodeGenObjC/constant-strings.m
The file was modifiedclang/test/CodeGenObjC/stret_lookup.m
The file was modifiedclang/test/CodeGen/link-bitcode-file.c
The file was modifiedclang/test/OpenMP/target_teams_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/X86/x86_64-longdouble.c
The file was modifiedclang/test/CodeGen/pass-by-value-noalias.c
The file was modifiedclang/test/CodeGen/X86/x86_32-arguments-linux.c
The file was modifiedclang/test/CodeGen/arm-vfp16-arguments.c
The file was modifiedclang/test/CodeGenCoroutines/coro-await-resume-eh.cpp
The file was modifiedclang/test/CodeGen/avr/attributes/signal.c
The file was modifiedclang/test/CodeGen/aapcs64-align.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGen/flexible-array-init.c
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-unknown-arch.cpp
The file was modifiedclang/test/CodeGen/ppc64-long-double.cpp
The file was modifiedclang/test/CodeGen/ubsan-asan-noreturn.c
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/type-info.cpp
The file was modifiedclang/test/CodeGen/arm-pcs.c
The file was modifiedclang/test/CodeGen/RISCV/riscv32-ilp32f-ilp32d-abi.c
The file was modifiedclang/test/CodeGen/builtin-align.c
The file was modifiedclang/test/OpenMP/for_scan_codegen.cpp
The file was modifiedclang/test/CodeGenOpenCL/kernels-have-spir-cc-by-default.cl
The file was modifiedclang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp
The file was modifiedclang/test/OpenMP/parallel_for_scan_codegen.cpp
The file was modifiedclang/test/CodeGen/asm-goto.c
The file was modifiedclang/test/CodeGenCXX/regcall.cpp
The file was modifiedclang/test/CodeGen/ppc64le-aggregates.c
The file was modifiedclang/test/Frontend/embed-bitcode-noopt.c
The file was modifiedclang/test/CodeGenCXX/compound-literals.cpp
The file was modifiedclang/test/CodeGen/spir-half-type.cpp
The file was modifiedclang/test/CodeGenCXX/pr12251.cpp
The file was modifiedclang/test/CodeGen/sparcv8-inline-asm.c
The file was modifiedclang/test/CodeGenCXX/lambda-deterministic-captures.cpp
The file was modifiedclang/test/CodeGen/enable_if.c
The file was modifiedclang/test/CodeGen/ppc64-elf-abi.c
The file was modifiedclang/test/CodeGenCUDA/kernel-dbg-info.cu
The file was modifiedclang/test/CodeGen/attributes.c
The file was modifiedclang/test/CodeGen/mips-vector-arg.c
The file was modifiedclang/test/CodeGenCXX/clang-sections.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-gro.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-symmetric-transfer-02.cpp
The file was modifiedclang/test/CodeGen/pr9614.c
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
The file was modifiedclang/test/CodeGen/stdcall-fastcall.c
The file was modifiedclang/test/CodeGen/sparcv9-abi.c
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local-visibility.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/avr/attributes/interrupt.c
The file was modifiedclang/test/CodeGen/const-arithmetic.c
The file was modifiedclang/test/CodeGenObjC/gnustep2-proto.m
The file was modifiedclang/test/CodeGen/patchable-function-entry.c
The file was modifiedclang/test/CodeGen/ppc64-struct-onevect.c
The file was modifiedclang/test/CodeGen/aarch64-poly64.c
The file was modifiedclang/test/OpenMP/target_simd_codegen_registration.cpp
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-constructors.cpp
The file was modifiedclang/test/CodeGen/attr-weakref2.c
The file was modifiedclang/test/CodeGenCXX/devirtualize-virtual-function-calls.cpp
The file was modifiedclang/test/CodeGenCUDA/device-stub.cu
The file was modifiedclang/test/CodeGenCXX/pr31054.cpp
The file was modifiedclang/test/CodeGen/arm-neon-vcvtX.c
The file was modifiedclang/test/CodeGen/xcore-abi.cpp
The file was modifiedclang/test/CodeGen/decl-in-prototype.c
The file was modifiedclang/test/CodeGenCXX/global-dtor-no-atexit.cpp
The file was modifiedclang/test/CodeGen/builtin-unpredictable.c
The file was modifiedclang/test/CodeGenCXX/fastcall.cpp
The file was modifiedclang/test/CodeGenCXX/amdgcn-automatic-variable.cpp
The file was modifiedclang/test/CodeGenCXX/cxx2a-consteval.cpp
The file was modifiedclang/test/CodeGen/ppc64-complex-parms.c
The file was modifiedclang/test/CodeGenCXX/ctor-dtor-alias.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1y-init-captures-eh.cpp
The file was modifiedclang/test/CodeGenCXX/vla-consruct.cpp
The file was modifiedclang/test/CodeGen/builtin-constant-p.c
The file was modifiedclang/test/CodeGen/ms_abi.c
The file was modifiedclang/test/CodeGen/clang-sections-attribute.c
The file was modifiedclang/test/CodeGen/X86/x86_32-arguments-iamcu.c
The file was modifiedclang/test/CodeGen/arc/arguments.c
The file was modifiedclang/test/CodeGen/attr-msp430.c
The file was modifiedclang/test/CodeGenCXX/init-invariant.cpp
The file was modifiedclang/test/CodeGen/RISCV/riscv64-lp64-lp64f-abi.c
The file was modifiedclang/test/CodeGen/lanai-arguments.c
The file was modifiedclang/test/CodeGenCXX/attr-x86-interrupt.cpp
The file was modifiedclang/test/CodeGen/2008-07-31-promotion-of-compound-pointer-arithmetic.c
The file was modifiedclang/test/CodeGenCXX/cxx1y-deduced-return-type.cpp
The file was modifiedclang/test/CodeGen/regparm.c
The file was modifiedclang/test/CodeGen/xray-instrumentation-bundles.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/xcore-abi.c
The file was modifiedclang/test/CodeGen/arm_function_epilog.cpp
The file was modifiedclang/test/CodeGen/X86/x86-inline-asm-min-vector-width.c
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
The file was modifiedclang/test/CodeGen/long-call-attr.c
The file was modifiedclang/test/CodeGen/RISCV/riscv32-ilp32-ilp32f-ilp32d-abi.c
The file was modifiedclang/test/OpenMP/target_is_device_ptr_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/overriden-virtual-function.cpp
The file was modifiedclang/test/CodeGenCXX/stack-reuse-exceptions.cpp
The file was modifiedclang/test/CodeGen/thread-specifier.c
The file was modifiedclang/test/CodeGen/xray-attributes-supported.cpp
The file was modifiedclang/test/OpenMP/for_private_codegen.cpp
The file was modifiedclang/test/CodeGen/le32-libcall-pow.c
The file was modifiedclang/test/CodeGen/fp-strictfp-exp.cpp
The file was modifiedclang/test/CodeGen/ppc-signbit.c
The file was modifiedclang/test/CodeGen/builtin-ms-noop.cpp
The file was modifiedclang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
The file was modifiedclang/test/OpenMP/teams_private_codegen.cpp
The file was modifiedclang/test/CodeGenOpenCL/convergent.cl
The file was modifiedclang/test/CodeGenCXX/bool-bitfield.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-scalar-copy.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/test/CodeGenOpenCL/pipe_types.cl
The file was modifiedclang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/attr-target-mv-func-ptrs.c
The file was modifiedclang/test/CodeGen/cleanup-destslot-simple.c
The file was modifiedclang/test/CodeGenOpenCLCXX/addrspace-operators.cl
The file was modifiedclang/test/CodeGen/altivec.c
The file was modifiedclang/test/CodeGen/arm-cmse-attr.c
The file was modifiedclang/test/CodeGen/c11atomics.c
The file was modifiedclang/test/CodeGenCXX/throw-expressions.cpp
The file was modifiedclang/test/CodeGen/builtin-expect.c
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-references.cpp
The file was modifiedclang/test/CodeGen/_Bool-conversion.c
The file was modifiedclang/test/OpenMP/target_map_codegen_05.cpp
The file was modifiedclang/test/CodeGenCUDA/nothrow.cu
The file was modifiedclang/test/CodeGenOpenCL/vla.cl
The file was modifiedclang/test/OpenMP/parallel_master_codegen.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-alloc_align-on-function-variable.cpp
The file was modifiedclang/test/CodeGenCXX/mips-size_t-ptrdiff_t.cpp
The file was modifiedclang/test/CodeGen/X86/prefetchw-builtins.c
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-diff-ns.cpp
The file was modifiedclang/test/CodeGenCXX/static-init.cpp
The file was modifiedclang/test/CodeGen/ppc64le-varargs-f128.c
The file was modifiedclang/test/CodeGenCXX/uncopyable-args.cpp
The file was modifiedclang/test/CodeGenObjC/objfw.m
The file was modifiedclang/test/CodeGen/SystemZ/systemz-abi.c
The file was modifiedclang/test/CodeGen/pr34021.c
The file was modifiedclang/test/CodeGen/RISCV/riscv64-lp64-lp64f-lp64d-abi.c
The file was modifiedclang/test/CodeGen/aarch64-neon-tbl.c
The file was modifiedclang/test/CodeGen/arc/struct-align.c
The file was modifiedclang/test/CXX/modules-ts/basic/basic.link/p3.cppm
The file was modifiedclang/test/CodeGen/aarch64-neon-fcvt-intrinsics.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-three-params-variable.cpp
The file was modifiedclang/test/CodeGen/ext-int-cc.c
The file was modifiedclang/test/CodeGen/enum-bool.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/static-data-member.cpp
The file was modifiedclang/test/CodeGenCXX/default_calling_conv.cpp
The file was modifiedclang/test/CodeGenCXX/devirtualize-dtor-final.cpp
The file was modifiedclang/test/CodeGenCXX/extern-section-attribute.cpp
The file was modifiedclang/test/CodeGenCXX/virt-dtor-key.cpp
The file was modifiedclang/test/CodeGen/arm-fp16-arguments.c
The file was modifiedclang/test/CodeGen/xray-log-args.cpp
The file was modifiedclang/test/CodeGen/attr-weakref.c
The file was modifiedclang/test/CodeGen/partial-reinitialization1.c
The file was modifiedclang/test/CodeGen/builtins-ppc-vsx.c
The file was modifiedclang/test/CodeGen/atomics-inlining.c
The file was modifiedclang/test/CodeGenOpenCLCXX/addrspace-with-class.cl
The file was modifiedclang/test/CodeGenCXX/pr47636.cpp
The file was modifiedclang/test/CodeGenCXX/stack-reuse.cpp
The file was modifiedclang/test/CodeGen/redefine_extname.c
The file was modifiedclang/test/CodeGenCXX/visibility-inlines-hidden-staticvar.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-fma.c
The file was modifiedclang/test/OpenMP/parallel_firstprivate_codegen.cpp
The file was modifiedclang/test/Modules/codegen-opt.test
The file was modifiedclang/test/CodeGen/cfstring-elf-cfbuild-x86_64.c
The file was modifiedclang/test/CodeGen/le32-arguments.c
The file was modifiedclang/test/CodeGen/builtins-ppc-crypto.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1y-initializer-aggregate.cpp
The file was modifiedclang/test/CodeGen/aarch64-matmul.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-dot-product.c
The file was modifiedclang/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp
The file was modifiedclang/test/CodeGenCUDA/cuda-builtin-vars.cu
The file was modifiedclang/test/CodeGen/aarch64-neon-ldst-one.c
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-uuidof.cpp
The file was modifiedclang/test/CodeGen/dso-local-executable.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/arm-neon-fma.c
The file was modifiedclang/test/CodeGen/fp-function-attrs.cpp
The file was modifiedclang/test/CodeGen/aapcs-align.cpp
The file was modifiedclang/test/CodeGen/riscv32-ilp32d-abi.cpp
The file was modifiedclang/test/CodeGen/aarch64-byval-temp.c
The file was modifiedclang/test/CodeGen/ppc64-struct-onefloat.c
The file was modifiedclang/test/CodeGen/RISCV/riscv32-ilp32d-abi.c
The file was modifiedclang/test/CodeGen/alias-avr.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info.cpp
The file was modifiedclang/test/CodeGen/microsoft-call-conv.c
The file was modifiedclang/test/CodeGen/mips-byval-arg.c
The file was modifiedclang/test/CodeGenOpenCL/shifts.cl
The file was modifiedclang/test/CodeGenCXX/const-init-cxx2a.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-vget-hilo.c
The file was modifiedclang/test/CodeGen/mrtd.c
The file was modifiedclang/test/CodeGen/ppc64-vector.c
The file was modifiedclang/test/OpenMP/threadprivate_codegen.cpp
The file was modifiedclang/test/CodeGenOpenCL/amdgpu-abi-struct-coerce.cl
The file was modifiedclang/test/CodeGenCXX/ubsan-function-noexcept.cpp
The file was modifiedclang/test/CodeGenCXX/x86_64-arguments.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/no-alias-when-dso-local.cpp
The file was modifiedclang/test/CodeGenCUDA/function-overload.cu
The file was modifiedclang/test/CodeGenCUDA/static-device-var-no-rdc.cu
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/diamond-virtual-inheritance.cpp
The file was modifiedclang/test/CodeGen/SystemZ/align-systemz.c
The file was modifiedclang/test/CodeGen/SystemZ/systemz-inline-asm.c
The file was modifiedclang/test/CodeGen/bitfield-2.c
The file was modifiedclang/test/CodeGen/avr-builtins.c
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
The file was modifiedclang/test/CodeGenCXX/aarch64-arguments.cpp
The file was modifiedclang/test/CodeGenCXX/constructor-alias.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/simple-vtable-definition.cpp
The file was modifiedclang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.c
The file was modifiedclang/test/CodeGen/inline.c
The file was modifiedclang/test/CodeGen/asan-globals-alias.cpp
The file was modifiedclang/test/OpenMP/constexpr_codegen.cpp
The file was modifiedclang/test/CodeGen/attr-x86-interrupt.c
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/inline-virtual-function.cpp
The file was modifiedclang/test/CodeGen/SystemZ/systemz-abi-vector.c
The file was modifiedclang/test/CodeGen/2008-07-30-implicit-initialization.c
The file was modifiedclang/test/CodeGen/xray-never-instrument.cpp
The file was modifiedclang/test/CodeGen/arm-homogenous.c
The file was modifiedclang/test/CodeGen/fp16-ops.c
The file was modifiedclang/test/CodeGen/mips-varargs.c
The file was modifiedclang/test/CodeGenCXX/amdgcn_declspec_get.cpp
The file was modifiedclang/test/CodeGen/mips64-class-return.cpp
The file was modifiedclang/test/CodeGenObjC/gnu-exceptions.m
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-three-params.cpp
The file was modifiedclang/test/CodeGenCXX/cxx0x-delegating-ctors.cpp
The file was modifiedclang/test/CodeGenCXX/attr-loader-uninitialized.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1y-init-captures.cpp
The file was modifiedclang/test/CodeGen/volatile-complex.c
The file was modifiedclang/test/CodeGenCXX/new-alias.cpp
The file was modifiedclang/test/CodeGen/xray-attributes-skip-entry-exit.cpp
The file was modifiedclang/test/CodeGen/malign-double-x86-nacl.c
The file was modifiedclang/test/CodeGen/switch.c
The file was modifiedclang/test/CodeGen/aarch64-poly128.c
The file was modifiedclang/test/CodeGenOpenCL/amdgpu-call-kernel.cl
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-out-of-line-defs.cpp
The file was modifiedclang/test/CodeGen/exprs.c
The file was modifiedclang/test/CodeGenCXX/no-odr-use.cpp
The file was modifiedclang/test/CodeGen/function-attributes.c
The file was modifiedclang/test/CodeGenCXX/clang-sections-tentative.c
The file was modifiedclang/test/CodeGen/memcpy-no-nobuiltin-if-not-emitted.c
The file was modifiedclang/test/CodeGenCXX/homogeneous-aggregates.cpp
The file was modifiedclang/test/OpenMP/parallel_for_simd_scan_codegen.cpp
The file was modifiedclang/test/CodeGen/SystemZ/mbackchain.c
The file was modifiedclang/test/CodeGen/xray-attr-list.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/long_double_fp128.cpp
The file was modifiedclang/test/CodeGenOpenCL/amdgcn-automatic-variable.cl
The file was modifiedclang/test/CodeGenCoroutines/coro-ret-void.cpp
The file was modifiedclang/test/CodeGenCUDA/amdgpu-kernel-attrs.cu
The file was modifiedclang/test/CodeGen/SystemZ/zvector.c
The file was modifiedclang/test/CodeGenCXX/x86_64-arguments-avx.cpp
The file was modifiedclang/test/CodeGen/malign-double.cpp
The file was modifiedclang/test/CodeGenCUDA/kernel-args.cu
The file was modifiedclang/test/CodeGen/sparcv9-dwarf.c
The file was modifiedclang/test/CodeGenCXX/builtin-operator-new-delete.cpp
The file was modifiedclang/test/CodeGenObjCXX/designated-initializers.mm
The file was modifiedclang/test/CodeGen/catch-pointer-overflow-volatile.c
The file was modifiedclang/test/CodeGenObjC/assign.m
The file was modifiedclang/test/CodeGenCXX/exceptions.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/visibility.c
The file was modifiedclang/test/CodeGenObjC/pass-by-value-noalias.m
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/override-pure-virtual-method.cpp
The file was modifiedclang/test/CodeGenCXX/initializer-list-ctor-order.cpp
The file was modifiedclang/test/CodeGen/attr-arm-sve-vector-bits-types.c
The file was modifiedclang/test/CodeGen/attr-target-mv-va-args.c
The file was modifiedclang/test/CodeGen/ppc64-dwarf.c
The file was modifiedclang/test/CodeGenCXX/linetable-virtual-variadic.cpp
The file was modifiedclang/test/CodeGen/alias.c
The file was modifiedclang/test/CodeGenCUDA/kernel-amdgcn.cu
The file was modifiedclang/test/CodeGenOpenCL/cl20-device-side-enqueue.cl
The file was modifiedclang/test/CodeGen/aarch64-varargs.c
The file was modifiedclang/test/CodeGen/aarch64-neon-extract.c
The file was modifiedclang/test/CodeGen/ppc32-dwarf.c
The file was modifiedclang/test/CodeGen/bool-convert.c
The file was modifiedclang/test/CodeGenCXX/builtin-calling-conv.cpp
The file was modifiedclang/test/CodeGen/ppc64le-f128Aggregates.c
The file was modifiedclang/test/CodeGen/dllexport-1.c
The file was modifiedclang/test/CodeGenCUDA/lambda.cu
The file was modifiedclang/test/CodeGen/xray-always-instrument.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1z-initializer-aggregate.cpp
The file was modifiedclang/test/CodeGen/nodebug-attr.c
The file was modifiedclang/test/CodeGenCXX/builtin-is-constant-evaluated.cpp
The file was modifiedclang/test/CodeGen/ppc64-align-struct.c
The file was modifiedclang/test/CodeGen/unsigned-overflow-minimal.c
The file was modifiedclang/test/OpenMP/declare_variant_mixed_codegen.c
The file was modifiedclang/test/OpenMP/single_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/ubsan-vtable-checks.cpp
The file was modifiedclang/test/CodeGenCXX/powerpc-byval.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/CodeGenObjC/property.m
The file was modifiedclang/test/OpenMP/target_parallel_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/transparent-union.c
The file was modifiedclang/test/CodeGen/aarch64-vpcs.c
The file was modifiedclang/test/CodeGen/ms_abi_aarch64.c
The file was modifiedclang/test/CodeGen/fp-floatcontrol-pragma.cpp
The file was modifiedclang/test/CodeGenCXX/derived-cast.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/member-function-pointer.cpp
The file was modifiedclang/test/CodeGen/packed-structure.c
The file was modifiedclang/test/CodeGenCXX/cxx1z-inline-variables.cpp
The file was modifiedclang/test/CodeGenCXX/new-overflow.cpp
The file was modifiedclang/test/CodeGen/mips64-padding-arg.c
The file was modifiedclang/test/CodeGen/builtins-ppc-quadword.c
The file was modifiedclang/test/CodeGenCXX/cxx11-initializer-aggregate.cpp
The file was modifiedclang/test/CodeGen/RISCV/riscv-inline-asm.c
The file was modifiedclang/test/CodeGenCXX/copy-constructor-elim-2.cpp
The file was modifiedclang/test/CodeGenCXX/throw-expression-cleanup.cpp
The file was modifiedclang/test/CodeGen/arm-neon-directed-rounding.c
The file was modifiedclang/test/CodeGenCUDA/library-builtin.cu
The file was modifiedclang/test/CodeGenCXX/microsoft-uuidof-mangling.cpp
The file was modifiedclang/test/CodeGen/X86/x86_64-arguments.c
The file was modifiedclang/test/CodeGen/X86/x86-soft-float.c
The file was modifiedclang/test/CodeGen/exceptions-strictfp.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-alloc_align-on-function.cpp
The file was modifiedclang/test/CodeGen/fp16-ops-strictfp.c
The file was modifiedclang/test/CodeGenCUDA/link-device-bitcode.cu
The file was modifiedclang/test/CodeGen/X86/x86_64-floatvectors.c
The file was modifiedclang/test/CodeGen/mips16-attr.c
The file was modifiedclang/test/CodeGen/attr-loader-uninitialized.c
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/multiple-inheritance.cpp
The file was modifiedclang/test/CodeGenCXX/flatten.cpp
The file was modifiedclang/test/CodeGen/transparent-union-redecl.c
The file was modifiedclang/test/CodeGenOpenCL/visibility.cl
The file was modifiedclang/test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl
The file was modifiedclang/test/CodeGen/builtins-ppc.c
The file was modifiedclang/test/CodeGenCXX/devirtualize-virtual-function-calls-final.cpp
The file was modifiedclang/test/CodeGen/flatten.c
The file was modifiedclang/test/CodeGen/bool-init.c
The file was modifiedclang/test/CodeGenCXX/float128-declarations.cpp
The file was modifiedclang/test/CodeGen/ve-abi.c
The file was modifiedclang/test/CodeGen/attr-cpuspecific.c
The file was modifiedclang/test/CodeGenCUDA/convergent.cu
The file was modifiedclang/test/CodeGenCUDA/amdgpu-func-attrs.cu
The file was modifiedclang/test/CodeGen/aarch64-neon-across.c
The file was modifiedclang/test/CodeGen/attr-target-mv.c
The file was modifiedclang/test/CodeGen/mdouble.c
The file was modifiedclang/test/CodeGen/X86/x86_32-arguments-nommx.c
The file was modifiedclang/test/CodeGenCXX/const-init-cxx11.cpp
The file was modifiedclang/test/CodeGenCXX/static-initializer-branch-weights.cpp
The file was modifiedclang/test/CodeGen/blocks.c
The file was modifiedclang/test/CodeGenCXX/no-elide-constructors.cpp
The file was modifiedclang/test/CodeGen/global-init.c
The file was modifiedclang/test/CodeGen/arm64-mte.c
The file was modifiedclang/test/CodeGen/powerpc_types.c
The file was modifiedclang/test/OpenMP/single_codegen.cpp
The file was modifiedclang/test/CodeGen/arm-cc.c
The file was modifiedclang/test/CXX/modules-ts/codegen-basics.cppm
The file was modifiedclang/test/CodeGen/init.c
The file was modifiedclang/test/CodeGenCUDA/device-fun-linkage.cu
The file was modifiedclang/test/CodeGen/RISCV/riscv32-ilp32-abi.c
The file was modifiedclang/test/CodeGen/aarch64-branch-protection-attr.c
The file was modifiedclang/test/CodeGen/default-function-attr.c
The file was modifiedclang/test/CodeGen/xray-attributes-noxray-supported.cpp
The file was modifiedclang/test/CodeGenOpenCL/partial_initializer.cl
The file was modifiedclang/test/CodeGen/powerpc-c99complex.c
The file was modifiedclang/test/CodeGenOpenCL/amdgpu-calling-conv.cl
The file was modifiedclang/test/CodeGen/assign.c
The file was modifiedclang/test/CodeGen/RISCV/riscv64-lp64f-lp64d-abi.c
The file was modifiedclang/test/CodeGen/ppc64-inline-asm.c
The file was modifiedclang/test/CodeGen/ppc64-soft-float.c
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/dynamic-cast.cpp
The file was modifiedclang/test/CodeGenOpenCL/pipe_types_mangling.cl
The file was modifiedclang/test/CodeGenCXX/dereferenceable.cpp
The file was modifiedclang/test/CodeGen/mcu-struct-return.c
The file was modifiedclang/test/CodeGen/iamcu-abi.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-two-params.cpp
The file was modifiedclang/test/CodeGen/noduplicate-cxx11-test.cpp
The file was modifiedclang/test/CodeGen/designated-initializers.c
The file was modifiedclang/test/CodeGen/aarch64-tme.cpp
The file was modifiedclang/test/CodeGenCXX/new-array-init.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/builtins-ppc-altivec.c
The file was modifiedclang/test/CodeGen/RISCV/riscv32-ilp32f-abi.c
The file was modifiedclang/test/CodeGenCXX/redefine_extname.cpp
The file was modifiedclang/test/CodeGenCXX/static-init-4.cpp
The file was modifiedclang/test/CodeGenOpenCL/sampler.cl
The file was modifiedclang/test/CodeGenCXX/fp16-mangle.cpp
The file was modifiedclang/test/CodeGenCXX/builtin-launder.cpp
The file was modifiedclang/test/CodeGenOpenCL/address-spaces-conversions.cl
The file was modifiedclang/test/CodeGen/default-address-space.c
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/cross-translation-unit-1.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-func-ptrs.cpp
The file was modifiedclang/test/CodeGenCXX/attr-callback.cpp
The file was modifiedclang/test/CodeGenCXX/builtin_LINE.cpp
The file was modifiedclang/test/CodeGenCXX/member-function-pointers.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/inheritted-virtual-function.cpp
The file was modifiedclang/test/OpenMP/simd_metadata.c
The file was modifiedclang/test/CodeGenOpenCLCXX/addrspace-references.cl
The file was modifiedclang/test/CodeGenCUDA/types.cu
The file was modifiedclang/test/OpenMP/parallel_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-member-funcs.cpp
The file was modifiedclang/test/CodeGen/builtins-ppc-p8vector.c
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/CodeGen/arm-neon-numeric-maxmin.c
The file was modifiedclang/test/CodeGenCXX/alloca-align.cpp
The file was modifiedclang/test/CodeGen/arm64-aapcs-arguments.c
The file was modifiedclang/test/CodeGenCXX/ext-int.cpp
The file was modifiedclang/test/CodeGen/mangle-windows.c
The file was modifiedclang/test/CodeGen/builtins-arm.c
The file was modifiedclang/test/CodeGen/arm-vfp16-arguments2.cpp
The file was modifiedclang/test/CodeGen/vla.c
The file was modifiedclang/test/CodeGen/arm-varargs.c
The file was modifiedclang/test/CodeGen/bool_test.c
The file was modifiedclang/test/CodeGenObjCXX/objfw-exceptions.mm
The file was modifiedclang/test/CodeGen/ppc-aggregate-abi.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/virtual-function-call.cpp
The file was modifiedclang/test/CodeGen/builtins-memcpy-inline.c
The file was modifiedclang/test/CodeGen/nvptx-abi.c
The file was modifiedclang/test/OpenMP/nvptx_declare_target_var_ctor_dtor_codegen.cpp
The file was modifiedclang/test/CodeGen/memcpy-no-nobuiltin-if-not-emitted.cpp
The file was modifiedclang/test/CodeGenCXX/vtable-linkage.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-overloads.cpp
The file was modifiedclang/test/CodeGenCXX/attr-likelihood-if-branch-weights.cpp
The file was modifiedclang/test/CodeGen/builtins-ppc-htm.c
The file was modifiedclang/test/CodeGenCUDA/device-vtable.cu
The file was modifiedclang/test/CodeGenCXX/builtins.cpp
The file was modifiedclang/test/CodeGen/sparcv8-abi.c
The file was modifiedclang/test/CodeGenOpenCL/amdgpu-nullptr.cl
The file was modifiedclang/test/CodeGenOpenCL/vectorLoadStore.cl
The file was modifiedclang/test/CodeGenCXX/cxx1z-decomposition.cpp
The file was modifiedclang/test/CodeGen/lifetime-debuginfo-1.c
The file was modifiedclang/test/PCH/builtin-is-constant-evaluated.cpp
The file was modifiedclang/test/CodeGenCXX/thunks.cpp
The file was modifiedclang/test/CodeGenCXX/char8_t.cpp
The file was modifiedclang/test/CodeGenCXX/nrvo.cpp
The file was modifiedclang/test/CodeGenCXX/auto-variable-template.cpp
The file was modifiedclang/test/OpenMP/openmp_offload_registration.cpp
The file was modifiedclang/test/CodeGen/mips-interrupt-attr.c
The file was modifiedclang/test/CodeGenCXX/amdgcn-func-arg.cpp
The file was modifiedclang/test/CodeGen/libcalls.c
The file was modifiedclang/test/CodeGenCXX/lambda-conversion-op-cc.cpp
The file was modifiedclang/test/CodeGen/cfi-icall-canonical-jump-tables.c
The file was modifiedclang/test/CodeGenOpenCL/ptx-calls.cl
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/cross-translation-unit-2.cpp
The file was modifiedclang/test/CodeGen/ppc64-extend.c
The file was modifiedclang/test/CodeGenCUDA/device-var-init.cu
The file was modifiedclang/test/CodeGen/union-tbaa1.c
The file was modifiedclang/test/CodeGenCUDA/texture.cu
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-default-cc.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c
The file was modifiedclang/test/CodeGenCXX/new.cpp
The file was modifiedclang/test/CodeGenOpenCL/constant-addr-space-globals.cl
The file was modifiedclang/test/CodeGen/functions.c
The file was modifiedclang/test/CodeGenCUDA/propagate-metadata.cu
The file was modifiedclang/test/CodeGen/RISCV/riscv64-lp64d-abi.c
The file was modifiedclang/test/CodeGenOpenCL/extension-begin.cl
The file was modifiedclang/test/CodeGenOpenCLCXX/addrspace_cast.cl
The file was modifiedclang/test/CodeGenOpenCL/kernel-arg-info.cl
The file was modifiedclang/test/CodeGen/ps4-dllimport-dllexport.c
The file was modifiedclang/test/CodeGen/xray-instruction-threshold.cpp
The file was modifiedclang/test/CodeGen/SystemZ/systemz-abi.cpp
The file was modifiedclang/test/CodeGen/ppc32-and-aix-struct-return.c
The file was modifiedclang/test/CodeGen/ubsan-function.cpp
The file was modifiedclang/test/CodeGenCXX/new-array-init-exceptions.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_requires_unified_shared_memory.cpp
The file was modifiedclang/test/CodeGen/RISCV/riscv64-lp64-abi.c
The file was modifiedclang/test/CodeGen/cfi-icall-generalize.c
The file was modifiedclang/test/CodeGenOpenCLCXX/constexpr.cl
The file was modifiedclang/test/CodeGen/ppc64-complex-return.c
The file was modifiedclang/test/CodeGen/tls-model.cpp
The file was modifiedclang/test/CodeGen/sanitize-address-field-padding.cpp
The file was modifiedclang/test/CodeGenCUDA/address-spaces.cu
The file was modifiedclang/test/CodeGen/packed-arrays.c
The file was modifiedclang/test/CodeGenOpenCL/ptx-kernels.cl
The file was modifiedclang/test/CodeGenCXX/virtual-function-elimination.cpp
The file was modifiedclang/test/CodeGenOpenCL/bool_cast.cl
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-array.cpp
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
The file was modifiedclang/test/CodeGenOpenCLCXX/address-space-deduction.cl
The file was modifiedclang/test/OpenMP/target_defaultmap_codegen_01.cpp
The file was modifiedclang/test/CodeGenCXX/no-unique-address.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-vcombine.c
The file was modifiedclang/test/CodeGenCUDA/ptx-kernels.cu
The file was modifiedclang/test/CodeGen/arm-bf16-params-returns.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-openmp.cpp
The file was modifiedclang/test/CodeGenCXX/pr13396.cpp
The file was modifiedclang/test/OpenMP/for_codegen.cpp
The file was modifiedclang/test/CodeGen/cfi-icall-cross-dso2.c
The file was modifiedclang/test/CodeGen/arm-float-helpers.c
The file was modifiedclang/test/CodeGen/RISCV/riscv32-ilp32-ilp32f-abi.c
The file was modifiedclang/test/CodeGen/mips-transparent-union.c
The file was modifiedclang/test/CodeGen/const-init.c
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/diamond-inheritance.cpp
The file was modifiedclang/test/CXX/expr/p10-0x.cpp
The file was modifiedclang/test/OpenMP/sections_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/bitfield.cpp
The file was modifiedclang/test/Modules/initializers.cpp
The file was modifiedclang/test/CodeGenCXX/delete-two-arg.cpp
The file was modifiedclang/test/CodeGen/X86/x86_64-arguments-nacl.c
The file was modifiedclang/test/CodeGen/xray-imbue-arg1.cpp
The file was modifiedclang/test/CodeGenOpenCL/as_type.cl
The file was modifiedclang/test/CodeGen/sparc-arguments.c
The file was modifiedclang/test/CodeGen/builtins-ppc-p7.c
The file was modifiedclang/test/CodeGenCUDA/amdgpu-visibility.cu
The file was modifiedclang/test/OpenMP/for_simd_scan_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/dllexport-vtable-thunks.cpp
The file was modifiedclang/test/CodeGen/le32-vaarg.c
The file was modifiedclang/test/CodeGenOpenCL/amdgpu-attrs.cl
The file was modifiedclang/test/OpenMP/target_codegen_global_capture.cpp
The file was modifiedclang/test/CodeGenCXX/rtti-qualfn.cpp
The file was modifiedclang/test/CodeGen/init-memset.c
The file was modifiedclang/test/CodeGenCXX/type-metadata.cpp
The file was modifiedclang/test/CodeGen/catch-nullptr-and-nonzero-offset-in-offsetof-idiom.c
The file was modifiedclang/test/CodeGen/attr-nomerge.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/relative-vtables-flag.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_codegen.cpp
The file was modifiedclang/test/CodeGenCUDA/surface.cu
The file was modifiedclang/test/CodeGen/unwind-attr.c
The file was modifiedclang/test/CodeGenCoroutines/coro-await.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-align_value-on-paramvar.cpp
The file was modifiedclang/test/OpenMP/target_data_use_device_ptr_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGen/no-builtin.cpp
The file was modifiedclang/test/CodeGen/attr-leaf.c
The file was modifiedclang/test/CodeGenCoroutines/coro-cleanup.cpp
The file was modifiedclang/test/CodeGenCXX/invariant.group-for-vptrs.cpp
The file was modifiedclang/test/CodeGen/pr25786.c
The file was modifiedclang/test/CodeGenCXX/catch-nullptr-and-nonzero-offset-in-offsetof-idiom.cpp
The file was modifiedclang/test/CodeGenCXX/catch-undef-behavior.cpp
The file was modifiedclang/test/CodeGen/aarch64-sve.c
The file was modifiedclang/test/CodeGen/stack-clash-protection.c
The file was modifiedclang/test/CodeGenCXX/static-local-in-local-class.cpp
The file was modifiedclang/test/CodeGenCXX/conditional-gnu-ext.cpp
The file was modifiedclang/test/CodeGen/ext-int-sanitizer.cpp
The file was modifiedclang/test/Modules/templates.mm
The file was modifiedclang/test/CodeGenCXX/builtin-source-location.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-extern-constexpr.cpp
The file was modifiedclang/test/CodeGenCXX/attr.cpp
The file was modifiedclang/test/CodeGen/catch-nullptr-and-nonzero-offset-when-nullptr-is-defined.c
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/child-inheritted-from-parent-in-comdat.cpp
The file was modifiedclang/test/CodeGenCXX/x86_64-arguments-nacl-x32.cpp
The file was modifiedclang/test/CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu
The file was modifiedclang/test/CodeGenCXX/designated-init.cpp
The file was modifiedclang/test/CodeGen/address-space-avr.c
The file was modifiedclang/test/CodeGenCXX/mangle-win64-ccs.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-3v.c
The file was modifiedclang/test/SemaCXX/cxx03-aligned-allocation-unscoped-enum.cpp
The file was modifiedclang/test/CodeGenCXX/std-byte.cpp
The file was modifiedclang/test/CodeGen/stackrealign-main.c
The file was modifiedclang/test/CodeGen/lifetime-debuginfo-2.c
The file was modifiedclang/test/CodeGenCXX/pragma-visibility.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/builtin-complex.c
The file was modifiedclang/test/CodeGen/regcall.c
The file was modifiedclang/test/CodeGen/fp-strictfp.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-assume_aligned-on-function.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-params.cpp
The file was modifiedclang/test/CodeGen/sparc-vaarg.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-assume_aligned-on-function-two-params.cpp
The file was modifiedclang/test/CodeGenOpenCL/addr-space-struct-arg.cl
The file was modifiedclang/test/CodeGen/X86/avx-union.c
The file was modifiedclang/test/CodeGenCXX/pass-by-value-noalias.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-gro-nrvo.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGen/arm-neon-dot-product.c
The file was modifiedclang/test/CodeGen/unaligned-decl.c
The file was modifiedclang/test/OpenMP/target_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/2006-05-19-SingleEltReturn.c
The file was modifiedclang/test/CodeGenCXX/cxx2a-destroying-delete.cpp
The file was modifiedclang/test/CodeGenOpenCL/amdgcn-large-globals.cl
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-align_value-on-lvalue.cpp
The file was modifiedclang/test/CodeGen/micromips-attr.c
The file was modifiedclang/test/CodeGen/pragma-weak.c
The file was modifiedclang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
Commit a92d01534f1c4fb79210975573e774d0393f2533 by i
[sanitizer] Define SANITIZER_GLIBC to refine SANITIZER_LINUX feature detection and support musl

Several `#if SANITIZER_LINUX && !SANITIZER_ANDROID` guards are replaced
with the more appropriate `#if SANITIZER_GLIBC` (the headers are glibc
extensions, not specific to Linux (i.e. if we ever support GNU/kFreeBSD
or Hurd, the guards may automatically work)).

Several `#if SANITIZER_LINUX && !SANITIZER_ANDROID` guards are refined
with `#if SANITIZER_GLIBC` (the definitions are available on Linux glibc,
but may not be available on other libc (e.g. musl) implementations).

This patch makes `ninja asan cfi msan stats tsan ubsan xray` build on a musl based Linux distribution (apk install musl-libintl)
Notes about disabled interceptors for musl:

* `SANITIZER_INTERCEPT_GLOB`: musl does not implement `GLOB_ALTDIRFUNC` (GNU extension)
* Some ioctl structs and functions operating on them.
* `SANITIZER_INTERCEPT___PRINTF_CHK`: `_FORTIFY_SOURCE` functions are GNU extension
* `SANITIZER_INTERCEPT___STRNDUP`: `dlsym(RTLD_NEXT, "__strndup")` errors so a diagnostic is formed. The diagnostic uses `write` which hasn't been intercepted => SIGSEGV
* `SANITIZER_INTERCEPT_*64`: the `_LARGEFILE64_SOURCE` functions are glibc specific. musl does something like `#define pread64 pread`
* Disabled `msg_iovlen msg_controllen cmsg_len` checks: musl is conforming while many implementations (Linux/FreeBSD/NetBSD/Solaris) are non-conforming. Since we pick the glibc definition, exclude the checks for musl (incompatible sizes but compatible offsets)

Pass through LIBCXX_HAS_MUSL_LIBC to make check-msan/check-tsan able to build libc++ (https://bugs.llvm.org/show_bug.cgi?id=48618).

Many sanitizer features are available now.

```
% ninja check-asan
(known issues:
* ASAN_OPTIONS=fast_unwind_on_malloc=0 odr-violations hangs
)
...
Testing Time: 53.69s
  Unsupported      : 185
  Passed           : 512
  Expectedly Failed:   1
  Failed           :  12

% ninja check-ubsan check-ubsan-minimal check-memprof # all passed

% ninja check-cfi
( all cross-dso/)
...
Testing Time: 8.68s
  Unsupported      : 264
  Passed           :  80
  Expectedly Failed:   8
  Failed           :  32

% ninja check-msan
(Many are due to functions not marked unsupported.)
Testing Time: 23.09s
  Unsupported      :   6
  Passed           : 764
  Expectedly Failed:   2
  Failed           :  58

% ninja check-tsan
Testing Time: 23.21s
  Unsupported      :  86
  Passed           : 295
  Expectedly Failed:   1
  Failed           :  25
```

Used `ASAN_OPTIONS=verbosity=2` to verify no unneeded interceptors.

Partly based on Jari Ronkainen's https://reviews.llvm.org/D63785#1921014

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D93848
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modifiedcompiler-rt/lib/interception/interception_linux.h
The file was modifiedcompiler-rt/lib/interception/interception_linux.cpp
The file was modifiedcompiler-rt/lib/msan/tests/msan_test.cpp
The file was modifiedcompiler-rt/cmake/Modules/AddCompilerRT.cmake
The file was modifiedcompiler-rt/lib/asan/tests/asan_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform.h
The file was modifiedcompiler-rt/lib/asan/asan_interceptors.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
Commit 52d7e183bf25ea38e1149e39e19d21e6212e701f by i
[sanitizer] Include fstab.h on glibc/FreeBSD/NetBSD/macOS
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
Commit f760d57052d8d16de9679f6c65149005515ead97 by nunoplopes
LangRef: fix significand bits of fp128
The file was modifiedllvm/docs/LangRef.rst
Commit be764065beb2436cf32ca62c9c6148453d6a5814 by sureyeaah
Revert "[ThinLTO][test] Add visibility related tests"

Both newly added tests fail in Release.

This reverts commit 52aa4e210744361a5ed6dc50fef78ed91706e508.

Reviewed By: SureYeaah

Differential Revision: https://reviews.llvm.org/D93957
The file was removedllvm/test/ThinLTO/X86/visibility-elf.ll
The file was removedllvm/test/ThinLTO/X86/visibility-macho.ll
Commit 8bee4d4e8f54b5f28b9117b552d3b2c655ff129b by sureyeaah
Revert "[LoopDeletion] Allows deletion of possibly infinite side-effect free loops"

Test clang/test/Misc/loop-opt-setup.c fails when executed in Release.

This reverts commit 6f1503d59854b331f1f970d39839619b0a26bbc7.

Reviewed By: SureYeaah

Differential Revision: https://reviews.llvm.org/D93956
The file was removedllvm/test/Transforms/LoopDeletion/mustprogress.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/LoopUtils.h
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/test/Transforms/LoopDeletion/no-exit-blocks.ll
The file was modifiedclang/test/Misc/loop-opt-setup.c
Commit 9b6493946307c321cacc5d1da53bbae5a1acda24 by Dávid Bolvanský
[NFC] Added tests for PR48604
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
Commit 742ea77ca4c0ea10d8ccd160c7d7f4257d214ed0 by Dávid Bolvanský
[InstCombine] Transform (A + B) - (A | B) to A & B (PR48604)

define i32 @src(i32 %x, i32 %y) {
%0:
  %a = add i32 %x, %y
  %o = or i32 %x, %y
  %r = sub i32 %a, %o
  ret i32 %r
}
=>
define i32 @tgt(i32 %x, i32 %y) {
%0:
  %b = and i32 %x, %y
  ret i32 %b
}
Transformation seems to be correct!

https://alive2.llvm.org/ce/z/aQRh2j
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
Commit c1937c2af2a03f0b5fda3bbf99e2971ffa04ff0c by Dávid Bolvanský
[NFC] Added/adjusted tests for PR48604; second pattern
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
The file was modifiedllvm/test/Transforms/InstCombine/sub.ll
Commit ae69fa9b9f65f59cc0ca8c47f23748a53c8dbdc5 by Dávid Bolvanský
[InstCombine] Transform (A + B) - (A & B) to A | B (PR48604)

define i32 @src(i32 %x, i32 %y) {
%0:
  %a = add i32 %x, %y
  %o = and i32 %x, %y
  %r = sub i32 %a, %o
  ret i32 %r
}
=>
define i32 @tgt(i32 %x, i32 %y) {
%0:
  %b = or i32 %x, %y
  ret i32 %b
}
Transformation seems to be correct!

https://alive2.llvm.org/ce/z/2fhW6r
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
The file was modifiedllvm/test/Transforms/InstCombine/sub.ll
Commit d7154bbf92b3606220a11834a62ab7e9cd17be42 by i
[ThinLTO][test] Add visibility related tests

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D92899
The file was addedllvm/test/ThinLTO/X86/visibility-macho.ll
The file was addedllvm/test/ThinLTO/X86/visibility-elf.ll
Commit 728f99fa0b6c13ce7d4608e5ba6e0d0bfbdaddbb by i
[ThinLTO][test] Specify -enable-import-metadata to make !thinlto_src_module available in -DLLVM_ENABLE_ASSERTIONS=off mode
The file was modifiedllvm/test/ThinLTO/X86/visibility-macho.ll
The file was modifiedllvm/test/ThinLTO/X86/visibility-elf.ll
Commit f904b46b1a965013a51854fafbb63763617e33b3 by kazu
[llvm-objcopy] Use llvm::erase_if (NFC)
The file was modifiedllvm/tools/llvm-objcopy/COFF/Object.cpp
Commit 7bc76fd0ec40ae20b6d456e2d6e7c328615ed718 by kazu
[CodeGen] Construct SmallVector with iterator ranges (NFC)
The file was modifiedllvm/lib/CodeGen/TailDuplicator.cpp
The file was modifiedllvm/lib/CodeGen/ReachingDefAnalysis.cpp
The file was modifiedllvm/lib/CodeGen/WasmEHPrepare.cpp
The file was modifiedllvm/lib/CodeGen/IfConversion.cpp
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/lib/CodeGen/SjLjEHPrepare.cpp
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
The file was modifiedllvm/lib/CodeGen/MachineSink.cpp
The file was modifiedllvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
Commit b557c32ae925e0aa39d40e0254380953aad1c78f by kazu
[MemorySSA, BPF] Use isa instead of dyn_cast (NFC)
The file was modifiedllvm/lib/Analysis/MemorySSA.cpp
The file was modifiedllvm/lib/Target/BPF/BPFAdjustOpt.cpp
Commit a90b42b0fec618124a3ed573ecd0e192a61815f7 by i
[ThinLTO] Default -enable-import-metadata to false

The default value is dependent on `-DLLVM_ENABLE_ASSERTIONS={off,on}` (D22167), which is
error-prone. The few tests checking `!thinlto_src_module` can specify -enable-import-metadata explicitly.

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D93959
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
Commit 1a9eb19af9ba1c6fcd63f84f4053c77881e6ae1c by andrew.litteken
[IROutliner] Adding consistent function attribute merging

When combining extracted functions, they may have different function
attributes. We want to make sure that we do not make any assumptions,
or lose any information. This attempts to make sure that we consolidate
function attributes to their most general case.

Tests:
llvm/test/Transforms/IROutliner/outlining-compatible-and-attribute-transfer.ll
llvm/test/Transforms/IROutliner/outlining-compatible-or-attribute-transfer.ll

Reviewers: jdoefert, paquette

Differential Revision: https://reviews.llvm.org/D87301
The file was addedllvm/test/Transforms/IROutliner/outlining-compatible-or-attribute-transfer.ll
The file was modifiedllvm/include/llvm/IR/Attributes.h
The file was modifiedllvm/lib/Transforms/IPO/IROutliner.cpp
The file was addedllvm/test/Transforms/IROutliner/outlining-compatible-and-attribute-transfer.ll
The file was modifiedllvm/lib/IR/Attributes.cpp
Commit 1a65b8c739a09c587fb55ef4d2d7def13718111c by atmndp
[Clang][Misc] Change run line in fragile test

This test has %clang in the run line when it should have %clang_cc1.
This should prevent future release test failures.

Differential Revision: https://reviews.llvm.org/D93952
The file was modifiedclang/test/Misc/loop-opt-setup.c
Commit 509fa8e02e25a610574c0fc2cceea1d350c35a66 by aqjune
[SCEV] recognize logical and/or pattern

This patch makes SCEV recognize 'select A, B, false' and 'select A, true, B'.
This is a performance improvement that will be helpful after unsound select -> and/or transformation is removed, as discussed in D93065.

SCEV's answers for the select form should be a bit more conservative than the equivalent `and A, B` / `or A, B`.
Take this example: https://alive2.llvm.org/ce/z/NsP9ue .
To check whether it is valid for SCEV's computeExitLimit to return min(n, m) as ExactNotTaken value, I put llvm.assume at tgt.
It fails because the exit limit becomes poison if n is zero and m is poison. This is problematic if e.g. the exit value of i is replaced with min(n, m).
If either n or m is constant, we can revive the analysis again. I added relevant tests and put alive2 links there.

If and is used instead, this is okay: https://alive2.llvm.org/ce/z/K9rbJk . Hence the existing analysis is sound.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D93882
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was addedllvm/test/Analysis/ScalarEvolution/trip-count-andor-selectform.ll
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
The file was addedllvm/test/Analysis/ScalarEvolution/exit-count-select.ll
Commit 5cdf6ed744896a23ebc3f723ee2abcfc88137da0 by aqjune
[CodeGen] recognize select form of and/ors when splitting branch conditions

Recently a few patches are made to move towards using select i1 instead of and/or i1 to represent "a && b"/"a || b" in C/C++.
"a && b" in C/C++ does not evaluate b if a is false whereas 'and a, b' in IR evaluates b and uses its result regardless of the result of a.
This is problematic because it can cause miscompilation if b was an erroneous operation (https://llvm.org/pr48353).
In C/C++, the result is simply false because b is not evaluated, but in IR the result is poison.
The discussion at D93065 has more context about this.

This patch makes two branch-splitting optimizations (one in SelectionDAGBuilder, one in CodeGenPrepare) recognize
select form of and/or as well using m_LogicalAnd/Or.
Since it is CodeGen, I think this is semantically ok (at least as safe as what codegen already did).

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D93853
The file was modifiedllvm/test/CodeGen/AArch64/fast-isel-branch-cond-split.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/irtranslator-condbr-lower-tree.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64_32.ll
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit a2513cb8655e0aea4baffb4391e946ad3e56d883 by nunoplopes
remove pessimizing moves (reported by gcc 10)
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Shared/RPCUtils.h
Commit d974ac0224dec34b95fb1be8c61bd8b524698bcd by andrew.litteken
[IRSim] Letting gep instructions be legal for similarity identification.

GetElementPtr instructions require the extra check that all operands
after the first must only be constants and be exactly the same to be
considered similar.

Tests are found in unittests/Analysis/IRSimilarityIdentifierTest.cpp.
The file was modifiedllvm/lib/Analysis/IRSimilarityIdentifier.cpp
The file was modifiedllvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
The file was modifiedllvm/test/Transforms/IROutliner/illegal-gep.ll
The file was modifiedllvm/include/llvm/Analysis/IRSimilarityIdentifier.h
Commit 3c60e9bac86804a32bf515b9381c91fb64d769f8 by aqjune
Add tests for D93943 (NFC)
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch_create.ll
Commit 14dc69b09218bb580069eb547bb16ab0c43db6d4 by andrew.litteken
Revert "remove pessimizing moves (reported by gcc 10)"

Causing multiple different buildbots to fail with similar errors to:
http://lab.llvm.org:8011/#/builders/84/builds/3719/
http://lab.llvm.org:8011/#/builders/21/builds/5863/

This reverts commit a2513cb8655e0aea4baffb4391e946ad3e56d883.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Shared/RPCUtils.h
Commit 219d00e0d90941d3e54fc711ea1e7b5e4b5b4335 by i
[test] Make ELF tests immune to dso_local/dso_preemptable/(none) differences

ELF -cc1 -mrelocation-model pic will default to no semantic interposition plus
setting dso_local on default visibility external linkage definitions, so that
COFF, Mach-O and ELF output will be similar.

This patch makes tests immune to the differences.
The file was modifiedclang/test/Driver/hip-fpie-option.hip
The file was modifiedclang/test/OpenMP/nvptx_declare_target_var_ctor_dtor_codegen.cpp
The file was modifiedclang/test/CodeGenCUDA/lambda-reference-var.cu
The file was modifiedclang/test/CodeGenCXX/default_calling_conv.cpp
Commit d1fd72343c6ff58a3b66bc0df56fed9ac21e4056 by i
Refactor how -fno-semantic-interposition sets dso_local on default visibility external linkage definitions

The idea is that the CC1 default for ELF should set dso_local on default
visibility external linkage definitions in the default -mrelocation-model pic
mode (-fpic/-fPIC) to match COFF/Mach-O and make output IR similar.

The refactoring is made available by 2820a2ca3a0e69c3f301845420e0067ffff2251b.

Currently only x86 supports local aliases. We move the decision to the driver.
There are three CC1 states:

* -fsemantic-interposition: make some linkages interposable and make default visibility external linkage definitions dso_preemptable.
* (default): selected if the target supports .Lfoo$local: make default visibility external linkage definitions dso_local
* -fhalf-no-semantic-interposition: if neither option is set or the target does not support .Lfoo$local: like -fno-semantic-interposition but local aliases are not used. So references can be interposed if not optimized out.

Add -fhalf-no-semantic-interposition to a few tests using the half-based semantic interposition behavior.
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/cross-translation-unit-1.cpp
The file was modifiedllvm/include/llvm/IR/Module.h
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/cross-translation-unit-2.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/test/CodeGen/semantic-interposition.c
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/simple-vtable-definition.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/diamond-inheritance.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/inline-virtual-function.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/CodeGen/attr-arm-sve-vector-bits-globals.c
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/inheritted-virtual-function.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/child-inheritted-from-parent-in-comdat.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/multiple-inheritance.cpp
The file was removedclang/test/CodeGen/semantic-interposition-no.c
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/override-pure-virtual-method.cpp
The file was modifiedllvm/lib/IR/Module.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/no-alias-when-dso-local.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/overriden-virtual-function.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/diamond-virtual-inheritance.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedclang/test/CodeGenCXX/RelativeVTablesABI/relative-vtables-flag.cpp
The file was modifiedclang/test/Driver/fsemantic-interposition.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit eaab71106b81031d272acfc6987e99e8b65cbe6c by spatel
[Analysis] reduce code for matching min/max; NFC

This might also make it easier to adapt if we want
to match min/max intrinsics rather than cmp+sel idioms.

The 'const' part is to potentially avoid confusion
in calling code. There's some surprising and possibly
wrong behavior related to matching min/max reductions
differently than other reductions.
The file was modifiedllvm/lib/Analysis/IVDescriptors.cpp
The file was modifiedllvm/include/llvm/Analysis/IVDescriptors.h
Commit 8d541a1fbe6d92a3fadf6d7d8e8209ed6c76e092 by jpienaar
[mlir][shape] Add shape.lib attribute

Enable querying shape function library ops from the module. Currently
supports singular or array of them (as long as array has all unique ops
in mappings). The preferred canonical form would have one library, but
given the invariant on the mapping, this can easily be achieved by a
simple merging pass.

Preferred the attribute approach vs naming convention as these could be
added in multiple different ways.
The file was modifiedmlir/lib/Dialect/Shape/IR/Shape.cpp
The file was modifiedmlir/test/Dialect/Shape/invalid.mlir
The file was modifiedmlir/test/lib/Dialect/Shape/TestShapeFunctions.cpp
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeBase.td
The file was modifiedmlir/test/Analysis/test-shape-fn-report.mlir
Commit b6b1006f0719481dfb785f281afb5b371c19f00c by andrew.litteken
[IRSim][IROutliner] Allowing GEP instructions to be outlined.

We outline what the IRSimilarityIdentifier deems GEP Instructions to be
similar.  In this case, the types must be the same, and the operand
values after the first indexing operand must be the exact same.

Tests:
Removing test/Transforms/IROutliner/illegal-gep.ll
Adding test/Transforms/IROutliner/outlining-gep.ll

Reviewers: jroelofs, paquette

Differential Revision: https://reviews.llvm.org/D87317
The file was removedllvm/test/Transforms/IROutliner/illegal-gep.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/IROutliner.h
The file was addedllvm/test/Transforms/IROutliner/outlining-gep.ll
Commit c1b825d4b8a68178613972a50088b2b73105e91e by lebedev.ri
[SimplifyCFG] Teach FoldValueComparisonIntoPredecessors() to preserve DomTree, part 1
The file was modifiedllvm/test/Transforms/SimplifyCFG/ARM/switch-to-lookup-table.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/Transforms/ADCE/domtree-DoubleDeletion.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/X86/MagicPointer.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/preserve-branchweights-partial.ll
The file was modifiedllvm/test/Transforms/JumpThreading/lvi-tristate.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/DeadSetCC.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/preserve-branchweights-switch-create.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/2005-08-01-PHIUpdateFail.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/2006-08-03-Crash.ll
Commit b7c463d7b8dda2c2b3e9a4db51f94dc94542ee68 by lebedev.ri
[SimplifyCFG] Teach FoldBranchToCommonDest() to preserve DomTree, part 2
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/branch-fold.ll
Commit 9f17dab1f48eed788d29e4c6f045e64b0679b3a9 by lebedev.ri
[SimplifyCFG] Teach simplifyIndirectBr() to preserve DomTree
The file was modifiedllvm/test/Transforms/SimplifyCFG/indirectbr.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 0d2f219d4d0b4c61491508e6980055ecc241418c by lebedev.ri
[SimplifyCFG] Teach SimplifyEqualityComparisonWithOnlyPredecessor() to preserve DomTree, part 3
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch_thread.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit a815b6b2b2cc483cfe9d2b520790322a39f8d37b by lebedev.ri
[SimplifyCFG] Teach eliminateDeadSwitchCases() to preserve DomTree, part 1
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch-simplify-crash.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch-masked-bits.ll
Commit 8866583953f1e9038b5ca4ed4c199e0476790e0c by lebedev.ri
[SimplifyCFG] Teach FoldValueComparisonIntoPredecessors() to preserve DomTree, part 2
The file was modifiedllvm/test/Transforms/PGOProfile/chr.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/2008-12-16-DCECond.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch_switch_fold.ll
Commit e1440d43bca5438544a12bebe82a3cd1a37157f1 by lebedev.ri
[SimplifyCFG] Teach tryToSimplifyUncondBranchWithICmpInIt() to preserve DomTree
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch_create.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch_create-custom-dl.ll
Commit 831636b0e6321500fd7bf3f32e8663369152a956 by lebedev.ri
[SimplifyCFG] SUCCESS! Teach createUnreachableSwitchDefault() to preserve DomTree

This pretty much concludes patch series for updating SimplifyCFG
to preserve DomTree. All 318 dedicated `-simplifycfg` tests now pass
with `-simplifycfg-require-and-preserve-domtree=1`.

There are a few leftovers that apparently don't have good test coverage.
I do not yet know what gaps in test coverage will the wider-scale testing
reveal, but the default flip might be close.
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch-range-to-icmp.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 0d21e66014fc5cac1302a148e65d5ad6a41af37b by andrew.litteken
[IRSim] Letting call instructions be legal for similarity identification.

Here we let non-intrinsic calls be considered legal and valid for
similarity only if the call is not indirect, and has a name.

For two calls to be considered similar, they must have the same name,
the same function types, and the same set of parameters, including tail
calls and calling conventions.

Tests are found in unittests/Analysis/IRSimilarityIdentifierTest.cpp.

Reviewers: jroelofs, paquette

Differential Revision: https://reviews.llvm.org/D87312
The file was modifiedllvm/test/Transforms/IROutliner/illegal-calls.ll
The file was modifiedllvm/include/llvm/Analysis/IRSimilarityIdentifier.h
The file was modifiedllvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
The file was modifiedllvm/lib/Analysis/IRSimilarityIdentifier.cpp
Commit 57a46914f5c1efbdc130dc7a06f8d5b45d606f8d by andrew.litteken
[IRSim][IROutliner] Allowing call instructions to be outlined.

We add an extra check to make sure that we do not outline calls to
indirect functions, but outline whatever the IRSimilarityIdentifier
finds with respect to calls.

Tests:
Removing test/Transforms/IROutliner/illegal-calls.ll
Adding test/Transforms/IROutliner/outlining-calls.ll
Adding test/Transforms/IROutliner/illegal-indirect-calls.ll

Excluding DebugInfo this is the last patch for the initial
implementation of the IROutliner!

Reviewers: jroelofs, paquette

Differential Revision: https://reviews.llvm.org/D87314
The file was modifiedllvm/include/llvm/Transforms/IPO/IROutliner.h
The file was addedllvm/test/Transforms/IROutliner/outlining-calls.ll
The file was removedllvm/test/Transforms/IROutliner/illegal-calls.ll
The file was addedllvm/test/Transforms/IROutliner/illegal-indirect-calls.ll
Commit 89b0972aa2f58f927633c63570b36550a17f4e63 by nullptr.cpp
[Sema] Fix deleted function problem in implicitly movable test

In implicitly movable test, a two-stage overload resolution is performed.
If the first overload resolution selects a deleted function, Clang directly
performs the second overload resolution, without checking whether the
deleted function matches the additional criteria.

This patch fixes the above problem.

Reviewed By: Quuxplusone

Differential Revision: https://reviews.llvm.org/D92936
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was addedclang/test/CXX/class/class.init/class.copy.elision/p3.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
Commit d5324c052b21741d8d9f980d796604589b85c97a by nullptr.cpp
[clang-tidy][NFC] Fix a build warning due to an extra semicolon

Differential Revision: https://reviews.llvm.org/D93961
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyOptions.cpp
Commit da1bd953faafe433a6fa259641973866fc6d934c by aqjune
Precommit a test for D92015 (NFC)
The file was addedllvm/test/CodeGen/X86/select-prof-codegen.ll
Commit d9f306aa52fe233a711af2d5baa0d6536f164b10 by flo
[LV] Fix crash when generating remarks with multi-exit loops.

If DoExtraAnalysis is true (e.g. because remarks are enabled), we
continue with the analysis rather than exiting. Update code to
conditionally check if the ExitBB has phis or not a single predecessor.
Otherwise a nullptr is dereferenced with DoExtraAnalysis.
The file was addedllvm/test/Transforms/LoopVectorize/remarks-multi-exit-loops.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
Commit 4a17b9a39b706f267837375370950a029130354e by flo
[LAA] Add tests with uncomputable BTCs.
The file was modifiedllvm/test/Analysis/LoopAccessAnalysis/pointer-with-unknown-bounds.ll
The file was addedllvm/test/Analysis/LoopAccessAnalysis/uncomputable-backedge-taken-count.ll
Commit 890079ef18e1868e5b962675eeb9faac2b28d94e by flo
[LoopLoadElim] Add tests with uncomputable BTCs.
The file was addedllvm/test/Transforms/LoopLoadElim/uncomputable-backedge-taken-count.ll
Commit 068a23f05f94ae5573c885e832b3e6e95d298ac0 by flo
[LoopDistribute] Add tests with uncomputable BTCs.
The file was addedllvm/test/Transforms/LoopDistribute/uncomputable-backedge-taken-count.ll
Commit f4c39ccd2214800958d9dbd44d023d63f9891cba by Paul C. Anagnostopoulos
[TableGen] Continue cleaning up .td files

This pass includes LLVM and MLIR files.

Differential Revision: https://reviews.llvm.org/D93864
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/include/mlir/Dialect/ArmSVE/ArmSVE.td
The file was modifiedmlir/include/mlir/Dialect/Tosa/IR/TosaTypesBase.td
The file was modifiedllvm/include/llvm/Option/OptParser.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
The file was modifiedllvm/lib/Target/NVPTX/NVPTXIntrinsics.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsNVVM.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
Commit 13b1c9abaf46a7163bfc8fc0a765fbee051ccc80 by nikita.ppv
[CVP] Add tests for union of conditions (NFC)

We currently handle intersected conditions, but not unioned
conditions.
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/basic.ll
Commit 14e540febcdace3b650dba2b8bb0e770b90409ad by nikita.ppv
[LVI] Handle unions of conditions

LVI previously handled "if (L && R)" conditions, but not
"if (L || R)" conditions. The latter case can still produce
useful information if L and R both constrain the same variable.

This adds support for handling the "if (L || R)" case as well.
The only difference is that we take the union instead of the
intersection of the lattice values.
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/basic.ll
Commit 26680269e0ed17eb46e9bf10faa4116152608a51 by nikita.ppv
[InstSimplify] Add tests for gep p, -p without inbounds (NFC)

This is additional test coverage for D93820.
The file was modifiedllvm/test/Transforms/InstSimplify/gep.ll
Commit bf2a78fd4ae90e6d427cb6abe64108a047c90c05 by a.bataev
[SLP]Add a test for correct use of the reordered loads, NFC.
The file was addedllvm/test/Transforms/SLPVectorizer/X86/shrink_after_reorder.ll
Commit c182a000954de667f1e87055bf0329e5e6f52f1f by spatel
[Analysis] fix typo in code comment; NFC
The file was modifiedllvm/include/llvm/Analysis/IVDescriptors.h
Commit c74e8539ff372a89d08e7bfea7323a4dc2979d22 by spatel
[Analysis] flatten enums for recurrence types

This is almost all mechanical search-and-replace and
no-functional-change-intended (NFC). Having a single
enum makes it easier to match/reason about the
reduction cases.

The goal is to remove `Opcode` from reduction matching
code in the vectorizers because that makes it harder to
adapt the code to handle intrinsics.

The code in RecurrenceDescriptor::AddReductionVar() is
the only place that required closer inspection. It uses
a RecurrenceDescriptor and a second InstDesc to sometimes
overwrite part of the struct. It seem like we should be
able to simplify that logic, but it's not clear exactly
which cmp+sel patterns that we are trying to handle/avoid.
The file was modifiedllvm/lib/Analysis/IVDescriptors.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/include/llvm/Analysis/IVDescriptors.h
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/LoopUtils.h
The file was modifiedllvm/lib/CodeGen/ExpandReductions.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit ec9f2c3be070ec2fc4d45f13c70e68c8c0deafc2 by i
test/OpenMP/parallel_codegen.cpp: Allow multiple result attributes

On many targets the matched line is `define dso_local i32 @main` while
on ppc64 it is `define dso_local signext i32 @main`.
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
Commit f43daf1b62af25d066893af02b4f67b9b8dd524e by kazu
[SSAUpdater] Remove unused code InstrIsPHI (NFC)

The last use of this function was removed on Jan 4, 2018 in commit
commit 90ecac01e9dcbcaf92781a6dcffa07a27191b661.
The file was modifiedllvm/lib/Transforms/Utils/SSAUpdater.cpp
Commit bea8d021a32d871f43909f892c8069137fb34bfa by kazu
[llvm] Use *Map::lookup (NFC)
The file was modifiedllvm/lib/Support/CommandLine.cpp
The file was modifiedllvm/tools/llvm-objcopy/COFF/Object.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
The file was modifiedllvm/utils/TableGen/CodeGenRegisters.cpp
The file was modifiedllvm/utils/TableGen/CodeGenTarget.cpp
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchTree.h
Commit 9a90c4ea8a05959a08109cb876397447d7cd9c2d by kazu
[llvm] Use isa instead of dyn_cast (NFC)
The file was modifiedllvm/tools/llvm-nm/llvm-nm.cpp
The file was modifiedllvm/utils/TableGen/FixedLenDecoderEmitter.cpp
Commit e08fea3b240994572a4dd6b34bd846aef023a123 by lebedev.ri
[SimplifyCFGPass] Ensure that DominatorTreeWrapperPass is init'd before SimplifyCFG

It's probably better than hoping that it will happen to be
already initialized.
The file was modifiedllvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
Commit f1ce6960561bc28129fa3306f57a5c6df21258ab by lebedev.ri
[SimplifyCFG] Teach tryWidenCondBranchToCondBranch() to preserve DomTree
The file was modifiedllvm/test/Transforms/SimplifyCFG/wc-widen-block.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 657c1e09da9fb5e63b963fe8eeace01e42e7d3ba by lebedev.ri
[SimplifyCFG] Teach eliminateDeadSwitchCases() to preserve DomTree, part 2
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/switch-dead-default.ll
Commit db753269d912936d9ab27018faf867afce4b16de by lebedev.ri
[IR] PassManagerTest: Register DominatorTreeAnalysis before running SimplifyCFGPass

Otherwise these particular tests fail when SimplifyCFG requires DomTree
The file was modifiedllvm/unittests/IR/PassManagerTest.cpp
Commit 5fe0798dee6e2093aad7be11956c2bcaaf61dc8c by lebedev.ri
[Utils] LocalTest: fix SimplifyCFGWithNullAC test to work with `-simplifycfg-require-and-preserve-domtree=1`
The file was modifiedllvm/unittests/Transforms/Utils/LocalTest.cpp
Commit c38739ad8f10beb3144abcfebdcf50547328d346 by lebedev.ri
[NFC] clang-format the entire DwarfEHPrepare.cpp
The file was modifiedllvm/lib/CodeGen/DwarfEHPrepare.cpp
Commit e6b1a27fb9c71a9a81439917368a25ddc7d371a9 by lebedev.ri
[NFC][CodeGen] Split DwarfEHPrepare pass into an actual transform and an legacy-PM wrapper

This is consistent with the layout of other passes,
and simplifies further refinements regarding DomTree handling.

This is indended to be a NFC commit.
The file was modifiedllvm/lib/CodeGen/CodeGen.cpp
The file was modifiedllvm/lib/CodeGen/DwarfEHPrepare.cpp
The file was modifiedllvm/tools/opt/opt.cpp
The file was modifiedllvm/include/llvm/InitializePasses.h
Commit b23b1bcc26e775a4998a78b6fe256e8cb0e3e0d3 by lebedev.ri
[NFC][CodeGen][Tests] Mark all tests that fail to preserve DomTree for SimplifyCFG as such

These tests start to fail when the SimplifyCFG's default regarding DomTree
updating is switched on, so mark them as needing changes.
The file was modifiedllvm/test/CodeGen/X86/2012-01-10-UndefExceptionEdge.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/valu-i1.ll
The file was modifiedllvm/test/CodeGen/X86/2010-08-04-MingWCrash.ll
The file was modifiedllvm/test/CodeGen/Hexagon/cfi_offset.ll
The file was modifiedllvm/test/CodeGen/X86/code-model-kernel.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_pixelshader.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-reuse-phi-4.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/infinite-loop.ll
The file was modifiedllvm/test/CodeGen/X86/gcc_except_table-multi.ll
The file was modifiedllvm/test/CodeGen/ARM/2011-05-04-MultipleLandingPadSuccs.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ret_jump.ll
The file was modifiedllvm/test/CodeGen/Hexagon/packetize-allocframe.ll
The file was modifiedllvm/test/CodeGen/PowerPC/2007-11-16-landingpad-split.ll
The file was modifiedllvm/test/CodeGen/SPARC/exception.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/kill-infinite-loop.ll
The file was modifiedllvm/test/CodeGen/Hexagon/misaligned_double_vector_store_not_fast.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-if-dead.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/unstructured-cfg-def-use-issue.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/multi-divergent-exit-region.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cf-noloop.ll
The file was modifiedllvm/test/CodeGen/ARM/global-merge.ll
The file was modifiedllvm/test/CodeGen/X86/dwarf-eh-prepare.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mixed-wave32-wave64.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-epilog-phi10.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wave32.ll
The file was modifiedllvm/test/CodeGen/ARM/ehabi-filters.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-relaxation.ll
The file was modifiedllvm/test/CodeGen/ARM/2014-05-14-DwarfEHCrash.ll
The file was modifiedllvm/test/CodeGen/AArch64/pic-eh-stubs.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-lower-control-flow-unreachable-block.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-condition-and.ll
The file was modifiedllvm/test/CodeGen/ARM/arm-ttype-target2.ll
The file was modifiedllvm/test/CodeGen/X86/indirect-branch-tracking-eh2.ll
The file was modifiedllvm/test/CodeGen/ARM/dwarf-eh.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-order-deps3.ll
The file was modifiedllvm/test/CodeGen/X86/2007-05-05-Personality.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/update-phi.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/unigine-liveness-crash.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-exception.ll
The file was modifiedllvm/test/CodeGen/Hexagon/ehabi.ll
The file was modifiedllvm/test/CodeGen/Thumb2/2009-08-04-CoalescerBug.ll
The file was modifiedllvm/test/CodeGen/X86/basic-block-sections-eh.ll
The file was modifiedllvm/test/CodeGen/ARM/setjmp_longjmp.ll
Commit 2461cdb41724298591133c811df82b0064adfa6b by lebedev.ri
[CodeGen][SimplifyCFG] Teach DwarfEHPrepare to preserve DomTree

Once the default for SimplifyCFG flips, we can no longer pass nullptr
instead of DomTree to SimplifyCFG, so we need to propagate it here.

We don't strictly need to actually preserve DomTree in DwarfEHPrepare,
but we might as well do it, since it's trivial.
The file was modifiedllvm/test/CodeGen/PowerPC/aix-exception.ll
The file was modifiedllvm/test/CodeGen/AArch64/pic-eh-stubs.ll
The file was modifiedllvm/test/CodeGen/Hexagon/packetize-allocframe.ll
The file was modifiedllvm/test/CodeGen/X86/basic-block-sections-eh.ll
The file was modifiedllvm/test/CodeGen/X86/2012-01-10-UndefExceptionEdge.ll
The file was modifiedllvm/test/CodeGen/X86/indirect-branch-tracking-eh2.ll
The file was modifiedllvm/test/CodeGen/ARM/global-merge.ll
The file was modifiedllvm/test/CodeGen/X86/2007-05-05-Personality.ll
The file was modifiedllvm/test/CodeGen/X86/dwarf-eh-prepare.ll
The file was modifiedllvm/test/CodeGen/X86/2010-08-04-MingWCrash.ll
The file was modifiedllvm/lib/CodeGen/DwarfEHPrepare.cpp
The file was modifiedllvm/test/CodeGen/ARM/2014-05-14-DwarfEHCrash.ll
The file was modifiedllvm/test/CodeGen/ARM/arm-ttype-target2.ll
The file was modifiedllvm/test/CodeGen/ARM/2011-05-04-MultipleLandingPadSuccs.ll
The file was modifiedllvm/test/CodeGen/SPARC/exception.ll
The file was modifiedllvm/test/CodeGen/ARM/dwarf-eh.ll
The file was modifiedllvm/test/CodeGen/X86/gcc_except_table-multi.ll
The file was modifiedllvm/test/CodeGen/ARM/ehabi-filters.ll
The file was modifiedllvm/test/CodeGen/X86/code-model-kernel.ll
The file was modifiedllvm/test/CodeGen/Hexagon/cfi_offset.ll
The file was modifiedllvm/test/CodeGen/Hexagon/ehabi.ll
The file was modifiedllvm/test/CodeGen/PowerPC/2007-11-16-landingpad-split.ll
The file was modifiedllvm/test/CodeGen/ARM/setjmp_longjmp.ll
Commit b4429f3cdd1a8511bd014877b22d9679c4a74dbd by lebedev.ri
[SimplifyCFG] Teach removeUndefIntroducingPredecessor to preserve DomTree
The file was modifiedllvm/test/CodeGen/Hexagon/swp-order-deps3.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/CodeGen/Hexagon/swp-reuse-phi-4.ll
The file was modifiedllvm/test/CodeGen/Hexagon/misaligned_double_vector_store_not_fast.ll
The file was modifiedllvm/test/CodeGen/Hexagon/swp-epilog-phi10.ll
The file was modifiedllvm/test/CodeGen/Thumb2/2009-08-04-CoalescerBug.ll
Commit 4b80647367950ba3da6a08260487fd0dbc50a9c5 by lebedev.ri
[AMDGPU][SimplifyCFG] Teach AMDGPUUnifyDivergentExitNodes to preserve {,Post}DomTree

This is a (last big?) part of the patch series to make SimplifyCFG
preserve DomTree. Currently, it still does not actually preserve it,
even thought it is pretty much fully updated to preserve it.

Once the default is flipped, a valid DomTree must be passed into
simplifyCFG, which means that whatever pass calls simplifyCFG,
should also be smart about DomTree's.

As far as i can see from `check-llvm` with default flipped,
this is the last LLVM test batch (other than bugpoint tests)
that needed fixes to not break with default flipped.

The changes here are boringly identical to the ones i did
over 42+ times/commits recently already,
so while AMDGPU is outside of my normal ecosystem,
i'm going to go for post-commit review here,
like in all the other 42+ changes.

Note that while the pass is taught to preserve {,Post}DomTree,
it still doesn't do that by default, because simplifycfg
still doesn't do that by default, and flipping default
in this pass will implicitly flip the default for simplifycfg.
That will happen, but not right now.
The file was modifiedllvm/test/CodeGen/AMDGPU/multi-divergent-exit-region.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/infinite-loop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-if-dead.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_pixelshader.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/update-phi.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/valu-i1.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-condition-and.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-relaxation.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/unigine-liveness-crash.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/kill-infinite-loop.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/mixed-wave32-wave64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-lower-control-flow-unreachable-block.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/unstructured-cfg-def-use-issue.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ret_jump.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cf-noloop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wave32.ll
Commit 20670ba44066df0aae536822b7f7834ee3198c0d by i
[compiler-rt][test] Suppress stderr of ldd output
The file was modifiedcompiler-rt/test/lit.common.cfg.py
Commit 34489da81b39972b40d2ff5581fe48911339406e by i
[sanitizer] Enable mallopt and mallinfo interceptors on Android after D93848

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D93970
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
Commit e4337159e3d1c70b1ec58f43fa59c9f0fd693e51 by kai.wang
[NFC][RISCV] Move vmsge{u}.vx processing to RISCVAsmParser.

We could expand vmsge{u}.vx pseudo instructions in RISCVAsmParser.
It is more appropriate to expand it before encoding.

Differential Revision: https://reviews.llvm.org/D93968
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
The file was modifiedllvm/test/MC/RISCV/rvv/compare.s
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
Commit 3bcca6b12d4cbe9d4571e799899e9b956e4711bf by uday
[MLIR] Fix affine_map compose with multi-symbols

Fix bug: https://bugs.llvm.org/show_bug.cgi?id=46845

Differential Revision: https://reviews.llvm.org/D93831
The file was modifiedmlir/test/Dialect/Affine/canonicalize.mlir
The file was modifiedmlir/lib/IR/AffineMap.cpp
Commit 471dec3801b32d8b9428f6341accb649ef6cda56 by nullptr.cpp
[CodeGen][NFC] Fix a build warning due to an extra semicolon
The file was modifiedllvm/lib/CodeGen/DwarfEHPrepare.cpp
Commit fc3f53fcda1adf8720462ba4c45406860514c1b2 by thakis
[gn build] (manually) port 5e31e226b5: Use Py3 for the build

Made necessary by 20670ba440, the first Py3-only change.
The file was modifiedllvm/utils/gn/.gn
Commit 568824798f658b8dc9ee7f97de6a1178a61e807a by thakis
fix typo to cycle bots
The file was modifiedlld/MachO/UnwindInfoSection.cpp
Commit c8dedfe269b1cca34d811ef60162a47db6b88cfc by thakis
fix typos to cycle bots
The file was modifiedllvm/lib/DebugInfo/CodeView/RecordSerialization.cpp
The file was modifiedllvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp
The file was modifiedllvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp
The file was modifiedllvm/lib/DebugInfo/CodeView/LazyRandomTypeCollection.cpp
Commit b4c5e19da74773b86662cbe5a7437f72116f3615 by thakis
Temporarily disable to clang-tidy tests on Windows

They fail at least on my Win bot after switching it to Py3.
See PR48646 for details.
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-ignored-regexp.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-macro-usage-custom.cpp
Commit f4ea21947d907c8730fef2be8fbad457f1d96a0e by lebedev.ri
[NFCI][CodeGen] DwarfEHPrepare: don't actually pass DTU into simplifyCFG by default

also, don't verify DomTree unless we intend to maintain it.
This is a very dumb think-o, i guess i was even warned about it
by subconsciousness in 4b80647367950ba3da6a08260487fd0dbc50a9c5's
commit message..

Fixes a compile-time regression reported by Martin Storsjö
in post-commit review of 2461cdb41724298591133c811df82b0064adfa6b.
The file was modifiedllvm/lib/CodeGen/DwarfEHPrepare.cpp
Commit b9da488ad729a6604439d1b5e456330bab9321bd by lebedev.ri
[SimplifyCFG] Don't actually take DomTreeUpdater unless we intend to maintain DomTree validity

This guards against unintentional mistakes
like the one i just fixed in previous commit.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit d8af31006351c9f441d73d4b6c5ea6d109f3d4f1 by gil.rapaport
[LV] Add missed optimization fold-tail test

The loop vectorizer avoids folding the tail for loop's whose trip-count is
known to SCEV to be divisible by VF. In this case the assumption providing this
information is not taken into account, so the tail is needlessly folded.
The file was addedllvm/test/Transforms/LoopVectorize/dont-fold-tail-for-assumed-divisible-TC.ll
Commit c50f9b2351eca8642a5a816abb7062469131eb33 by flo
[LV] Clean up trailing whitespace (NFC).

Clean up some stray whitespace that sneaked in recently.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit f7f42e64dfa287479e97fb0ddd3212b953622819 by kazu
[TableGen] Use llvm::append_range (NFC)
The file was modifiedllvm/utils/TableGen/RegisterInfoEmitter.cpp
The file was modifiedllvm/utils/TableGen/CodeGenTarget.cpp
The file was modifiedllvm/utils/TableGen/SubtargetEmitter.cpp
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
The file was modifiedllvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
The file was modifiedllvm/utils/TableGen/CodeGenSchedule.cpp
The file was modifiedllvm/utils/TableGen/FixedLenDecoderEmitter.cpp
Commit 171c5fd43ecf46d5798b402c8cafccab07060e10 by kazu
[llvm] Use llvm::erase_value and llvm::erase_if (NFC)
The file was modifiedllvm/lib/CodeGen/WinEHPrepare.cpp
The file was modifiedllvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
The file was modifiedllvm/tools/llvm-yaml-numeric-parser-fuzzer/yaml-numeric-parser-fuzzer.cpp
The file was modifiedllvm/tools/llvm-yaml-parser-fuzzer/yaml-parser-fuzzer.cpp
Commit 530c5af6a4810b54b6a82e4cbf0575ac67722cc9 by kazu
[Transforms] Construct SmallVector with iterator ranges (NFC)
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopFuse.cpp
Commit d9ba8142c9a44a025c9816a8dc4a015ad8baec6a by pavel
[lldb/test] Deduplicate the rest of TestLldbGdbServer.py
The file was modifiedlldb/test/API/tools/lldb-server/TestLldbGdbServer.py
Commit 54a1c861ca7a9e15d23904e1e702ac7e868882b0 by pavel
[lldb] Deduplicate more lldb-server tests

Use auto-generation of lldb-server&debugserver variants.
The file was modifiedlldb/test/API/tools/lldb-server/TestGdbRemote_vCont.py
The file was modifiedlldb/test/API/tools/lldb-server/TestGdbRemote_vContThreads.py
The file was modifiedlldb/test/API/tools/lldb-server/commandline/TestStubSetSID.py
The file was modifiedlldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py
The file was modifiedlldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py
Commit d5317b41c5857df4d4b2a382abcd58b81d2dcb18 by mgorny
[Process/NetBSD] Copy changes from FreeBSDRemote and reformat

Copy changes, including:

- NativeProcessNetBSD::GetLoadedModuleFileSpec()
  and NativeProcessNetBSD::GetFileLoadAddress() methods

- split x86 register sets by CPU extensions

- use offset/size-based register reading/writing

Differential Revision: https://reviews.llvm.org/D93541
The file was modifiedlldb/test/API/tools/lldb-server/TestLldbGdbServer.py
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
The file was modifiedlldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.h
The file was modifiedlldb/test/API/tools/lldb-server/registers-target-xml-reading/TestGdbRemoteTargetXmlPacket.py
Commit 8f004471c2a50f0bc03731ebec32aa30de68b61f by bdragon
[PowerPC] Add the LLVM triple for powerpcle [1/5]

Add a triple for powerpcle-*-*.

This is a little-endian encoding of the 32-bit PowerPC ABI, useful in certain niche situations:

1) A loader such as the FreeBSD loader which will be loading a little endian kernel. This is required for PowerPC64LE to load properly in pseries VMs.
Such a loader is implemented as a freestanding ELF32 LSB binary.

2) Userspace emulation of a 32-bit LE architecture such as x86 on 64-bit hosts such as PowerPC64LE with tools like box86 requires having a 32-bit LE toolchain and library set, as they operate by translating only the main binary and switching to native code when making library calls.

3) The Void Linux for PowerPC project is experimenting with running an entire powerpcle userland.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D93918
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.cpp
The file was modifiedllvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
The file was modifiedllvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
The file was modifiedllvm/include/llvm/ADT/Triple.h
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/unittests/ADT/TripleTest.cpp
The file was modifiedllvm/lib/Support/Triple.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.h
The file was modifiedllvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetMachine.cpp
The file was modifiedllvm/cmake/config.guess
Commit 696bd3073fd2fb5b01b88115bddff394c4b44ad5 by bdragon
[PowerPC] Support powerpcle target in LLVMObject [2/5]

Add object file handling for powerpcle-*-*.

Adjust tests.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D93916
The file was modifiedllvm/test/tools/llvm-objdump/ELF/PowerPC/branch-offset.s
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-output-target.test
The file was modifiedllvm/unittests/Object/ELFObjectFileTest.cpp
The file was modifiedllvm/include/llvm/Object/ELFObjectFile.h
The file was modifiedllvm/lib/Object/RelocationResolver.cpp
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/cross-arch-headers.test
Commit 6cee9d0cf896d83fa8f87b7f8d67ae2dfdbc1bf9 by bdragon
[PowerPC] Support powerpcle target in Clang [3/5]

Add powerpcle support to clang.

For FreeBSD, assume a freestanding environment for now, as we only need it in the first place to build loader, which runs in the OpenFirmware environment instead of the FreeBSD environment.

For Linux, recognize glibc and musl environments to match current usage in Void Linux PPC.

Adjust driver to match current binutils behavior regarding machine naming.

Adjust and expand tests.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D93919
The file was modifiedclang/lib/Driver/ToolChain.cpp
The file was modifiedclang/test/Driver/ppc-endian.c
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/lib/Basic/Targets.cpp
The file was modifiedclang/lib/Driver/ToolChains/FreeBSD.cpp
The file was modifiedclang/test/CodeGen/ppc32-and-aix-struct-return.c
The file was modifiedclang/test/Driver/ppc-features.cpp
The file was modifiedclang/test/CodeGen/target-data.c
The file was modifiedclang/test/CodeGen/builtins-ppc-altivec.c
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/test/Driver/linux-header-search.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/test/CodeGen/altivec.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Basic/Targets/OSTargets.h
The file was modifiedclang/lib/Basic/Targets/PPC.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp
The file was modifiedclang/lib/Basic/Targets/PPC.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
Commit 275eb8289c43665bc4ce873535f9960322d16c07 by bdragon
[PowerPC] Support powerpcle target in LLD [4/5]

Add support for linking powerpcle code in LLD.

Rewrite lld/test/ELF/emulation-ppc.s to use a shared check block and add powerpcle tests.

Update tests.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D93917
The file was modifiedlld/ELF/ScriptParser.cpp
The file was modifiedlld/test/ELF/emulation-ppc.s
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/test/ELF/ppc32-reloc-rel.s
The file was modifiedlld/test/ELF/ppc32-gnu-ifunc.s
Commit 2288319733cd5f525bf7e24dece08bfcf9d0ff9e by bdragon
[PowerPC] Enable OpenMP for powerpcle target. [5/5]

Enable OpenMP for powerpcle to match the rest of powerpc*.

Update tests.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D92445
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedllvm/lib/Frontend/OpenMP/OMPContext.cpp
The file was modifiedclang/test/Driver/ppc-features.cpp
Commit 4c77a0f1ce6f950805f567ff6505f7c18e62e288 by bdragon
[PowerPC] NFC: Apply minor clang-format fix
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp
Commit 7af6a134508cd1c7f75c6e3441ce436f220f30a4 by n.james93
[NFC] Switch up some dyn_cast calls
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/SwapIfBranches.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/DumpAST.cpp
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/RemoveUsingNamespace.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExtractVariable.cpp
Commit 01f0d162d672c02b7207e0b3a6c494c4d0ea513d by hoy
Moving UniqueInternalLinkageNamesPass to the start of IR pipelines.

`UniqueInternalLinkageNamesPass` is useful to CSSPGO, especially when pseudo probe is used. It solves naming conflict for static functions which otherwise will share a merged profile and likely have a profile quality issue with mismatched CFG checksums. Since the pseudo probe instrumentation happens very early in the pipeline, I'm moving `UniqueInternalLinkageNamesPass` right before it. This is being done only to the new pass manager.

Reviewed By: dblaikie, aeubanks

Differential Revision: https://reviews.llvm.org/D93656
The file was addedllvm/test/Transforms/UniqueLinkageNames/unique-internal-linkage-names.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was addedllvm/test/Other/new-pm-pseudo-probe.ll
The file was modifiedllvm/tools/opt/NewPMDriver.cpp
The file was modifiedllvm/include/llvm/Passes/PassBuilder.h
Commit 7c8b8063b66c7b936d41a0c4069c506669e13115 by lebedev.ri
[SimplifyCFG][AMDGPU] AMDGPUUnifyDivergentExitNodes: SimplifyCFG isn't ready to preserve PostDomTree

There is a number of transforms in SimplifyCFG that take DomTree out of
DomTreeUpdater, and do updates manually. Until they are fixed,
user passes are unable to claim that PDT is preserved.

Note that the default for SimplifyCFG is still not to preserve DomTree,
so this is still effectively NFC.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 19ab1817b61d3b716f69f78f727de8bd8887f53f by lebedev.ri
[llvm-reduce] Fix removal of unused llvm intrinsics declarations

ee6e25e4391a6d3ac0a3c89615474e512f44cda6 changed
the delta pass to skip intrinsics, which means we may end up being
left with declarations of intrinsics, that aren't otherwise referenced
in the module. This is obviously unwanted, do drop them.
The file was addedllvm/test/Reduce/remove-unused-declarations.ll
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp
Commit 5799fc79c3fdbc81dd421afae38197009ad605c9 by lebedev.ri
[llvm-reduce] Refactor global variable delta pass

The limitation of the current pass that it skips initializer-less GV's
seems arbitrary, in all the reduced cases i (personally) looked at,
the globals weren't needed, yet they were kept.

So let's do two things:
1. allow reducing initializer-less globals
2. before reducing globals, reduce their initializers, much like we do function bodies
The file was modifiedllvm/tools/llvm-reduce/CMakeLists.txt
The file was modifiedllvm/tools/llvm-reduce/DeltaManager.h
The file was modifiedllvm/test/Reduce/remove-global-vars.ll
The file was removedllvm/test/Reduce/Inputs/remove-global-vars.py
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
The file was addedllvm/tools/llvm-reduce/deltas/ReduceGlobalVarInitializers.h
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceGlobalVars.h
The file was addedllvm/tools/llvm-reduce/deltas/ReduceGlobalVarInitializers.cpp
Commit eda50309f5930d249fef4747efb9a047d239ba05 by lebedev.ri
[NFC][SimplifyCFG] Add test for switch creation where we fail to maintain DomTree

Reduced from vanilla test-suite
The file was addedllvm/test/Transforms/SimplifyCFG/FoldValueComparisonIntoPredecessors-domtree-preservation-edgecase.ll
Commit 6a3a8d17ebae0669e797ac22a2b2963b89ee12fa by lebedev.ri
[SimplifyCFG] FoldValueComparisonIntoPredecessors(): fine-tune/fix DomTree preservation
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/FoldValueComparisonIntoPredecessors-domtree-preservation-edgecase.ll
Commit a0013934b6a194f0ecc4d98118920326b12d07a0 by lebedev.ri
[NFC][SimplifyCFG] Add another test for switch creation where we fail to maintain DomTree
The file was addedllvm/test/Transforms/SimplifyCFG/FoldValueComparisonIntoPredecessors-domtree-preservation-edgecase-2.ll
Commit 5fa241a6571c79c1cd0c0d9e7f87e5e361e2dab4 by lebedev.ri
[SimplifyCFG] FoldValueComparisonIntoPredecessors(): fine-tune/fix DomTree preservation, take 2
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/test/Transforms/SimplifyCFG/FoldValueComparisonIntoPredecessors-domtree-preservation-edgecase-2.ll
Commit 835bdd17761293486a63e6b38a94059ba48ac0fc by llvmgnsyncbot
[gn build] Port 5799fc79c3f
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn
Commit a554cd6ae5bc24627b959b00288754712879d822 by Lang Hames
[RuntimeDyld] Fix dangling reference in RuntimeDyldELF.

Patch by Moritz Sichert. Thanks Moritz!

Differential Revision: https://reviews.llvm.org/D89373
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
Commit fe9976c02c09f105751f787ec998abeb3414a235 by thakis
Revert "[sanitizer] Define SANITIZER_GLIBC to refine SANITIZER_LINUX feature detection and support musl"

...and follow-ups. It still doesn't build on Android, see https://reviews.llvm.org/D93848#2476310

This reverts commit a92d01534f1c4fb79210975573e774d0393f2533.
This reverts commit 52d7e183bf25ea38e1149e39e19d21e6212e701f.
This reverts commit 34489da81b39972b40d2ff5581fe48911339406e.
The file was modifiedcompiler-rt/cmake/Modules/AddCompilerRT.cmake
The file was modifiedcompiler-rt/lib/asan/asan_interceptors.h
The file was modifiedcompiler-rt/lib/msan/tests/msan_test.cpp
The file was modifiedcompiler-rt/lib/interception/interception_linux.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
The file was modifiedcompiler-rt/lib/interception/interception_linux.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
The file was modifiedcompiler-rt/lib/asan/tests/asan_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
Commit f5f7ff8d0faacf4813e38081e551b9ab6cdc76ae by a.v.lapshin
[dsymutil][DWARFLinker][NFC] Refactor usages of UniquingStringPool.

That refactoring is helpful since it reduces data inter-dependencies.
Which is good for current implementation and even more good for
fully multi-thread implementation. The idea of the refactoring
is to delete UniquingStringPool from the global DWARFLinker level.
It is used to unique type names while ODR deduplication is done.
Thus we move UniquingStringPool into the DeclContextTree which
matched to UniquingStringPool usage scope.

golden-dsymutil/dsymutil 23787992
clang MD5: 7d9873ff94f0246b6ab1ec3e8d0f3f06

build-Release/bin/dsymutil 23921272
clang MD5: 7d9873ff94f0246b6ab1ec3e8d0f3f06

Differential Revision: https://reviews.llvm.org/D93460
The file was modifiedllvm/lib/DWARFLinker/DWARFLinkerDeclContext.cpp
The file was modifiedllvm/include/llvm/DWARFLinker/DWARFLinker.h
The file was modifiedllvm/lib/DWARFLinker/DWARFLinker.cpp
The file was modifiedllvm/include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h
The file was modifiedllvm/include/llvm/DWARFLinker/DWARFLinkerDeclContext.h
Commit d9c0b128e3543d5d30f43019257bfd96ce4cdcd1 by gil.rapaport
[SCEV] Simplify trunc to zero based on known bits

Let getTruncateExpr() short-circuit to zero when the value being truncated is
known to have at least as many trailing zeros as the target type.

Differential Revision: https://reviews.llvm.org/D93973
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/test/Analysis/ScalarEvolution/trunc-simplify.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/dont-fold-tail-for-assumed-divisible-TC.ll
Commit c5a7e75eb6b5129967f9b936425e5fd9633a42f5 by aqjune
Update *-inseltpoison.ll tests at Transforms/InstCombine/X86 by replacing undef with poison (NFC)
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-vector-shifts-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-vpermil-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-sse4a-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-pack-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-pshufb-inseltpoison.ll
Commit 1fc992bd864aa7e73615a47e72e82e2cf7ac73ef by aqjune
[Scalarizer] Use poison as insertelement's placeholder

This patch makes Scalarizer to use poison as insertelement's placeholder.

It contains two changes in Scalarizer.cpp, and the both changes does not change the semantics of the optimized program.
It is because the placeholder value (poison) is already completely hidden by following insertelement instructions.

The first change at visitBitCastInst() creates poison vector of MidTy and consecutively inserts FanIn times,
which is # of elems of MidTy.
The second change at ScalarizerVisitor::finish() creates poison with Op->getType(), and it is filled with
Count insertelements.

The test diffs show that the poison value is never exposed after insertelements.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D93989
The file was modifiedllvm/lib/Transforms/Scalar/Scalarizer.cpp
The file was modifiedllvm/test/Transforms/Scalarizer/variable-insertelement.ll
The file was modifiedllvm/test/Transforms/Scalarizer/basic.ll
The file was modifiedllvm/test/Transforms/Scalarizer/order-bug.ll
The file was modifiedllvm/test/Transforms/Scalarizer/order-bug-inseltpoison.ll
The file was modifiedllvm/test/Transforms/Scalarizer/constant-insertelement.ll
The file was modifiedllvm/test/Transforms/Scalarizer/basic-inseltpoison.ll
The file was modifiedllvm/test/Transforms/Scalarizer/scatter-order.ll
The file was modifiedllvm/test/Transforms/Scalarizer/intrinsics.ll
The file was modifiedllvm/test/Transforms/Scalarizer/variable-extractelement.ll
Commit 578c5a0c6e71b0a7b31b3af69ec6fcb176291572 by flo
[ArgPromotion] Add test with dead GEP when promoting.

This adds test coverage for the case where we do argument promotion and
there's a dead GEP that should be removed/ignored.
The file was addedllvm/test/Transforms/ArgumentPromotion/aggregate-promote-dead-gep.ll
Commit 2139958b53440074fcab9bb2de15e6ec13cc18eb by aqjune
[InstSimplify] Return poison if insertelement touches out of bounds

This is a simple patch that updates InstSimplify to return poison if the index is/can be out-of-bounds

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D93990
The file was modifiedllvm/test/Transforms/InstCombine/vector_insertelt_shuffle.ll
The file was modifiedllvm/test/Transforms/InstCombine/out-of-bounds-indexes.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstCombine/vector_insertelt_shuffle-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstSimplify/insertelement.ll
The file was modifiedllvm/test/Transforms/InstSimplify/vscale-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstSimplify/vscale.ll
Commit 858b99d774f10fb59a3d9ddb8bcc7dc040490e39 by nikita.ppv
[InstSimplify] Regenerate test checks (NFC)
The file was modifiedllvm/test/Transforms/InstSimplify/undef.ll
The file was modifiedllvm/test/Transforms/InstSimplify/2011-09-05-InsertExtractValue.ll
Commit 49c2d703d344e8d259a4aee38c8ade1df34bc54a by aqjune
[X86] Make deinterleave8bitStride3 use unary CreateShuffleVector

This patch makes X86InterleavedAccessGroup::deinterleave8bitStride3 use the unary CreateShuffleVector.

This is a continuation of D93923. There were a few missing replacements.

IIUC, this patch does not cause change in the generated programs' semantics because the
function inserts shufflevectors that only choose elements from the first vector.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D93993
The file was modifiedllvm/test/Transforms/InterleavedAccess/X86/interleavedLoad-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InterleavedAccess/X86/interleavedStore-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InterleavedAccess/X86/interleavedStore.ll
The file was modifiedllvm/lib/Target/X86/X86InterleavedAccess.cpp
The file was modifiedllvm/test/Transforms/InterleavedAccess/X86/interleavedLoad.ll
Commit c6ad00d709853e378cd70e34e755942f9d6f0c8f by nikita.ppv
[InstSimplify] Return poison for out of bounds extractelement

This is the same change as D93990, but for extractelement rather
than insertelement.

> If idx exceeds the length of val for a fixed-length vector, the
> result is a poison value. For a scalable vector, if the value of
> idx exceeds the runtime length of the vector, the result is a
> poison value.
The file was modifiedllvm/test/Transforms/InstSimplify/vscale.ll
The file was modifiedllvm/test/Transforms/InstSimplify/vscale-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/extractelement-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstSimplify/extract-element.ll
The file was modifiedllvm/test/Transforms/InstCombine/extractelement.ll
The file was modifiedllvm/test/Transforms/InstSimplify/2011-09-05-InsertExtractValue.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/undef.ll
Commit f094d65beaa492e845b03561eddd75b5be653a01 by nikita.ppv
[InstSimplify] Fix addo/subo with undef (PR43188)

We can't fold the first result to undef, because not all values
may be reachable under the constraint that no overflow occurred.
Use the same folds we do for saturated math instead.

Proofs:
uaddo: https://alive2.llvm.org/ce/z/zf55N_
saddo: https://alive2.llvm.org/ce/z/a_xPgS
usubo: https://alive2.llvm.org/ce/z/DmRqwt
ssubo: https://alive2.llvm.org/ce/z/8ag7U-
The file was modifiedllvm/test/Transforms/InstCombine/with_overflow.ll
The file was modifiedllvm/test/Transforms/InstSimplify/call.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit 985f899bf2cc70aeb383a46c6a84aa634677bca2 by kazu
[Target] Use llvm::append_range (NFC)
The file was modifiedllvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600MachineScheduler.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineScheduler.cpp
The file was modifiedllvm/lib/Target/BPF/BPFAdjustOpt.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
Commit 0e219b6443b2a1359cf0096e96b1e74eb60613fc by kazu
[Target] Construct SmallVector with iterator ranges (NFC)
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
Commit ba82c0b3157b7397c938215b6a0582acc324c760 by kazu
[llvm] Call *(Set|Map)::erase directly (NFC)

We can erase an item in a set or map without checking its membership
first.
The file was modifiedllvm/lib/Transforms/Scalar/GVNSink.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/lib/Transforms/IPO/IROutliner.cpp
The file was modifiedllvm/lib/Analysis/AssumptionCache.cpp
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
Commit 766cf7f32e4f0974dbccd9771317a102533aa0df by nikita.ppv
[InstSimplify] Fold division by zero to poison

Div/rem by zero is immediate undefined behavior and anything goes.
Currently we fold it to undef, this patch changes it to fold to
poison instead, which is slightly stronger.

Differential Revision: https://reviews.llvm.org/D93995
The file was modifiedllvm/test/Transforms/InstCombine/vector-udiv.ll
The file was modifiedllvm/test/Transforms/InstCombine/div.ll
The file was modifiedllvm/test/Transforms/InstCombine/vector-urem.ll
The file was modifiedllvm/test/Transforms/InstCombine/add-shl-sdiv-to-srem.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/alternate-int-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/sdiv-exact-by-power-of-two.ll
The file was modifiedllvm/test/Transforms/InstSimplify/rem.ll
The file was modifiedllvm/test/Transforms/InstCombine/sdiv-exact-by-negative-power-of-two.ll
The file was modifiedllvm/test/Transforms/InstCombine/icmp-div-constant.ll
The file was modifiedllvm/test/Transforms/InstCombine/shift.ll
The file was modifiedllvm/test/Transforms/InstSimplify/undef.ll
The file was modifiedllvm/test/Transforms/InstSimplify/div.ll
The file was modifiedllvm/test/Transforms/InstCombine/inselt-binop-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstCombine/rem.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstCombine/inselt-binop.ll
Commit edb52c626b5340a5a42ed833fc776bc815507283 by flo
[LoopUnswitch] Precommit initial partial unswitching test cases.
The file was addedllvm/test/Transforms/LoopUnswitch/partial-unswitch.ll
Commit 3715c99be9dcde1421f2365a59ab2bc433993d7c by nikita.ppv
[InstSimplify] Fold nnan/ninf violation to poison

As the comment already indicates, performing an operation with
nnan/ninf flags on a nan/inf or undef results in poison. Now that
we have a proper poison value, we no longer need to relax it to
undef.
The file was modifiedllvm/test/Transforms/InstSimplify/fp-nan.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/fp-undef-poison.ll
Commit 4fc908025fd003a7517e392f35389364fb60500d by lebedev.ri
[NFC][SimplifyCFG] Add a test where we fail to preserve DomTree validity
The file was addedllvm/test/Transforms/SimplifyCFG/SimplifyTerminatorOnSelect-domtree-preservation-edgecase.ll
Commit 70935b9595a410794882d043726a1aad38d44ebd by lebedev.ri
[NFC][SimplifyCFG] SimplifyTerminatorOnSelect(): pull out OldTerm->getParent() into a variable
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit a7684940f0e4eafb1bafc75cfb0e620ee358abd4 by lebedev.ri
[SimplifyCFG] SimplifyTerminatorOnSelect(): fix/tune DomTree updates

We only need to remove non-TrueBB/non-FalseBB successors,
and we only need to do that once. We don't need to insert
any new edges, because no new successors will be added.
The file was modifiedllvm/test/Transforms/SimplifyCFG/SimplifyTerminatorOnSelect-domtree-preservation-edgecase.ll
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 98cd1c33e3c2c3cfee36fb0fea3285fda06224d3 by lebedev.ri
[NFC][SimplifyCFG] Hoist 'original' DomTree verification from simplifyOnce() into run()

This is NFC since SimplifyCFG still currently defaults to not preserving DomTree.

SimplifyCFGOpt::simplifyOnce() is only be called from SimplifyCFGOpt::run(),
and can not be called externally, since SimplifyCFGOpt is defined in .cpp
This avoids some needless verifications, and is thus a bit faster
without sacrificing precision.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 59810c51e761f241f23f45a120d5c3518983d2d8 by n.james93
[clang-tidy] Fix windows tests

Attempt to fix the 2 failing tests identifier in 48646.
Appears that python3 doesn't like nested double quotes in single quoted strings, hopefully nested single quotes in double quoted strings is a-ok.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D93979
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-macro-usage-custom.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-ignored-regexp.cpp
Commit 6988f7a6f4a78a2235a8132e10582ebf7aba9752 by jan.kratochvil
[compiler-rt] [Sanitizers] Extend ThreadDescriptorSize() for glibc-2.32-2.fc33.x86_64+i686

before:
  $ echo 'int main(){}'|clang -g -fsanitize=leak -x c++ -;./a.out
  Tracer caught signal 11: addr=0x7f4f73da5f40 pc=0x4222c8 sp=0x7f4f72cffd40
  ==1164171==LeakSanitizer has encountered a fatal error.
  ==1164171==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
  ==1164171==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)
  $ _

after:
  $ echo 'int main(){}'|clang -g -fsanitize=leak -x c++ -;./a.out)
  $ _

I haven't verified the size cannot be affected by Fedora patches of
upstream glibc-2.32 - but I do not expect upstream glibc-2.32 would have
the last sizes `(1216, 2304)` from 2013 around glibc-2.12.

Differential Revision: https://reviews.llvm.org/D93386
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
Commit 6280bc1cc34ad67c4297b2da1ff3920f410e6894 by joshisameeran17
[Flang][openmp][5.0] Add task_reduction clause.

See OMP-5.0 2.19.5.5 task_reduction Clause.
To add a positive test case we need `taskgroup` directive which is not added hence skipping the test.
This is a dependency for `taskgroup` construct.

Reviewed By: clementval

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

Co-authored-by: Valentin Clement <clementval@gmail.com>
The file was modifiedflang/lib/Semantics/check-omp-structure.h
The file was modifiedflang/lib/Parser/openmp-parsers.cpp
The file was modifiedflang/include/flang/Parser/parse-tree.h
The file was modifiedflang/lib/Parser/unparse.cpp
The file was modifiedflang/lib/Semantics/check-omp-structure.cpp
The file was modifiedflang/test/Semantics/omp-clause-validity01.f90
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMP.td
Commit 05e6ac4eb811f332ece873381561b0fad0974256 by andrew.litteken
[IROutliner] Removing a duplicate addition, causing overestimates in IROutliner.

There was an extra addition left over from a previous commit for the
cost model, this removes it.
The file was modifiedllvm/test/Transforms/IROutliner/outlining-different-structure.ll
The file was modifiedllvm/test/Transforms/IROutliner/opt-remarks.ll
The file was modifiedllvm/test/Transforms/IROutliner/outlining-different-constants.ll
The file was modifiedllvm/test/Transforms/IROutliner/outlining-compatible-or-attribute-transfer.ll
The file was modifiedllvm/lib/Transforms/IPO/IROutliner.cpp
The file was modifiedllvm/test/Transforms/IROutliner/outlining-isomorphic-predicates.ll
The file was modifiedllvm/test/Transforms/IROutliner/outlining-calls.ll
The file was modifiedllvm/test/Transforms/IROutliner/outlining-compatible-and-attribute-transfer.ll
Commit 5c951623bc8965fa1e89660f2f5f4a2944e4981a by andrew.litteken
[IROutliner] Refactoring errors in the cost model from past patches.

There were was the reuse of a variable that should not have been
occurred due to confusion during committing patches.
The file was modifiedllvm/test/Transforms/IROutliner/opt-remarks.ll
The file was modifiedllvm/test/Transforms/IROutliner/outlining-cost-model.ll
The file was modifiedllvm/lib/Transforms/IPO/IROutliner.cpp
Commit f6515b05205d4324d174dd1f7455c6c8e6671e6b by lkail
[PowerPC] Do not fold `cmp(d|w)` and `subf` instruction to `subf.` if `nsw` is not present

In `PPCInstrInfo::optimizeCompareInstr` we seek opportunities to fold `cmp(d|w)` and `subf` as an `subf.`. However, if `subf.` gets overflow, `cr0` can't reflect the correct order, violating the semantics of `cmp(d|w)`.

Fixed https://bugs.llvm.org/show_bug.cgi?id=47830.

Reviewed By: #powerpc, nemanjai

Differential Revision: https://reviews.llvm.org/D90156
The file was modifiedllvm/test/CodeGen/PowerPC/pr47830.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
Commit 09b3f3f22cbe159a737c44b2e78de08bbbfa5be3 by lebedev.ri
[benchmark] Fixed a build error when using CMake 3.15.1 + NDK-R20

std::decay_t used by llvm/utils/benchmark/include/benchmark/benchmark.h is a c++14 feature, but the CMakelist uses c++11, it's the root-cause of build error.

    There are two options to fix the error.
    1) change the CMakelist to support c++14.
    2) change std::decay_t to std::decay, it's what the patch done.

    This bug can only be reproduced by CMake 3.15, we didn't observer the bug with CMake 3.16. But based on the code's logic, it's an obvious bug of LLVM.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D93794
The file was modifiedllvm/utils/benchmark/include/benchmark/benchmark.h
Commit 94257d12cb2dc23ccdc34b6eb26b02a9cde3e668 by craig.topper
[RISCV] Remove unused method isUImm5NonZero() from RISCVAsmParser.cpp. NFC

The operand predicate that used this has been gone for a while.
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Commit a65092040ad4fefcdad18382781090839cad3b67 by david.sherwood
[SVE] Fix inline assembly parsing crash

This patch fixes a crash encountered when compiling this code:

  ...
  float16_t a;
  __asm__("fminv %h[a], %[b], %[c].h"
          : [a] "=r" (a)
          : [b] "Upl" (b), [c] "w" (c))

The issue here is when using the 'h' modifier for a register
constraint 'r'.

Differential Revision: https://reviews.llvm.org/D93537
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/AArch64/inline-asm-constraints-bad-sve.ll
Commit 74e7cb26b9a3ff3f64883cc2418d9916b5e9257d by marukawa
[VE] Remove VA.needsCustom checks

Remove VA.needsCustom checks which are copied from Sparc implementation
at the very beginning of VE implementation.  Add assert to sanity-check
VA.needsCustom flag, also.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D93847
The file was modifiedllvm/lib/Target/VE/VEISelLowering.cpp
Commit e43b3d1f5e05c6e5e07cff054df193cf0d0c6583 by nullptr.cpp
Revert "[Sema] Fix deleted function problem in implicitly movable test"

This reverts commit 89b0972a
The file was removedclang/test/CXX/class/class.init/class.copy.elision/p3.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
Commit e0905553b424afe94938e2cc010fcecd0822eaba by flo
[ArgPromotion] Delay dead GEP removal until doPromotion.

Currently ArgPromotion removes dead GEPs as part of the legality check
in isSafeToPromoteArgument. If no promotion happens, this means the pass
claims no modifications happened, even though GEPs were removed.

This patch fixes the issue by delaying removal of dead GEPs until
doPromotion: isSafeToPromoteArgument can simply skips dead GEPs and
the code in doPromotion dealing with GEPs is updated to account for
dead GEPs. Once we committed to promotion, it should be safe to
remove dead GEPs.

Alternatively isSafeToPromoteArgument could return an additional boolean
to indicate whether it made changes, but this is quite cumbersome and
there should be no real benefit of weeding out some dead GEPs here if we
do not perform promotion.

I added a test for the case where dead GEPs need to be removed when
promotion happens in 578c5a0c6e71.

Fixes PR47477.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D93991
The file was modifiedllvm/lib/Transforms/IPO/ArgumentPromotion.cpp
The file was addedllvm/test/Transforms/ArgumentPromotion/dead-gep-no-promotion.ll
Commit 685c8b537af3138cff24ec6060a86140b8963a1e by david.green
[AARCH64] Improve accumulator forwarding for Cortex-A57 model

The old CPU model only had MLA->MLA forwarding. I added some missing
MUL->MLA read advances and a missing absolute diff accumulator read
advance according to the Cortex A57 Software Optimization Guide.

The patch improves performance in EEMBC rgbyiqv2 by about 6%-7% and
spec2006/milc by 8% (repeated runs on multiple devices), causes no
significant regressions (none in SPEC).

Differential Revision: https://reviews.llvm.org/D92296
The file was addedllvm/test/tools/llvm-mca/AArch64/Cortex/forwarding-A57.s
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedA57.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedA57WriteRes.td
Commit c287f90ccd33b3aa47488e8f2b3a24aa0717066b by marukawa
[VE] Change default CPU name to "generic"

Change default CPU name of SX-Aurora VE from "ve" to "generic" similar
to other architectures.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D93836
The file was addedllvm/test/CodeGen/VE/Scalar/cpu.ll
The file was modifiedllvm/lib/Target/VE/VE.td
The file was modifiedllvm/lib/Target/VE/VESubtarget.cpp
The file was modifiedllvm/lib/Target/VE/MCTargetDesc/VEMCTargetDesc.cpp
Commit 6c89f6fae4913eba07093fe7c268e828f801c78b by david.green
[AArch64] Attempt to fix Mac tests with a more specific triple. NFC
The file was modifiedllvm/test/tools/llvm-mca/AArch64/Cortex/forwarding-A57.s
Commit 975b64b29375cdfb3672fedee4216c6512672fbf by chih-ping.chen
[docs] Release notes for IsDecl in DIModule.

Please see https://reviews.llvm.org/D93462 for the actual code change.

Differential Revision: https://reviews.llvm.org/D93558
The file was modifiedllvm/docs/ReleaseNotes.rst
Commit 42652c1d6e21345173f5dd971cd453520aa5a7ef by cederman
[Sparc] Fixes for the internal assembler

* Prevent the generation of invalid shift instructions by constraining
  the immediate field. I've limited the shift field to constant values
  only, adding the `R_SPARC_5`/`R_SPARC_6` relocations is trivial if
  needed (but I can't really think of a use case for those).
* Fix the generation of PC-relative `call`
* Fix the transformation of `jmp sym` into `jmpl`
* Emit fixups for simm13 operands

I moved the choice of the correct relocation into the code emitter as I've
seen the other backends do, it can be definitely cleaner but the aim was
to reduce the scope of the patch as much as possible.

Fixes the problems raised by joerg in L254199

Reviewed By: dcederman

Differential Revision: https://reviews.llvm.org/D78193
The file was modifiedllvm/lib/Target/Sparc/SparcInstr64Bit.td
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcAsmPrinter.cpp
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcISelLowering.cpp
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp
The file was modifiedllvm/test/MC/Sparc/sparc-asm-errors.s
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.h
The file was modifiedllvm/lib/Target/Sparc/SparcInstrFormats.td
The file was modifiedllvm/test/MC/Sparc/sparc-ctrl-instructions.s
The file was modifiedllvm/test/MC/Sparc/sparc-relocations.s
The file was modifiedllvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcInstrInfo.td
Commit 901cc9b6f30f120f2fbdc01f9eec3708c512186b by david.green
[ARM] Extend lowering for i64 reductions

The lowering of a <4 x i16> or <4 x i8> vecreduce.add into an i64 would
previously be expanded, due to the i64 not being legal. This patch
adjusts our reduction matchers, making it produce a VADDLV(sext A to
v4i32) instead.

Differential Revision: https://reviews.llvm.org/D93622
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-add.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-mla.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-addpred.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-mlapred.ll
Commit 23b41986527a3fc5615480a8f7a0b0debd5fcef4 by llvm-dev
[Support] Add KnownBits::icmp helpers.

Check if all possible values for a pair of knownbits give the same icmp result - these are based off the checks performed in InstCombineCompares.cpp and D86578.

Add exhaustive unit test coverage - a followup will update InstCombineCompares.cpp to use this.
The file was modifiedllvm/lib/Support/KnownBits.cpp
The file was modifiedllvm/unittests/Support/KnownBitsTest.cpp
The file was modifiedllvm/include/llvm/Support/KnownBits.h
Commit d38a0258a5f4c28fd0b0c00705c40e06976ed247 by flo
[AArch64] Add patterns for FMCLA*_indexed.

This patch adds patterns for the indexed variants of FCMLA. Mostly based
on a patch by Tim Northover.

Reviewed By: SjoerdMeijer

Differential Revision: https://reviews.llvm.org/D92947
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/test/CodeGen/AArch64/neon-vcmla.ll
Commit 060cfd97954835c3be18e47c631d3efb3e374439 by caroline.concatto
[AArch64][SVE]Add cost model for masked gather and scatter for scalable vector.

    A new TTI interface has been added 'Optional <unsigned>getMaxVScale' that
    returns the maximum vscale for a given target.
    When known getMaxVScale is used to compute the cost of masked gather scatter
    for scalable vector.

    Depends on D92094

    Differential Revision: https://reviews.llvm.org/D93030
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
The file was addedllvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-gather.ll
The file was addedllvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-scatter.ll
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
Commit 4d7cb6da9fcf980a8ddaa09ffa2dcab1525a66db by llvm-dev
[Sparc] SparcMCExpr::printVariantKind - fix Wcovered-switch-default gcc warning. NFCI.
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
Commit 82a29a62aba52d68d37309cd3025370ba98e37e4 by hansang.bae
[OpenMP] Add definition/interface for target memory routines

The change includes new routines introduced in 5.1 and Fortran
interface.

Differential Revision: https://reviews.llvm.org/D93505
The file was modifiedopenmp/runtime/src/include/omp_lib.h.var
The file was modifiedopenmp/runtime/src/include/omp.h.var
The file was modifiedopenmp/runtime/src/include/omp_lib.f90.var
Commit 9f8c0d15c7f706a124ba29e8f40dc1937cd5bd49 by llvm-dev
DeclCXX - Fix getAs<> null-dereference static analyzer warnings. NFCI.

getAs<> can return null if the cast is invalid, which can lead to null pointer deferences. Use castAs<> instead which will assert that the cast is valid.
The file was modifiedclang/lib/AST/DeclCXX.cpp
Commit e9f401d8a261e747f5dfc9e297f12ab26e56893d by llvm-dev
[IR] CallBase::getBundleOpInfoForOperand - ensure Current iterator is defined. NFCI.

Fix clang static analyzer undefined pointer warning in the case Begin == End.
The file was modifiedllvm/lib/IR/Instructions.cpp
Commit ed936aad7814404b3cc767d4515096f078dfcbb9 by flo
[InterleavedAccess] Return correct 'modified' status.

Both tryReplaceExtracts and replaceBinOpShuffles may modify the IR, even
if no interleaved loads are generated, but currently the pass pretends
no changes were made.

This patch updates the pass to return true if either of the functions
made any changes. In case of tryReplaceExtracts, changes are made if
there are any Extracts and true is returned.

`replaceBinOpShuffles` always makes changes if BinOpShuffles is not empty.
It also always returned true, so I went ahead and change it to just
`replaceBinOpShuffles`.

Fixes PR48208.

Reviewed By: SjoerdMeijer

Differential Revision: https://reviews.llvm.org/D93997
The file was modifiedllvm/lib/CodeGen/InterleavedAccessPass.cpp
The file was addedllvm/test/Transforms/InterleavedAccess/X86/interleave-load-extract-shuffle-changes.ll
Commit e2d3d501ef8b49eb8990dd3556948373b023cd48 by selliott
[RISCV][NFC] Add additional cmov tests

One or more cmov instructions could be generated for these functions
when the Zbt extension is present.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D93768
The file was modifiedllvm/test/CodeGen/RISCV/rv32Zbt.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv64Zbt.ll
Commit c367258b5cc257973f49508c1ac5763cb077428e by flo
[SimplifyCFG] Enabled hoisting late in LTO pipeline.

bb7d3af1139c disabled hoisting in SimplifyCFG by default, but enabled it
late in the pipeline. But it appears as if the LTO pipelines got missed.

This patch adjusts the LTO pipelines to also enable hoisting in the
later stages.

Unfortunately there's no easy way to add a test for the change I think.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D93684
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
Commit c55b609b777d59b4c174842ae87784626c2a4738 by kparzysz
[Hexagon] Fix bad SDNodeXForm

Fixes https://llvm.org/PR48651
The file was modifiedllvm/lib/Target/Hexagon/HexagonPatterns.td
The file was addedllvm/test/CodeGen/Hexagon/isel-splat-vector-neg-i8.ll
Commit 76bfbb74d38b611f150e8e1a4becc11be95703da by jonathanchesterfield
[libomptarget][amdgpu] Call into deviceRTL instead of ockl

[libomptarget][amdgpu] Call into deviceRTL instead of ockl

Amdgpu codegen presently emits a call into ockl. The same functionality
is already present in the deviceRTL. Adds an amdgpu specific entry point
to avoid the dependency. This lets simple openmp code (specifically, that
which doesn't use libm) run without rocm device libraries installed.

Reviewed By: ronlieb

Differential Revision: https://reviews.llvm.org/D93356
The file was modifiedclang/test/OpenMP/amdgcn_target_codegen.cpp
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/amdgcn_interface.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeAMDGCN.cpp
Commit f7463ca3cc5ba8455c4611c5afa79c48d8a79326 by llvm-dev
[ProfileData] GCOVFile::readGCNO - silence undefined pointer warning. NFCI.

Silence clang static analyzer warning that 'fn' could still be in an undefined state - this shouldn't happen depending on the likely tag order, but the analyzer can't know that.
The file was modifiedllvm/lib/ProfileData/GCOV.cpp
Commit fe5d51a4897c26696fede55e120c912df60cd3f4 by huberjn
[OpenMP] Add using bit flags to select Libomptarget Information

Summary:
This patch adds more fine-grained support over which information is output from the libomptarget runtime when run with the environment variable LIBOMPTARGET_INFO set. An extensible set of flags can be used to pick and choose which information the user is interested in.

Reviewers: jdoerfert JonChesterfield grokos

Differential Revision: https://reviews.llvm.org/D93727
The file was modifiedopenmp/libomptarget/src/private.h
The file was modifiedopenmp/libomptarget/plugins/cuda/src/rtl.cpp
The file was modifiedopenmp/libomptarget/test/offloading/info.c
The file was modifiedopenmp/libomptarget/include/Debug.h
The file was modifiedopenmp/libomptarget/src/interface.cpp
The file was modifiedopenmp/libomptarget/include/SourceInfo.h
The file was modifiedopenmp/libomptarget/src/device.cpp
Commit dd6bb367d19e3bf18353e40de54d35480999a930 by listmail
[LoopDeletion] Break backedge of loops when known not taken

The basic idea is that if SCEV can prove the backedge isn't taken, we can go ahead and get rid of the backedge (and thus the loop) while leaving the rest of the control in place. This nicely handles cases with dispatch between multiple exits and internal side effects.

Differential Revision: https://reviews.llvm.org/D93906
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was addedllvm/test/Transforms/LoopDeletion/zero-btc.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
The file was modifiedllvm/test/Transforms/IndVarSimplify/X86/pr45360.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/LoopUtils.h
The file was modifiedllvm/test/Transforms/IndVarSimplify/exit_value_test2.ll
The file was modifiedllvm/test/Transforms/LoopDeletion/update-scev.ll
Commit 7c63aac7bd4e5ce3402f2ef7c1d5b66047230147 by listmail
Revert "[LoopDeletion] Break backedge of loops when known not taken"

This reverts commit dd6bb367d19e3bf18353e40de54d35480999a930.

Multi-stage builders are showing an assertion failure w/LCSSA not being preserved on entry to IndVars.  Reason isn't clear, reverting while investigating.
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/LoopUtils.h
The file was modifiedllvm/test/Transforms/LoopDeletion/update-scev.ll
The file was modifiedllvm/test/Transforms/IndVarSimplify/exit_value_test2.ll
The file was removedllvm/test/Transforms/LoopDeletion/zero-btc.ll
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/test/Transforms/IndVarSimplify/X86/pr45360.ll
Commit d8938c8bb5479b168d27d3e161cb3a53e8ff09f0 by Matthew.Arsenault
CodeGen: Use Register
The file was modifiedllvm/include/llvm/CodeGen/MachineFrameInfo.h
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
Commit 6976812129bf62975e37f6eabced717dcd090037 by spatel
[InstCombine] add tests for ashr+icmp; NFC
The file was modifiedllvm/test/Transforms/InstCombine/icmp-shr.ll
Commit dc9ac0e8207654e9ad57e7135276c04fdadbe36f by craig.topper
[RISCV] Replace i32 with XLenVT in (add AddrFI, simm12) isel patterns.

With the i32 these patterns will only fire on RV32, but they
don't look RV32 specific.

Reviewed By: lenary

Differential Revision: https://reviews.llvm.org/D93843
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td
The file was modifiedllvm/test/CodeGen/RISCV/vararg.ll
Commit b8f22f9d3000b13c63a323bcf5230929191f402a by aeubanks
[NewPM][AMDGPU] Run InternalizePass when -amdgpu-internalize-symbols

The legacy PM doesn't run EP_ModuleOptimizerEarly on -O0, so skip
running it here when given O0.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D93886
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/internalize.ll
Commit 848e8f938fdbefc98a1e079c8a63768cfe9657ab by kazu
[llvm] Construct SmallVector with iterator ranges (NFC)
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/lib/TableGen/Record.cpp
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/include/llvm/IR/PredIteratorCache.h
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
The file was modifiedllvm/include/llvm/IR/Metadata.h
Commit 0edbc90ec565758f5243b83b1c0a13beaf21214f by kazu
[DebugInfo] Use llvm::append_range (NFC)
The file was modifiedllvm/lib/DebugInfo/MSF/MSFBuilder.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp
The file was modifiedllvm/lib/DebugInfo/PDB/Native/NamedStreamMap.cpp
The file was modifiedllvm/lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp
The file was modifiedllvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/TypeRecord.h
Commit eb198f4c3cedae4e9778f11e76e0fa1f1b61b622 by kazu
[llvm] Use llvm::any_of (NFC)
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/utils/TableGen/AsmMatcherEmitter.cpp
The file was modifiedllvm/lib/Support/SourceMgr.cpp
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/include/llvm/CodeGen/LiveInterval.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/TargetProcessControl.cpp
The file was modifiedllvm/lib/CodeGen/MachineSink.cpp
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
Commit a5f863e0765e9056f302dbf0683f92dad6e8efb9 by aeubanks
[NewPM][AMDGPU] Port amdgpu-propagate-attributes-early/late

And add to AMDGPU opt pipeline.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D94022
The file was modifiedllvm/tools/opt/opt.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.h
The file was modifiedllvm/test/CodeGen/AMDGPU/propagate-attributes-flat-work-group-size.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/propagate-attributes-single-set.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/propagate-attributes-clone.ll
Commit e1833e7493aede34aaf9c1a4480848d60dad7f1d by aeubanks
[NewPM][AMDGPU] Port amdgpu-unify-metadata

And add to AMDGPU opt pipeline.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D94023
The file was modifiedllvm/tools/opt/opt.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.h
The file was modifiedllvm/test/CodeGen/AMDGPU/unify-metadata.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUUnifyMetadata.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Commit 9a17bff4f715a9f3ec89f4eacae8fdea1b74fe79 by whitneyt
[LoopNest] Allow empty basic blocks without loops

Allow loop nests with empty basic blocks without loops in different
levels as perfect.

Reviewers: Meinersbur

Differential Revision: https://reviews.llvm.org/D93665
The file was modifiedllvm/include/llvm/Analysis/LoopNestAnalysis.h
The file was modifiedllvm/test/Analysis/LoopNestAnalysis/perfectnest.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
The file was modifiedllvm/lib/Analysis/LoopNestAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
Commit 4034f9273edacbb1c37acf19139594a226c8bdac by hoy
Switching Clang UniqueInternalLinkageNamesPass scheduling to using the LLVM one with newpm.

As a follow-up to D93656, I'm switching the Clang UniqueInternalLinkageNamesPass scheduling to using the LLVM one with newpm.

Test Plan:

Reviewed By: aeubanks, tmsriram

Differential Revision: https://reviews.llvm.org/D94019
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
Commit 4d0aad96e431ba78323dd3c7ee9ecd6f5552375d by clementval
[flang][openmp] Make Reduction clause part of OmpClause

After discussion in D93105 we found that the reduction clause was not following
the common OmpClause convention. This patch makes reduction clause part of OmpClause
with a value of OmpReductionClause in a similar way than task_reduction.
The unparse function for OmpReductionClause is adapted since the keyword and parenthesis
are issued by the corresponding unparse function for parser::OmpClause::Reduction.

Reviewed By: sameeranjoshi

Differential Revision: https://reviews.llvm.org/D93482
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMP.td
The file was modifiedflang/lib/Semantics/check-omp-structure.cpp
The file was modifiedflang/lib/Parser/openmp-parsers.cpp
The file was modifiedflang/lib/Parser/unparse.cpp
The file was modifiedflang/lib/Semantics/check-omp-structure.h
Commit fe597efc30b22bac5b49ffb64e52300d661c7d78 by craig.topper
[RISCV] Remove unused method RISCVInstPrinter::printSImm5Plus1. NFC

simm5_plus1 is only used by InstAliases so should never be printed.
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoV.td
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.h
Commit fd323a897c666b847e8818f63331dfcd1842953e by aeubanks
[NewPM][AMDGPU] Port amdgpu-printf-runtime-binding

And add to AMDGPU opt pipeline.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D94026
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.h
The file was modifiedllvm/test/CodeGen/AMDGPU/opencl-printf.ll
The file was modifiedllvm/tools/opt/opt.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Commit 4e838ba9ea2cc7effbb051fdacf74a738b35eb6a by aeubanks
[NewPM][AMDGPU] Port amdgpu-always-inline

And add to AMDGPU opt pipeline.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D94025
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/force-alwaysinline-lds-global-address.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.h
The file was modifiedllvm/tools/opt/opt.cpp
Commit 191552344bba04c428de4a34b83d6f7537a4a596 by aeubanks
[NewPM][AMDGPU] Make amdgpu-aa work with NewPM

An AMDGPUAA class already existed that was supposed to work with the new
PM, but it wasn't tested and was a bit broken.

Fix up the existing classes to have the right keys/parameters.
Wire up AMDGPUAA inside AMDGPUTargetMachine.

Add it to the list of alias analyses for the "default" AAManager since
in adjustPassManager() amdgpu-aa is added into the pipeline at the
beginning.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D93914
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-alias-analysis.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.h
Commit de6d43f16cbaf2eae6fa161ea6e811b8f5f45174 by whitneyt
Revert "[LoopNest] Allow empty basic blocks without loops"

This reverts commit 9a17bff4f715a9f3ec89f4eacae8fdea1b74fe79.
The file was modifiedllvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
The file was modifiedllvm/include/llvm/Analysis/LoopNestAnalysis.h
The file was modifiedllvm/lib/Analysis/LoopNestAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
The file was modifiedllvm/test/Analysis/LoopNestAnalysis/perfectnest.ll
Commit 92be640bd7d4fbc8e032a0aa81381a0246efa0be by mcinally
[FPEnv][AMDGPU] Disable FSUB(-0,X)->FNEG(X) DAGCombine when subnormals are flushed

This patch disables the FSUB(-0,X)->FNEG(X) DAG combine when we're flushing subnormals. It requires updating the existing AMDGPU tests to use the fneg IR instruction, in place of the old fsub(-0,X) canonical form, since AMDGPU is the only backend currently checking the DenormalMode flags.

Note that this will require follow-up optimizations to make sure the FSUB(-0,X) form is handled appropriately

Differential Revision: https://reviews.llvm.org/D93243
The file was modifiedllvm/test/CodeGen/AMDGPU/fma-combine.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/fneg-combines.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/clamp-modifier.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/known-never-snan.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mad-combine.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/v_mac_f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/v_mac.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/rsq.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.fmad.ftz.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fptrunc.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mad-mix.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fdiv32-to-rcp-folding.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/rcp-pattern.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/clamp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fpext-free.ll
Commit 58b6c5d932a0d435ddfd13f4f5b011207e64297f by spatel
[LoopUtils] reorder logic for creating reduction; NFC

If we are using a shuffle reduction, we don't need to
go through the switch on opcode - return early.
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
Commit 976695752416f6ff51993ec1f3769e8a62eea2f2 by spatel
[LoopUtils] reduce code for creatng reduction; NFC

We can return from each case instead creating a temporary
variable just to have a common return.
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
Commit aa169033892f1f185047abc07fe6e58f726018b9 by aeubanks
[test] Pin backedge-id-bug-xfail.ll to legacy PM

The new PM doesn't have region passes, so this doesn't really make sense in a NPM context.
The file was modifiedllvm/test/Transforms/StructurizeCFG/AMDGPU/backedge-id-bug-xfail.ll
Commit 8e293fe6ad06225d748bdb8a4414461451e33c16 by aeubanks
[NewPM][AMDGPU] Pass TargetMachine to AMDGPUSimplifyLibCallsPass

Missed in https://reviews.llvm.org/D93863.
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.wavefrontsize.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
Commit abbef2fd46d48a0d92d86f0c00fa2973f8ae2c85 by aqjune
[ValueTracking] isGuaranteedNotToBePoison should return true on undef

This is a one-line fix to isGuaranteedNotToBePoison to return true if
undef is given.
The file was modifiedllvm/unittests/Analysis/ValueTrackingTest.cpp
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit efc82c4ad2bcb256a4f4c20238d08cd3afba4d2d by schuett
[NFC, Refactor] Modernize StorageClass from Specifiers.h to a scoped enum (II)

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D93765
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was modifiedclang/lib/AST/DeclTemplate.cpp
The file was modifiedclang/include/clang/AST/DeclOpenMP.h
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedclang/lib/AST/ODRHash.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang-tools-extra/clang-tidy/google/GlobalVariableDeclarationCheck.cpp
The file was modifiedclang/lib/AST/DeclPrinter.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
The file was modifiedclang/lib/Analysis/CFG.cpp
The file was modifiedclang/lib/Frontend/Rewrite/RewriteObjC.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
The file was modifiedclang/lib/Sema/SemaCoroutine.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang-tools-extra/clang-tidy/google/FunctionNamingCheck.cpp
The file was modifiedclang/lib/Sema/SemaObjCProperty.cpp
The file was modifiedclang/lib/AST/JSONNodeDumper.cpp
The file was modifiedclang/lib/Sema/SemaPseudoObject.cpp
The file was modifiedclang/lib/Sema/SemaStmtAsm.cpp
The file was modifiedclang/include/clang/Basic/Specifiers.h
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang-tools-extra/clang-change-namespace/ChangeNamespace.cpp
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/CodeGen/CGNonTrivialStruct.cpp
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/CodeGen/CGBlocks.cpp
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedclang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/unittests/Sema/ExternalSemaSourceTest.cpp
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/Sema/SemaDeclObjC.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
Commit 36263a7cccc0d98afc36dea55e7a004d08455811 by spatel
[LoopUtils] remove redundant opcode parameter; NFC

While here, rename the inaccurate getRecurrenceBinOp()
because that was also used to get CmpInst opcodes.

The recurrence/reduction kind should always refer to the
expected opcode for a reduction. SLP appears to be the
only direct caller of createSimpleTargetReduction(), and
that calling code ideally should not be carrying around
both an opcode and a reduction kind.

This should allow us to generalize reduction matching to
use intrinsics instead of only binops.
The file was modifiedllvm/include/llvm/Analysis/IVDescriptors.h
The file was modifiedllvm/lib/Analysis/IVDescriptors.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/LoopUtils.h
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 2fd11e0b1ef8bc6ea356670f15d78795aa8bb0e7 by schuett
Revert "[NFC, Refactor] Modernize StorageClass from Specifiers.h to a scoped enum (II)"

This reverts commit efc82c4ad2bcb256a4f4c20238d08cd3afba4d2d.
The file was modifiedclang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/CodeGen/CGNonTrivialStruct.cpp
The file was modifiedclang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/CodeGen/CGBlocks.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang-tools-extra/clang-tidy/google/FunctionNamingCheck.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang-tools-extra/clang-tidy/google/GlobalVariableDeclarationCheck.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
The file was modifiedclang/include/clang/AST/DeclOpenMP.h
The file was modifiedclang/lib/AST/JSONNodeDumper.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp
The file was modifiedclang/lib/Sema/SemaObjCProperty.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
The file was modifiedclang/lib/Frontend/Rewrite/RewriteObjC.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang-tools-extra/clang-change-namespace/ChangeNamespace.cpp
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Basic/Specifiers.h
The file was modifiedclang/lib/Analysis/CFG.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Sema/SemaPseudoObject.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/lib/Sema/SemaCoroutine.cpp
The file was modifiedclang/lib/AST/ODRHash.cpp
The file was modifiedclang/lib/Sema/SemaDeclObjC.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/lib/AST/DeclTemplate.cpp
The file was modifiedclang/lib/AST/DeclPrinter.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
The file was modifiedclang/unittests/Sema/ExternalSemaSourceTest.cpp
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/lib/Sema/SemaStmtAsm.cpp
Commit f67d3dbdb930eaf92668b47696e51ef0b2c3c3a5 by phosek
[clang] - Also look for devtoolset-10

devtoolset-10 has just been released so look for it as well.

Patch By: stephan.dollberg

Differential Revision: https://reviews.llvm.org/D92792
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
Commit b4f519bddda853443405d21728154c481837e18b by lebedev.ri
[NFCI] DwarfEHPrepare: update DomTree in non-permissive mode, when present

Being stricter will catch issues that would be just papered over
in permissive mode, and is likely faster.
The file was modifiedllvm/lib/CodeGen/DwarfEHPrepare.cpp
Commit 3fb57222c4c0db02f13f32579fb83d0d488becad by lebedev.ri
[NFCI] SimplifyCFG: switch to non-permissive DomTree updates, where possible

Notably, this doesn't switch *every* case, remaining cases
don't actually pass sanity checks in non-permissve mode,
and therefore require further analysis.

Note that SimplifyCFG still defaults to not preserving DomTree by default,
so this is effectively a NFC change.
The file was modifiedllvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit ed9de61cc3e280f84e3f0f98a49af21c7e59c4c9 by lebedev.ri
[SimplifyCFGPass] mergeEmptyReturnBlocks(): switch to non-permissive DomTree updates

... which requires not inserting an edge that already exists.
The file was modifiedllvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
Commit a8604e3d5b7112da11508f100805d65a4eddeb33 by lebedev.ri
[SimplifyCFG] simplifyIndirectBr(): switch to non-permissive DomTree updates

... which requires not deleting an edge that just got deleted.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 110b3d7855ef71a7d43a0779b2e1c32e1a31daae by lebedev.ri
[SimplifyCFG] SimplifyEqualityComparisonWithOnlyPredecessor(): switch to non-permissive DomTree updates

... which requires not deleting an edge that just got deleted.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 32c47ebef18d904445ce909e4a6922ffbfe4053f by lebedev.ri
[SimplifyCFG] SimplifyCondBranchToTwoReturns(): switch to non-permissive DomTree updates

... which requires not deleting an edge that just got deleted,
because we could be dealing with a block that didn't go through
ConstantFoldTerminator() yet, and thus has a degenerate cond br
with matching true/false destinations.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit e30fbbe9a5359f5d88fbc6045f320a120fc9a5af by aeubanks
[JumpThreading][NewPM] Skip when target has divergent CF

Matches the legacy pass.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D94028
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
The file was modifiedllvm/test/Transforms/JumpThreading/divergent-target-test.ll
Commit c4f12a07a44c1d5ae10eb8763f0f596837e2085e by aheejin
[WebAssembly] Remove old SDT_WebAssemblyCalls (NFC)

These are not used anymore.

Reviewed By: tlively

Differential Revision: https://reviews.llvm.org/D94036
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
Commit f28b026d32ca20208e24cab3aabb9d9fb0f1948a by aqjune
[InstSimplify] add a test for gep with poison operand (NFC)
The file was modifiedllvm/test/Transforms/InstSimplify/gep.ll
Commit f665a8c5b8b42d88f89e1a3594b7d410ef206c32 by aqjune
[InstSimplify] gep with poison operand is poison

This is a tiny update to fold gep poison into poison. :)

Alive2 proofs:
https://alive2.llvm.org/ce/z/7Nwdri
https://alive2.llvm.org/ce/z/sDP4sC
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/gep.ll
Commit ae614851631387f86cb7ab1f33a4851a6549c279 by qiucofan
[UpdateTestChecks] Fix PowerPC RE to support AIX assembly

Current update_llc_test_checks.py cannot generate checks for AIX
(powerpc64-ibm-aix-xcoff) properly. Assembly generated is little bit
different from Linux. So I use begin function comment here to capture
function name.

Reviewed By: MaskRay, steven.zhang

Differential Revision: https://reviews.llvm.org/D93676
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/ppc_generated_funcs.ll
The file was modifiedllvm/utils/UpdateTestChecks/asm.py
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/ppc_generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lr.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/ppc_generated_funcs.ll.generated.expected
Commit d51d72bbb91bf1179e58a40998efb3be6bb1ca6f by evandro.menezes
[RISCV] Rename RVV intrinsics class (NFC)

Rename the class `RISCVUnaryAAMask` to `RISCVBinaryAAAMask`, since it has two input arguments.
The file was modifiedllvm/include/llvm/IR/IntrinsicsRISCV.td
Commit 2962f1149c8fccf8e865654ce11b3f1312165651 by qshanz
[NFC] Add the getSizeInBytes() interface for MachineConstantPoolValue

Current implementation assumes that, each MachineConstantPoolValue takes
up sizeof(MachineConstantPoolValue::Ty) bytes. For PowerPC, we want to
lump all the constants with the same type as one MachineConstantPoolValue
to save the cost that calculate the TOC entry for each const. So, we need
to extend the MachineConstantPoolValue that break this assumption.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D89108
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineConstantPool.h
The file was modifiedllvm/lib/Target/X86/X86MCInstLower.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantIslandPass.cpp
The file was modifiedllvm/lib/Target/Mips/MipsConstantIslandPass.cpp
Commit 48340fbe6a1a126298c4fe16dcd186d94e485203 by qiucofan
[NFC] [PowerPC] Update vec_constants test to reflect more patterns

This patch uses update_llc_check script to update vec_constants.ll, and
add two cases to cover 'vsplti+vsldoi' with 16-bit and 24-bit offset.
The file was modifiedllvm/test/CodeGen/PowerPC/vec_constants.ll
Commit b6c8feb29fce39121884f7e08ec6eb0f58da3fb7 by qiucofan
[NFC] [PowerPC] Remove dead code in BUILD_VECTOR peephole

The piece of code tries to use splat+shift to lower build_vector with
repeating bit pattern. And immediate field of vector splat is only 5
bits (-16~15). It iterates over them one by one to find which
shifts/rotates to number in build_vector.

This patch removes code to try matching constant with algebraic
right-shift because that's meaningless - any negative number's algebraic
right-shift won't produce result smaller than itself. Besides, code
(int)((unsigned)i >> j) means logical shift-right in C.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D93937
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 3e2b42489f897ededae1d3269dcaf084da692111 by lxfind
Remove RefSCC::handleTrivialEdgeInsertion

This function no longer does anything useful. It probably did something originally but latter changes removed them and didn't clean up this function.
The checks are already done in the callers as well.

Differential Revision: https://reviews.llvm.org/D94055
The file was modifiedllvm/include/llvm/Analysis/LazyCallGraph.h
The file was modifiedllvm/lib/Analysis/LazyCallGraph.cpp
Commit 854b861881a28fda6dd9601cc07b54822ce5d00d by medismail.bennani
[llvm/Orc] Fix ExecutionEngine module build breakage

This patch updates the llvm module map to reflect changes made in
`5efc71e119d4eba235209d262e7d171361a0b9be` and fixes the module builds
(`-DLLVM_ENABLE_MODULES=On`).

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedllvm/include/llvm/module.modulemap
Commit 979c38cc74f4e96c5e1bee1f966a81038fff1ed6 by martin
[compiler-rt] [windows] Add UNUSED attributes on variables/functions only used for 64 bit targets

This fixes warnings when building for 32 bit targets.

Differential Revision: https://reviews.llvm.org/D91852
The file was modifiedcompiler-rt/lib/interception/interception_win.cpp