AbortedChanges

Changes from Git (git http://labmaster3.local/git/llvm-zorg.git)

Summary

  1. disable ZLib on the LLDB builder (details)
  2. [lldb] Set LLDB_ENABLE_PYTHON to ON (details)
  3. [lldb] Increase the build timeout for the sanitized bot (details)
  4. Enable remote host configuration to run the target tests for Windows to (details)
  5. [VE] Staging buildbot (details)
Commit 0184c5c5188c593adbae7e0bb9bdabe63df63d45 by Saleem Abdulrasool
disable ZLib on the LLDB builder
Although there is a zlib library installed on the host, the headers are
not.  ZLIB was previously disabled, but the library detection now is
kicking in, and incorrectly enabling ZLIB.  Explicitly disable ZLIB
support.
The file was modifiedbuildbot/osuosl/master/config/builders.py
Commit 9a3d9b7fea718eab8cdb1c5e6f9436eacdaf7298 by Jonas Devlieghere
[lldb] Set LLDB_ENABLE_PYTHON to ON
This ensures that Python is a required dependency for LLDB on the bots.
This is in preparation of auto-detecting Python as an optional
dependency for LLDB.
The file was modifiedzorg/jenkins/monorepo_build.py
The file was modifiedbuildbot/osuosl/master/config/builders.py
Commit bd84296d9de634ca5ee36afeb2f12e9265fc9e5b by Jonas Devlieghere
[lldb] Increase the build timeout for the sanitized bot
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake-sanitized
Commit 1e3be1d0254e886f3e7409e0a544903457939825 by vvereschaka
Enable remote host configuration to run the target tests for Windows to
ARM Linux cross buiders.
Passing the remote host and user name into a builder configuration from
the build worker properties if they are specified there.
Differential Revision: https://reviews.llvm.org/D71626
The file was modifiedbuildbot/osuosl/master/config/builders.py
The file was modifiedbuildbot/osuosl/master/config/slaves.py
Commit 66f206567090b1d6e4879775d8308d3715379515 by simon.moll
[VE] Staging buildbot
Summary: This patch registers the `nec-arrproto41` worker and staging
builder for the VE target: NEC SX-Aurora TSUBASA.
Reviewed By: gkistanova
Differential Revision: https://reviews.llvm.org/D71417
The file was modifiedbuildbot/osuosl/master/config/slaves.py
The file was modifiedbuildbot/osuosl/master/config/status.py
The file was modifiedbuildbot/osuosl/master/config/builders.py

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [lldb][NFC] Make integer types functions in ClangASTContext not static (details)
  2. [lldb][NFC] Simplify ClangASTContext::GetTypeForDecl (details)
  3. [SelectionDAG] Disallow indirect "i" constraint (details)
  4. [X86] Remove dyn_casts to ConstantSDNode for operand 1 of (details)
  5. [X86] Use isOneConstant to simplify some code. NFC (details)
  6. [X86] Use APInt::isOneValue and ConstantSDNode::isOne. NFC (details)
  7. [PowerPC] Exploit the rlwinm instructions for "and" with constant (details)
  8. [CMake] Added remote test execution support into CrossWinToARMLinux (details)
  9. [SelectionDAT] Simplify SelectionDAGBuilder::visitInlineAsm (details)
  10. [ELF][PPC64] Implement IPLT code sequence for non-preemptible IFUNC (details)
  11. [ELF][PPC32] Implement IPLT code sequence for non-preemptible IFUNC (details)
  12. [ELF][PPC64] Improve "call lacks nop" diagnostic and make it compatible (details)
  13. [Attributor] Use `changeUseAfterManifest` in AAValueSimplify manifest (details)
  14. [NFC] Add test for load-insert-store pattern (details)
  15. [Diagnostic] Add ftabstop to -Wmisleading-indentation (details)
  16. [opt] Fix run-twice crash and detection problem (details)
  17. [MCP] Add stats for backward copy propagation. NFC. (details)
  18. [MIPS GlobalISel] Select bswap (details)
  19. [MIPS GlobalISel] Select bitreverse (details)
  20. [OpenCL] Add mipmap builtin functions (details)
  21. [ARM][THUMB2] Allow emitting T3 types of add and sub (details)
  22. [LV][NFC] Some refactoring and renaming to facilitate next change. (details)
  23. [LV][NFC] Keep dominator tree up to date during vectorization. (details)
  24. [ARM] MVE sink ICmp test. NFC (details)
  25. [ARM] Sink splat to ICmp (details)
  26. Revert "[MIPS GlobalISel] Select bitreverse" (details)
  27. [PowerPC] Legalize rounding nodes (details)
  28. AMDGPU/GlobalISel: Account for G_PHI result bank (details)
  29. AMDGPU: Generate check lines (details)
  30. AMDGPU: Improve llvm.round.f64 lowering for CI+ (details)
  31. GlobalISel: moreElementsVector for FP min/max (details)
  32. AMDGPU/GlobalISel: Add select test for fexp2 (details)
  33. [ARM][Thumb][FIX] Add unwinding information to t4 (details)
  34. [InstCombine] propagate sign argument through nested copysigns (details)
  35. AMDGPU/GlobalISel: Select llvm.amdgcn.fmad.ftz (details)
  36. [MIPS GlobalISel] Select bitreverse. Recommit (details)
  37. [InstCombine] remove stale comment on test; NFC (details)
  38. Ignore "no-frame-pointer-elim" and "no-frame-pointer-elim-non-leaf" in (details)
  39. AMDGPU/GlobalISel: Re-use MRI available in selector (details)
  40. [test] do not parse ls output for file size; NFCI (details)
  41. [X86] Add X86ISD::PCMPGT to (details)
  42. TableGen: Fix assert on PatFrags with predicate code (details)
  43. AMDGPU/GlobalISel: Select mul24 intrinsics (details)
  44. [X86][AsmParser] re-introduce 'offset' operator (details)
  45. [OpenMP] Use the OpenMPIRBuilder for `omp cancel` (details)
  46. [OpenMP] Use the OpenMPIRBuilder for `omp parallel` (details)
  47. [PowerPC][docs] Update Embedded PowerPC docs in Compiler Writers Info (details)
  48. [libomptarget][nfc] Change unintentional target_impl prefix to kmpc_impl (details)
  49. [OpenMP][FIX] Generalize a test check line (details)
  50. Remove a redundant `default:` on an exhaustive switch(enum). (details)
  51. [CodeGen] Use CreateFNeg in buildFMulAdd (details)
  52. [CodeGen] Use IRBuilder::CreateFNeg for __builtin_conj (details)
  53. [X86] Add test case for PR44412. NFC (details)
  54. [NFC] Add comments in unit test aix-xcoff-toc.ll to clarify the intent (details)
  55. [SelectionDAG] Fix copy/paste mistake in comment. NFC (details)
  56. [TargetLowering][AMDGPU] Make scalarizeVectorLoad return a pair of (details)
  57. [mlir] Refactor operation results to use a single use list for all (details)
  58. [NFC] Style cleanup (details)
  59. Revert "DebugInfo: Fix rangesBaseAddress DICompileUnit bitcode (details)
  60. [NFC] Make X86MCCodeEmitter::isPCRel32Branch static (details)
  61. [Attributor] Annotate the memory behavior of call site arguments (details)
  62. [Attributor] Use abstract call sites to determine associated arguments (details)
  63. [Attributor] Propagate known align from arguments to call sites (details)
  64. [Utils] Allow update_test_checks to scrub attribute annotations (details)
  65. [Utils] Reuse argument variable names in the body (details)
  66. [NFC] Style cleanup (details)
  67. [Utils][Fix] Minor test result change (details)
  68. [X86] Slightly improve our attempted error recovery for 64-bit -mno-sse2 (details)
  69. [Attributor] Function signature rewrite infrastructure (details)
  70. [Utils] Deal with occasionally deleted functions (details)
  71. [Attributor] Suppress unused warnings when assertions are disabled. NFC (details)
  72. clang-tidy doc: modernize-make-unique has an autofix (details)
  73. [InstCombine] Add tests for PR44242 (details)
  74. [InstCombine] Don't rewrite phi-of-bitcast when the phi has other users (details)
  75. Fix external-names.c test when separator is \\ (details)
  76. [ARM][TypePromotion] Re-enable by default (details)
  77. [llvm-exegesis] Check counters before running (details)
  78. [mlir][Linalg] Delete unused LinalgLibraryOps.td (details)
  79. [InstCombine] Fix infinite loop due to bitcast <-> phi transforms (details)
  80. [InstCombine] add tests for masked bit set/clear; NFC (details)
  81. [AArch64] add test for fsub+fneg; NFC (details)
  82. [OpenCL] Remove redundant foreach in OpenCLBuiltins.td; NFC (details)
  83. [PowerPC][NFC] Fix clang-tidy warning (details)
  84. Revert "[InstCombine] Fix infinite loop due to bitcast <-> phi (details)
  85. [Attributor][Fix] Avoid leaking memory after D68765 (details)
  86. Match code following lambdas when ignoring invisible nodes (details)
  87. Unnest struct in Matcher implementation (details)
  88. Implement additional traverse() overloads (details)
  89. [InstCombine] add/adjust tests for masked bit; NFC (details)
  90. [InstCombine] fold zext of masked bit set/clear (details)
  91. [mlir] Make code blocks more consistent (details)
  92. [CodeGen] Emit conj/conjf/confjl libcalls as fneg instructions if (details)
  93. [X86] Add test case for opposite branch condition for PR44412. NFC (details)
  94. [mlir][docs] Remove redundant path prefix (details)
  95. [OPENMP]Emit artificial threprivate vars as threadlocal, if possible. (details)
  96. [amdgpu] Fix scoreboard updating on `s_waitcnt_vscnt`. (details)
  97. Revert "[Diagnostic] Add ftabstop to -Wmisleading-indentation" (details)
  98. AMDGPU: Precommit test showing extra instructions are introduced (details)
  99. [LegalizeVectorOps][AArch64] Stop asking for v4f16 fp_round and (details)
  100. [X86] Use carry flag from add for (seteq (add X, -1), -1). (details)
  101. [X86][InstCombine] Add constant folding and simplification support for (details)
  102. [X86] Constant fold KSHIFT of an all zeros vector to just an all zeros (details)
  103. [ELF][RISCV] Improve error message for unknown relocations (details)
  104. DAG: Stop trying to fold FP -(x-y) -> y-x in getNode with nsz (details)
  105. [X86] Add X87 FCMOV support to X86FlagsCopyLowering. (details)
  106. [X86] Fix typo in getCMovOpcode. (details)
  107. [Attributor] AAValueConstantRange: Value range analysis using constant (details)
  108. [ELF][RISCV][test] Test absolute/PC-relative/branch relocations to (details)
  109. [MC][TargetMachine] Delete MCTargetOptions::MCPIECopyRelocations (details)
  110. add strict float for round operation (details)
  111. clang-tidy doc: Remove severities as they don't make consensus (details)
  112. [ARM] Add +mve feature to mve tests. NFC (details)
  113. [lldb][NFC] Make some checks more readable in (details)
  114. [NFC] Fixes -Wrange-loop-analysis warnings (details)
  115. Adds fixit hints to the -Wrange-loop-analysis (details)
  116. Improve Wrange-loop-analyses for rvalue reference (details)
  117. Adds -Wrange-loop-analysis to -Wall (details)
  118. [X86] Call SimplifyMultipleUseDemandedBits from combineVSelectToBLENDV (details)
  119. [InstCombine] Add tests for sub nuw of geps; NFC (details)
  120. [InstCombine] Regenerate test checks; NFC (details)
  121. [InstCombine] Add tests for PR44423 and PR44425; NFC (details)
  122. [MachineScheduler] improve reuse of 'releaseNode'method (details)
  123. [InstCombine] Fix incorrect inbounds on GEP of GEP (PR44425) (details)
  124. Revert "Adds -Wrange-loop-analysis to -Wall" (details)
  125. [lldb][NFC] Simplify CompilerType constructors/destructors and fix (details)
  126. [InstCombine] Preserve inbounds when merging with zero-index GEP (details)
  127. tests: XFAIL/UNSUPPORTED tests on Windows (details)
  128. [mlir] Fix warnings when compiling with Clang 9.0 (details)
  129. [mlir] Fix linking with LLD (details)
  130. [mlir] Fix compilation warnings (details)
  131. [polly][Support] Un-break polly tests Previously, the polly unit tests (details)
  132. [lld] Fix -Wrange-loop-analysis warnings (details)
  133. [mlir] Fix -Wrange-loo-analysis warnings (details)
  134. build: reduce CMake handling for zlib (details)
  135. build: make `LLVM_ENABLE_ZLIB` a tri-bool for users (details)
  136. [Coroutines] Rename "legacy" passes (NFC) (details)
  137. [RegisterClassInfo] Use SmallVector::assign instead of resize to make (details)
  138. [X86] Add test cases for regcall function that takes a long double as a (details)
  139. [Coroutines] const-ify internal helpers (NFC) (details)
  140. [gn build] (manually) merge 68a235d07f9e70 (details)
  141. [X86] Add x86_regcallcc calling convention to function declaration (details)
  142. [mlir][spirv] Fix links in docs and update dialect docs (details)
  143. [mlir][spirv] NFC: Move shader ABI attributes to a new file (details)
  144. [XRay][test] Fix xray-empty-firstmbb.mir and delete incorrect (details)
  145. [NFC] Make the type of X86AlignBranchBoundary compatible (details)
  146. [lldb][NFC] Create type-safe function for creating a CompilerType from a (details)
  147. [lldb][NFC] Remove unused variable in (details)
  148. [docs] Update path to clang-tools-extra (details)
  149. [llvm-ranlib] Handle -D and -U command line flag (details)
  150. [AArch64][SVE]  Gather loads: pass 32 bit unpacked offsets as nxv2i32 (details)
  151. [NFC] Add explicit instantiation to releaseNode (details)
  152. Fix D-flag.test by running chmod before creating the archive (details)
  153. [lldb] Fix crash in AccessDeclContextSanity when copying (details)
  154. [ARM] Update ifcvt test target triples and opcodes. NFC (details)
  155. Make the llvm-ranlib/help-message.test test pass in unusual (details)
  156. Remove unneeded extra variable realArgIdx. NFC. (details)
  157. [mlir][Linalg] NFC - Rename LinalgGeneric -> GenericLinalg (details)
  158. [mlir][Linalg] NFC - Rename ViewTraits -> StructuredOpTraits (details)
  159. [InstCombine] remove uses before deleting instructions (PR43723) (details)
  160. [llvm-ranlib] Relax D-flag.test to allow it to pass on Windows hosts (details)
  161. [OpenMP] Fix formatting of OpenMP error message, by Wang Tianqing. (details)
  162. [mlir][Linalg] NFC - Cleanup Linalg Declarative Transformations (details)
  163. [mlir][Linalg] NFC - Make consistent use of op.emitOpError (details)
  164. Revert "Revert "[clangd] Implement "textDocument/documentLink" protocol (details)
  165. Generalize the pass registration mechanism used by Polly to any (details)
  166. [FPEnv] Default NoFPExcept SDNodeFlag to false (details)
  167. Revert "build: make `LLVM_ENABLE_ZLIB` a tri-bool for users" (details)
  168. Revert "build: reduce CMake handling for zlib" (details)
  169. [gn build] (manually) merge 24ab9b537e61b3 (details)
  170. Revert "[gn build] (manually) merge 68a235d07f9e70" (details)
  171. Add intrinsics_gen dependency on Bye example (details)
  172. Add intrinsics_gen *dependency* on Bye example (details)
  173. [gn build] (manually) merge 24ab9b537e61b3 more (details)
  174. [test][llvm-dwarfdump][NFC] Improve test readability (details)
  175. [clangd] Reorder FindTarget.h - group targetDecl() stuff and (details)
  176. [test][llvm-dwarfdump][NFC] Remove unused check (details)
  177. fix doc grammar-o to cycle bots (details)
  178. [SystemZ] Use FNeg in s390x clang builtins (details)
  179. [test][ELF] Verify debug line corruption messages are printed once (details)
  180. update_test_checks: match CHECK-EMPTY lines for replacement. (details)
  181. Add TPREL relocation support to Hexagon (details)
  182. [gn build] (manually) merge 24ab9b537e61b3 yet more, to fix redef (details)
  183. [NewPassManager] Rename AM to OuterAM in the OuterAnalysisManagerProxy (details)
  184. [SelectionDAG] Simplify SelectionDAGBuilder::visitInlineAsm (details)
  185. [llvm-ranlib] Update expected error message check for Windows (details)
  186. [DebugInfo][NFC] Use function_ref consistently in debug line parsing (details)
  187. Fix some corner cases missed by D71955 (details)
  188. Check for aarch64 when not using .init_arrays (details)
  189. [mlir][spirv] Allow specifying availability on enum attribute cases (details)
  190. Handle init statements in readability-else-after-return (details)
  191. Fix trivial typos in comments; NFC (details)
  192. Make mangled_names.test and update_cc_test_checks.py work with Python 2. (details)
  193. [mlir][Linalg] Extend generic ops to allow tensors (details)
  194. [ELF][Hexagon][test] Use llvm-readobj to check relocations. NFC (details)
  195. [mlir][spirv] Update SPIR-V enums and ops with availability spec (details)
  196. [X86] Remove FP0-6 operands from call instructions in FPStackifier pass. (details)
  197. build: reduce CMake handling for zlib (details)
  198. Reland "[gn build] (manually) merge 68a235d07f9e70" (details)
  199. X86: remove unused variable (details)
  200. [PowerPC] Only legalize FNEARBYINT with unsafe fp math (details)
  201. Polly: Fix a tag type mismatch (struct/class) (details)
  202. [mlir] Remove redudant default cases (details)
  203. [X86] Move STRICT_ ISD nodes into the new section of X86ISelLowering.h (details)
  204. [mlir] Add parenthesis to avoid -Wparentheses (details)
  205. [mlir] Revert default case that was needed (details)
  206. [InstCombine] add tests for vector icmp with undef constant elements; (details)
  207. [mlir] Only generate default for uncovered cases (details)
  208. build: disable zlib by default on Windows (details)
  209. AMDGPU/GlobalISel: Regenerate check lines (details)
  210. AMDGPU/GlobalISel: Correct MMO sizes in some tests (details)
  211. [lldb/CMake] Use PYTHON_LIBRARIES instead of PYTHON_LIBRARY (details)
  212. [OPENMP] Restore allowing of braced initializers in the declare (details)
  213. [SystemZ]  Create brcl 0,0 instead of brcl 0,3 in EmitNop for 6 bytes. (details)
  214. [lldb/CMake] Fix variable naming in FindLibEdit (details)
  215. [lldb/CMake] Print whether an optional dependency was enabled. (details)
  216. [OPENMP50]Codegen for lastprivate conditional list items. (details)
  217. DAG: Use TargetConstant for FENCE operands (details)
  218. AMDGPU/GlobalISel: Remove manual G_FENCE selection (details)
  219. Change dbg-*-tag-offset tests to use llvm-dwarfdump. (details)
  220. Add C source to two debug info tests. (details)
  221. [mlir] Rewrite the internal representation of OpResult to be optimized (details)
  222. Fix llvm-symbolizer tests on Windows, one more time. (details)
  223. [lli] Add a filter to avoid importing the process's main symbol. (details)
  224. [PDB] Print the most redundant type record indices with /summary (details)
  225. [PowerPC][AIX] Enable sret arguments. (details)
  226. [CMake] clang-scan-deps in Fuchsia distribution (details)
  227. [lldb/Command] Add --force option for `watchpoint delete` command (details)
  228. [lldb/Python] Remove unused support file (NFC) (details)
  229. [lldb/Python] Remove unused imports (NFC) (details)
  230. Revert "[lldb/Command] Add --force option for `watchpoint delete` (details)
  231. [X86] Optimization of inserting vxi1 sub vector into vXi1 vector (details)
  232. Run update_llc_test_checks against SPE tests. (details)
  233. [PowerPC]: Fix predicate handling with SPE (details)
  234. [compiler-rt] [netbsd] Switch to syscall for ThreadSelfTlsTcb() (details)
  235. Revert "[Attributor] AAValueConstantRange: Value range analysis using (details)
  236. [mlir] NFC: Fix broken links in docs (details)
  237. [X86] Enable strict FP by default and remove option (details)
  238. [DAGCombine] Initialize the default operation action for (details)
  239. [X86] Re-enable lowerUINT_TO_FP_vXi32 under fast-math by using an FSUB (details)
  240. [llvm-size] print a blank line between archieve members when using sysv (details)
  241. [clangd] Replace shortenNamespace with getQualification (details)
  242. [X86] Reorder X86any* PatFrags to put the strict node first so that (details)
  243. [ARM][NFC] Move tail predication checks (details)
  244. [lldb][NFC] Document TypeSystem and related Compiler* classes (details)
  245. [lldb][NFC] Remove forward declaration for non-existent type (details)
  246. [NFC][DAGCombine][X86][AArch64] Tests for 'A - (A & (B - 1))' pattern (details)
  247. [DAGCombine][X86][AArch64] 'A - (A & (B - 1))' -> 'A & (0 - B)' fold (details)
  248. [test][llvm-dwarfdump] Add missing checks for table dumping (details)
  249. [test][llvm-dwarfdump] Normalise contents and checks for line tables (details)
  250. [test][llvm-dwarfdump] Use --implicit-check-not to simplify test checks (details)
  251. [Syntax] Build spanning SimpleDecalration for classes, structs, etc (details)
  252. [OpenCL] Add link to C++ for OpenCL documentation (details)
  253. [DebugInfo] Remove redundant checks for past-the-end of prologue (details)
  254. [test][ELF] Use CHECK-NEXT to properly verify error messages (details)
  255. [mlir][spirv] Fix shader ABI attribute prefix and add verification (details)
  256. [TargetLowering] Remove comments referring to TLOF (details)
  257. Fix typo "psuedo" in comments (details)
  258. [InstCombine] replace undef elements in vector constant when doing icmp (details)
  259. Fix for a dangling point bug in DeadStoreElimination pass (details)
  260. Fix typo in compiler extension testing (details)
  261. Fix compiler extension testing (details)
  262. Use llvm_canonicalize_cmake_booleans where intended (details)
  263. [ARM][NFC] Update MIR test (details)
  264. [NFC][DAGCombine] Clarify comment for 'A - (A & (B - 1))' fold (details)
  265. [NFC][DAGCombine][X86] Tests for 'A - (A & C)' pattern (PR44448) (details)
  266. [DAGCombine][X86][Thumb2/LowOverheadLoops] `A - (A & C)` -> `A & (~C)` (details)
  267. [NFC][DAGCombine][X86] '~(X - 1)' pattern tests (details)
  268. [DAGCombiner] `~(add X, -1)` -> `neg X` fold (details)
  269. [NFC][X86] Add BMI runlines to align-down.ll test (details)
  270. [NFC][X86][AArch64] Add 'A - (A & B)' pattern tests (PR44448) (details)
  271. [DAGCombiner][X86][AArch64] Generalize `A-(A&B)`->`A&(~B)` fold (details)
  272. AMDGPU/GlobalISel: Fix off by one in operand index (details)
  273. [Diagnostic] Fixed add ftabstop to -Wmisleading-indentation (details)
  274. [Attributor][FIX] Return CHANGED once a pessimistic fixpoint is reached. (details)
  275. [Attributor][FIX] Do not derive nonnull and dereferenceable w/o access (details)
  276. [Attributor][FIX] Don't crash on ptr2int/int2ptr instructions (details)
  277. [Attributor][NFC] Unify the way we delete dead functions (details)
  278. [Attributor][FIX] Allow dead users of rewritten function (details)
  279. [OpenMP] diagnose zero-length array section in the depend clause (details)
  280. [clang-format/java] format multiple qualified annotations on one (details)
  281. [OPENMP]Fix crash on error message for declare reduction. (details)
  282. [clangd] targetDecl() returns only NamedDecls. (details)
  283. [AArch64][test] Merge arm64-$i.ll Linux tests into $i.ll (details)
  284. [NFC][InstCombine] '(X & (- Y)) - X' pattern tests (PR44448) (details)
  285. [NFC][InstCombine] '(X & (- Y)) - X' -> '- (X & (Y - 1))' fold (PR44448) (details)
  286. [DWARF] Don't assume optional always has a value. (details)
  287. [mlir][Vector] NFC - Add documentation for the VectorOps dialect. (details)
  288. [mlir][linalg] Lower linalg to affine loops (details)
  289. [NFC][InstCombine] Autogenerate and2.ll checklines (details)
  290. [NFC][InstCombine] '(Op1 & С) - Op1' pattern tests (PR44427) (details)
  291. [NFC][InstCombine] '(Op1 & С) - Op1' -> '-(Op1 & ~C)' fold (PR44427) (details)
  292. Remove outdated svn/git information from hacking page (details)
  293. Move tail call disabling code to target independent code (details)
  294. [mlir][Linalg] NFC - Hotfix GenericLoopNestBuilder compilation error (details)
  295. [clang-tidy] implement utility-function to add 'const' to variables (details)
  296. [X86] Improve for v2i32->v2f64 uint_to_fp (details)
  297. [gn build] Port cf48101200e (details)
  298. [x86] add test for miscompile in XformToShuffleWithZero(); NFC (details)
  299. [LegalizeVectorOps] Pass the post-UpdateNodeOperands version of Op to (details)
  300. [DAGCombiner] fix miscompile in translating (X & undef) to shuffle (details)
  301. [mlir][spirv] Fix ADDITIONAL_HEADER_DIRS for SPIR-V libraries (details)
  302. [mlir][Linalg] NFC - Hotfix GenericLoopNestBuilder compilation error on (details)
  303. [mlir][Linalg] NFC - Post-commit format fix (details)
  304. [mlir] Enhance classof() checks in StructsGen (details)
  305. AMDGPU: Only allow regs for s_movrel_{b32|b64} (details)
  306. AMDGPU/GlobalISel: Add new utils file (details)
  307. AMDGPU: Add gfx9 run lines to a testcase (details)
  308. [SystemZ]  Don't allow CL option -mpacked-stack with -mbackchain. (details)
  309. [gn build] Port 9861a8538c0 (details)
  310. [NFC][ORC] Fix typos and whitespaces in comments (details)
  311. [clang-tidy] fix broken linking for AddConstTest with adding clangSema (details)
  312. [clang-tidy] quickfix: add -fno-delayed-template-parsing as default (details)
  313. [amdgpu] Skip non-instruction values in CF user tracing. (details)
  314. [bindings/go] Add Subprogram method (details)
  315. GlobalISel: Add type argument to getRegBankFromRegClass (details)
  316. [mlir] Fix indexed_accessor_range to properly forward the derived class. (details)
  317. [mlir] Compilation fix: use LLVM_ATTRIBUTE_UNUSED following (details)
  318. [clang-tidy] fix linkage with clangSema for FixitHintUtils, undo (details)
  319. [lldb/Docs] Include how to generate the man page (details)
  320. [globalisel] Fix another mismatch between %d and the RuleID type (details)
  321. [PowerPC][LoopVectorize] Add tests for fp128 and fp16 (details)
  322. [lldb/Docs] Include the man page on the website (details)
  323. [lldb/Utility] YAML validation should be orthogonal to packet semantics. (details)
  324. [AMDGPU] Revert scheduling to reduce spilling (details)
  325. [fuchsia] Enable Clang Static Analyzer (details)
  326. Add missing mlir-headers target and add tablegen'd deps to it. (details)
  327. [gicombiner] Add GIMatchTree and use it for the code generation (details)
  328. [gn build] Port 64f1bb5cd2c (details)
  329. [Diagnostic] Add test for previous (details)
  330. [gicombiner] Correct 64f1bb5cd2c to account for MSVC's %p format (details)
  331. [UserExpression] Clean up `return` after `else`. (details)
  332. [Remarks] Warn if a remark file is not found when processing static (details)
  333. [X86] Autogenerate complete checks. NFC (details)
  334. [lldb/Command] Add --force option for `watchpoint delete` command (details)
  335. Revert "[gicombiner] Add GIMatchTree and use it for the code generation" (details)
  336. [gn build] Port 5d304d68dd5 (details)
  337. [OpenMP] NFC: Fix trivial typos in comments (details)
  338. [X86] Update MaxIndex test in x86-cmov-converter.ll to return the index (details)
  339. [LLD] [COFF] Don't error out on duplicate absolute symbols with the same (details)
  340. [TargetLowering] SimplifyDemandedBits - call (details)
  341. [Transforms][GlobalSRA] huge array causes long compilation time and huge (details)
  342. [NFC][InstCombine] 'subtract of one hands of select' pattern tests (details)
  343. [InstCombine] Sink sub into hands of select if one hand becomes zero (details)
  344. [NFC][InstCombine] 'subtract from one hands of select' pattern tests (details)
  345. [InstCombine] Sink sub into hands of select if one hand becomes zero. (details)
  346. [NFCI][InstCombine] Refactor 'sink negation into select if that folds (details)
  347. [AMDGPU] need to insert wait between the scalar load and vector store to (details)
  348. NFC: Fix trivial typos in comments (details)
  349. Re-apply "[Examples] Add IRTransformations directory to examples." (details)
  350. [cmake] Remove install from add_llvm_example_library. (details)
  351. AMDGPU/GlobalISel: Implement applyMappingImpl less incorrectly (details)
  352. [Pass Registration] XFAIL load_extension.ll test on macOS. (details)
  353. AMDGPU/GlobalISel: Assume vcc phis for any vcc input (details)
  354. AMDGPU/GlobalISel: Legalize more odd sized loads (details)
  355. AMDGPU/GlobalISel: Refine SMRD selection rules (details)
  356. GlobalISel: Define G_READCYCLECOUNTER (details)
  357. [SCEV] Remove unused ScalarEvolutionExpander.h includes (NFC). (details)
  358. [SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC). (details)
  359. Revert "[SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (details)
  360. GlobalISel: Scalarize all division operations (details)
  361. [ELF] Drop const qualifier to fix -Wrange-loop-analysis. NFC (details)
  362. [LegalizeVectorOps] Split most of ExpandStrictFPOp into a separate (details)
  363. [TargetLowering] In expandFP_TO_UINT, add proper extend or truncate for (details)
  364. [LegalizeVectorOps][X86] Enable expansion of vector fp_to_uint in (details)
  365. [ParserTest] Move raw string literal out of macro (details)
  366. [ARM] Add and update FMA tests. NFC (details)
  367. [ARM] Fill in FP16 FMA patterns (details)
  368. [ARM] Use isFMAFasterThanFMulAndFAdd for scalars as well as MVE vectors (details)
  369. [X86] Merge (identical) LowerGC_TRANSITION_START and (details)
  370. [X86] Move combineLogicBlendIntoConditionalNegate before combineSelect. (details)
  371. [X86][SSE] Combine combineLogicBlendIntoConditionalNegate for VSELECT (details)
  372. [MC] Drop an unused rule about absolute temporary symbols (details)
  373. [MC] Merge MCSymbol::getSectionPtr into getSection and simplify (details)
  374. Fix oversight in AST traversal helper (details)
  375. Allow using traverse() with bindings (details)
  376. [MC] Delete MCSection::{rbegin,rend} (details)
  377. [Gnu toolchain] Look at standard GCC paths for libstdcxx by default (details)
  378. Add missing test (details)
  379. [MC][ARM] Delete MCSection::HasData and move SHF_ARM_PURECODE logic to (details)
  380. Clang-format previous commit (details)
  381. [Coroutines] Remove corresponding phi values when apply (details)
  382. [NFC] Modify the format: Drop the else since we alerady returned in the (details)
  383. [X86] Improve v2i64->v2f32 and v4i64->v4f32 uint_to_fp on avx and avx2 (details)
  384. [MC] Delete MCFragment::isDummy. NFC (details)
  385. [DAGCombine] Don't check the legality of type when combine the (details)
  386. [MC] Reorder MCFragment members to decrease padding (details)
  387. [MC] Reorder members of MCFragment's subclasses to decrease padding (details)
  388. [mlir][spirv] Update SPIR-V documentation with information about (details)
  389. [TargetLowering] Use SETCC input type to call getBooleanContents instead (details)
  390. [Clang] Force rtlib=platform in test to avoid fails with (details)
  391. [Metadata] Add TBAA struct metadata to `AAMDNode` (details)
  392. [APFloat] Add recoverable string parsing errors to APFloat (details)
  393. Add ExternalAAWrapperPass to createLegacyPMAAResults. (details)
  394. [mlir] Update mlir/CMakeLists.txt to install *.def files (details)
  395. [APFloat] Fix compilation warnings (details)
  396. Add interface emitPrefix for MCCodeEmitter (details)
  397. [ARM][MVE] More MVETailPredication debug messages. NFC. (details)
  398. Fix MSVC "not all control paths return a value" warning. NFCI. (details)
  399. [NFC] Fix trivial typos in comments (details)
  400. [test][DebugInfo][NFC] Rename method for clarity (details)
  401. [DAG] DAGCombiner::XformToShuffleWithZero - use APInt::extractBits (details)
  402. [CostModel][X86] Add missing scalar i64->f32 uitofp costs (details)
  403. [X86] Add extra PR43971 test case mentioned in D70267 (details)
  404. [clang-format] fix conflict between FormatStyle::BWACS_MultiLine and (details)
  405. [mlir][Linalg] Reimplement and extend getStridesAndOffset (details)
  406. AMDGPU/GlobalISel: Select more G_EXTRACTs correctly (details)
  407. [lldb] [Process/NetBSD] Remove unused orig_*ax use (details)
  408. AMDGPU/GlobalISel: Select scalar v2s16 G_BUILD_VECTOR (details)
  409. [ARM,MVE] Generate the right instruction for vmaxnmq_m_f16. (details)
  410. [ARM,MVE] Support -ve offsets in gather-load intrinsics. (details)
  411. [ARM,MVE] Fix many signedness errors in MVE intrinsics. (details)
  412. Fix "use of uninitialized variable" static analyzer warning. NFCI. (details)
  413. Fix "use of uninitialized variable" static analyzer warnings. NFCI. (details)
  414. [AMDGPU] Fix "use of uninitialized variable" static analyzer warning. (details)
  415. [NFC] Fixes -Wrange-loop-analysis warnings (details)
  416. Adds -Wrange-loop-analysis to -Wall (details)
  417. [AIX] Use csect reference for function address constants (details)
  418. [ARM] Use correct TRAP opcode for thumb in FastISel (details)
  419. [ARM] Use the correct opcodes for Thumb2 segmented stack frame lowering (details)
  420. [llvm-libc] Fix missing virtual destructor (details)
  421. [AIX] Use csect reference for function address constants (details)
  422. [lldb/CMake] Autodetect Python dependency (details)
  423. [lldb/Test] Temporarily skip TestFoundationDisassembly on the ASan bot. (details)
  424. [clang-tidy] new check: bugprone-signed-char-misuse (details)
  425. [gn build] Port 350da402ef6 (details)
  426. [llvm-readelf] Print EI_ABIVERSION as decimal instead of hexadecimal (details)
  427. [lldb/Test] Move @skipIfAsan from test class to test methods. (details)
  428. Make check-llvm run 50% faster on macOS, 18% faster on Windows. (details)
  429. [CMake] Add $ORIGIN/../../../../lib to rpath if BUILD_SHARED_LIBS or (details)
  430. [lldb/CMake] Only set PYTHON_HOME on Windows (details)
  431. [lldb/Docs] Fix capitalization typo. (details)
  432. [libc] Move all tests to a top level `test` directory. (details)
  433. [lld] Fix trivial typos in comments (details)
  434. [PowerPC][LoopVectorize] Extend getRegisterClassForType to consider (details)
  435. [X86] Fix an 8 bit testb being selected when folding a volatile i32 load (details)
  436. Lower TAGPstack with negative offset to SUBG. (details)
  437. [OpenMP] Fix incorrect property of __has_attribute() macro (details)
  438. [x86] add tests for concat self + shuffle; NFC (details)
  439. [NFC] Test commit, whitespace change (details)
  440. [NFC] Test commit, revert whitespace change (details)
  441. [OPENMP50]Support lastprivate conditional updates in inc/dec unary ops. (details)
  442. [X86] Rename vec-strict-*-cmp.ll to vec-strict-cmp-*.ll to match other (details)
  443. [LegalizeTypes] Add widening support for STRICT_FSETCC/FSETCCS (details)
  444. [lldb/Docs] Describe optional dependencies on build page. (details)
  445. [X86] Improve v4i32->v4f64 uint_to_fp for AVX1/AVX2 targets. (details)
  446. llc/MIR: Fix setFunctionAttributes for MIR functions (details)
  447. AMDGPU: Use ImmLeaf for inline immediate predicates (details)
  448. AMDGPU: Use ImmLeaf (details)
  449. AMDGPU: Fix legalizing f16 fpow (details)
  450. GlobalISel: Start adding computeNumSignBits to GISelKnownBits (details)
  451. GlobalISel: Correct result type for G_FCMP in lowerFPTOUI (details)
  452. GlobalISel: Fix unsupported legalize action (details)
  453. [Diagnostic] make Wmisleading-indendation not warn about labels (details)
  454. [PowerPC][NFC] Rename record instructions to use _rec suffix instead of (details)
  455. [FileCheck] Remove FileCheck prefix in API (details)
  456. Don't rely on 'l'(ell) modifiers to indicate a label reference (details)
  457. [CMake] Pass symlink dependency to add_llvm_install_targets explicitly (details)
  458. [NSArray] Remove a very old and deprecated formatter. (details)
  459. [msan] Check qsort input. (details)
  460. [X86] Move an enum definition into a header to simplify future patches (details)
  461. Change the patterns to include the prefix '= ' so we don't pass (details)
  462. GlobalISel: Implement lower for G_INTRINSIC_ROUND (details)
  463. TableGen/GlobalISel: Handle default operands that are used (details)
  464. AMDGPU/GlobalISel: Replace handling of boolean values (details)
  465. AMDGPU/GlobalISel: Select G_UADDE/G_USUBE (details)
  466. Use FileCheck instead of grep (details)
  467. Add Triple::isX86() (details)
  468. [NFC] Fixes -Wrange-loop-analysis warnings (details)
  469. [msan] Fix underflow in qsort interceptor. (details)
  470. [CodeGen][ObjC] Push the properties of a protocol before pushing the (details)
  471. AMDGPU/GlobalISel: Legalize G_READCYCLECOUNTER (details)
  472. [WebAssembly] Fix landingpad-only case in Emscripten EH (details)
  473. AMDGPU: Use default operands for clamp/omod (details)
  474. Always deduce the lengths of contained parameter packs when deducing a (details)
  475. AMDGPU: Select llvm.amdgcn.interp.p2.f16 directly (details)
  476. AMDGPU: Add run line to int_to_fp tests (details)
  477. [NFC][Test] Add a test to verify the DAGCombine of fma (details)
  478. [mlir][Linalg] Add a linalg.reshape op (details)
  479. AMDGPU/GlobalISel: Fix unused variable warning in release (details)
  480. [MC] Add parameter `Address` to MCInstPrinter::printInst (details)
  481. [MC] Add parameter `Address` to MCInstrPrinter::printInstruction (details)
  482. Let PassBuilder Expose PassInstrumentationCallbacks (details)
  483. [libc] Add __attribute__((always_inline)) to x86_64 syscall functions. (details)
  484. [OpenMP] NFC: Fix trivial typos in comments (details)
  485. [libc] Move implementations of strcat and strcpy to the string (details)
  486. [APFloat] Fix fusedMultiplyAdd when `this` equals to `Addend` (details)
  487. [lldb] Fix LLDB build after API change to printInst (D72172) (details)
  488. Fix compiler extension example cmake integration (details)
  489. [APFloat] Fix out of scope usage of a pointer to local variable (details)
  490. [SystemZ] Fix python failure in test case (details)
  491. [NFC] Use isX86() instead of getArch() (details)
  492. [lldb][NFC] Take a llvm::Triple in ClangASTContext constructor (details)
  493. [LLD][ELF][AArch64] Do not use thunk for undefined weak symbol. (details)
  494. [DebugInfo] Fix infinite loop caused by reading past debug_line end (details)
  495. Fix "use of uninitialized variable" static analyzer warnings. NFCI. (details)
  496. Fix "use of uninitialized variable" static analyzer warnings. NFCI. (details)
  497. Fix Wdocumentation warnings. NFCI. (details)
  498. [RISCV][Docs] Add RISC-V asm template argument modifiers (details)
  499. [clangd] Add path mappings functionality (details)
  500. [gn build] Port c69ae835d0e (details)
  501. [SystemZ] Extend fp-strict-alias test case (details)
  502. [lldb][NFC] Use static_cast instead of reinterpret_cast where possible (details)
  503. Fix "use of uninitialized variable" static analyzer warning. NFCI. (details)
  504. [ARM] Improve codegen of volatile load/store of i64 (details)
  505. Fix "pointer is null" static analyzer warning. NFCI. (details)
  506. [X86] Standardize shuffle match/lowering function names. NFC. (details)
  507. [ARM][MVE] VPT Blocks: findVCMPToFoldIntoVPS (details)
  508. [clangd] Introduce bulletlists (details)
  509. [OPENMP]Do not diagnose references to non-integral types for ref in (details)
  510. [DAGCombiner] reduce shuffle of concat of same vector (details)
  511. [TypePromotion] Use SetVectors instead of PtrSets (details)
  512. [docs] NFC: Fix typos in documents (details)
  513. AMDGPU/GlobalISel: Partially fix llvm.amdgcn.kill pattern import (details)
  514. llc: Change behavior of -mcpu with existing attribute (details)
  515. OpaquePtr: print byval types containing anonymous types correctly. (details)
  516. AMDGPU/GlobalISel: Select llvm.amdgcn.wqm.vote (details)
  517. AMDGPU/GlobalISel: Fix import of s_abs_i32 pattern (details)
  518. [InstCombine] try to pull 'not' of select into compare operands (details)
  519. Remove extraneous spaces (details)
  520. AMDGPU/GlobalISel: Fix readfirstlane pattern import (details)
  521. [ARM][MVE] Renamed VPT Block tests and files to something more (details)
  522. [HIP] Add option --gpu-max-threads-per-block=n (details)
  523. [AIX][XCOFF]Implement mergeable const (details)
  524. [LifetimeAnalysis] Do not forbid void deref type in (details)
  525. [analyzer] Update help text to reflect sarif support (details)
  526. [X86] Pull out repeated SrcVT.getVectorNumElements() call. NFCI. (details)
  527. [ARM] Regenerate bfi.ll test cases (details)
  528. [lldb] Initialize some bitfields in FuncUnwinders.cpp (details)
  529. [clangd] Assert that the testcases in LocateSymbol.All have no (details)
  530. [clangd] Heuristically resolve dependent call through smart pointer type (details)
  531. [OPENMP]Allow using of members in standalone declaration pragmas. (details)
  532. Fix issues reported by -Wrange-loop-analysis when building with latest (details)
  533. [gicombiner] Add GIMatchTree and use it for the code generation (details)
  534. [gn build] Port 1d94fb21118 (details)
  535. [X86] Improve lowering of v2i64 sign bit tests on pre-sse4.2 targets (details)
  536. [X86] Improve lowering of (v2i64 (setgt X, -1)) on pre-SSE2 targets. (details)
  537. [MachineOutliner][AArch64] Save + restore LR in noreturn functions (details)
  538. [OPENMP]Reduce calls for the mangled names. (details)
  539. [test] Move ppc64 tests from test/Preprocessor/init.c to init-ppc64.c (details)
  540. [PowerPC][Triple] Use elfv2 on freebsd>=13 and linux-musl (details)
  541. [cmake] Use relative cmake binary dir for processing pass plugins. (details)
  542. [lldb/Lua] Add string conversion operator for SBTarget. (details)
  543. AMDGPU: Fix not using v_cvt_f16_[iu]16 (details)
  544. AMDGPU: Use ImmLeaf (details)
  545. AMDGPU: Fix misleading, misplaced end block comments (details)
  546. AMDGPU: Remove VOP3Mods0Clamp0OMod (details)
  547. AMDGPU: Add baseline test for missing pattern (details)
  548. [cmake] Use source-groups in Polly. (details)
  549. Revert "[lldb/Lua] Add string conversion operator for SBTarget." (details)
  550. [x86] add tests for extract-of-concat; NFC (details)
  551. Remove extraneous semicolon. (details)
  552. [gicombiner] Correct 64f1bb5cd2c to account for MSVC's %p format (details)
  553. [lldb/Test] Make TestConvenienceVariables more strict (details)
  554. [lldb/Test] Remove old binary created by TestConvenienceVariables (details)
  555. [X86] Enable v2i64->v2f32 uint_to_fp code in ReplaceNodeResults on (details)
  556. [libc++] Add additional benchmark functions to (details)
  557. [clang-tidy] modernize-use-using uses AST and now supports struct (details)
  558. AMDGPU: Apply i16 add->sub pattern with zext to i32 (details)
  559. AMDGPU/GlobalISel: Fix missing test for s16 icmp (details)
  560. AMDGPU/GlobalISel: Add some missing G_SELECT testcases (details)
  561. AMDGPU/GlobalISel: Fix scalar G_SELECT for arbitrary pointers (details)
  562. Allow output constraints on "asm goto" (details)
  563. Re-land "[lldb/Lua] Add string conversion operator for SBTarget." (details)
  564. Revert "Allow output constraints on "asm goto"" (details)
  565. [X86] Add SSE4.1 command lines to vec-strict-inttofp-128.ll to cover the (details)
  566. [AArch64][GlobalISel] Fold a chain of two G_PTR_ADDs of constant (details)
  567. [PowerPC] Default ppc64 linux-gnu/freebsd to -fno-PIC (details)
  568. Fix warnings as errors that occur on sanitizer-x86_64-linux (details)
  569. [GVN/FP] Considate logic for reasoning about equality vs equivalance for (details)
  570. Rewrite comment about what watchpoints Aarch64 supports. (details)
  571. Revert "Re-land "[lldb/Lua] Add string conversion operator for (details)
  572. XFAIL load_extension.ll for all targets currently - it's failing on (details)
  573. [libcxx] fix incorrect attribute property (details)
  574. [docs] Improve HowTo commit changes from git (details)
  575. [SCEV] get more accurate range for AddExpr with wrap flag. (details)
  576. [mlir][spirv] Add lowering for std.fpext, std.fptrunc, std.sitofp. (details)
  577. [docs] Fix duplicate explicit target name: developer policy (details)
  578. [mlir][spirv] Add lowering for standard bit ops (details)
  579. [mlir][spirv] Add lowering for std cmp ops. (details)
  580. AMDGPU: Annotate EXTRACT_SUBREGs with source register classes (details)
  581. Revert "[mlir][spirv] Add lowering for std.fpext, std.fptrunc, (details)
  582. [mlir][spirv] Add lowering for std.fpext, std.fptrunc, std.sitofp. (details)
  583. [RISCV] Fix evalutePCRelLo for symbols at the end of a fragment (details)
  584. [X86] Adding fp128 support for strict fcmp (details)
  585. [lldb/Test] Try to appease the Windows bot (details)
  586. [lldb/CMake] Only auto-enable Python when SWIG is found (details)
  587. [NFC][Test] Add the option -enable-no-signed-zeros-fp-math for test (details)
  588. [libc] Add a convenience CMake rule to add testsuites. (details)
  589. [clangd] Add xref for macros to FileIndex. (details)
  590. [libcxx][test] Fix span tests. (details)
  591. [lldb][NFC] Remove redundant ClangASTContext constructor that takes (details)
  592. AArch64: add missing Apple CPU names and use them by default. (details)
  593. Revert "[InstCombine] fold zext of masked bit set/clear" (details)
  594. [llvm-symbolizer]Fix printing of malformed address values not passed via (details)
  595. [lldb] Remove default llvm::Triple argument from ClangASTContext (details)
  596. [NFC][ARM] Update tests (details)
  597. [Dsymutil][Debuginfo][NFC] Reland: Refactor dsymutil to separate DWARF (details)
  598. [gn build] (manually) merge 1cf11a4c67a15 (details)
  599. Disallow an empty string literal in an asm label (details)
  600. [ARM][MVE] Enable masked gathers from vector of pointers (details)
  601. [gn build] Port 346f6b54bd1 (details)
  602. Fixing a formatting nit; NFC (details)
  603. [NFC] Move InPQueue into arguments of releaseNode (details)
  604. [Intrinsic] Add fixed point division intrinsics. (details)
  605. [clang-tidy] Disable match on `if constexpr` statements in template (details)
  606. [ARM,MVE] Intrinsics for partial-overwrite imm shifts. (details)
  607. [ARM,MVE] Intrinsics for variable shift instructions. (details)
  608. [JumpThreading] Thread jumps through two basic blocks (details)
  609. [OPENMP]Allow comma in combiner expression. (details)
  610. [DAGCombiner] clean up extract-of-concat fold; NFC (details)
  611. [InstCombine] Adding testcase for Z / (1.0 / Y) => (Y * Z); NFC (details)
  612. [SelectionDAG] Use llvm::Optional<APInt> for FoldValue. (details)
  613. [amdgpu] Remove unused header. NFC. (details)
  614. [lldb/CMake] Use LLDB's autodetection logic for libxml2 (details)
  615. Fix "pointer is null" static analyzer warning. NFCI. (details)
  616. Fix "pointer is null" static analyzer warning. NFCI. (details)
  617. [MC] writeFragment - assert MCFragment::FT_Fill length is legal. (details)
  618. [ELF] Don't special case weak symbols for pie with no shared objects (details)
  619. [ELF] Delete an unused special rule from isStaticLinkTimeConstant. NFC (details)
  620. [BranchAlign] Compiler support for suppressing branch align (details)
  621. [X86] Add isel patterns for bitcasting between v32i1/v64i1 and (details)
  622. [X86] Custom type legalize v4i64->v4f32 uint_to_fp on sse4.1 targets in (details)
  623. [mlir][Linalg] Lower linalg.reshape to LLVM for the static case (details)
  624. [mlir] NFC: Move the state for managing aliases out of ModuleState and (details)
  625. [clang-tidy] Remove broken test on Windows for (details)
  626. [MLIR] Fix ML IR build on Windows with Visual Studio (details)
  627. [X86] Keep cl::opts at top of file [NFC] (details)
  628. Merge memtag instructions with adjacent stack slots. (details)
  629. Add a new AST matcher 'optionally'. (details)
  630. LTOVisibility.rst: fix up syntax in example (details)
  631. [x86] add test for concat-extract corner case; NFC (details)
  632. Canonicalize static alloc followed by memref_cast and std.view (details)
  633. [LLD] [COFF] Fix post-commit suggestions for absolute symbol equality (details)
  634. [InstSimplify] add tests for select of true/false; NFC (details)
  635. [lldb/SWIG] Refactor extensions to be non Python-specific (details)
  636. Revert "[JumpThreading] Thread jumps through two basic blocks" (details)
  637. [lldb/CMake] Only auto-enable Lua when SWIG is found (details)
  638. Delete dead code. (details)
  639. Revert "Merge memtag instructions with adjacent stack slots." (details)
  640. [MLIR] Don't use SSA names directly for std.view canonicalization test (details)
  641. [cfi][test] cross-dso/stats.cpp: don't assume the order of static (details)
  642. [lldb/SWIG] Refactor extensions to be non Python-specific (2/2) (details)
  643. [X86]  Remove EFLAGS from live-in lists in X86FlagsCopyLowering. (details)
  644. [NFC] Whitespace fixes (details)
  645. [libcxx] [test] Disable refwrap/weak_result.pass.cpp in C++20 mode (details)
  646. Recommit "[MachineVerifier] Improve verification of live-in lists." (details)
  647. [PowerPC]: Add powerpcspe target triple subarch component (details)
  648. [NFC][InlineCost] Factor cost modeling out of CallAnalyzer traversal. (details)
  649. [Attributor][FIX] Avoid dangling value pointers during code modification (details)
  650. [Attributor][FIX] Carefully change invokes to calls (after manifest) (details)
  651. Revert "[NFC][InlineCost] Factor cost modeling out of CallAnalyzer (details)
  652. [PowerPC] when folding rlwinm+rlwinm. to andi., we should use first (details)
  653. [lldb] Remove various dead Compare functions (details)
  654. [MIR] Target specific MIR formating and parsing (details)
  655. Save more descriptive error msg from FBS/BKS, relay it up to lldb. (details)
  656. Revert "[MIR] Target specific MIR formating and parsing" (details)
  657. [MIR] Target specific MIR formating and parsing (details)
  658. Revert "[MIR] Target specific MIR formating and parsing" (details)
  659. Revert "Revert "[MIR] Target specific MIR formating and parsing"" (details)
  660. [DAGCombine] Fold the (fma -x, y, -z) to -(fma x, y, z) (details)
  661. [lldb/SWIG] Refactor extensions to be non Python-specific (3/3) (details)
  662. [SCEV] [NFC] add testcase for constant range for addrecexpr with nsw (details)
  663. [APFloat] Fix checked error assert failures (details)
  664. [mlir][VectorOps] Implement strided_slice conversion (details)
  665. [mlir][VectorOps] Implement insert_strided_slice conversion (details)
  666. [ARM][LowOverheadLoops] Update liveness info (details)
  667. [mlir][GPU] introduce utilities for promotion to workgroup memory (details)
  668. [LV] Still vectorise when tail-folding can't find a primary inducation (details)
  669. [DWARFDebugLoc] Tweak error message when resolving offset pairs with no (details)
  670. Revert "[ARM][LowOverheadLoops] Update liveness info" (details)
  671. [Matrix] Implement back-propagation of shape information. (details)
  672. [LoopUtils][NFC] Minor refactoring in getLoopEstimatedTripCount. (details)
  673. [VE] Target stub for NEC SX-Aurora (details)
  674. [Matrix] Propagate and use shape information for loads. (details)
  675. [clangd] Refurbish HoverInfo::present (details)
  676. [Matrix] Update shape propagation to iterate until done. (details)
  677. [lldb] Fix that TestNoSuchArch.py was passing for the wrong reason (details)
  678. Fix MSVC unhandled enum warning. NFCI. (details)
  679. [clang-tidy] For checker `readability-misleading-indentation` update (details)
  680. [ARM][MVE] Don't unroll intrinsic loops. (details)
  681. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  682. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  683. [lldb/DWARF] Add is_dwo member to DWARFUnit (details)
  684. [lldb/DWARF] Fix mixed v4+v5 location lists (details)
  685. Fix "pointer is null" static analyzer warning. NFCI. (details)
  686. Fix "pointer is null" static analyzer warning. NFCI. (details)
  687. [NFC][ARM] LowOverheadLoop comments (details)
  688. [Concepts] Function trailing requires clauses (details)
  689. [mlir] fix test failure in EDSC/builder-api-test (details)
  690. [lldb] Modernize OptionValue::SetValueChangedCallback (details)
  691. [InstCombine] Use minimal FMF in testcase for Z / (1.0 / Y) => (Y * Z); (details)
  692. [ARM][MVE] MVE-I should not be disabled by -mfpu=none (details)
  693. [InstSimplify] select Cond, true, false --> Cond (details)
  694. [Concepts] Fix failing test on Windows (details)
  695. [DAGCombiner] reduce extract subvector of concat (details)
  696. [OPENMP]Remove unused code, NFC. (details)
  697. IR: remove "else" after "return". NFCI. (details)
  698. [ARM,MVE] Fix valid immediate range for vsliq_n. (details)
  699. [ARM,MVE] Add missing IntrNoMem flag on IR intrinsics. (details)
  700. AMDGPU: Add register class to DS_SWIZZLE_B32 pattern (details)
  701. TableGen/GlobalISel: Fix slightly wrong generated comment (details)
  702. AMDGPU/GlobalISel: Fix add of neg inline constant pattern (details)
  703. AMDGPU/GlobalISel: Add equiv xform for bitcast_fpimm_to_i32 (details)
  704. AMDGPU/GlobalISel: Add selectVOP3Mods_nnan (details)
  705. AMDGPU/GlobalISel: Add IMMPopCount xform (details)
  706. AMDGPU/GlobalISel: Fix import of zext of s16 op patterns (details)
  707. AMDGPU: Use new PatFrag system for d16 load nodes (details)
  708. AMDGPU: Use new PatFrag system for d16 stores (details)
  709. AMDGPU: Eliminate more legacy codepred address space PatFrags (details)
  710. AMDGPU/GlobalISel: Fix import of integer med3 (details)
  711. TableGen: Remove unused code (details)
  712. [ELF][Hexagon] Add support for IE relocations (details)
  713. [InstCombine] Z / (1.0 / Y) => (Y * Z) (details)
  714. [libcxxabi] Allow tests to link with static libc++abi/libc++ even if the (details)
  715. [clangd] Respect `--sysroot` argument if it is set (details)
  716. [lldb/SWIG] Add missing '\' in macros again (details)
  717. [lldb/Lua] Make lldb.debugger et al available to Lua (details)
  718. [NFCI][LoopUnrollAndJam] Changing LoopUnrollAndJamPass to a function (details)
  719. Improve support of GNU mempcpy (details)
  720. [OpenCL][Docs] Rename C++ for OpenCL label (details)
  721. [lldb/Bindings] Move bindings into their own subdirectory (details)
  722. [clangd] Adjust diagnostic range to be inside main file (details)
  723. [lldb/SWIG] Fix capitalization for case sensitive file systems. (details)
  724. [Clang] Handle target-specific builtins returning aggregates. (details)
  725. [Support][NFC] Add a comment about the semantics of MF_HUGE_HINT flag (details)
  726. [NFC,format] Sort switch cases alphabetically (details)
  727. [Support][NFC] Make some helper functions "static" in Memory.inc (details)
  728. [lldb/SWIG] Undo incorrect substitution (details)
  729. [SystemZ] Fix matching another pattern for nxgrk (PR44496) (details)
  730. [x86] add tests for 2-way splat copy; NFC (details)
  731. [Support][NFC] Add an explicit unit test for Process::getPageSize() (details)
  732. [TargetLowering][X86] TeachSimplifyDemandedBits to handle cases where (details)
  733. [demangle] Copy back some NFC commits from LLVM (details)
  734. [PowerPC] The VK_PLT symbolref modifier is only used on 32-bit ELF. (details)
  735. [X86] AMD Znver2 (Rome) Scheduler enablement (details)
  736. [ms] [X86] Use "P" modifier on all branch-target operands in inline X86 (details)
  737. [clang] Enforce triple in mempcpy test (details)
  738. [GlobalISel][AArch64] Import + select LDR*roW and STR*roW patterns (details)
  739. [X86] Add ueq/one fp128 quiet compare tests. NFC (details)
  740. Re-apply "[ELF] Allow getErrPlace() to work before Out::bufferStart is (details)
  741. MipsDelaySlotFiller: Update registers def-uses for BUNDLE instructions (details)
  742. [mlir] NFC: Move the state for managing SSA value names out of (details)
  743. [libc++] Explicitly enumerate std::string external instantiations. (details)
  744. [clang-tidy] Refresh the add_new_check.py now that we use a table + (details)
  745. [clangd] Handle DeducedTemplateSpecializationType in TargetFinder (details)
  746. phab doc: remove the svn section (details)
  747. phab doc: also document 'arc land' (details)
  748. phab doc: Replace or remove references to svn (details)
  749. AMDGPU/GlobalISel: Widen 16-bit shift amount sources (details)
  750. AMDGPU/GlobalISel: Fix argument lowering for vectors of pointers (details)
  751. GlobalISel: Don't assert on MoreElements creating vectors (details)
  752. TableGen/GlobalISel: Address fixme (details)
  753. GlobalISel: Move getLLTForMVT/getMVTForLLT (details)
  754. Add gdb pretty printer for MutableArrayRef, remove ConstArrayRef. (details)
  755. Add builtins for aligning and checking alignment of pointers and (details)
  756. [mlir] mlir-cpu-runner test's cblas_interface should export functions on (details)
  757. [mlir] add a missing dependency for Linalg conversion (details)
  758. [AArch64][GlobalISel] Implement selection of <2 x float> vector splat. (details)
  759. CodeGen: Use LLT instead of EVT in getRegisterByName (details)
  760. GlobalISel: Fix else after return (details)
  761. DAG: Don't use unchecked dyn_cast (details)
  762. GlobalISel: Handle llvm.read_register (details)
  763. TableGen/GlobalISel: Add way for SDNodeXForm to work on timm (details)
  764. TableGen/GlobalISel: Fix pattern matching of immarg literals (details)
  765. [lldb/Lua] Add lua typemaps for INOUT params (details)
  766. [mlir] Use getDenseElementBitwidth instead of (details)
  767. When diagnosing the lack of a viable conversion function, also list (details)
  768. AVR: Update for getRegisterByName change (details)
  769. [lldb] Remove spurious file (details)
  770. [AMDGPU] Fix bundle scheduling (details)
  771. When reading Aux file in chunks, read consecutive byte ranges (details)
  772. [ELF] Fix includeInDynsym() when an undefined weak is merged with a lazy (details)
  773. AMDGPU/GlobalISel: Fix G_EXTRACT_VECTOR_ELT mapping for s-v case (details)
  774. AMDGPU/GlobalISel: Select G_EXTRACT_VECTOR_ELT (details)
  775. Relax opcode checks in test for G_READCYCLECOUNTER to check for only a (details)
  776. CWG2352: Allow qualification conversions during reference binding. (details)
  777. [NFC] Style cleanup (details)
  778. fix a few typos to cycle the bots (details)
  779. fix another typo to cycle bots (details)
  780. [ThinLTO] Pass CodeGenOpts like UnrollLoops/VectorizeLoop/VectorizeSLP (details)
  781. [xray] Remove cl::sub from alias options (details)
  782. clang-tidy doc - remove the widths (details)
  783. [Syntax] Update comment, remove stale FIXME. NFC (details)
  784. [LV] VPValues for memory operation pointers (NFCI) (details)
  785. Restore order in clang-tidy section of release notes (details)
  786. Allow system header to provide their own implementation of some builtin (details)
  787. [NFC] [PowerPC] Add isPredicable for basic instrs (details)
  788. [clangd] Improve type printing in hover (details)
  789. [clangd] Fix markdown rendering in VSCode (details)
  790. Fix several issues with compiler extensions (details)
  791. [SVEV] Recognise hardware-loop intrinsic loop.decrement.reg (details)
  792. Follow up of 67bf9a6154d4b82c, minor fix in test case, removed duplicate (details)
  793. [libcxx] Force-cache LIBCXX_CXX_ABI_LIBRARY_PATH (details)
  794. [CMake] Support running libc++abi tests in CrossWinToARMLinux cache file (details)
  795. XFAIL load_extension.ll test on macOS only (details)
  796. [MIR] Fix cyclic dependency of MIR formatter (details)
  797. [LV] Silence unused variable warning in Release builds. NFC. (details)
  798. Don't use dyn_cast_or_null if we know the pointer is nonnull. (details)
  799. [X86][AVX] Add tests for v8f32/v8i32 089abcde and 0189abcd shuffles (details)
  800. Fix Wdocumentation warning. NFCI. (details)
  801. Fix Wdocumentation warning. NFCI. (details)
  802. Data formatters: Look through array element typedefs (details)
  803. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  804. [ARM,MVE] Make `vqrshrun` generate the right instruction. (details)
  805. [ARM][Thumb2] Fix ADD/SUB invalid writes to SP (details)
  806. [lldb/lua] Make convenience_variables.test compatible with lua-5.1 (details)
  807. [lldb/DWARF] Don't automatically search dwo unit attributes (details)
  808. [CodeComplete] Suggest 'return nullptr' in functions returning pointers (details)
  809. [lldb] Surpress "bitfield too small" gcc warning (details)
  810. [Support] ThreadPoolExecutor fixes for Windows/MinGW (details)
  811. [lldb][tests] Take into account all parent's categories when traverse (details)
  812. [lldb][test] NFC, re-use _getTestPath() function (details)
  813. [FPEnv] Generate constrained FP comparisons from clang (details)
  814. [lldb][tests] Cleanup '.categories' (details)
  815. Reverting, broke some bots. Need further investigation. (details)
  816. Sprinkle some constexpr on default ctors so the compiler can diagnose (details)
  817. ARMLowOverheadLoops: a few more dbg msgs to better trace rejected TP (details)
  818. RangeDataVector: Support custom sorting for D63540 (details)
  819. [ARM][MVE] Tail predicate VMAX,VMAXA,VMIN,VMINA (details)
  820. [FPEnv] Invert sense of MIFlag::FPExcept flag (details)
  821. [lldb][tests][NFC] Unify variable naming convention (details)
  822. [lldb][tests] Make it possible to expect failure for a whole category (details)
  823. AMDGPU/GlobalISel: Clamp G_ZEXT source sizes (details)
  824. [LIBOMPTARGET]Ignore empty target descriptors. (details)
  825. [DebugInfo] Improve error message text (details)
  826. [DebugInfo][NFC] Remove unused variable/fix variable naming (details)
  827. [NFC] format unittest for ExprMutAnalyzer (details)
  828. [PowerPC] Handle constant zero bits in BitPermutationSelector (details)
  829. Add support for __declspec(guard(nocf)) (details)
  830. Add missing nullptr checks. (details)
  831. [analyzer] Add PlacementNewChecker (details)
  832. [mlir][spirv] Fix typos related to (de)serialization. (details)
  833. [InstCombine] add tests for fsub; NFC (details)
  834. [BPF] extend BTF_KIND_FUNC to cover global, static and extern funcs (details)
  835. [clangd] Fix targetDecl() on certain usage of ObjC properties. (details)
  836. [gn build] Port 5e7beb0a414 (details)
  837. [X86][AVX] lowerShuffleAsLanePermuteAndShuffle - consistently normalize (details)
  838. Fix "pointer is null" static analyzer warning. NFCI. (details)
  839. Fix "pointer is null" static analyzer warning. NFCI. (details)
  840. [examples] Add missing dependency in llvm examples (details)
  841. [AIX] Allow vararg calls when all arguments reside in registers (details)
  842. Fix "pointer is null" static analyzer warning. NFCI. (details)
  843. [AArch64] Add function attribute "patchable-function-entry" to add NOPs (details)
  844. [X86] Support function attribute "patchable-function-entry" (details)
  845. Support function attribute patchable_function_entry (details)
  846. [Driver][CodeGen] Add -fpatchable-function-entry=N[,0] (details)
  847. [ELF] Make TargetInfo::writeIgotPlt a no-op (details)
  848. [LegalizeVectorOps] Improve handling of multi-result operations. (details)
  849. [lldb] Remove FieldDecl stealing hack by rerouting indirect imports to (details)
  850. [lldb/Lua] Support loading Lua modules (details)
  851. Update the attribution policy to use the 'Author' property of a git (details)
  852. [analyzer] Move PlacementNewChecker to alpha (details)
  853. [TargetLowering][ARM][X86] Change softenSetCCOperands handling of ONE to (details)
  854. [lld][WebAssembly] Add libcall symbols to the link when LTO is being (details)
  855. [CMake] Fix modules build after DWARFLinker reorganization (details)
  856. [clang] Fix out-of-bounds memory access in ComputeLineNumbers (details)
  857. [Driver][PowerPC] Move powerpcspe logic from cc1 to Driver (details)
  858. [ASTMatchers] Make test more clear about what it is verifying (details)
  859. [Tests] Precommit tests showing default branch padding on skylake (details)
  860. [lldb] Make CompleteTagDeclsScope completion order deterministic (details)
  861. [lldb] Fix TestClangASTContext.TestFunctionTemplateInRecordConstruction (details)
  862. Implement new AST matcher hasAnyCapture to match on LambdaExpr captures. (details)
  863. MakeUniqueCheck.cpp: explicit the fact that there is an autofix for this (details)
  864. clang-tidy doc: Refresh the list of checkers and polish the script (details)
  865. [TargetLowering] Use SelectionDAG::getSetCC and remove a repeated call (details)
  866. clang-tidy doc: unbreak the CI (details)
  867. Summary: update macro for OFF_T so that sanitizer works on AARCH64. (details)
  868. [lldb/Scripts] Remove buildbot.py (details)
  869. [lldb/Scripts] Remove remote-build.py (details)
  870. [lldb/Scripts] Move android script from underneath Python dir (details)
  871. [AArch64] Add isAuthenticated predicate to MCInstDesc (details)
  872. [lldb/Test] Bypass LLDB_TEST_COMMON_ARGS for certain dotest args (NFC) (details)
  873. [lldb/Utils] Remove vim-lldb (details)
  874. lldbutil: Forward ASan launch info to test inferiors (details)
  875. Let targets adjust operand latency of bundles (details)
  876. [lldb/Reproducer] Add SBReproducer::Replay overload (again) (details)
  877. Only destroy static locals if they have non-trivial destructors. (details)
  878. [LockFileManager] Make default waitForUnlock timeout a parameter, NFC (details)
  879. [NFC][InlineCost] Factor cost modeling out of CallAnalyzer traversal. (details)
  880. [mlir] NFC: put C++ code emission classes in their own files (details)
  881. [mlir][ods] Support dialect specific content emission via hooks (details)
  882. Improve precision of documentation comment. (details)
  883. [AArch64] Don't generate libcalls for wide shifts on Darwin (details)
  884. Remove redundant implicit cast creation. (details)
  885. Add a FIXME and corresponding test coverage for some suspicious behavior (details)
  886. Clean up and slightly generalize implementation of composite pointer (details)
  887. driver: Allow -fdebug-compilation-dir=foo in joined form. (details)
  888. [Driver] Fix OptionClass of -fconvergent-functions and -fms-volatile (details)
  889. [Concepts] Fix MarkUsedTemplateParameters for exprs (details)
  890. Remove umask tests (details)
  891. [COFF] Align ARM64 range extension thunks at instruction boundary (details)
  892. [TargetLowering][ARM][Mips][WebAssembly] Remove the ordered FP compare (details)
  893. [SCEV] [NFC] add more test cases for range of addrecexpr with nsw flag (details)
  894. [NFC] [PowerPC] Update mi-peephole-splat test (details)
  895. [AMDGPU] Remove unnecessary v_mov from a register to itself in WQM (details)
  896. Mark the test/Feature/load_extension.ll test as unsupported on Darwin. (details)
  897. [X86] Use ReplaceAllUsesWith instead of ReplaceAllUsesOfValueWith to (details)
  898. [X86][Disassembler] Simplify readPrefixes (details)
  899. [X86] Preserve fpexcept property when turning strict_fp_extend and (details)
  900. [X86] Simplify code by removing an unreachable condition. NFCI (details)
  901. Add test for GDB pretty printers. (details)
  902. [X86] Remove dead code from X86DAGToDAGISel::Select that is no longer (details)
  903. [InstCombine] Preserve nuw on sub of geps (PR44419) (details)
  904. [LoopSimplify] Regenerate test checks; NFC (details)
  905. [LoopRotate] Add tests for rotate with switch; NFC (details)
  906. DSE: fix bug where we would only check libcalls for name rather than (details)
  907. [X86] Add more complex tests for vector masks used with AND/OR/XOR. (details)
  908. [X86][AVX] Add lowerShuffleAsLanePermuteAndSHUFP lowering (details)
  909. Fix copy+paste typo in shuffle test name (details)
  910. [Sema] Improve -Wrange-loop-analysis warnings. (details)
  911. [X86] Fix outdated comment (details)
  912. moveOperands - assert Src/Dst MachineOperands are non-null. (details)
  913. Remove copy ctors identical to the default one. NFC. (details)
  914. Fix uninitialized value clang static analyzer warning. NFC. (details)
  915. Fix "pointer is null" static analyzer warning. NFCI. (details)
  916. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  917. Fix "pointer is null" static analyzer warning. NFCI. (details)
  918. Fix "pointer is null" static analyzer warning. NFCI. (details)
  919. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  920. GlobalModuleIndex - Fix use-after-move clang static analyzer warning. (details)
  921. [X86AsmBackend] Be consistent about placing definitions out of line (details)
  922. [X86AsmBackend] Move static function before sole use [NFC] (details)
  923. [X86] Adjust nop emission by compiler to consider target decode (details)
  924. [mlir] NFC: Remove Value::operator* and Value::operator-> now that Value (details)
  925. [ASTMatchers] extract public matchers from const-analysis into own patch (details)
  926. Revert "[ASTMatchers] extract public matchers from const-analysis into (details)
  927. [ExecutionEngine] Re-enable FastISel for non-iOS arm targets. (details)
  928. Add -Wrange-loop-analysis changes to ReleaseNotes (details)
  929. [X86] Turn FP_ROUND/STRICT_FP_ROUND into (details)
  930. [X86][Disassembler] Simplify and optimize reader functions (details)
  931. [LegalizeVectorOps] Only pass SDNode* instead SDValue to all of the (details)
  932. [LegalizeVectorOps] Remove some of the simpler Expand methods. Pass (details)
  933. [X86][Disassembler] Replace custom logger with LLVM_DEBUG (details)
  934. [Support] Optionally call signal handlers when a function wrapped by the (details)
  935. [ORC] Fix argv handling in runAsMain / lli. (details)
  936. [Disassembler] Delete the VStream parameter of (details)
  937. [X86][Disassembler] Optimize argument passing and immediate reading (details)
  938. [X86][Disassembler] Shrink X86GenDisassemblerTables.inc from 36M to 6.1M (details)
  939. [LegalizeVectorOps] Expand vector MERGE_VALUES immediately. (details)
  940. [TargetLowering][X86] Connect the chain from STRICT_FSETCC in (details)
  941. [LegalizeVectorOps] Parallelize the lo/hi part of STRICT_UINT_TO_FLOAT (details)
  942. [SCEV] more accurate range for addrecexpr with nsw flag. (details)
  943. [X86] Don't call LowerSETCC from LowerSELECT for (details)
  944. [NFC] Refactor memory ops cluster method (details)
  945. [profile] Support merge pool size >= 10 (details)
  946. [X86][Disassembler] Simplify (details)
  947. [X86][Disassembler] Merge X86DisassemblerDecoder.cpp into (details)
  948. [X86][AVX] lowerShuffleAsLanePermuteAndSHUFP - only set the demanded (details)
  949. [X86][AVX] Use lowerShuffleAsLanePermuteAndSHUFP to lower binary v4f64 (details)
Commit 6991d5728f12594cabfd8d8d570361efb07f1d5a by Raphael Isemann
[lldb][NFC] Make integer types functions in ClangASTContext not static
These functions need a ClangASTContext instance that we would otherwise
recalculate by calling GetASTContext (which is no longer necessary with
this patch).
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit b1fb07ddbaa539f9173e32dc27110168b165c1fe by Raphael Isemann
[lldb][NFC] Simplify ClangASTContext::GetTypeForDecl
Also removes the GetASTContext call from this code.
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit 5edb40c0220e80fc4cdb726d30d1d8b8e8580892 by maskray
[SelectionDAG] Disallow indirect "i" constraint
This allows us to delete InlineAsm::Constraint_i workarounds in
SelectionDAGISel::SelectInlineAsmMemoryOperand overrides and
TargetLowering::getInlineAsmMemConstraint overrides.
They were introduced to X86 in r237517 to prevent crashes for
constraints like "=*imr". They were later copied to other targets.
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/Mips/MipsISelDAGToDAG.cpp
Commit 599d07091002b20be5e2b12b256782e0dd0df998 by craig.topper
[X86] Remove dyn_casts to ConstantSDNode for operand 1 of
X86ISD::VSRLI/VSRAI/VSRLI. Use getConstantOperandVal and APInt
operations.
These nodes should only ever be formed with an i8 TargetConstant so we
don't need to check for it to be a constant. It's also always 8-bits so
we don't need to use APInt compare functions.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit b2f19320dc1ca82acd3939b18c5c73ee8833b735 by craig.topper
[X86] Use isOneConstant to simplify some code. NFC
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 266cd7717c8126213a7560d26da5495053be90c0 by craig.topper
[X86] Use APInt::isOneValue and ConstantSDNode::isOne. NFC
These are implemented slightly more efficiently than comparing to 1 in
the case that the value is more than 64 bits.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 874a8004f93538a0c9b335a7e1e34d80b57ebccd by qshanz
[PowerPC] Exploit the rlwinm instructions for "and" with constant
For now, PowerPC will using several instructions to get the constant and
"and" it with the following case:
define i32 @test1(i32 %a) {
%and = and i32 %a, -2
ret i32 %and
}
However, we could exploit it with the rotate mask instructions.
              MB  ME
+----------------------+
|xxxxxxxxxxx00011111000|
+----------------------+
0         32         64 Notice that, we can only do it if the MB is
larger than 32 and MB <= ME as RLWINM will replace the content of [0 -
32) with [32 - 64) even we didn't rotate it.
Differential Revision: https://reviews.llvm.org/D71829
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/popcnt-zext.ll
The file was modifiedllvm/test/CodeGen/PowerPC/and-mask.ll
The file was modifiedllvm/test/CodeGen/PowerPC/opt-cmp-inst-cr0-live.ll
Commit eadc97b0ec87801ddcf35f03d1d005f9929a5254 by vvereschaka
[CMake] Added remote test execution support into CrossWinToARMLinux
CMake cache file.
Added two confguration argument to provide a host name and SSH user name
to run the tests on the remote target host.
* REMOTE_TEST_HOST  - remote host name or address.
* REMOTE_TEST_USER  - passwordless SSH account name.
Differential Revision: https://reviews.llvm.org/D71625
The file was modifiedclang/cmake/caches/CrossWinToARMLinux.cmake
Commit 6f9b4c6826d0d7ee263e1eb44768297e0ce639c7 by maskray
[SelectionDAT] Simplify SelectionDAGBuilder::visitInlineAsm
Indirect C_Immediate or C_Other constraints have been excluded.
Also simplify an unneeded change to indirect 'X' by D60942.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit 45acc35ac21323bafaf5d4367df10ebc4eed35f4 by maskray
[ELF][PPC64] Implement IPLT code sequence for non-preemptible IFUNC
Non-preemptible IFUNC are placed in in.iplt (.glink on EM_PPC64).  If
there is a non-GOT non-PLT relocation, for pointer equality, we change
the type of the symbol from STT_IFUNC and STT_FUNC and bind it to the
.glink entry.
On EM_386, EM_X86_64, EM_ARM, and EM_AARCH64, the PLT code sequence
loads the address from its associated .got.plt slot. An IPLT also has an
associated .got.plt slot and can use the same code sequence.
On EM_PPC64, the PLT code sequence is actually a bl instruction in
.glink .  It jumps to `__glink_PLTresolve` (the PLT header). and
`__glink_PLTresolve` computes the .plt slot (relocated by
R_PPC64_JUMP_SLOT).
An IPLT does not have an associated R_PPC64_JUMP_SLOT, so we cannot use
`bl` in .iplt . Instead, create a call stub which has a similar code
sequence as PPC64PltCallStub. We don't save the TOC pointer, so such
scenarios will not work: a function pointer to a non-preemptible ifunc,
which resolves to a function defined in another DSO. This is the
restriction described by https://sourceware.org/glibc/wiki/GNU_IFUNC
(though on many architectures it works in practice):
  Requirement (a): Resolver must be defined in the same translation unit
as the implementations.
If an ifunc is taken address but not called, technically we don't need
an entry for it, but we currently do that.
This patch makes
  // clang -fuse-ld=lld -fno-pie -no-pie a.c
// clang -fuse-ld=lld -fPIE -pie a.c
#include <stdio.h>
static void impl(void) { puts("meow"); }
void thefunc(void) __attribute__((ifunc("resolver")));
void *resolver(void) { return &impl; }
int main(void) {
   thefunc();
   void (*theptr)(void) = &thefunc;
   theptr();
}
work on Linux glibc and FreeBSD. Calling a function pointer pointing to
a Non-preemptible IFUNC never worked before.
Differential Revision: https://reviews.llvm.org/D71509
The file was modifiedlld/ELF/Thunks.cpp
The file was modifiedlld/ELF/Thunks.h
The file was modifiedlld/ELF/Arch/PPC64.cpp
The file was modifiedlld/test/ELF/ppc64-ifunc.s
The file was modifiedlld/test/ELF/ppc64-toc-relax-ifunc.s
Commit fb2944bd7f8ac6d7c4bccd3ac2033ba58c690038 by maskray
[ELF][PPC32] Implement IPLT code sequence for non-preemptible IFUNC
Similar to D71509 (EM_PPC64), on EM_PPC, the IPLT code sequence should
be similar to a PLT call stub. Unlike EM_PPC64, EM_PPC -msecure-plt has
small/large PIC model differences.
* -fpic/-fpie: R_PPC_PLTREL24 r_addend=0.  The call stub loads an
address relative to `_GLOBAL_OFFSET_TABLE_`.
* -fPIC/-fPIE: R_PPC_PLTREL24 r_addend=0x8000. (A partial linked object
file may have an addend larger than 0x8000.) The call stub loads an
address relative to .got2+0x8000.
Just assume large PIC model for now. This patch makes:
  // clang -fuse-ld=lld -msecure-plt -fno-pie -no-pie a.c
// clang -fuse-ld=lld -msecure-plt -fPIE -pie a.c
#include <stdio.h>
static void impl(void) { puts("meow"); }
void thefunc(void) __attribute__((ifunc("resolver")));
void *resolver(void) { return &impl; }
int main(void) {
   thefunc();
   void (*theptr)(void) = &thefunc;
   theptr();
}
work on Linux glibc. -fpie will crash because the compiler and the
linker do not agree on the value which r30 stores (_GLOBAL_OFFSET_TABLE_
vs .got2+0x8000).
Differential Revision: https://reviews.llvm.org/D71621
The file was addedlld/test/ELF/ppc32-ifunc-nonpreemptible-pic.s
The file was removedlld/test/ELF/ppc32-gnu-ifunc-nonpreemptable.s
The file was modifiedlld/ELF/Thunks.h
The file was modifiedlld/ELF/Arch/PPC.cpp
The file was modifiedlld/ELF/Thunks.cpp
The file was addedlld/test/ELF/ppc32-ifunc-nonpreemptible-nopic.s
Commit bb87364f26ce6b1fbb2cc5e155fd8ff82aafbe8d by maskray
[ELF][PPC64] Improve "call lacks nop" diagnostic and make it compatible
with GCC<5.5 and GCC<6.4
GCC before r245813 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439)
did not emit nop after b/bl. This can happen with recursive calls.
r245813 was back ported to GCC 5.5 and GCC 6.4.
This is common, for example, libstdc++.a(locale.o) shipped with GCC 4.9
and many objects in netlib lapack can cause lld to error.  gold allows
such calls to the same section. Our __plt_foo symbol's `section` field
is used for ThunkSection, so we can't implement a similar loosen rule
easily. But we can make use of its `file` field which is currently NULL.
Differential Revision: https://reviews.llvm.org/D71639
The file was modifiedlld/ELF/InputSection.cpp
The file was modifiedlld/test/ELF/ppc64-bsymbolic-toc-restore.s
The file was modifiedlld/ELF/Thunks.cpp
The file was modifiedlld/test/ELF/ppc64-error-toc-tail-call.s
The file was modifiedlld/test/ELF/ppc64-error-toc-restore.s
Commit 34fe8d0451174829529bb8da8ad0c631825e16e0 by uenoku.tokotoko
[Attributor] Use `changeUseAfterManifest` in AAValueSimplify manifest
Summary: This patch makes `AAValueSimplify` use
`changeUsesAfterManifest` in `manifest`. This will invoke simple folding
after the manifest.
Reviewers: jdoerfert, sstefan1
Reviewed By: jdoerfert
Subscribers: hiraditya, arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71972
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/control-flow2.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/2008-07-02-array-indexing.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/control-flow.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/reserve-tbaa.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 65661908cb660ac55110d5031111f956cdbd3efa by qiucofan
[NFC] Add test for load-insert-store pattern
This patch adds necessary test cases for load-update-store pattern which
only updates single element of vector.
Differential Revision: https://reviews.llvm.org/D71886
The file was addedllvm/test/Transforms/InstCombine/load-insert-store.ll
Commit b47b35ff51b355a446483777155290541ab64fae by tyker
[Diagnostic] Add ftabstop to -Wmisleading-indentation
Summary: this allow much better support of codebases like the linux
kernel that mix tabs and spaces.
-ftabstop=//Width// allow specifying how large tabs are considered to
be.
Reviewers: xbolva00, aaron.ballman, rsmith
Reviewed By: aaron.ballman
Subscribers: jyknight, riccibruno, rsmith, nathanchance
Differential Revision: https://reviews.llvm.org/D71037
The file was modifiedclang/lib/Parse/ParseStmt.cpp
The file was modifiedclang/test/Parser/warn-misleading-indentation.cpp
Commit 36ae255663cfbe1813fcda7de421e3e10c00c91b by maskray
[opt] Fix run-twice crash and detection problem
1. Execute `opt -run-twice a.ll` with in a terminal will crash.
  https://bugs.llvm.org/show_bug.cgi?id=44382 2. `-run-twice` saves
output into two buffers and compares them.
  When outputing the result is disabled, that produces two empty string
thus
  they are going to be equal all the time resulting false-positive
results.
The proposed solution is to generate the results even if the output will
not be emitted, as that is required for the comparision.
Differential Revision: https://reviews.llvm.org/D71967
The file was modifiedllvm/tools/opt/opt.cpp
Commit cd2a73a9f01b2ec1b7e239ba83201199df0d7912 by lkail
[MCP] Add stats for backward copy propagation. NFC.
The file was modifiedllvm/lib/CodeGen/MachineCopyPropagation.cpp
Commit 94a24e7a401be7a3db0ddfa2035855b75c8cc55d by petar.avramovic
[MIPS GlobalISel] Select bswap
G_BSWAP is generated from llvm.bswap.<type> intrinsics, clang genrates
these intrinsics from __builtin_bswap32 and __builtin_bswap64. Add lower
and narrowscalar for G_BSWAP. Lower G_BSWAP on MIPS32, select G_BSWAP on
MIPS32 revision 2 and later.
Differential Revision: https://reviews.llvm.org/D71362
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/bswap.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was addedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/bswap.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/bswap.ll
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/bswap.mir
Commit dbc136e0fe7e14c64dcb78e72321bb41af60afa4 by petar.avramovic
[MIPS GlobalISel] Select bitreverse
G_BITREVERSE is generated from llvm.bitreverse.<type> intrinsics, clang
genrates these intrinsics from __builtin_bitreverse32 and
__builtin_bitreverse64. Add lower and narrowscalar for G_BITREVERSE.
Lower G_BITREVERSE on MIPS32.
Differential Revision: https://reviews.llvm.org/D71363
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/bitreverse.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/bitreverse.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitreverse.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
Commit 4a188fdfa79b4c1044cbb6fe0ede79583c71a56f by sven.vanhaastregt
[OpenCL] Add mipmap builtin functions
Add the mipmap builtin functions from the OpenCL extension
specification.
Patch by Pierre Gondois and Sven van Haastregt.
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit 8232497c313e28ed277b28733301f2020f225e69 by diogo.sampaio
[ARM][THUMB2] Allow emitting T3 types of add and sub
Summary: This patch allows to emit thumb2 add and sub instructions with
12 bit immediates in the emitT2RegPlusImmediate function.
- Splitting parts of the D70680
Reviewers: eli.friedman, olista01, efriedma
Reviewed By: efriedma
Subscribers: efriedma, kristof.beyls, hiraditya, dmgreen, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71361
The file was addedllvm/test/CodeGen/MIR/ARM/thumb2-sub-sp-t3.mir
The file was modifiedllvm/lib/Target/ARM/Thumb2InstrInfo.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-stacksplot.mir
The file was modifiedllvm/test/CodeGen/Thumb2/large-call.ll
Commit 1b6286b945a5e941f4208f6f242e31ef6f7e55bc by evgueni.brevnov
[LV][NFC] Some refactoring and renaming to facilitate next change.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 948e745270de615cb83bc9c68cdfa4da62925d0f by evgueni.brevnov
[LV][NFC] Keep dominator tree up to date during vectorization.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
Commit a5a141544d0b3ce64c97ef9bb88ae5231e427b9f by david.green
[ARM] MVE sink ICmp test. NFC
The file was addedllvm/test/CodeGen/Thumb2/mve-pred-threshold.ll
Commit b4abe7afbf5272d56ec8adb39fdccf1e2df48a88 by david.green
[ARM] Sink splat to ICmp
This adds ICmp to the list of instructions that we sink a splat to in a
loop, allowing the register forms of instructions to be selected more
often. It does not add FCmp yet as the results look a little odd, trying
to keep the register in an float reg and having to move it back to a
GPR.
Differential Revision: https://reviews.llvm.org/D70997
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-threshold.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/cond-vector-reduce-mve-codegen.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/fast-fp-loops.ll
Commit 32cc14100e802fddd9f88e7a862250ce3108a583 by gribozavr
Revert "[MIPS GlobalISel] Select bitreverse"
This reverts commit dbc136e0fe7e14c64dcb78e72321bb41af60afa4. It broke
buildbots:
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/21066
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitreverse.mir
The file was removedllvm/test/CodeGen/Mips/GlobalISel/legalizer/bitreverse.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was removedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/bitreverse.ll
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
Commit 0f0330a7870929558b2a2571ab28d242e719142e by nemanja.i.ibm
[PowerPC] Legalize rounding nodes
VSX provides a full complement of rounding instructions yet we somehow
ended up with some of them legal and others not. This just legalizes all
of the FP rounding nodes and the FP -> int rounding nodes with unsafe
math.
Differential revision: https://reviews.llvm.org/D69949
The file was modifiedllvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/rounding-ops.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrVSX.td
The file was modifiedllvm/test/CodeGen/PowerPC/fp-int128-fp-combine.ll
The file was addedllvm/test/CodeGen/PowerPC/scalar-rounding-ops.ll
Commit 491cfa4250d7a146131202ad33878ba398c7ae87 by arsenm2
AMDGPU/GlobalISel: Account for G_PHI result bank
Sometimes the result bank of the phi is already assigned to something,
and should not be ignored. This is in preparation for additional boolean
phi handling changes.
Also refine the logic to fix some cases that were incorrectly deciding
to use SGPRs.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-phi-s1.mir
Commit 58bcf51107033a1b6ce77c365578d38bfb62062a by arsenm2
AMDGPU: Generate check lines
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.round.f64.ll
Commit 9e1a2a668b9d52bc76c92577ac01c301f95bb697 by arsenm2
AMDGPU: Improve llvm.round.f64 lowering for CI+
The path already used for f16/f32 works a lot better when v_trunc_f64 is
available.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.round.f64.ll
Commit 9fd31fdbd3049e3e45fc046bedb9011d0c828e87 by arsenm2
GlobalISel: moreElementsVector for FP min/max
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir
Commit 18240c3cd632521f95f2ddd08ecc4f7cf0efe3c8 by arsenm2
AMDGPU/GlobalISel: Add select test for fexp2
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fexp2.mir
Commit f33fd9648c442a23f863e03ea1c806da15278fd1 by diogo.sampaio
[ARM][Thumb][FIX] Add unwinding information to t4
Summary: Add missing part of patch D71361. Now that the stack-frame can
be operated using a addw/subw instruction, they should appear in the
unwinding list.
Reviewers: dmgreen, efriedma
Reviewed By: dmgreen
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72000
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/emit-unwinding.ll
Commit 987eb8e26ccf73180b3b53b8a38d87e3e6489326 by spatel
[InstCombine] propagate sign argument through nested copysigns
This is another optimization suggested in PR44153:
https://bugs.llvm.org/show_bug.cgi?id=44153
The file was modifiedllvm/test/Transforms/InstCombine/copysign.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Commit 1247865fe024e073c206b3803096df8477a60bab by arsenm2
AMDGPU/GlobalISel: Select llvm.amdgcn.fmad.ftz
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fmad.ftz.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
Commit 98f72a5107ce781a8ec93c524c3fdb08c241f0e5 by petar.avramovic
[MIPS GlobalISel] Select bitreverse. Recommit
G_BITREVERSE is generated from llvm.bitreverse.<type> intrinsics, clang
genrates these intrinsics from __builtin_bitreverse32 and
__builtin_bitreverse64. Add lower and narrowscalar for G_BITREVERSE.
Lower G_BITREVERSE on MIPS32.
Recommit notes: Introduce temporary variables in order to make sure
instructions get inserted into MachineFunction in same order regardless
of compiler used to build llvm.
Differential Revision: https://reviews.llvm.org/D71363
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/bitreverse.ll
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitreverse.mir
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/bitreverse.mir
Commit ee3eebba0d30f9a231bb10e59f3778c72065db22 by spatel
[InstCombine] remove stale comment on test; NFC
The file was modifiedllvm/test/Transforms/InstCombine/copysign.ll
Commit 03b9f0a5e19aa68fb0a82d80e409333db7ee511c by maskray
Ignore "no-frame-pointer-elim" and "no-frame-pointer-elim-non-leaf" in
favor of "frame-pointer"
D56351 (included in LLVM 8.0.0) introduced "frame-pointer".  All tests
which use "no-frame-pointer-elim" or "no-frame-pointer-elim-non-leaf"
have been migrated to use "frame-pointer".
Implement UpgradeFramePointerAttributes to upgrade the two obsoleted
function attributes for bitcode. Their semantics are ignored.
Differential Revision: https://reviews.llvm.org/D71863
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/include/llvm/IR/AutoUpgrade.h
The file was modifiedllvm/lib/CodeGen/TargetOptionsImpl.cpp
The file was addedllvm/test/Bitcode/upgrade-frame-pointer.ll
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
Commit 48e0e68edb3e8e1cd12c6ff9847cf917d55d9a1d by arsenm2
AMDGPU/GlobalISel: Re-use MRI available in selector
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit 0c5bee8fdd40bbbad9d3f5cce06785c72632fbd0 by bryan.chan
[test] do not parse ls output for file size; NFCI
Parsing `ls -l` output to obtain the size of a file is unreliable; the
exact output format is not specified, and some user or group names may
contain multiple words, causing `cut -f5 -d' '` to extract an incorrect
value. `wc -c`, on the other hand, is portable, and there are
precendents of its use in test cases.
The file was modifiedllvm/test/tools/yaml2obj/ELF/custom-null-section.yaml
The file was modifiedllvm/test/tools/llvm-profdata/show-prof-size.test
Commit 47a2fd2df4f4874c28823654be500c3aba93f768 by craig.topper
[X86] Add X86ISD::PCMPGT to
SimplifyMultipleUseDemandedBitsForTargetNode.
If only the sign bit is demanded, and the LHS is all zeroes, then we can
bypass the PCMPGT.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/X86/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/sadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/X86/ssub_sat_vec.ll
Commit 94d08feaeff3591a36ed548ba7c732ddedd6f983 by arsenm2
TableGen: Fix assert on PatFrags with predicate code
This assumed a single pattern if there was a predicate. Relax this a
bit, and allow multiple patterns as long as they have the same class.
This was only broken for the DAG path. GlobalISel seems to have handled
this correctly already.
The file was addedllvm/test/TableGen/predicate-patfags.td
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
Commit 7fa0bfe7d580e2b96b8d7f5bd0470287857e84cc by arsenm2
AMDGPU/GlobalISel: Select mul24 intrinsics
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.mul.u24.mir
Commit 4a7aa252a32a94b1bb61b3dc7f027b4a27ae334f by epastor
[X86][AsmParser] re-introduce 'offset' operator
Summary: Amend MS offset operator implementation, to more closely fit
with its MS counterpart:
    1. InlineAsm: evaluate non-local source entities to their (address)
location
   2. Provide a mean with which one may acquire the address of an
assembly label via MS syntax, rather than yielding a memory reference
(i.e. "offset asm_label" and "$asm_label" should be synonymous
   3. address PR32530
Based on http://llvm.org/D37461
Fix broken test where the break appears unrelated.
- Set up appropriate memory-input rewrites for variable references.
- Intel-dialect assembly printing now correctly handles addresses by
adding "offset".
- Pass offsets as immediate operands (using "r" constraint for offsets
of locals).
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D71436
The file was addedllvm/test/CodeGen/X86/offset-operator.ll
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.cpp
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was addedllvm/test/MC/X86/pr32530.s
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedclang/test/CodeGen/ms-inline-asm.c
The file was modifiedllvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h
The file was modifiedllvm/include/llvm/MC/MCParser/MCTargetAsmParser.h
The file was modifiedclang/test/Parser/ms-inline-asm.c
The file was modifiedclang/test/CodeGen/ms-inline-asm.cpp
The file was modifiedclang/lib/Sema/SemaStmtAsm.cpp
The file was modifiedllvm/lib/Target/X86/AsmParser/X86Operand.h
The file was modifiedllvm/test/CodeGen/X86/ms-inline-asm.ll
The file was modifiedclang/test/CodeGen/ms-inline-asm-64.c
Commit 000c6a5038bc654946b4348e586d685077b06943 by johannes
[OpenMP] Use the OpenMPIRBuilder for `omp cancel`
An `omp cancel parallel` needs to be emitted by the OpenMPIRBuilder if
the `parallel` was emitted by the OpenMPIRBuilder. This patch makes this
possible. The cancel logic is shared with the cancel barriers. Testing
is done via unit tests and the clang cancel_codegen.cpp file once D70290
lands.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D71948
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedllvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Commit 10fedd94b4326225de4a8a1fc53594cebd501246 by johannes
[OpenMP] Use the OpenMPIRBuilder for `omp parallel`
This allows to use the OpenMPIRBuilder for parallel regions. Code was
extracted from D61953 and adapted to work with the new version (D70109).
All but one feature should be supported. An update of this patch will
provide test coverage and privatization other than shared.
Reviewed By: fghanim
Differential Revision: https://reviews.llvm.org/D70290
The file was modifiedllvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
The file was modifiedllvm/lib/Frontend/OpenMP/OMPConstants.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/cancel_codegen.cpp
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
Commit 0bd3cc42485225555a0eb60b91d8c7be22b6fd4a by Jinsong Ji
[PowerPC][docs] Update Embedded PowerPC docs in Compiler Writers Info
page
Summary: Embedded PowerPC are still actively supported, especially
SPE... So update some important references here:
* adding EREF
* adding SPE/VLE ref
Delete deprecated ones into "Other documents..".
Reviewers: #powerpc, jhibbits, hfinkel
Reviewed By: #powerpc, jhibbits
Subscribers: wuzish, merge_guards_bot, nemanjai, shchenz, steven.zhang,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72008
The file was modifiedllvm/docs/CompilerWriterInfo.rst
Commit bc48af8c575abdd283d391194fa40d1419df5efe by jonathanchesterfield
[libomptarget][nfc] Change unintentional target_impl prefix to kmpc_impl
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/libcall.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
Commit 6bd1fcd795994f484e8f974be566edbbbf23927d by johannes
[OpenMP][FIX] Generalize a test check line
The new check line is compatible with the clang code generation check
line as it allows a 64 and 32 bit value.
I hope this makes the llvm-clang-win-x-armv7l buildbot happy.
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
Commit 07be32961a694670885626e72faca6f0007f14c9 by epastor
Remove a redundant `default:` on an exhaustive switch(enum).
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.cpp
Commit 8b23b2bbd9622c5f079a71c7078d167052f6a70c by craig.topper
[CodeGen] Use CreateFNeg in buildFMulAdd
We have an fneg instruction now and should use it instead of the fsub
-0.0 idiom. Looks like we had no test that showed that we handled the
negation cases here so I've added new tests.
Differential Revision: https://reviews.llvm.org/D72010
The file was modifiedclang/test/CodeGen/fp-contract-pragma.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
Commit 70f8dd4cf604b2be3488895ef0d261154c1c1124 by craig.topper
[CodeGen] Use IRBuilder::CreateFNeg for __builtin_conj
This replaces the fsub -0.0 idiom with an fneg instruction. We didn't
see to have a test that showed the current codegen. Just some tests for
constant folding and a test that was only checking the declare lines for
libcalls. The latter just checked that we did not have a declare for
@conj when using __builtin_conj.
Differential Revision: https://reviews.llvm.org/D72012
The file was addedclang/test/CodeGen/complex-builtins-2.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
Commit 6185dc0eb3ad35e1f85f2ab1038ca978563099f4 by craig.topper
[X86] Add test case for PR44412. NFC
The file was addedllvm/test/CodeGen/X86/pr44412.ll
Commit 991f7abdfc55ed968ee5593fb3a2d4843498da41 by jasonliu
[NFC] Add comments in unit test aix-xcoff-toc.ll to clarify the intent
Address David's post review comment in https://reviews.llvm.org/D71667.
Add comments to clarify what we are testing in that file.
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-toc.ll
Commit 831898ff8acd4f5d8c5a644e6e566cefa23e2d6c by craig.topper
[SelectionDAG] Fix copy/paste mistake in comment. NFC
I think this was copied from scalarizeVectorLoad where that is what
happens.
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
Commit 787e078f3ec89bce82a789d2ee01beecc98db4d7 by craig.topper
[TargetLowering][AMDGPU] Make scalarizeVectorLoad return a pair of
SDValues instead of creating a MERGE_VALUES node. NFCI
This allows us to clean up some places that were peeking through the
MERGE_VALUES node after the call. By returning the SDValues directly, we
can clean that up.
Unfortunately, there are several call sites in AMDGPU that wanted the
MERGE_VALUES and now need to create their own.
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.cpp
Commit 0d6ebb4f0dd7ca81bdfc2a210b1d5ef46e0c9587 by riverriddle
[mlir] Refactor operation results to use a single use list for all
results of the operation.
Summary: A new class is added, IRMultiObjectWithUseList, that allows for
representing an IR use list that holds multiple sub values(used in this
case for OpResults). This class provides all of the same functionality
as the base IRObjectWithUseList, but for specific sub-values. This saves
a word per operation result and is a necessary step in optimizing the
layout of operation results. For now the use list is placed on the
operation itself, so zero-result operations grow by a word. When the
work for optimizing layout is finished, this can be moved back to being
a trailing object based on memory/runtime benchmarking.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D71955
The file was modifiedmlir/lib/IR/Value.cpp
The file was modifiedmlir/include/mlir/IR/Block.h
The file was modifiedmlir/include/mlir/IR/Value.h
The file was modifiedmlir/lib/Transforms/ViewOpGraph.cpp
The file was modifiedmlir/include/mlir/IR/Operation.h
The file was modifiedmlir/include/mlir/IR/UseDefLists.h
The file was modifiedmlir/lib/IR/Operation.cpp
Commit 5b1cbfa4232ee81e62a16534113aeb7401841f82 by shengchen.kan
[NFC] Style cleanup
1. Remove function is64BitMode() and use STI.hasFeature(X86::Mode16Bit)
directly 2. Use Doxygen features in comment 3. Rename functions to make
them start with a lower case letter 4. Format the code with clang-format
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
Commit b350c666ab65b7585bc58301b03d2b46dc6b0504 by dblaikie
Revert "DebugInfo: Fix rangesBaseAddress DICompileUnit bitcode
serialization/deserialization"
Seeing some curious CFI failures internally - which makes little sense
to me, as I don't think anyone is using this flag (even us,
internally)... so sounds like a bug in my code somewhere (possibly a
latent one that propagating this flag exposed, not sure). Reverting
while I investigate.
This reverts commit c51b45e32ef7f35c11891f60871aa9c2c04cd991.
The file was modifiedllvm/test/Assembler/dicompileunit.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/test/DebugInfo/X86/range_reloc.ll
The file was modifiedllvm/lib/Bitcode/Reader/MetadataLoader.cpp
Commit 23a6ae2b0624278646929d5cbed360f79be505ac by shengchen.kan
[NFC] Make X86MCCodeEmitter::isPCRel32Branch static
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
Commit 28880198718b51a8d590d6e8194f2932683bdd54 by johannes
[Attributor] Annotate the memory behavior of call site arguments
Especially for callbacks, annotating the call site arguments is
important. Doing so exposed a too strong dependence of AAMemoryBehavior
on AANoCapture since we handle the case of potentially captured pointers
explicitly.
The changes to the tests are all mechanical.
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/2008-02-01-ReturnAttrs.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/basictest.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/inalloca.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/sret.ll
The file was modifiedllvm/test/Transforms/Attributor/misc.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/control-flow.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/profile.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/min-legal-vector-width.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/reserve-tbaa.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/pr27568.ll
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/2009-09-24-byval-ptr.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/nonzero-address-spaces.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/pr32917.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval-2.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/2008-07-02-array-indexing.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/attrs.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/fp80.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/attributes.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/variadic.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/chained.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/control-flow2.ll
The file was modifiedllvm/test/Transforms/Attributor/nonnull.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/openmp_parallel_for.ll
The file was modifiedllvm/test/Transforms/Attributor/align.ll
Commit b1b441d22de88ec9816403ab6d0541ca91faba16 by johannes
[Attributor] Use abstract call sites to determine associated arguments
This is the second step after D67871 to make use of abstract call sites.
In this patch the argument we associate with a abstract call site
argument can be the one in the callback callee instead of the one in the
callback broker.
Caveat: We cannot allow no-alias arguments for problematic callbacks: As
described in [1], adding no-alias (or restrict) to arguments could break
synchronization as the synchronization effect, e.g., a barrier, does not
"alias" with the pointer anymore. This disables no-alias annotation for
potentially problematic arguments until we implement the fix described
in [1].
Reviewed By: uenoku
Differential Revision: https://reviews.llvm.org/D68008
[1] Compiler Optimizations for OpenMP, J. Doerfert and H. Finkel,
   International Workshop on OpenMP 2018,
   http://compilers.cs.uni-saarland.de/people/doerfert/par_opt18.pdf
The file was modifiedllvm/include/llvm/IR/CallSite.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/thread_local_acs.ll
The file was modifiedllvm/test/Transforms/Attributor/callbacks.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/openmp_parallel_for.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/IR/AbstractCallSite.cpp
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR26044.ll
Commit dada8132af65c1fa74070839c260cd78d97a0903 by johannes
[Attributor] Propagate known align from arguments to call sites
arguments
Since the information is known we can simply use it at the call site.
This is especially useful for callbacks but also helps regular calls.
The test changes are mechanical.
The file was modifiedllvm/test/Transforms/Attributor/callbacks.ll
The file was modifiedllvm/test/Transforms/Attributor/nocapture-2.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/dbg.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/pr32917.ll
Commit 70771d8b9e8dba857bce39eee8f5d10ecc17d00f by johannes
[Utils] Allow update_test_checks to scrub attribute annotations
Attribute annotations on calls, e.g., #0, are not useful on their own.
This patch adds a flag to update_test_checks.py to scrub them.
Reviewed By: lebedev.ri
Differential Revision: https://reviews.llvm.org/D68851
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/scrub_attrs.test
The file was modifiedllvm/utils/UpdateTestChecks/common.py
The file was modifiedllvm/utils/update_test_checks.py
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/scrub_attrs.ll.plain.expected
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/scrub_attrs.ll.scrub.expected
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/scrub_attrs.ll
Commit be26bd55130b6b13c40d0cf0ba97bf5cf3197487 by johannes
[Utils] Reuse argument variable names in the body
If we have `int foo(int a) { return a; }` and we run with
--function-signature enabled, we want a single variable declaration for
`a` which is reused later.
Reviewed By: lebedev.ri
Differential Revision: https://reviews.llvm.org/D69722
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/argument_name_reuse.test
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/argument_name_reuse.ll.expected
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/argument_name_reuse.ll
The file was modifiedllvm/utils/UpdateTestChecks/common.py
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/argument_name_reuse.ll.plain.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll.funcsig.expected
Commit a36a89dcdcfc70de09693e62939009aaa0e52dd5 by shengchen.kan
 [NFC] Style cleanup
1. make function Is16BitMemOperand static 2. Use Doxygen features in
comment 3. Rename functions to make them start with a lower case letter
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
Commit 4a6413cd0a8d6bf24a2c67800179e3990ca50a84 by johannes
[Utils][Fix] Minor test result change
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/argument_name_reuse.ll.expected
Commit e898ba2d151d621dcfc35828aad6fcded5a554e8 by craig.topper
[X86] Slightly improve our attempted error recovery for 64-bit -mno-sse2
in LowerCallResult to use FP1 if there are two return values.
If the return value is a struct of 2 doubles we need two return
registers.
If SSE2 is disabled we can't return in XMM registers like the ABI says.
After logging an error we attempt to recover by using FP0 instead of an
XMM register. But if the return needs two registers, we may have already
used FP0. So if the register we were supposed to copy to is XMM1, copy
to FP1 in the recovery instead.
This seems to fix the assertion/crash in PR44413.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 751336340dabc58f178a24f7b169f33366316f70 by johannes
[Attributor] Function signature rewrite infrastructure
As part of the Attributor manifest we want to change the signature of
functions. This patch introduces a fairly generic interface to do so. As
a first, very simple, use case, we remove unused arguments. A second use
case, pointer privatization, will be committed with this patch as well.
A lot of the code and ideas are taken from argument promotion and we run
all argument promotion tests through this framework as well.
Reviewed By: uenoku
Differential Revision: https://reviews.llvm.org/D68765
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/pr27568.ll
The file was modifiedllvm/test/Transforms/Attributor/nonnull.ll
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
The file was modifiedllvm/test/Transforms/Attributor/noalias.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/nonzero-address-spaces.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/dbg.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/reserve-tbaa.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/control-flow.ll
Commit a6c59e0792edc46df937b338fe0e68d00cabf90b by johannes
[Utils] Deal with occasionally deleted functions
When functions exist for some but not all run lines we need to be
careful when selecting the prefix. So far, a common prefix was
potentially chosen as there was never a "conflict" that would have
caused otherwise. With this patch we avoid common prefixes if they are
used by run lines that do not emit the function.
Reviewed By: lebedev.ri
Differential Revision: https://reviews.llvm.org/D68850
The file was modifiedllvm/utils/UpdateTestChecks/common.py
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/sometimes_deleted_function.ll.expected
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/sometimes_deleted_function.test
The file was addedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/sometimes_deleted_function.ll
Commit 4f82af81a04d711721300f6ca32f402f2ea6faf4 by ibiryukov
[Attributor] Suppress unused warnings when assertions are disabled. NFC
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit e8c9110b56b516a22b41e95e347bc141814ab87c by sylvestre
clang-tidy doc: modernize-make-unique has an autofix
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
Commit d04e64a25a58f63af862df9fa305723560d5fded by nikita.ppv
[InstCombine] Add tests for PR44242
Differential Revision: https://reviews.llvm.org/D71260
The file was addedllvm/test/Transforms/InstCombine/pr44242.ll
Commit fb114694e939c0204ac356fc0e830332175cd008 by nikita.ppv
[InstCombine] Don't rewrite phi-of-bitcast when the phi has other users
Judging by the existing comments, this was the intention, but the
transform never actually checked if the existing phi's would be removed.
See https://bugs.llvm.org/show_bug.cgi?id=44242 for an example where
this causes much worse code generation on AMDGPU.
Differential Revision: https://reviews.llvm.org/D71209
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/pr44242.ll
Commit 0c7ca82161b519856bb1d54e181b578dc067cd3e by michael.platings
Fix external-names.c test when separator is \\
This fixes the following failure:
C:\[...]\llvm\tools\clang\test\VFS\external-names.c:34:26: error:
CHECK-DEBUG-EXTERNAL: expected string not found in input
// CHECK-DEBUG-EXTERNAL: ![[Num]] = !DIFile(filename:
"{{[^"]*}}Inputs{{.}}external-names.h"
                        ^
[...]
<stdin>:42:54: note: possible intended match here
!10 = !DIFile(filename:
"C:/[...]\\llvm\\tools\\clang\\test\\VFS\\Inputs\\external-names.h",
directory: "")
Differential Revision: https://reviews.llvm.org/D71991
The file was modifiedclang/test/VFS/external-names.c
Commit b409f73e1fd8e498a2bff4208eeadf023959a0f7 by sam.parker
[ARM][TypePromotion] Re-enable by default
Re-enable the pass after it was reverted and the bug fixed.
The file was modifiedllvm/lib/CodeGen/TypePromotion.cpp
Commit c7dc4734d23f45f576ba5af2aae5be9dfa2d3643 by Milos.Stojanovic
[llvm-exegesis] Check counters before running
Check if the appropriate counters for the specified mode are defined on
the target. This is checked before any other work is done.
Differential Revision: https://reviews.llvm.org/D71927
The file was modifiedllvm/tools/llvm-exegesis/lib/Latency.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.cpp
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
Commit f5b7dd3c9ec041480d28d203f22929f0f0809d6e by ntv
[mlir][Linalg] Delete unused LinalgLibraryOps.td
Summary: This has been previously renamed to LinalgStructuredOps.td
Reviewers: ftynse
Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen,
antiagainst, llvm-commits, ftynse
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72013
The file was removedmlir/include/mlir/Dialect/Linalg/IR/LinalgLibraryOps.td
Commit 27a0795943fee0f30b995fe5165428afc2dfd402 by nikita.ppv
[InstCombine] Fix infinite loop due to bitcast <-> phi transforms
Fix for https://bugs.llvm.org/show_bug.cgi?id=44245.
The optimizeBitCastFromPhi() and FoldPHIArgOpIntoPHI() end up fighting
against each other, because optimizeBitCastFromPhi() assumes that
bitcasts of loads will get folded. This doesn't happen here, because a
dangling phi node prevents the one-use fold in
https://github.com/llvm/llvm-project/blob/master/llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp#L620-L628
from triggering.
This patch fixes the issue by adding manually removing the old phis.
Differential Revision: https://reviews.llvm.org/D71164
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was addedllvm/test/Transforms/InstCombine/pr44245.ll
Commit 108645cd0ad39bcc577e31fd9876863422a9a2ba by spatel
[InstCombine] add tests for masked bit set/clear; NFC
The file was modifiedllvm/test/Transforms/InstCombine/zext.ll
Commit e6bdecf1cd6b75222ef094371a514026d8aa0afa by spatel
[AArch64] add test for fsub+fneg; NFC
D72015 proposes to restrict the current behavior.
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fp.ll
Commit ff429c5eaf79529aacdc15582c90c0915080e082 by sven.vanhaastregt
[OpenCL] Remove redundant foreach in OpenCLBuiltins.td; NFC
Remove various `foreach` declarations where the iterator is used only
once.  This makes the .td file more compact.
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit fcbf05bbdccc8a32f6a80316ea1c13be7e7eeae2 by Jinsong Ji
[PowerPC][NFC] Fix clang-tidy warning
Reported by
https://results.llvm-merge-guard.org/amd64_debian_testing_clang8-726/clang-tidy.txt
/mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang8/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:11672:10:
warning: invalid case style for variable 'isEQ'
[readability-identifier-naming]
   bool isEQ = (MI.getOpcode() == PPC::ANDI_rec_1_EQ_BIT ||
        ^~~~
        IsEq
/mnt/disks/ssd0/agent/workspace/amd64_debian_testing_clang8/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:11679:14:
warning: invalid case style for variable 'dl'
[readability-identifier-naming]
   DebugLoc dl = MI.getDebugLoc();
            ^~
            Dl
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 7adb5c2aca8047ae184a96869e3cfcb034fbac39 by nikita.ppv
Revert "[InstCombine] Fix infinite loop due to bitcast <-> phi
transforms"
This reverts commit 27a0795943fee0f30b995fe5165428afc2dfd402.
Seems to break test-suite.
The file was removedllvm/test/Transforms/InstCombine/pr44245.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Commit df3b56c90544b17e645bcb1799ce60e3ae1d5c6d by johannes
[Attributor][Fix] Avoid leaking memory after D68765
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit d89c4cb938070a6de11e624984e5bd0e989fb334 by steveire
Match code following lambdas when ignoring invisible nodes
Reviewers: aaron.ballman
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71976
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
The file was modifiedclang/lib/ASTMatchers/ASTMatchFinder.cpp
Commit 06fdbf3dafb76e54ea76e0eb5f690bc3d6773023 by steveire
Unnest struct in Matcher implementation
This allows implementation of the traverse() matcher to surround
matchers like unless().
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
Commit 69bb99914f35b887e949b72feafc5f41ee0db6e1 by steveire
Implement additional traverse() overloads
Summary: These overloads make it possible to wrap unless(), anyOf(),
has() etc with the traverse matcher.
Reviewers: aaron.ballman
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71977
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
Commit eb5c026ef0bc48207edaeda8115b832be631652d by spatel
[InstCombine] add/adjust tests for masked bit; NFC
The file was modifiedllvm/test/Transforms/InstCombine/zext.ll
Commit a041c4ec6f7aa659b235cb67e9231a05e0a33b7d by spatel
[InstCombine] fold zext of masked bit set/clear
This does not solve PR17101, but it is one of the underlying diffs noted
here: https://bugs.llvm.org/show_bug.cgi?id=17101#c8
We could ease the one-use checks for the 'clear'
(no 'not' op) half of the transform, but I do not know if that asymmetry
would make things better or worse.
Proofs: https://rise4fun.com/Alive/uVB
  Name: masked bit set
%sh1 = shl i32 1, %y
%and = and i32 %sh1, %x
%cmp = icmp ne i32 %and, 0
%r = zext i1 %cmp to i32
=>
%s = lshr i32 %x, %y
%r = and i32 %s, 1
  Name: masked bit clear
%sh1 = shl i32 1, %y
%and = and i32 %sh1, %x
%cmp = icmp eq i32 %and, 0
%r = zext i1 %cmp to i32
=>
%xn = xor i32 %x, -1
%s = lshr i32 %xn, %y
%r = and i32 %s, 1
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/zext.ll
Commit 430bba2a0f39b543e66119761d1526d037229936 by jpienaar
[mlir] Make code blocks more consistent
Use the same form specification for the same type of code.
The file was modifiedmlir/docs/Tutorials/Toy/Ch-1.md
The file was modifiedmlir/lib/Support/CMakeLists.txt
The file was modifiedmlir/docs/Tutorials/Toy/Ch-3.md
The file was modifiedmlir/docs/ConversionToLLVMDialect.md
The file was modifiedmlir/docs/RationaleSimplifiedPolyhedralForm.md
The file was modifiedmlir/docs/Tutorials/Toy/Ch-2.md
The file was modifiedmlir/docs/DeclarativeRewrites.md
The file was modifiedmlir/docs/Tutorials/Toy/Ch-6.md
The file was modifiedmlir/docs/Tutorials/Toy/Ch-4.md
Commit 5e5a1d27909626169c15b8f63e10d22fcbdf88d9 by craig.topper
[CodeGen] Emit conj/conjf/confjl libcalls as fneg instructions if
possible.
We already recognize the __builtin versions of these, might as well
recognize the libcall version.
Differential Revision: https://reviews.llvm.org/D72028
The file was modifiedclang/test/CodeGen/complex-libcalls.c
The file was addedclang/test/CodeGen/complex-libcalls-2.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
Commit 73855e43009bdd433c648e7102f122365e50e398 by craig.topper
[X86] Add test case for opposite branch condition for PR44412. NFC
The file was modifiedllvm/test/CodeGen/X86/pr44412.ll
Commit 7544cb8807b2ecb2f5186ab18d0ffa865a493a47 by jpienaar
[mlir][docs] Remove redundant path prefix
./ is not needed.
The file was modifiedmlir/docs/Tutorials/Toy/Ch-5.md
Commit 8be5a0fe12bb9114bb82986b1dcb9205699aa085 by a.bataev
[OPENMP]Emit artificial threprivate vars as threadlocal, if possible.
It may improve performance for declare reduction constructs.
The file was modifiedclang/test/OpenMP/taskloop_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_reduction_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_reduction_codegen.cpp
Commit 79d401905fcf519da732b33ee9dffd18f2da3b10 by michael.hliao
[amdgpu] Fix scoreboard updating on `s_waitcnt_vscnt`.
Summary: - Other counters are accidentally cleared.
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71866
The file was addedllvm/test/CodeGen/AMDGPU/waitcnt-vscnt.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
Commit b65ca8e5db6fde6ef5948136b8f576eb6d7f707f by martin
Revert "[Diagnostic] Add ftabstop to -Wmisleading-indentation"
This reverts commit b47b35ff51b355a446483777155290541ab64fae.
This caused failed asserts (Assertion `FIDAndOffset.second > ColNo &&
"Column number smaller than file offset?"' failed.) on a source file
with a single line containing
"int main (void) { for( int i = 0; i < 9; i++ ); return 0; }".
The file was modifiedclang/lib/Parse/ParseStmt.cpp
The file was modifiedclang/test/Parser/warn-misleading-indentation.cpp
Commit 64cf26548a4cef7745ebc385ac6a2d280bcaf6fe by arsenm2
AMDGPU: Precommit test showing extra instructions are introduced
The file was addedllvm/test/CodeGen/AMDGPU/fneg-fold-legalize-dag-increase-insts.ll
Commit 4ae3120ed81cb2f1f73f59a52e2a9965515ea6bf by craig.topper
[LegalizeVectorOps][AArch64] Stop asking for v4f16 fp_round and
fp_extend to be promoted.
These operations are needed as building blocks for promoting so they
can't be promoted themselves.
This appeared to work because the fp_extend query type for operation
actions is the result type, not the input type so it never triggered in
the legalizer.
For fp_round, the vector op legalizer just ended up creating a nop
fp_extend that was elided by getNode, followed by a nop fp_round that
was also elided by getNode. This was followed by a final fp_round from
v4f32 back to vf416 which was CSEd to the original node. Then legalize
vector ops just believed that node legalized to itself. LegalizeDAG took
another crack at promoting it, but didn't have a handler so just skipped
it with a debug message saying it wasn't promoted.
This patch just removes the operation actions to avoid this non-sense.
Found while trying to refactor LegalizeVectorOps to handle multiple
result nodes better.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 1cc8a74de345b66fd340ddc71580ad412e8e2abf by craig.topper
[X86] Use carry flag from add for (seteq (add X, -1), -1).
If we just subtracted 1 and are checking if the result is -1. We can use
the carry flag from the ADD instead of an explicit CMP. I'm using the
same checks for the add users as EmitTest.
Fixes one case from PR44412
Differential Revision: https://reviews.llvm.org/D72019
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/pr44412.ll
Commit 374e0299cf08dc1ff2c68e7f6c159b98ab55dfb8 by craig.topper
[X86][InstCombine] Add constant folding and simplification support for
pdep and pext
The instructions use a mask to either pack disjoint bits together(pext)
or spread bits to disjoint locations(pdep). If the mask is all 0s then
no bits are extracted or deposited. If the mask is all ones, then the
source value is written to the result since no compression or expansion
happens. Otherwise if both the source and mask are constant we can walk
the bits in the source/mask and calculate the result.
There other crazier things we could do like computeKnownBits or turning
pext into shift/and if only a single contiguous range of bits is
extracted.
Fixes PR44389
Differential Revision: https://reviews.llvm.org/D71952
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-bmi-tbm.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Commit 26bdc603f76f41a9831f6b980b5fc9a947446544 by craig.topper
[X86] Constant fold KSHIFT of an all zeros vector to just an all zeros
vector.
The file was modifiedllvm/test/CodeGen/X86/masked_store.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e3e13db714e0d642ae44d5d392b137ec64d93a00 by maskray
[ELF][RISCV] Improve error message for unknown relocations
Like rLLD354040.
The file was modifiedlld/ELF/Arch/RISCV.cpp
Commit 4d7201e7b988b62a6ca30416fd03847b5a39dae0 by arsenm2
DAG: Stop trying to fold FP -(x-y) -> y-x in getNode with nsz
This was increasing the number of instructions when fsub was legalized
on AMDGPU with no signed zeros enabled. This fold should be guarded by
hasOneUse, and I don't think getNode should be doing that. The same fold
is already done as a regular combine through isNegatibleForFree.
This does require duplicating, even though isNegatibleForFree does this
combine already (and properly checks hasOneUse) to avoid one PPC
regression. In the regression, the outer fneg has nsz but the fsub
operand does not. isNegatibleForFree only sees the operand, and doesn't
see it's used from a nsz context. A nsz parameter needs to be added and
threaded through isNegatibleForFree to avoid this.
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fp.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/fneg-fold-legalize-dag-increase-insts.ll
Commit 468a0cb5f39454a26c99f1d80fa7e24936f47bf7 by craig.topper
[X86] Add X87 FCMOV support to X86FlagsCopyLowering.
Fixes PR44396
The file was modifiedllvm/lib/Target/X86/X86FlagsCopyLowering.cpp
The file was addedllvm/test/CodeGen/X86/pr44396.ll
Commit 86f48999f46f41687f152e0854bdd352250b117c by craig.topper
[X86] Fix typo in getCMovOpcode.
The 64-bit HasMemoryOperand line was using CMOV32rm instead of CMOV64rm.
Not sure how to test this. We have no test coverage that passes true for
HasMemoryOperand.
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
Commit e9963034314edf49a12ea5e29f694d8f9f52734a by uenoku.tokotoko
[Attributor] AAValueConstantRange: Value range analysis using constant
range
This patch introduces `AAValueConstantRange`, which answers a possible
range for integer value in a specific program point. One of the
motivations is propagating existing `range` metadata. (I think we need
to change the situation that `range` metadata cannot be put to
Argument).
The state is a tuple of `ConstantRange` and it is initialized to (known,
assumed) = ([-∞, +∞], empty).
Currently, AAValueConstantRange is created when AAValueSimplify cannot
simplify the value.
Supported
- BinaryOperator(add, sub, ...)
- CmpInst(icmp eq, ...)
- !range metadata
`AAValueConstantRange` is not intended to extend to polyhedral range
value analysis.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D71620
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/return-constant.ll
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll
The file was addedllvm/test/Transforms/Attributor/range.ll
The file was addedllvm/test/Transforms/Attributor/lvi-after-jumpthreading.ll
The file was addedllvm/test/Transforms/Attributor/lvi-for-ashr.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/solve-after-each-resolving-undefs-for-function.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
Commit 47e3d3ec0c5607ae3bc6181537c0622080f3af27 by maskray
[ELF][RISCV][test] Test absolute/PC-relative/branch relocations to
undefined weak symbols
The file was addedlld/test/ELF/riscv-undefined-weak.s
Commit d2bb8c16e711602481c8b33d0e2ccc9994eb6641 by maskray
[MC][TargetMachine] Delete MCTargetOptions::MCPIECopyRelocations
clang/lib/CodeGen/CodeGenModule performs the -mpie-copy-relocations
check and sets dso_local on applicable global variables. We don't need
to duplicate the work in TargetMachine shouldAssumeDSOLocal.
Verified that -mpie-copy-relocations can still emit PC relative
relocations for external variable accesses.
clang -target x86_64 -fpie -mpie-copy-relocations -c => R_X86_64_PC32
clang -target aarch64 -fpie -mpie-copy-relocations -c =>
R_AARCH64_ADR_PREL_PG_HI21+R_AARCH64_LDST64_ABS_LO12_NC
The file was modifiedllvm/include/llvm/MC/MCTargetOptions.h
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/include/llvm/MC/MCTargetOptionsCommandFlags.inc
The file was modifiedllvm/lib/MC/MCTargetOptions.cpp
The file was modifiedllvm/lib/Target/TargetMachine.cpp
The file was removedllvm/test/CodeGen/X86/global-access-pie-copyrelocs.ll
Commit 8af492ade1bc5367ae529e451b9c9cd9e3d55e53 by chen3.liu
add strict float for round operation
Differential Revision: https://reviews.llvm.org/D72026
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/test/CodeGen/X86/vec-strict-256.ll
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
The file was modifiedllvm/test/CodeGen/X86/vec-strict-512.ll
The file was addedllvm/test/CodeGen/X86/fp-strict-scalar-round.ll
The file was addedllvm/test/CodeGen/X86/vec-strict-round-128.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/lib/Target/X86/X86InstrFragmentsSIMD.td
Commit 773667b8c20d35c18334f8c7663df8ceacfdd2e5 by sylvestre
clang-tidy doc: Remove severities as they don't make consensus
Reviewers: jdoerfert, aaron.ballman
Reviewed By: aaron.ballman
Subscribers: whisperity, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72049
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
Commit f323ab919a70cf9b731c93f50172c6fd9d0a918f by david.green
[ARM] Add +mve feature to mve tests. NFC
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update3.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-remove-loop-update2.mir
Commit 9b24dad6c06bba771b805ffd9bd047af25317e52 by Raphael Isemann
[lldb][NFC] Make some checks more readable in
Variable::PrivateAutoComplete
The file was modifiedlldb/source/Symbol/Variable.cpp
Commit 8dc7b982b4556c243e0502e6e230bdd53ddd65ff by koraq
[NFC] Fixes -Wrange-loop-analysis warnings
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to
-Wall.
Differential Revision: https://reviews.llvm.org/D71857
The file was modifiedllvm/lib/MCA/Stages/InstructionTables.cpp
The file was modifiedllvm/include/llvm/Analysis/LoopInfoImpl.h
The file was modifiedllvm/lib/IR/TypeFinder.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
The file was modifiedllvm/lib/MCA/HardwareUnits/ResourceManager.cpp
The file was modifiedllvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
The file was modifiedllvm/lib/CodeGen/RegAllocFast.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp
The file was modifiedclang-tools-extra/clang-doc/MDGenerator.cpp
The file was modifiedllvm/lib/DebugInfo/Symbolize/Symbolize.cpp
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedlldb/source/Target/StackFrameRecognizer.cpp
The file was modifiedllvm/include/llvm/Support/GenericDomTree.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
The file was modifiedllvm/lib/Linker/IRMover.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
The file was modifiedllvm/lib/Support/CommandLine.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/SlicingCheck.cpp
The file was modifiedlldb/source/Plugins/Platform/Android/AdbClient.cpp
The file was modifiedllvm/lib/Analysis/DomTreeUpdater.cpp
The file was modifiedllvm/lib/Analysis/MemoryDependenceAnalysis.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/ExceptionAnalyzer.cpp
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedclang/lib/CodeGen/CodeGenPGO.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
The file was modifiedllvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
The file was modifiedclang/tools/clang-refactor/TestSupport.cpp
The file was modifiedclang-tools-extra/clangd/index/MemIndex.cpp
The file was modifiedllvm/include/llvm/Analysis/LoopInfo.h
The file was modifiedclang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
The file was modifiedllvm/lib/CodeGen/InlineSpiller.cpp
The file was modifiedclang/lib/Tooling/ASTDiff/ASTDiff.cpp
The file was modifiedllvm/lib/Support/TargetParser.cpp
Commit f022a5a792fd39a4c33f49583d24d96c70177066 by koraq
Adds fixit hints to the -Wrange-loop-analysis
Differential Revision: https://reviews.llvm.org/D68913
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/test/SemaCXX/warn-range-loop-analysis.cpp
Commit e5ab1e49f958cd8388bab617819ba78167e557d3 by koraq
Improve Wrange-loop-analyses for rvalue reference
The Wrange-loop-analyses warns if a copy is made. Suppress this warning
when a temporary is bound to a rvalue reference.
While fixing this issue also found a copy-paste error in test6, which is
also fixed.
Differential Revision: https://reviews.llvm.org/D71806
The file was modifiedclang/test/SemaCXX/warn-range-loop-analysis.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
Commit d8117542ac57f6051674ca70ea14c0e0d7d9b046 by koraq
Adds -Wrange-loop-analysis to -Wall
This makes the range loop warnings part of -Wall.
Fixes PR32823: Warn about accidental coping of data in range based for
Differential Revision: https://reviews.llvm.org/D68912
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/test/Misc/warning-wall.c
The file was modifiedclang/test/SemaCXX/warn-range-loop-analysis.cpp
Commit c36763d8943d3d5f6ce5f49c103d28eb8d8e0ada by craig.topper
[X86] Call SimplifyMultipleUseDemandedBits from combineVSelectToBLENDV
if the condition is used by something other than select conditions.
We might be able to bypass some nodes on the condition path.
Differential Revision: https://reviews.llvm.org/D71984
The file was modifiedllvm/test/CodeGen/X86/vselect.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 8756cd09639e9a74e8579cddcf177944dfd2b275 by nikita.ppv
[InstCombine] Add tests for sub nuw of geps; NFC
Tests for PR44419.
The file was addedllvm/test/Transforms/InstCombine/sub-gep.ll
Commit 7f48171d2f7ac8840b936cb202780fb90bc665be by nikita.ppv
[InstCombine] Regenerate test checks; NFC
The file was modifiedllvm/test/Transforms/InstCombine/pr26992.ll
The file was modifiedllvm/test/Transforms/InstCombine/getelementptr.ll
Commit 11552433ebfc7243c0b66367bdffaba52e74b354 by nikita.ppv
[InstCombine] Add tests for PR44423 and PR44425; NFC
The file was modifiedllvm/test/Transforms/InstCombine/getelementptr.ll
Commit f9f78cf6ac73d9148be9b626f418bf6770e512f6 by flo
[MachineScheduler] improve reuse of 'releaseNode'method
The 'SchedBoundary::releaseNode' is merely invoked for releasing the
Top/Bottom root nodes. However,  'SchedBoundary::releasePending' uses
its same logic to check if the Pending queue has any releasable SUnit.
It is possible to slightly modify the body of the two, allowing re-use
of the former ('releaseNode') in the latter.
Patch by Lorenzo Casalino <lorenzo.casalino93@gmail.com>
Reviewers: MatzeB, fhahn, atrick
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D65506
The file was modifiedllvm/include/llvm/CodeGen/MachineScheduler.h
The file was modifiedllvm/lib/CodeGen/MachineScheduler.cpp
Commit 6ba5f8c4acb494ecd99a472706075b2153ddccf3 by nikita.ppv
[InstCombine] Fix incorrect inbounds on GEP of GEP (PR44425)
This fixes https://bugs.llvm.org/show_bug.cgi?id=44425. We need to drop
inbounds if one of the GEPs is not inbounds. This was already done when
creating a new GEP, but not when modifying in place.
Differential Revision: https://reviews.llvm.org/D72059
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/test/Transforms/InstCombine/pr26992.ll
The file was modifiedllvm/test/Transforms/InstCombine/getelementptr.ll
The file was modifiedllvm/test/Transforms/InstCombine/phi-equal-incoming-pointers.ll
Commit 8ca79dac559219358b0c6bb00bded30935c7aa6a by koraq
Revert "Adds -Wrange-loop-analysis to -Wall"
The sanitizer-x86_64-linux buildbot failed to build lld with -Werror.
This reverts commit d8117542ac57f6051674ca70ea14c0e0d7d9b046.
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/test/SemaCXX/warn-range-loop-analysis.cpp
The file was modifiedclang/test/Misc/warning-wall.c
Commit 8dbe2f02c6d300e7222b5064b28c4d82a031647d by Raphael Isemann
[lldb][NFC] Simplify CompilerType constructors/destructors and fix
unused variable warning
CompilerType has no virtual functions and no statements in its
constructors, so we can simplify this code. This also allows Clang to
emit unused variable warnings for CompilerType, so I also removed one
unused variable that otherwise causes -Werror builds to fail.
The file was modifiedlldb/source/Symbol/CompilerType.cpp
The file was modifiedlldb/include/lldb/Symbol/CompilerType.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp
Commit 8dd9a1361958f0cc53d100124e158cbe691c4628 by nikita.ppv
[InstCombine] Preserve inbounds when merging with zero-index GEP
(PR44423)
This addresses https://bugs.llvm.org/show_bug.cgi?id=44423. If one of
the GEPs is inbounds and the other is zero-index, we can also preserve
inbounds.
Differential Revision: https://reviews.llvm.org/D72060
The file was modifiedllvm/test/Transforms/InstCombine/getelementptr.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit fb170fd652bf2fcc4c2cd54aaf384591d8df266b by Saleem Abdulrasool
tests: XFAIL/UNSUPPORTED tests on Windows
Now that we are building the python bindings on Windows once more, the
extended testsuite is running.  Mark a few failing tests and skip a few
tests which hang.  This should at least bring the bot back to green
without reverting the Python changes which are an improvement for the
build system and enable another ~35% of the test suite which was
previously disabled.
The file was modifiedlldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/dead-strip/TestDeadStrip.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/settings/TestSettings.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
Commit 2b223bd1c7d5bdd019aac4f540e8b60d339348a3 by alexandre.ganea
[mlir] Fix warnings when compiling with Clang 9.0
Fixes: warning: comparison of integers of different signs: 'const
unsigned int' and '(anonymous namespace)::OperationPrinter::(anonymous
enum at F:\llvm-project\mlir\lib\IR\AsmPrinter.cpp:1444:3)'
[-Wsign-compare]
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
Commit 316f6003ef2b3361919bbc421b26357bf10129ee by alexandre.ganea
[mlir] Fix linking with LLD
The issue is that /WHOLEARCHIVE is interpreted differently in LLD, which
needs the same exact path as the .lib; whereas link.exe can take the
library name, withoutout a path or extension, if that was already
supplied on the cmd-line. I'll write a follow-up patch to fix the issue
in LLD.
The file was modifiedmlir/CMakeLists.txt
Commit 6656e961c08393c3949412ef945ade0272b66fca by alexandre.ganea
[mlir] Fix compilation warnings
Fixes:
- (MSVC)
F:\llvm-project\mlir\lib\Dialect\Linalg\Analysis\DependenceAnalysis.cpp(103):
warning C4551: function call missing argument list
- (Clang) tools\mlir\lib\Dialect\SPIRV\SPIRVCanonicalization.inc(232,1):
warning: unused function 'populateWithGenerated' [-Wunused-function]
The file was modifiedmlir/tools/mlir-tblgen/RewriterGen.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Analysis/DependenceAnalysis.cpp
Commit 92b68c1937cd065a2fc44d18c1099de7da19b356 by alexandre.ganea
[polly][Support] Un-break polly tests Previously, the polly unit tests
were stuck in a infinite loop. There was an edge case in
StringRef::count() introduced by
9f6b13e5cce96066d7262d224c971d93c2724795, where an empty 'Str' would
cause the function to never exit. Also fixed usage in polly.
The file was modifiedpolly/lib/Analysis/ScopDetection.cpp
The file was modifiedllvm/unittests/ADT/StringRefTest.cpp
The file was modifiedllvm/lib/Support/StringRef.cpp
Commit 681b1be774964a804beabfb7c5e3bdab8f979e4a by maskray
[lld] Fix -Wrange-loop-analysis warnings
One instance looks like a false positive:
lld/ELF/Relocations.cpp:1622:14: note: use reference type 'const
std::pair<ThunkSection *, uint32_t> &' (aka 'cons t
pair<lld::elf::ThunkSection *, unsigned int> &') to prevent copying
       for (const std::pair<ThunkSection *, uint32_t> ts :
isd->thunkSections)
It is not changed in this commit.
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/wasm/Driver.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/COFF/InputFiles.cpp
Commit eeef50b1fee91dbe993187324003d2665ceae331 by maskray
[mlir] Fix -Wrange-loo-analysis warnings
for (const auto &x : llvm::zip(..., ...))
->
for (auto x : llvm::zip(..., ...))
The return type of zip() is a wrapper that wraps a tuple of references.
> warning: loop variable 'p' is always a copy because the range of type
'detail::zippy<detail::zip_shortest, ArrayRef<long> &, ArrayRef<long>
&>' does not return a reference [-Wrange-loop-analysis]
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
The file was modifiedmlir/lib/IR/TypeUtilities.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
The file was modifiedmlir/lib/Dialect/Traits.cpp
The file was modifiedmlir/tools/mlir-tblgen/StructsGen.cpp
Commit 68a235d07f9e7049c7eb0c8091f37e385327ac28 by Saleem Abdulrasool
build: reduce CMake handling for zlib
Rather than handling zlib handling manually, use `find_package` from
CMake to find zlib properly. Use this to normalize the
`LLVM_ENABLE_ZLIB`,
`HAVE_ZLIB`, `HAVE_ZLIB_H`. Furthermore, require zlib if
`LLVM_ENABLE_ZLIB` is set to `YES`, which requires the distributor to
explicitly select whether zlib is enabled or not. This simplifies the
CMake handling and usage in the rest of the tooling.
The file was modifiedllvm/lib/Support/Compression.cpp
The file was modifiedlld/test/CMakeLists.txt
The file was modifiedllvm/cmake/config-ix.cmake
The file was modifiedlld/test/lit.site.cfg.py.in
The file was modifiedllvm/lib/Support/CRC.cpp
The file was modifiedllvm/include/llvm/Config/config.h.cmake
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedclang/test/lit.site.cfg.py.in
The file was modifiedllvm/test/lit.site.cfg.py.in
The file was modifiedllvm/unittests/Support/CompressionTest.cpp
The file was modifiedcompiler-rt/test/lit.common.configured.in
The file was modifiedclang/test/CMakeLists.txt
Commit e6c7ed6d2164a0659fd9f6ee44f1375d301e3cad by Saleem Abdulrasool
build: make `LLVM_ENABLE_ZLIB` a tri-bool for users
Treat the flag `LLVM_ENABLE_ZLIB` as a tri-bool, `FORCE_ON` being `ON`,
and `ON` being an auto-detect.  This is needed as many of the builders
enable the flag without having zlib available.
The file was modifiedllvm/CMakeLists.txt
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was modifiedllvm/cmake/config-ix.cmake
Commit 2fcf7691dfb470e57a940e3a045695515fb44e13 by modocache
[Coroutines] Rename "legacy" passes (NFC)
A series of patches beginning with https://reviews.llvm.org/D71898
propose to add an implementation of the coroutine passes to the new pass
manager. As part of these changes, the coroutine passes that implement
the legacy pass manager interface are renamed, to `<PassName>Legacy`.
This mirrors similar changes that have been made to many other passes in
LLVM as they've been transitioned to support both old and new pass
managers.
This commit splits out the renaming portion of that patch and commits it
in advance as an NFC (no functional change intended) commit. It renames:
* `CoroEarly` => `CoroEarlyLegacy`
* `CoroSplit` => `CoroSplitLegacy`
* `CoroElide` => `CoroElideLegacy`
* `CoroCleanup` => `CoroCleanupLegacy`
The file was modifiedllvm/lib/Transforms/Coroutines/CoroEarly.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroElide.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/Coroutines.cpp
The file was modifiedllvm/include/llvm-c/Transforms/Coroutines.h
The file was modifiedllvm/lib/Transforms/Coroutines/CoroCleanup.cpp
The file was modifiedllvm/include/llvm/Transforms/Coroutines.h
The file was modifiedllvm/lib/Transforms/Coroutines/CoroInternal.h
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp
Commit dac98a22052eac66295ce443eed20e21bf37d28d by craig.topper
[RegisterClassInfo] Use SmallVector::assign instead of resize to make
sure we erase previous contents from all entries of the vector.
resize only writes to elements that get added. Any elements that already
existed maintain their previous value. In this case we're trying to
erase cached information so we should use assign which will write to
every element.
Found while trying to add new tests to an existing X86 test and
noticed register allocation changing in other functions.
The file was modifiedllvm/lib/CodeGen/RegisterClassInfo.cpp
Commit 0b7b21dce46572c335c0d94b0f24464611389a36 by craig.topper
[X86] Add test cases for regcall function that takes a long double as a
parameter, but does not return a long double.
I believe we are incorrectly doing some FP stack manipulations after the
call.
The file was modifiedllvm/test/CodeGen/X86/avx512-regcall-NoMask.ll
Commit 9ce0ff2eefcd9e41fa59a6a6aadbb7fd1de87f34 by modocache
[Coroutines] const-ify internal helpers (NFC)
Several helpers internal to llvm/Transforms/Coroutines do not use
'const' for parameters that are not modified. Add const where possible.
The file was modifiedllvm/lib/Transforms/Coroutines/CoroInternal.h
The file was modifiedllvm/lib/Transforms/Coroutines/Coroutines.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp
Commit 6ff6d32ebfec3150aa462cd31042b5719edb84da by thakis
[gn build] (manually) merge 68a235d07f9e70
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
Commit 45765c52bc3d70d83e1f95640b299b2b2c978129 by craig.topper
[X86] Add x86_regcallcc calling convention to function declaration
recently added in a test.
The callsite had the calling convention, but not the function itself.
The file was modifiedllvm/test/CodeGen/X86/avx512-regcall-NoMask.ll
Commit 5d38b2610f5805525c2b6d15898d6ccf0cc12bdd by antiagainst
[mlir][spirv] Fix links in docs and update dialect docs
Summary: This commit fixes links to code directories and uses doc links
on mlir.llvm.org where possible. The docs in TableGen dialect definition
is also updated to reflect recent developments.
Reviewed By: mravishankar
Differential Revision: https://reviews.llvm.org/D72051
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
The file was modifiedmlir/docs/Dialects/SPIR-V.md
Commit 0359e1d6be2e4449ece5063c6b2a08a5094798b4 by antiagainst
[mlir][spirv] NFC: Move shader ABI attributes to a new file
This allows us to include the definitions of these attributes in other
files without pulling in all dependencies for lowering.
Reviewed By: mravishankar
Differential Revision: https://reviews.llvm.org/D72054
The file was addedmlir/include/mlir/Dialect/SPIRV/TargetAndABI.td
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/LowerABIAttributesPass.cpp
The file was addedmlir/include/mlir/Dialect/SPIRV/TargetAndABI.h
The file was addedmlir/lib/Dialect/SPIRV/TargetAndABI.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/SPIRV/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVLowering.h
The file was removedmlir/include/mlir/Dialect/SPIRV/SPIRVLowering.td
Commit aa8217289864d27b023b31e3efbaa7eb05e77092 by maskray
[XRay][test] Fix xray-empty-firstmbb.mir and delete incorrect
xray-empty-function.mir
xray-empty-firstmbb.mir does not test the intended code path. Change
xray-instruction-threshold to 0 to exercise the code path.
Delete xray-empty-function.mir . Empty MachineFunction does not work.
Various passes (e.g. MachineDominatorTree) assume the presence of an
entry block.
The file was modifiedllvm/test/CodeGen/X86/xray-empty-firstmbb.mir
The file was removedllvm/test/CodeGen/X86/xray-empty-function.mir
Commit a2976c490da3b6d7253d4034ae507a760457ea18 by shengchen.kan
[NFC] Make the type of X86AlignBranchBoundary compatible
Change the type of X86AlignBranchBoundary from cl::opt<uint64_t> to
cl::opt<unsigned> since the template class cl::opt is only instantiated
with type unsigned, int, std::string, char and bool.
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Commit fe8e25a48a2a0f8f508499ba950181dba3d600b0 by Raphael Isemann
[lldb][NFC] Create type-safe function for creating a CompilerType from a
QualType
LLDB frequently converts QualType to CompilerType. This is currently
done like this:
   result = CompilerType(this, qual_type_var.getAsOpaquePtr()) There are
a few shortcomings in this current approach:
1. CompilerType's constructor takes a void* pointer so it isn't type
safe.
2. We can't add any sanity checks to the CompilerType constructor (e.g.
that the type
    actually belongs to the passed ClangASTContext) without expanding
the TypeSystem API.
3. The logic for converting QualType->CompilerType is spread out over
all of LLDB so
    changing it is difficult (e.g., what if we want to just pass the
type ptr and not the
    1type_ptr | qual_flags1 to CompilerType).
This patch adds a `ClangASTContext::GetType` function similar to the
other GetTypeForDecl functions that does this conversion in a type safe
way.
It also adds a sanity check for Tag-based types that the type actually
belongs to the current ClangASTContext (Types don't seem to know their
ASTContext, so we have to workaround by looking at the decl for the
underlying TagDecl. This doesn't cover all types we construct but it's
better than no sanity check).
The file was modifiedlldb/source/Plugins/Language/ObjC/NSArray.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
Commit a95f4c87842d76a9fce146b2f25e6c8079f6bbdc by Raphael Isemann
[lldb][NFC] Remove unused variable in
DWARFASTParserClang::ParseSingleMember
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit 8188c998ffa4d20253444b257402907d2aa74dc2 by tclin914
[docs] Update path to clang-tools-extra
Summary:
> tools/clang/tools/extra has become
>clang-tools-extra which was not updated in all docs.
Reviewers: alexfh, aaron.ballman, ilya-biryukov, juliehockett
Reviewed By: aaron.ballman
Subscribers: Jim, cfe-commits
Tags: #clang-tools-extra, #clang
Differential Revision: https://reviews.llvm.org/D71982
The file was modifiedclang-tools-extra/docs/pp-trace.rst
The file was modifiedclang-tools-extra/docs/clang-include-fixer.rst
The file was modifiedclang-tools-extra/docs/clang-tidy/Contributing.rst
Commit 535b3c6b2f1c81ed91942ebd9ea06a1022dc59a1 by Alexander.Richardson
[llvm-ranlib] Handle -D and -U command line flag
I have been trying to build CheriBSD (a fork for FreeBSD for the CHERI
CPU) with LLVM binutils instead of the default elftoolchain utilities. I
noticed that building static archives was failing because ranlib is
invoked with the -D flag. This failed with llvm-ranlib since it parses
the -D flag as the archive path and reports an error that more than one
archive has been passed.
This fixes https://llvm.org/PR41707
Reviewed By: rupprecht Differential Revision:
https://reviews.llvm.org/D71554
The file was modifiedllvm/test/tools/llvm-ranlib/help-message.test
The file was addedllvm/test/tools/llvm-ranlib/D-flag.test
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
Commit 404da13e1e94ac092b2010566f95dbd4b126a500 by andrzej.warzynski
[AArch64][SVE]  Gather loads: pass 32 bit unpacked offsets as nxv2i32
Summary: Currently 32 bit unpacked offsets are passed as nxv2i64.
However, as pointed out in https://reviews.llvm.org/D71074, using
nxv2i32 instead would improve consistency with:
* how other arguments are treated
* how scatter stores are implemented This patch makes sure that 32 bit
unpacked offsets are passes as nxv2i32 instead of nxv2i64.
Reviewers: sdesmalen, efriedma
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71724
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-32bit-unscaled-offsets.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-32bit-scaled-offsets.ll
Commit bdf4224f9cef5fda34eebd409562e9e06bfde982 by qiucofan
[NFC] Add explicit instantiation to releaseNode
Resolve a build failure about undefined symbols introduced by f9f78cf.
Differential Revision: https://reviews.llvm.org/D72069
The file was modifiedllvm/lib/CodeGen/MachineScheduler.cpp
Commit 136f34fed661869ebb0082d32f7b5399baca204c by Alexander.Richardson
Fix D-flag.test by running chmod before creating the archive
Not all systems create the .o file with mode 644 by default. Adding an
explicit chmod invocation should fix this test added in
535b3c6b2f1c81ed91942ebd9ea06a1022dc59a1
The file was modifiedllvm/test/tools/llvm-ranlib/D-flag.test
Commit 7ead00872929a994ac40fc2c99fce15968e2c5a6 by Raphael Isemann
[lldb] Fix crash in AccessDeclContextSanity when copying
FunctionTemplateDecl inside a record.
Summary: We currently don't set access specifiers for function template
declarations. This seems to be fine as long as the function template is
not declared inside any record in which case Clang asserts with the
following once we try to query it's access:
``` Assertion failed: (Access != AS_none && "Access specifier is AS_none
inside a record decl"), function AccessDeclContextSanity,
```
This patch just marks these function template declarations as public to
make Clang happy.
Reviewers: shafik, teemperor
Reviewed By: teemperor
Subscribers: JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71909
The file was modifiedlldb/unittests/Symbol/TestClangASTContext.cpp
The file was removedlldb/packages/Python/lldbsuite/test/commands/expression/completion-crash2/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/regression-access-function-template-in-record/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/regression-access-function-template-in-record/TestRegressionAccessFunctionTemplateInRecord.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/expression/completion-crash2/TestCompletionCrash2.py
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit 6b067c6a91e5a4630c6ff5747c58c27ef4671242 by david.green
[ARM] Update ifcvt test target triples and opcodes. NFC
Some of the instructions in these tests were technically invalid
combinations (using ARM opcodes in Thumb mode, for example). Update the
targets and the instructions used to be more correct.
The file was modifiedllvm/test/CodeGen/ARM/PR32721_ifcvt_triangle_unanalyzable.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt_simple_unanalyzable.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt_forked_diamond_unanalyzable.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt_triangleSameCvtNext.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt_canFallThroughTo.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt_triangleWoCvtToNextEdge.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt_diamond_unanalyzable.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt_simple_bad_zero_prob_succ.mir
Commit 0eea9ba730b5c85b0ff9fa959d22fe5a66b5d013 by gribozavr
Make the llvm-ranlib/help-message.test test pass in unusual
configurations
The version string can be customized by CMake options, so the 'LLVM
version' substring is not guaranteed to appear (see
VersionPrinter::print in llvm/lib/Support/CommandLine.cpp).
The file was modifiedllvm/test/tools/llvm-ranlib/help-message.test
Commit 13a7a4ccbf8ba946a02ce5972e0f93a2d38b5d54 by jay.foad
Remove unneeded extra variable realArgIdx. NFC.
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit afc25a43dc6cfd7dbbd875c68266f3d5ad20e9d4 by ntv
[mlir][Linalg] NFC - Rename LinalgGeneric -> GenericLinalg
Summary: This is part of an ongoing cleanup and uniformization work.
Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen,
antiagainst, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72078
The file was modifiedmlir/include/mlir/Dialect/Linalg/EDSC/Builders.h
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
Commit 324fd5902a813af034e40bdd7519639f7a739ed6 by ntv
[mlir][Linalg] NFC - Rename ViewTraits -> StructuredOpTraits
Summary: This is part of an ongoing cleanup and uniformization work.
Reviewers: ftynse
Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen,
antiagainst, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72079
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h
Commit 88fc5fdef6f7a7af4153fa9fd9c7a142e9f4342d by spatel
[InstCombine] remove uses before deleting instructions (PR43723)
This is a less ambitious alternative to previous attempts to fix this
bug with: rG56b2aee1875a rGef02831f0a4e rG56b2aee1875a
...because those all failed bot testing with use-after-free or other
problems.
The original crashing/assert problem is still showing up on various
fuzzers, so I've added a new minimal test based on another one of those
failures.
Instead of trying to manage and coordinate the logic in
isAllocSiteRemovable() with the deletion loops, just loosen the existing
code that handles casts and GEP by replacing with undef to allow other
opcodes. That means that no instructions with uses should assert on
deletion, and there are hopefully no non-obvious sanitizer bugs induced.
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll
Commit a4f3847f3d5742cfab7acdc614e7ca54643e0c85 by Alexander.Richardson
[llvm-ranlib] Relax D-flag.test to allow it to pass on Windows hosts
It appears that Windows hosts always report rwxrwxrwx even with the
chmod 644 invocation. As this test only cares about the timestamps and
not the permissions, use a regex wildcard instead.
The file was modifiedllvm/test/tools/llvm-ranlib/D-flag.test
Commit 87a004d0f8c2fe5c4577d81b4306c35e77f21f9a by a.bataev
[OpenMP] Fix formatting of OpenMP error message, by Wang Tianqing.
Summary: `getListOfPossibleValues()` formatted incorrectly when there is
only one value, emitting something like `expected 'conditional' or  in
OpenMP clause 'lastprivate'`.
Reviewers: jdoerfert, ABataev
Reviewed By: jdoerfert
Subscribers: guansong, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71884
The file was modifiedclang/test/OpenMP/for_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/simd_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/for_simd_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/sections_lastprivate_messages.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_sections_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_for_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_for_simd_lastprivate_messages.cpp
Commit a9d9aadcdfa28aef8b276af416aaa69686ee9b69 by ntv
[mlir][Linalg] NFC - Cleanup Linalg Declarative Transformations
Summary: This is part of an ongoing cleanup and uniformization work.
This diff performs 3 types of cleanups: 1. Uniformize transformation
names. 2. Replace all pattern operands that need not be captured by `$_`
3. Replace all usage of pattern captured op by the normalized `op` name
(instead of positional parameters such as `$0`)
Reviewers: ftynse
Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen,
antiagainst, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72081
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/LinalgTransformPatterns.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/LinalgTransforms.h
The file was modifiedmlir/test/lib/DeclarativeTransforms/TestLinalgTransformPatterns.td
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgTransforms.cpp
Commit cd17c0698993142120fb6167bac99bfd5b1add31 by ntv
[mlir][Linalg] NFC - Make consistent use of op.emitOpError
Summary: This is part of an ongoing cleanup and uniformization work.
Reviewers: ftynse
Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen,
antiagainst, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72084
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
Commit 8d7ecc16291ff415da0d5bfccb6363590a1310ad by sam.mccall
Revert "Revert "[clangd] Implement "textDocument/documentLink" protocol
support""
This reverts commit 079ef783dd5530b5f87beefe624b9179547ded7e.
The revert describes a test failure without details, after offline
discussion this in in a private/unsupported build system and doesn't
seem to reflect a real upstream bug.
The file was modifiedclang-tools-extra/clangd/XRefs.h
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.h
The file was modifiedclang-tools-extra/clangd/Protocol.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was addedclang-tools-extra/clangd/test/document-link.test
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/test/initialize-params.test
The file was modifiedclang-tools-extra/clangd/Protocol.h
Commit 24ab9b537e61b3fe5e6a1019492ff6530d82a3ee by sguelton
Generalize the pass registration mechanism used by Polly to any
third-party tool
There's quite a lot of references to Polly in the LLVM CMake codebase.
However the registration pattern used by Polly could be useful to other
external projects: thanks to that mechanism it would be possible to
develop LLVM extension without touching the LLVM code base.
This patch has two effects:
1. Remove all code specific to Polly in the llvm/clang codebase,
replaicing it
  with a generic mechanism
2. Provide a generic mechanism to register compiler extensions.
A compiler extension is similar to a pass plugin, with the notable
difference that the compiler extension can be configured to be built
dynamically (like plugins) or statically (like regular passes).
As a result, people willing to add extra passes to clang/opt can do it
using a separate code repo, but still have their pass be linked in
clang/opt as built-in passes.
Differential Revision: https://reviews.llvm.org/D61446
The file was addedllvm/examples/Bye/Bye.cpp
The file was modifiedpolly/include/polly/RegisterPasses.h
The file was removedpolly/lib/Polly.cpp
The file was modifiedllvm/include/llvm/Config/llvm-config.h.cmake
The file was modifiedpolly/test/Unit/lit.site.cfg.in
The file was modifiedclang/lib/CodeGen/CMakeLists.txt
The file was modifiedclang/tools/driver/CMakeLists.txt
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/tools/bugpoint/bugpoint.cpp
The file was modifiedllvm/CMakeLists.txt
The file was modifiedclang/tools/driver/cc1_main.cpp
The file was modifiedllvm/examples/CMakeLists.txt
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
The file was modifiedllvm/tools/CMakeLists.txt
The file was modifiedllvm/tools/opt/NewPMDriver.cpp
The file was modifiedllvm/docs/WritingAnLLVMPass.rst
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
The file was modifiedllvm/test/Other/new-pm-defaults.ll
The file was modifiedllvm/tools/opt/CMakeLists.txt
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
The file was modifiedpolly/test/update_check.py
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
The file was addedpolly/lib/Plugin/Polly.cpp
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was modifiedllvm/test/lit.site.cfg.py.in
The file was modifiedpolly/lib/CMakeLists.txt
The file was addedllvm/examples/Bye/CMakeLists.txt
The file was addedllvm/test/Feature/load_extension.ll
The file was modifiedpolly/lib/Support/RegisterPasses.cpp
The file was modifiedllvm/tools/bugpoint/CMakeLists.txt
The file was modifiedllvm/tools/opt/opt.cpp
The file was modifiedpolly/test/lit.site.cfg.in
The file was modifiedllvm/test/lit.cfg.py
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
The file was modifiedllvm/test/Other/opt-O0-pipeline.ll
Commit 63336795f0d50a009e8ec034d95811170efc978b by ulrich.weigand
[FPEnv] Default NoFPExcept SDNodeFlag to false
The NoFPExcept bit in SDNodeFlags currently defaults to true, unlike all
other such flags. This is a problem, because it implies that all code
that transforms SDNodes without copying flags can introduce a
correctness bug, not just a missed optimization.
This patch changes the default to false. This makes it necessary to move
setting the (No)FPExcept flag for constrained intrinsics from the
visitConstrainedIntrinsic routine to the generic visit routine at the
place where the other flags are set, or else the intersectFlagsWith call
would erase the NoFPExcept flag again.
In order to avoid making non-strict FP code worse, whenever
SelectionDAGISel::SelectCodeCommon matches on a set of orignal nodes
none of which can raise FP exceptions, it will preserve this property on
all results nodes generated, by setting the NoFPExcept flag on those
result nodes that would otherwise be considered as raising an FP
exception.
To check whether or not an SD node should be considered as raising an FP
exception, the following logic applies:
- For machine nodes, check the mayRaiseFPException property of
the underlying MI instruction
- For regular nodes, check isStrictFPOpcode
- For target nodes, check a newly introduced isTargetStrictFPOpcode
The latter is implemented by reserving a range of target opcodes,
similarly to how memory opcodes are identified. (Note that there a bit
of a quirk in identifying target nodes that are both memory nodes and
strict FP nodes. To simplify the logic, right now all target memory
nodes are automatically also considered strict FP nodes -- this could be
fixed by adding one more range.)
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D71841
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGISel.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGNodes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics-flags-x86_64.ll
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics-flags.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics-flags.ll
Commit 34397b75609c09c1723cd6c0b27f8f13c641ce4c by jh7370
Revert "build: make `LLVM_ENABLE_ZLIB` a tri-bool for users"
This reverts commit e6c7ed6d2164a0659fd9f6ee44f1375d301e3cad.
This commit was an attempt to fix the build bots, but it still left the
clang-x64-windows-msvc bot in a broken state.
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was modifiedllvm/cmake/config-ix.cmake
The file was modifiedllvm/CMakeLists.txt
Commit e406cca5f9a6477c9861717f81c156aa83feeaca by jh7370
Revert "build: reduce CMake handling for zlib"
This reverts commit 68a235d07f9e7049c7eb0c8091f37e385327ac28.
This commit broke the clang-x64-windows-msvc build bot and a follow-up
commit did not fix it. Reverting to fix the bot.
The file was modifiedlld/test/CMakeLists.txt
The file was modifiedlld/test/lit.site.cfg.py.in
The file was modifiedcompiler-rt/test/lit.common.configured.in
The file was modifiedllvm/unittests/Support/CompressionTest.cpp
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was modifiedllvm/include/llvm/Config/config.h.cmake
The file was modifiedllvm/test/lit.site.cfg.py.in
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedllvm/lib/Support/Compression.cpp
The file was modifiedclang/test/CMakeLists.txt
The file was modifiedclang/test/lit.site.cfg.py.in
The file was modifiedllvm/lib/Support/CRC.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedllvm/cmake/config-ix.cmake
Commit 3f7ead3369afb2d273e8556fca4a8a90c03c223f by thakis
[gn build] (manually) merge 24ab9b537e61b3
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
Commit 70342641b3c064b1cdf90d16902b937e7a21ecf2 by thakis
Revert "[gn build] (manually) merge 68a235d07f9e70"
This reverts commit 6ff6d32ebfec3150aa462cd31042b5719edb84da, because
68a235d07f9e70 was reverted in e406cca5f9.
The file was modifiedllvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/test/BUILD.gn
Commit a0334b3b9425f9896f25c359d9ffb3fcbd3c4c88 by sguelton
Add intrinsics_gen dependency on Bye example
This fixes build error introduced by commit
24ab9b537e61b3fe5e6a1019492ff6530d82a3ee
The file was modifiedllvm/examples/Bye/CMakeLists.txt
Commit 0d275431a3abc96fdee3e09afdc84e59df0e1d3b by sguelton
Add intrinsics_gen *dependency* on Bye example
The file was modifiedllvm/examples/Bye/CMakeLists.txt
Commit 437f9ec140b769c4603f2dbbe8fe03cefd6db28c by thakis
[gn build] (manually) merge 24ab9b537e61b3 more
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Support/BUILD.gn
The file was addedllvm/utils/gn/secondary/llvm/include/llvm/Support/write_extension_def.py
Commit 0ae9e952f73f97f2d4355f82a83770835dd835ea by jh7370
[test][llvm-dwarfdump][NFC] Improve test readability
This patch adds and improves comments in the debug_line_invalid.test and
its associated input file so that it is easier to follow. It uses '##'
to make comments stand out from lit and FileCheck commands.
It also reflows some commands so that the lines are not so long and are
easier to read and fixes some copy/paste errors.
Reviewed by: JDevlieghere
Differential Revision: https://reviews.llvm.org/D71752
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/Inputs/debug_line_malformed.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
Commit acc4ffbb4733ec716d6ca3ad4d1e4605b9a2bcea by sam.mccall
[clangd] Reorder FindTarget.h - group targetDecl() stuff and
findExplicitReferences(). NFC
The file was modifiedclang-tools-extra/clangd/FindTarget.h
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
Commit 19a71e358ec89788b25f531c5e4f943c95f53bfc by jh7370
[test][llvm-dwarfdump][NFC] Remove unused check
Reviewed by: JDevlieghere
Differential Revision: https://reviews.llvm.org/D71756
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
Commit 846bf1d43f90ea99b812cab10cd66d265bcb9c7a by thakis
fix doc grammar-o to cycle bots
The file was modifiedmlir/docs/Diagnostics.md
Commit 89d6c288ba5adb20d92142e9425f7ab79b8f159e by kevin.neal
[SystemZ] Use FNeg in s390x clang builtins
The s390x builtins are still using FSub instead of FNeg. Correct that.
The file was modifiedclang/test/CodeGen/builtins-systemz-vector2.c
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector2.c
The file was modifiedclang/test/CodeGen/builtins-systemz-vector.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector.c
Commit 3aeb741535235cb9cbfe2a84e50f52effed2d3ad by jh7370
[test][ELF] Verify debug line corruption messages are printed once
LLD warns if it encounters malformed debug data when parsing line
information for an undefined reference. We only want to warn once.
This patch adds additional checking to make sure the warnings are
printed only once, both for variables within the same program and
variables in later line programs.
Reviewed by: grimar, MaskRay
Differential Revision: https://reviews.llvm.org/D71759
The file was modifiedlld/test/ELF/Inputs/undef-bad-debug.s
The file was modifiedlld/test/ELF/undef.s
Commit b747607bec4f50b6b6259fe6aa38b9d9e870d84b by jyknight
update_test_checks: match CHECK-EMPTY lines for replacement.
In a8a89c77ea3c16b45763fca6940bbfd3bef7884f, the script started adding
CHECK-EMPTY lines, but the regex for which lines to replace was not
updated.
The file was modifiedllvm/utils/UpdateTestChecks/common.py
Commit 81ffe89735edc1cd7adb0d6b678df62892e59f74 by sidneym
Add TPREL relocation support to Hexagon
Differential Revision: https://reviews.llvm.org/D71069
The file was modifiedlld/ELF/Arch/Hexagon.cpp
The file was addedlld/test/ELF/hexagon-tls-le.s
The file was modifiedlld/ELF/InputSection.cpp
Commit 31210d1a3262e4240eb3ef72c62793e385b96456 by thakis
[gn build] (manually) merge 24ab9b537e61b3 yet more, to fix redef
warnings
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Support/write_extension_def.py
Commit a0d496d5b06b002161a2ad012738857a0a9660bb by asbirlea
[NewPassManager] Rename AM to OuterAM in the OuterAnalysisManagerProxy
[NFCI].
Provides clarity and consistency with the InnerAnalysisManagerProxy.
The file was modifiedllvm/include/llvm/IR/PassManager.h
Commit 87fb204e8f049a0f9d8a6db069c8730ddd800305 by maskray
[SelectionDAG] Simplify SelectionDAGBuilder::visitInlineAsm
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit 546c72a78b34966a17d37218d3a676d9eccf17f2 by Alexander.Richardson
[llvm-ranlib] Update expected error message check for Windows
On Windows hosts, the error message will be something like
`c:\src\llvm-project\out\gn\bin\llvm-ranlib.exe: error: Invalid option:
'--D'`. Due to the .exe after llvm-ranlib the existing CHECK lines do
not match. Fix this by ignoring the program name and starting the check
line at "error:".
The file was modifiedllvm/test/tools/llvm-ranlib/D-flag.test
Commit bd402fc3f3e832395b89dda4a9b8392c6b0dd6fa by jh7370
[DebugInfo][NFC] Use function_ref consistently in debug line parsing
This patch fixes an inconsistency where we were using std::function in
some places and function_ref in others to pass around the error handling
callback.
Reviewed by: MaskRay
Differential Revision: https://reviews.llvm.org/D71762
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
Commit 97864f4f3a12272752dd8adb0f10e675ade42205 by riverriddle
Fix some corner cases missed by D71955
* replaceAllUsesWith may be supplied with a null value.
* some compilers fail to implicitly convert single result operations to
OpaqueValue, so add an explicit OpOperand::set(Value) method.
The file was modifiedmlir/include/mlir/IR/UseDefLists.h
The file was modifiedmlir/lib/IR/Value.cpp
Commit 108daf76118e5b97696f58386d0b48d4b858ffad by saugustine
Check for aarch64 when not using .init_arrays
Reviewers: vvereschaka
Subscribers: kristof.beyls, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D72005
The file was modifiedcompiler-rt/lib/crt/crtbegin.c
Commit a81cb1b8bf580d6ab15d9ed6ff4f104eeedd3a1d by antiagainst
[mlir][spirv] Allow specifying availability on enum attribute cases
Lots of SPIR-V ops take enum attributes and certain enum cases need
extra capabilities or extensions to be available. This commit extends to
allow specifying availability spec on enum cases. Extra utility
functions are generated for the corresponding enum classes to return the
availability requirement. The availability interface implemention for a
SPIR-V op now goes over all enum attributes to collect the availability
requirements.
Reviewed By: mravishankar
Differential Revision: https://reviews.llvm.org/D71947
The file was modifiedmlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/CMakeLists.txt
The file was modifiedmlir/include/mlir/TableGen/Attribute.h
The file was modifiedmlir/test/Dialect/SPIRV/TestAvailability.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVTypes.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
The file was modifiedmlir/test/Dialect/SPIRV/availability.mlir
The file was modifiedmlir/lib/TableGen/Attribute.cpp
Commit ec3d8e61b527c6312f77a4dab095ffc34e954927 by aaron
Handle init statements in readability-else-after-return
Adds a new ASTMatcher condition called 'hasInitStatement()' that matches
if, switch and range-for statements with an initializer. Reworked
clang-tidy readability-else-after-return to handle variables in the if
condition or init statements in c++17 ifs. Also checks if removing the
else would affect object lifetimes in the else branch.
Fixes PR44364.
The file was modifiedclang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
The file was modifiedclang/docs/LibASTMatchersReference.html
The file was addedclang-tools-extra/test/clang-tidy/checkers/readability-else-after-return-no-warn.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.h
The file was modifiedclang/lib/ASTMatchers/Dynamic/Registry.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-else-after-return.cpp
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
Commit 7ab9acd8f414161b784b61a1633a7c241b82be85 by aaron
Fix trivial typos in comments; NFC
The file was modifiedclang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/LoopConvertUtils.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
The file was modifiedclang-tools-extra/docs/doxygen.cfg.in
The file was modifiedclang-tools-extra/clangd/CodeComplete.h
Commit 9d49e5c0876f7cf75ce0b5d8b3c8473300eb096a by thakis
Make mangled_names.test and update_cc_test_checks.py work with Python 2.
Differential Revision: https://reviews.llvm.org/D71565
The file was modifiedllvm/utils/update_cc_test_checks.py
The file was modifiedllvm/test/tools/UpdateTestChecks/lit.local.cfg
Commit 2140a973f272969b5391532f3c0b7c90aafd803b by ntv
    [mlir][Linalg] Extend generic ops to allow tensors
    Summary:
   This diff adds support to allow `linalg.generic` and
   `linalg.indexed_generic` to take tensor input and output
   arguments.
    The subset of output tensor operand types must appear
   verbatim in the result types after an arrow. The parser,
   printer and verifier are extended to accomodate this
   behavior.
    The Linalg operations now support variadic ranked tensor
   return values. This extension exhibited issues with the
   current handling of NativeCall in RewriterGen.cpp. As a
   consequence, an explicit cast to `SmallVector<Value, 4>`
   is added in the proper place to support the new behavior
   (better suggestions are welcome).
    Relevant cleanups and name uniformization are applied.
    Relevant invalid and roundtrip test are added.
    Reviewers: mehdi_amini, rriddle, jpienaar, antiagainst, ftynse
    Subscribers: burmako, shauheen, llvm-commits
    Tags: #llvm
    Differential Revision: https://reviews.llvm.org/D72022
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
The file was modifiedmlir/lib/Dialect/VectorOps/VectorTransforms.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/LinalgTransforms.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgTransforms.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/lib/DeclarativeTransforms/TestLinalgTransformPatterns.td
The file was modifiedmlir/tools/mlir-tblgen/RewriterGen.cpp
The file was modifiedmlir/include/mlir/Dialect/VectorOps/VectorTransforms.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was modifiedmlir/test/Dialect/Linalg/invalid.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/LinalgTransformPatterns.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgBase.td
Commit 838f53ed4db656d6689394a0f5a40f6abc019bf8 by maskray
[ELF][Hexagon][test] Use llvm-readobj to check relocations. NFC
Reviewed By: sidneym
Differential Revision: https://reviews.llvm.org/D72093
The file was modifiedlld/test/ELF/hexagon-tls-le.s
Commit 98856b22cdcd387b0b303b96e17deb45a5f59a7a by antiagainst
[mlir][spirv] Update SPIR-V enums and ops with availability spec
This commit updates gen_spirv_dialect.py to query the grammar and
generate availability spec for various enum attribute definitions and
all defined ops.
Reviewed By: mravishankar
Differential Revision: https://reviews.llvm.org/D72095
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBitOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVGroupOps.td
The file was modifiedmlir/test/Dialect/SPIRV/availability.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
The file was modifiedmlir/utils/spirv/gen_spirv_dialect.py
Commit aa17d31edb00c66461093b5a7cd2f4a35dc143e9 by craig.topper
[X86] Remove FP0-6 operands from call instructions in FPStackifier pass.
Only count defs as returns.
All FP0-6 operands should be removed by the FP stackifier. By removing
these we fix the machine verifier error in PR39437.
I've also made it so that only defs are counted for STReturns which
removes what I think were extra stack cleanup instructions.
And I've removed the regcall assert because it was checking the
attributes of the caller, but here we're concerned with the attributes
of the callee. But I don't know how to get that information from this
level.
The file was modifiedllvm/lib/Target/X86/X86FloatingPoint.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-regcall-NoMask.ll
Commit abb00753069554c538f3d850897373d093389945 by Saleem Abdulrasool
build: reduce CMake handling for zlib
Rather than handling zlib handling manually, use `find_package` from
CMake to find zlib properly. Use this to normalize the
`LLVM_ENABLE_ZLIB`,
`HAVE_ZLIB`, `HAVE_ZLIB_H`. Furthermore, require zlib if
`LLVM_ENABLE_ZLIB` is set to `YES`, which requires the distributor to
explicitly select whether zlib is enabled or not. This simplifies the
CMake handling and usage in the rest of the tooling.
This restores 68a235d07f9e7049c7eb0c8091f37e385327ac28,
e6c7ed6d2164a0659fd9f6ee44f1375d301e3cad.  The problem with the windows
bot is a need for clearing the cache.
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedllvm/unittests/Support/CompressionTest.cpp
The file was modifiedllvm/include/llvm/Config/config.h.cmake
The file was modifiedcompiler-rt/test/lit.common.configured.in
The file was modifiedlld/test/lit.site.cfg.py.in
The file was modifiedclang/test/CMakeLists.txt
The file was modifiedllvm/cmake/config-ix.cmake
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was modifiedlld/test/CMakeLists.txt
The file was modifiedllvm/test/lit.site.cfg.py.in
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedclang/test/lit.site.cfg.py.in
The file was modifiedllvm/CMakeLists.txt
The file was modifiedllvm/lib/Support/CRC.cpp
The file was modifiedllvm/lib/Support/Compression.cpp
Commit 94d4ca90040a5f55ee29f48043881437de56681e by thakis
Reland "[gn build] (manually) merge 68a235d07f9e70"
This reverts commit 70342641b3c064b1cdf90d16902b937e7a21ecf2.
68a235d relanded in abb00753069, so this relands the gn port of it.
The file was modifiedllvm/utils/gn/secondary/lld/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
Commit af340ae19f4bb109c63ca41663c97c45a39f512e by Saleem Abdulrasool
X86: remove unused variable
Remove the now unused-variable from
aa17d31edb00c66461093b5a7cd2f4a35dc143e9.  This breaks `-Werror` builds.
The file was modifiedllvm/lib/Target/X86/X86FloatingPoint.cpp
Commit 781b78a3610886e265f08d6de625bfe19e3dd8cf by nemanja.i.ibm
[PowerPC] Only legalize FNEARBYINT with unsafe fp math
Commit 0f0330a78709 legalized these nodes on PPC without consideration
of unsafe math which means that we get inexact exceptions raised for
nearbyint. Since this doesn't conform to the standard, switch this
legalization to depend on unsafe fp math.
The file was modifiedllvm/test/CodeGen/PowerPC/scalar-rounding-ops.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
Commit d45b394b3e67b9fcec497fe0a82d1895363e0e54 by dblaikie
Polly: Fix a tag type mismatch (struct/class)
The file was modifiedpolly/include/polly/RegisterPasses.h
Commit 3d83d8259c1b5c2f6a847158cf3c3482a4b032ee by jpienaar
[mlir] Remove redudant default cases
These provide no value and trigger -Wcovered-switch-default.
The file was modifiedmlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
Commit 6962eea2c3a232e9918c1a3a0e459023f2116cf2 by craig.topper
[X86] Move STRICT_ ISD nodes into the new section of X86ISelLowering.h
where STRICT nodes are collected after D71841
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
Commit 98a88c1beec5beff03aa416803c14ae8800322ad by jpienaar
[mlir] Add parenthesis to avoid -Wparentheses
The file was modifiedmlir/include/mlir/IR/UseDefLists.h
Commit f533fa3af5ef8e0805593f58eb15ddf307caf5fa by jpienaar
[mlir] Revert default case that was needed
This one isn't always complete.
The file was modifiedmlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
Commit 4bb4f5b1d9135cc1d3b804662a7b56fc84e075de by spatel
[InstCombine] add tests for vector icmp with undef constant elements;
NFC
The file was modifiedllvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-slt-to-icmp-sgt.ll
The file was modifiedllvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ult-to-icmp-ugt.ll
The file was modifiedllvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll
The file was modifiedllvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sgt-to-icmp-sgt.ll
The file was modifiedllvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ugt-to-icmp-ugt.ll
Commit 8f1caf518f374b452fdff22dcd56bcc12c900338 by jpienaar
[mlir] Only generate default for uncovered cases
Have to explicitly check if all cases are covered instead.
The file was modifiedmlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
Commit a2ca1c2d5668683b9a43cddf89131cc106591ee0 by Saleem Abdulrasool
build: disable zlib by default on Windows
zlib usage on Windows has caused issues in the past.  Furthermore, the
GNUWin32 library can be detected and used although the headers are not
available.  Require Windows to explicitly opt in.
The file was modifiedllvm/CMakeLists.txt
Commit 203182b7b65f1635c695419d60d2844ea08535dd by arsenm2
AMDGPU/GlobalISel: Regenerate check lines
This avoids diff noise in a future commit from the check name change
from the G_GEP->G_PTR_ADD rename.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant-32bit.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store.mir
Commit 086ac7e75c1027d0c68932ffee67e4d199c3d0ef by arsenm2
AMDGPU/GlobalISel: Correct MMO sizes in some tests
There intended to test non-extloads, but the memory size did not match
the result size.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
Commit 3ddfb04f41ac60529316f64ae5ab1a8ff1cce6e2 by Jonas Devlieghere
[lldb/CMake] Use PYTHON_LIBRARIES instead of PYTHON_LIBRARY
PYTHON_LIBRARIES is the canonical variable set by FindPythonLibs while
PYTHON_LIBRARY is an implementation detail. This replaces the uses of
the latter with the former.
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
The file was modifiedlldb/source/API/CMakeLists.txt
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
Commit 1fcc9b6ff8558efed0c1241c72f69d079baeecf8 by a.bataev
[OPENMP] Restore allowing of braced initializers in the declare
reduction     init.
Braced initializers were not accepted after the last fix in the
initialier.Restored previous functionality.
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/test/OpenMP/declare_reduction_messages.c
Commit 982695c0693fe576fb9daa34ecbf81808efdaa2f by paulsson
[SystemZ]  Create brcl 0,0 instead of brcl 0,3 in EmitNop for 6 bytes.
For consistency with GCC, the target label is moved to the brcl itself
instead of the next instruction.
Review: Ulrich Weigand
The file was modifiedllvm/test/CodeGen/SystemZ/mrecord-mcount-01.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/SystemZ/stackmap-nops.ll
Commit f38234ed8b579230a3742317ffd5fb95514d9638 by Jonas Devlieghere
[lldb/CMake] Fix variable naming in FindLibEdit
The current FOUND_VAR for FindLibEdit is libedit_FOUND but wasn't set by
find_package_handle_standard_args. However this isn't valid for the
package name.
  The argument for FOUND_VAR is "libedit_FOUND", but only
"LibEdit_FOUND" and
"LIBEDIT_FOUND" are valid names.
This fixes all the variables set by FindLibEdit to match the desired
naming scheme.
The file was modifiedlldb/cmake/modules/FindLibEdit.cmake
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
The file was modifiedlldb/source/Host/CMakeLists.txt
The file was modifiedlldb/source/Core/CMakeLists.txt
The file was modifiedlldb/source/Interpreter/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
Commit f83801fb2a4064d666cf8c17d716376a99e4a555 by Jonas Devlieghere
[lldb/CMake] Print whether an optional dependency was enabled.
Use a status message to convey whether an optional dependency was found
or not. With the auto-detection code it's not longer as simple as
checking the CMake cache.
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
Commit a58da1a2ff039dd3bb4c43db3919995cf4a74cc7 by a.bataev
[OPENMP50]Codegen for lastprivate conditional list items.
Added codegen support for lastprivate conditional. According to the
standard, if  when the conditional modifier appears on the clause, if an
assignment to a list item is encountered in the construct then the
original list item is assigned the value that is assigned to the new
list item in the sequentially last iteration or lexically last section
in which such an assignment is encountered. We look for the assignment
operations and check if the left side references lastprivate conditional
variable. Then the next code is emitted: if (last_iv_a <= iv) {
last_iv_a = iv;
last_a = lp_a;
}
At the end the implicit barrier is generated to wait for the end of all
threads and then in the check for the last iteration the private copy is
assigned the last value.
if (last_iter) {
lp_a = last_a; // <--- new code
a = lp_a;      // <--- store of private value to the original
variable.
}
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/lib/CodeGen/CGExprComplex.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/test/OpenMP/for_lastprivate_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/simd_codegen.cpp
Commit 0d9f919b73a62191492fa60792264b2f5966b7c6 by arsenm2
DAG: Use TargetConstant for FENCE operands
The file was modifiedllvm/lib/Target/AVR/AVRInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrAtomics.td
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td
The file was modifiedllvm/lib/Target/Sparc/SparcInstrInfo.td
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
Commit 25e7da0c2495182b7c0a8871eaca0cc459578dc1 by arsenm2
AMDGPU/GlobalISel: Remove manual G_FENCE selection
The tablegen emitter now handles the immediate operand correctly, so let
the generatedd matcher works.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit b153fbefa3d6d4ea73bb21252857d5a34cc6cabb by eugenis
Change dbg-*-tag-offset tests to use llvm-dwarfdump.
Reviewers: dblaikie
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72023
The file was modifiedllvm/test/CodeGen/AArch64/dbg-value-tag-offset.ll
The file was modifiedllvm/test/CodeGen/AArch64/dbg-declare-tag-offset.ll
Commit 1c45852c828dae0dd15136cda3d7fd6af0f75dc7 by eugenis
Add C source to two debug info tests.
Reviewers: dblaikie, jhenderson
Subscribers: aprantl, rupprecht, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72024
The file was modifiedllvm/test/tools/llvm-symbolizer/frame-loclist.s
The file was modifiedllvm/test/tools/llvm-symbolizer/frame-specification.s
Commit fd01d8626cdcce9f34caab060f8d3fd35f6661cc by riverriddle
[mlir] Rewrite the internal representation of OpResult to be optimized
for memory.
Summary: This changes the implementation of OpResult to have some of the
results be represented inline in Value, via a pointer int pair of
Operation*+result number, and the rest being trailing objects on the
main operation. The full details of the new representation is detailed
in the proposal here:
https://groups.google.com/a/tensorflow.org/g/mlir/c/XXzzKhqqF_0/m/v6bKb08WCgAJ
The only difference between here and the above proposal is that we only
steal 2-bits for the Value kind instead of 3. This means that we can
only fit 2-results inline instead of 6. This allows for other users to
steal the final bit for PointerUnion/etc. If necessary, we can always
steal this bit back in the future to save more space if 3-6 results are
common enough.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D72020
The file was modifiedmlir/lib/IR/OperationSupport.cpp
The file was modifiedmlir/include/mlir/IR/Operation.h
The file was modifiedmlir/include/mlir/IR/Value.h
The file was modifiedmlir/lib/IR/Operation.cpp
The file was modifiedmlir/test/lib/Transforms/TestInlining.cpp
The file was modifiedmlir/lib/IR/Value.cpp
The file was modifiedmlir/include/mlir/IR/OperationSupport.h
The file was modifiedmlir/include/mlir/Support/STLExtras.h
Commit 3e5eac035801abe81c6c9d7512f924e2f6de41b5 by eugenis
Fix llvm-symbolizer tests on Windows, one more time.
The file was modifiedllvm/test/tools/llvm-symbolizer/frame-specification.s
The file was modifiedllvm/test/tools/llvm-symbolizer/frame-loclist.s
Commit 355983103f008b094b5cdd26233eb0ed7113e7ec by Lang Hames
[lli] Add a filter to avoid importing the process's main symbol.
If JIT'd code fails to define a main function and we import the
process's definition then we will end up recursively calling lli's main
until we overflow the stack and crash. This filter fixes the issue by
ensuring that the process's main function is never imported. This
results in lli producing a much friendlier
"symbol not found" error when JIT'd code fails to define main.
The file was modifiedllvm/tools/lli/lli.cpp
Commit 783db7883562b8edd59bf35788057c02ddb7bdfb by rnk
[PDB] Print the most redundant type record indices with /summary
Summary: I used this information to motivate splitting up the
Intrinsic::ID enum
(5d986953c8b917bacfaa1f800fc1e242559f76be) and adding a key method to
clang::Sema (586f65d31f32ca6bc8cfdb8a4f61bee5057bf6c8) which saved a
fair amount of object file size.
Example output for clang.pdb:
  Top 10 types responsible for the most TPI input bytes:
        index     total bytes   count     size
       0x3890:      8,671,220 = 1,805 *  4,804
      0xE13BE:      5,634,720 =   252 * 22,360
      0x6874C:      5,181,600 =   408 * 12,700
       0x2A1F:      4,520,528 = 1,574 *  2,872
      0x64BFF:      4,024,020 =   469 *  8,580
       0x1123:      4,012,020 = 2,157 *  1,860
       0x6952:      3,753,792 =   912 *  4,116
       0xC16F:      3,630,888 =   633 *  5,736
       0x69DD:      3,601,160 =   985 *  3,656
       0x678D:      3,577,904 =   319 * 11,216
In this case, we can see that record 0x3890 is responsible for ~8MB of
total object file size for objects in clang.
The user can then use llvm-pdbutil to find out what the record is:
  $ llvm-pdbutil dump -types -type-index 0x3890
                      Types (TPI Stream)
============================================================
   Showing 1 records.
      0x3890 | LF_FIELDLIST [size = 4804]
               - LF_STMEMBER [name = `WORDTYPE_MAX`, type = 0x1001,
attrs = public]
               - LF_MEMBER [name = `U`, Type = 0x37F0, offset = 0, attrs
= private]
               - LF_MEMBER [name = `BitWidth`, Type = 0x0075 (unsigned),
offset = 8, attrs = private]
               - LF_METHOD [name = `APInt`, # overloads = 8, overload
list = 0x3805]
...
In this case, we can see that these are members of the APInt class,
which is emitted in 1805 object files.
The next largest type is ASTContext:
  $ llvm-pdbutil dump -types -type-index 0xE13BE bin/clang.pdb
     0xE13BE | LF_FIELDLIST [size = 22360]
               - LF_BCLASS
                 type = 0x653EA, offset = 0, attrs = public
               - LF_MEMBER [name = `Types`, Type = 0x653EB, offset = 8,
attrs = private]
               - LF_MEMBER [name = `ExtQualNodes`, Type = 0x653EC,
offset = 24, attrs = private]
               - LF_MEMBER [name = `ComplexTypes`, Type = 0x653ED,
offset = 48, attrs = private]
               - LF_MEMBER [name = `PointerTypes`, Type = 0x653EE,
offset = 72, attrs = private]
...
ASTContext only appears 252 times, but the list of members is long, and
must be repeated everywhere it is used.
This was the output before I split Intrinsic::ID:
  Top 10 types responsible for the most TPI input:
       0x686C:     69,823,920 = 1,070 * 65,256
       0x686D:     69,819,640 = 1,070 * 65,252
       0x686E:     69,819,640 = 1,070 * 65,252
       0x686B:     16,371,000 = 1,070 * 15,300
       ...
These records were all lists of intrinsic enums.
Reviewers: MaskRay, ruiu
Subscribers: mgrang, zturner, thakis, hans, akhuang, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71437
The file was modifiedllvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp
The file was modifiedlld/COFF/PDB.cpp
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h
The file was modifiedlld/test/COFF/pdb-type-server-simple.test
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/TypeRecordHelpers.h
Commit 479e9406c2edad616cd31b551c5bbf1c0a0f41ed by sd.fertile
[PowerPC][AIX] Enable sret arguments.
Removes the fatal error for sret arguments and adds lit testing.
Differential Revision: https://reviews.llvm.org/D71504
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-sret-param.ll
Commit b63bc648a489c0f4d78203ae44cc1e9a6f9bcada by phosek
[CMake] clang-scan-deps in Fuchsia distribution
We would like to use clang-scan-deps in Fuchsia build so include it in
the toolchain distribution.
Differential Revision: https://reviews.llvm.org/D72113
The file was modifiedclang/cmake/caches/Fuchsia-stage2.cmake
Commit 3620e5f28a4d2800fb6c325ec24b3d660e48b9ba by medismail.bennani
[lldb/Command] Add --force option for `watchpoint delete` command
Currently, there is no option to delete all the watchpoint without LLDB
asking for a confirmation. Besides making the watchpoint delete command
homogeneous with the breakpoint delete command, this option could also
become handy to trigger automated watchpoint deletion i.e. using
breakpoint actions.
rdar://42560586
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py
The file was modifiedlldb/source/Commands/CommandObjectWatchpoint.cpp
Commit 8580397f2e7d389940fbdd5575f26271df743aee by Jonas Devlieghere
[lldb/Python] Remove unused support file (NFC)
The file was removedlldb/packages/Python/lldbsuite/support/optional_with.py
Commit d265c8bf0d1e6eed3c97dfb96f98712e5adc8bf7 by Jonas Devlieghere
[lldb/Python] Remove unused imports (NFC)
The file was modifiedlldb/packages/Python/lldbsuite/support/funcutils.py
Commit 4117c8c0194cdf59e229f6826e0908eb3f2bcfc6 by medismail.bennani
Revert "[lldb/Command] Add --force option for `watchpoint delete`
command"
This reverts commit 3620e5f28a4d2800fb6c325ec24b3d660e48b9ba.
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py
The file was modifiedlldb/source/Commands/CommandObjectWatchpoint.cpp
The file was modifiedlldb/source/Commands/Options.td
Commit 9dc9e0ea64f507488b5ca9cd656311db94433201 by pengfei.wang
[X86] Optimization of inserting vxi1 sub vector into vXi1 vector
Summary: After bugfix the undef value case here, we used more operations
to implement inserting vxi1 sub vector into vXi1 vector, I optimize it
by use less operations.
The history information at https://reviews.llvm.org/D68311
Reviewers: craig.topper, LuoYuanke, yubing, annita.zhang, pengfei,
LiuChen3, RKSimon
Reviewed By: craig.topper
Subscribers: hiraditya, llvm-commits
Patch by Xiang Zhang (xiangzhangllvm)
Differential Revision: https://reviews.llvm.org/D71917
The file was modifiedllvm/test/CodeGen/X86/masked_store.ll
The file was modifiedllvm/test/CodeGen/X86/vec_smulo.ll
The file was modifiedllvm/test/CodeGen/X86/vec_umulo.ll
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-ext.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-insert-extract.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-calling-conv.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-mask-op.ll
Commit a51c61ea332f89dfbb9f3b3498c37b2efc99e13b by chmeeedalf
Run update_llc_test_checks against SPE tests.
This is in preparation for further tests which are better generated with
the script.  No functional change.
The file was modifiedllvm/test/CodeGen/PowerPC/spe.ll
Commit 2c4620ad57b888be7aa571bdde1126ce49878f26 by chmeeedalf
[PowerPC]: Fix predicate handling with SPE
SPE floating-point compare instructions only update the GT bit in the CR
field.  All predicates must therefore be reduced to GT/LE.
The file was modifiedllvm/test/CodeGen/PowerPC/spe.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
Commit 0da15ff318480f30bbc90b9e8ecb9bb9431c7fd3 by n54
[compiler-rt] [netbsd] Switch to syscall for ThreadSelfTlsTcb()
This change avoids using internal, namespaced per-CPU calls that are not
a stable interface to read the TSL base value.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
Commit 5fc02dc0a7b6df65832aca0b69d284b9ebabc4f2 by uenoku.tokotoko
Revert "[Attributor] AAValueConstantRange: Value range analysis using
constant range"
This reverts commit e9963034314edf49a12ea5e29f694d8f9f52734a.
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/solve-after-each-resolving-undefs-for-function.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/return-constant.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was removedllvm/test/Transforms/Attributor/lvi-for-ashr.ll
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll
The file was removedllvm/test/Transforms/Attributor/lvi-after-jumpthreading.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was removedllvm/test/Transforms/Attributor/range.ll
Commit a050327064c7606ac832e0e3e02b199e7adfd484 by tclin914
[mlir] NFC: Fix broken links in docs
Summary: This commit fixes missing links that are caused by the
repository movement.
Reviewers: Jim, rriddle, jpienaar
Reviewed By: Jim, rriddle, jpienaar
Subscribers: arpith-jacob, mehdi_amini, rriddle, jpienaar, burmako,
shauheen, antiagainst, nicolasvasilache, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72065
The file was modifiedmlir/docs/DefiningAttributesAndTypes.md
The file was modifiedmlir/docs/LangRef.md
The file was modifiedmlir/docs/OpDefinitions.md
The file was modifiedmlir/docs/DeclarativeRewrites.md
Commit 60333a531799c0d0db1c3995bc784d2b314920ff by pengfei.wang
[X86] Enable strict FP by default and remove option
-disable-strictnode-mutation. NFCI.
The file was modifiedllvm/test/CodeGen/X86/vec-strict-512.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-128.ll
The file was modifiedllvm/test/CodeGen/X86/fp128-libcalls-strict.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-fptoint-512.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-512-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-256-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/fp-strict-scalar-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-fptoint-256.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-round-128.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-128.ll
The file was modifiedllvm/test/CodeGen/X86/fp-strict-scalar-round.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-256.ll
The file was modifiedllvm/test/CodeGen/X86/fp-strict-scalar-inttofp.ll
The file was modifiedllvm/test/CodeGen/X86/fp-strict-scalar.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-128-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/fp-strict-scalar-fptoint.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vec-strict-fptoint-128.ll
The file was modifiedllvm/test/CodeGen/X86/fp128-cast-strict.ll
The file was modifiedllvm/test/CodeGen/X86/fp80-strict-scalar-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-512.ll
The file was modifiedllvm/test/CodeGen/X86/fp80-strict-scalar.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-256.ll
Commit 2133d3c5586b1a782e4d8e2a34c9f501499705cf by qshanz
[DAGCombine] Initialize the default operation action for
SIGN_EXTEND_INREG for vector type as 'expand' instead of 'legal'
For now, we didn't set the default operation action for
SIGN_EXTEND_INREG for vector type, which is 0 by default, that is legal.
However, most target didn't have native instructions to support this
opcode. It should be set as expand by default, as what we did for
ANY_EXTEND_VECTOR_INREG.
Differential Revision: https://reviews.llvm.org/D70000
The file was modifiedllvm/test/CodeGen/ARM/signext-inreg.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-sext.ll
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
The file was addedllvm/test/CodeGen/Hexagon/signext-inreg.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
Commit bd46e29742759dd0d57feb0f33affa9adc7d2fbf by craig.topper
[X86] Re-enable lowerUINT_TO_FP_vXi32 under fast-math by using an FSUB
instead of an FADD.
Summary: We previously disabled this under fast math due to aggressive
reassociation by the machine combiner. But I think we can work around
this by using a FSUB instead of FADD for the first operation.
This matches the similar algorithm we do for uint_to_fp i64->f64 in
TargetLowering::expandUINT_TO_FP. If reassociation hasn't been a problem
for that, hopefully its not a problem here.
Reviewers: RKSimon, spatel, scanon
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71968
The file was modifiedllvm/test/CodeGen/X86/vec_int_to_fp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/ftrunc.ll
The file was modifiedllvm/test/CodeGen/X86/vec_uint_to_fp.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/known-bits-vector.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-256.ll
The file was modifiedllvm/test/CodeGen/X86/vec_uint_to_fp-fastmath.ll
Commit abd707848bcd52d55e9c203f96a0a826ba56f26f by tclin914
[llvm-size] print a blank line between archieve members when using sysv
format
Summary: This patch is related to
https://bugs.llvm.org/show_bug.cgi?id=42967 and it fixes llvm-size's
sysv format output by adding a blank line between archieve members
Reviewers: jhenderson, Jim, MaskRay
Reviewed By: jhenderson, Jim, MaskRay
Subscribers: MaskRay, Jim, rupprecht, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71957
The file was modifiedllvm/test/tools/llvm-size/radix.test
The file was modifiedllvm/test/tools/llvm-size/archive.test
The file was modifiedllvm/tools/llvm-size/llvm-size.cpp
The file was modifiedllvm/test/tools/llvm-size/multiple-inputs.test
Commit b2eaac3e3e0a6177f16b3e5c2a4c7c6a85104ff5 by kadircet
[clangd] Replace shortenNamespace with getQualification
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71652
The file was modifiedclang-tools-extra/clangd/AST.h
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ASTTests.cpp
Commit 3186b18b998124a6b577f8274a10b7ee8b634c18 by craig.topper
[X86] Reorder X86any* PatFrags to put the strict node first so that
chain property will be inferred for the instruction by the tablegen
backend.
Also use X86any_vfpround instead of X86vfpround in some instruction
definitions so the strict version can be used to infer the chain
property.
Without these changes we don't propagate strict FP chain through isel
for some instructions.
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/lib/Target/X86/X86InstrFragmentsSIMD.td
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
Commit 8f6a67632a70b757e59067646226bcaacd9c5bd7 by sam.parker
[ARM][NFC] Move tail predication checks
Extract the tail predication validation checks out into their own
LowOverHeadLoop method.
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Commit 1711f886fd801581b6b5505cc165c977294d311a by Raphael Isemann
[lldb][NFC] Document TypeSystem and related Compiler* classes
The file was modifiedlldb/include/lldb/Symbol/CompilerDeclContext.h
The file was modifiedlldb/include/lldb/Symbol/CompilerType.h
The file was modifiedlldb/include/lldb/Symbol/CompilerDecl.h
The file was modifiedlldb/include/lldb/Symbol/TypeSystem.h
Commit 2e033244417c1b9947ee28795568bc33a1efe781 by Raphael Isemann
[lldb][NFC] Remove forward declaration for non-existent type
clang::Action and delete references to it
There is no clang::Action anymore so our forward decl for it and the
obsolete pointer in the ASTStructExtractor can both go (that code anyway
didn't do anything).
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp
The file was modifiedlldb/include/lldb/Core/ClangForward.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.h
Commit c0cbe3fbb7d6b3f197b05a47a2cc25ccb7977629 by lebedev.ri
[NFC][DAGCombine][X86][AArch64] Tests for 'A - (A & (B - 1))' pattern
(PR44448)
https://rise4fun.com/Alive/ZVdp
Name: ptr - (ptr & (alignment-1))  ->  ptr & (0 - alignment)
%mask = add i64 %alignment, -1
%bias = and i64 %ptr, %mask
%r = sub i64 %ptr, %bias
=>
%highbitmask = sub i64 0, %alignment
%r = and i64 %ptr, %highbitmask
The main motivational pattern involes pointer-typed values, so this
transform can't really be done in middle-end.
See
https://bugs.llvm.org/show_bug.cgi?id=44448
https://reviews.llvm.org/D71499
The file was addedllvm/test/CodeGen/X86/align-down.ll
The file was addedllvm/test/CodeGen/AArch64/align-down.ll
Commit 8dab0a4a7d691f2704f1079538e0ef29548db159 by lebedev.ri
[DAGCombine][X86][AArch64] 'A - (A & (B - 1))' -> 'A & (0 - B)' fold
(PR44448)
While we do manage to fold integer-typed IR in middle-end, we can't do
that for the main motivational case of pointers.
There is @llvm.ptrmask() intrinsic which may or may not be helpful, but
i'm not sure it is fully considered canonical yet, not everything is
fully aware of it likely.
https://rise4fun.com/Alive/ZVdp
Name: ptr - (ptr & (alignment-1))  ->  ptr & (0 - alignment)
%mask = add i64 %alignment, -1
%bias = and i64 %ptr, %mask
%r = sub i64 %ptr, %bias
=>
%highbitmask = sub i64 0, %alignment
%r = and i64 %ptr, %highbitmask
See
https://bugs.llvm.org/show_bug.cgi?id=44448
https://reviews.llvm.org/D71499
The file was modifiedllvm/test/CodeGen/X86/align-down.ll
The file was modifiedllvm/test/CodeGen/AArch64/align-down.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 91cbcbd9e501a37ce08f5a4d4060a90248c700d6 by jh7370
[test][llvm-dwarfdump] Add missing checks for table dumping
Some of the tables in debug_line_malformed.s were not being checked in
the NONFATAL checks in debug_line_invalid.test (only the warnings coming
from them were being checked). This made the test harder to follow.
Additionally, a later change will change the way the errors are handled
such that more of the line table will be printed. That will require
checks for these tables (or something equivalent) so that the difference
in behaviour can be observed. This patch adds checks for the three
tables that were missing checks.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D71753
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
Commit f6f0cb4fd1a1bddbee82c2c02f9aae5a0e8b821a by jh7370
[test][llvm-dwarfdump] Normalise contents and checks for line tables
The line tables in debug_line_malformed.s had contents that varied more
than was necessary for the testing, making it harder to follow what was
important. This patch normalises them so that they all share
more-or-less the same body. Additionally, it makes the testing for what
was printed more consistent, to show that the right parts of the line
table prologue and body are/are not parsed and printed.
Reviewed By: JDevlieghere
Differential Revision: https://reviews.llvm.org/D71755
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/Inputs/debug_line_malformed.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
Commit 7b4badf6f9ad93209d2c9dde60da25076d5c91c8 by jh7370
[test][llvm-dwarfdump] Use --implicit-check-not to simplify test checks
This removes the need to duplicate the LASTONLY check pattern and the
last part of the NONFATAL pattern in the modified test.
Reviewed By: MaskRay, JDevlieghere
Differential Revision: https://reviews.llvm.org/D71757
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
Commit 04f627f6b9aeda924a83e75d281ab27a546d3515 by ibiryukov
[Syntax] Build spanning SimpleDecalration for classes, structs, etc
When they are free-standing, e.g. `struct X;` or `struct X {};`.
Although this complicates the common case (of free-standing class
declarations), this ensures the less common case (e.g. `struct X {} a;`)
are handled uniformly and produce similar syntax trees.
The file was modifiedclang/lib/Tooling/Syntax/BuildTree.cpp
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp
Commit e456165f9fec9148566849f21bc4f7dda2fea034 by anastasia.stulova
[OpenCL] Add link to C++ for OpenCL documentation
Remove description of language mode from the language extensions and add
a link to pdf document.
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72076
The file was modifiedclang/docs/UsersManual.rst
The file was modifiedclang/docs/LanguageExtensions.rst
Commit 418cd8216b41f4c08e0e1b22feda381d9b2345da by jh7370
[DebugInfo] Remove redundant checks for past-the-end of prologue
The V5 directory and filename tables had checks in to make sure we
hadn't read past the end of the line table prologue. Since previous
changes to the data extractor class ensure we never read past the end,
these checks are now redundant, so this patch removes them.
There is still a check to show that the whole prologue remains within
the prologue length.
Reviewed By: JDevlieghere
Differential Revision: https://reviews.llvm.org/D71768
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
Commit cc6be118723851d08b27cd0e5c93bbc1b08d93fc by jh7370
[test][ELF] Use CHECK-NEXT to properly verify error messages
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D72092
The file was modifiedlld/test/ELF/undef.s
Commit b3d286776941aef765f8858d95f80808b528f2fa by antiagainst
[mlir][spirv] Fix shader ABI attribute prefix and add verification
This commit fixes shader ABI attributes to use `spv.` as the prefix so
that they match the dialect's namespace. This enables us to add
verification hooks in the SPIR-V dialect to verify them.
Reviewed By: mravishankar
Differential Revision: https://reviews.llvm.org/D72062
The file was addedmlir/test/Dialect/SPIRV/target-and-abi.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/TargetAndABI.cpp
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/abi-load-store.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVDialect.h
The file was modifiedmlir/test/Conversion/GPUToSPIRV/load-store.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/abi-simple.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/simple.mlir
Commit 07bc851b212556966c21ed6986fcbdfc65579852 by jay.foad
[TargetLowering] Remove comments referring to TLOF
These have been obsolete since about r221926, when
TargetLoweringObjectFile was completely moved from TargetLowering to
TargetMachine.
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
Commit 8382f8714539cf2aba0c194d789e7c2909608be2 by jay.foad
Fix typo "psuedo" in comments
The file was modifiedllvm/lib/CodeGen/InlineSpiller.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrTSX.td
The file was modifiedllvm/lib/Target/AVR/AVRInstrFormats.td
The file was modifiedllvm/lib/Target/ARC/ARCISelLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td
Commit 164058274364670c8b59055b4689ae7e1720268e by spatel
[InstCombine] replace undef elements in vector constant when doing icmp
folds (PR44383)
As shown in P44383: https://bugs.llvm.org/show_bug.cgi?id=44383
...we can't safely propagate a vector constant through this icmp fold if
that vector constant contains undefined elements.
We know that each defined element of the constant is safe though, so
find the first of those and replicate it into the formerly undef lanes.
Differential Revision: https://reviews.llvm.org/D72101
The file was modifiedllvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ugt-to-icmp-ugt.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll
The file was modifiedllvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ult-to-icmp-ugt.ll
The file was modifiedllvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-slt-to-icmp-sgt.ll
The file was modifiedllvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sgt-to-icmp-sgt.ll
Commit 369a919514403196dcff7b6bdfa0668dcc733fee by flo
Fix for a dangling point bug in DeadStoreElimination pass
The patch makes sure that the LastThrowing pointer does not point to any
instruction deleted by call to DeleteDeadInstruction.
While iterating through the instructions the pass maintains a pointer to
the lastThrowing Instruction. A call to deleteDeadInstruction deletes a
dead store and other instructions feeding the original dead instruction
which also become dead. The instruction pointed by the lastThrowing
pointer could also be deleted by the call to DeleteDeadInstruction and
thus it becomes a dangling pointer. Because of this, we see an error in
the next iteration.
In the patch, we maintain a list of throwing instructions encountered
previously and use the last non deleted throwing instruction from the
container.
Reviewers: fhahn, bcahoon, efriedma
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D65326
The file was addedllvm/test/Transforms/DeadStoreElimination/DeleteThrowableInst.ll
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
Commit 61aea827df6d394688064abbe56474908ebbbc99 by sguelton
Fix typo in compiler extension testing
s/CHECK-/CHECK
Differential Revision: https://reviews.llvm.org/D72130
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
Commit b2be259fa9875adab2584b19ac8197543499ab87 by sguelton
Fix compiler extension testing
Correctly declare example dependency. Pipe stderr through FileCheck.
Differential Revision: https://reviews.llvm.org/D72130
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedllvm/test/Feature/load_extension.ll
Commit dfadb74f2516067cf697c9958eb9f295bedd4eae by sguelton
Use llvm_canonicalize_cmake_booleans where intended
Differential Revision: https://reviews.llvm.org/D72130
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedllvm/test/lit.site.cfg.py.in
Commit 69cfbb460e86cb5275185731f24523c9daa7a493 by grubbymitts69
[ARM][NFC] Update MIR test
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/while.mir
Commit 1711be78f74064d563b165f20debd769929eca06 by lebedev.ri
[NFC][DAGCombine] Clarify comment for 'A - (A & (B - 1))' fold
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit e4de8db67eb7a2d64cba078c38f0fd25499013c1 by lebedev.ri
[NFC][DAGCombine][X86] Tests for 'A - (A & C)' pattern (PR44448)
Name: PR44448  ptr - (ptr & C) -> ptr & (~C)
%bias = and i32 %ptr, C
%r = sub i32 %ptr, %bias
=>
%r = and i32 %ptr, ~C
The main motivational pattern involes pointer-typed values, so this
transform can't really be done in middle-end.
See
https://bugs.llvm.org/show_bug.cgi?id=44448
https://reviews.llvm.org/D71499
The file was addedllvm/test/CodeGen/X86/align-down-const.ll
Commit 3d492d7503d197246115eb38e7b1b61143d0c99f by lebedev.ri
[DAGCombine][X86][Thumb2/LowOverheadLoops] `A - (A & C)` -> `A & (~C)`
fold (PR44448)
While we do manage to fold integer-typed IR in middle-end, we can't do
that for the main motivational case of pointers.
There is @llvm.ptrmask() intrinsic which may or may not be helpful, but
i'm not sure it is fully considered canonical yet, not everything is
fully aware of it likely.
Name: PR44448  ptr - (ptr & C) -> ptr & (~C)
%bias = and i32 %ptr, C
%r = sub i32 %ptr, %bias
=>
%r = and i32 %ptr, ~C
See
https://bugs.llvm.org/show_bug.cgi?id=44448
https://reviews.llvm.org/D71499
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-tail-data-types.ll
The file was modifiedllvm/test/CodeGen/X86/align-down-const.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/fast-fp-loops.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-float-loops.ll
Commit d09ac032ee0012d11ae9f9d717eaa6a10cc22a75 by lebedev.ri
[NFC][DAGCombine][X86] '~(X - 1)' pattern tests
The fold 'A - (A & (B - 1))' -> 'A & (0 - B)' added in
8dab0a4a7d691f2704f1079538e0ef29548db159 is too specific. It should just
be 'A - (A & B)' -> 'A & (~B)', but we currently fail to sink that '~'
into `(B - 1)`.
Name: ~(X - 1)  ->  (0 - X)
%o = add i32 %X, -1
%r = xor i32 %o, -1
=>
%r = sub i32 0, %X
https://rise4fun.com/Alive/rjU
The file was addedllvm/test/CodeGen/X86/not-of-dec.ll
Commit 86403c0ff8930e6d4d21d94baa7384e54620f4cf by lebedev.ri
[DAGCombiner] `~(add X, -1)` -> `neg X` fold
The fold 'A - (A & (B - 1))' -> 'A & (0 - B)' added in
8dab0a4a7d691f2704f1079538e0ef29548db159 is too specific. It should just
be 'A - (A & B)' -> 'A & (~B)', but we currently fail to sink that '~'
into `(B - 1)`.
Name: ~(X - 1)  ->  (0 - X)
%o = add i32 %X, -1
%r = xor i32 %o, -1
=>
%r = sub i32 0, %X
https://rise4fun.com/Alive/rjU
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/not-of-dec.ll
Commit df4119c1146997e9a9dcc7129658f561c7eeadb4 by lebedev.ri
[NFC][X86] Add BMI runlines to align-down.ll test
The file was modifiedllvm/test/CodeGen/X86/align-down.ll
Commit 473deaf34bc942f4ff50d4363e47ddcb510b56e0 by lebedev.ri
[NFC][X86][AArch64] Add 'A - (A & B)' pattern tests (PR44448)
The fold 'A - (A & (B - 1))' -> 'A & (0 - B)' added in
8dab0a4a7d691f2704f1079538e0ef29548db159 is too specific. It should just
be 'A - (A & B)' -> 'A & (~B)'
Name: X - (X & Y)  ->  X & (~Y)
%o = and i32 %X, %Y
%r = sub i32 %X, %o
=>
%n = xor i32 %Y, -1
%r = and i32 %X, %n
https://rise4fun.com/Alive/kOUl
See
https://bugs.llvm.org/show_bug.cgi?id=44448
https://reviews.llvm.org/D71499
The file was addedllvm/test/CodeGen/X86/sub-of-bias.ll
The file was addedllvm/test/CodeGen/AArch64/sub-of-bias.ll
Commit 0727e2b90c7b11d5c6be55919c443628d8e2bc6e by lebedev.ri
[DAGCombiner][X86][AArch64] Generalize `A-(A&B)`->`A&(~B)` fold
(PR44448)
The fold 'A - (A & (B - 1))' -> 'A & (0 - B)' added in
8dab0a4a7d691f2704f1079538e0ef29548db159 is too specific. It should/can
just be 'A - (A & B)' -> 'A & (~B)'
Even if we don't manage to fold `~` into B, we have likely formed `ANDN`
node. Also, this way there's less similar-but-duplicate folds.
Name: X - (X & Y)  ->  X & (~Y)
%o = and i32 %X, %Y
%r = sub i32 %X, %o
=>
%n = xor i32 %Y, -1
%r = and i32 %X, %n
https://rise4fun.com/Alive/kOUl
See
https://bugs.llvm.org/show_bug.cgi?id=44448
https://reviews.llvm.org/D71499
The file was modifiedllvm/test/CodeGen/AArch64/sub-of-bias.ll
The file was modifiedllvm/test/CodeGen/AArch64/align-down.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/align-down.ll
The file was modifiedllvm/test/CodeGen/X86/sub-of-bias.ll
Commit 53fc4840673539a560c7bdc6315416b1e7adcf5a by arsenm2
AMDGPU/GlobalISel: Fix off by one in operand index
This should be looking at the RHS of the add for a constant.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f16.ll
Commit b4b904e19bb356724b2c6aea0199ce05c6f15cdb by tyker
[Diagnostic] Fixed add ftabstop to -Wmisleading-indentation
Summary: this allow much better support of codebases like the linux
kernel that mix tabs and spaces.
-ftabstop=//Width// allow specifying how large tabs are considered to
be.
Reviewers: xbolva00, aaron.ballman, rsmith
Reviewed By: aaron.ballman
Subscribers: mstorsjo, cfe-commits, jyknight, riccibruno, rsmith,
nathanchance
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71037
The file was modifiedclang/test/Parser/warn-misleading-indentation.cpp
The file was modifiedclang/lib/Parse/ParseStmt.cpp
Commit a4b3588ba2c398f118a0b8e44412226b135656a1 by johannes
[Attributor][FIX] Return CHANGED once a pessimistic fixpoint is reached.
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 412a0101a99e5330d5bbe4954cd421af81d0dc64 by johannes
[Attributor][FIX] Do not derive nonnull and dereferenceable w/o access
An inbounds GEP results in poison if the value is not "inbounds", not in
UB. We accidentally derived nonnull and dereferenceable from these
inbounds GEPs even in the absence of accesses that would make the poison
to UB.
The file was modifiedllvm/test/Transforms/Attributor/nosync.ll
The file was modifiedllvm/test/Transforms/Attributor/nocapture-1.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll
The file was modifiedllvm/test/Transforms/Attributor/nonnull.ll
Commit c90681b681a7a45cf5bf515d1904e2015f7ed524 by johannes
[Attributor][FIX] Don't crash on ptr2int/int2ptr instructions
An integer isn't allowed in getAlignmentForValue so we need to stop at a
ptr2int instruction during exploration.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/align.ll
Commit 6b9ee2d6cd9fc3534bb9d7e1582c57f1857e411b by johannes
[Attributor][NFC] Unify the way we delete dead functions
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit d2d2fb19f7ea3b192247ca2d6995e66229366cec by johannes
[Attributor][FIX] Allow dead users of rewritten function
If we replace a function with a new one because we rewrite the
signature, dead users may still refer to the old version. With this
patch we reuse the code that deals with dead functions, which the old
versions are, to avoid problems.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was addedllvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
Commit 427ffa2cdbbc7337d903ba71823a7830fa92568d by kkwli0
[OpenMP] diagnose zero-length array section in the depend clause
The OpenMP specification disallows having zero-length array sections in
the depend clause (OpenMP 5.0 2.17.11).
Differential Revision: https://reviews.llvm.org/D71969
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_messages.cpp
The file was modifiedclang/test/OpenMP/task_depend_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_depend_messages.cpp
The file was modifiedclang/test/OpenMP/target_exit_data_depend_messages.cpp
The file was modifiedclang/test/OpenMP/target_depend_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_depend_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_depend_messages.cpp
The file was modifiedclang/test/OpenMP/target_enter_data_depend_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_depend_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_depend_messages.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/target_parallel_depend_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_depend_messages.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/OpenMP/target_simd_depend_messages.cpp
The file was modifiedclang/test/OpenMP/target_update_depend_messages.cpp
Commit ba3484c051b62a662c555200f4a03b2e8df8e094 by thakis
[clang-format/java] format multiple qualified annotations on one
declaration better
Before:
   class Foo {
     @CommandLineFlags
         .Add
         @Features.foo
         public void test() {}
   }
Now:
   class Foo {
       @Features.foo
       @CommandLineFlags.Add
       public void test() { }
   }
See also https://crbug.com/1034115
The file was modifiedclang/lib/Format/FormatToken.h
The file was modifiedclang/unittests/Format/FormatTestJava.cpp
Commit add743b4348095c0d2e407c7a2b8a87a5f8194b0 by a.bataev
[OPENMP]Fix crash on error message for declare reduction.
If the qualified reduction name is specified and not found, the compiler
may crash because of not specified parameter.
The file was modifiedclang/test/OpenMP/declare_reduction_messages.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
Commit f06f439fadf740ea9019f2eb7f26ff88198ed375 by sam.mccall
[clangd] targetDecl() returns only NamedDecls.
Summary: While it's perfectly reasonable for non-named decls such as
static_assert to resolve to themselves:
- nothing else ever resolves to them
- features based on references (hover, highlight, find refs etc) tend
  to be uninteresting where only trivial references are possible
- returning NamedDecl is a more convenient API (we cast to it in many
places)
- this aligns closer to findExplicitReferences/explicitReferenceTargets
This fixes a crash in explicitReferenceTargets: if the target is a
non-named decl then there's an invalid unchecked cast to NamedDecl.
In practice this means when hovering over e.g. a static_assert:
- before ac3f9e4842, we would show a (boring) hover card
- after ac3f9e4842, we would crash
- after this patch, we will show nothing
Reviewers: kadircet, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72163
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.h
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
Commit 04dbd449c290438ea3389a806ed3cff057b4b821 by maskray
[AArch64][test] Merge arm64-$i.ll Linux tests into $i.ll
Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D72061
The file was removedllvm/test/CodeGen/AArch64/arm64-extern-weak.ll
The file was removedllvm/test/CodeGen/AArch64/arm64-neon-compare-instructions.ll
The file was modifiedllvm/test/CodeGen/AArch64/code-model-large-abs.ll
The file was removedllvm/test/CodeGen/AArch64/arm64-complex-copy-noneon.ll
The file was modifiedllvm/test/CodeGen/AArch64/illegal-float-ops.ll
The file was removedllvm/test/CodeGen/AArch64/arm64-illegal-float-ops.ll
The file was removedllvm/test/CodeGen/AArch64/arm64-basic-pic.ll
The file was modifiedllvm/test/CodeGen/AArch64/basic-pic.ll
The file was removedllvm/test/CodeGen/AArch64/arm64-code-model-large-abs.ll
Commit b87a351182cd7883080fe0e82c803db71ff2ba91 by lebedev.ri
[NFC][InstCombine] '(X & (- Y)) - X' pattern tests (PR44448)
As discussed in https://bugs.llvm.org/show_bug.cgi?id=44448, we can
hoist negation out of the pattern.
The file was addedllvm/test/Transforms/InstCombine/hoist-negation-out-of-bias-calculation.ll
Commit cc0216bedb85642e085a53bf046966fc87dd8afc by lebedev.ri
[NFC][InstCombine] '(X & (- Y)) - X' -> '- (X & (Y - 1))' fold (PR44448)
Name: (X & (- Y)) - X  ->  - (X & (Y - 1))  (PR44448)
%negy = sub i8 0, %y
%unbiasedx = and i8 %negy, %x
%r = sub i8 %unbiasedx, %x
=>
%ymask = add i8 %y, -1
%xmasked = and i8 %ymask, %x
%r = sub i8 0, %xmasked
https://rise4fun.com/Alive/OIpla
This decreases use count of %x, may allow us to later hoist said
negation even further, and results in marginally nicer X86 codegen.
See
https://bugs.llvm.org/show_bug.cgi?id=44448
https://reviews.llvm.org/D71499
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
The file was modifiedllvm/test/Transforms/InstCombine/hoist-negation-out-of-bias-calculation.ll
Commit c75aac42a635bf710e818487592ea3bc5d7ef9b1 by Jonas Devlieghere
[DWARF] Don't assume optional always has a value.
When getting the file name form the line table prologue we assume that a
valid string form value can always be extracted as a string. If you look
at the implementation of DWARFormValue this is not necessarily true. I
hit this assertion from LLDB when I create a "dummy" DWARFContext that
was missing the string section.
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
Commit a932f033a349e8a1c5eedba6e7ed23bd9527355d by ntv
[mlir][Vector] NFC - Add documentation for the VectorOps dialect.
The file was modifiedmlir/docs/Dialects/Vector.md
Commit 14ee51581af016b868e5425ec4d77c2f205634b4 by ntv
[mlir][linalg] Lower linalg to affine loops
Reviewers: nicolasvasilache
Reviewed By: nicolasvasilache
Subscribers: mgester, lucyrfox, merge_guards_bot, AlexEichenberger,
mravishankar, ftynse, mehdi_amini, rriddle, jpienaar, burmako, shauheen,
antiagainst, nicolasvasilache, arpith-jacob, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72094
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was addedmlir/test/Dialect/Linalg/affine.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
Commit 9b750cc6ba2cbee1cff5b09f8444ce8a9a137a54 by lebedev.ri
[NFC][InstCombine] Autogenerate and2.ll checklines
The file was modifiedllvm/test/Transforms/InstCombine/and2.ll
Commit 6f922dbbeae7b647dfd548c4d74f384ca9c252da by lebedev.ri
[NFC][InstCombine] '(Op1 & С) - Op1' pattern tests (PR44427)
The file was addedllvm/test/Transforms/InstCombine/hoist-negation-out-of-bias-calculation-with-constant.ll
Commit 7973aa05f6f987bb4746db2bcbb34e7fa0ce8897 by lebedev.ri
[NFC][InstCombine] '(Op1 & С) - Op1' -> '-(Op1 & ~C)' fold (PR44427)
This decreases use count of Op1, potentially allows us to further hoist
said 'neg' later on, and results in marginally better X86 codegen.
Name: (Op1 & С) - Op1 -> -(Op1 & ~C)
%o = and i64 %Op1, C1
%r = sub i64 %o, %Op1
=>
%n = and i64 %Op1, ~C1
%r = sub i64 0, %n
https://rise4fun.com/Alive/rwgA
https://godbolt.org/z/R_RMfM
https://bugs.llvm.org/show_bug.cgi?id=44427
The file was modifiedllvm/test/Transforms/InstCombine/and2.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
The file was modifiedllvm/test/Transforms/InstCombine/hoist-negation-out-of-bias-calculation-with-constant.ll
Commit e5a56f2d50ce1939eba4fddbeb9c8e032db4fc95 by aaron
Remove outdated svn/git information from hacking page
The patch files section is redundant to
https://llvm.org/docs/GettingStarted.html. There is nothing clang
specific here. We are talking about a monorepo after all. While it may
seem nice to have one single clang page which explains everything, it's
not: It doesn't cover the topics in sufficient depth, it's redundant to
other pages and it's hard to keep it up to date as we see with the svn
instructions.
The file was modifiedclang/www/hacking.html
Commit 9c2b72821be64db7795dd18586c2ae7edb905c21 by rnk
Move tail call disabling code to target independent code
When the "disable-tail-calls" attribute was added, checks were added for
it in various backends. Now this code has proliferated, and it is
something the target is responsible for checking. Move that
responsibility back to the ISels (fast, global, and SD).
There's no major functionality change, except for targets that never
implemented this check.
This LLVM attribute was originally added in
d9699bc7bdf0362173fcd256690f61a4d47429c2 (2015).
Reviewers: echristo, MaskRay
Differential Revision: https://reviews.llvm.org/D72118
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/tail-call.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/tail-calls.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/CallLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FastISel.cpp
Commit aaaf6c456093101aea50be740ce1598174e6e5aa by ntv
[mlir][Linalg] NFC - Hotfix GenericLoopNestBuilder compilation error
(-fpermissive)
This should fix the error:
``` mlir/include/mlir/Dialect/Linalg/Utils/Utils.h:72:3: error:   from
definition of 'template<class LoopTy>
mlir::edsc::GenericLoopNestRangeBuilder<LoopTy>::GenericLoopNestRangeBuilder(llvm::ArrayRef<mlir::edsc::ValueHandle*>,
llvm::ArrayRef<mlir::Value>)' [-fpermissive]
  GenericLoopNestRangeBuilder(ArrayRef<edsc::ValueHandle *> ivs,
```
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
Commit cf48101200ee192dd82e6ed0512ae42e7b3162a9 by development
[clang-tidy] implement utility-function to add 'const' to variables
Summary: This patch extends the already existing facility to add 'const'
to variables to be more flexible and correct. The previous version did
not consider pointers as value AND pointee. For future automatic
introduction for const-correctness this shortcoming needs to be fixed.
It always allows configuration where the 'const' token is inserted,
either on the left side (if possible) or the right side. It adds many
unit-tests to the utility-function that did not exist before, as the
function was implicitly tested through clang-tidy checks. These tests
were not changed, as the API is still compatible.
Reviewers: aaron.ballman, hokein, alexfh, shuaiwang, lebedev.ri
Reviewed By: aaron.ballman
Subscribers: jdoerfert, mgorny, xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D54395
The file was modifiedclang-tools-extra/clang-tidy/utils/LexerUtils.cpp
The file was modifiedclang-tools-extra/unittests/clang-tidy/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
The file was addedclang-tools-extra/unittests/clang-tidy/AddConstTest.cpp
The file was modifiedclang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
The file was modifiedclang-tools-extra/clang-tidy/performance/ForRangeCopyCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/FixItHintUtils.h
The file was modifiedclang-tools-extra/clang-tidy/utils/LexerUtils.h
The file was modifiedclang-tools-extra/clang-tidy/utils/FixItHintUtils.cpp
Commit 2875cc6b290cef6ec355a896f1d03ddfaa05e1f4 by craig.topper
[X86] Improve for v2i32->v2f64 uint_to_fp
This uses an alternative implementation of this conversion derived from
our v2i32->v2f32 handling. We can zero extend the v2i32 to v2i64, or it
with the bit representation of 2.0^52 which will give us 2.0^52 plus the
32-bit integer since double's mantissa is 52 bits. Then we just need to
subtract 2.0^52 as a double and let the floating point unit normalize
the remaining bits into a valid double.
This is less instructions then our previous code, but does require a
port 5 shuffle for the zero extend or unpack.
Differential Revision: https://reviews.llvm.org/D71945
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-128.ll
The file was modifiedllvm/test/CodeGen/X86/vec_int_to_fp.ll
Commit 264637f0b875a5fa11df00e9a107b520db5b75b6 by llvmgnsyncbot
[gn build] Port cf48101200e
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/unittests/clang-tidy/BUILD.gn
Commit 32ccafd0f253a9c2a3e99d4a6accfdb50263fcec by spatel
[x86] add test for miscompile in XformToShuffleWithZero(); NFC
The file was modifiedllvm/test/CodeGen/X86/combine-and.ll
Commit 7cdc60c3db1ed96f3d976ad913709c6c83776f3b by craig.topper
[LegalizeVectorOps] Pass the post-UpdateNodeOperands version of Op to
ExpandLoad/ExpandStore
UpdateNodeOperands might CSE to another existing node. So we should make
sure we're legalizing that node otherwise we might fail to hook up the
operands properly. I've moved the result registration up to the caller
to avoid having to pass both Result and Op into the functions where it
might be confusing which is which.
This address 2 other issues pointed out in D71861.
Differential Revision: https://reviews.llvm.org/D72021
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
Commit ca7fdd41bda02a24c401ecf75d306cea93c27fb5 by spatel
[DAGCombiner] fix miscompile in translating (X & undef) to shuffle
See PR42982 for more context:
https://bugs.llvm.org/show_bug.cgi?id=42982
The file was modifiedllvm/test/CodeGen/X86/combine-and.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 1570084d334311907c70c9179c19af8541524fff by antiagainst
[mlir][spirv] Fix ADDITIONAL_HEADER_DIRS for SPIR-V libraries
SPIRV/ headers live under mlir/Dialect/.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D72141
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/SPIRV/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/CMakeLists.txt
Commit 447dafdfc9b19acc88ba771ecac6a6ca89836579 by ntv
[mlir][Linalg] NFC - Hotfix GenericLoopNestBuilder compilation error on
older gcc (-fpermissive)
This fixes the error:
```
mlir/include/mlir/Dialect/Linalg/Utils/Utils.h:72:3: error:   from
definition of 'template<class LoopTy>
mlir::edsc::GenericLoopNestRangeBuilder<LoopTy>::GenericLoopNestRangeBuilder(llvm::ArrayRef<mlir::edsc::ValueHandle*>,
llvm::ArrayRef<mlir::Value>)' [-fpermissive]
   GenericLoopNestRangeBuilder(ArrayRef<edsc::ValueHandle *> ivs,
```
This was tested independently on a Docker image with gcc-5 by jpienaar@
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
Commit 786f51dca0149f98a21e5b65ff1f80e5af83a402 by ntv
[mlir][Linalg] NFC - Post-commit format fix
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
Commit 5d5d5838ce07a62c1c98c8a4e82270aa927dfc10 by antiagainst
[mlir] Enhance classof() checks in StructsGen
Previously we only check that each field is of the correct
mlir::Attribute subclass. This commit enhances to also consider the
attribute's types, by leveraging the constraints already encoded in
TableGen attribute definitions.
Reviewed By: rsuderman
Differential Revision: https://reviews.llvm.org/D72162
The file was modifiedmlir/tools/mlir-tblgen/StructsGen.cpp
The file was modifiedmlir/unittests/TableGen/structs.td
The file was modifiedmlir/unittests/TableGen/StructsGenTest.cpp
Commit 92ff017a857b085c8b729a744b4265b3f7a6a1d4 by arsenm2
AMDGPU: Only allow regs for s_movrel_{b32|b64}
This would incorrectly allowing folding immediates. These currently
aren't selectable, but will be from GlobalISel soon.
The file was modifiedllvm/lib/Target/AMDGPU/SOPInstructions.td
Commit 9861a8538c05ad154528618e7513604660a5fc89 by arsenm2
AMDGPU/GlobalISel: Add new utils file
There are some things that are shareable between the legalizer,
regbankselect, and the selector that don't have an obvious place to go.
The file was modifiedllvm/lib/Target/AMDGPU/CMakeLists.txt
The file was addedllvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.h
The file was addedllvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit 089e1ee1723f693eca54074225d4867297b1f2a2 by arsenm2
AMDGPU: Add gfx9 run lines to a testcase
The file was modifiedllvm/test/CodeGen/AMDGPU/movreld-bug.ll
Commit c0f1eac008e61e8345e3f41347cfd191e4ecb215 by paulsson
[SystemZ]  Don't allow CL option -mpacked-stack with -mbackchain.
-mpacked-stack is currently not supported with -mbackchain, so this
should result in a compilation error message instead of being silently
ignored.
Review: Ulrich Weigand
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
The file was addedclang/test/Driver/mbackchain.c
The file was modifiedclang/include/clang/Driver/Options.td
Commit a308cc6b829055274ec1104fc12bb7a692ae8b8c by llvmgnsyncbot
[gn build] Port 9861a8538c0
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
Commit c7191d3acddb997b093087e2be34c96ababbc427 by Stefan Gränitz
[NFC][ORC] Fix typos and whitespaces in comments
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcABISupport.h
Commit 05ebaa62e0db67d7a04d47b2f50eb2faa8597cc8 by development
[clang-tidy] fix broken linking for AddConstTest with adding clangSema
as dependency (DeclSpec)
The file was modifiedclang-tools-extra/unittests/clang-tidy/CMakeLists.txt
Commit fed2a5033af564af390faa8f8438018fe747126a by development
[clang-tidy] quickfix: add -fno-delayed-template-parsing as default
argument for runCheckOnCode unit-tests to unbreak windows
The file was modifiedclang-tools-extra/unittests/clang-tidy/ClangTidyTest.h
Commit 3566c75ca82ff4a0bb3e9e906a6c63f6022b03ae by michael.hliao
[amdgpu] Skip non-instruction values in CF user tracing.
Summary:
- CF users won't be non-instruction values. Skip them to save the
compilation time. It's especially true when there are multiple
functions in that module, where, says, a constant may be used in most
functions. The current CF user tracing adds significant overhead.
Reviewers: alex-t, rampitec
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72174
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit 555fc92a85914c2bcccbc01886039284c4f9db57 by aykevanlaethem
[bindings/go] Add Subprogram method
This method allows getting the subprogram metadata object from a
function value.
Differential Revision: https://reviews.llvm.org/D71528
The file was modifiedllvm/bindings/go/llvm/dibuilder.go
Commit 21309eafdebaa0041a83a026ae011e305b2f52a0 by arsenm2
GlobalISel: Add type argument to getRegBankFromRegClass
AMDGPU can't unambiguously go back from the selected instruction
register class to the register bank without knowing if this was used in
a boolean context.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86RegisterBankInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.h
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterBankInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMRegisterBankInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86RegisterBankInfo.h
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
The file was modifiedllvm/lib/Target/ARM/ARMRegisterBankInfo.cpp
Commit 0d9ca98c1a4676837e6e1f4ea9d9d1dea789b88c by riverriddle
[mlir] Fix indexed_accessor_range to properly forward the derived class.
Summary: This fixes the return value of helper methods on the base range
class.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D72127
The file was addedmlir/unittests/Support/IndexedAccessorTest.cpp
The file was modifiedmlir/include/mlir/IR/OperationSupport.h
The file was modifiedmlir/unittests/CMakeLists.txt
The file was modifiedmlir/include/mlir/Support/STLExtras.h
The file was addedmlir/unittests/Support/CMakeLists.txt
The file was modifiedmlir/lib/IR/OperationSupport.cpp
Commit e19188af0a2690f222db7d8b866be0afef7b3da0 by alexandre.ganea
[mlir] Compilation fix: use LLVM_ATTRIBUTE_UNUSED following
6656e961c08393c3949412ef945ade0272b66fca
Differential Revision: https://reviews.llvm.org/D72124
The file was modifiedmlir/tools/mlir-tblgen/RewriterGen.cpp
Commit 48ee04033cce2e085fd8909c6ebaa0de68ab65d0 by development
[clang-tidy] fix linkage with clangSema for FixitHintUtils, undo
previous wrong fix
The file was modifiedclang-tools-extra/clang-tidy/utils/CMakeLists.txt
The file was modifiedclang-tools-extra/unittests/clang-tidy/CMakeLists.txt
Commit 6e6b6a5754514a137729ce1a5e389db5f516c964 by Jonas Devlieghere
[lldb/Docs] Include how to generate the man page
The file was modifiedlldb/docs/resources/build.rst
Commit 1dbc48645776ee86fed329c10e8fb00c0c79dee6 by daniel_l_sanders
[globalisel] Fix another mismatch between %d and the RuleID type
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
Commit 1d7990228f0708bf48beef6a14d450c2e6d13557 by Jinsong Ji
[PowerPC][LoopVectorize] Add tests for fp128 and fp16
Add two tests to reg-usage.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/PowerPC/reg-usage.ll
Commit 320b43c39f0eb636c84815ce463893b21befdc8f by Jonas Devlieghere
[lldb/Docs] Include the man page on the website
The file was modifiedlldb/docs/index.rst
Commit d2b19d455de22fe3c8aa192320e1ff9a4eb1a365 by Jonas Devlieghere
[lldb/Utility] YAML validation should be orthogonal to packet semantics.
It's not up to YAML to validate the semantics of the GDB remote packet
struct. This is especially wrong here as there's nothing that says that
the amount of bytes transmitted  matches the packet payload size.
The file was modifiedlldb/source/Utility/GDBRemote.cpp
Commit 4aa7fb77527bee74e93e7cd8242f016c0f229236 by Stanislav.Mekhanoshin
[AMDGPU] Revert scheduling to reduce spilling
We can revert region schedule if new schedule decreases occupancy.
However, if we already have only one wave we would accept any new
schedule even if it blows up register pressure. Such schedule may result
in quite heavy spilling which can be avoided if we reject this new
schedule.
Differential Revision: https://reviews.llvm.org/D72181
The file was modifiedllvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
Commit 0458e63d28a6685dae3d17cc210ef838be533612 by xazax
[fuchsia] Enable Clang Static Analyzer
Differential Revision: https://reviews.llvm.org/D72188
The file was modifiedclang/cmake/caches/Fuchsia.cmake
The file was modifiedclang/cmake/caches/Fuchsia-stage2.cmake
Commit 7d82d20f37f0873a07d74c97a081ee6a4c16bdc8 by laurenzo
Add missing mlir-headers target and add tablegen'd deps to it.
Summary: Prior to this, "ninja install-mlir-headers" failed with an
error indicating the missing target. Verified that from a clean build,
the installed headers include generated files.
Subscribers: mgorny, mehdi_amini, rriddle, jpienaar, burmako, shauheen,
antiagainst, nicolasvasilache, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72045
The file was modifiedmlir/CMakeLists.txt
Commit 64f1bb5cd2c6d69af7c74ec68840029603560238 by daniel_l_sanders
[gicombiner] Add GIMatchTree and use it for the code generation
Summary: GIMatchTree's job is to build a decision tree by zipping all
the GIMatchDag's together.
Each DAG is added to the tree builder as a leaf and partitioners are
used to subdivide each node until there are no more partitioners to
apply. At this point, the code generator is responsible for testing any
untested predicates and following any unvisited traversals (there
shouldn't be any of the latter as the getVRegDef partitioner handles
them all).
Note that the leaves don't always fit into partitions cleanly and the
partitions may overlap as a result. This is resolved by cloning the leaf
into every partition it belongs to. One example of this is a rule that
can match one of N opcodes. The leaf for this rule would end up in N
partitions when processed by the opcode partitioner. A similar example
is the getVRegDef partitioner where having rules (add $a, $b), and (add
($a, $b), $c) will result in the former being in the partition for
successfully following the vreg-def and failing to do so as it doesn't
care which happens.
Depends on D69151
Reviewers: bogner, volkan
Reviewed By: volkan
Subscribers: lkail, mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69152
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDag.h
The file was modifiedllvm/utils/TableGen/GlobalISel/CMakeLists.txt
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchTree.h
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicate.h
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagInstr.h
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagEdge.h
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicate.cpp
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicateDependencyEdge.cpp
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was addedllvm/test/TableGen/GICombinerEmitter/match-tree.td
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagEdge.cpp
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
Commit a61a6323dd158b24dc2c84915445c9d5704164cb by llvmgnsyncbot
[gn build] Port 64f1bb5cd2c
The file was modifiedllvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn
Commit c4766cadcb38172c2843d65559060e0ae623b6eb by tyker
[Diagnostic] Add test for previous
b4b904e19bb356724b2c6aea0199ce05c6f15cdb
The file was addedclang/test/Parser/warn-misleading-indentation-fix.cpp
Commit 77d4b5f5feff663e70b347516cc4c77fa5cd2a20 by daniel_l_sanders
[gicombiner] Correct 64f1bb5cd2c to account for MSVC's %p format
The file was modifiedllvm/test/TableGen/GICombinerEmitter/match-tree.td
Commit 6c87623615b3befdf62e3a5cd6c408a698f1c2d9 by ditaliano
[UserExpression] Clean up `return` after `else`.
The file was modifiedlldb/source/Expression/UserExpression.cpp
Commit c8ab40ca0e760b50cc789b7a9d2de8d9eeebd261 by francisvm
[Remarks] Warn if a remark file is not found when processing static
archives
Static archives contain object files which contain sections pointing to
external remark files.
When static archives are shipped without the remark files, dsymutil
shouldn't generate an error.
Instead, generate a warning to inform the user that remarks for that
library won't be available in the .dSYM.
The file was modifiedllvm/test/tools/dsymutil/Inputs/basic1.c
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/basic.macho.remarks.archive.x86_64
The file was modifiedllvm/include/llvm/Support/Error.h
The file was addedllvm/test/tools/dsymutil/Inputs/remarks/libbasic.a
The file was addedllvm/test/tools/dsymutil/X86/remarks-linking-archive.text
The file was modifiedllvm/tools/dsymutil/DwarfLinker.cpp
Commit 05a4cf26365f10ae0cb2ad76f2babfb5ed929fdc by craig.topper
[X86] Autogenerate complete checks. NFC
The file was modifiedllvm/test/CodeGen/X86/vec-strict-256-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-128-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-512-cmp.ll
Commit df71f92fbb7c96cfd36d247ae6fb6929cb9bce35 by medismail.bennani
[lldb/Command] Add --force option for `watchpoint delete` command
Currently, there is no option to delete all the watchpoint without LLDB
asking for a confirmation. Besides making the watchpoint delete command
homogeneous with the breakpoint delete command, this option could also
become handy to trigger automated watchpoint deletion i.e. using
breakpoint actions.
rdar://42560586
Differential Revision: https://reviews.llvm.org/D72096
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/Commands/CommandObjectWatchpoint.cpp
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py
Commit 5d304d68dd5f3a7ebd8b2d700761d6bb2de64af8 by daniel_l_sanders
Revert "[gicombiner] Add GIMatchTree and use it for the code generation"
All the windows bots are failing match-tree.td and there's no obvious
cause that I can see. It's not just the %p formatting problem. My best
guess is that there's an ordering issue too but I'll need further
information to figure that out. Revert while I'm investigating.
This reverts commit 64f1bb5cd2c6d69af7c74ec68840029603560238 and
77d4b5f5feff663e70b347516cc4c77fa5cd2a20
The file was removedllvm/test/TableGen/GICombinerEmitter/match-tree.td
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicate.cpp
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagEdge.h
The file was removedllvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicateDependencyEdge.cpp
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDag.h
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagEdge.cpp
The file was removedllvm/utils/TableGen/GlobalISel/GIMatchTree.h
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagInstr.h
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicate.h
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/utils/TableGen/GlobalISel/CMakeLists.txt
Commit 0f1e7993e9bd8c9d80d8adddfc59aeae10d9fad3 by llvmgnsyncbot
[gn build] Port 5d304d68dd5
The file was modifiedllvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn
Commit ed5fe64581f4f076c00d5e57caff1ff746d57c79 by kkwli0
[OpenMP] NFC: Fix trivial typos in comments
Submitted by: kiszk
Differential Revision: https://reviews.llvm.org/D72171
The file was modifiedopenmp/runtime/src/kmp.h
The file was modifiedopenmp/runtime/test/tasking/omp_taskloop_grainsize.c
The file was modifiedopenmp/runtime/src/kmp_runtime.cpp
The file was modifiedopenmp/runtime/src/kmp_atomic.cpp
The file was modifiedopenmp/runtime/test/worksharing/for/omp_for_schedule_static_3.c
The file was modifiedopenmp/runtime/tools/lib/Uname.pm
The file was modifiedopenmp/CMakeLists.txt
The file was modifiedopenmp/runtime/test/worksharing/for/omp_for_bigbounds.c
The file was modifiedopenmp/runtime/tools/lib/Platform.pm
The file was modifiedopenmp/runtime/src/kmp_tasking.cpp
The file was modifiedopenmp/runtime/test/worksharing/for/omp_for_schedule_dynamic.c
The file was modifiedopenmp/runtime/src/i18n/en_US.txt
The file was modifiedopenmp/runtime/CMakeLists.txt
The file was modifiedopenmp/runtime/test/tasking/omp_taskloop_num_tasks.c
The file was modifiedopenmp/runtime/src/kmp_ftn_entry.h
The file was modifiedopenmp/runtime/src/kmp_gsupport.cpp
The file was modifiedopenmp/runtime/src/kmp_alloc.cpp
The file was modifiedopenmp/runtime/src/kmp_affinity.cpp
The file was modifiedopenmp/runtime/src/z_Linux_util.cpp
The file was modifiedopenmp/runtime/tools/lib/tools.pm
The file was modifiedopenmp/runtime/src/z_Windows_NT_util.cpp
The file was modifiedopenmp/runtime/test/ompt/callback.h
The file was modifiedopenmp/runtime/src/kmp_dispatch_hier.h
The file was modifiedopenmp/runtime/src/kmp_itt.inl
The file was modifiedopenmp/runtime/src/kmp_str.cpp
Commit 2306f43ccb46627b92aa0bb48b96437984c50c01 by craig.topper
[X86] Update MaxIndex test in x86-cmov-converter.ll to return the index
and not use the index to look up the array after the loop.
This represents a more realistic version of the code being tested. The
cmov converter doesn't look at the code after the loop so it doesn't
matter for what's being tested.
But as noted in this twitter thread
https://twitter.com/trav_downs/status/1213311159413161987 gcc can turn
the previous MaxIndex code into the MaxValue code. So returning the
index makes it a distinct case.
The file was modifiedllvm/test/CodeGen/X86/x86-cmov-converter.ll
Commit 1737cc750c464b454ec14b397ce1b7cf504e17a7 by martin
[LLD] [COFF] Don't error out on duplicate absolute symbols with the same
value
Both MS link.exe and GNU ld.bfd handle it this way; one can have
multiple object files defining the same absolute symbols, as long as it
defines it to the same value. But if there are multiple absolute symbols
with differing values, it is treated as an error.
Differential Revision: https://reviews.llvm.org/D71981
The file was modifiedlld/COFF/Symbols.h
The file was addedlld/test/COFF/duplicate-absolute-same.s
The file was modifiedlld/test/COFF/duplicate-absolute.s
The file was modifiedlld/COFF/SymbolTable.cpp
Commit eb0e1978df7b9e7df3e645bb48fbf655f8aab69a by llvm-dev
[TargetLowering] SimplifyDemandedBits - call
SimplifyMultipleUseDemandedBits for ISD::EXTRACT_VECTOR_ELT (REAPPLIED)
This patch attempts to peek through vectors based on the demanded
bits/elt of a particular ISD::EXTRACT_VECTOR_ELT node, allowing us to
avoid dependencies on ops that have no impact on the extract.
In particular this helps remove some unnecessary scalar->vector->scalar
patterns.
The wasm shift patterns are annoying - @tlively has indicated that the
wasm vector shift codegen are to be refactored in the near-term and
isn't considered a major issue.
Reapplied after reversion at rL368660 due to PR42982 which was fixed at
rGca7fdd41bda0.
Differential Revision: https://reviews.llvm.org/D65887
The file was modifiedllvm/test/CodeGen/Thumb2/lsll0.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld3.ll
The file was modifiedllvm/test/CodeGen/X86/vec_umulo.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-extended-extract.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vld4.ll
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-and-legalization.ll
The file was modifiedllvm/test/CodeGen/X86/vec_smulo.ll
The file was modifiedllvm/test/CodeGen/ARM/dagcombine-anyexttozeroext.ll
The file was modifiedllvm/test/CodeGen/X86/promote-vec3.ll
The file was modifiedllvm/test/CodeGen/X86/xor.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-arith.ll
Commit 831bfcea47826a102ece03f0fad33ce39a73c672 by a.v.lapshin
[Transforms][GlobalSRA] huge array causes long compilation time and huge
memory usage.
Summary: For artificial cases (huge array, few usages), Global SRA
optimization creates a lot of redundant data. It creates an instance of
GlobalVariable for each array element. For huge array, that means huge
compilation time and huge memory usage. Following example compiles for
10 minutes and requires 40GB of memory.
namespace {
char LargeBuffer[64 * 1024 * 1024];
}
int main ( void ) {
    LargeBuffer[0] = 0;
    printf("\n ");
    return LargeBuffer[0] == 0;
}
The fix is to avoid Global SRA for large arrays.
Reviewers: craig.topper, rnk, efriedma, fhahn
Reviewed By: rnk
Subscribers: xbolva00, lebedev.ri, lkail, merge_guards_bot, hiraditya,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71993
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
The file was addedllvm/test/Transforms/GlobalOpt/long-compilation-global-sra.ll
Commit 83aa0b6734da6760890012fc0ea08698741541a5 by lebedev.ri
[NFC][InstCombine] 'subtract of one hands of select' pattern tests
(PR44426)
https://bugs.llvm.org/show_bug.cgi?id=44426
The file was addedllvm/test/Transforms/InstCombine/subtract-of-one-hand-of-select.ll
Commit 4d8e47ca180557e9bb872da0b8a6ad0fc515c4d3 by lebedev.ri
[InstCombine] Sink sub into hands of select if one hand becomes zero
(PR44426)
This decreases use count of %Op1, makes one hand of select to be 0, and
possibly exposes further folding potential.
Name: sub (select %Cond, %Op1, %FalseVal), %Op1 -> select %Cond, 0, (sub
%FalseVal, %Op1)
%Op1 = %TrueVal
%o = select i1 %Cond, i8 %Op1, i8 %FalseVal
%r = sub i8 %o, %Op1
=>
%n = sub i8 %FalseVal, %Op1
%r = select i1 %Cond, i8 0, i8 %n
Name: sub (select %Cond, %TrueVal, %Op1), %Op1 -> select %Cond, (sub
%TrueVal, %Op1), 0
%Op1 = %FalseVal
%o = select i1 %Cond, i8 %TrueVal, i8 %Op1
%r = sub i8 %o, %Op1
=>
%n = sub i8 %TrueVal, %Op1
%r = select i1 %Cond, i8 %n, i8 0
https://rise4fun.com/Alive/avL
https://bugs.llvm.org/show_bug.cgi?id=44426
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
The file was modifiedllvm/test/Transforms/InstCombine/sub-minmax.ll
The file was modifiedllvm/test/Transforms/InstCombine/subtract-of-one-hand-of-select.ll
Commit d2b79c76be5b1613d80364888286e7ead70674eb by lebedev.ri
[NFC][InstCombine] 'subtract from one hands of select' pattern tests
(PR44426)
https://bugs.llvm.org/show_bug.cgi?id=44426
The file was addedllvm/test/Transforms/InstCombine/subtract-from-one-hand-of-select.ll
The file was modifiedllvm/test/Transforms/InstCombine/subtract-of-one-hand-of-select.ll
Commit 772ede3d5d552e0214473f247f7f98f15e596fe5 by lebedev.ri
[InstCombine] Sink sub into hands of select if one hand becomes zero.
Part 2 (PR44426)
This decreases use count of %Op0, makes one hand of select to be 0, and
possibly exposes further folding potential.
Name: sub %Op0, (select %Cond, %Op0, %FalseVal) -> select %Cond, 0, (sub
%Op0, %FalseVal)
%Op0 = %TrueVal
%o = select i1 %Cond, i8 %Op0, i8 %FalseVal
%r = sub i8 %Op0, %o
=>
%n = sub i8 %Op0, %FalseVal
%r = select i1 %Cond, i8 0, i8 %n
Name: sub %Op0, (select %Cond, %TrueVal, %Op0) -> select %Cond, (sub
%Op0, %TrueVal), 0
%Op0 = %FalseVal
%o = select i1 %Cond, i8 %TrueVal, i8 %Op0
%r = sub i8 %Op0, %o
=>
%n = sub i8 %Op0, %TrueVal
%r = select i1 %Cond, i8 %n, i8 0
https://rise4fun.com/Alive/aHRt
https://bugs.llvm.org/show_bug.cgi?id=44426
The file was modifiedllvm/test/Transforms/InstCombine/subtract-from-one-hand-of-select.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
The file was modifiedllvm/test/Transforms/InstCombine/sub-minmax.ll
Commit 6d05bc2e3a9b54fde53aa5cbd83cc7c1d432cac1 by lebedev.ri
[NFCI][InstCombine] Refactor 'sink negation into select if that folds
one hand of select to 0' fold
I would think it's better than having two practically identical folds
next to eachother, but then generalization isn't all that pretty due to
the fact that we need to produce different `sub` each time..
This change is no-functional-changes-intended refactoring.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
Commit ca8b20ca3ba10288b61a083c4ce57fb011124935 by alex-t
[AMDGPU] need to insert wait between the scalar load and vector store to
the same address to avoid WAR conflict.
Reviewers: rampitec, vpykhtin, nhaehnle
Reviewed By: rampitec
Differential Revision: https://reviews.llvm.org/D71934
The file was addedllvm/test/CodeGen/AMDGPU/smrd_vmem_war.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
Commit b7ecf1c1c373c53183ef6ef66efbe4237ff7b96d by aaron
NFC: Fix trivial typos in comments
The file was modifiedclang-tools-extra/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.cpp
The file was modifiedclang-tools-extra/clang-doc/tool/ClangDocMain.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.h
The file was modifiedclang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/DefineInline.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/AvoidCArraysCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp
The file was modifiedclang-tools-extra/clangd/AST.h
The file was modifiedclang-tools-extra/clangd/Context.h
The file was modifiedclang-tools-extra/clang-move/tool/ClangMove.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/modularize/Modularize.cpp
The file was modifiedclang-tools-extra/clang-doc/BitcodeReader.h
The file was modifiedclang-tools-extra/clang-tidy/performance/InefficientAlgorithmCheck.h
The file was modifiedclang-tools-extra/clangd/Trace.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseAutoCheck.cpp
The file was modifiedclang-tools-extra/clangd/IncludeFixer.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/NamespaceAliaser.cpp
The file was modifiedclang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/pp-trace/PPCallbacksTracker.cpp
The file was modifiedclang-tools-extra/clang-include-fixer/IncludeFixerContext.cpp
The file was modifiedclang-tools-extra/clang-tidy/google/IntegerTypesCheck.h
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/src/extension.ts
The file was modifiedclang-tools-extra/clangd/index/CanonicalIncludes.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/hicpp-undelegated-constructor.rst
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone-branch-clone.rst
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/performance-unnecessary-value-param-arc.mm
The file was modifiedclang-tools-extra/clang-tidy/abseil/FasterStrsplitDelimiterCheck.cpp
The file was modifiedclang-tools-extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-make-unique.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/SlicingCheck.cpp
The file was modifiedclang-tools-extra/clangd/index/Symbol.h
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-owning-memory-containers.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SymbolInfoTests.cpp
The file was modifiedclang-tools-extra/clangd/CodeComplete.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-no-malloc.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/performance-unnecessary-value-param-arc.m
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/cert-mem57-cpp.rst
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/readability-identifier-naming.rst
The file was modifiedclang-tools-extra/clangd/ParsedAST.h
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-declaration.cpp
The file was modifiedclang-tools-extra/clang-doc/Serialize.cpp
The file was modifiedclang-tools-extra/modularize/PreprocessorTracker.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SyncAPI.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-nullptr-basic.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h
The file was modifiedclang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
The file was modifiedclang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clang-tidy/google/GlobalNamesInHeadersCheck.cpp
The file was modifiedclang-tools-extra/clangd/Protocol.h
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-no-malloc-custom.cpp
The file was modifiedclang-tools-extra/clang-tidy/abseil/TimeSubtractionCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/ExceptionAnalyzer.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseNullptrCheck.cpp
The file was modifiedclang-tools-extra/clangd/TUScheduler.h
The file was modifiedclang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
The file was modifiedclang-tools-extra/clang-include-fixer/tool/clang-include-fixer.el
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.h
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
Commit 0bb22b91ea335b964b99862834164b0b3a866eb4 by flo
Re-apply "[Examples] Add IRTransformations directory to examples."
This reverts commit 19fd8925a4afe6efd248688cce06aceff50efe0c.
Should include a fix for PR44197.
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg4-multiple-duplicate-cfg-updates.ll
The file was modifiedllvm/examples/CMakeLists.txt
The file was addedllvm/examples/IRTransforms/SimplifyCFG.cpp
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg6-dead-self-loop.ll
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg-blockaddress.ll
The file was addedllvm/examples/IRTransforms/CMakeLists.txt
The file was modifiedllvm/tools/opt/CMakeLists.txt
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg5-del-phis-for-dead-block.ll
The file was addedllvm/examples/IRTransforms/InitializePasses.cpp
The file was modifiedllvm/tools/opt/opt.cpp
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg2-dead-block-order.ll
The file was addedllvm/examples/IRTransforms/InitializePasses.h
The file was addedllvm/examples/IRTransforms/SimplifyCFG.h
The file was modifiedllvm/CMakeLists.txt
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg3-phis.ll
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg1.ll
Commit 4c6c4e2fce285c16b66a147afb287f7d4fc3c2e1 by flo
[cmake] Remove install from add_llvm_example_library.
This should fix
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/30086
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit 5eed4e2664aa7187f46eb12e45a376d7ab7dd308 by arsenm2
AMDGPU/GlobalISel: Implement applyMappingImpl less incorrectly
We're checking the current register bank of the registers in the
instruction, but the mapping may have inserted cross bank copies and is
expecting to replace the registers.
We mostly get away with this currently, because VGPR->SGPR copies are
illegal, and we assume this won't happen. In a future change, we'll
start relying on more cross register bank copies being inserted, and
this starts to break down.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit db82fc5dd80ff14798e7f1c35dd7e593f6409ba3 by flo
[Pass Registration] XFAIL load_extension.ll test on macOS.
This test fails  on macOS, causing the following bots to fail
http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental/7438/
http://green.lab.llvm.org/green/job/clang-stage1-RA/5034/
Error: Error opening 'build/./lib/libBye.dylib':
dlopen(build/./lib/libBye.dylib, 9): image not found
-load request ignored.
The file was modifiedllvm/test/Feature/load_extension.ll
Commit 5fb59f16e219162f98c78bf938ad2e6bb563567c by arsenm2
AMDGPU/GlobalISel: Assume vcc phis for any vcc input
This produces more intelligible looking results, more comparabble to the
DAG output in the simplest cases. This is probably wrong in complex
control flow, but RegBankSelect doesn't attempt analyzing if this is on
a masked path for selecting the bank yet.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-phi.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-phi-s1.mir
Commit d9b5063b25a7d751b4e3dcbb22565fd0d9c285ec by arsenm2
AMDGPU/GlobalISel: Legalize more odd sized loads
The attempts to widen sufficently aligned, odd sized loads wasn't
consistently applied.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
Commit 4e972224c476e05af445130e2b208e9819d220a5 by arsenm2
AMDGPU/GlobalISel: Refine SMRD selection rules
Fix selecting these for volatile global loads, and ensure the loads are
constant enough.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-load.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit 1f950ced5046264655f0d37b4b94dc0ae0461cfc by arsenm2
GlobalISel: Define G_READCYCLECOUNTER
The file was modifiedllvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/include/llvm/Target/GenericOpcodes.td
The file was modifiedllvm/include/llvm/Support/TargetOpcodes.def
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
Commit 99f74a64a2dd75b91dc0dbd1f9a6298a1c21fd64 by flo
[SCEV] Remove unused ScalarEvolutionExpander.h includes (NFC).
The file was modifiedllvm/lib/Analysis/IVDescriptors.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCCTRLoops.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp
Commit 51ef53f3bd23559203fe9af82ff2facbfedc1db3 by flo
[SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC).
SCEVExpander modifies the underlying function so it is more suitable in
Transforms/Utils, rather than Analysis. This allows using other
transform utils in SCEVExpander.
Reviewers: sanjoy.google, efriedma, reames
Reviewed By: sanjoy.google
Differential Revision: https://reviews.llvm.org/D71537
The file was removedllvm/include/llvm/Analysis/ScalarEvolutionExpander.h
The file was addedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
The file was modifiedllvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/lib/CodeGen/HardwareLoops.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopVersioning.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/unittests/Transforms/Utils/CodeMoverUtilsTest.cpp
The file was modifiedllvm/lib/Analysis/CMakeLists.txt
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp
The file was addedllvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp
The file was addedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
The file was modifiedllvm/lib/Transforms/Scalar/LoopRerollPass.cpp
The file was removedllvm/lib/Analysis/ScalarEvolutionExpander.cpp
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
The file was modifiedllvm/unittests/Transforms/Utils/CMakeLists.txt
The file was modifiedllvm/unittests/Analysis/ScalarEvolutionTest.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopPredication.cpp
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
Commit b8a3c34eee06c17ae42dc00218ba4f0c815e9a2c by flo
Revert "[SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils
(NFC)."
This reverts commit 51ef53f3bd23559203fe9af82ff2facbfedc1db3, as it
breaks some bots.
The file was modifiedllvm/unittests/Analysis/ScalarEvolutionTest.cpp
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was addedllvm/include/llvm/Analysis/ScalarEvolutionExpander.h
The file was removedllvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
The file was addedllvm/lib/Analysis/ScalarEvolutionExpander.cpp
The file was removedllvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
The file was modifiedllvm/lib/Transforms/Scalar/LoopRerollPass.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/CodeGen/HardwareLoops.cpp
The file was removedllvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp
The file was modifiedllvm/lib/Analysis/CMakeLists.txt
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopPredication.cpp
The file was modifiedllvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopVersioning.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
The file was modifiedllvm/unittests/Transforms/Utils/CodeMoverUtilsTest.cpp
The file was modifiedllvm/unittests/Transforms/Utils/CMakeLists.txt
Commit d12f2a2998450213f065ee3c9b21275416cb7f90 by arsenm2
GlobalISel: Scalarize all division operations
This only handled G_SDIV, but they all are trivially scalarizable.
Also define placeholder AMDGPU division legalizer rules.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-srem.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-urem.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-udiv.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sdiv.mir
Commit 085898d469ab782f0a26f119b109aa8eb5d37745 by maskray
[ELF] Drop const qualifier to fix -Wrange-loop-analysis. NFC
``` lld/ELF/Relocations.cpp:1622:56: warning: loop variable 'ts' of type
'const std::pair<ThunkSection *, uint32_t>' (aka 'const
pair<lld::elf::ThunkSection *, unsigned int>') creates a copy from type
'const std::pair<ThunkSection *, uint32_t>' [-Wrange-loop-analysis]
       for (const std::pair<ThunkSection *, uint32_t> ts :
isd->thunkSections)
```
Drop const qualifier to fix -Wrange-loop-analysis. We can make
-Wrange-loop-analysis warnings (DiagnoseForRangeConstVariableCopies) on
`const A` more permissive on more types (e.g. POD -> trivially
copyable), unfortunately it will not make std::pair good, because
`constexpr pair& operator=(const pair& p);` is unfortunately
user-defined.
Reviewed By: Mordante
Differential Revision: https://reviews.llvm.org/D72211
The file was modifiedlld/ELF/Relocations.cpp
Commit 285d5e6b8b1ecc70c25468b6c7458d2adadeddf3 by craig.topper
[LegalizeVectorOps] Split most of ExpandStrictFPOp into a separate
UnrollStrictFPOp method. Call that method from ExpandUINT_TO_FLOAT.
ExpandStrictFPOp calls ExpandUINT_TO_FLOAT. Previously,
ExpandUINT_TO_FLOAT returned SDValue() if it wasn't able to handle and
needed to unroll. Then ExpandStrictFPOp would detect his SDValue() and
do the unroll.
After this change, ExpandUINT_TO_FLOAT will directly call
UnrollStrictFPOp and return the unrolled result.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
Commit 16a67d252c72332423bae6597a0685248fc3501f by craig.topper
[TargetLowering] In expandFP_TO_UINT, add proper extend or truncate for
the condition to feed the DstVT select.
Previously, for vectors we created a vselect with a condition that
didn't match what the target wanted according to getSetCCResultType.
To make up for this, X86 had a special DAG combine to detect if the
condition was all sign bits and then insert its own truncate or extend.
By adding the extend/truncate here explicitly we can avoid that.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit 4e37d60f2a6b66ce95a039e6c929e7e38af30cd1 by craig.topper
[LegalizeVectorOps][X86] Enable expansion of vector fp_to_uint in
LegalizeVectorOps to avoid scalarization.
The code here isn't great in all caess. Particularly v4f64->v4i32 on
64-bit AVX targets. But there is some improvement in some
configurations.
There's definitely some issues with computeNumSignBits with
X86ISD::STRICT_FCMP. As well as not being able to propagate sign bits
through merge_values nodes that get created during custom legalization.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/test/CodeGen/X86/vec-strict-fptoint-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-fptoint-256.ll
Commit 170de3de2eea8eb7f514dfa64d3f845ef10d8425 by david.green
[ParserTest] Move raw string literal out of macro
Some combinations of gcc and ccache do not deal well with raw strings in
macros. Moving the string out to attempt to fix the bots.
The file was modifiedclang/unittests/ASTMatchers/Dynamic/ParserTest.cpp
Commit 5a253992212451be919978610332cc42d4b48d47 by david.green
[ARM] Add and update FMA tests. NFC
The file was addedllvm/test/CodeGen/ARM/fp16-fusedMAC.ll
The file was modifiedllvm/test/CodeGen/ARM/fusedMAC.ll
The file was modifiedllvm/test/CodeGen/ARM/cortex-a57-misched-vfma.ll
Commit c15a56f61a56e862c9613a334d1427638899942b by david.green
[ARM] Fill in FP16 FMA patterns
This adds fp16 variants of all the fma patterns in the ARM backend.
Differential Revision: https://reviews.llvm.org/D72138
The file was modifiedllvm/test/CodeGen/ARM/fp16-fusedMAC.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrVFP.td
Commit fb8c9a339a9d0b78370fbd814d62dd5779f1e196 by david.green
[ARM] Use isFMAFasterThanFMulAndFAdd for scalars as well as MVE vectors
This adds extra scalar handling to isFMAFasterThanFMulAndFAdd, allowing
the target independent code to handle more folds in more situations (for
example if the fast math flags are present, but the global
AllowFPOpFusion option isnt). It also splits apart the HasSlowFPVMLx
into HasSlowFPVFMx, to allow VFMA and VMLA to be controlled separately
if needed.
Differential Revision: https://reviews.llvm.org/D72139
The file was modifiedllvm/test/CodeGen/ARM/fp16-fusedMAC.ll
The file was modifiedllvm/test/CodeGen/Thumb2/float-intrinsics-float.ll
The file was modifiedllvm/lib/Target/ARM/ARM.td
The file was modifiedllvm/test/CodeGen/ARM/cortex-a57-misched-vfma.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/float-intrinsics-double.ll
The file was modifiedllvm/test/CodeGen/ARM/fp16-fullfp16.ll
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.h
The file was modifiedllvm/lib/Target/ARM/ARMPredicates.td
Commit 3db84f142af854b714850ec29ce6ca017c07e46c by llvm-dev
[X86] Merge (identical) LowerGC_TRANSITION_START and
LowerGC_TRANSITION_END (NFC)
Silences a copy+paste analyzer warning - all they are doing are
inserting NOOPs in exactly the same way.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
Commit 6a6e6f04ec2cd2f4f07ec4943036c5c2d47ce0c7 by llvm-dev
[X86] Move combineLogicBlendIntoConditionalNegate before combineSelect.
NFCI.
Updates function order in preparation of future fix for PR43660
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e3bd0118903ccb545ca5cb2641646eb66ae8180e by llvm-dev
[X86][SSE] Combine combineLogicBlendIntoConditionalNegate for VSELECT
nodes (PR43660)
Attempt to use combineLogicBlendIntoConditionalNegate for (select M,
(sub 0, X), X) -> (sub (xor X, M), M)
We limit this to cases that can't easily replace the VSELECT with a
shuffle (non-constant masks) or where a BLENDV is likely to occur (which
tends to result in slower codegen).
The file was modifiedllvm/test/CodeGen/X86/vector-blend.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/combine-sdiv.ll
Commit c764304adc5ad52921957e8f7d14db8433eee613 by maskray
[MC] Drop an unused rule about absolute temporary symbols
The file was modifiedllvm/lib/MC/MCAssembler.cpp
Commit 124b918bd34756c16b3f460adf96b4bfe48a5f97 by maskray
[MC] Merge MCSymbol::getSectionPtr into getSection and simplify
The file was modifiedllvm/include/llvm/MC/MCSymbol.h
Commit 471151238438201f3fe365a7784f1a091328e46c by steveire
Fix oversight in AST traversal helper
The file was modifiedclang/lib/AST/Expr.cpp
Commit ad0a45833b940057cc74364c82271247bd7925e1 by steveire
Allow using traverse() with bindings
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/lib/ASTMatchers/ASTMatchersInternal.cpp
Commit 586acd84902b32e6f96c36ef9a83c3d36420d8d3 by maskray
[MC] Delete MCSection::{rbegin,rend}
The file was modifiedllvm/lib/MC/MCAssembler.cpp
The file was modifiedllvm/include/llvm/MC/MCSection.h
Commit b18cb9c4716677b048a88125be14d59a56865b9c by Kristina Brooks
[Gnu toolchain] Look at standard GCC paths for libstdcxx by default
Linux' current addLibCxxIncludePaths and addLibStdCxxIncludePaths are
actually almost non-Linux-specific at all, and can be reused almost as
such for all gcc toolchains. Only keep Android/Freescale/Cray hacks in
Linux's version.
Patch by sthibaul (Samuel Thibault)
Differential Revision: https://reviews.llvm.org/D69758
The file was modifiedclang/lib/Driver/ToolChains/Hurd.h
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/lib/Driver/ToolChains/Linux.h
The file was modifiedclang/lib/Driver/ToolChains/Hurd.cpp
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp
The file was modifiedclang/lib/Driver/ToolChains/Gnu.h
Commit 35efef5351e3b3a4e50bcd862407ef7edc0b2166 by steveire
Add missing test
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Commit 5511861e6dc81e702587bb4d07deba35571db293 by maskray
[MC][ARM] Delete MCSection::HasData and move SHF_ARM_PURECODE logic to
ARMELFObjectWriter::addTargetSectionFlags
This simplifies the generic interface and also makes SHF_ARM_PURECODE
more robust (fixes a TODO). Inspecting MCDataFragment contents covers
more cases than MCObjectStreamer::EmitBytes.
The file was modifiedllvm/lib/MC/MCSection.cpp
The file was modifiedllvm/lib/MC/MCObjectStreamer.cpp
The file was modifiedllvm/include/llvm/MC/MCSection.h
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
Commit 445f4d2310e751a6ab18f84b1d4ad13037ffd819 by steveire
Clang-format previous commit
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Commit 83a9321f60d837e4d41c9c08c09ab9e4c171ada4 by modocache
[Coroutines] Remove corresponding phi values when apply
simplifyTerminatorLeadingToRet
Summary: In addMustTailToCoroResumes, we set musttail on those resume
instructions that are followed by a ret instruction. This is done by
simplifyTerminatorLeadingToRet which replace a sequence of branches
leading to a ret with a clone of the ret.
However it forgets to remove corresponding PHI values that come from
basic block of replaced branch, and may cause jumpthreading pass hangs
(https://bugs.llvm.org/show_bug.cgi?id=43720)
This patch fix this issue
Test Plan: cppcoro library with O3+flto check-llvm
Reviewers: modocache, GorNishanov, lewissbaker
Reviewed By: modocache
Subscribers: mehdi_amini, EricWF, hiraditya, dexonsmith, jfb,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71826
Patch by junparser (JunMa)!
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp
The file was modifiedllvm/test/Transforms/Coroutines/coro-split-musttail.ll
The file was addedllvm/test/Transforms/Coroutines/coro-split-musttail1.ll
Commit ca3bf289a7f38b651280d8c6e784d4045a42b580 by chen3.liu
[NFC] Modify the format: Drop the else since we alerady returned in the
if.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 95840866b7d86794490ed46278fa9a9d798ee5bf by craig.topper
[X86] Improve v2i64->v2f32 and v4i64->v4f32 uint_to_fp on avx and avx2
targets.
Summary: Based on Simon's D52965, but improved to handle strict fp and
improve some of the shuffling.
Rather than use v2i1/v4i1 and let type legalization continue, just
generate all the code with legal types and use an explicit shuffle.
I also added an explicit setcc to the v4i64 code to match the semantics
of vselect which doesn't just use the sign bit. I'm also using a
v4i64->v4i32 truncate instead of the shuffle in Simon's original code.
With the setcc this will become a pack.
Future work can look into using X86ISD::BLENDV and a different shuffle
that only moves the sign bit.
Reviewers: RKSimon, spatel
Reviewed By: RKSimon
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71956
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-128.ll
The file was modifiedllvm/test/CodeGen/X86/vec_int_to_fp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-256.ll
Commit 2c053109fa83dc260042552c9132f3f528eb894e by maskray
[MC] Delete MCFragment::isDummy. NFC
isa<...>, dyn_cast<...> and cast<...> are used by other fragments. Don't
make MCDummyFragment special.
The file was modifiedllvm/include/llvm/MC/MCFragment.h
The file was modifiedllvm/lib/MC/MCFragment.cpp
Commit b9780f4f80ba82c6271b6b87fbfe6ea32d154e49 by qshanz
[DAGCombine] Don't check the legality of type when combine the
SIGN_EXTEND_INREG
This is the DAG node for SIGN_EXTEND_INREG :
t21: v4i32 = sign_extend_inreg t18, ValueType:ch:v4i16
It has two operands. The first one is the value it want to extend, and
the second one is the type to specify how to extend the value. For this
example, it means that, it is signed extend the t18(v4i32) from v4i16 to
v4i32. That is the semantics of c code:
vector int foo(vector int m) {
  return m << 16 >> 16;
}
And it could be any vector type that hardware support the operation,
though the type 'v4i16' is NOT legal for the target. When we are trying
to combine the srl + sra, what we did now is calling the
TLI.isOperationLegal(), which will also check the legality of the type.
That doesn't make sense.
Differential Revision: https://reviews.llvm.org/D70230
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/sext-vector-inreg.ll
Commit 806a2b1f3d8850eb88f1f9338e86b6398841c961 by maskray
[MC] Reorder MCFragment members to decrease padding
sizeof(MCFragment) does not change, but some if its subclasses do, e.g.
on a 64-bit platform, sizeof(MCEncodedFragment) decreases from 64 to 56,
sizeof(MCDataFragment) decreases from 224 to 216.
The file was modifiedllvm/include/llvm/MC/MCFragment.h
The file was modifiedllvm/lib/MC/MCFragment.cpp
Commit 2e4669500314cc6ba08c59abf8ee0fedd590018e by maskray
[MC] Reorder members of MCFragment's subclasses to decrease padding
On a 64-bit platform:
sizeof(MCBoundaryAlignFragment): 64 -> 56 sizeof(MCOrgFragment): 72 ->
64 sizeof(MCFillFragment): 80 -> 72 sizeof(MCLEBFragment): 88 -> 80
The file was modifiedllvm/include/llvm/MC/MCFragment.h
Commit 8aae6455c074af5ad9a2fe4e68079cfc591359ab by ravishankarm
[mlir][spirv] Update SPIR-V documentation with information about
lowering to SPIR-V dialect.
Add information about
- SPIRVTypeConverter
- SPIRVOpLowering
- Utility functions used in lowering to SPIR-V dialect.
The file was modifiedmlir/docs/Dialects/SPIR-V.md
Commit 19ace449a3da4058428495283b3b15826f8d7d34 by craig.topper
[TargetLowering] Use SETCC input type to call getBooleanContents instead
of the setcc result type.
This isn't a functonal change since we also check the bit width is the
same and the input type is integer. This guarantees the input and output
type are the same. But passing the input type makes the code more
readable.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit ce67db4185374016a9f5745869f9dbedfc12e6d2 by Kristina Brooks
[Clang] Force rtlib=platform in test to avoid fails with
CLANG_DEFAULT_RTLIB
Driver test `cross-linux.c` fails when CLANG_DEFAULT_RTLIB is
"compiler-rt" as the it expects a GCC-style `"crtbegin.o"` after
`"crti.o"` but instead receives something akin to this in the frontend
invocation:
```
"crt1.o" "crti.o"
"/o/b/llvm/bin/../lib/clang/10.0.0/lib/linux/clang_rt.crtbegin-x86_64.o"
```
This patch adds an override to `cross-linux.c` tests so the expected
result is produced regardless of the compile-time default rtlib, as
having tests fail due to that is fairly confusing. After applying the
patch, the test passes regardless of the CLANG_DEFAULT_RTLIB setting.
Differential Revision: https://reviews.llvm.org/D72236
The file was modifiedclang/test/Driver/cross-linux.c
Commit a7929533300535547f8484f7e38765234a7e7c93 by anton.a.afanasyev
[Metadata] Add TBAA struct metadata to `AAMDNode`
Summary: Make `AAMDNodes`' `getAAMetadata()` and `setAAMetadata()` to
take `!tbaa.struct` into account as well as `!tbaa`. This impacts
llvm.org/pr42022. This is a temprorary fix needed to keep `!tbaa.struct`
tag by SROA pass. New field `TBAAStruct` should be deleted when `!tbaa`
tag replaces `!tbaa.struct`. Merging two `!tbaa.struct`'s to one is
conservatively considered to be `nullptr`
(giving `MayAlias`) -- this could be enhanced, but relying on the said
future replacement.
Reviewers: RKSimon, spatel, vporpo
Subscribers: hiraditya, kosarev, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70924
The file was modifiedllvm/lib/IR/Metadata.cpp
The file was modifiedllvm/include/llvm/IR/Metadata.h
The file was modifiedllvm/test/Transforms/SROA/tbaa-struct.ll
The file was modifiedllvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
Commit c5fb73c5d1b3f1adb77d99fc85c594b48bff08f9 by ehudkatz
[APFloat] Add recoverable string parsing errors to APFloat
Implementing the APFloat part in PR4745.
Differential Revision: https://reviews.llvm.org/D69770
The file was modifiedllvm/lib/Support/StringRef.cpp
The file was modifiedllvm/include/llvm/ADT/APFloat.h
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedclang/lib/Lex/LiteralSupport.cpp
The file was modifiedllvm/unittests/ADT/APFloatTest.cpp
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/lib/Support/APFloat.cpp
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
Commit 103a58c8f2b0a62a42f6eedcdef38222ff22a538 by neil.henning
Add ExternalAAWrapperPass to createLegacyPMAAResults.
Our out-of-tree custom aliasing solution for the HPC# Burst compiler
here at Unity makes use of the `ExternalAAwrapperPass` infrastructure to
insert our custom aliasing resolution into the core of LLVM. This is
great for all cases except for function inlining, where because
`createLegacyPMAAResults` does not make use of `ExternalAAWrapperPass`,
when we have a definite no-alias result within a function it won't be
propagated to the calling function during inlining.
This commit just rectifies this oversight by adding the missing
dependency.
Differential Revision: https://reviews.llvm.org/D71348
The file was modifiedllvm/lib/Analysis/AliasAnalysis.cpp
Commit aab72f89b19ae38ea7ac3b7b51aae68fc10aef4f by zinenko
[mlir] Update mlir/CMakeLists.txt to install *.def files
This is needed to consume mlir after it has been installed of the source
tree. Without this, consuming mlir results a build error.
Differential Revision: https://reviews.llvm.org/D72232
The file was modifiedmlir/CMakeLists.txt
Commit f3f7dc3d2990151a78b246a7a1485d0c13a9fb36 by ehudkatz
[APFloat] Fix compilation warnings
The file was modifiedllvm/lib/Support/APFloat.cpp
The file was modifiedllvm/unittests/ADT/APFloatTest.cpp
The file was modifiedllvm/lib/Support/StringRef.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/MagicNumbersCheck.cpp
The file was modifiedclang/lib/Lex/LiteralSupport.cpp
Commit 5173bfcbc4873fa12d14de0a0a4e6ac9ce960b5e by shengchen.kan
Add interface emitPrefix for MCCodeEmitter
Differential Revision: https://reviews.llvm.org/D72047
The file was modifiedllvm/include/llvm/MC/MCCodeEmitter.h
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
Commit 0efc9e5a8cc12b9cb30adf2a3dbb14ffbc60e338 by sjoerd.meijer
[ARM][MVE] More MVETailPredication debug messages. NFC.
I've added a few more debug messages to MVETailPredication because I
wanted to trace better which instructions are added/removed. And while I
was at it, I factored out one function which I thought was clearer, and
have added some comments to describe better the flow between
MVETailPredication and ARMLowOverheadLoops.
Differential Revision: https://reviews.llvm.org/D71549
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Commit 7180d9568df7d9198a75cfb5a156d9e60329794a by llvm-dev
Fix MSVC "not all control paths return a value" warning. NFCI.
The file was modifiedclang-tools-extra/clang-tidy/utils/FixItHintUtils.cpp
Commit d68904f957ae1f9b2309bdbf34258387c045ce27 by jh7370
[NFC] Fix trivial typos in comments
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D72143
Patch by Kazuaki Ishizaki.
The file was modifiedllvm/lib/Target/AMDGPU/R600AsmPrinter.cpp
The file was modifiedllvm/lib/Transforms/IPO/PartialInlining.cpp
The file was modifiedllvm/utils/TableGen/CodeGenTarget.h
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/GsymCreator.h
The file was modifiedllvm/bindings/ocaml/llvm/llvm.mli
The file was modifiedllvm/lib/Bitcode/Reader/MetadataLoader.cpp
The file was modifiedllvm/test/MC/AArch64/arm64-directive_loh.s
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/LTO/X86/parallel.ll
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.h
The file was modifiedllvm/lib/MC/MCAssembler.cpp
The file was modifiedllvm/test/CodeGen/X86/lea.ll
The file was modifiedllvm/test/CodeGen/X86/2010-02-19-TailCallRetAddrBug.ll
The file was modifiedllvm/include/llvm/IR/InstrTypes.h
The file was modifiedllvm/include/llvm/Analysis/ValueTracking.h
The file was modifiedllvm/include/llvm/ADT/PointerUnion.h
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
The file was modifiedllvm/include/llvm/Target/Target.td
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/align.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterInfo.td
The file was modifiedllvm/test/MC/ARM/misaligned-blx.s
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/include/llvm/Support/Allocator.h
The file was modifiedllvm/test/Transforms/SCCP/apint-basictest3.ll
The file was modifiedllvm/utils/TableGen/CodeGenTarget.cpp
The file was modifiedllvm/test/Transforms/DeadArgElim/naked_functions.ll
The file was modifiedllvm/lib/Transforms/Utils/AddDiscriminators.cpp
The file was modifiedllvm/test/CodeGen/X86/swifterror.ll
The file was modifiedllvm/lib/MC/MCExpr.cpp
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcABISupport.h
The file was modifiedllvm/test/CodeGen/X86/DynamicCalleeSavedRegisters.ll
The file was modifiedllvm/lib/ProfileData/GCOV.cpp
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/ARMCallingConv.cpp
The file was modifiedllvm/utils/bugpoint/RemoteRunSafely.sh
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/tools/llvm-objdump/MachODump.cpp
The file was modifiedllvm/lib/CodeGen/TwoAddressInstructionPass.cpp
The file was modifiedllvm/test/CodeGen/X86/masked_gather_scatter.ll
The file was modifiedllvm/unittests/Analysis/VectorUtilsTest.cpp
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/FunctionInfo.h
The file was modifiedllvm/tools/llvm-c-test/echo.cpp
The file was modifiedllvm/lib/MC/MCParser/COFFAsmParser.cpp
The file was modifiedllvm/lib/Target/Mips/MipsInstrFPU.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonRegisterInfo.td
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
The file was modifiedllvm/unittests/Analysis/VectorFunctionABITest.cpp
The file was modifiedllvm/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/Analysis.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
Commit 89b11843254a4a0d7581b8c625fc0b40dfaf0235 by jh7370
[test][DebugInfo][NFC] Rename method for clarity
The checkGetOrParseLineTableEmitsError function could end up generating
both recoverable and unrecoverable errors, but it is only intended for
handling the latter.
Reviewed by: dblaikie
Differential Revision: https://reviews.llvm.org/D72156
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
Commit 6fa6000e3e2bb582c6a8509c34b52ecd44fbf625 by llvm-dev
[DAG] DAGCombiner::XformToShuffleWithZero - use APInt::extractBits
helper. NFCI.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 5d986a68a59c9bed7060e87840e61390d8247c1d by llvm-dev
[CostModel][X86] Add missing scalar i64->f32 uitofp costs
The file was modifiedllvm/test/Analysis/CostModel/X86/uitofp.ll
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
Commit de735247c8b638efa8ce5783ac8c7c2e0b7cf3eb by llvm-dev
[X86] Add extra PR43971 test case mentioned in D70267
The file was modifiedllvm/test/CodeGen/X86/extractelement-load.ll
Commit d45aafa2fbcf66f3dafdc7c5e0a0ce3709914cbc by mitchell
[clang-format] fix conflict between FormatStyle::BWACS_MultiLine and
BeforeCatch/BeforeElse
Summary: Found a bug introduced with BraceWrappingFlags
AfterControlStatement MultiLine. This feature conflicts with the
existing BeforeCatch and BeforeElse flags.
For example, our team uses BeforeElse.
if (foo ||
   bar) {
doSomething();
} else {
doSomethingElse();
}
If we enable MultiLine (which we'd really love to do) we expect it to
work like this:
if (foo ||
   bar)
{
doSomething();
} else {
doSomethingElse();
}
What we actually get is:
if (foo ||
   bar)
{
doSomething();
} else
{
doSomethingElse();
}
Reviewers: MyDeveloperDay, Bouska, mitchell-stellar
Patch by: pastey
Subscribers: Bouska, cfe-commits
Tags: clang
Differential Revision: https://reviews.llvm.org/D71939
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/UnwrappedLineFormatter.cpp
Commit d67c4cc2eb4ddc450c886598b934c111e721ab0c by ntv
[mlir][Linalg] Reimplement and extend getStridesAndOffset
Summary: This diff reimplements getStridesAndOffset in a significantly
simpler way by operating on the AffineExpr and calling into
simplifyAffineExpr instead of rolling its own saturating arithmetic.
As a consequence it becomes quite simple to extend the behavior of
getStridesAndOffset to encompass more cases by manipulating the
AffineExpr more directly. The divisions are still filtered out and
continue to yield fully dynamic strides. Simplifying the divisions is
left for a later time if compelling use cases arise.
Relevant tests are added.
Reviewers: ftynse
Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen,
antiagainst, arpith-jacob, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72098
The file was modifiedmlir/test/AffineOps/memref-stride-calculation.mlir
The file was modifiedmlir/lib/IR/StandardTypes.cpp
Commit f1c85ecdfcc3b1c3500ab91ac7c1fb9d2cd8aa78 by arsenm2
AMDGPU/GlobalISel: Select more G_EXTRACTs correctly
This assumed a 32-bit extract size, which would produce invalid copies
with 64-bit extracts. Handle the easy case. Ideally we would have a way
to get the proper subreg index for any 32-bit offset, but there should
probably be a tablegenerated way of getting the subreg index for any
size and offset.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-extract.mir
Commit bc763c42bbcf830ad4e543ddc8c39cd146790176 by mgorny
[lldb] [Process/NetBSD] Remove unused orig_*ax use
orig_*ax logic is Linux-specific, and was never used on NetBSD. In fact,
its support seems to be a dead code entirely.
Differential Revision: https://reviews.llvm.org/D72195
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
Commit e4464bf3d45848461630e3771d66546d389f1ed5 by arsenm2
AMDGPU/GlobalISel: Select scalar v2s16 G_BUILD_VECTOR
The file was modifiedllvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector.v2s16.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit b99ef32d041c992d0cb192bdee3e16b9a56de3a9 by simon.tatham
[ARM,MVE] Generate the right instruction for vmaxnmq_m_f16.
Summary: Due to a copy-paste error in the isel patterns, the predicated
version of this intrinsic was expanding to the `VMAXNMT.F32` instruction
instead of `VMAXNMT.F16`. Similarly for vminnm.
Reviewers: dmgreen, miyuki, MarkMurrayARM
Reviewed By: dmgreen
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72269
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vminnmq.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmaxnmq.ll
Commit 4978296cd8e4d10724cfa41f0308d256c0fd490c by simon.tatham
[ARM,MVE] Support -ve offsets in gather-load intrinsics.
Summary: The ACLE intrinsics with `gather_base` or `scatter_base` in the
name are wrappers on the MVE load/store instructions that take a vector
of base addresses and an immediate offset. The immediate offset can be
up to 127 times the alignment unit, and it can be positive or negative.
At the MC layer, we got that right. But in the Sema error checking for
the wrapping intrinsics, the offset was erroneously constrained to be
positive.
To fix this I've adjusted the `imm_mem7bit` class in the Tablegen that
defines the intrinsics. But that causes integer literals like
`0xfffffffffffffe04` to appear in the autogenerated calls to
`SemaBuiltinConstantArgRange`, which provokes a compiler warning because
that's out of the non-overflowing range of an `int64_t`. So I've also
tweaked `MveEmitter` to emit that as `-0x1fc` instead.
Updated the tests of the Sema checks themselves, and also adjusted a
random sample of the CodeGen tests to actually use negative offsets and
prove they get all the way through code generation without causing a
crash.
Reviewers: dmgreen, miyuki, MarkMurrayARM
Reviewed By: dmgreen
Subscribers: kristof.beyls, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D72268
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/scatter-gather.ll
The file was modifiedclang/utils/TableGen/MveEmitter.cpp
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/scatter-gather.c
The file was modifiedclang/test/Sema/arm-mve-immediates.c
The file was modifiedclang/include/clang/Basic/arm_mve_defs.td
Commit 34817e04feeb00dcd0515e5810218587438bd5a8 by simon.tatham
[ARM,MVE] Fix many signedness errors in MVE intrinsics.
Summary: Running an end-to-end test last week I noticed that a lot of
the ACLE intrinsics that operate differently on vectors of signed and
unsigned integers were ending up generating the signed version of the
instruction unconditionally. This is because the IR intrinsics had no
way to distinguish signed from unsigned: the LLVM type system just calls
them both `v8i16` (or whatever), so you need either separate intrinsics
for signed and unsigned, or a flag parameter that tells ISel which one
to choose.
This patch fixes all the problems of that kind that I've noticed, by
adding an i32 flag parameter to many of the IR intrinsics which is set
to 1 for unsigned (matching the existing practice in cases where we got
it right), and conditioning all the isel patterns on that flag. So the
fundamental change is in `IntrinsicsARM.td`, changing the low-level IR
intrinsics API; there are knock-on changes in
`arm_mve.td` (adjusting code gen for the ACLE intrinsics to use the
modified API) and in `ARMInstrMVE.td` (adjusting isel to expect the new
unsigned flags). The rest of this patch is boringly updating tests.
Reviewers: dmgreen, miyuki, MarkMurrayARM
Reviewed By: dmgreen
Subscribers: kristof.beyls, hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D72270
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmaxnmq.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vrhaddq.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmullbq.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vqsubq.ll
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vhaddq.c
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmulhq.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vabdq.ll
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vminnmq.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vhsubq.c
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vmaxq.c
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vhsubq.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmulltq.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vqaddq.ll
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vmullbq.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vqaddq.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vrmulhq.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vmaxnmq.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vminq.c
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vminq.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vminnmq.ll
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vmulltq.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vqsubq.c
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vhaddq.ll
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vmulhq.c
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmaxq.ll
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vrmulhq.ll
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vabdq.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vrhaddq.c
Commit ea5abf14530634d05b9d1dc6d5d7d5f7934f0ea3 by llvm-dev
Fix "use of uninitialized variable" static analyzer warning. NFCI.
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.cpp
Commit 5bcc747393be963620d152e1637b0d2ca79bd3c2 by llvm-dev
Fix "use of uninitialized variable" static analyzer warnings. NFCI.
Add "unreachable" default cases like we do for the other switch()s in
X86MCInstLower::Lower
The file was modifiedllvm/lib/Target/X86/X86MCInstLower.cpp
Commit ea2c159f966be363d5c19df8d116d471604f7db5 by llvm-dev
[AMDGPU] Fix "use of uninitialized variable" static analyzer warning.
NFCI.
Add "unreachable" default case to
AMDGPUTargetStreamer::getArchNameFromElfMach
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
Commit 1d549cff48cd52b9967c3a70eeb61abf86444ac3 by koraq
[NFC] Fixes -Wrange-loop-analysis warnings
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to
-Wall.
Differential Revision: https://reviews.llvm.org/D72210
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedpolly/lib/Analysis/ScopGraphPrinter.cpp
Commit eec0240f97180ea876193dcfa3cb03cb652d9fe3 by koraq
Adds -Wrange-loop-analysis to -Wall
This makes the range loop warnings part of -Wall.
Fixes PR32823: Warn about accidental coping of data in range based for
Differential Revision: https://reviews.llvm.org/D68912
Recomitted after fixing the warnings it created.
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/test/Misc/warning-wall.c
The file was modifiedclang/test/SemaCXX/warn-range-loop-analysis.cpp
Commit 61b5e727b7ccfca7e0cbb0ed70f9e828cd1514bd by diggerlin
[AIX] Use csect reference for function address constants
SUMMARY: We currently emit a reference for function address constants as
labels; for example:
foo_ptr:
.long foo however, there may be no such label in the case where the
function is undefined. Although the label exists when the function is
defined, we will (to be consistent) also use a csect reference in that
case.
Reviewers: daltenty,hubert.reinterpretcast,jasonliu,Xiangling_L
Subscribers: cebowleratibm, wuzish, nemanjai
Differential Revision: https://reviews.llvm.org/D71144
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was addedllvm/test/CodeGen/PowerPC/aix-reference-func-addr-const.ll
Commit 0eb981b8ce70d07b1b1fb39b969a6fe9509840c1 by david.green
[ARM] Use correct TRAP opcode for thumb in FastISel
We were previously unconditionally using the ARM::TRAP opcode, even
under Thumb. My understanding is that these are essentially the same
thing (they both result in a trap under Thumb), but the ARM::TRAP opcode
is marked as requiring IsARM, so it is more correct to use ARM::tTRAP.
Differential Revision: https://reviews.llvm.org/D72075
The file was modifiedllvm/test/CodeGen/ARM/load_store_opt_clobber_cpsr.mir
The file was modifiedllvm/lib/Target/ARM/ARMFastISel.cpp
Commit f88d52728b9c7f91e4cfec657c0fc60be07d2cb4 by david.green
[ARM] Use the correct opcodes for Thumb2 segmented stack frame lowering
The segmented stack lowering code appears to be using ARM opcodes under
Thumb2. The MRC opcode will be the same for Thumb and ARM, but t2LDR
seems wrong. Either way, using the correct thumb vs arm opcodes is more
correct.
Differential Revision: https://reviews.llvm.org/D72074
The file was modifiedllvm/test/CodeGen/Thumb2/segmented-stacks.ll
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
Commit 3e1f3b164cc0b4be486eebf24cca79c9f9c8c1f7 by gchatelet
[llvm-libc] Fix missing virtual destructor
Summary: This patch adds a virtual destructor to the Command class.
Reviewers: sivachandra
Subscribers: mgorny, MaskRay, libc-commits
Tags: #libc-project
Differential Revision: https://reviews.llvm.org/D72253
The file was modifiedlibc/utils/HdrGen/CMakeLists.txt
The file was addedlibc/utils/HdrGen/Command.cpp
The file was modifiedlibc/utils/HdrGen/Command.h
Commit 83ec9b51ed21b39063f0e0e7b272e66ae57bbcba by diggerlin
[AIX] Use csect reference for function address constants
SUMMARY: We currently emit a reference for function address constants as
labels; for example:
foo_ptr:
.long foo however, there may be no such label in the case where the
function is undefined. Although the label exists when the function is
defined, we will (to be consistent) also use a csect reference in that
case.
Address one comment https://reviews.llvm.org/D71144#inline-653255
Reviewers: daltenty,hubert.reinterpretcast,jasonliu,Xiangling_L
Subscribers: cebowleratibm, wuzish, nemanjai
Differential Revision: https://reviews.llvm.org/D71144
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit b3757f3091d1c718a91f5b06b7364b2af28339fa by Jonas Devlieghere
[lldb/CMake] Autodetect Python dependency
Python was the last remaining "optional" dependency for LLDB. This moves
the code to find Python into FindPythonInterpAndLibs using the same
principles as FindCursesAndPanel.
Differential revision: https://reviews.llvm.org/D72107
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
The file was addedlldb/cmake/modules/FindPythonInterpAndLibs.cmake
The file was addedlldb/lldb/cmake/modules/FindPythonInterpAndLibs.cmake
Commit 8eba3fbb12fc179959f709aa93f9af8d902fb6d7 by Jonas Devlieghere
[lldb/Test] Temporarily skip TestFoundationDisassembly on the ASan bot.
This test is timing out on the sanitized bot on GreenDragon. Temporarily
disable it to increase the signal-to-noise ration.
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py
Commit 350da402ef6b8b2473ff74822e8267bf2716c661 by tamas.zolnai
[clang-tidy] new check: bugprone-signed-char-misuse
Summary: This check searches for signed char -> integer conversions
which might indicate programming error, because of the misinterpretation
of char values. A signed char might store the non-ASCII characters as
negative values. The human programmer probably expects that after an
integer conversion the converted value matches with the character code
(a value from [0..255]), however, the actual value is in
[-128..127] interval.
See also: STR34-C. Cast characters to unsigned char before converting to
larger integer sizes
<https://wiki.sei.cmu.edu/confluence/display/c/STR34-C.+Cast+characters+to+unsigned+char+before+converting+to+larger+integer+sizes>
By now this check is limited to assignment / variable declarations. If
we would catch all signed char -> integer conversion, then it would
produce a lot of findings and also false positives. So I added only this
use case now, but this check can be extended with additional use cases
later. The CERT documentation mentions another use case when the char is
used for array subscript. Next to that a third use case can be the
signed char - unsigned char comparison, which also a use case where
things happen unexpectedly because of conversion to integer.
Reviewers: alexfh, hokein, aaron.ballman
Reviewed By: aaron.ballman
Subscribers: sylvestre.ledru, whisperity, Eugene.Zelenko, mgorny,
xazax.hun, cfe-commits
Tags: #clang, #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D71174
The file was modifiedclang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-signed-char-misuse-with-option.cpp
The file was addedclang-tools-extra/clang-tidy/bugprone/SignedCharMisuseCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-signed-char-misuse-funsigned-char.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-signed-char-misuse-fsigned-char.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone-signed-char-misuse.cpp
The file was addedclang-tools-extra/clang-tidy/bugprone/SignedCharMisuseCheck.h
The file was addedclang-tools-extra/docs/clang-tidy/checks/bugprone-signed-char-misuse.rst
Commit ba4ca37b814a368f66328e9aee5cc479bf28d727 by llvmgnsyncbot
[gn build] Port 350da402ef6
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn
Commit 896b84ac2c70ad69075c2496f8f89247704fff0b by maskray
[llvm-readelf] Print EI_ABIVERSION as decimal instead of hexadecimal
This matches GNU readelf and llvm-readobj.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D72234
The file was modifiedllvm/test/tools/llvm-readobj/ELF/gnu-file-headers.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/partitions.test
The file was modifiedlld/test/ELF/mips-n32-rels.s
The file was modifiedllvm/test/tools/llvm-readobj/ELF/file-header-abi-version.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit 3abc2927cb2372349fbbc0b62382c85d7d000f2c by Jonas Devlieghere
[lldb/Test] Move @skipIfAsan from test class to test methods.
skipTestIfFn can only be used to decorate a test method.
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py
Commit f6544934b94932f1d2231238046f83ba8b083040 by thakis
Make check-llvm run 50% faster on macOS, 18% faster on Windows.
While looking at cycle time graphs of some of my bots, I noticed that
327894859cc made check-llvm noticeably slower on macOS and Windows.
As it turns out, the 5 substitutions added in that change were enough to
cause lit to thrash the build-in cache in re.compile()
(re.sub() is implemented as re.compile().sub()), and apparently
applySubstitutions() is on the cricital path and slow when all regexes
need to compile all the time.
(See `_MAXCACHE = 512` in cpython/Lib/re.py)
Supporting full regexes for lit substitutions seems a bit like overkill,
but for now add a simple unbounded cache to recover the lost
performance.
No intended behavior change.
The file was modifiedllvm/utils/lit/lit/TestRunner.py
Commit bbfebd7b8a671c9649305b8a5f72e93dd1ef60e1 by maskray
[CMake] Add $ORIGIN/../../../../lib to rpath if BUILD_SHARED_LIBS or
LLVM_LINK_LLVM_DYLIB on *nix
Summary: lib/python2.7/dist-packages/lldb/_lldb.so is a symlink to
lib/liblldb.so, which depends on lib/libLLVM*.so
(-DBUILD_SHARED_LIBS=ON) or lib/libLLVM-10git.so
(-DLLVM_LINK_LLVM_DYLIB=ON). Add an additional rpath
`$ORIGIN/../../../../lib` so that _lldb.so can be loaded from Python.
This fixes an import error from
lib/python2.7/dist-packages/lldb/__init__.py
  from . import _lldb
ImportError: libLLVMAArch64CodeGen.so.10git: cannot open shared object
file: No such file or directory
The following configurations will work:
* -DBUILD_SHARED_LIBS=ON
* -DBUILD_SHARED_LIBS=OFF -DLLVM_LINK_LLVM_DYLIB=ON
* -DBUILD_SHARED_LIBS=OFF -DLLVM_LINK_LLVM_DYLIB=ON
-DCLANG_LINK_CLANG_DYLIB=ON
(-DCLANG_LINK_CLANG_DYLIB=ON depends on -DLLVM_LINK_LLVM_DYLIB=ON)
Reviewed By: labath
Differential Revision: https://reviews.llvm.org/D71800
The file was modifiedlldb/source/API/CMakeLists.txt
Commit 8c8ffd461d16681cb1fc764bedfa8b09fde260aa by Jonas Devlieghere
[lldb/CMake] Only set PYTHON_HOME on Windows
My earlier change for Python auto-detection caused PYTHON_HOME to be set
unconditionally, while before the change this only happened for Windows.
This caused the PythonDataObjectsTest to fail with an import error.
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
Commit 0239526cccf8aa708e29eeb7e49de8f6dc6c1a5f by Jonas Devlieghere
[lldb/Docs] Fix capitalization typo.
This has been bothering me for way too long.
The file was modifiedlldb/docs/resources/build.rst
Commit 5b24c088171d3bd7a8ff559c82926e5d4b04f032 by sivachandra
[libc] Move all tests to a top level `test` directory.
A toplevel target, `check-libc` has also been added.
Reviewers: abrachet, phosek
Tags: #libc-project
Differential Revision: https://reviews.llvm.org/D72177
The file was modifiedlibc/docs/source_layout.rst
The file was removedlibc/src/string/strcat/strcat_test.cpp
The file was addedlibc/test/config/CMakeLists.txt
The file was modifiedlibc/CMakeLists.txt
The file was addedlibc/test/config/linux/CMakeLists.txt
The file was modifiedlibc/src/string/CMakeLists.txt
The file was modifiedlibc/src/string/strcpy/CMakeLists.txt
The file was removedlibc/src/string/strcpy/strcpy_test.cpp
The file was addedlibc/test/src/sys/mman/CMakeLists.txt
The file was addedlibc/test/src/errno/errno_test.cpp
The file was modifiedlibc/src/string/strcat/CMakeLists.txt
The file was removedlibc/config/linux/x86_64/syscall_test.cpp
The file was addedlibc/test/config/linux/x86_64/syscall_test.cpp
The file was removedlibc/src/errno/errno_test.cpp
The file was modifiedlibc/src/errno/CMakeLists.txt
The file was addedlibc/test/CMakeLists.txt
The file was removedlibc/src/sys/mman/mmap_test.cpp
The file was addedlibc/test/src/errno/CMakeLists.txt
The file was addedlibc/test/src/string/CMakeLists.txt
The file was addedlibc/test/src/string/strcat_test.cpp
The file was modifiedlibc/src/sys/mman/CMakeLists.txt
The file was addedlibc/test/config/linux/x86_64/CMakeLists.txt
The file was addedlibc/test/src/sys/mman/mmap_test.cpp
The file was addedlibc/test/src/CMakeLists.txt
The file was addedlibc/test/src/string/strcpy_test.cpp
The file was modifiedlibc/config/linux/x86_64/CMakeLists.txt
The file was addedlibc/test/src/sys/CMakeLists.txt
Commit 7ae3d335467a24faa80ebd9b31446c649570ca0c by maskray
[lld] Fix trivial typos in comments
Reviewed By: ruiu, MaskRay
Differential Revision: https://reviews.llvm.org/D72196
The file was modifiedlld/wasm/Symbols.h
The file was modifiedlld/include/lld/ReaderWriter/MachOLinkingContext.h
The file was modifiedlld/ELF/OutputSections.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/GOTPass.cpp
The file was modifiedlld/wasm/SymbolTable.cpp
The file was modifiedlld/wasm/InputChunks.h
The file was modifiedlld/docs/WebAssembly.rst
The file was modifiedlld/wasm/InputFiles.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
The file was modifiedlld/include/lld/Core/Atom.h
The file was modifiedlld/docs/windows_support.rst
The file was modifiedlld/ELF/ICF.cpp
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedlld/test/wasm/signature-mismatch-unknown.ll
The file was modifiedlld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
The file was modifiedlld/test/wasm/export-optional-lazy.ll
The file was modifiedlld/Common/Filesystem.cpp
The file was modifiedlld/test/ELF/linkerscript/assert.s
The file was modifiedlld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
The file was modifiedlld/include/lld/Core/Instrumentation.h
The file was modifiedlld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
The file was modifiedlld/ELF/Arch/X86.cpp
The file was modifiedlld/lib/Driver/DarwinLdDriver.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp
The file was modifiedlld/test/ELF/ppc64-bsymbolic-toc-restore.s
The file was modifiedlld/wasm/Config.h
The file was modifiedlld/lib/Core/Resolver.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/File.h
The file was modifiedlld/include/lld/Core/Reference.h
The file was modifiedlld/ELF/InputSection.cpp
The file was modifiedlld/test/ELF/aarch64-movw-tprel.s
Commit e29a2e6be4e114b4233a2e0feedb74b2f34cf782 by Jinsong Ji
[PowerPC][LoopVectorize] Extend getRegisterClassForType to consider
double and other floating point type
In https://reviews.llvm.org/D67148, we use isFloatTy to test floating
point type, otherwise we return GPRRC. So 'double' will be classified as
GPRRC, which is not accurate.
This patch covers other floating point types.
Reviewed By: #powerpc, nemanjai
Differential Revision: https://reviews.llvm.org/D71946
The file was modifiedllvm/test/Transforms/LoopVectorize/PowerPC/reg-usage.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
Commit df3f4e0d77e53193acd423d1b02d3fd3bf065bf7 by Amara Emerson
[X86] Fix an 8 bit testb being selected when folding a volatile i32 load
pattern.
Differential Revision: https://reviews.llvm.org/D71581
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was addedllvm/test/CodeGen/X86/select-testb-volatile-load.ll
Commit 40a80a0a19f4ed1b5d4a2e842c5541da36342c14 by eugenis
Lower TAGPstack with negative offset to SUBG.
Summary: This never really occurs in the current codegen, so only a MIR
test is possible.
Reviewers: ostannard, pcc
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72123
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was addedllvm/test/CodeGen/AArch64/addg_subg.mir
Commit 19433b199d1ccc8798475dbe9084fc66360ec5d5 by kkwli0
[OpenMP] Fix incorrect property of __has_attribute() macro
__has_attribute(fallthough) -> __has_attribute(fallthrough)
Submitted by: kiszk (Kazuaki Ishizaki <ishizaki@jp.ibm.com>)
Differential Revision: https://reviews.llvm.org/D72287
The file was modifiedopenmp/runtime/src/kmp_os.h
Commit 22cec48dacc681230984d9fe78af7e31d89529f1 by spatel
[x86] add tests for concat self + shuffle; NFC
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-combining-avx.ll
Commit b73fea6a7cfd87fe07b9c05ba153042198b5d873 by wan.yu
[NFC] Test commit, whitespace change
As per the Developer Policy, upon obtaining commit access.
The file was modifiedclang/lib/Driver/ToolChains/AIX.cpp
Commit 02f694b69a8b30db7b5d43670da5ab3b9f31bb81 by wan.yu
 [NFC] Test commit, revert whitespace change
As per the Developer Policy, upon obtaining commit access.
The file was modifiedclang/lib/Driver/ToolChains/AIX.cpp
Commit 7b518dcb291e740c3e957d93c2b4046bc8a97f00 by a.bataev
[OPENMP50]Support lastprivate conditional updates in inc/dec unary ops.
Added support for checking of updates of variables used in unary
pre(pos) inc/dec expressions.
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/for_lastprivate_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/sections_lastprivate_codegen.cpp
Commit ca868002d31b013b1d5998177ea4252ffcd84b67 by craig.topper
[X86] Rename vec-strict-*-cmp.ll to vec-strict-cmp-*.ll to match other
strict files wich have the size at the end. NFC
The file was addedllvm/test/CodeGen/X86/vec-strict-cmp-128.ll
The file was removedllvm/test/CodeGen/X86/vec-strict-256-cmp.ll
The file was addedllvm/test/CodeGen/X86/vec-strict-cmp-256.ll
The file was removedllvm/test/CodeGen/X86/vec-strict-512-cmp.ll
The file was addedllvm/test/CodeGen/X86/vec-strict-cmp-512.ll
The file was removedllvm/test/CodeGen/X86/vec-strict-128-cmp.ll
Commit 62f3403bfc17906aba555d6100e0136363f6a649 by craig.topper
[LegalizeTypes] Add widening support for STRICT_FSETCC/FSETCCS
This patch adds widening which really just scalarizes because we don't
have a strategy for the extra elements we would need to pad with.
Differential Revision: https://reviews.llvm.org/D72193
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was addedllvm/test/CodeGen/X86/vec-strict-cmp-sub128.ll
Commit 317cbdad4d1b9ea7ec703072aba34eeb62c9d3af by Jonas Devlieghere
[lldb/Docs] Describe optional dependencies on build page.
List the different CMake flags controlling the optional dependencies as
per the discussion on the mailing list:
http://lists.llvm.org/pipermail/lldb-dev/2020-January/015867.html
The file was modifiedlldb/docs/resources/build.rst
Commit 6a0564adcfe65956cb1099e8ec6c4801655007c4 by craig.topper
[X86] Improve v4i32->v4f64 uint_to_fp for AVX1/AVX2 targets.
Use zext+or+fsub to do the conversion. Similar to D71971.
Differential Revision: https://reviews.llvm.org/D71971
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-256.ll
The file was modifiedllvm/test/CodeGen/X86/vec_int_to_fp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vec_uint_to_fp.ll
Commit 5518a02a83e855edeff7d8b4db685ec5d1b4144e by arsenm2
llc/MIR: Fix setFunctionAttributes for MIR functions
A random set of attributes are implemented by llc/opt forcing the string
attributes on the IR functions before processing anything. This would
not happen for MIR functions, which have not yet been created at this
point.
Use a callback in the MIR parser, purely to avoid dealing with the
ugliness that the command line flags are in a .inc file, and would
require allowing access to these flags from multiple places (either from
the MIR parser directly, or a new utility pass to implement these
flags). It would probably be better to cleanup the flag handling into a
separate library.
This is in preparation for treating more command line flags with a
corresponding function attribute in a more uniform way. The fast math
flags in particular have a messy system where the command line flag sets
the behavior from a function attribute if present, and otherwise the
command line flag. This means if any other pass tries to inspect the
function attributes directly, it will be inconsistent with the intended
behavior. This is also inconsistent with the current behavior of -mcpu
and -mattr, which overwrites any pre-existing function attributes. I
would like to move this to consistenly have the command line flags not
overwrite any pre-existing attributes, and to always ensure the command
line flags are consistent with the function attributes.
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.inc
The file was addedllvm/test/CodeGen/MIR/AMDGPU/llc-target-cpu-attr-from-cmdline-ir.mir
The file was modifiedllvm/lib/CodeGen/MIRParser/MIRParser.cpp
The file was addedllvm/test/CodeGen/MIR/AMDGPU/llc-target-cpu-attr-from-cmdline.mir
The file was modifiedllvm/include/llvm/CodeGen/MIRParser/MIRParser.h
The file was modifiedllvm/tools/llc/llc.cpp
Commit 14d25052a2902dacdd73aa1714ba1fb639c1dedd by arsenm2
AMDGPU: Use ImmLeaf for inline immediate predicates
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
Commit a506efff18224a0c73db42bed8679413514c28b1 by arsenm2
AMDGPU: Use ImmLeaf
This solves one GlobalISel importer error, but the pattern still fails
for another reason.
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
Commit 7f2db2917da9e4fe43976b7abe37400812ed5dea by arsenm2
AMDGPU: Fix legalizing f16 fpow
The existing test only covered one case for r600. The use of mul_legacy
also looks suspicious to me, but leave it for now. The patterns are also
not making use of source modifiers.
The file was addedllvm/test/CodeGen/AMDGPU/fpow.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
Commit 0b093f02120e212b9c1305eae626e9b5e99b92fa by arsenm2
GlobalISel: Start adding computeNumSignBits to GISelKnownBits
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
Commit 1060b9e23b8f9d2802835896947ec281ba3b4f6b by arsenm2
GlobalISel: Correct result type for G_FCMP in lowerFPTOUI
Using the final result type doesn't make any sense. Use the natural
default boolean type for the select condition.
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/fptosi_and_fptoui.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/fptosi_and_fptoui.ll
Commit ee6b8722ffa101b57af9029c84691cb7e8a43799 by arsenm2
GlobalISel: Fix unsupported legalize action
This would complain about invalid legalizer rules otherwise.
Mark some operations as unsupported for AMDGPU. This currently seems to
produce the same legalize error as when no rules are defined, but
eventually this should produce a proper user facing error.
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-jump-table.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit f5329bfc76bb6fc30a589e8238aabc005c52e5d6 by tyker
[Diagnostic] make Wmisleading-indendation not warn about labels
Reviewers: aaron.ballman, xbolva00
Reviewed By: aaron.ballman
Subscribers: nickdesaulniers, nathanchance
Differential Revision: https://reviews.llvm.org/D72202
The file was modifiedclang/test/Parser/warn-misleading-indentation.cpp
The file was modifiedclang/lib/Parse/ParseStmt.cpp
Commit 24ee4edee8e00bb7ad3d3cda17d02a442456ff3e by Jinsong Ji
[PowerPC][NFC] Rename record instructions to use _rec suffix instead of
o
We use o suffix to indicate record form instuctions,
(as it is similar to dot '.' in mne?)
This was fine before, as we did not support XO-form. However, with
https://reviews.llvm.org/D66902, we now have XO-form support.
It becomes confusing now to still use 'o' for record form, and it is
weird to have something like 'Oo' .
This patch rename all 'o' instructions to use '_rec' instead. Also
rename `isDot` to `isRecordForm`.
Reviewed By: #powerpc, hfinkel, nemanjai, steven.zhang, lkail
Differential Revision: https://reviews.llvm.org/D70758
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrHTM.td
The file was modifiedllvm/test/CodeGen/PowerPC/peephole-miscompile-extswsli.mir
The file was modifiedllvm/test/CodeGen/PowerPC/rlwinm_rldicl_to_andi.mir
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
The file was modifiedllvm/lib/Target/PowerPC/P9InstrResources.td
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrFormats.td
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/ifcvt-diamond-ret.mir
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrVSX.td
The file was modifiedllvm/test/CodeGen/PowerPC/opt-sub-inst-cr0-live.mir
The file was modifiedllvm/test/CodeGen/PowerPC/block-placement.mir
The file was modifiedllvm/test/CodeGen/PowerPC/opt-cmp-inst-cr0-live.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/fold-rlwinm.mir
The file was modifiedllvm/lib/Target/PowerPC/PPCMIPeephole.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs-out-of-range.mir
The file was modifiedllvm/lib/Target/PowerPC/PPCInstr64Bit.td
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrAltivec.td
The file was modifiedllvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs.mir
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
Commit d8fd92eaaa34b463a573ed1b216f93a3d1ff6eef by thomasp
[FileCheck] Remove FileCheck prefix in API
Summary: When FileCheck was made a library, types in the public API were
renamed to add a FileCheck prefix, such as Pattern to FileCheckPattern.
Many types were moved into a private interface and thus don't need this
prefix anymore. This commit removes those unneeded prefixes.
Reviewers: jhenderson, jdenny, probinson, grimar, arichardson, rnk
Reviewed By: jhenderson
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72186
The file was modifiedllvm/unittests/Support/FileCheckTest.cpp
The file was modifiedllvm/lib/Support/FileCheckImpl.h
The file was modifiedllvm/lib/Support/FileCheck.cpp
Commit 83d690a149802d40c711d4fb5a058dd1ebe4aa23 by isanbard
Don't rely on 'l'(ell) modifiers to indicate a label reference
Summary: It's not necessary to use an 'l'(ell) modifier when referencing
a label. Treat block addresses and MBB references as if the modifier is
used anyway. This prevents us from generating references to ficticious
labels.
Reviewers: jyknight, nickdesaulniers, hfinkel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71849
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
The file was modifiedllvm/test/CodeGen/X86/callbr-asm.ll
Commit 71a2a62163cfafbc31cd827106506c73ff49e8b5 by phosek
[CMake] Pass symlink dependency to add_llvm_install_targets explicitly
The install-${name}-stripped targets don't strip when ${name} is being
symlinked, e.g. llvm-ar or llvm-objcopy. The problem is that
llvm_install_symlink passes install-${dest} as a dependency of
install-${name}, e.g. install-llvm-ar becomes a dependency of both
install-llvm-ranlib and install-llvm-ranlib-stripped. What this means is
that when installing a distribution that contains both llvm-ar and
llvm-ranlib is that first the stripped version of llvm-ar is installed
(by the install-llvm-ar-stripped target) and then it's overwritten by an
unstripped version of llvm-ar bnecause install-llvm-ranlib-stripped has
install-llvm-ranlib as a dependency as mentioned earlier. To avoid this
issue, rather than passing the install-${dest} as dependency, we
introduce a new argument to add_llvm_install_targets for symlink target
which expands it into an appropriate dependency, i.e. install-${dest}
for install-${name} target and install-${dest}-stripped for
install-${name}-stripped.
Differential Revision: https://reviews.llvm.org/D71951
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit 59fadc14eeb1d63177b76147b26348a106ac1f9b by ditaliano
[NSArray] Remove a very old and deprecated formatter.
Checked with the Foundation folks.
The file was modifiedlldb/source/Plugins/Language/ObjC/NSArray.cpp
Commit b5e7f95cfbeb28ff8b966a2b7e38a03f32410030 by eugenis
[msan] Check qsort input.
Summary: Qsort interceptor suppresses all checks by unpoisoning the data
in the wrapper of a comparator function, and then unpoisoning the output
array as well.
This change adds an explicit run of the comparator on all elements of
the input array to catch any sanitizer bugs.
Reviewers: vitalybuka
Subscribers: #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D71780
The file was modifiedcompiler-rt/test/msan/qsort.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
Commit 08d17cb065da46be02d36ebeaac1106ee330935b by listmail
[X86] Move an enum definition into a header to simplify future patches
[NFC]
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
Commit 450073c639d7f182e48ec8b1b588212194089a52 by Jason Molenda
Change the patterns to include the prefix '= ' so we don't pass
errantly. Looking at a sometimes-passing test case on a platform where
random values were being returned - sometimes the expected digit ('1' or
'2') would be included in the random returned value.  Add a prefix to
reduce the likelihood of this a bit.
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/TestCallOverriddenMethod.py
Commit f3de8ab5ccedefb3165dae2511650d6a60e905cf by arsenm2
GlobalISel: Implement lower for G_INTRINSIC_ROUND
Mostly copied from AMDGPU lowering implementation, except used G_SITOFP
instead of directly creating a select on -1.0, 0.0.
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-intrinsic-round.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-round.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit 26f714ff43e3498ae2528ad8c9875de77a529472 by arsenm2
TableGen/GlobalISel: Handle default operands that are used
Copy the logic from the existing handling in the DAG matcher emittter.
This will enable some AMDGPU pattern cleanups without breaking
GlobalISel tests, and eventually handle importing more patterns.
The test is a bit annoying since the sections seem to randomly sort
themselves if anything else is added in the future.
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
The file was addedllvm/test/TableGen/DefaultOpsGlobalISel.td
Commit 4e85ca9562a588eba491e44bcbf73cb2f419780f by arsenm2
AMDGPU/GlobalISel: Replace handling of boolean values
This solves selection failures with generated selection patterns, which
would fail due to inferring the SGPR reg bank for virtual registers with
a set register class instead of VCC bank. Use instruction selection
would constrain the virtual register to a specific class, so when the
def was selected later the bank no longer was set to VCC.
Remove the SCC reg bank. SCC isn't directly addressable, so it requires
copying from SCC to an allocatable 32-bit register during selection, so
these might as well be treated as 32-bit SGPR values.
Now any scalar boolean value that will produce an outupt in SCC should
be widened during RegBankSelect to s32. Any s1 value should be a vector
boolean during selection. This makes the vcc register bank unambiguous
with a normal SGPR during selection.
Summary of how this should now work:
- G_TRUNC is always a no-op, and never should use a vcc bank result.
- SALU boolean operations should be promoted to s32 in RegBankSelect
apply mapping
- An s1 value means vcc bank at selection. The exception is for
legalization artifacts that use s1, which are never VCC. All other
contexts should infer the VCC register classes for s1 typed
registers. The LLT for the register is now needed to infer the
correct register class. Extensions with vcc sources should be
legalized to a select of constants during RegBankSelect.
- Copy from non-vcc to vcc ensures high bits of the input value are
cleared during selection.
- SALU boolean inputs should ensure the inputs are 0/1. This includes
select, conditional branches, and carry-ins.
There are a few somewhat dirty details. One is that G_TRUNC/G_*EXT
selection ignores the usual register-bank from register class functions,
and can't handle truncates with VCC result banks. I think this is OK,
since the artifacts are specially treated anyway. This does require some
care to avoid producing cases with vcc. There will also be no 100%
reliable way to verify this rule is followed in selection in case of
register classes, and violations manifests themselves as invalid copy
instructions much later.
Standard phi handling also only considers the bank of the result
register, and doesn't insert copies to make the source banks match. This
doesn't work for vcc, so we have to manually correct phi inputs in this
case. We should add a verifier check to make sure there are no phis with
mixed vcc and non-vcc register bank inputs.
There's also some duplication with the LegalizerHelper, and some code
which should live in the helper. I don't see a good way to share special
knowledge about what types to use for intermediate operations depending
on the bank for example. Using the helper to replace extensions with
selects also seems somewhat awkward to me.
Another issue is there are some contexts calling getRegBankFromRegClass
that apparently don't have the LLT type for the register, but I haven't
yet run into a real issue from this.
This also introduces new unnecessary instructions in most cases, since
we don't yet try to optimize out the zext when the source is known to
come from a compare.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-brcond.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.wqm.vote.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.div.fmas.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGenRegisterBankInfo.def
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.if.break.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-and.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-or.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/bool-legalization.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-icmp.s64.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.kill.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-usubo.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-select.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-icmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-icmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-anyext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-brcond.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-umax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-and-s1.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-anyext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-implicit-def.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.is.shared.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-xor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.if.break.i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-uaddo.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-trunc.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-phi-invalid.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.is.private.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-usube.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-uadde.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.end.cf.i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-xor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-copy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.end.cf.i32.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBanks.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-ssube.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-trunc.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-usubo.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-zext.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-phi-s1.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-umin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-zext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-brcond.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-uaddo.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-or.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-select.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-smax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-sadde.mir
Commit d4c9e13324443c0324148156d54d2c7c81393327 by arsenm2
AMDGPU/GlobalISel: Select G_UADDE/G_USUBE
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-uadde.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-usube.gfx10.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-uadde.gfx10.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-usube.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
Commit c6fd16af2be98b49d663285e3808ecde61bec614 by Akira
Use FileCheck instead of grep
The file was modifiedclang/test/CodeGenObjC/encode-test-2.m
Commit 6904cd948674df7f55843519695dbc95157a9429 by maskray
Add Triple::isX86()
Reviewed By: craig.topper, skan
Differential Revision: https://reviews.llvm.org/D72247
The file was modifiedclang/lib/AST/MicrosoftMangle.cpp
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedclang/lib/Parse/ParseStmtAsm.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/include/llvm/ADT/Triple.h
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/Driver/ToolChains/FreeBSD.cpp
Commit 5e0e0e3ff05f57b9495db57b6b205492d34cb5a8 by koraq
[NFC] Fixes -Wrange-loop-analysis warnings
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to
-Wall.
The file was modifiedllvm/unittests/Support/ReverseIterationTest.cpp
Commit 7ba4595c86be88bf9ebb7261ba49ed4626e5f585 by eugenis
[msan] Fix underflow in qsort interceptor.
The file was modifiedcompiler-rt/test/msan/qsort.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
Commit 20f005d25f488fa1dc69d6792700e014c6a5d165 by Akira
[CodeGen][ObjC] Push the properties of a protocol before pushing the
properties of the protocol it inherits
This fixes a bug where the type string for a @dynamic property of an
@implementation didn't have 'D' in it when the protocol it conforms to
redeclares the property declared in the base protocol.
rdar://problem/45503561
The file was modifiedclang/test/CodeGenObjC/encode-test-2.m
The file was modifiedclang/lib/CodeGen/CGObjCMac.cpp
Commit 52afc93c38c4dc6071172e2f580d364592d92dda by arsenm2
AMDGPU/GlobalISel: Legalize G_READCYCLECOUNTER
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/readcyclecounter.ll
Commit 21f7b362095f7497aa87ccc334fe18bbc072854c by aheejin
[WebAssembly] Fix landingpad-only case in Emscripten EH
Summary: Previously we didn't set `Changed` to true when there are only
landing pads but not invokes. This fixes it and we set `Changed` to true
whenever we have landing pads. (There can't be invokes without landing
pads, so that case is covered too)
The test case for this has to be a separate file because this pass is a
`ModulePass` and `Changed` is computed based on the whole module.
Reviewers: tlively
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72308
The file was addedllvm/test/CodeGen/WebAssembly/lower-em-exceptions-lpad-only.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
Commit e93b1ffc8490d943690726370a0e9277fd78520d by arsenm2
AMDGPU: Use default operands for clamp/omod
We have a lot of complex pattern variants that just set the source
modifiers that are really handled, and then set the output modifiers to
0. We're unlikely to ever match output modifiers from the use
instruction side, and we already match clamp/omod in a separate pass.
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
Commit 907cefe721437fa8950c1b6c1c028038b175f921 by richard
Always deduce the lengths of contained parameter packs when deducing a
pack expansion.
Previously, if all parameter / argument pairs for a pack expansion
deduction were non-deduced contexts, we would not deduce the arity of
the pack, and could end up deducing a different arity (leading to
failures during substitution) or defaulting to an arity of 0 (leading to
bad diagnostics about passing the wrong number of arguments to a
variadic function). Instead, we now always deduce the arity for all
involved packs any time we deduce a pack expansion.
This will result in less substitution happening in some cases, which
could avoid non-SFINAEable errors, and should generally improve the
quality of diagnostics when passing initializer lists to variadic
functions.
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
The file was modifiedclang/test/SemaTemplate/deduction.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/CXX/drs/dr13xx.cpp
The file was modifiedclang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p5-0x.cpp
The file was modifiedclang/test/SemaTemplate/pack-deduction.cpp
The file was modifiedclang/test/SemaTemplate/alias-templates.cpp
Commit 452f6243c9be73a476f796b1425bfc58749b9805 by arsenm2
AMDGPU: Select llvm.amdgcn.interp.p2.f16 directly
This will enable automatic GlobalISel support in a future commit.
The file was modifiedllvm/lib/Target/AMDGPU/VOP3Instructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit e8d9d202bc93f64c5225f15af2e6b9957100fd60 by arsenm2
AMDGPU: Add run line to int_to_fp tests
This wasn't catching a regression on targets with legal i16 triggered in
a future commit.
The file was modifiedllvm/test/CodeGen/AMDGPU/uint_to_fp.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sint_to_fp.f64.ll
Commit d877229b5b21c833e2344eda7c07f9c49d4dc453 by qshanz
[NFC][Test] Add a test to verify the DAGCombine of fma
The file was addedllvm/test/CodeGen/PowerPC/fma-combine.ll
Commit e3750cafdb17f5b7431f18c0229bfb597dde4c88 by ntv
[mlir][Linalg] Add a linalg.reshape op
Summary: This diff adds a new operation to linalg to allow reshaping of
an existing view into a new view in the same buffer at the same offset.
More specifically: The `linalg.reshape` op produces a new view whose
sizes are a reassociation of the original `view`. Depending on whether
or not the reassociated MemRefType is contiguous, the resulting memref
may require explicit alloc and copies.
A reassociation is defined as a continous grouping of dimensions and is
represented with a affine map array attribute. In the future,
non-continous groupings may be allowed (i.e. permutations, reindexings
etc).
For now, it is assumed that either:
1. a reassociation produces and consumes contiguous MemRefType or,
2. the reshape op will be folded into its consumers (by changing the
shape
    of the computations). All other cases are undefined behavior and a
reshape op may not lower to LLVM if it cannot be proven statically that
it does not require alloc+copy.
A reshape may either collapse or expand dimensions, depending on the
relationship between source and target memref ranks. The verification
rule is that the reassociation maps are applied to the memref with the
larger rank to obtain the memref with the smaller rank. In the case of a
dimension expansion, the reassociation maps can be interpreted as
inverse maps.
Examples:
```mlir
  // Dimension collapse (i, j) -> i' and k -> k'
  %1 = linalg.reshape %0 [(i, j, k) -> (i, j),
                          (i, j, k) -> (k)] :
    memref<?x?x?xf32, stride_spec> into memref<?x?xf32, stride_spec_2>
```
```mlir
  // Dimension expansion i -> (i', j') and (k) -> (k')
  %1 = linalg.reshape %0 [(i, j, k) -> (i, j),
                          (i, j, k) -> (k)] :
    memref<?x?xf32, stride_spec> into memref<?x?x?xf32, stride_spec_2>
```
The relevant invalid and roundtripping tests are added.
Reviewers: AlexEichenberger, ftynse, rriddle, asaadaldien, yangjunpro
Subscribers: kiszk, merge_guards_bot, mehdi_amini, jpienaar, burmako,
shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72168
The file was modifiedmlir/include/mlir/IR/StandardTypes.h
The file was modifiedmlir/lib/IR/StandardTypes.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Dialect/Linalg/invalid.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/EDSC/Intrinsics.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
The file was modifiedmlir/include/mlir/IR/AffineExpr.h
Commit dc7b84c66c10f47adf22baab0103eb9f6593cd72 by arsenm2
AMDGPU/GlobalISel: Fix unused variable warning in release
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit aa708763d30384c0da0b0779be96ba45f65773df by maskray
[MC] Add parameter `Address` to MCInstPrinter::printInst
printInst prints a branch/call instruction as `b offset` (there are many
variants on various targets) instead of `b address`.
It is a convention to use address instead of offset in most external
symbolizers/disassemblers. This difference makes `llvm-objdump -d`
output unsatisfactory.
Add `uint64_t Address` to printInst(), so that it can pass the argument
to printInstruction(). `raw_ostream &OS` is moved to the last to be
consistent with other print* methods.
The next step is to pass `Address` to printInstruction() (generated by
tablegen from the instruction set description). We can gradually migrate
targets to print addresses instead of offsets.
In any case, downstream projects which don't know `Address` can pass 0
as the argument.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D72172
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h
The file was modifiedllvm/lib/Target/ARC/MCTargetDesc/ARCInstPrinter.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Analysis.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
The file was modifiedllvm/lib/MC/MCDisassembler/Disassembler.cpp
The file was modifiedllvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.h
The file was modifiedllvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.h
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.h
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsInstPrinter.cpp
The file was modifiedllvm/lib/Target/Lanai/MCTargetDesc/LanaiInstPrinter.cpp
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
The file was modifiedllvm/lib/Target/AVR/MCTargetDesc/AVRInstPrinter.cpp
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsInstPrinter.h
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.h
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.h
The file was modifiedllvm/lib/Target/ARC/MCTargetDesc/ARCInstPrinter.h
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.h
The file was modifiedllvm/lib/Target/AVR/MCTargetDesc/AVRInstPrinter.h
The file was modifiedllvm/tools/llvm-objdump/MachODump.cpp
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/tools/llvm-mca/Views/BottleneckAnalysis.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.h
The file was modifiedllvm/lib/Target/Lanai/MCTargetDesc/LanaiInstPrinter.h
The file was modifiedllvm/lib/Target/MSP430/MCTargetDesc/MSP430InstPrinter.h
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMInstPrinter.h
The file was modifiedllvm/lib/Target/BPF/MCTargetDesc/BPFInstPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMInstPrinter.cpp
The file was modifiedllvm/lib/Target/MSP430/MCTargetDesc/MSP430InstPrinter.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.h
The file was modifiedllvm/tools/llvm-mca/Views/TimelineView.cpp
The file was modifiedllvm/lib/Target/BPF/MCTargetDesc/BPFInstPrinter.h
The file was modifiedllvm/lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.h
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.h
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/include/llvm/MC/MCInstPrinter.h
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.h
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
The file was modifiedllvm/tools/llvm-mca/Views/ResourcePressureView.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
The file was modifiedllvm/tools/llvm-mca/llvm-mca.cpp
The file was modifiedllvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
The file was modifiedllvm/tools/llvm-mca/Views/InstructionInfoView.cpp
Commit 3d87d0b925713effb108a387924562211ecbf2be by maskray
[MC] Add parameter `Address` to MCInstrPrinter::printInstruction
Follow-up of D72172.
Reviewed By: jhenderson, rnk
Differential Revision: https://reviews.llvm.org/D72180
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.h
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.h
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMInstPrinter.cpp
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMInstPrinter.h
The file was modifiedllvm/lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsInstPrinter.h
The file was modifiedllvm/lib/Target/Lanai/MCTargetDesc/LanaiInstPrinter.h
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
The file was modifiedllvm/lib/Target/ARC/MCTargetDesc/ARCInstPrinter.cpp
The file was modifiedllvm/lib/Target/AVR/MCTargetDesc/AVRInstPrinter.h
The file was modifiedllvm/lib/Target/BPF/MCTargetDesc/BPFInstPrinter.cpp
The file was modifiedllvm/lib/Target/ARC/MCTargetDesc/ARCInstPrinter.h
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsInstPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.h
The file was modifiedllvm/lib/Target/MSP430/MCTargetDesc/MSP430InstPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.h
The file was modifiedllvm/lib/Target/BPF/MCTargetDesc/BPFInstPrinter.h
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.h
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp
The file was modifiedllvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.h
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.h
The file was modifiedllvm/utils/TableGen/AsmWriterEmitter.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
The file was modifiedllvm/lib/Target/Lanai/MCTargetDesc/LanaiInstPrinter.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
The file was modifiedllvm/lib/Target/MSP430/MCTargetDesc/MSP430InstPrinter.h
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.h
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.h
The file was modifiedllvm/lib/Target/AVR/MCTargetDesc/AVRInstPrinter.cpp
The file was modifiedllvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h
The file was modifiedllvm/lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.h
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.h
Commit ff554a9179032167953595ca885a8fd12ac61036 by aqjune
Let PassBuilder Expose PassInstrumentationCallbacks
Summary: This is an effort to allowing external libraries register their
own pass instrumentation during their llvmGetPassPluginInfo() calls.
By exposing this through the added getPIC(), now a pass writer can do
something like this:
``` extern "C" ::llvm::PassPluginLibraryInfo LLVM_ATTRIBUTE_WEAK
llvmGetPassPluginInfo() {
return {
   ..,
   [](llvm::PassBuilder &PB) {
     PB.getPIC()->registerAfterPassCallback(move(f));
   }
};
}
``