SuccessChanges

Summary

  1. Execute libc++abi tests on Armv7 devboard by llvm-clang-win-x-armv7l builder. (details)
  2. Merge requests for llvm-clang-win-x-armv7l and llvm-clang-win-x-aarch64 builders. (details)
  3. Requested informative notifications for aarch64/armv7 cross builders. (details)
  4. [buildot] Add myself to the lldb-windows notification list. (details)
Commit f3823f5fe91d59d9b5ef840380e2dff70d406952 by vvereschaka
Execute libc++abi tests on Armv7 devboard by llvm-clang-win-x-armv7l builder.
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit e7e9b4eca0b8fc474a61ab232ee5133dff62003d by vvereschaka
Merge requests for llvm-clang-win-x-armv7l and llvm-clang-win-x-aarch64 builders.

Too long build queue (up to 26 hours).
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 7e272b6925855525b62859c86b1b319438189849 by vvereschaka
Requested informative notifications for aarch64/armv7 cross builders.
The file was modifiedbuildbot/osuosl/master/config/status.py (diff)
Commit cbccdbde6fbbfd4ab945a3bff18d6bc43a4b66bc by Jonas Devlieghere
[buildot] Add myself to the lldb-windows notification list.
The file was modifiedbuildbot/osuosl/master/config/status.py (diff)

Summary

  1. [InstCombine] add tests for casted phi; NFC (details)
  2. [AMDGPU] getMemOperandsWithOffset: add resource operand for BUF instructions (details)
  3. [ThinLTO] More efficient export computation (NFC) (details)
  4. [OPENMP50]Codegen support for order(concurrent) clause. (details)
  5. [OPENMP][DOCS]Update status of conditional lastprivate, NFC. (details)
  6. [InstCombine] Fix unused variable warning; NFC (details)
  7. [Examples] Link BitReader in ThinLtoJIT example (details)
  8. [ARM] Expand vector reduction intrinsics on soft float (details)
  9. [CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition (details)
  10. [InstCombine] Rename worklist methods; NFC (details)
  11. [InstCombine] Add replaceOperand() helper (details)
  12. [X86] getTargetShuffleMask - use getConstantOperandVal helper. NFCI. (details)
  13. [IRBuilder] Remove unnecessary NoFolder methods; NFCI (details)
  14. Revert "[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition" (details)
  15. [IRBuilder] Add missing NoFolder::CreatePointerBitCastOrAddrSpaceCast(); NFC (details)
  16. [SimplifyLibCalls] Remove unused IRBuilder argument; NFC (details)
  17. [SVE] Fix bug in simplification of scalable vector instructions (details)
  18. [LoopUtils] Make duplicate method a utility. [NFCI] (details)
  19. [clang] detect switch fallthrough marked by a comment (PR43465) (details)
  20. [lldb] Delete ClangForward.h (details)
  21. [lldb] Remove unused parameter from ValueObject::GetExpressionPath (details)
  22. [llvm-objdump] Suppress spurious warnings when parsing Mach-O binaries. (details)
  23. Revert "[SVE] Fix bug in simplification of scalable vector instructions" (details)
  24. Add PassManagerImpl.h to hide implementation details (details)
  25. Fix a -Wbitwise-conditional-parentheses warning in _LIBUNWIND_ARM_EHABI libunwind builds (details)
  26. [TargetRegisterInfo] Make the heuristic to skip region split overridable by the target (details)
  27. GlobalISel: Implement fewerElementsVector for G_SEXT_INREG (details)
  28. [AArch64][GlobalISel] Don't reconvert to p0 in convertPtrAddToAdd(). (details)
  29. [AArch64][GlobalISel] Walk through G_AND in TB(N)Z bit calculation (details)
  30. [MLIR][Linalg] Allow fusion of more than 2 linalg ops. (details)
  31. [MLIR][Linalg] Use GenericLoopNestRangeBuilder in tiling code. (details)
  32. [clang-doc] Improving Markdown Output (details)
  33. [AIX] Don't use a zero fill with a second parameter (details)
  34. Revert "[clang-doc] Improving Markdown Output" (details)
  35. AMDGPU: Fix splitting wide f32 s.buffer.load intrinsics (details)
  36. AMDGPU/GlobalISel: Allow selecting s128 load/stores (details)
  37. [GWP-ASan] Allow late initialisation if single-threaded. (details)
  38. AMDGPU: Analyze divergence of inline asm (details)
  39. [analyzer] Re-land 0aba69e "Add test directory for scan-build." (details)
  40. [analyzer] Suppress linker invocation in scan-build tests. (details)
  41. scudo: Use more size classes in the malloc_free_loop benchmarks. (details)
  42. [NFC] Factor out function to detect if an attribute has an argument. (details)
  43. [mlir] Accept an LLVM::LLVMFuncOp in the builder of LLVM::CallOp (details)
  44. Omit "Contents of" headers when -no-leading-headers is specified. (details)
  45. [ARM] MVE vector reduction fadd and fmul tests. NFC (details)
  46. Fix LLVM_ENABLE_MODULES build after TypeSize.h change (details)
  47. Refactor CommandObjectTargetSymbolsAdd::AddModuleSymbols (details)
  48. Improve help text for (lldb) target symbols add (details)
  49. Fix modules build after PassManagerImpl.h addition (details)
  50. AMDGPU: Add flag to control mem intrinsic expansion (details)
  51. [AArch64][GlobalISel] Fold G_SHL into TB(N)Z bit calculation (details)
  52. [libFuzzer] Minor documentation fixes. (details)
  53. [ANDGPU] getMemOperandsWithOffset: support BUF non-stack-access instructions with resource but no vaddr (details)
  54. [AArch64][GlobalISel] Fold G_XOR into TB(N)Z bit calculation (details)
  55. [OpenMP] [DOCS] Update OMP5.0 feature status table [NFC] (details)
  56. [lldb/DataExtractor] Fix UB shift in GetMaxS64Bitfield (details)
  57. [lldb/DataExtractor] Use an early return in GetMaxS64Bitfield, NFC (details)
  58. [lldb/StringPrinter] Simplify StringPrinterBufferPointer, NFC (details)
  59. [compiler-rt] implement sigaltstack interception (details)
  60. [TestKernVerStrLCNOTE] Strengthen a check. NFC. (details)
  61. Reland "[AArch64] Fix data race on RegisterBank initialization." (details)
  62. Revert "Reland "[AArch64] Fix data race on RegisterBank initialization."" (details)
  63. [X86] Update the haswell and broadwell scheduler information for gather instructions (details)
  64. DebugInfo: Add missing test coverage for DW_OP_convert in loclists (details)
  65. hwasan_symbolize: warn about missing symbols at most once per library (details)
  66. hwasan_symbolize: allow 0x in the address field (details)
  67. DebugInfo: Check DW_OP_convert in loclists with Split DWARF (details)
  68. DebugInfo: Fix convert-loclist.ll to handle different target instruction lengths (details)
  69. DebugInfo: Simplify emitDebugLocEntry by never passing a null CU (details)
  70. Xfail this test temporarily until AdrianM or I can (details)
  71. DebugInfo: Hash DW_OP_convert in loclists when using Split DWARF (details)
  72. Fix unused variable warning (NFC) (details)
  73. [X86] Don't emit two X86ISD::COMI/UCOMI nodes when handling comi/ucomi intrinsics. (details)
  74. Re-land "[lldb/Test] Make substrs argument to self.expect ordered." (details)
  75. [lldb/Test] Use arrays instead of sets for build_and_run_expr (details)
  76. [lldb/Test] Sort substr for TestDataFormatterStdMap.py (details)
  77. [lldb/Test] Fix typo in TestDataFormatterStdMap.py (details)
  78. [lldb] [ObjectFile/ELF] Fix negated seg ids on 32-bit arches (details)
  79. Update TTI's getUserCost to return TCC_Free on freeze (details)
  80. [lldb/Test] Fix substr order in asan & ubsan tests (details)
  81. [lldb/Test] Sort substr for TestDataFormatterStdMap.py (2/2) (details)
  82. [X86] Use X86ISD::SUB instead of X86ISD::CMP in some places. (details)
  83. [mlir] Initial support for type constraints in the declarative assembly format (details)
  84. [mlir][ODS] Refactor BuildableType to use $_builder as part of the format (details)
  85. [mlir] Emit a fatal error when the assembly format is invalid (details)
  86. [X86] Remove some uncovered and possibly broken code from combineZext. (details)
  87. [GVN] Add GVNOption to control load-pre more fine-grained. (details)
  88. [X86] Remove unneeded code that looks for (and (i8 (X86setcc_c)) (details)
  89. Let isGuaranteedNotToBeUndefOrPoison consider PHINode with constant values (details)
  90. [ValueTracking] Let isGuaranteedToBeUndefOrPoison look into operands of icmp (details)
  91. [update_cc_test_checks] Don't attach CHECK lines to function declarations (details)
  92. [NFC] Encapsulate MemOp logic (details)
  93. [ARM][VecReduce] Force expand vector_reduce_fmin (details)
  94. Revert "[X86] Use X86ISD::SUB instead of X86ISD::CMP in some places." (details)
  95. [lldb][NFC] Use correct Decl typedef in ClangASTSource (details)
  96. [DAG] OptLevelChanger - fix uninitialized variable analyzer warning (PR44471) (details)
  97. [OpenCL] Tidy up OpenCLBuiltins.td (details)
  98. [NFC] Fix some spelling mistakes to test pushing to GH. (details)
  99. Improve error message of FileCheck when stdin is empty (details)
  100. [OpenMP][OMPT] fix reduction test for 32-bit x86 (details)
  101. [ARM] Make ARM::ArchExtKind use 64-bit underlying type, NFCI (details)
  102. [clangd] Mechanism to make update debounce responsive to rebuild speed. (details)
  103. [yaml2obj/obj2yaml] - Add support for the SHT_LLVM_CALL_GRAPH_PROFILE section. (details)
  104. [Matrix] Mark matrix memory intrinsics as argmemonly/write|read mem. (details)
  105. [InstCombine] fix operands of shouldChangeType() for casted phi transform (details)
  106. [InstCombine] add splat tests with undef elements; NFC (details)
  107. [lldb] Increase LINK_INTERFACE_MULTIPLICITY for Debug builds (details)
  108. [lldb] [testsuite] generalize `DWARFASTParserClangTests` based on `DWARFExpressionTest`'s YAML (details)
  109. [mlir][spirv] Add resource limits into target environment (details)
  110. [Linalg] Add tiling of Linalg to parallel loops. (details)
  111. [mlir][spirv] Wrap debug-only method in #ifndef NDEBUG (details)
  112. [lldb] [testsuite] Fixup: generalize `DWARFASTParserClangTests` based on `DWARFExpressionTest`'s YAML (details)
  113. [InstCombine] add more splat tests with undef elements; NFC (details)
  114. [clangd] Increase stack size of the new threads on macOS (details)
  115. [Polly] Fix compilation after 105642af5eef: include PassManagerImpl.h (details)
  116. Revert "[clangd] Mechanism to make update debounce responsive to rebuild speed." (details)
  117. [ARM] Make ARM::ArchExtKind use 64-bit underlying type (part 2), NFCI (details)
  118. [DebugInfo] Re-instate LiveDebugVariables scope trimming (details)
  119. Revert "DebugInfo: Check DW_OP_convert in loclists with Split DWARF" (details)
  120. Revert "DebugInfo: Add missing test coverage for DW_OP_convert in loclists" (details)
  121. [SystemZ]  Support -msoft-float (details)
  122. [SystemZ]  Add 'REQUIRES:' or '-mtriple' to some newly added tests. (details)
  123. [VE] half fptrunc+store&load+fpext (details)
  124. Reland "[clangd] Mechanism to make update debounce responsive to rebuild speed." (details)
  125. [clangd] Don't assert when completing a lambda variable inside the lambda. (details)
  126. [ARM][AsmParser] Make assembly directives case insensitive (details)
  127. PowerPC: Remove redundancy in ternary for predicate selection (details)
  128. [clang] Add matcher to identify macro expansions. (details)
  129. [BPF] handle typedef of struct/union for CO-RE relocations (details)
  130. [MLIR] Fixes for shared library dependencies. (details)
  131. [NFC][LangRef][FPEnv] Fix whitespace for denormal-fp-math/denormal-fp-math-f32 (details)
  132. [BPF] use base lvalue type for preserve_{struct,union}_access_index metadata (details)
  133. scudo: Simplify getClassIdBySize() logic. NFCI. (details)
  134. [ARM] Correct missing newline after outputting .tlsdescseq directive. (details)
  135. [Driver] Change -fmax-tokens $arg to -fmax-tokens=$arg (details)
  136. [X86] -fpatchable-function-entry=N,0: place patch label after ENDBR{32,64} (details)
  137. [clang] fix lib/ASTMatchers for BUILD_SHARED_LIBS=ON (details)
  138. Separately track input and output denormal mode (details)
  139. [InstCombine] add FIXME comment to shuffle transform; NFC (details)
  140. [BFI] Add a debug check for unknown block queries. (details)
  141. [clang][NFC] Expand some `auto`s and add another test for matcher `isExpandedFromMacro`. (details)
  142. Try to fix buildbot failure (details)
  143. [X86] Fix missing load latencies (PR36894) (details)
  144. GlobalISel: Fold SmallVector resizes into constructors (details)
  145. AMDGPU: Cleanup SMRD buffer selection (details)
  146. [test] yaml2obj -docnum => --docnum= (details)
  147. [mlir] Fix clang 5 warning for missing braces (details)
  148. [lldb/StackFrameList] Convert assert to defensive check in SynthesizeTailCallFrames (details)
  149. [lldb/test] Skip TestBasicEntryValuesX86_64 due to llvm.org/PR44774 (details)
  150. AMDGPU: Split denormal mode tracking bits (details)
  151. [clang-format] Allow a comment to follow a C# attribute specifier (details)
  152. [mlir] [VectorOps] refined description of vector.contract (details)
  153. CodeGenPrepare: Reorder check for cold and shouldOptimizeForSize (details)
  154. libclc/asin: Switch to amd builtins version of asin (details)
  155. [C++20] Add consteval-specific semantic for functions (details)
  156. [libc] Fix typo in header generation docs. (details)
  157. AMDGPU/GlobalISel: Legalize s16 G_FEXP2 (details)
  158. AMDGPU/GlobalISel: Custom lower G_FEXP (details)
  159. [InlineCost] Add flag to allow changing the default inline cost (details)
  160. [mlir] Print types to the OpAsmPrinter instead of the raw_ostream. (details)
  161. Recommit "[X86] Use X86ISD::SUB instead of X86ISD::CMP in some places." (details)
  162. Try to fix windows build bot after 008e7bf92343b8bd6ebade5b3ddcfe4bb4e29f8d (details)
  163. Additional testcase for 0130b6cb5a8. (details)
  164. PR44761: Fix fallback to later tiebreakers if two non-template functions (details)
  165. [hip] Properly populate macros based on host processor. (details)
  166. AMDGPU/GlobalISel: Remove extension legality hacks (details)
  167. [sanitizer] Add missing declarations for sigaltstack syscall wrappers. (details)
  168. [AMDGPU] Fix infinite loop with fma combines (details)
  169. AMDGPU/GlobalISel: Legalize G_SEXT_INREG (details)
  170. AMDGPU/GlobalISel: Do a better job splitting 64-bit G_SEXT_INREG (details)
  171. AMDGPU/GlobalISel: Select G_SEXT_INREG (details)
  172. Fix "expression is redundant [misc-redundant-expression]" warning (PR44768) (details)
  173. [lldb/Reproducers] Instrument SBFile (details)
  174. [lldb/Reproducers] Treat SB classes pass by value as const references (details)
  175. AMDGPU: Fix isAlwaysUniform for simple asm SGPR results (details)
  176. [clang-tidy] Fix "expression is redundant [misc-redundant-expression]" warning. NFCI. (PR44768) (details)
  177. Revert: [lldb] [testsuite] generalize `DWARFASTParserClangTests` based on `DWARFExpressionTest`'s YAML (details)
  178. [compiler-rt] Fix sanitizer_common build for FreeBSD (details)
  179. [libomptarget] Implement wavefront functions for amdgcn (details)
  180. Re-land "[lldb] [testsuite] generalize `DWARFASTParserClangTests` based on `DWARFExpressionTest`'s YAML" (details)
  181. [lldb/Unittest] Fix the modules build by including TypeSystemClang.h (details)
  182. [cmake] Fix clang builds with BUILD_SHARED=ON and CLANG_LINK_CLANG_DYLIB=ON (details)
  183. [lldb] Remove clang classes from lldb-forward.h (details)
  184. [compiler-rt] [netbsd] Fix build after "implement sigaltstack interception" (details)
  185. [lldb] Remove unused references to ClangExpressionDeclMap (details)
  186. [OpenMP] Add Flush directive to OpenMPIRBuilder (details)
  187. [Concepts] Add missing CXXThisScope to function template constraint substitution (details)
  188. Revert "[Concepts] Add missing CXXThisScope to function template constraint substitution" (details)
  189. [lldb/Reproducers] Add missing SBFile methods to the registry (details)
  190. [Concepts] Add missing CXXThisScope to function template constraint substitution (details)
  191. [SEH] Remove CATCHPAD SDNode and X86::EH_RESTORE MachineInstr (details)
  192. [X86] Give KSET0* and KSET1* pseudos the same scheduler resource usage as KXOR/KXNOR. (details)
  193. Avoid many std::tie/tuple instantiations in ASTImporter (details)
  194. [lldb] Delete commented-out code (details)
  195. [lldb] Rename Type::ResolveClangType to Type::ResolveCompilerType (details)
  196. [Support] Fix warnings in ARMTargetParser.cpp (details)
  197. [compiler-rt] fix OpenBSD and Solaris build with sigaltstack interception (details)
  198. Fix -Wunused-result warnings in LLDB (details)
  199. Fix x86 32bits MLIR build (NFC) (details)
  200. [X86] Add custom lowering for lrint/llrint to either cvtss2si/cvtsd2si or fist. (details)
  201. [lldb/Reproducers] Change record logging to mirror replay logging (details)
  202. [lldb/Reproducers] Add underscore to varaibles in LLDB_RECORD macros (details)
  203. [Driver][Darwin] Improve tests for -nostdinc & friends (details)
  204. Fix after c25938d (details)
  205. [lldb] Fix -Wdocumentation warnings (details)
  206. Fix some more -Wrange-loop-analysis warnings in AArch64TargetParser (details)
  207. [NFCI] Update according to style. (details)
  208. [Remarks] Extend the RemarkStreamer to support other emitters (details)
  209. Fix BroadcasterManager::RemoveListener to really remove the listener (details)
  210. [cuda][hip] Temporarily XFAIL on arm (details)
  211. [gn build] Port 7531a5039fd (details)
  212. [gn build] Port b8a847c0a3e (details)
  213. DebugInfo: Generalize convert-debugloc.ll to run for multiple target architectures (details)
  214. DebugInfo: convert-debugloc.ll remove erroneous CHECK (details)
  215. Fix warning on trailing `;`. NFC. (details)
  216. [Remarks] Fix gcc build (details)
  217. Fix warning on trailing `;`. NFC. (details)
  218. DebugInfo: Generalize test/DebugInfo/X86/convert-inlined.ll (details)
  219. DebugInfo: Generalize test/DebugInfo/X86/convert-linked.ll to run with different architectures (details)
  220. Reapply: DebugInfo: Add missing test coverage for DW_OP_convert in loclists (details)
  221. DebugInfo: use a symbolic DIE reference in convert-loclist.ll (details)
  222. PR44786: Don't assert when profiling <=> expressions. (details)
  223. [mlir][spirv] Add dialect-specific attribute for target environment (details)
  224. [WebAssembly] Enable recently implemented SIMD operations (details)
  225. Recommit: DebugInfo: Check DW_OP_convert in loclists with Split DWARF (details)
  226. [BPF] disable ReduceLoadWidth during SelectionDag phase (details)
  227. Revert "[WebAssembly] Split and recombine multivalue calls for ISel" (details)
  228. DebugInfo: Fix convert-loclist.ll Split DWARF variant to use a hardcoded triple (details)
  229. [lldb/Reproducers] Change the way we instrument void* arguments (details)
  230. DebugInfo: convert-debugloc.ll generalize to run on ppc64le (details)
  231. DebugInfo: Add a couple of missing COFF sections to make convert-loclist.ll pass on Windows (details)
  232. DebugInfo: Hash DW_OP_convert in loclists when using Split DWARF (details)
  233. AMDGPU: Correct memory size for image intrinsics (details)
  234. [mlir] Mark the MLIR tools for installation in CMake (details)
  235. Enhance debugserver's err reporting on attach fails (details)
  236. Revert "[WebAssembly][InstrEmitter] Foundation for multivalue call lowering" (details)
  237. [WebAssembly] Add experimental multivalue calling ABI (details)
  238. AMDGPU/EG,CM: Implement fsqrt using recip(rsqrt(x)) instead of x * rsqrt(x) (details)
  239. Remove leftover artifacts from use of gtest. (details)
  240. [CMake][compiler-rt] Replace Windows backslashes with CMake ones (details)
  241. [CMake] Passthrough CMAKE_SYSTEM_NAME to default builtin and runtimes target (details)
  242. [X86] Add a DAG combine for (i32 (sext (i8 (x86isd::setcc_carry)))) -> (i32 (x86isd::setcc_carry)) and remove isel patterns. (details)
  243. [clangd] Preserve -nostdinc and --sysroot when calling query driver (details)
  244. [DebugInfo] Avoid the call site param for mem instrs with multiple defs (details)
  245. [clangd] Use printf instead of `echo -e` to be compliant with dash (details)
  246. [yaml2obj][obj2yaml] - Simplify format of the SHT_LLVM_ADDRSIG section. (details)
  247. [AMDGPU] Use v3f32 type in image instructions (details)
  248. [AMDGPU] Fix lowering a16 image intrinsics (details)
  249. [lldb] Ignore type sugar in TypeSystemClang::GetPointerType (details)
  250. [clangd] Pull out a isProtoFile function. (details)
  251. [CMake] Add missing component dependencies, to fix building for mingw with BUILD_SHARED_LIBS (details)
  252. Partially revert c1c9819ef91aab51b5a23fb3027adac5a2f551cc (details)
  253. [AVR] Add disassembly tests for supported instructions (details)
  254. Fix MSVC signed/unsigned warning. NFCI. (details)
  255. [X86] Fix missing load latencies (PR36894) (details)
  256. [OpenCL] Fix support for cl_khr_mipmap_image_writes (details)
  257. [lldb] Make TestDataFormatterObjCCF.py pass outside California (details)
  258. [lldb] Introduce i386 support in NetBSD Process plugin (details)
  259. [lldb][NFC] Remove some unnecessary curly braces (details)
  260. [clangd] Add the missing elaborated types in FindTarget. (details)
  261. [lldb] Revert some change in data-formatter-objc/main.m that broke TestDataFormatterObjCNSDate.py (details)
  262. [ARM][LowOverheadLoops] Ensure memory predication (details)
  263. [ARM][LowOverheadLoops] Fix loop count chain (details)
  264. visitINSERT_VECTOR_ELT - pull out repeated dyn_cast. NFCI. (details)
  265. [MCA] Remove verification check on MayLoad and MayStore. NFCI (details)
  266. [ARM] Correct syntax of the CLRM insn (details)
  267. [analyzer] Fix a couple of bugs in HTML report generation. (details)
  268. [MLIR] Add mapping based on ValueRange to BlockAndValueMapper. (details)
  269. [OPENMP][NVPTX]Add NVPTX specific definitions for new/delete operators. (details)
  270. [OPNEMP50][DOCS]Mark array shaping expression as claimed, NFC. (details)
  271. [ARM][MVE] LowOverheadLoops: DCE on the iteration count setup expression (details)
  272. [clang][driver] Fix null pointer dereference warning inside PrintActions1 (PR43462) (details)
  273. Re-enable a update_cc_test_checks.py tests (details)
  274. [OpenCL] Fix tblgen support for cl_khr_mipmap_image_writes (details)
  275. [ARM][TargetParser] Improve handling of dependencies between target features (details)
  276. [lldb/Target] Add Assert StackFrame Recognizer (details)
  277. AMDGPU/GlobalISel: Don't use legal v2s16 G_BUILD_VECTOR (details)
  278. GlobalISel: Make LegalizerHelper primitives public (details)
  279. AMDGPU/GlobalISel: Fix processing new phi in waterfall loop (details)
  280. [Analyzer] Model STL Algoirthms to improve the iterator checkers (details)
  281. [WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP (details)
  282. AMDGPU/GlobalISel: Legalize llvm.amdgcn.s.buffer.load (details)
  283. [gn build] Port b198f16e1e1 (details)
  284. [MLIR][GPU] Fix build files for mlir-opt. (details)
  285. [IRCE] Make IRCE a Function pass. (details)
  286. Resubmit^2: [JumpThreading] Thread jumps through two basic blocks (details)
  287. NFC: fix unused var warnings in no-assert builds (details)
  288. [clang-format] Do not treat C# attribute targets as labels (details)
  289. AMDGPU: Fix divergence analysis of control flow intrinsics (details)
  290. [lldb] [test] Pass LLVM_LIBS_DIR from CMake for linking liblldb (details)
  291. [PGO][PGSO] Tune flags for profile guided size optimization. (details)
  292. [clang-format] Do not merge short C# class definitions into one line (details)
  293. AMDGPU/GlobalISel: Legalize TFE image result loads (details)
  294. [AArch64][GlobalISel] Fix one use check in getTestBitReg (details)
  295. AMDGPU/GlobalISel: Prefer merge/unmerge ops to legalize TFE (details)
  296. [CMake] Filter libc++abi and libunwind from runtimes build in MSVC (details)
  297. Reapply: [SVE] Fix bug in simplification of scalable vector instructions (details)
  298. [AArch64][GlobalISel] Fold G_ASHR into TB(N)Z bit calculation (details)
  299. [llvm-reduce] add ReduceAttribute delta pass (details)
  300. [gn build] Port fc62b36a000 (details)
  301. GlobalISel: Assume G_INTRINSIC* are convergent (details)
  302. [test] yaml2obj -docnum => --docnum= (details)
  303. [mlir][ODS] Add documentation for the declarative assembly format. (details)
  304. [ARM] Add extra use test for MVE VPT blocks. NFC (details)
  305. [GlobalISel][AArch64] Fix contract cross-bank copies with SIMD instructions (details)
  306. [scudo][standalone] Fix a race in the secondary release (details)
  307. Revert "Activate extension loading test on Darwin now that the underlying fix has landed" (details)
  308. [DebugInfo] Fix debug-info generation for block invocations so that we set the LinkageName (details)
  309. Revert "[llvm-reduce] add ReduceAttribute delta pass" (details)
  310. [gn build] Port b12176d2aaf (details)
  311. [MLIR] Move test passes out of lib/Analysis (details)
  312. [MLIR] Rename MemRefBoundCheck.cpp -> TestMemRefBoundCheck.cpp (details)
  313. [MLIR] Break cyclic dependencies with MLIRAnalysis (details)
  314. [NFC][RISCV] Fixing typo in comment. (details)
  315. AMDGPU/GlobalISel: Legalize f64 G_FFLOOR for SI (details)
  316. [VFS] More consistent support for Windows (details)
  317. [PowerPC][NFC] Clang-format on commit 4b414d (details)
  318. [Analysis] add query to get splat value from array of ints (details)
  319. [x86] use getSplatIndex() in lowerShuffleAsBroadcast() (details)
  320. AMDGPU/GlobalISel: Add mem operand to s.buffer.load intrinsic (details)
  321. Make llvm::crc32() work also for input sizes larger than 32 bits. (details)
  322. [mlir] Update generic op ebnf to include region (details)
  323. MemCpyOpt cannot use ABI alignment even if it was not given (details)
  324. AMDGPU/GlobalISel: Remove bitcast legality hack (details)
  325. [X86] Improve the gather scheduler models for SkylakeClient and SkylakeServer (details)
  326. [MemCpyOpt] Simplify find*Alignment (details)
  327. [SystemZ]  Improve handling of inline asm constraints. (details)
  328. [ELF][ARM] Fix regression of BL->BLX substitution after D73542 (details)
  329. DebugInfo: Stabilize DW_OP_convert tests so they don't depend on register allocation, etc (details)
  330. GlobalISel: Allow CSE of G_IMPLICIT_DEF (details)
  331. AMDGPU: Make LDS_DIRECT an artifical register (details)
  332. [LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging (details)
  333. [lldb/Reproducers] (De)serialize char* like const char* (details)
  334. [lldb/debugserver] Link against Security (details)
  335. [lldb/CMake] Remove non-existing wasm-DYLD subdir (details)
  336. [PHIElimination]  Compile time optimization for huge functions. (details)
  337. [AArch64][GlobalISel] Fold G_LSHR into test bit calculation (details)
  338. [AArch64][GlobalISel][NFC] Factor out TB(N)Z emission code into its own function (details)
  339. [lldb/API] Fix non null-terminated stop-reason in SBThread::GetStopDescription (details)
  340. [AArch64][GlobalISel] Emit TBNZ with G_BRCOND where the condition is SLT (details)
  341. Partially revert "[LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging" (details)
  342. GlobalISel: Remove check for illegal MIR (details)
  343. [GWP-ASan] Crash Handler API. (details)
  344. [ConstantFold][SVE] Fix constant folding for bitcast. (details)
  345. [mlir][VectorOps] Add ShapeCastOp to the vector ops dialect. (details)
  346. Add missing directory from 3ec28da6 (details)
  347. [lldb] pass --lldb-libs-dir argument to lldb-dotest (details)
  348. Revert "[lldb/Target] Add Assert StackFrame Recognizer" (details)
  349. [analyzer] Prevent an assertion failure in PThreadLockChecker (details)
  350. [mlir] Adds affine loop fusion transformation function to LoopFusionUtils. (details)
  351. [ConstantFold][NFC] Move scalable vector unit tests under vscale.ll (details)
  352. [lldb/Test] Mark heap-cstr.test as requiring Python (details)
  353. [lldb] Remove "print xml" from TestWasm.py (details)
  354. [analyzer] Move fuchsia.Lock checker to alpha (details)
  355. [mlir][VectorOps] Support vector transfer_read/write unrolling for memrefs with vector element type. (details)
  356. Revert "[LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging" (details)
  357. [GWP-ASan] Change crash handler constant. (details)
  358. [mlir] [VectorOps] generalized vector.contract semantics (details)
  359. [GWP-ASan] Fix unused variables from crash handler + clang-format (details)
  360. [mlir] Register the GDB listener with ExecutionEngine to enable debugging JIT'd code (details)
  361. [mlir] Add support for basic location translation to LLVM. (details)
  362. [CMake] Link against ZLIB::ZLIB (details)
  363. [mlir] Add explicit friendship to LLVM::ModuleTranslation to derived (details)
  364. Two more small fixes for debugserver attach failure messaging. (details)
  365. Revert "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP" (details)
  366. [lldb/Reproducers] Implement custom replayers for (char *, size_t) (details)
  367. Compile-fix after StringRef's conversion operator has been made explicit. (details)
  368. [lldb/DWARF] Don't assume that a SymbolFileDWARFDwo contains one compile unit (details)
  369. [mlir] Build fix for mlir-opt (details)
  370. [lldb/Reproducers] Serialize empty string for char* methods. (details)
  371. [clangd] Add a flag for spelled references in the Index (details)
  372. Fix build after D72746 (details)
  373. [LLDB] Fix compilation with GCC 5 (details)
  374. Fix some typos in ArrayRef.h (details)
  375. [SYCL][Driver] Add clang driver option to enable SYCL compilation mode (details)
  376. [yaml2obj] - Change NameIndex to StName for Symbol. (details)
  377. [yaml2obj] Refactor command line parsing (details)
  378. Fix lld test after D74034 (details)
  379. [NFC] Fix error handling documentation (details)
  380. [ARM] Fix non-determenistic behaviour (details)
  381. [llvm-readobj][test] Fix test after yaml2obj change (D74034) (details)
  382. [mlir] Add AffineMaxOp (details)
  383. [IRCE] Use SCEVExpander to modify loop bound (details)
  384. [clangd] Filter out implicit references while renaming (details)
  385. Fix build after D74112 (details)
  386. [ADT] Fix iplist_impl - use after move warnings (PR43943) (details)
  387. [llvm-exegesis] Improve error reporting (details)
  388. [llvm-exegesis] Improve error reporting in Target.cpp (details)
  389. StringRef.h: __builtin_strlen seems to exist in VS 2017 MSVC 19.16 or later (details)
  390. Try to fix ilist.h after 529e6f8791b6 (details)
  391. Revert "[llvm-exegesis] Improve error reporting" and follow-up. (details)
  392. [LLD][ELF] Add time-trace to ELF LLD (details)
  393. [llvm-exegesis] Document `repetition-mode`. (details)
  394. [lldb] Add test for calling const functions (details)
  395. [lldb][NFC] Move call-overidden-method test to lang/cpp/ folder (details)
  396. [clang][driver][ARM] Clean up ARM target & feature checking in clang driver. (details)
  397. [ReachingDefs] Make isSafeToMove more strict. (details)
  398. [RDA] getInstFromId: find instructions. NFC. (details)
  399. [ARM] peephole-bitcast test change. NFC. (details)
  400. [clangd] don't rename on protobuf symbols. (details)
  401. Revert "[SafeStack][DebugInfo] Insert DW_OP_deref in correct location" (details)
  402. Revert "[DebugInfo][DAG] Distinguish different kinds of location indirection" (details)
  403. Revert "[DebugInfo] Remove some users of DBG_VALUEs IsIndirect field" (details)
  404. [doc] typo in optimisation remark example (details)
  405. [OpenCL] Reduce size of builtin function tables (details)
  406. [clangd] Set "spelled" flag for constructor references. (details)
  407. Revert "[CMake] Passthrough CMAKE_SYSTEM_NAME to default builtin and runtimes target" (details)
  408. Revert "[mlir] Adds affine loop fusion transformation function to LoopFusionUtils." (details)
  409. [ARM][MVE] Add fixed point vector conversion intrinsics (details)
  410. [mlir-tblgen] Stop leaking PredNodes (details)
  411. [AIX] Implement caller arguments passed in stack memory. (details)
  412. Fix warning on unused variables. NFC. (details)
  413. [lldb/Target] Add Assert StackFrame Recognizer (details)
  414. scudo: Delete unused class ScudoByteMap. NFCI. (details)
  415. AMDGPU/GlobalISel: Avoid handling registers twice in waterfall loops (details)
  416. [lldb] Remove reset(nullptr_t) overload from SharingPtr (details)
  417. [GWP-ASan] Fix PRNG to use IE TLS. (details)
  418. [X86] Remove SETB_C8r/SETB_C16r pseudo instructions. Use SETB_C32r and EXTRACT_SUBREG instead. (details)
  419. [ubsan] Omit return value check when return block is unreachable (details)
  420. [lldb/tests] Correctly configure the lldb dotest arguments (details)
  421. [PGO][PGSO] Enable profile guided size optimization for non-cold code under instrumentation PGO. (details)
  422. [GWP-ASan] Use weak abort message definition. (details)
  423. [X86] Custom isel floating point X86ISD::CMP on pre-CMOV targets. Eliminate ConvertCmpIfNecessary (details)
  424. [lldb/Target] Remove extra semicolon in AssertFrameRecognizer (NFC) (details)
  425. [lldb] Explicitly qualify calls to std::static_pointer_cast (details)
  426. [lldb] [NFC] Refactor GetDWARFDeclContext to return DWARFDeclContext (details)
  427. [FPEnv][X86] Platform-specific builtin constrained FP enablement (details)
  428. [MC][ELF] Rename MC related "Associated" to "LinkedToSym" (details)
  429. [GlobalISel] Legalize more G_FP(EXT|TRUNC) libcalls. (details)
  430. AMDGPU: Add compile time hack for hasCFUser (details)
  431. [AArch64][GlobalISel] Emit TBZ for SGT cond branches against -1 (details)
  432. [clang][driver] Clean up unnecessary reference to TC. NFC. (details)
  433. PR44684: Look through parens and similar constructs when determining (details)
  434. [Clang] Remove unused #pragma clang __debug handle_crash (details)
  435. [FPEnv][X86] Speculative fix for failures introduced by eda495426. (details)
  436. [lldb\utils] Place lldb-repro in a per-configuration directory to support multi-configuration generators (details)
  437. [Clang] Avoid crashing when generating crash diagnostics when '#pragma clang __debug [assert|crash|parser_crash|llvm_fatal_error|llvm_unreachable|overflow_stack]' are used (details)
  438. [Clang][Driver] Remove -M group options before generating crash diagnostics (details)
  439. [Concepts] Fix incorrect check when instantiating abbreviated template type-constraints (details)
  440. [X86] Use MVT::i8 instead of MVT::i64 for shift amount in BuildSDIVPow2 (details)
  441. [X86] Add the rest of the tests that were supposed to go with 90c31b0f428fe911255277a60782ea9114700475 (details)
  442. [compiler-rt] clang-format FreeBSD-specific sanitizer sources (details)
  443. Revert "[CMake] Link against ZLIB::ZLIB" (details)
  444. [lldb/Reproducers] Refactor GetStopReasonExtendedBacktraces (NFC) (details)
  445. [lldb/Reproducers] Add missing strings for redirect macro (details)
  446. [GlobalISel] Use G_ZEXTLOAD instead of an anyextending load for non-pow-2 legalization. (details)
  447. Fix MSAN failure on Function destruction (details)
  448. Reland "[AArch64] Fix data race on RegisterBank initialization." (details)
  449. Revert "Reland "[AArch64] Fix data race on RegisterBank initialization."" (details)
  450. [CMake] Rename EXCLUDE_FROM_ALL and make it an argument to add_lit_testsuite (details)
  451. Detect attach fail in debugserver due to non-interactive (details)
  452. Revert "[FPEnv][X86] Platform-specific builtin constrained FP enablement" (details)
  453. [Support] When using SEH, create a impl instance for CrashRecoveryContext. NFCI. (details)
  454. Revert "[AArch64][GlobalISel] Emit TBZ for SGT cond branches against -1" (details)
  455. Revert "[AArch64][GlobalISel] Emit TBNZ with G_BRCOND where the condition is SLT" (details)
  456. C++ DR2026: static storage duration variables are not zeroed before (details)
  457. AMDGPU: Limit the search in finding the instruction pattern for v_swap generation. (details)
  458. Recommit "[FPEnv][X86] Platform-specific builtin constrained FP enablement" (details)
  459. Add final description of why attach failed with poss error string. (details)
  460. Revert "AMDGPU: Limit the search in finding the instruction pattern for v_swap generation." (details)
  461. [AMDGPU] Cleanup assumptions about generated subregs (details)
  462. Update hwasan docs to cover outlined checks and globals. (details)
  463. [mlir][DialectConversion] Change erroneous return to a continue (details)
  464. Revert "[Clang][Driver] Remove -M group options ..." and "[Clang] Avoid crashing when generating crash diagnostics when '#pragma clang __debug ..." (details)
  465. [mlir][AsmPrinter] Fix edge case when printing floating point values. (details)
  466. Fix test after test changes added in da3dc00 caused the test to break (details)
  467. AMDGPU/GlobalISel: Fix non-pow-2 add/sub/mul for 16-bit insts (details)
  468. Clarify how llvm-mca detects att vs intel syntax. (details)
  469. Fix my use of the TARGET_OS_OSX TargetConditional. (details)
  470. Except, get the TARGET_OS_OSX check correct. (details)
  471. [X86] Use SelectionDAG::getAllOnesConstant to simplify some code. NFC (details)
  472. [X86] Turn vXi1 any_extends into sign_extends in PreprocessISelDAG and remove some isel patterns. (details)
  473. [DebugInfo]: Reorderd the emission of debug_str section. (details)
  474. [lldb] removed no longer needed CMakeDependentOption (details)
  475. Fix the MC/WebAssembly/debug-info.ll test after 84e5760 (details)
  476. [Target][AArch64] Remove non-existing system registers ICH_VSEIR_EL2 & ICC_SEIEN_EL1 from AArch64 backend (details)
  477. Support -fstack-clash-protection for x86 (details)
  478. [ARM][ASMParser] Refuse equal RdHi/RdLo for s/umlal, smlsl, s/umull, umaal (details)
  479. [ARM] Follow AACPS for preserving number of loads/stores of volatile bit-fields (details)
  480. [lldb] Remove all 'clean' targets from test Makefiles (details)
  481. [ValueTracking] Update implied reasoning to accept expanded cmp (NFC). (details)
  482. [InstCombine] Precommit usub.with.overflow test for D74066. (details)
  483. [NFC] Introduce an API for MemOp (details)
  484. [analyzer] Small StreamChecker refactoring (NFC). (details)
  485. Revert "Support -fstack-clash-protection for x86" (details)
  486. Fix docs and comments for max_tokens_total pragma (details)
  487. [ValueTracking] usub(a, b) cannot overflow if a >= b. (details)
  488. [llvm-dwarfdump][Stats] Add the license header (details)
  489. clang-cl: Parse new MSVC flags /Qspectre-load and /Qspectre-load-cf (details)
  490. [OpenCL] Restrict addr space conversions in nested pointers (details)
  491. [AArch64] Predictably disassemble system registers with the same encoding (details)
  492. [lldb] Improve error message when running static initializers in an expression fails (details)
  493. Rename prettyprinters test to llvm-support. (details)
  494. [AMDGPU][MC][DOC] Updated AMD GPU assembler syntax description. (details)
  495. [llvm-exegesis] Add a custom error for clustering (details)
  496. Recommit: "[llvm-exegesis] Improve error reporting" (details)
  497. Recommit: "[llvm-exegesis] Improve error reporting in Target.cpp" (details)
  498. [gn build] Port 446268a2234 (details)
  499. [NFC][ARM] Modified test with update script (details)
  500. Revert "[LLD][ELF][ARM] Do not substitute BL/BLX for non STT_FUNC symbols." (details)
  501. [mlir] Add NoSideEffect to Affine min max (details)
  502. [NFC][ARM] Update test (details)
  503. [OPENMP50]Add parsing/sema for acq_rel clause. (details)
  504. Re-land "[Clang][Driver] Remove -M group options ..." and "[Clang] Avoid crashing when generating crash diagnostics when '#pragma clang __debug ..." (details)
  505. GlobalISel: Fix lowering of G_CTLZ/G_CTTZ (details)
  506. GlobalISel: Fix narrowing of G_CTPOP (details)
  507. [TableGen] Fix spurious type error in bit assignment. (details)
  508. AMDGPU/GlobalISel: Fix move s.buffer.load to VALU (details)
  509. [llvm-exegesis] Improve error reporting in BenchmarkRunner.cpp (details)
  510. [AsmPrinter] Print FP constant in hexadecimal form instead (details)
  511. [docs] update mathjax path in doxygen (details)
  512. [lldb/Target] Fix `frame recognizer list` crash when registered with nullptr (details)
  513. [lldb/test] Prevent TestFrameRecognizer.py to fail because of internal recognizers (NFC) (details)
  514. [lldb] Improve debugging 32-bit programs on NetBSD/amd64 (details)
  515. [GlobalISel][IRTranslator] Add special case support for ~memory inline asm clobber. (details)
  516. [X86] isNegatibleForFree - allow pre-legalized FMA negation (details)
  517. [x86] don't create an unused constant vector (details)
  518. [lldb] Delete ValueObjectRegisterContext class (details)
  519. [mlir][VectorOps] Generalized vector.print to i32/i64 (details)
  520. [yaml2obj] Add -D k=v to preprocess the input YAML (details)
  521. [yaml2obj][test] Simplify some e_machine EI_CLASS EI_DATA tests (details)
  522. [GlobalISel] Add buildMerge with SrcOp initializer list (details)
  523. [ELF][ARM][test] Keep arm-thumb-interwork-shared.s (details)
  524. [lldb/test] Skip the AssertFrameRecognizer test for Linux (details)
  525. [lldb] Group ABI plugins (details)
  526. [MachineInstr] Add isCandidateForCallSiteEntry predicate (details)
  527. AMDGPU/GlobalISel: Fix missing test for select of s64 scalar G_CTPOP (details)
  528. [clang] Fix linkage of nested lambdas. (details)
  529. [AMDGPU] Use @LINE for error checking in gfx10 assembler tests (details)
  530. [X86] Handle SETB_C32r/SETB_C64r in flag copy lowering the same way we handle SBB (details)
  531. [PowerPC] Create a FixedStack object for CR save in linkage area. (details)
  532. [mlir][Linalg] Implement fusion of linalg.generic operation on tensors. (details)
  533. Support -fstack-clash-protection for x86 (details)
  534. AMDGPU: Limit the search in finding the instruction pattern for v_swap generation. (details)
  535. [AArch64][GlobalISel] Reland SLT/SGT TBNZ optimization (details)
  536. [scudo][standalone] 32-bit improvement (details)
  537. Revert "[CMake] Filter libc++abi and libunwind from runtimes build in MSVC" (details)
  538. [dsymutil] Delete unneeded parameter Triple from DWARFLinker (details)
  539. AMDGPU: Enhancement on FDIV lowering in AMDGPUCodeGenPrepare (details)
  540. Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. (details)
  541. Revert "Support -fstack-clash-protection for x86" (details)
  542. [cxx_status] Fix status of P1766R to not bleed into adjacent cells. (details)
  543. [DebugInfo]: Fix the debuginfo-tests/llgdb-tests/apple-accel.cpp test (details)
  544. [OPENMP50]Add codegen for acq_rel clause in atomic|flush directives. (details)
  545. [mlir][VectorOps] Expose and use llvm.intrin.fma* (details)
  546. [PowerPC] Fix spilling of vector registers in PEI of EH aware functions (details)
  547. [mlir][VectorOps] Introduce a `vector.fma` op that works on n-D vectors and lowers to `llvm.intrin.fmuladd` (details)
  548. Reland "[AArch64] Fix data race on RegisterBank initialization." (details)
  549. [lldb] Fix+re-enable Assert StackFrame Recognizer on Linux (details)
  550. [mlir][spirv] Adding sin op in the GLSL extension (details)
  551. [CMake] Use LLVM tools external project build where possible (details)
  552. [TestConvienceVariable] Clean the directory before running the test. (details)
  553. Reland "[ARM] Fix data race on RegisterBank initialization." (details)
  554. [mlir][Pass] Enable printing pass options as part of `-help`. (details)
  555. Reland "[AMDGPU] Fix data race on RegisterBank initialization." (details)
  556. Change first test to be CHECK: to make the test run. (details)
  557. Revert "[TestConvienceVariable] Clean the directory before running the test." (details)
  558. [IRGen] Emit lifetime intrinsics around temporary aggregate argument allocas (details)
  559. [clang] Add support for __builtin_memcpy_inline (details)
  560. Replace CHECK-NEXT with CHECK-DAG. The order isn't relevant we just (details)
  561. [CMake] Fix accidentally inverted condition (details)
  562. [lldb][test][NFC] Create a separate LLDB_TEST_SRC var to allow moving tests. (details)
  563. [X86] Add more avx512 masked fmaddsub/fmsubadd autoupgrade tests with rounding control not set to 4. (details)
  564. [X86] Correct the implementation of the avx512 masked fmsubadd autoupgrade code to not leave the negate unconnected. (details)
  565. [lldb/Plugins] Use external functions to (de)initialize plugins (details)
  566. [GlobalISel][CallLowering] Look through bitcasts from constant function pointers. (details)
  567. IR Linking: Support merging Warning+Max module metadata flags (details)
  568. [ObjC][ARC] Delete ARC runtime calls that take inert phi values (details)
  569. [lldb/Plugin] Don't define initializers inside lldb_private (details)
  570. [lldb-vscode] disable completions (details)
  571. [lldb-vscode] remove deprecated trace option (details)
  572. Linker/module-max-warn.ll: Fix test to be compatible with Windows file separators (details)
  573. Add a test for adding and removing Listeners from a BroadcasterManager. (details)
  574. [lldb/Plugin] Use LLDB_PLUGIN_DECLARE to forward declare plugin initializers (details)
  575. PR12350: Handle remaining cases permitted by CWG DR 244. (details)
  576. [WebAssembly] Add debug info to insts in Emscripten SjLj (details)
  577. [clang-doc] Improving Markdown Output (details)
  578. Revert "[clang-doc] Improving Markdown Output" (details)
  579. Revert "[lldb] Fix+re-enable Assert StackFrame Recognizer on Linux" (details)
  580. [WebAssembly] Fix signature of __powitf2 libcall (details)
  581. [ObjC][ARC] Keep track of phis that have been discovered to avoid an (details)
  582. [LegalizeDAG][X86][AMDGPU] Use ANY_EXTEND instead of ZERO_EXTEND when promoting ISD::CTTZ/CTTZ_ZERO_UNDEF. (details)
  583. [Driver][test] Fix Driver/hexagon-toolchain-elf.c for -DCLANG_DEFAULT_LINKER=lld builds after 305bf5b21dbdb2345ef86b5700285e42d992c954 (details)
  584. [Driver][test] Refactor LLVMgold tests (details)
  585. [Driver] Don't pass -plugin LLVMgold.so when the linker is ld.lld (details)
  586. [Driver][test] Create empty file Inputs/basic_cross_linux_tree/usr/x86_64-unknown-linux-gnu/bin/ld.lld (details)
  587. [TargetLowering] Remove isDesirableToCombineBuildVectorToShuffleTruncate target hook. NFC. (details)
  588. [X86][SSE] Show isNegatibleForFree inability to peek through X86ISD::FRCP (details)
  589. [X86][SSE] Add X86ISD::FRCP handling to isNegatibleForFree (details)
  590. ArrayRef'ize spillCalleeSavedRegisters. NFCI. (details)
  591. Add missing encoding comments from fma4 folded intrinsics tests (details)
  592. Use heterogenous lookup for std;:map<std::string with a StringRef. NFCI. (details)
  593. Support -fstack-clash-protection for x86 (details)
  594. [DebugInfo] Allow reading an address table with a mismatched address. (details)
  595. Revert "[ARM] Improve codegen of volatile load/store of i64" (details)
  596. Revert "Support -fstack-clash-protection for x86" (details)
  597. Drop some uses of StringLiteral in favor of StringRef (details)
  598. [X86] Standardize VPSLLDQ/VPSRLDQ enum names (PR31079) (details)
  599. Put back makeArrayRef to make GCC 5 happy (details)
  600. Add missing encoding comments from fma scalar folded intrinsics tests (details)
  601. Regenerate FMA tests (details)
  602. [InstCombine] Fix infinite loop in min/max load/store bitcast combine (PR44835) (details)
  603. [InstCombine] Use swapValues(); NFC (details)
  604. [InstCombine] Avoid modifying instructions in-place (details)
  605. [InstCombine] Remove unnecessary worklist push; NFCI (details)
  606. [X86] Standardize BROADCAST enum names (PR31079) (details)
  607. [X86] X86InstComments - add FMA4 comments (details)
  608. [LegalizeTypes][ARM][AArch64][PowerPC][RISCV][X86] Use BUILD_PAIR to return expanded integer results from ReplaceNodeResults instead of just returning two results. (details)
  609. [mlir] Add a document detailing the design of the SymbolTable. (details)
  610. [mlir][EDSC] NFC - Move StructuredIndexed and IteratorType out of Linalg (details)
  611. [mlir] Add a utility method on CallOpInterface for resolving the callable. (details)
  612. [InstCombine] Fix infinite min/max canonicalization loop (PR44541) (details)
  613. [SimplifyLibCalls] Add __strlen_chk. (details)
  614. Introduce a CallGraph updater helper class (details)
  615. [OpenMP] Introduce the OpenMPOpt transformation pass (details)
  616. [X86] Test showing inability to combine ROTLI/ROTRI rotations into shuffles (details)
  617. [X86][SSE] Add test cases from PR44379 (details)
  618. [FIX] Update PM tests after D69930 landed (details)
  619. [InstCombine] Refactor foldICmpAndShift(); NFCI (details)
  620. Fix test name typo (details)
  621. [ELF] Simplify parsing of version dependency. NFC (details)
  622. [gn build] Add OpenMPOpt.cpp to LLVMipo after D69930/9548b74a831e (details)
  623. [mlir] Add support for generating debug locations from intermediate levels of the IR. (details)
  624. [mlir][quantizer] Add gathering of per-axis statistics in quantizer. (details)
  625. [mlir][DeclarativeParser] Add support for attributes with buildable types. (details)
  626. [mlir][DeclarativeParser] Move several missed parsers over to the declarative form. (details)
  627. [X86] Use any_fadd/sub/mul/div/sqrt with the AVX512 scalar_*_patterns. (details)
  628. [gn build] (manually) port 72277ecd62e and the LLVMBuild bit of 9548b74a83 (details)
  629. [OpenMP][Opt] Annotate known runtime functions and deduplicate more (details)
  630. [OpenMP][Opt] Delete terminating and read-only parallel regions (details)
  631. [OpenMP][OMPIRBuilder] Add Directives (master and critical) to OMPBuilder. (details)
  632. [FIX] Fix warning in LazyCallGraphTest caused by D70927 (details)
  633. [X86] Add the recently added (V)CVTSS2SI/CVTSD2SI instructions used for LRINT/LLRINT to the load folding tables. (details)
  634. [FIX] Ordering problem accidentally introduced with D72304 (details)
  635. Fix -Wunused-lambda-capture for -DLLVM_ENABLE_ASSERTIONS=off builds after 6556c615f3c3aae8af876806777065961ae20024 (details)
  636. [Attributor] Add an Attributor CGSCC pass and run it (details)
  637. [X86] Add more scalar intrinsic instructions to isNonFoldablePartialRegisterLoad. (details)
  638. [mlir][GPUToSPIRV] Modify the lowering of gpu.block_dim to be consistent with Vulkan SPEC (details)
  639. [ELF][test] Use llvm-readelf -l instead of llvm-readobj -l for some memory region tests (details)
  640. Support -fstack-clash-protection for x86 (details)
  641. Revert "Support -fstack-clash-protection for x86" (details)
  642. Support -fstack-clash-protection for x86 (details)
  643. [AggressiveInstCombine] Add test with baseline CHECKs for aggressive inst combine for SELECT. (details)
  644. [LoopExtractor] Convert LoopExtractor from LoopPass to ModulePass (details)
  645. [X86] Recognise ROTLI/ROTRI rotations as faux shuffles (details)
  646. Fix signed/unsigned warning. (details)
  647. [lldb] [testsuite] TestGdbRemoteLibrariesSvr4Support: Fix symlinked builddir (details)
  648. [LLDB] [doc] Update the current status of pkgsrc (NetBSD) building (details)
  649. [LLDB] [doc] Remove note about libpanel(3) and NetBSD (details)
  650. [lldb] [doc] Testing: Fix typos (details)
  651. [lldb] [doc] Status: Debugserver (remote debugging) is OK now (details)
  652. [VectorCombine] new IR transform pass for partial vector ops (details)
  653. [gn build] Port a17f03bd939 (details)
  654. [LLDB] [doc] Document NetBSD status and sort OSs alphabetically (details)
  655. [lldb] [doc] Status: Linux: Update the paragraph (details)
  656. [X86] Rename matchShuffleAsRotate - matchShuffleAsByteRotate. NFCI. (details)
  657. [X86][SSE] Add more tests showing failure to lower shuffles as bit rotations (details)
  658. [X86][XOP] Add XOP target to vXi16/vXi8 shuffle tests (details)
  659. libclc: Move rsqrt implementation to a .cl file (details)
  660. libclc/r600: Use target specific builtins to implement rsqrt and native_rsqrt (details)
  661. [X86] Remove isel patterns that include a vselect/X86selects and a strict FP node. (details)
  662. [X86] Use MVT::i32 for the type of a MOV32r0 created in X86DAGToDAGISel::Select. (details)
  663. [X86] Add lowerShuffleAsBitRotate (PR44379) (details)
  664. [X86] Add flag result VT to a MOV32r0 created in X86DAGToDAGISel::Select (details)
  665. [X86] Use custom isel for (X86sbb_flag 0, 0) so we can use 32-bit SBB for i8/i16. (details)
  666. [X86] combineConcatVectorOps - combine VROTLI/VROTRI ops (details)
  667. AMDGPU: Fix SI_IF lowering when the save exec reg has terminator uses (details)
  668. AMDGPU: Remove dead kill handling (details)
  669. AMDGPU/GlobalISel: Look through casts when legalizing vector indexing (details)
  670. AMDGPU/GlobalISel: Don't mis-select vector index on a constant (details)
  671. GlobalISel: Fix narrowing of G_CTLZ/G_CTTZ (details)
  672. AMDGPU/GlobalISel: Split 64-bit G_CTPOP in RegBankSelect (details)
  673. GlobalISel: Fix narrowScalar for G_{CTLZ|CTTZ}_ZERO_UNDEF (details)
  674. [DebugInfo] Add a DWARFDataExtractor constructor that takes ArrayRef<uint8_t> (details)
  675. [RISCV] Fix incorrect FP base CFI offset for variable argument functions (details)
  676. [X86] Use MOVZX instead of MOVSX in f16_to_fp isel patterns. (details)
  677. [X86] Autogenerate complete checks. NFC (details)
  678. [clang][codegen] Fix another lifetime emission on alloca on non-default address space. (details)
  679. Fix `-Wparentheses` warning. NFC. (details)
  680. [X86] Make (insert_vector_elt (v8i16 zerovec), i16 %x, 0) generate the same code as (v8i16 (build_vector %x, 0, 0, 0, 0, 0, 0, 0)). (details)
  681. [Attributor][NFC] Use existing constant instead of magic one (details)
  682. [Attributor][Tests][NFC] Add more range tests (details)
  683. [X86] Autogenerate complete checks. NFC (details)
  684. [Attributor][FIX] Call right base method in AAValueConstantRangeFloating (details)
  685. [Attributor] Look through (some) casts in AAValueConstantRangeFloating (details)
  686. [Attributor] Allow SelectInst in AAValueConstantRangeFloating (details)
  687. [Attributor][FIX] Remove FIXME that seems outdated (details)
  688. [Attributor] Allow PHI nodes in AAValueConstantRangeFloating (details)
  689. [GlobalISel][CallLowering] Tighten constantexpr check for callee. (details)
  690. [llvm-dwarfdump][Stats] Fix the License header (details)
  691. [Attributor][Tests] Run the CGSCC versions on the range.ll test (details)
  692. [Attributor] Simple casts preserve no-alias property (details)
  693. [Attributor][FIX] Make check lines explicit (details)
  694. [AMDGPU] Add a16 feature to gfx10 (details)
  695. [lldb] Refactored TestCallOverriddenMethod.py to general virtual function test (details)
  696. [lldb] [doc] Change sample commands prefix from > to $ (details)
  697. [CSInfo] Use isCandidateForCallSiteEntry() when updating the CSInfo (details)
  698. [SytemZ] Disable vector ABI when using option -march=arch[8|9|10] (details)
  699. [LLDB] Fix GCC warnings about extra semicolons. NFC. (details)
Commit b2e884bee7ef6e22881861c5b720fa9934d46ae9 by spatel
[InstCombine] add tests for casted phi; NFC
The file was modifiedllvm/test/Transforms/InstCombine/cast_phi.ll
Commit 05297b7cbe9ba4adb1d62795eb629014e10c4898 by jay.foad
[AMDGPU] getMemOperandsWithOffset: add resource operand for BUF instructions

Summary:
This prevents unwanted clustering of BUF instructions with the same
vaddr but different resource descriptors.

Reviewers: rampitec, arsenm, nhaehnle

Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73867
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/smrd.ll
Commit bed4d9c897947a4bac6bbe9c9a8e0eae15ddf35c by tejohnson
[ThinLTO] More efficient export computation (NFC)

Summary:
A recent change to enable more importing of global variables with
references exposed some efficiency issues with export computation.
See D73724 for more information and detailed analysis.

The first was specific to variable importing. The code was marking every
copy of a referenced value (from possibly thousands of files in the case
of linkonce_odr) as exported, and we only need to mark the copy in the
module containing the variable def being imported as exported. The
reason is that this is tracking what values are newly exported as a
result of importing. Anything that was defined in another module and
simply used in the exporting module is already exported, and would have
been identified by the caller (e.g. the LTO API implementations).

The second issue is that the code was re-adding previously exported
values (along with all references). It is easy to identify when a
variable was already imported into the same module (via the
import list insert call return value), and we already did this for
function importing. However, what we weren't doing for either function
or variable importing was avoiding a re-insertion when it was previously
exported into a different importing module. The reason we couldn't do
this is there was no way of telling from the export list whether it was
previously inserted there because its definition was exported (in which
case we already marked all its references as exported) from when it was
inserted there because it was referenced by another exported value (in
which case we haven't yet inserted its own references).

To address this we can restructure the way the export list is
constructed. This patch only adds the actual imported definitions
(variable or function) to the export list for its module during the
import computation. After import computation is complete, where we were
already post-processing the export list we go ahead and add all
references made by those exported values to the export list.

These changes speed up the thin link not only with constant variable
importing enabled, but also without (due to the efficiency improvement
in function importing).

Some thin link user time measurements for one large application, average
of 5 runs:

With constant variable importing enabled:
- without this patch: 479.5s
- with this patch: 74.6s

Without constant variable importing enabled:
- without this patch: 80.6s
- with this patch: 70.3s

Note I have not re-enabled constant variable importing here, as I would
like to do additional compile time measurements with these fixes first.

Reviewers: evgeny777

Subscribers: mehdi_amini, inglorion, hiraditya, dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73851
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
Commit a781521867e9952e8d5856e10bf900b37f8ec4e8 by a.bataev
[OPENMP50]Codegen support for order(concurrent) clause.

Emit llvm parallel access metadata for the loops if they are marked as
order(concurrent).
The file was modifiedclang/test/OpenMP/for_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was addedclang/test/OpenMP/target_teams_distribute_parallel_for_order_codegen.cpp
Commit 6c3252e5211b0c6ce6eb4a1123d60bb74faec0be by a.bataev
[OPENMP][DOCS]Update status of conditional lastprivate, NFC.
The file was modifiedclang/docs/OpenMPSupport.rst
Commit a59954051ef89618be351bbad2fed12356957db8 by nikita.ppv
[InstCombine] Fix unused variable warning; NFC
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 9eb74f609d646adb5dab8c5bb98dae486b2a8ffd by nikita.ppv
[Examples] Link BitReader in ThinLtoJIT example

D72486 broke the shared library build.
The file was modifiedllvm/examples/ThinLtoJIT/CMakeLists.txt
Commit 1cc4f8d17247cd9be88addd75d060f9321b6f8b0 by nikita.ppv
[ARM] Expand vector reduction intrinsics on soft float

Followup to D73135. If the target doesn't have hard float (default
for ARM), then we assert when trying to soften the result of vector
reduction intrinsics. This patch marks these for expansion as well.
(A bit odd to use vectors on a target without hard float ... but
that's where you end up if you expose target-independent vector types.)

Differential Revision: https://reviews.llvm.org/D73854
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
The file was addedllvm/test/CodeGen/ARM/vecreduce-fadd-legalization-soft-float.ll
Commit 789a46f2d742e11edaade28cb59a0f4d2a1d770e by maskray
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition

Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.

Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.

Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert

Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73865
The file was modifiedclang/test/CodeGen/partial-reinitialization1.c
The file was modifiedclang/test/CodeGen/malign-double-x86-nacl.c
The file was modifiedclang/test/CodeGen/pr34021.c
The file was modifiedclang/test/CodeGen/long_double_fp128.cpp
The file was modifiedclang/test/CodeGenCXX/amdgcn-automatic-variable.cpp
The file was modifiedclang/test/CodeGen/default-address-space.c
The file was modifiedclang/test/CodeGenCXX/cxx1z-decomposition.cpp
The file was modifiedclang/test/CodeGenCXX/throw-expressions.cpp
The file was modifiedclang/test/CodeGen/arm64-mte.c
The file was modifiedclang/test/CodeGen/powerpc_types.c
The file was modifiedclang/test/CodeGenCXX/compound-literals.cpp
The file was modifiedclang/test/CodeGen/ppc64-struct-onevect.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-three-params.cpp
The file was modifiedclang/test/CodeGenCXX/no-unique-address.cpp
The file was modifiedclang/test/CodeGen/catch-pointer-overflow-volatile.c
The file was modifiedclang/test/CodeGenCXX/aarch64-arguments.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/alloca-align.cpp
The file was modifiedclang/test/CodeGen/bool-convert.c
The file was modifiedclang/test/OpenMP/target_map_codegen.cpp
The file was modifiedclang/test/CodeGen/arm-neon-dot-product.c
The file was modifiedclang/test/CodeGen/aarch64-neon-across.c
The file was modifiedclang/test/CodeGen/init-memset.c
The file was modifiedclang/test/CodeGen/ppc64-inline-asm.c
The file was modifiedclang/test/CodeGen/mips-varargs.c
The file was modifiedclang/test/CodeGen/malign-double.cpp
The file was modifiedclang/test/CodeGen/libcalls.c
The file was modifiedclang/test/CodeGenCXX/static-initializer-branch-weights.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_codegen.cpp
The file was modifiedclang/test/CodeGen/prefetchw-builtins.c
The file was modifiedclang/test/CodeGen/builtin-constant-p.c
The file was modifiedclang/test/OpenMP/teams_private_codegen.cpp
The file was modifiedclang/test/CodeGen/ppc64-dwarf.c
The file was modifiedclang/test/CodeGen/aarch64-poly64.c
The file was modifiedclang/test/CodeGenCXX/vtable-key-function-arm.cpp
The file was modifiedclang/test/CodeGen/ms_abi.c
The file was modifiedclang/test/OpenMP/simd_metadata.c
The file was modifiedclang/test/CodeGen/builtins-arm.c
The file was modifiedclang/test/CodeGenCXX/builtin-is-constant-evaluated.cpp
The file was modifiedclang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info.cpp
The file was modifiedclang/test/CodeGenCXX/pragma-visibility.cpp
The file was modifiedclang/test/OpenMP/target_is_device_ptr_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/static-init-4.cpp
The file was modifiedclang/test/CodeGen/systemz-abi-vector.c
The file was modifiedclang/test/OpenMP/threadprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/global-init.c
The file was modifiedclang/test/CodeGenCXX/catch-undef-behavior.cpp
The file was modifiedclang/test/CodeGenCXX/cxx2a-thread-local-constinit.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/switch.c
The file was modifiedclang/test/CodeGenCXX/cxx2a-destroying-delete.cpp
The file was modifiedclang/test/CodeGenCXX/attr-cpuspecific.cpp
The file was modifiedclang/test/CodeGen/builtins-ppc-htm.c
The file was modifiedclang/test/SemaCXX/attr-on-explicit-template-instantiation.cpp
The file was modifiedclang/test/CodeGen/ubsan-function.cpp
The file was modifiedclang/test/CodeGen/xray-always-instrument.cpp
The file was modifiedclang/test/CodeGen/arm-aapcs-vfp.c
The file was modifiedclang/test/CodeGen/lifetime-debuginfo-2.c
The file was modifiedclang/test/CodeGen/microsoft-call-conv.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-three-params-variable.cpp
The file was modifiedclang/test/CodeGen/arm-neon-numeric-maxmin.c
The file was modifiedclang/test/CodeGenCXX/virtual-function-elimination.cpp
The file was modifiedclang/test/CodeGen/xray-instruction-threshold.cpp
The file was modifiedclang/test/CodeGenCXX/initializer-list-ctor-order.cpp
The file was modifiedclang/test/CodeGenCXX/powerpc-byval.cpp
The file was modifiedclang/test/CodeGen/ppc64le-f128Aggregates.c
The file was modifiedclang/test/CodeGenCXX/builtin-operator-new-delete.cpp
The file was modifiedclang/test/CodeGen/mips64-padding-arg.c
The file was modifiedclang/test/CodeGen/catch-nullptr-and-nonzero-offset-when-nullptr-is-defined.c
The file was modifiedclang/test/CXX/expr/p10-0x.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1y-variable-template.cpp
The file was modifiedclang/test/CodeGen/stackrealign-main.c
The file was modifiedclang/test/CodeGenCXX/const-init-cxx2a.cpp
The file was modifiedclang/test/CodeGen/ppc64-long-double.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-initializer-aggregate.cpp
The file was modifiedclang/test/CodeGenCXX/no-elide-constructors.cpp
The file was modifiedclang/test/CodeGenCXX/regcall.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGen/attributes.c
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-constructors.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-vcombine.c
The file was modifiedclang/test/CodeGenCXX/copy-constructor-elim-2.cpp
The file was modifiedclang/test/CodeGen/attr-weakref.c
The file was modifiedclang/test/CodeGen/le32-libcall-pow.c
The file was modifiedclang/test/OpenMP/parallel_private_codegen.cpp
The file was modifiedclang/test/CodeGen/lanai-arguments.c
The file was modifiedclang/test/CodeGen/thread-specifier.c
The file was modifiedclang/test/CodeGen/ppc64-complex-parms.c
The file was modifiedclang/test/CodeGenCXX/cxx1y-sized-deallocation.cpp
The file was modifiedclang/test/CodeGenCXX/type-metadata.cpp
The file was modifiedclang/test/CodeGen/unaligned-decl.c
The file was modifiedclang/test/CodeGen/pr25786.c
The file was modifiedclang/test/CodeGen/x86_32-arguments-iamcu.c
The file was modifiedclang/test/OpenMP/teams_distribute_private_codegen.cpp
The file was modifiedclang/test/CodeGen/2008-07-31-promotion-of-compound-pointer-arithmetic.c
The file was modifiedclang/test/CodeGen/const-init.c
The file was modifiedclang/test/OpenMP/allocate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/init-invariant.cpp
The file was modifiedclang/test/CodeGenCXX/homogeneous-aggregates.cpp
The file was modifiedclang/test/CodeGen/unsigned-overflow-minimal.c
The file was modifiedclang/test/OpenMP/for_private_codegen.cpp
The file was modifiedclang/test/CodeGen/alloc-align-attr.c
The file was modifiedclang/test/CodeGen/builtin-unpredictable.c
The file was modifiedclang/test/CodeGenCXX/conditional-gnu-ext.cpp
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
The file was modifiedclang/test/CodeGenCXX/new-array-init.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-fma.c
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/test/CodeGenCXX/amdgcn-string-literal.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGen/arm-vfp16-arguments.c
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/x86-long-double.cpp
The file was modifiedclang/test/CodeGen/aarch64-branch-protection-attr.c
The file was modifiedclang/test/CodeGen/riscv32-ilp32f-abi.c
The file was modifiedclang/test/OpenMP/nvptx_declare_target_var_ctor_dtor_codegen.cpp
The file was modifiedclang/test/CodeGen/avr-builtins.c
The file was modifiedclang/test/CodeGen/link-bitcode-file.c
The file was modifiedclang/test/CodeGenCXX/x86_64-arguments-avx.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/sparcv8-inline-asm.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-two-params.cpp
The file was modifiedclang/test/CodeGen/x86_64-floatvectors.c
The file was modifiedclang/test/CodeGenCXX/static-data-member.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-await-resume-eh.cpp
The file was modifiedclang/test/CodeGen/xray-attr-list.cpp
The file was modifiedclang/test/CodeGen/ppc64-align-struct.c
The file was modifiedclang/test/CodeGen/ifunc.c
The file was modifiedclang/test/CodeGen/2008-07-30-implicit-initialization.c
The file was modifiedclang/test/CodeGen/union-tbaa1.c
The file was modifiedclang/test/CodeGen/variadic-null-win64.c
The file was modifiedclang/test/CodeGenCXX/cxx1z-initializer-aggregate.cpp
The file was modifiedclang/test/CodeGen/volatile-complex.c
The file was modifiedclang/test/CodeGen/riscv32-ilp32-ilp32f-abi.c
The file was modifiedclang/test/CodeGen/x86-inline-asm-min-vector-width.c
The file was modifiedclang/test/CodeGen/aapcs-align.cpp
The file was modifiedclang/test/OpenMP/target_codegen_global_capture.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c
The file was modifiedclang/test/CodeGen/stdcall-fastcall.c
The file was modifiedclang/test/CodeGen/mips-byval-arg.c
The file was modifiedclang/test/CodeGen/unwind-attr.c
The file was modifiedclang/test/CodeGen/_Bool-conversion.c
The file was modifiedclang/test/CodeGen/dso-local-executable.c
The file was modifiedclang/test/CodeGen/x86_64-longdouble.c
The file was modifiedclang/test/CodeGen/regparm.c
The file was modifiedclang/test/CodeGen/fp16-ops.c
The file was modifiedclang/test/CodeGenCXX/virt-dtor-key.cpp
The file was modifiedclang/test/CodeGen/arc/struct-align.c
The file was modifiedclang/test/CodeGen/iamcu-abi.c
The file was modifiedclang/test/CodeGen/x86_64-arguments.c
The file was modifiedclang/test/CodeGenCXX/extern-section-attribute.cpp
The file was modifiedclang/test/CodeGen/builtins-ppc-altivec.c
The file was modifiedclang/test/CodeGen/inline.c
The file was modifiedclang/test/CodeGenCXX/stack-reuse-exceptions.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen_registration.cpp
The file was modifiedclang/test/CodeGenCXX/cxx0x-delegating-ctors.cpp
The file was modifiedclang/test/CodeGen/arm-vfp16-arguments2.cpp
The file was modifiedclang/test/CodeGenCXX/fastcall.cpp
The file was modifiedclang/test/CodeGen/arc/arguments.c
The file was modifiedclang/test/CodeGen/riscv64-lp64-lp64f-abi.c
The file was modifiedclang/test/CodeGenCXX/linetable-virtual-variadic.cpp
The file was modifiedclang/test/CodeGenCXX/x86_64-arguments-nacl-x32.cpp
The file was modifiedclang/test/CodeGen/ppc64-qpx-vector.c
The file was modifiedclang/test/OpenMP/sections_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/char8_t.cpp
The file was modifiedclang/test/CodeGen/cfstring-elf-cfbuild-x86_64.c
The file was modifiedclang/test/CodeGen/riscv64-lp64f-lp64d-abi.c
The file was modifiedclang/test/CodeGenCoroutines/coro-gro-nrvo.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-dot-product.c
The file was modifiedclang/test/CodeGen/builtins-ppc-quadword.c
The file was modifiedclang/test/CodeGen/const-arithmetic.c
The file was modifiedclang/test/CodeGen/xray-attributes-supported.cpp
The file was modifiedclang/test/CodeGen/arm-neon-vcvtX.c
The file was modifiedclang/test/OpenMP/target_parallel_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/asm-label.c
The file was modifiedclang/test/CodeGenCXX/nrvo.cpp
The file was modifiedclang/test/CodeGen/attr-target-mv.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-assume_aligned-on-function-two-params.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-alloc_align-on-function-variable.cpp
The file was modifiedclang/test/CodeGen/bitfield-2.c
The file was modifiedclang/test/CodeGenCXX/constructor-destructor-return-this.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-fp16fml.c
The file was modifiedclang/test/CodeGenCXX/attr-used-member-function-implicit-instantiation.cpp
The file was modifiedclang/test/CodeGen/arm-neon-directed-rounding.c
The file was modifiedclang/test/CodeGenCXX/attr-exclude_from_explicit_instantiation.dont_assume_extern_instantiation.cpp
The file was modifiedclang/test/CodeGenCXX/float128-declarations.cpp
The file was modifiedclang/test/CodeGenCXX/new.cpp
The file was modifiedclang/test/CodeGen/aarch64-byval-temp.c
The file was modifiedclang/test/CodeGen/xray-imbue-arg1.cpp
The file was modifiedclang/test/OpenMP/for_codegen.cpp
The file was modifiedclang/test/CodeGen/aarch64-varargs.c
The file was modifiedclang/test/CodeGen/ppc64-struct-onefloat.c
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-default-cc.cpp
The file was modifiedclang/test/CodeGen/functions.c
The file was modifiedclang/test/CodeGenCXX/cxx1z-inline-variables.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-ldst-one.c
The file was modifiedclang/test/CodeGen/avr/attributes/signal.c
The file was modifiedclang/test/CodeGenCXX/builtin-launder.cpp
The file was modifiedclang/test/CodeGen/altivec.c
The file was modifiedclang/test/CodeGenCXX/clang-sections.cpp
The file was modifiedclang/test/CodeGenCXX/delete-two-arg.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-align_value-on-paramvar.cpp
The file was modifiedclang/test/CodeGenCXX/ubsan-vtable-checks.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1y-init-captures-eh.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-func-ptrs.cpp
The file was modifiedclang/test/CodeGen/arm_function_epilog.cpp
The file was modifiedclang/test/CodeGen/arm-fp16-arguments.c
The file was modifiedclang/test/CodeGen/exceptions.c
The file was modifiedclang/test/CodeGen/transparent-union-redecl.c
The file was modifiedclang/test/CodeGen/attr-weakref2.c
The file was modifiedclang/test/CodeGen/mips-vector-return.c
The file was modifiedclang/test/OpenMP/target_defaultmap_codegen.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-fcvt-intrinsics.c
The file was modifiedclang/test/CodeGen/xray-instrumentation-bundles.cpp
The file was modifiedclang/test/CodeGen/builtin-expect.c
The file was modifiedclang/test/CodeGenCXX/std-byte.cpp
The file was modifiedclang/test/CodeGen/sparc-vaarg.c
The file was modifiedclang/test/CodeGen/sparc-arguments.c
The file was modifiedclang/test/CodeGen/align-systemz.c
The file was modifiedclang/test/CodeGenCXX/microsoft-uuidof.cpp
The file was modifiedclang/test/CodeGenCXX/thunks.cpp
The file was modifiedclang/test/CodeGenCXX/arm64-darwinpcs.cpp
The file was modifiedclang/test/CodeGen/aapcs64-align.cpp
The file was modifiedclang/test/CodeGen/mcu-struct-return.c
The file was modifiedclang/test/CodeGen/x86_64-arguments-nacl.c
The file was modifiedclang/test/CodeGen/riscv-inline-asm.c
The file was modifiedclang/test/CodeGenCXX/explicit-instantiation.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp
The file was modifiedclang/test/CodeGen/catch-pointer-overflow.c
The file was modifiedclang/test/CodeGenCXX/implicit-record-visibility.cpp
The file was modifiedclang/test/CodeGen/x86_32-arguments-nommx.c
The file was modifiedclang/test/CodeGenCXX/template-anonymous-types.cpp
The file was modifiedclang/test/CodeGen/ppc-signbit.c
The file was modifiedclang/test/CodeGen/attr-x86-interrupt.c
The file was modifiedclang/test/CodeGenCXX/static-init.cpp
The file was modifiedclang/test/CodeGen/dllexport-1.c
The file was modifiedclang/test/CodeGen/arm-float-helpers.c
The file was modifiedclang/test/CodeGen/enable_if.c
The file was modifiedclang/test/CodeGenCXX/ubsan-function-noexcept.cpp
The file was modifiedclang/test/CodeGen/address-space.c
The file was modifiedclang/test/SemaCXX/cxx03-aligned-allocation-unscoped-enum.cpp
The file was modifiedclang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
The file was modifiedclang/test/CodeGen/sparcv9-dwarf.c
The file was modifiedclang/test/CodeGen/3dnow-builtins.c
The file was modifiedclang/test/CodeGen/flexible-array-init.c
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local-reference.cpp
The file was modifiedclang/test/CodeGenCXX/mangle-win64-ccs.cpp
The file was modifiedclang/test/CodeGen/attr-msp430.c
The file was modifiedclang/test/CodeGenCXX/no-odr-use.cpp
The file was modifiedclang/test/CodeGen/builtins-ppc.c
The file was modifiedclang/test/CodeGen/riscv32-ilp32f-ilp32d-abi.c
The file was modifiedclang/test/CodeGenCXX/pr9130.cpp
The file was modifiedclang/test/CodeGenCXX/key-function-vtable.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-vget-hilo.c
The file was modifiedclang/test/CodeGenCoroutines/coro-lambda.cpp
The file was modifiedclang/test/CodeGen/noduplicate-cxx11-test.cpp
The file was modifiedclang/test/CodeGen/x86-vec-i128.c
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/CodeGenCXX/devirtualize-virtual-function-calls-final.cpp
The file was modifiedclang/test/CodeGen/mrtd.c
The file was modifiedclang/test/CodeGen/sparcv9-abi.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/static-member-variable-explicit-specialization.cpp
The file was modifiedclang/test/CodeGenCXX/pr31054.cpp
The file was modifiedclang/test/CodeGenCXX/default_calling_conv.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-scalar-copy.c
The file was modifiedclang/test/CodeGen/assign.c
The file was modifiedclang/test/CodeGen/ppc64-complex-return.c
The file was modifiedclang/test/CodeGenCXX/attr-x86-interrupt.cpp
The file was modifiedclang/test/CodeGen/builtin-ms-noop.cpp
The file was modifiedclang/test/CodeGen/global-decls.c
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/bitfield.cpp
The file was modifiedclang/test/CodeGen/builtins-ppc-p8vector.c
The file was modifiedclang/test/CodeGen/c11atomics.c
The file was modifiedclang/test/CodeGenCXX/visibility-inlines-hidden.cpp
The file was modifiedclang/test/CodeGen/builtins-ppc-crypto.c
The file was modifiedclang/test/CodeGen/sparcv8-abi.c
The file was modifiedclang/test/CodeGen/riscv32-ilp32d-abi.c
The file was modifiedclang/test/CodeGen/ms_abi_aarch64.c
The file was modifiedclang/test/CodeGenCoroutines/coro-cleanup.cpp
The file was modifiedclang/test/CodeGen/ppc64le-aggregates.c
The file was modifiedclang/test/CodeGenCXX/vtable-linkage.cpp
The file was modifiedclang/test/CodeGen/riscv64-lp64d-abi.c
The file was modifiedclang/test/CodeGen/xray-ignore-loops.cpp
The file was modifiedclang/test/CodeGen/arm-pcs.c
The file was modifiedclang/test/CodeGen/ppc64-soft-float.c
The file was modifiedclang/test/OpenMP/declare_variant_mixed_codegen.c
The file was modifiedclang/test/CodeGenCXX/global-dtor-no-atexit.cpp
The file was modifiedclang/test/OpenMP/target_data_use_device_ptr_codegen.cpp
The file was modifiedclang/test/CodeGen/aarch64-args.cpp
The file was modifiedclang/test/CodeGenCXX/auto-variable-template.cpp
The file was modifiedclang/test/CodeGen/builtin-align.c
The file was modifiedclang/test/CodeGen/le32-arguments.c
The file was modifiedclang/test/Modules/initializers.cpp
The file was modifiedclang/test/CodeGen/xray-attributes-noxray-supported.cpp
The file was modifiedclang/test/CodeGenCXX/devirtualize-dtor-final.cpp
The file was modifiedclang/test/CodeGen/decl-in-prototype.c
The file was modifiedclang/test/CodeGenCXX/cxx1y-deduced-return-type.cpp
The file was modifiedclang/test/CodeGenCXX/throw-expression-cleanup.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/ubsan-asan-noreturn.c
The file was modifiedclang/test/CodeGenCXX/const-init-cxx11.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-align_value-on-lvalue.cpp
The file was modifiedclang/test/CodeGen/xray-never-instrument.cpp
The file was modifiedclang/test/CodeGenCXX/stack-reuse.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-alloc_align-on-function.cpp
The file was modifiedclang/test/CodeGen/aarch64-vpcs.c
The file was modifiedclang/test/CodeGen/xcore-abi.c
The file was modifiedclang/test/CodeGenCXX/member-function-pointers.cpp
The file was modifiedclang/test/OpenMP/target_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/parallel_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/ppc64-extend.c
The file was modifiedclang/test/CodeGenCXX/new-overflow.cpp
The file was modifiedclang/test/CodeGen/flatten.c
The file was modifiedclang/test/CodeGen/nvptx-abi.c
The file was modifiedclang/test/CodeGen/x86_32-arguments-linux.c
The file was modifiedclang/test/CodeGenCXX/uncopyable-args.cpp
The file was modifiedclang/test/CodeGenCXX/visibility-inlines-hidden-staticvar.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-params.cpp
The file was modifiedclang/test/CodeGen/default-function-attr.c
The file was modifiedclang/test/CodeGen/alias.c
The file was modifiedclang/test/CodeGen/mips-interrupt-attr.c
The file was modifiedclang/test/CodeGen/init.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-openmp.cpp
The file was modifiedclang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
The file was modifiedclang/test/CodeGen/no-builtin.cpp
The file was modifiedclang/test/CodeGenCXX/redefine_extname.cpp
The file was modifiedclang/test/CodeGenCXX/pr12251.cpp
The file was modifiedclang/test/CodeGen/catch-nullptr-and-nonzero-offset-in-offsetof-idiom.c
The file was modifiedclang/test/CodeGenCXX/vla-consruct.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-extract.c
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/cleanup-destslot-simple.c
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
The file was modifiedclang/test/CodeGenCXX/vla.cpp
The file was modifiedclang/test/CodeGen/spir-half-type.cpp
The file was modifiedclang/test/CodeGen/systemz-inline-asm.c
The file was modifiedclang/test/CodeGenCXX/amdgcn-func-arg.cpp
The file was modifiedclang/test/CodeGenCXX/builtin-calling-conv.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1y-initializer-aggregate.cpp
The file was modifiedclang/test/CodeGenCXX/designated-init.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_requires_unified_shared_memory.cpp
The file was modifiedclang/test/CodeGen/mips-transparent-union.c
The file was modifiedclang/test/CodeGenCXX/inheriting-constructor.cpp
The file was modifiedclang/test/CodeGenCXX/thiscall-struct-return.cpp
The file was modifiedclang/test/CodeGenCXX/amdgcn_declspec_get.cpp
The file was modifiedclang/test/CodeGenCXX/builtin_LINE.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-uuidof-mangling.cpp
The file was modifiedclang/test/CodeGen/atomics-inlining.c
The file was modifiedclang/test/CodeGenCXX/fp16-mangle.cpp
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-array.cpp
The file was modifiedclang/test/CodeGen/arm-varargs.c
The file was modifiedclang/test/CodeGenCXX/rtti-qualfn.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_codegen.cpp
The file was modifiedclang/test/CodeGen/clang-sections-attribute.c
The file was modifiedclang/test/CodeGen/mangle-windows.c
The file was modifiedclang/test/CodeGenCXX/thunk-returning-memptr.cpp
The file was modifiedclang/test/CodeGen/cfi-icall-cross-dso2.c
The file was modifiedclang/test/CodeGenCXX/devirtualize-virtual-function-calls.cpp
The file was modifiedclang/test/CodeGen/long-call-attr.c
The file was modifiedclang/test/CodeGen/alignment.c
The file was modifiedclang/test/CodeGen/arm64-aapcs-arguments.c
The file was modifiedclang/test/CodeGenCXX/attr.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-tbl.c
The file was modifiedclang/test/CodeGen/riscv64-lp64-abi.c
The file was modifiedclang/test/CodeGen/mips64-class-return.cpp
The file was modifiedclang/test/CodeGen/mbackchain.c
The file was modifiedclang/test/CodeGen/riscv64-lp64-lp64f-lp64d-abi.c
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local.cpp
The file was modifiedclang/test/CodeGen/riscv32-ilp32-ilp32f-ilp32d-abi.c
The file was modifiedclang/test/CodeGen/packed-structure.c
The file was modifiedclang/test/CodeGenCXX/catch-nullptr-and-nonzero-offset-in-offsetof-idiom.cpp
The file was modifiedclang/test/CodeGen/visibility.c
The file was modifiedclang/test/CodeGen/arm-neon-fma.c
The file was modifiedclang/test/CodeGen/blocks.c
The file was modifiedclang/test/CodeGen/pr9614.c
The file was modifiedclang/test/CodeGenCXX/cxx1y-init-captures.cpp
The file was modifiedclang/test/CodeGen/systemz-abi.cpp
The file was modifiedclang/test/CodeGenCXX/constructor-alias.cpp
The file was modifiedclang/test/CodeGenCXX/new-array-init-exceptions.cpp
The file was modifiedclang/test/CodeGen/zvector.c
The file was modifiedclang/test/CodeGen/aarch64-tme.cpp
The file was modifiedclang/test/CodeGen/xray-log-args.cpp
The file was modifiedclang/test/CodeGen/le32-vaarg.c
The file was modifiedclang/test/CodeGen/vla.c
The file was modifiedclang/test/CodeGenCXX/clang-sections-tentative.c
The file was modifiedclang/test/CodeGen/riscv32-ilp32-abi.c
The file was modifiedclang/test/CodeGen/sanitize-address-field-padding.cpp
The file was modifiedclang/test/CodeGen/systemz-abi.c
The file was modifiedclang/test/CodeGenCoroutines/coro-gro.cpp
The file was modifiedclang/test/CodeGen/avr/attributes/interrupt.c
The file was modifiedclang/test/CodeGen/mips16-attr.c
The file was modifiedclang/test/CodeGenCXX/bool-bitfield.cpp
The file was modifiedclang/test/CodeGen/ppc64-vector.c
The file was modifiedclang/test/CodeGen/arm-homogenous.c
The file was modifiedclang/test/CodeGen/aarch64-neon-3v.c
The file was modifiedclang/test/CodeGen/builtins-ppc-p7.c
The file was modifiedclang/test/CodeGenCXX/mips-size_t-ptrdiff_t.cpp
The file was modifiedclang/test/CodeGen/exprs.c
The file was modifiedclang/test/CodeGen/lifetime-debuginfo-1.c
The file was modifiedclang/test/CodeGenCXX/cxx11-extern-constexpr.cpp
The file was modifiedclang/test/CodeGenCXX/ctor-dtor-alias.cpp
The file was modifiedclang/test/CodeGen/align_value.cpp
The file was modifiedclang/test/CodeGen/x86-soft-float.c
The file was modifiedclang/test/CodeGen/regcall.c
The file was modifiedclang/test/CodeGen/2006-05-19-SingleEltReturn.c
The file was modifiedclang/test/Modules/codegen-extern-template.cpp
The file was modifiedclang/test/Modules/var-templates.cpp
The file was modifiedclang/test/CodeGen/aarch64-poly128.c
The file was modifiedclang/test/CodeGen/arm-cc.c
The file was modifiedclang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/exceptions.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-assume_aligned-on-function.cpp
The file was modifiedclang/test/CodeGen/builtins-ppc-vsx.c
The file was modifiedclang/test/CodeGenCXX/flatten.cpp
The file was modifiedclang/test/OpenMP/single_codegen.cpp
The file was modifiedclang/test/CodeGen/mips-zero-sized-struct.c
The file was modifiedclang/test/CodeGen/cfi-icall-generalize.c
The file was modifiedclang/test/CodeGen/xcore-abi.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local-visibility.cpp
The file was modifiedclang/test/OpenMP/single_private_codegen.cpp
The file was modifiedclang/test/CodeGen/redefine_extname.c
The file was modifiedclang/test/CodeGenCXX/invariant.group-for-vptrs.cpp
The file was modifiedclang/test/CodeGen/cfi-icall-canonical-jump-tables.c
The file was modifiedclang/test/CodeGen/packed-arrays.c
The file was modifiedclang/test/OpenMP/openmp_offload_registration.cpp
The file was modifiedclang/test/CodeGen/pragma-weak.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen_registration.cpp
The file was modifiedclang/test/CodeGenCXX/pr13396.cpp
The file was modifiedclang/test/CodeGen/patchable-function-entry.c
The file was modifiedclang/test/CodeGenCXX/attr-callback.cpp
The file was modifiedclang/test/CodeGen/bool-init.c
The file was modifiedclang/test/CodeGenCXX/derived-cast.cpp
The file was modifiedclang/test/OpenMP/constexpr_codegen.cpp
The file was modifiedclang/test/CodeGen/bool_test.c
The file was modifiedclang/test/CodeGenCXX/conditional-temporaries.cpp
The file was modifiedclang/test/CodeGenCXX/new-alias.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/static-local-in-local-class.cpp
The file was modifiedclang/test/CodeGen/mips-vector-arg.c
The file was modifiedclang/test/PCH/chain-pending-instantiations.cpp
The file was modifiedclang/test/CodeGen/micromips-attr.c
The file was modifiedclang/test/CodeGenCXX/thunk-linkonce-odr.cpp
The file was modifiedclang/test/CodeGen/designated-initializers.c
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/CodeGen/ppc64-elf-abi.c
The file was modifiedclang/test/CodeGen/function-attributes.c
The file was modifiedclang/test/CodeGen/tls-model.c
The file was modifiedclang/test/CodeGenCXX/x86_64-arguments.cpp
The file was modifiedclang/test/CodeGen/transparent-union.c
The file was modifiedclang/test/CodeGenCoroutines/coro-ret-void.cpp
Commit e6c9ab4fb74522febcb73b55fc500e360e89edd0 by nikita.ppv
[InstCombine] Rename worklist methods; NFC

This renames Worklist.AddDeferred() to Worklist.add() and
Worklist.Add() to Worklist.push(). The intention here is that
Worklist.add() should be the go-to method for explicit worklist
management, while the raw Worklist.push() is mostly for
InstCombine internals. I will then migrate uses of Worklist.push()
to Worklist.add() in followup changes.

As suggested by spatel on D73411 I'm also changing the remaining
method names to lowercase first character, in line with current
coding standards.

Differential Revision: https://reviews.llvm.org/D73745
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
The file was modifiedllvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Commit 878cb38a5c4272005f65554da0ec090c7c1c1f6a by nikita.ppv
[InstCombine] Add replaceOperand() helper

Adds a replaceOperand() helper, which is like Instruction.setOperand()
but adds the old operand to the worklist. This reduces the amount of
missing or incorrect worklist management.

This only applies the helper to a relatively small subset of
setOperand() calls in InstCombine, namely those of the pattern
`I.setOperand(); return &I;`, where it is most obviously applicable.

Differential Revision: https://reviews.llvm.org/D73803
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Commit 3ece5a23bd513026ee0f01eb2eba12de1e324c05 by llvm-dev
[X86] getTargetShuffleMask - use getConstantOperandVal helper. NFCI.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 7c3becf4231cde79b0448756e5bfc4ef5bd76089 by nikita.ppv
[IRBuilder] Remove unnecessary NoFolder methods; NFCI

Split out from D73835: These methods are not part of the
ConstantFolder API and as such don't serve a purpose.
The file was modifiedllvm/include/llvm/IR/NoFolder.h
Commit dbc96b518b619d37aacf670e1a9d3b90b5614dd2 by maskray
Revert "[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition"

This reverts commit 789a46f2d742e11edaade28cb59a0f4d2a1d770e.

Accidentally committed.
The file was modifiedclang/test/CodeGen/le32-vaarg.c
The file was modifiedclang/test/CodeGen/stackrealign-main.c
The file was modifiedclang/test/CodeGen/malign-double-x86-nacl.c
The file was modifiedclang/test/CodeGen/ms_abi.c
The file was modifiedclang/test/CodeGen/sparcv8-inline-asm.c
The file was modifiedclang/test/CodeGen/function-attributes.c
The file was modifiedclang/test/CodeGen/riscv64-lp64d-abi.c
The file was modifiedclang/test/CodeGen/aarch64-args.cpp
The file was modifiedclang/test/CodeGen/blocks.c
The file was modifiedclang/test/CodeGenCXX/conditional-temporaries.cpp
The file was modifiedclang/test/CodeGen/regparm.c
The file was modifiedclang/test/CodeGenCXX/const-init-cxx11.cpp
The file was modifiedclang/test/CodeGen/2008-07-31-promotion-of-compound-pointer-arithmetic.c
The file was modifiedclang/test/CodeGen/builtins-ppc.c
The file was modifiedclang/test/CodeGen/_Bool-conversion.c
The file was modifiedclang/test/CodeGenCXX/throw-expression-cleanup.cpp
The file was modifiedclang/test/CodeGen/attr-target-mv.c
The file was modifiedclang/test/CodeGenCXX/clang-sections.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-tbl.c
The file was modifiedclang/test/CodeGen/dllexport-1.c
The file was modifiedclang/test/CodeGen/systemz-inline-asm.c
The file was modifiedclang/test/CodeGen/x86_64-arguments-nacl.c
The file was modifiedclang/test/CodeGenCoroutines/coro-gro.cpp
The file was modifiedclang/test/CodeGen/clang-sections-attribute.c
The file was modifiedclang/test/CodeGen/riscv32-ilp32-ilp32f-abi.c
The file was modifiedclang/test/CodeGen/malign-double.cpp
The file was modifiedclang/test/CodeGen/xray-always-instrument.cpp
The file was modifiedclang/test/OpenMP/single_codegen.cpp
The file was modifiedclang/test/CodeGen/ppc64-struct-onevect.c
The file was modifiedclang/test/CodeGen/mips64-class-return.cpp
The file was modifiedclang/test/CodeGenCXX/builtin-launder.cpp
The file was modifiedclang/test/OpenMP/for_codegen.cpp
The file was modifiedclang/test/CodeGen/flexible-array-init.c
The file was modifiedclang/test/CodeGen/xray-attributes-noxray-supported.cpp
The file was modifiedclang/test/OpenMP/target_is_device_ptr_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/linetable-virtual-variadic.cpp
The file was modifiedclang/test/CodeGen/sparcv9-abi.c
The file was modifiedclang/test/CodeGen/2008-07-30-implicit-initialization.c
The file was modifiedclang/test/CodeGen/lifetime-debuginfo-2.c
The file was modifiedclang/test/CodeGen/atomics-inlining.c
The file was modifiedclang/test/CodeGenCXX/char8_t.cpp
The file was modifiedclang/test/CodeGen/mbackchain.c
The file was modifiedclang/test/CodeGen/regcall.c
The file was modifiedclang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
The file was modifiedclang/test/CodeGen/aarch64-poly64.c
The file was modifiedclang/test/CodeGen/avr/attributes/signal.c
The file was modifiedclang/test/CodeGen/arm64-mte.c
The file was modifiedclang/test/CodeGen/ppc64-inline-asm.c
The file was modifiedclang/test/CodeGenCXX/cxx1z-inline-variables.cpp
The file was modifiedclang/test/CodeGen/ppc64-qpx-vector.c
The file was modifiedclang/test/CodeGen/union-tbaa1.c
The file was modifiedclang/test/CodeGenCXX/amdgcn-string-literal.cpp
The file was modifiedclang/test/CodeGenCXX/static-init-4.cpp
The file was modifiedclang/test/CodeGenCXX/inheriting-constructor.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-extract.c
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/catch-pointer-overflow.c
The file was modifiedclang/test/CodeGen/sparcv9-dwarf.c
The file was modifiedclang/test/CodeGenCXX/attr-callback.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/CodeGen/bool_test.c
The file was modifiedclang/test/CodeGen/xcore-abi.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen.cpp
The file was modifiedclang/test/CodeGen/arm-varargs.c
The file was modifiedclang/test/CodeGenCXX/pr9130.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGen/long_double_fp128.cpp
The file was modifiedclang/test/CodeGen/sparc-vaarg.c
The file was modifiedclang/test/CodeGenCXX/thunk-returning-memptr.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-ldst-one.c
The file was modifiedclang/test/CodeGen/stdcall-fastcall.c
The file was modifiedclang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-constructors.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/thunks.cpp
The file was modifiedclang/test/OpenMP/parallel_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/fastcall.cpp
The file was modifiedclang/test/Modules/initializers.cpp
The file was modifiedclang/test/CodeGenCXX/alloca-align.cpp
The file was modifiedclang/test/CodeGen/sparcv8-abi.c
The file was modifiedclang/test/CodeGen/arm-fp16-arguments.c
The file was modifiedclang/test/CodeGen/mips-byval-arg.c
The file was modifiedclang/test/CodeGen/arm-cc.c
The file was modifiedclang/test/SemaCXX/attr-on-explicit-template-instantiation.cpp
The file was modifiedclang/test/CodeGen/riscv32-ilp32-abi.c
The file was modifiedclang/test/CodeGenCoroutines/coro-cleanup.cpp
The file was modifiedclang/test/CodeGen/vla.c
The file was modifiedclang/test/CodeGen/xray-attributes-supported.cpp
The file was modifiedclang/test/CodeGen/x86_64-longdouble.c
The file was modifiedclang/test/CodeGen/micromips-attr.c
The file was modifiedclang/test/CodeGen/long-call-attr.c
The file was modifiedclang/test/CodeGen/xray-instrumentation-bundles.cpp
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-array.cpp
The file was modifiedclang/test/CodeGen/ppc64-dwarf.c
The file was modifiedclang/test/CodeGen/mips-zero-sized-struct.c
The file was modifiedclang/test/OpenMP/target_codegen_global_capture.cpp
The file was modifiedclang/test/CodeGen/ifunc.c
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp
The file was modifiedclang/test/CodeGen/inline.c
The file was modifiedclang/test/OpenMP/simd_metadata.c
The file was modifiedclang/test/CodeGen/cleanup-destslot-simple.c
The file was modifiedclang/test/CodeGenCXX/key-function-vtable.cpp
The file was modifiedclang/test/CodeGen/catch-nullptr-and-nonzero-offset-when-nullptr-is-defined.c
The file was modifiedclang/test/CodeGenCXX/pr12251.cpp
The file was modifiedclang/test/CodeGen/mcu-struct-return.c
The file was modifiedclang/test/CodeGenCXX/global-dtor-no-atexit.cpp
The file was modifiedclang/test/CodeGenCXX/static-init.cpp
The file was modifiedclang/test/CodeGen/mips16-attr.c
The file was modifiedclang/test/CodeGen/ppc64-extend.c
The file was modifiedclang/test/CodeGen/ppc64-vector.c
The file was modifiedclang/test/CodeGenCXX/cxx1y-initializer-aggregate.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1y-init-captures-eh.cpp
The file was modifiedclang/test/CodeGen/alias.c
The file was modifiedclang/test/CodeGenCXX/static-initializer-branch-weights.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1y-init-captures.cpp
The file was modifiedclang/test/CodeGen/arm-neon-fma.c
The file was modifiedclang/test/CodeGenCXX/bool-bitfield.cpp
The file was modifiedclang/test/CodeGen/aarch64-tme.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/mips-vector-arg.c
The file was modifiedclang/test/CodeGen/arm-vfp16-arguments.c
The file was modifiedclang/test/CodeGen/init.c
The file was modifiedclang/test/CodeGen/arm-homogenous.c
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
The file was modifiedclang/test/CodeGenCXX/explicit-instantiation.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-openmp.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/riscv32-ilp32f-abi.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/pr34021.c
The file was modifiedclang/test/CodeGenCXX/init-invariant.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_requires_unified_shared_memory.cpp
The file was modifiedclang/test/CodeGen/arm-vfp16-arguments2.cpp
The file was modifiedclang/test/CodeGen/x86_32-arguments-nommx.c
The file was modifiedclang/test/CodeGen/aarch64-byval-temp.c
The file was modifiedclang/test/OpenMP/target_teams_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/ppc64-soft-float.c
The file was modifiedclang/test/CodeGen/riscv64-lp64-lp64f-abi.c
The file was modifiedclang/test/CodeGen/aarch64-neon-fma.c
The file was modifiedclang/test/CodeGen/packed-structure.c
The file was modifiedclang/test/CodeGenCXX/extern-section-attribute.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/CodeGen/xray-instruction-threshold.cpp
The file was modifiedclang/test/CodeGen/x86-soft-float.c
The file was modifiedclang/test/CodeGen/unaligned-decl.c
The file was modifiedclang/test/CodeGen/attr-weakref.c
The file was modifiedclang/test/CodeGenCXX/stack-reuse.cpp
The file was modifiedclang/test/CodeGenCXX/constructor-destructor-return-this.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/cxx1y-deduced-return-type.cpp
The file was modifiedclang/test/CodeGen/x86_32-arguments-linux.c
The file was modifiedclang/test/CodeGenCXX/flatten.cpp
The file was modifiedclang/test/CodeGenCXX/new-array-init.cpp
The file was modifiedclang/test/CodeGen/fp16-ops.c
The file was modifiedclang/test/CodeGen/systemz-abi.c
The file was modifiedclang/test/CodeGen/asm-label.c
The file was modifiedclang/test/CodeGenCXX/cxx1y-variable-template.cpp
The file was modifiedclang/test/OpenMP/parallel_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-across.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-assume_aligned-on-function-two-params.cpp
The file was modifiedclang/test/CodeGen/global-decls.c
The file was modifiedclang/test/CodeGenCoroutines/coro-params.cpp
The file was modifiedclang/test/CodeGen/exprs.c
The file was modifiedclang/test/CodeGen/le32-libcall-pow.c
The file was modifiedclang/test/CodeGenCXX/cxx1z-decomposition.cpp
The file was modifiedclang/test/SemaCXX/cxx03-aligned-allocation-unscoped-enum.cpp
The file was modifiedclang/test/CodeGen/const-arithmetic.c
The file was modifiedclang/test/CodeGen/aarch64-neon-vcombine.c
The file was modifiedclang/test/CodeGenCXX/attr-used-member-function-implicit-instantiation.cpp
The file was modifiedclang/test/CodeGen/lifetime-debuginfo-1.c
The file was modifiedclang/test/OpenMP/for_private_codegen.cpp
The file was modifiedclang/test/CodeGen/arc/struct-align.c
The file was modifiedclang/test/CodeGen/designated-initializers.c
The file was modifiedclang/test/CodeGenCXX/cxx1y-sized-deallocation.cpp
The file was modifiedclang/test/OpenMP/nvptx_declare_target_var_ctor_dtor_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/regcall.cpp
The file was modifiedclang/test/CodeGen/iamcu-abi.c
The file was modifiedclang/test/CodeGen/builtin-constant-p.c
The file was modifiedclang/test/CodeGen/x86_32-arguments-iamcu.c
The file was modifiedclang/test/CodeGenCXX/fp16-mangle.cpp
The file was modifiedclang/test/CodeGen/mips-varargs.c
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
The file was modifiedclang/test/CodeGen/catch-nullptr-and-nonzero-offset-in-offsetof-idiom.c
The file was modifiedclang/test/CodeGen/pr9614.c
The file was modifiedclang/test/CodeGenCXX/devirtualize-virtual-function-calls-final.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-uuidof.cpp
The file was modifiedclang/test/Modules/codegen-extern-template.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-3v.c
The file was modifiedclang/test/CodeGen/spir-half-type.cpp
The file was modifiedclang/test/CodeGen/arm-neon-numeric-maxmin.c
The file was modifiedclang/test/CodeGen/ppc64-complex-return.c
The file was modifiedclang/test/CodeGenCXX/new.cpp
The file was modifiedclang/test/CodeGen/decl-in-prototype.c
The file was modifiedclang/test/CodeGen/mips-transparent-union.c
The file was modifiedclang/test/CodeGen/le32-arguments.c
The file was modifiedclang/test/CodeGen/assign.c
The file was modifiedclang/test/CodeGen/aarch64-neon-fp16fml.c
The file was modifiedclang/test/CodeGen/functions.c
The file was modifiedclang/test/CodeGen/ms_abi_aarch64.c
The file was modifiedclang/test/CodeGen/riscv32-ilp32-ilp32f-ilp32d-abi.c
The file was modifiedclang/test/CodeGen/unsigned-overflow-minimal.c
The file was modifiedclang/test/CodeGen/alloc-align-attr.c
The file was modifiedclang/test/CodeGen/aarch64-neon-vget-hilo.c
The file was modifiedclang/test/CodeGen/mangle-windows.c
The file was modifiedclang/test/CodeGen/x86_64-arguments.c
The file was modifiedclang/test/CodeGenCXX/invariant.group-for-vptrs.cpp
The file was modifiedclang/test/CodeGen/riscv64-lp64f-lp64d-abi.c
The file was modifiedclang/test/CodeGen/systemz-abi-vector.c
The file was modifiedclang/test/CodeGen/attr-weakref2.c
The file was modifiedclang/test/CodeGen/aapcs64-align.cpp
The file was modifiedclang/test/CodeGen/cfi-icall-canonical-jump-tables.c
The file was modifiedclang/test/CodeGen/powerpc_types.c
The file was modifiedclang/test/OpenMP/single_private_codegen.cpp
The file was modifiedclang/test/CodeGen/switch.c
The file was modifiedclang/test/CodeGenCXX/conditional-gnu-ext.cpp
The file was modifiedclang/test/CodeGenCXX/attr-x86-interrupt.cpp
The file was modifiedclang/test/CodeGen/global-init.c
The file was modifiedclang/test/CodeGenCXX/implicit-record-visibility.cpp
The file was modifiedclang/test/CodeGenCXX/amdgcn-automatic-variable.cpp
The file was modifiedclang/test/CodeGenCXX/initializer-list-ctor-order.cpp
The file was modifiedclang/test/CodeGenCXX/rtti-qualfn.cpp
The file was modifiedclang/test/OpenMP/threadprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/3dnow-builtins.c
The file was modifiedclang/test/CodeGenCXX/cxx1z-initializer-aggregate.cpp
The file was modifiedclang/test/CodeGenCXX/mangle-win64-ccs.cpp
The file was modifiedclang/test/OpenMP/target_codegen_registration.cpp
The file was modifiedclang/test/CodeGenCXX/static-data-member.cpp
The file was modifiedclang/test/CodeGen/ppc64le-f128Aggregates.c
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-func-ptrs.cpp
The file was modifiedclang/test/CodeGen/aarch64-poly128.c
The file was modifiedclang/test/CodeGenCXX/vla-consruct.cpp
The file was modifiedclang/test/CodeGen/xcore-abi.c
The file was modifiedclang/test/CodeGen/mrtd.c
The file was modifiedclang/test/CodeGen/builtin-ms-noop.cpp
The file was modifiedclang/test/CodeGen/riscv64-lp64-lp64f-lp64d-abi.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-three-params.cpp
The file was modifiedclang/test/CodeGen/link-bitcode-file.c
The file was modifiedclang/test/CodeGenCXX/builtin-calling-conv.cpp
The file was modifiedclang/test/CodeGen/ppc64-struct-onefloat.c
The file was modifiedclang/test/CodeGen/avr-builtins.c
The file was modifiedclang/test/CodeGen/x86-vec-i128.c
The file was modifiedclang/test/CodeGen/xray-attr-list.cpp
The file was modifiedclang/test/CXX/expr/p10-0x.cpp
The file was modifiedclang/test/CodeGen/thread-specifier.c
The file was modifiedclang/test/CodeGen/arm64-aapcs-arguments.c
The file was modifiedclang/test/CodeGen/c11atomics.c
The file was modifiedclang/test/CodeGen/mips64-padding-arg.c
The file was modifiedclang/test/CodeGenCXX/attr-cpuspecific.cpp
The file was modifiedclang/test/CodeGen/aarch64-varargs.c
The file was modifiedclang/test/CodeGen/pragma-weak.c
The file was modifiedclang/test/CodeGenCXX/visibility-inlines-hidden-staticvar.cpp
The file was modifiedclang/test/CodeGenCXX/redefine_extname.cpp
The file was modifiedclang/test/CodeGen/exceptions.c
The file was modifiedclang/test/CodeGenCXX/copy-constructor-elim-2.cpp
The file was modifiedclang/test/CodeGenCXX/cxx2a-destroying-delete.cpp
The file was modifiedclang/test/CodeGenCXX/virtual-function-elimination.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local-reference.cpp
The file was modifiedclang/test/CodeGenCXX/thiscall-struct-return.cpp
The file was modifiedclang/test/CodeGen/arm_function_epilog.cpp
The file was modifiedclang/test/CodeGen/arm-pcs.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/lanai-arguments.c
The file was modifiedclang/test/CodeGen/aarch64-branch-protection-attr.c
The file was modifiedclang/test/CodeGen/aarch64-neon-fcvt-intrinsics.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/zvector.c
The file was modifiedclang/test/CodeGen/xray-imbue-arg1.cpp
The file was modifiedclang/test/CodeGenCXX/visibility-inlines-hidden.cpp
The file was modifiedclang/test/CodeGenCXX/virt-dtor-key.cpp
The file was modifiedclang/test/CodeGenCXX/cxx0x-delegating-ctors.cpp
The file was modifiedclang/test/CodeGen/ppc64-long-double.cpp
The file was modifiedclang/test/CodeGenCXX/catch-undef-behavior.cpp
The file was modifiedclang/test/CodeGen/const-init.c
The file was modifiedclang/test/CodeGen/riscv32-ilp32d-abi.c
The file was modifiedclang/test/CodeGen/builtins-ppc-p8vector.c
The file was modifiedclang/test/CodeGen/builtins-ppc-altivec.c
The file was modifiedclang/test/CodeGen/cfi-icall-cross-dso2.c
The file was modifiedclang/test/CodeGen/attr-msp430.c
The file was modifiedclang/test/CodeGen/mips-vector-return.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-alloc_align-on-function-variable.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-scalar-copy.c
The file was modifiedclang/test/CodeGenCXX/thunk-linkonce-odr.cpp
The file was modifiedclang/test/CodeGen/transparent-union-redecl.c
The file was modifiedclang/test/CodeGenCXX/no-odr-use.cpp
The file was modifiedclang/test/CodeGenCXX/x86_64-arguments-nacl-x32.cpp
The file was modifiedclang/test/OpenMP/teams_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/builtin-is-constant-evaluated.cpp
The file was modifiedclang/test/CodeGen/builtin-expect.c
The file was modifiedclang/test/CodeGen/builtins-ppc-crypto.c
The file was modifiedclang/test/CodeGen/cfstring-elf-cfbuild-x86_64.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-assume_aligned-on-function.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-ret-void.cpp
The file was modifiedclang/test/CodeGen/visibility.c
The file was modifiedclang/test/CodeGenCXX/vla.cpp
The file was modifiedclang/test/CodeGen/arm-float-helpers.c
The file was modifiedclang/test/CodeGen/ubsan-asan-noreturn.c
The file was modifiedclang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c
The file was modifiedclang/test/OpenMP/target_data_use_device_ptr_codegen.cpp
The file was modifiedclang/test/OpenMP/target_defaultmap_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/attr.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-two-params.cpp
The file was modifiedclang/test/CodeGenCXX/vtable-linkage.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/builtin-unpredictable.c
The file was modifiedclang/test/CodeGen/transparent-union.c
The file was modifiedclang/test/CodeGen/ppc-signbit.c
The file was modifiedclang/test/CodeGen/redefine_extname.c
The file was modifiedclang/test/CodeGen/builtin-align.c
The file was modifiedclang/test/CodeGenCXX/amdgcn_declspec_get.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/builtin-operator-new-delete.cpp
The file was modifiedclang/test/CodeGen/noduplicate-cxx11-test.cpp
The file was modifiedclang/test/CodeGenCXX/catch-nullptr-and-nonzero-offset-in-offsetof-idiom.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-alloc_align-on-function.cpp
The file was modifiedclang/test/PCH/chain-pending-instantiations.cpp
The file was modifiedclang/test/CodeGen/attr-x86-interrupt.c
The file was modifiedclang/test/CodeGenCXX/builtin_LINE.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/address-space.c
The file was modifiedclang/test/CodeGenCXX/throw-expressions.cpp
The file was modifiedclang/test/CodeGen/bitfield-2.c
The file was modifiedclang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/float128-declarations.cpp
The file was modifiedclang/test/CodeGenCXX/pr13396.cpp
The file was modifiedclang/test/CodeGenCXX/stack-reuse-exceptions.cpp
The file was modifiedclang/test/CodeGen/variadic-null-win64.c
The file was modifiedclang/test/CodeGenCXX/x86_64-arguments-avx.cpp
The file was modifiedclang/test/CodeGenCXX/cxx2a-thread-local-constinit.cpp
The file was modifiedclang/test/OpenMP/parallel_master_codegen.cpp
The file was modifiedclang/test/CodeGen/catch-pointer-overflow-volatile.c
The file was modifiedclang/test/OpenMP/sections_private_codegen.cpp
The file was modifiedclang/test/OpenMP/constexpr_codegen.cpp
The file was modifiedclang/test/CodeGen/arm-aapcs-vfp.c
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/partial-reinitialization1.c
The file was modifiedclang/test/OpenMP/allocate_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/mips-size_t-ptrdiff_t.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-align_value-on-lvalue.cpp
The file was modifiedclang/test/CodeGen/ppc64-align-struct.c
The file was modifiedclang/test/CodeGen/xray-log-args.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/CodeGen/nvptx-abi.c
The file was modifiedclang/test/CodeGen/unwind-attr.c
The file was modifiedclang/test/CodeGenCXX/new-alias.cpp
The file was modifiedclang/test/CodeGen/mips-interrupt-attr.c
The file was modifiedclang/test/OpenMP/target_parallel_codegen_registration.cpp
The file was modifiedclang/test/CodeGen/attributes.c
The file was modifiedclang/test/CodeGen/builtins-ppc-vsx.c
The file was modifiedclang/test/CodeGen/enable_if.c
The file was modifiedclang/test/CodeGen/microsoft-call-conv.c
The file was modifiedclang/test/CodeGen/2006-05-19-SingleEltReturn.c
The file was modifiedclang/test/CodeGen/arm-neon-directed-rounding.c
The file was modifiedclang/test/CodeGen/dso-local-executable.c
The file was modifiedclang/test/CodeGen/sanitize-address-field-padding.cpp
The file was modifiedclang/test/CodeGen/riscv64-lp64-abi.c
The file was modifiedclang/test/CodeGen/arm-neon-dot-product.c
The file was modifiedclang/test/CodeGen/packed-arrays.c
The file was modifiedclang/test/CodeGenCXX/arm64-darwinpcs.cpp
The file was modifiedclang/test/CodeGenCXX/constructor-alias.cpp
The file was modifiedclang/test/CodeGenCXX/ubsan-vtable-checks.cpp
The file was modifiedclang/test/CodeGen/bool-init.c
The file was modifiedclang/test/CodeGen/x86-long-double.cpp
The file was modifiedclang/test/CodeGen/arm-neon-vcvtX.c
The file was modifiedclang/test/CodeGenCXX/no-elide-constructors.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-gro-nrvo.cpp
The file was modifiedclang/test/CodeGen/volatile-complex.c
The file was modifiedclang/test/CodeGenCXX/auto-variable-template.cpp
The file was modifiedclang/test/CodeGenCXX/designated-init.cpp
The file was modifiedclang/test/CodeGen/avr/attributes/interrupt.c
The file was modifiedclang/test/CodeGen/xray-ignore-loops.cpp
The file was modifiedclang/test/CodeGen/patchable-function-entry.c
The file was modifiedclang/test/CodeGenCXX/vtable-key-function-arm.cpp
The file was modifiedclang/test/CodeGenCXX/no-unique-address.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-three-params-variable.cpp
The file was modifiedclang/test/CodeGen/ppc64-complex-parms.c
The file was modifiedclang/test/CodeGen/xray-never-instrument.cpp
The file was modifiedclang/test/CodeGenCXX/ctor-dtor-alias.cpp
The file was modifiedclang/test/CodeGen/tls-model.c
The file was modifiedclang/test/CodeGenCXX/delete-two-arg.cpp
The file was modifiedclang/test/CodeGenCXX/template-anonymous-types.cpp
The file was modifiedclang/test/OpenMP/openmp_offload_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/test/CodeGenCXX/nrvo.cpp
The file was modifiedclang/test/CodeGen/libcalls.c
The file was modifiedclang/test/CodeGen/builtins-ppc-p7.c
The file was modifiedclang/test/CodeGenCXX/ubsan-function-noexcept.cpp
The file was modifiedclang/test/CodeGen/ppc64le-aggregates.c
The file was modifiedclang/test/CodeGen/arc/arguments.c
The file was modifiedclang/test/CodeGenCXX/attr-exclude_from_explicit_instantiation.dont_assume_extern_instantiation.cpp
The file was modifiedclang/test/CodeGenCXX/new-overflow.cpp
The file was modifiedclang/test/CodeGenCXX/x86_64-arguments.cpp
The file was modifiedclang/test/OpenMP/declare_variant_mixed_codegen.c
The file was modifiedclang/test/CodeGen/align_value.cpp
The file was modifiedclang/test/CodeGenCXX/pragma-visibility.cpp
The file was modifiedclang/test/CodeGen/prefetchw-builtins.c
The file was modifiedclang/test/CodeGenCXX/cxx11-initializer-aggregate.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-dot-product.c
The file was modifiedclang/test/CodeGen/x86-inline-asm-min-vector-width.c
The file was modifiedclang/test/CodeGen/align-systemz.c
The file was modifiedclang/test/CodeGen/alignment.c
The file was modifiedclang/test/CodeGen/riscv32-ilp32f-ilp32d-abi.c
The file was modifiedclang/test/CodeGenCoroutines/coro-lambda.cpp
The file was modifiedclang/test/CodeGenCXX/compound-literals.cpp
The file was modifiedclang/test/CodeGenCXX/default_calling_conv.cpp
The file was modifiedclang/test/CodeGenCXX/new-array-init-exceptions.cpp
The file was modifiedclang/test/CodeGen/builtins-ppc-quadword.c
The file was modifiedclang/test/CodeGenCXX/bitfield.cpp
The file was modifiedclang/test/CodeGen/default-function-attr.c
The file was modifiedclang/test/CodeGenCXX/pr31054.cpp
The file was modifiedclang/test/CodeGenCXX/devirtualize-dtor-final.cpp
The file was modifiedclang/test/CodeGenCoroutines/coro-await-resume-eh.cpp
The file was modifiedclang/test/CodeGen/builtins-ppc-htm.c
The file was modifiedclang/test/CodeGen/init-memset.c
The file was modifiedclang/test/Modules/var-templates.cpp
The file was modifiedclang/test/CodeGenCXX/devirtualize-virtual-function-calls.cpp
The file was modifiedclang/test/CodeGenCXX/powerpc-byval.cpp
The file was modifiedclang/test/CodeGenCXX/clang-sections-tentative.c
The file was modifiedclang/test/CodeGen/bool-convert.c
The file was modifiedclang/test/CodeGenCXX/derived-cast.cpp
The file was modifiedclang/test/CodeGenCXX/type-metadata.cpp
The file was modifiedclang/test/CodeGen/pr25786.c
The file was modifiedclang/test/CodeGenCXX/uncopyable-args.cpp
The file was modifiedclang/test/CodeGen/x86_64-floatvectors.c
The file was modifiedclang/test/OpenMP/teams_distribute_private_codegen.cpp
The file was modifiedclang/test/CodeGen/flatten.c
The file was modifiedclang/test/CodeGen/riscv-inline-asm.c
The file was modifiedclang/test/CodeGenCXX/static-local-in-local-class.cpp
The file was modifiedclang/test/CodeGen/ubsan-function.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local-visibility.cpp
The file was modifiedclang/test/CodeGen/cfi-icall-generalize.c
The file was modifiedclang/test/CodeGen/aarch64-vpcs.c
The file was modifiedclang/test/CodeGen/builtins-arm.c
The file was modifiedclang/test/CodeGen/systemz-abi.cpp
The file was modifiedclang/test/CodeGenCXX/std-byte.cpp
The file was modifiedclang/test/CodeGenCXX/amdgcn-func-arg.cpp
The file was modifiedclang/test/CodeGenCXX/member-function-pointers.cpp
The file was modifiedclang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp
The file was modifiedclang/test/CodeGenCXX/static-member-variable-explicit-specialization.cpp
The file was modifiedclang/test/CodeGen/no-builtin.cpp
The file was modifiedclang/test/CodeGenCXX/exceptions.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info.cpp
The file was modifiedclang/test/CodeGen/default-address-space.c
The file was modifiedclang/test/CodeGenCXX/homogeneous-aggregates.cpp
The file was modifiedclang/test/CodeGen/aapcs-align.cpp
The file was modifiedclang/test/CodeGenCXX/aarch64-arguments.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-attribute-align_value-on-paramvar.cpp
The file was modifiedclang/test/CodeGenCXX/const-init-cxx2a.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGen/altivec.c
The file was modifiedclang/test/CodeGen/ppc64-elf-abi.c
The file was modifiedclang/test/CodeGenCXX/cxx11-extern-constexpr.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-default-cc.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-uuidof-mangling.cpp
The file was modifiedclang/test/CodeGen/sparc-arguments.c
Commit 23e3c3df260ac9d2872d684699141c131db95688 by nikita.ppv
[IRBuilder] Add missing NoFolder::CreatePointerBitCastOrAddrSpaceCast(); NFC

Split out from D73835. This method was added to ConstantFolder and
TargetFolder, but not NoFolder.
The file was modifiedllvm/include/llvm/IR/NoFolder.h
Commit 575a975afda81ccc78fd1a043ef1f1746c179724 by nikita.ppv
[SimplifyLibCalls] Remove unused IRBuilder argument; NFC

isLocallyOpenedFile() does not use IRBuilder.
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Commit 31574d38ac5fa4646cf01dd252a23e682402134f by ctetreau
[SVE] Fix bug in simplification of scalable vector instructions

Summary:
* Most of the simplifications in SimplifyShuffleVectorInst depend on the
concrete value of, or the length of the mask vector. For scalable
vectors, this cannot be known at compile time.
** for these tests, detect if the vector is scalable before attempting
the transformation
* The functions ShuffleVectorInst::getMaskValue and
ShuffleVectorInst::getShuffleMask access the value of the constant mask.
However, since the length of the mask is unknown at compile time, these
function do not work for scalable vectors. Add asserts to ensure that
the input mask is not scalable

Reviewers: efriedma, sdesmalen, apazos, chrisj, huihuiz

Reviewed By: efriedma

Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73555
The file was addedllvm/test/Analysis/ConstantFolding/vscale-getelementptr.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was addedllvm/test/Analysis/ConstantFolding/vscale-shufflevector.ll
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/lib/IR/ConstantFold.cpp
Commit 388de9dfcdf6d96ab5e32c91be49745b1892a483 by asbirlea
[LoopUtils] Make duplicate method a utility. [NFCI]

Summary:
Method appendLoopsToWorklist is duplicate in LoopUnroll and in the
LoopPassManager as an internal method. Make it an utility.

Reviewers: dmgreen, chandlerc, fedor.sergeev, yamauchi

Subscribers: mehdi_amini, hiraditya, zzheng, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73569
The file was modifiedllvm/include/llvm/Transforms/Scalar/LoopPassManager.h
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/LoopUtils.h
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
Commit 398b4ed87d488b42032c8d0304324dce76ba9b66 by l.lunak
[clang] detect switch fallthrough marked by a comment (PR43465)

The regex can be extended if needed, but this should probably handle
most of the cases.

Differential Revision: https://reviews.llvm.org/D73852
The file was addedclang/test/Sema/fallthrough-comment.c
The file was modifiedclang/lib/Sema/AnalysisBasedWarnings.cpp
Commit 5b0c8dd3a4fdeafd0a4414e43c94c10732d3d2d8 by apl
[lldb] Delete ClangForward.h

Summary:
I think that there are very few things from clang that actually need forward
declaration, so not having a ClangForward header makes sense.

Differential Revision: https://reviews.llvm.org/D73827
The file was removedlldb/include/lldb/Core/ClangForward.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.h
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionHelper.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.h
Commit 3014efe071988724b67f2dc106d36002aa03fa7d by apl
[lldb] Remove unused parameter from ValueObject::GetExpressionPath

I previously removed the code in ValueObject::GetExpressionPath that
took advantage of the parameter `qualify_cxx_base_classes`. As a result,
this is now unused and can be removed.
The file was modifiedlldb/source/DataFormatters/ValueObjectPrinter.cpp
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/source/API/SBValue.cpp
The file was modifiedlldb/include/lldb/Core/ValueObjectRegister.h
The file was modifiedlldb/source/Core/ValueObjectRegister.cpp
The file was modifiedlldb/source/Commands/CommandObjectFrame.cpp
The file was modifiedlldb/source/Core/ValueObject.cpp
The file was modifiedlldb/source/Target/StackFrame.cpp
The file was modifiedlldb/include/lldb/Core/ValueObject.h
Commit 0ad18bf37b2d4f6a619f2ebdd6cfbe0ac617a2e5 by mtrent
[llvm-objdump] Suppress spurious warnings when parsing Mach-O binaries.

Summary:
llvm-objdump started warning when asked to disassemble a section that
isn't present in the input files, in Yuanfang Chen's change:
d16c162c9453db855503134fe29ae4a3c0bec936. The problem is that the
logic was restricted only to the generic llvm-objdump parser, not to the
Mach-O-specific parser used for Apple toolchain compatibility. The
solution is to log section names from the Mach-O parser.

The macho-cstring-dump.test has been updated to fail if it encounters
this new warning in the future.

Reviewers: pete, ab, lhames, jhenderson, grimar, MaskRay, ychen

Reviewed By: jhenderson, grimar

Subscribers: rupprecht, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73586
The file was modifiedllvm/tools/llvm-objdump/MachODump.cpp
The file was modifiedllvm/test/tools/llvm-objdump/X86/macho-cstring-dump.test
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
Commit a05441038a3a4a011b9421751367c5c797d57137 by rnk
Revert "[SVE] Fix bug in simplification of scalable vector instructions"

This reverts commit 31574d38ac5fa4646cf01dd252a23e682402134f.

The newly added shufflevector test does not pass locally on either of my
workstations.
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was removedllvm/test/Analysis/ConstantFolding/vscale-shufflevector.ll
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was removedllvm/test/Analysis/ConstantFolding/vscale-getelementptr.ll
Commit 105642af5eef694332b7181e0b333215d211332b by rnk
Add PassManagerImpl.h to hide implementation details

ClangBuildAnalyzer results show that a lot of time is spent
instantiating AnalysisManager::getResultImpl across the code base:

**** Templates that took longest to instantiate:
50445 ms: llvm::AnalysisManager<llvm::Function>::getResultImpl (412 times, avg 122 ms)
47797 ms: llvm::AnalysisManager<llvm::Function>::getResult<llvm::TargetLibraryAnalysis> (389 times, avg 122 ms)
46894 ms: std::tie<const unsigned long long, const bool> (2452 times, avg 19 ms)
43851 ms: llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096, 4096>::Allocate (3228 times, avg 13 ms)
33911 ms: std::tie<const unsigned int, const unsigned int, const unsigned int, const unsigned int> (897 times, avg 37 ms)
33854 ms: std::tie<const unsigned long long, const unsigned long long> (1897 times, avg 17 ms)
27886 ms: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string (11156 times, avg 2 ms)

I mentioned this result to @chandlerc, and he suggested this direction.

AnalysisManager is already explicitly instantiated, and getResultImpl
doesn't need to be inlined. Move the definition to an Impl header, and
include that header in files that explicitly instantiate
AnalysisManager. There are only four (real) IR units:
- function
- module
- loop
- cgscc

Looking at a specific transform (ArgumentPromotion.cpp), here are three
compilations before & after this change:

BEFORE:
$ for i in $(seq 3) ; do ./ccit.bat ; done
peak memory: 258.15MB
real: 0m6.297s
peak memory: 257.54MB
real: 0m5.906s
peak memory: 257.47MB
real: 0m6.219s

AFTER:
$ for i in $(seq 3) ; do ./ccit.bat ; done
peak memory: 235.35MB
real: 0m5.454s
peak memory: 234.72MB
real: 0m5.235s
peak memory: 234.39MB
real: 0m5.469s

The 20MB of memory saved seems real, and the time improvement seems like
it is there.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D73817
The file was modifiedllvm/lib/Analysis/LoopAnalysisManager.cpp
The file was modifiedllvm/lib/Analysis/CGSCCPassManager.cpp
The file was modifiedllvm/include/llvm/IR/PassManager.h
The file was addedllvm/include/llvm/IR/PassManagerImpl.h
The file was modifiedllvm/lib/IR/PassManager.cpp
The file was modifiedllvm/unittests/IR/PassManagerTest.cpp
Commit 221c5af4e4f4a504a4d1f352dd7b76d305e56a62 by thakis
Fix a -Wbitwise-conditional-parentheses warning in _LIBUNWIND_ARM_EHABI libunwind builds

```
src/UnwindCursor.hpp:1344:51: error: operator '?:' has lower precedence than '|';
    '|' will be evaluated first [-Werror,-Wbitwise-conditional-parentheses]
  _info.flags = isSingleWordEHT ? 1 : 0 | scope32 ? 0x2 : 0;  // Use enum?
                                      ~~~~~~~~~~~ ^
src/UnwindCursor.hpp:1344:51: note: place parentheses around the '|' expression
    to silence this warning
  _info.flags = isSingleWordEHT ? 1 : 0 | scope32 ? 0x2 : 0;  // Use enum?
                                                  ^
                                      (          )
src/UnwindCursor.hpp:1344:51: note: place parentheses around the '?:' expression
    to evaluate it first
  _info.flags = isSingleWordEHT ? 1 : 0 | scope32 ? 0x2 : 0;  // Use enum?
                                                  ^
                                          (                )
```

But `0 |` is a no-op for either of those two interpretations, so I think
what was meant here was

```
  _info.flags = (isSingleWordEHT ? 1 : 0) | (scope32 ? 0x2 : 0);  // Use enum?
```

Previously, if `isSingleWordEHT` was set, bit 2 would never be set. Now
it is. From what I can tell, the only thing that checks these bitmask is
ProcessDescriptors in Unwind-EHABI.cpp, and that only cares about bit 1,
so in practice this shouldn't have much of an effect.

Differential Revision: https://reviews.llvm.org/D73890
The file was modifiedlibunwind/src/UnwindCursor.hpp
Commit f26ff8c9df79a6905903be58864fb27c52374ab8 by qcolombet
[TargetRegisterInfo] Make the heuristic to skip region split overridable by the target

RegAllocGreedy uses a fairly compile time intensive splitting heuristic
called region splitting. This heuristic was disabled via another heuristic
when it is likely that it won't be worth the compile time. The only way
to control this other heuristic was via a command line option (huge-size-for-split).

This commit gives more control on this heuristic by making it overridable
by the target using a target hook in TargetRegisterInfo called
shouldRegionSplitForVirtReg.

The default implementation of this hook keeps the heuristic as it was
before this patch.
The file was modifiedllvm/lib/CodeGen/RegAllocGreedy.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetRegisterInfo.h
The file was modifiedllvm/lib/CodeGen/TargetRegisterInfo.cpp
Commit cd7650c186179ad156bfa0d8324d6662f2828aae by Matthew.Arsenault
GlobalISel: Implement fewerElementsVector for G_SEXT_INREG

Start using a new strategy with a combination of merge and unmerges.

This allows scalarizing before lowering, which in cases like
<2 x s128> avoids producing giant illegal shifts.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext-inreg.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-sext.mir
Commit b911b99052e90b9a011bcdf1a702d85eb86973d8 by Amara Emerson
[AArch64][GlobalISel] Don't reconvert to p0 in convertPtrAddToAdd().

convertPtrAddToAdd improved overall code size and quality by a significant amount,
but on -O0 we generate some cross-class copies due to the fact that we emitted
G_PTRTOINT and G_INTTOPTR around the G_ADD. Unfortunately at -O0 we don't run any
register coalescing, so these cross class copies end up escaping as moves, and
we ended up regressing 3 benchmarks on CTMark (though still a winner overall).

This patch changes the lowering to instead directly emit the G_ADD into the
destination register, and then force changes the dest LLT to s64 from p0. This
should be ok, as all uses of the register should now be selected and therefore
the LLT doesn't matter for the users. It does however matter for the importer
patterns, which will fail to select a G_ADD if there's a p0 LLT.

I'm not able to get rid of the G_PTRTOINT on the source yet however. We can't
use the same trick of breaking the type system since that could break the
selection of the defining instruction. Thus with -O0 we still end up with a
cross class copy on source.

Code size improvements on -O0:
Program                                         baseline      new         diff
test-suite :: CTMark/Bullet/bullet.test        965520       949164      -1.7%
test-suite...TMark/7zip/7zip-benchmark.test    1069456      1052600     -1.6%
test-suite...ark/tramp3d-v4/tramp3d-v4.test    1213692      1199804     -1.1%
test-suite...:: CTMark/sqlite3/sqlite3.test    421680       419736      -0.5%
test-suite...-typeset/consumer-typeset.test    837076       833380      -0.4%
test-suite :: CTMark/lencod/lencod.test        799712       796976      -0.3%
test-suite...:: CTMark/ClamAV/clamscan.test    688264       686132      -0.3%
test-suite :: CTMark/kimwitu++/kc.test         1002344      999648      -0.3%
test-suite...Mark/mafft/pairlocalalign.test    422296       421768      -0.1%
test-suite :: CTMark/SPASS/SPASS.test          656792       656532      -0.0%
Geomean difference                                                      -0.6%

Differential Revision: https://reviews.llvm.org/D73910
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/load-addressing-modes.mir
Commit 2bd46444d73436b121c4accd7d2f21e1fa7229ae by Jessica Paquette
[AArch64][GlobalISel] Walk through G_AND in TB(N)Z bit calculation

Given

```
tb(n)z (and x, m), b
```

Where the `b`-th bit of `m` is 1,

```
tb(n)z (and x, m), b == tb(n)z x, b
```

So, we can walk past a `G_AND` in this case.

Also add test/CodeGen/AArch64/GlobalISel/opt-fold-and-tbz-tbnz.mir to test this.

Differential Revision: https://reviews.llvm.org/D73790
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/opt-fold-and-tbz-tbnz.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit eda6b2e2b3f88e1e08328a229c2fc0f97b472ca4 by pifon
[MLIR][Linalg] Allow fusion of more than 2 linalg ops.

LinalgDependenceGraph was not updated after successful producer-consumer
fusion for linalg ops. In this patch it is fixed by reconstructing
LinalgDependenceGraph on every iteration. This is very ineffective and
should be improved by updating LDGraph only when it is necessary.
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/test/Dialect/Linalg/fusion.mlir
Commit 0da755df85dc851f5f35a69c0d5bcf0dc47eb631 by pifon
[MLIR][Linalg] Use GenericLoopNestRangeBuilder in tiling code.

Preparation for adding support for tiling to parallel loops.

Differential Revision: https://reviews.llvm.org/D73872
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
Commit 0fbaf3a7c2395d751cfa4ecd7f483f077b03d9bd by phosek
[clang-doc] Improving Markdown Output

This change has two components. The moves the generated file
for a namespace to the directory named after the namespace in
a file named 'index.<format>'. This greatly improves the browsing
experience since the index page is shown by default for a directory.

The second improves the markdown output by adding the links to the
referenced pages for children objects and the link back to the source
code.

Patch By: Clayton

Differential Revision: https://reviews.llvm.org/D72954
The file was modifiedclang-tools-extra/clang-doc/MDGenerator.cpp
The file was modifiedclang-tools-extra/clang-doc/HTMLGenerator.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.h
The file was modifiedclang-tools-extra/clang-doc/assets/index.js
The file was modifiedclang-tools-extra/clang-doc/tool/ClangDocMain.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.cpp
Commit 77e71c521726a7d3fce3d6dddbba9887d1a225c7 by daltenty
[AIX] Don't use a zero fill with a second parameter

Summary:
The AIX assembler .space directive can't take a second non-zero argument to fill
with. But LLVM emitFill currently assumes it can. We add a flag to the AsmInfo
to check if non-zero fill is supported, and if we can't zerofill non-zero values
we just splat the .byte directives.

Reviewers: stevewan, sfertile, DiggerLin, jasonliu, Xiangling_L

Reviewed By: jasonliu

Subscribers: Xiangling_L, wuzish, nemanjai, hiraditya, kbarton, jsji, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73554
The file was modifiedllvm/include/llvm/MC/MCAsmInfo.h
The file was addedllvm/test/CodeGen/PowerPC/aix-nonzero-zerofill.ll
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
Commit 80e63c17c0a4f02a730b8d00a426fcf0e018f9bb by phosek
Revert "[clang-doc] Improving Markdown Output"

This reverts commit 0fbaf3a7c2395d751cfa4ecd7f483f077b03d9bd as tests
are failing on some bots.
The file was modifiedclang-tools-extra/clang-doc/Representation.h
The file was modifiedclang-tools-extra/clang-doc/HTMLGenerator.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.cpp
The file was modifiedclang-tools-extra/clang-doc/MDGenerator.cpp
The file was modifiedclang-tools-extra/clang-doc/assets/index.js
The file was modifiedclang-tools-extra/clang-doc/tool/ClangDocMain.cpp
Commit 726446a00964f0be5521a5ad2b21752b8571cb9a by Matthew.Arsenault
AMDGPU: Fix splitting wide f32 s.buffer.load intrinsics

This would witch f32 to i32, and produce an invald concat_vectors from
i32 pieces to an f32 vector.
The file was modifiedllvm/test/CodeGen/AMDGPU/smrd.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit 2758ae41aece0c9d1df759fade3f3abf40baf515 by Matthew.Arsenault
AMDGPU/GlobalISel: Allow selecting s128 load/stores
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-flat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-flat.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.mir
Commit 0d6fccb460e515a78c33dcd97cda459332ddd63a by 31459023+hctim
[GWP-ASan] Allow late initialisation if single-threaded.

Summary:
This patch allows for late initialisation of the GWP-ASan allocator. Previously, if late initialisation occurred, the sample counter was never updated, meaning we would end up having to wait for 2^32 allocations before getting a sampled allocation.

Now, we initialise the sampling mechanism in init() as well. We require init() to be called single-threaded, so this isn't a problem.

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: merge_guards_bot, mgorny, #sanitizers, llvm-commits, cferris

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D73896
The file was modifiedcompiler-rt/lib/gwp_asan/tests/CMakeLists.txt
The file was addedcompiler-rt/lib/gwp_asan/tests/late_init.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
Commit cb7b661d3d3b547eaa377bdff0a0c94ea9e5458b by Matthew.Arsenault
AMDGPU: Analyze divergence of inline asm
The file was modifiedllvm/test/CodeGen/AMDGPU/inline-asm.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
The file was addedllvm/test/Analysis/DivergenceAnalysis/AMDGPU/inline-asm.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit 5521236a18074584542b81fd680158d89a845fca by Artem Dergachev
[analyzer] Re-land 0aba69e "Add test directory for scan-build."

The tool is now looked for in the source directory rather than in the
install directory, which should exclude the problems with not being able
to find it.

The tests still aren't being run on Windows, but they hopefully will run
on other platforms that have shell, which hopefully also means Perl.

Differential Revision: https://reviews.llvm.org/D69781
The file was addedclang/test/Analysis/scan-build/exclude_directories.test
The file was addedclang/test/Analysis/scan-build/plist_html_output.test
The file was addedclang/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c
The file was addedclang/test/Analysis/scan-build/Inputs/single_null_dereference.c
The file was addedclang/test/Analysis/scan-build/html_output.test
The file was addedclang/test/Analysis/scan-build/help.test
The file was addedclang/test/Analysis/scan-build/plist_output.test
The file was addedclang/test/Analysis/scan-build/lit.local.cfg
The file was addedclang/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c
Commit 4b05fc248b0068e203f27bea034020f137a6de2c by Artem Dergachev
[analyzer] Suppress linker invocation in scan-build tests.

This should fix PS4 buildbots.
The file was modifiedclang/test/Analysis/scan-build/plist_output.test
The file was modifiedclang/test/Analysis/scan-build/exclude_directories.test
The file was modifiedclang/test/Analysis/scan-build/html_output.test
The file was modifiedclang/test/Analysis/scan-build/plist_html_output.test
Commit 47cda0cb36bfee8b99061eec59d17152608bf3cc by peter
scudo: Use more size classes in the malloc_free_loop benchmarks.

As a result of recent changes to the Android size classes, the malloc_free_loop
benchmark started exhausting the 8192 size class at 32768 iterations. To avoid
this problem (and to make the test more realistic), change the benchmark to
use a variety of size classes.

Differential Revision: https://reviews.llvm.org/D73918
The file was modifiedcompiler-rt/lib/scudo/standalone/benchmarks/malloc_benchmark.cpp
Commit 15f54d348bcfe2dda91487f0c2664aa308d68934 by tyker
[NFC] Factor out function to detect if an attribute has an argument.
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/lib/Transforms/Utils/KnowledgeRetention.cpp
The file was modifiedllvm/lib/IR/AttributeImpl.h
The file was modifiedllvm/lib/IR/Attributes.cpp
The file was modifiedllvm/include/llvm/IR/Attributes.h
Commit 3b4d24d7701484bee32b97d547b11958fee2622b by zinenko
[mlir] Accept an LLVM::LLVMFuncOp in the builder of LLVM::CallOp

Summary:
Replace the generic zero- and one-result builders in LLVM::CallOp with a custom
builder that takes an LLVMFuncOp, which can be used to extract the result type
and create the symbol reference attribute. This is merely a convenience for
upcoming changes. The ODS-generated builders remain present.

Introduce LLVM::LLVMType::isVoidTy by analogy with the underlying LLVM type.

Differential Revision: https://reviews.llvm.org/D73895
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
Commit 9944ef42696ea048de6727c544eaebb897749113 by mtrent
Omit "Contents of" headers when -no-leading-headers is specified.

Summary:
llvm-objdump -macho will no longer print "Contents of" headers when
disassembling section contents when -no-leading-headers is specified.
For historical reasons, this flag is independent of -no-leading-addr.

Reviewers: ab, pete, jhenderson

Reviewed By: jhenderson

Subscribers: rupprecht, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73574
The file was modifiedllvm/test/tools/llvm-objdump/X86/macho-cstring-dump.test
The file was modifiedllvm/tools/llvm-objdump/MachODump.cpp
Commit d05e4ff4afd99ad46b205d6afbcc40e309ab83ef by david.green
[ARM] MVE vector reduction fadd and fmul tests. NFC
The file was addedllvm/test/CodeGen/Thumb2/mve-vecreduce-fadd.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-vecreduce-fmul.ll
Commit 9831e5c7b9fa3718376f2ed06091af6ac6490679 by rnk
Fix LLVM_ENABLE_MODULES build after TypeSize.h change
The file was modifiedllvm/include/llvm/Support/TypeSize.h
Commit c25938d57b1cf9534887313405bc409e570a9b69 by amccarth
Refactor CommandObjectTargetSymbolsAdd::AddModuleSymbols

* [NFC] Renamed local `matching_module_list` to `matching_modules` for
conciseness.

* [NFC] Eliminated redundant local variable `num_matches` to reduce the risk
that changes get it out of sync with `matching_modules.GetSize()`.

* Used an early return from case where the symbol file specified matches
multiple modules.  This is a slight behavior change, but it's an improvement:
It didn't make sense to tell the user that the symbol file simultaneously
matched multiple modules and no modules.

* [NFC] Used an early return from the case where no matches are found, to
better align with LLVM coding style.

* [NFC] Simplified call of `AppendWarningWithFormat("%s", stuff)` to
`AppendWarning(stuff)`.  I don't think this adds any copies.  It does
construct a StringRef, but it was going to have to scan the string for the
length anyway.

* [NFC] Removed unnecessary comments and reworded others for clarity.

* Used an early return if the symbol file could not be loaded.  This is a
behavior change because previously it could fail silently.

* Used an early return if the object file could not be retrieved from the
symbol file.  Again, this is a change because now there's an error message.

* [NFC] Eliminated a namespace alias that wasn't particularly helpful.

Differential Revision: https://reviews.llvm.org/D73594
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
Commit 0e362d82b97fe16b5671ceeb2f3e5b6f4ccf00dd by amccarth
Improve help text for (lldb) target symbols add

There were some missing words and awkward syntax.  I think this is clearer.

Differential Revision: https://reviews.llvm.org/D73589
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
Commit f8c4d70d11388ddbf3ccc63ca4ea35d09a987d41 by rnk
Fix modules build after PassManagerImpl.h addition

This new header needs to be in the LLVM_intrinsics_gen module.
The file was modifiedllvm/include/llvm/module.modulemap
Commit 7d3aace3f52f6b3f87aac432aa41ae1cdeb348eb by Matthew.Arsenault
AMDGPU: Add flag to control mem intrinsic expansion

GlobalISel doesn't implement the expansion for these yet, so add a
flag to force expanding these so it's possible to avoid these for a
while.
The file was addedllvm/test/CodeGen/AMDGPU/lower-mem-intrinsics-threshold.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp
Commit 37910fd0e1fdd821c71c16572eca815218f54872 by Jessica Paquette
[AArch64][GlobalISel] Fold G_SHL into TB(N)Z bit calculation

This implements the following optimization:

```
(tbz (shl x, c), b) -> (tbz x, b-c)
```

Which appears in `getTestBitOperand` in AArch64ISelLowering.cpp.

If we test bit `b` of `shl x, c`, we can fold away the `shl` by looking `c` bits
to the right of `b` in `x` when this fits in the type. So, we can just test the
`b-c`th bit.

Differential Revision: https://reviews.llvm.org/D73924
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/opt-fold-shift-tbz-tbnz.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit 2ddff6fab024d7fe6e4d571b7a53e16beed60e5e by mmoroz
[libFuzzer] Minor documentation fixes.
The file was modifiedllvm/docs/LibFuzzer.rst
Commit 2252cac694f142c84f53a45793b325f5bef9124f by jay.foad
[ANDGPU] getMemOperandsWithOffset: support BUF non-stack-access instructions with resource but no vaddr

Summary:
This enables clustering for many more BUF instructions.

Reviewers: rampitec, arsenm, nhaehnle

Subscribers: jvesely, wdng, hiraditya, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73868
The file was modifiedllvm/test/CodeGen/AMDGPU/merge-stores.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cttz_zero_undef.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sdiv.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shl.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_elt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/bswap.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/copy-illegal-type.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.memcpy.ll
Commit 9effe38b225f3dfd72d6f1800f2ea47175b5bf95 by Jessica Paquette
[AArch64][GlobalISel] Fold G_XOR into TB(N)Z bit calculation

This ports the existing case for G_XOR from `getTestBitOperand` in
AArch64ISelLowering into GlobalISel.

The idea is to flip between TBZ and TBNZ while walking through G_XORs.

Let's say we have

```
tbz (xor x, c), b
```

Let's say the `b`-th bit in `c` is 1. Then

- If the `b`-th bit in `x` is 1, the `b`-th bit in `(xor x, c)` is 0.
- If the `b`-th bit in `x` is 0, then the `b`-th bit in `(xor x, c)` is 1.

So, then

```
tbz (xor x, c), b == tbnz x, b
```

Let's say the `b`-th bit in `c` is 0. Then

- If the `b`-th bit in `x` is 1, the `b`-th bit in `(xor x, c)` is 1.
- If the `b`-th bit in `x` is 0, then the `b`-th bit in `(xor x, c)` is 0.

So, then

```
tbz (xor x, c), b == tbz x, b
```

Differential Revision: https://reviews.llvm.org/D73929
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/opt-fold-xor-tbz-tbnz.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit ac430336318a1abe6e4726e8df49ee0e6b779691 by kkwli0
[OpenMP] [DOCS] Update OMP5.0 feature status table [NFC]

Differential Revision: https://reviews.llvm.org/D72901
The file was modifiedclang/docs/OpenMPSupport.rst
Commit 7b90cdedd1d3f743eeb2b7654d65386672d0f1a9 by Vedant Kumar
[lldb/DataExtractor] Fix UB shift in GetMaxS64Bitfield

DataExtractor::GetMaxS64Bitfield performs a shift with UB in order to
construct a bitmask when bitfield_bit_size is 64. The current
implementation actually does “work” in this case, because the assumption
that the shift result is 0 holds, and 0 minus 1 gives the all-ones value
(the correct mask). However, the more readable/maintainable approach
might be to use an off-the-shelf UB-free helper.

Fixes a UBSan issue:

  "col" : 37,
  "description" : "invalid-shift-exponent",
  "filename" : "/Users/vsk/src/llvm-project-master/lldb/source/Utility/DataExtractor.cpp",
  "instrumentation_class" : "UndefinedBehaviorSanitizer",
  "line" : 615,
  "memory_address" : 0,
  "summary" : "Shift exponent 64 is too large for 64-bit type 'uint64_t' (aka 'unsigned long long')",

rdar://59117758

Differential Revision: https://reviews.llvm.org/D73913
The file was modifiedlldb/unittests/Utility/DataExtractorTest.cpp
The file was modifiedlldb/source/Utility/DataExtractor.cpp
The file was modifiedlldb/include/lldb/Utility/DataExtractor.h
Commit bb6646ce0a2e59eda682f63696915d2dc7db40db by Vedant Kumar
[lldb/DataExtractor] Use an early return in GetMaxS64Bitfield, NFC

Shafik suggested this cleanup in https://reviews.llvm.org/D73913.
The file was modifiedlldb/source/Utility/DataExtractor.cpp
Commit 63e65082219983f1dba4faf273bad311715da14e by Vedant Kumar
[lldb/StringPrinter] Simplify StringPrinterBufferPointer, NFC

Remove its template arguments and delete its copy/assign methods.
The file was modifiedlldb/include/lldb/DataFormatters/StringPrinter.h
The file was modifiedlldb/source/DataFormatters/StringPrinter.cpp
Commit 28c91219c7e2180c3605ce403c05c4eccac6f615 by eugenis
[compiler-rt] implement sigaltstack interception

Summary:
An implementation for `sigaltstack` to make its side effect be visible to MSAN.

```
ninja check-msan
```

Reviewers: vitalybuka, eugenis

Reviewed By: eugenis

Subscribers: dberris, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

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

Patch by Igor Sugak.
The file was addedcompiler-rt/test/msan/sigaltstack.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
The file was modifiedcompiler-rt/include/sanitizer/linux_syscall_hooks.h
Commit 246097a091bfddca081f4d0f7d84530579e3bb33 by ditaliano
[TestKernVerStrLCNOTE] Strengthen a check. NFC.
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/lc-note/kern-ver-str/TestKernVerStrLCNOTE.py
Commit 9c726e9d90583a4bf2934ada9c9d8030c44a868d by huihuiz
Reland "[AArch64] Fix data race on RegisterBank initialization."

Minor fix, lambda function should capture all automatic variables
by reference.
Harbormaster pass with: https://reviews.llvm.org/B45640
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
Commit 9a40670a0a4e9a3139bd082c9e48ae47b2cb876f by huihuiz
Revert "Reland "[AArch64] Fix data race on RegisterBank initialization.""

This reverts commit 9c726e9d90583a4bf2934ada9c9d8030c44a868d.

There still buildbot failure:
http://lab.llvm.org:8011/builders/clang-armv7-linux-build-cache/builds/25749
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
Commit c7768ce52224297fd5d39e8dae69cf6b0df4ece1 by craig.topper
[X86] Update the haswell and broadwell scheduler information for gather instructions

Broadwell was missing half the gather instructions. Both models
had some mixups in the resource costs and number of uops.

I've updated here based on what I think the original IACA source
says with some cross checking against the microcode.

I'm not sure about latency as the IACA source I have doesn't have
that information. So I'm using the latency from uops.info.

I plan to update Skylake models as well, but I'll do that in a
separate patch.

Differential Revision: https://reviews.llvm.org/D73844
The file was modifiedllvm/lib/Target/X86/X86SchedBroadwell.td
The file was modifiedllvm/test/tools/llvm-mca/X86/Broadwell/resources-avx2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Haswell/resources-avx2.s
The file was modifiedllvm/lib/Target/X86/X86SchedHaswell.td
Commit 5327b917e3bd0b3db352cb5a61eea7409f2d1972 by dblaikie
DebugInfo: Add missing test coverage for DW_OP_convert in loclists
The file was addedllvm/test/DebugInfo/X86/convert-loclist.ll
Commit 0dc634babf9eff587ea9b4cf5b847749f6225dee by eugenis
hwasan_symbolize: warn about missing symbols at most once per library

Reviewers: vitalybuka

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D73822
The file was modifiedcompiler-rt/lib/hwasan/scripts/hwasan_symbolize
Commit 6da6153759a1cb77a65084d86de813bd9134c2a1 by eugenis
hwasan_symbolize: allow 0x in the address field

Summary:
Fix parsing of mangled stack trace lines where the address has been
replaced with "0x", literally.

Reviewers: vitalybuka

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D73823
The file was modifiedcompiler-rt/lib/hwasan/scripts/hwasan_symbolize
Commit 552a8fe12bd1822f48dda2e9e8728a179f82d356 by dblaikie
DebugInfo: Check DW_OP_convert in loclists with Split DWARF
The file was modifiedllvm/test/DebugInfo/X86/convert-loclist.ll
Commit 4f281f047457ce3f1870a93253476222314f420b by dblaikie
DebugInfo: Fix convert-loclist.ll to handle different target instruction lengths
The file was modifiedllvm/test/DebugInfo/X86/convert-loclist.ll
Commit 031f83fb8206d936cdef660eefdd26478926b352 by dblaikie
DebugInfo: Simplify emitDebugLocEntry by never passing a null CU
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit bc3f87cc029e7f8519e584e38ba0b4b2500a7258 by Jason Molenda
Xfail this test temporarily until AdrianM or I can
debug why his patch is causing this regression; or
if it doesn't get figured out tomorrow, we'll
revert the patch.
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/add-dsym/uuid/TestAddDsymCommand.py
Commit 1ced28cbe75ff81f35ac2c71e941041eb3afcd00 by dblaikie
DebugInfo: Hash DW_OP_convert in loclists when using Split DWARF

This code was incorrectly emitting extra bytes into arbitrary parts of
the object file when it was meant to be hashing them to compute the DWO
ID.

Follow-up patch(es) will refactor this API somewhat to make such bugs
harder to introduce, hopefully.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ByteStreamer.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/test/DebugInfo/X86/convert-loclist.ll
Commit ea4652ebeb207823212a09772b14cb0a167895ac by joker-eph
Fix unused variable warning (NFC)

Use isa<> instead of dyn_cast<> when the result isn't used.
The file was modifiedmlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
Commit c3a47221e053a9a0697d27fc3701f29d4058e065 by craig.topper
[X86] Don't emit two X86ISD::COMI/UCOMI nodes when handling comi/ucomi intrinsics.

We were creating two with different operand orders, and then only
using one of them.

Instead just swap the operands when needed and create a single node.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e211a7d2aafeeb9536f3aa9492601099655b833c by Jonas Devlieghere
Re-land "[lldb/Test] Make substrs argument to self.expect ordered."

Re-landing this now that (hopefully) all the failures this caused on the
bots have been addressed.

This patch changes the behavior of the substrs argument to self.expect.
Currently, the elements of substrs are unordered and as long as the
string appears in the output, the assertion passes.

We can be more precise by requiring that the substrings be ordered in
the way they appear. My hope is that this will make it harder to
accidentally pass a check because a string appears out of order.

Differential revision: https://reviews.llvm.org/D73766
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/c/global_variables/TestGlobalVariables.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/target/basic/TestTargetCommand.py
Commit c1912c7542d6f49dfd6cce03193727981529db8a by Jonas Devlieghere
[lldb/Test] Use arrays instead of sets for build_and_run_expr
The file was modifiedlldb/packages/Python/lldbsuite/test/types/TestLongTypesExpr.py
The file was modifiedlldb/packages/Python/lldbsuite/test/types/TestLongTypes.py
Commit 70cea38ff7faa21e760dc9b252d968160f808d23 by Jonas Devlieghere
[lldb/Test] Sort substr for TestDataFormatterStdMap.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
Commit 4c05019dc0cdf1b88bb229677f45c9a13074b84f by Jonas Devlieghere
[lldb/Test] Fix typo in TestDataFormatterStdMap.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
Commit 98594a44aaa8410492d25793e1f01fb6b8bef45c by mgorny
[lldb] [ObjectFile/ELF] Fix negated seg ids on 32-bit arches

Scale segment identifier up to user_id_t before negating it.  This fixes
the identifers being wrongly e.g. 0x00000000fffffffe instead of
0xfffffffffffffffe.  Fix suggested by Pavel Labath.

This fixes 5 tests failing on i386 (PR #44748):

  lldb-shell :: ObjectFile/ELF/PT_LOAD-overlap-PT_INTERP.yaml
  lldb-shell :: ObjectFile/ELF/PT_LOAD-overlap-PT_TLS.yaml
  lldb-shell :: ObjectFile/ELF/PT_LOAD-overlap-section.yaml
  lldb-shell :: ObjectFile/ELF/PT_LOAD.yaml
  lldb-shell :: ObjectFile/ELF/PT_TLS-overlap-PT_LOAD.yaml

Differential Revision: https://reviews.llvm.org/D73914
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
Commit 035eb393f7d6efad66831b42efa2ac8a070fedf3 by aqjune
Update TTI's getUserCost to return TCC_Free on freeze
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
Commit 0c16a22a2ebd1fc4238b6bd1c6e7d4d72d496b1f by Jonas Devlieghere
[lldb/Test] Fix substr order in asan & ubsan tests
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/asan/TestMemoryHistory.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/ubsan/basic/TestUbsanBasic.py
Commit 904d54de9ba9f71e937b24e04ad5941281cd50b7 by Jonas Devlieghere
[lldb/Test] Sort substr for TestDataFormatterStdMap.py (2/2)
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
Commit 8413116bf10402eef12f556cb9d80b08faeb9890 by craig.topper
[X86] Use X86ISD::SUB instead of X86ISD::CMP in some places.

Our normal lowering for ISD::SETCC uses X86ISD::SUB to enable
CSE unless the RHS is 0. optimizeCompareInstr called by the peephole
pass can turn subs with unused results into cmps to clean this up.

This commit makes other places that create X86ISD::CMP have the
same behavior.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 7ef37a5f9990eb51fc0ba8e09e9abc4bc8ef0e36 by riddleriver
[mlir] Initial support for type constraints in the declarative assembly format

Summary: This revision add support for accepting a few type constraints, e.g. AllTypesMatch, when inferring types for operands and results. This is used to remove the c++ parsers for several additional operations.

Differential Revision: https://reviews.llvm.org/D73735
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/include/mlir/TableGen/OpTrait.h
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was modifiedmlir/test/mlir-tblgen/op-format-spec.td
The file was modifiedmlir/include/mlir/Dialect/VectorOps/VectorOps.td
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBitOps.td
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVLogicalOps.td
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/test/Dialect/SPIRV/ops.mlir
Commit fbba6395171d8644e859db8e4ca1ed662a0962bc by riddleriver
[mlir][ODS] Refactor BuildableType to use $_builder as part of the format

Summary:
Currently BuildableType is assumed to be preceded by a builder. This prevents constructing types that don't have a callable 'get' method with the builder. This revision reworks the format to be like attribute builders, i.e. by accepting $_builder within the format itself.

Differential Revision: https://reviews.llvm.org/D73736
The file was modifiedmlir/lib/TableGen/Type.cpp
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
Commit abe6d1174df422915958c49c0367471c2de5df7a by riddleriver
[mlir] Emit a fatal error when the assembly format is invalid

This revision makes sure that errors emitted outside of testing are treated as fatal errors. This avoids the current silent failures that occur when the format is invalid.
The file was modifiedmlir/test/mlir-tblgen/op-format-spec.td
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
Commit 4581d97416129cb2346de5041efc98891b13459d by craig.topper
[X86] Remove some uncovered and possibly broken code from combineZext.

This code matches (zext (trunc (setcc_carry))) -> (and (setcc_carry), 1)
but the code never checks what type we're truncating too. An and
mask of 1 would only make sense if the trunc was to MVT::i1, but
we didn't check for that.

I believe this code is a leftover from when i1 was a legal type.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e53bbf12132570ee6313ef500e1c715d3eab4e6f by thomasraoux
[GVN] Add GVNOption to control load-pre more fine-grained.

Adds the global (cl::opt) GVNOption enable-load-in-loop-pre in order
to control whether the optimization will be performed if the load
is part of a loop.

Patch by Hendrik Greving!

Differential Revision: https://reviews.llvm.org/D73804
The file was modifiedllvm/include/llvm/Transforms/Scalar/GVN.h
The file was addedllvm/test/Transforms/GVN/PRE/pre-load-in-loop.ll
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
Commit cd14b4a62bdb78ba31d30871c1dfb27517721862 by craig.topper
[X86] Remove unneeded code that looks for (and (i8 (X86setcc_c))

I don't believe we use this construct anymore so I don't think
we need to look for it.
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 36272d5f005f85ffa20eb57544865c3da584c4ce by aqjune
Let isGuaranteedNotToBeUndefOrPoison consider PHINode with constant values
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit dd7d61026277006df5a200cf9ff6ceb5f6594e03 by aqjune
[ValueTracking] Let isGuaranteedToBeUndefOrPoison look into operands of icmp
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit 1132f87fbf1373835d7030354f6210c5dab62c3e by Alexander.Richardson
[update_cc_test_checks] Don't attach CHECK lines to function declarations

Previously we were adding the CHECK lines to both definitions and
declarations. Update the JSON AST dump parsing code to skip all
FunctionDecls without an "inner" node (i.e. no body).

Reviewed By: MaskRay, greened
Differential Revision: https://reviews.llvm.org/D73708
The file was addedllvm/test/tools/UpdateTestChecks/update_cc_test_checks/def-and-decl.test
The file was addedllvm/test/tools/UpdateTestChecks/update_cc_test_checks/Inputs/def-and-decl.c.expected
The file was addedllvm/test/tools/UpdateTestChecks/update_cc_test_checks/Inputs/def-and-decl.c
The file was modifiedllvm/utils/update_cc_test_checks.py
Commit b8144c053620c2c8b3d100815f806004970ed936 by gchatelet
[NFC] Encapsulate MemOp logic

Summary:
This patch simply introduces functions instead of directly accessing the fields.
This helps introducing additional check logic. A second patch will add simplifying functions.

Reviewers: courbet

Subscribers: arsenm, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, jsji, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73945
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/BPF/BPFISelLowering.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit 362d00e0510ee75750499e2993a782428e377215 by david.green
[ARM][VecReduce] Force expand vector_reduce_fmin

Under MVE, we do not have any lowering for fminimum, which a
vector_reduce_fmin without NoNan will be expanded into. As with the
other recent patches, force this to expand in the pre-isel pass. Note
that Neon lowering would be OK because the scalar fminimum uses the
vector VMIN instruction, but is probably better to just rely on the
scalar operations, which is what is done here.

Also fixes what appears to be the reversal of INF vs -INF in the
vector_reduce_fmin widening code.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was addedllvm/test/CodeGen/Thumb2/mve-vecreduce-fminmax.ll
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-fmax-legalization.ll
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
Commit d2b6ac6ccda5ad8e38eee38e7ee46acad03540be by kadircet
Revert "[X86] Use X86ISD::SUB instead of X86ISD::CMP in some places."

This reverts commit 8413116bf10402eef12f556cb9d80b08faeb9890.

this seems to be causing crashes while compiling ncurses.
```
$ ./bin/llc bugpoint-reduced-simplified.ll
LLVM ERROR: Cannot emit physreg copy instruction
```

Here are the crashers: https://gist.github.com/kadircet/918f5bb97a2afe048cb875490edba46e

executing with an llc compiled at 904d54de9ba9f71e937b24e04ad5941281cd50b7 works fine.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit bf4d73e6f3e93cf2c92691a44cff52afc025942d by Raphael Isemann
[lldb][NFC] Use correct Decl typedef in ClangASTSource

This is iterating over a DeclContext and not a TagDecl (even
though both iterators are the same underlying type).
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
Commit 3dd688a9eec238fd4e065e3b373cf6fa47e2184f by llvm-dev
[DAG] OptLevelChanger - fix uninitialized variable analyzer warning (PR44471)

Ensure that OptLevelChanger::SavedFastISel is initialized in the constructor.

This should be NFC - as the equivalent 'same opt level' early-out is used in the destructor as well, so SavedFastISel is only actually referenced in the general case.

Differential Revision: https://reviews.llvm.org/D73875
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Commit 89b8b42184745ee31992275194b925b1b1e3d5b6 by sven.vanhaastregt
[OpenCL] Tidy up OpenCLBuiltins.td

Align `Type` names to their actual OpenCL C type names, such that we
can print OpenCL C types from TableGen.  This is particularly helpful
for completeness comparisons with `opencl-c.h`.

Drop the "Name" field from `TypeList`, as it is unused.

Minor formatting changes.
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit abada5036ef2299f527ab7d28af318e0eb9f6dd3 by filcab
[NFC] Fix some spelling mistakes to test pushing to GH.
The file was modifiedllvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
The file was modifiedllvm/lib/CodeGen/MIRCanonicalizerPass.cpp
Commit 6e01cd6795f83c09639604871cf52f5b124c1858 by daveb
Improve error message of FileCheck when stdin is empty

Summary: Replace '-' in the error message with <stdin>. This is also consistent with another error message in the code.

Reviewers: jhenderson, probinson, jdenny, grimar, arichardson

Reviewed By: jhenderson

Subscribers: thopre, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73793
The file was modifiedllvm/utils/FileCheck/FileCheck.cpp
The file was modifiedllvm/test/FileCheck/check-empty.txt
Commit 90e4ebdce55fd3c1f8877f19784a5339b9890f98 by protze
[OpenMP][OMPT] fix reduction test for 32-bit x86

Fixes [[ https://bugs.llvm.org/show_bug.cgi?id=44733 | TEST 'libomp :: ompt/synchronization/reduction/tree_reduce.c' FAILED on 32-bit x86 ]]

For 32-bit we need at least 3 variables to avoid atomic reduction to be
choosen by runtime function `__kmp_determine_reduction_method`.
This patch adds reduction variables to the testcase.

Reviewers: mgorny, Hahnfeld

Differential Revision: https://reviews.llvm.org/D73850
The file was modifiedopenmp/runtime/test/ompt/synchronization/reduction/tree_reduce.c
Commit 7128aace600f29c81f735c3b1d3f5f51464c4630 by mikhail.maltsev
[ARM] Make ARM::ArchExtKind use 64-bit underlying type, NFCI

Summary:
This patch changes the underlying type of the ARM::ArchExtKind
enumeration to uint64_t and adjusts the related code.

The goal of the patch is to prepare the code base for a new
architecture extension.

Reviewers: simon_tatham, eli.friedman, ostannard, dmgreen

Reviewed By: dmgreen

Subscribers: merge_guards_bot, kristof.beyls, hiraditya, cfe-commits, llvm-commits, pbarrio

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D73906
The file was modifiedclang/lib/Basic/Targets/ARM.cpp
The file was modifiedllvm/unittests/Support/TargetParserTest.cpp
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was modifiedllvm/include/llvm/Support/ARMTargetParser.h
The file was modifiedllvm/lib/Support/ARMTargetParser.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.cpp
Commit 92570718a86cc4c23108b596002114ab25857b14 by sam.mccall
[clangd] Mechanism to make update debounce responsive to rebuild speed.

Summary:
Currently we delay AST rebuilds by 500ms after each edit, to wait for
further edits. This is a win if a rebuild takes 5s, and a loss if it
takes 50ms.

This patch sets debouncepolicy = clamp(min, ratio * rebuild_time, max).
However it sets min = max = 500ms so there's no policy change or actual
customizability - will do that in a separate patch.

See https://github.com/clangd/clangd/issues/275

Reviewers: hokein

Subscribers: ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73873
The file was modifiedclang-tools-extra/clangd/TUScheduler.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.h
The file was modifiedclang-tools-extra/clangd/TUScheduler.h
Commit bec54e464e6a5defee29f49f0ba871aa2c55c382 by grimar
[yaml2obj/obj2yaml] - Add support for the SHT_LLVM_CALL_GRAPH_PROFILE section.

This is a LLVM specific section that is well described here:
https://llvm.org/docs/Extensions.html#sht-llvm-call-graph-profile-section-call-graph-profile

This patch teaches yaml2obj and obj2yaml about how to work with it.

Differential revision: https://reviews.llvm.org/D73788
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was addedllvm/test/tools/yaml2obj/ELF/call-graph-profile-section.yaml
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was addedllvm/test/tools/obj2yaml/call-graph-profile-section.yaml
Commit 8c681f5e4706d3d2980f19f08dd0d4c40496a8d5 by flo
[Matrix] Mark matrix memory intrinsics as argmemonly/write|read mem.

matrix.columnwise.load and matrix.columnwise.store only access memory
through the argument pointers. Also matrix.columnwise.store only writes
memory.
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/strided-load-double.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/strided-store-double.ll
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
Commit 0cf0be993c382f15c277de6d0db8be6a236c7c50 by spatel
[InstCombine] fix operands of shouldChangeType() for casted phi transform

This is a bug noted in the recent D72733 and seen
in the similar transform just above the changed source code.

I added tests with illegal types and zexts to show the bug -
we could transform legal phi ops to illegal, etc. I did not add
tests with trunc because we won't see any diffs on those patterns.
That is because InstCombiner::SliceUpIllegalIntegerPHI() appears to
do those transforms independently of datalayout. It can also create
more casts than are present in existing code.

There are some existing regression tests that do not include a
datalayout that would be altered by this fix. I assumed that the
lack of a datalayout in those regression files is an oversight, so
I added the minimal layout (make i32 legal) necessary to preserve
behavior on those tests.

Differential Revision: https://reviews.llvm.org/D73907
The file was modifiedllvm/test/CodeGen/AMDGPU/reqd-work-group-size.ll
The file was modifiedllvm/test/Transforms/InstCombine/icmp-mul-zext.ll
The file was modifiedllvm/test/Transforms/InstCombine/cast_phi.ll
The file was modifiedllvm/test/Transforms/InstCombine/icmp-div-constant.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/diverge-switch-default.ll
Commit 5d04e008f708db3573500a102ffef0ee1cba8df2 by spatel
[InstCombine] add splat tests with undef elements; NFC
The file was modifiedllvm/test/Transforms/InstCombine/vec_shuffle.ll
Commit 88cd49e941b9a24ff9df4c1ed7b6f771b13b701e by jan.kratochvil
[lldb] Increase LINK_INTERFACE_MULTIPLICITY for Debug builds

On Fedora 30 x86_64 with
cmake ../llvm-monorepo/llvm/ -DCMAKE_BUILD_TYPE=Debug  -DLLVM_USE_LINKER=gold -DLLVM_ENABLE_PROJECTS="lldb;clang;lld"  -DLLVM_USE_SPLIT_DWARF=ON -DCMAKE_C_COMPILER=clang  -DCMAKE_CXX_COMPILER=clang++ -DLLVM_ENABLE_ASSERTIONS=ON

It does not affect Release builds.

getting:
lldb/source/Expression/IRInterpreter.cpp:1471: error: undefined reference to 'lldb_private::ThreadPlanCallFunctionUsingABI::ThreadPlanCallFunctionUsingABI(lldb_private::Thread&, lldb_private::Address const&, llvm::Type&, llvm::Type&, llvm::ArrayRef<lldb_private::ABI::CallArgument>, lldb_private::EvaluateExpressionOptions const&)'
lldb/source/Expression/LLVMUserExpression.cpp:148: error: undefined reference to 'lldb_private::ThreadPlanCallUserExpression::ThreadPlanCallUserExpression(lldb_private::Thread&, lldb_private::Address&, llvm::ArrayRef<unsigned long>, lldb_private::EvaluateExpressionOptions const&, std::shared_ptr<lldb_private::UserExpression>&)'

Pavel Labath has suggest LINK_INTERFACE_MULTIPLICITY could be further
increased.

Differential Revision: https://reviews.llvm.org/D73847
The file was modifiedlldb/source/Core/CMakeLists.txt
Commit 2926a651ba7398514ca49970577d5c940a385f09 by jan.kratochvil
[lldb] [testsuite] generalize `DWARFASTParserClangTests` based on `DWARFExpressionTest`'s YAML

YAMLModuleTester from DWARFExpressionTest can be reused for more
testcases.

Differential Revision: https://reviews.llvm.org/D73279
The file was modifiedlldb/unittests/TestingSupport/CMakeLists.txt
The file was modifiedlldb/unittests/Expression/DWARFExpressionTest.cpp
The file was addedlldb/unittests/TestingSupport/Symbol/CMakeLists.txt
The file was modifiedlldb/unittests/SymbolFile/DWARF/DWARFASTParserClangTests.cpp
The file was addedlldb/unittests/TestingSupport/Symbol/YAMLModuleTester.cpp
The file was modifiedlldb/unittests/TestingSupport/module.modulemap
The file was addedlldb/unittests/TestingSupport/Symbol/YAMLModuleTester.h
Commit 399887c9e43bf1892b553116bc128d5204eb3880 by antiagainst
[mlir][spirv] Add resource limits into target environment

This commit adds two resource limits, max_compute_workgroup_size
and max_compute_workgroup_invocations as resource limits to
the target environment. They are not used at the current moment,
but they will affect the SPIR-V CodeGen. Adding for now to have
a proper target environment modelling.

Differential Revision: https://reviews.llvm.org/D73905
The file was modifiedmlir/test/Dialect/SPIRV/target-and-abi.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/TargetAndABI.td
The file was modifiedmlir/lib/Dialect/SPIRV/TargetAndABI.cpp
The file was modifiedmlir/test/Dialect/SPIRV/target-env.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/TargetAndABI.h
The file was modifiedmlir/test/Conversion/LinalgToSPIRV/linalg-to-spirv.mlir
Commit baecae838debc4087319f798f9bc84af1f40ffc8 by pifon
[Linalg] Add tiling of Linalg to parallel loops.

Differential Revision: https://reviews.llvm.org/D73955
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h
The file was addedmlir/test/Dialect/Linalg/tile_parallel.mlir
Commit aad352f77c472b9db42b22134433f79622bdf0e4 by antiagainst
[mlir][spirv] Wrap debug-only method in #ifndef NDEBUG
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
Commit 104800084f6a7033ef31a453f0015715f0fc390b by jan.kratochvil
[lldb] [testsuite] Fixup: generalize `DWARFASTParserClangTests` based on `DWARFExpressionTest`'s YAML

The testcase did not compile now because of an upstream change in the
meantime.

For: https://reviews.llvm.org/D73279
The file was modifiedlldb/unittests/TestingSupport/Symbol/YAMLModuleTester.h
Commit 2a191cf8500ffa3e18b8fc27b51c7facb1e7a8ab by spatel
[InstCombine] add more splat tests with undef elements; NFC
The file was modifiedllvm/test/Transforms/InstCombine/vec_shuffle.ll
Commit 69a39dc1f0d08ea43bac03a87bb8bff3937ce2e7 by sam.mccall
[clangd] Increase stack size of the new threads on macOS

Summary: By default it's 512K, which is way to small for clang parser to run on. There is no way to do it via platform-independent API, so it's implemented via pthreads directly in clangd/Threading.cpp.

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

Patch by Dmitry Kozhevnikov!

Reviewers: ilya-biryukov, sammccall, arphaman

Reviewed By: ilya-biryukov, sammccall, arphaman

Subscribers: dexonsmith, umanwizard, jfb, ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D50993
The file was modifiedclang-tools-extra/clangd/unittests/ClangdTests.cpp
The file was modifiedclang-tools-extra/clangd/Threading.cpp
Commit d4c8230a0fdbcaf656701a81fdeeaa382d6254f5 by kparzysz
[Polly] Fix compilation after 105642af5eef: include PassManagerImpl.h
The file was modifiedpolly/include/polly/ScopPass.h
Commit ed98994f64b8fe6443aef57a5faa953e86d9fc0e by sam.mccall
Revert "[clangd] Mechanism to make update debounce responsive to rebuild speed."

This reverts commit 92570718a86cc4c23108b596002114ab25857b14.
Breaking tests: http://45.33.8.238/linux/9296/step_9.txt
The file was modifiedclang-tools-extra/clangd/TUScheduler.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.h
The file was modifiedclang-tools-extra/clangd/TUScheduler.h
The file was modifiedclang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
Commit 65b3b6c0ac49ec4f91b024b086039fac6c2f7a40 by mikhail.maltsev
[ARM] Make ARM::ArchExtKind use 64-bit underlying type (part 2), NFCI

Summary:
After following Simon's suggestion about additional testing posted at
https://reviews.llvm.org/D73906, I found several more places that
need to be updated.

Reviewers: simon_tatham, dmgreen, ostannard, eli.friedman

Reviewed By: simon_tatham

Subscribers: merge_guards_bot, kristof.beyls, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73963
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
The file was modifiedllvm/include/llvm/Support/ARMTargetParser.h
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
Commit 41206b61e30c3d84188cb17b91c2c0c800982dd1 by jeremy.morse
[DebugInfo] Re-instate LiveDebugVariables scope trimming

This patch reverts part of r362750 / D62650, which stopped
LiveDebugVariables from trimming leading variable location ranges down
to only covering those instructions that are in scope. I've observed some
circumstances where the number of DBG_VALUEs in a function can be
amplified in an un-necessary way, to cover more instructions that are
out of scope, leading to very slow compile times. Trimming the range
of instructions that the variables cover solves the slow compile times.

The specific problem that r362750 tries to fix is addressed by the
assignment to RStart that I've added. Any variable location that begins
at the first instruction of a block will now be considered to begin at the
start of the block. While these sound the same, the have different
SlotIndexes, and the register allocator may shoehorn additional
instructions in between the two. The test added in the past
(wrong_debug_loc_after_regalloc.ll) still works with this modification.

live-debug-variables.ll has a range trimmed to not cover the prologue of
the function, while dbg-addr-dse.ll has a DBG_VALUE sink past one
instruction with no DebugLoc, which is expected behaviour.

Differential Revision: https://reviews.llvm.org/D73691
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.cpp
The file was modifiedllvm/test/DebugInfo/X86/live-debug-variables.ll
The file was modifiedllvm/test/DebugInfo/X86/dbg-addr-dse.ll
Commit f75301d16d444d8cb6810d679290df744bc79ec7 by thakis
Revert "DebugInfo: Check DW_OP_convert in loclists with Split DWARF"
and follow-ups.

This reverts commit 1ced28cbe75ff81f35ac2c71e941041eb3afcd00.
This reverts commit 4f281f047457ce3f1870a93253476222314f420b.
This reverts commit 552a8fe12bd1822f48dda2e9e8728a179f82d356.

The test fails on non-Linux.
The file was modifiedllvm/test/DebugInfo/X86/convert-loclist.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ByteStreamer.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit 191a9a78b3f4bdf35a30d3480bd630d787a2fdf6 by thakis
Revert "DebugInfo: Add missing test coverage for DW_OP_convert in loclists"

This reverts commit 5327b917e3bd0b3db352cb5a61eea7409f2d1972.
Already fails on non-Linux at this commit.
The file was removedllvm/test/DebugInfo/X86/convert-loclist.ll
Commit 563e84790f41f9f71c3cb10d0bb9feaa7a339c36 by paulsson
[SystemZ]  Support -msoft-float

This is needed when building the Linux kernel.

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D72189
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/test/CodeGen/systemz-abi.c
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.h
The file was modifiedllvm/test/CodeGen/SystemZ/vec-abi-align.ll
The file was addedllvm/test/CodeGen/SystemZ/soft-float-03.ll
The file was modifiedclang/test/CodeGen/systemz-abi.cpp
The file was addedllvm/test/CodeGen/SystemZ/soft-float-inline-asm-03.ll
The file was modifiedclang/lib/Driver/ToolChains/Arch/SystemZ.h
The file was addedllvm/test/CodeGen/SystemZ/soft-float-01.ll
The file was addedclang/test/Driver/systemz-float-02.c
The file was addedllvm/test/CodeGen/SystemZ/soft-float-inline-asm-02.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZFeatures.td
The file was addedclang/test/Driver/systemz-float-01.c
The file was addedllvm/test/CodeGen/SystemZ/soft-float-04.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZSubtarget.h
The file was addedllvm/test/CodeGen/SystemZ/soft-float-inline-asm-01.ll
The file was modifiedllvm/test/CodeGen/SystemZ/args-07.ll
The file was addedllvm/test/CodeGen/SystemZ/soft-float-args.ll
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Basic/Targets/SystemZ.h
The file was addedllvm/test/CodeGen/SystemZ/soft-float-02.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vec-args-07.ll
The file was modifiedclang/lib/Driver/ToolChains/Arch/SystemZ.cpp
The file was modifiedclang/test/CodeGen/target-data.c
The file was modifiedllvm/lib/Target/SystemZ/SystemZSubtarget.cpp
The file was modifiedllvm/test/CodeGen/SystemZ/vec-args-06.ll
Commit e943329ba00772f96fbc1fe5dec836cfd0707a38 by paulsson
[SystemZ]  Add 'REQUIRES:' or '-mtriple' to some newly added tests.

Needed to fix buildbots.
The file was modifiedllvm/test/CodeGen/SystemZ/soft-float-inline-asm-02.ll
The file was modifiedllvm/test/CodeGen/SystemZ/soft-float-03.ll
The file was modifiedllvm/test/CodeGen/SystemZ/soft-float-04.ll
The file was modifiedllvm/test/CodeGen/SystemZ/soft-float-args.ll
The file was modifiedllvm/test/CodeGen/SystemZ/soft-float-inline-asm-03.ll
The file was modifiedclang/test/Driver/systemz-float-02.c
The file was modifiedllvm/test/CodeGen/SystemZ/soft-float-01.ll
The file was modifiedllvm/test/CodeGen/SystemZ/soft-float-inline-asm-01.ll
Commit 3ed12232b03721dd70ff6e88b10a016c7f2a915e by simon.moll
[VE] half fptrunc+store&load+fpext

Summary:
fp16 (half) load+fpext and fptrunc+store isel legalization and tests.
Also, ExternalSymbolSDNode operand printing (tested by fp16 lowering).

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D73899
The file was modifiedllvm/test/CodeGen/VE/fp_extload_truncstore.ll
The file was modifiedllvm/lib/Target/VE/VEISelLowering.cpp
The file was modifiedllvm/lib/Target/VE/VEInstrInfo.td
The file was modifiedllvm/lib/Target/VE/VEMCInstLower.cpp
Commit 2f4c4d0a78e352e33f903d96f406999753d23e07 by sam.mccall
Reland "[clangd] Mechanism to make update debounce responsive to rebuild speed."

This reverts commit ed98994f64b8fe6443aef57a5faa953e86d9fc0e.
Removed the accidental double-mutex-unlock.
The file was modifiedclang-tools-extra/clangd/TUScheduler.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.h
The file was modifiedclang-tools-extra/clangd/TUScheduler.h
Commit 2629035a009095f62f48413e175437261165ecd7 by sam.mccall
[clangd] Don't assert when completing a lambda variable inside the lambda.

Summary:
This is a fairly ugly hack - we back off several features for any variable
whose type isn't deduced, to avoid computing/caching linkage.
Better suggestions welcome.

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

Reviewers: kadircet, kbobyrev

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73960
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
The file was modifiedclang-tools-extra/clangd/AST.h
The file was modifiedclang-tools-extra/clangd/CodeComplete.cpp
The file was modifiedclang-tools-extra/clangd/Quality.cpp
The file was modifiedclang-tools-extra/clangd/AST.cpp
Commit 95c95a94d7a6cfb5866bfa8a5b253a74428c95b7 by david.spickett
[ARM][AsmParser] Make assembly directives case insensitive

Differential Revision: https://reviews.llvm.org/D73469
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was addedllvm/test/MC/ARM/directives-case_insensitive.s
Commit b8dc54cf39b41252f31154079a834aa83e9892d8 by jrh29
PowerPC: Remove redundancy in ternary for predicate selection

rG2c4620ad57b8 inadvertently added redundancies in selection of GT and
LE predicates for SPE.  Correct this.

Partially addresses PR 44768.
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
Commit 386fd2c170a78798a097650b8714183d5a9d93c6 by yitzhakm
[clang] Add matcher to identify macro expansions.

Summary:
This revision adds a matcher `isExpandedFromMacro` that determines whether a
statement is (transitively) expanded from a given macro.

Reviewers: gribozavr

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73965
The file was modifiedclang/lib/ASTMatchers/ASTMatchersInternal.cpp
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
Commit 6d07802d63a8589447de0a697696447a583de9d8 by yhs
[BPF] handle typedef of struct/union for CO-RE relocations

Linux commit
  https://github.com/torvalds/linux/commit/1cf5b23988ea0086a252a5c8b005b075f1e9b030#diff-289313b9fec99c6f0acfea19d9cfd949
uses "#pragma clang attribute push (__attribute__((preserve_access_index)),
      apply_to = record)"
to apply CO-RE relocations to all records including the following pattern:
  #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  typedef struct {
    int a;
  } __t;
  #pragma clang attribute pop
  int test(__t *arg) { return arg->a; }

The current approach to use struct/union type in the relocation record will
result in an anonymous struct, which make later type matching difficult
in bpf loader. In fact, current BPF backend will fail the above program
with assertion:
  clang: ../lib/Target/BPF/BPFAbstractMemberAccess.cpp:796: ...
     Assertion `TypeName.size()' failed.

clang will change to use the type of the base of the member access
which will preserve the typedef modifier for the
preserve_{struct,union}_access_index intrinsics in the above example.
Here we adjust BPF backend to accept that the debuginfo
type metadata may be 'typedef' and handle them properly.

Differential Revision: https://reviews.llvm.org/D73902
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-struct-2.ll
The file was modifiedllvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-union-2.ll
Commit d7cbef2714c98f91eb1556ed414aa9e6719bbac3 by stephen.neuendorffer
[MLIR] Fixes for shared library dependencies.

Summary:

This patch is a step towards enabling BUILD_SHARED_LIBS=on, which
builds most libraries as DLLs instead of statically linked libraries.
The main effect of this is that incremental build times are greatly
reduced, since usually only one library need be relinked in response
to isolated code changes.

The bulk of this patch is fixing incorrect usage of cmake, where library
dependencies are listed under add_dependencies rather than under
target_link_libraries or under the LINK_LIBS tag.  Correct usage should be
like this:

add_dependencies(MLIRfoo MLIRfooIncGen)
target_link_libraries(MLIRfoo MLIRlib1 MLIRlib2)

A separate issue is that in cmake, dependencies between static libraries
are automatically included in dependencies.  In the above example, if MLIBlib1
depends on MLIRlib2, then it is sufficient to have only MLIRlib1 in the
target_link_libraries.  When compiling with shared libraries, it is necessary
to have both MLIRlib1 and MLIRlib2 specified if MLIRfoo uses symbols from both.

Reviewers: mravishankar, antiagainst, nicolasvasilache, vchuravy, inouehrs, mehdi_amini, jdoerfert

Reviewed By: nicolasvasilache, mehdi_amini

Subscribers: Joonsoo, merge_guards_bot, jholewinski, mgorny, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, csigg, arpith-jacob, mgester, lucyrfox, herhut, aartbik, liufengdb, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73653
The file was modifiedmlir/lib/Dialect/GPU/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/LinalgToSPIRV/CMakeLists.txt
The file was modifiedmlir/tools/mlir-opt/CMakeLists.txt
The file was modifiedmlir/test/lib/IR/CMakeLists.txt
The file was modifiedmlir/test/Dialect/SPIRV/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/OpenMP/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/QuantOps/CMakeLists.txt
The file was modifiedmlir/lib/Analysis/CMakeLists.txt
The file was modifiedmlir/lib/EDSC/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUToNVVM/CMakeLists.txt
The file was modifiedmlir/cmake/modules/AddMLIR.cmake
The file was modifiedmlir/lib/Conversion/VectorToLoops/CMakeLists.txt
The file was modifiedmlir/lib/ExecutionEngine/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/LoopOps/CMakeLists.txt
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Support/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/IR/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/VectorToLLVM/CMakeLists.txt
The file was modifiedmlir/test/lib/TestDialect/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/LLVMIR/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUToROCDL/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/FxpMathOps/CMakeLists.txt
The file was modifiedmlir/lib/Quantizer/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/AffineToStandard/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/LoopsToGPU/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/VectorOps/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/CMakeLists.txt
Commit 2eaa9d991d0afd3945e177d3ca0d42af04996f2c by mcinally
[NFC][LangRef][FPEnv] Fix whitespace for denormal-fp-math/denormal-fp-math-f32

Fix incorrect spacing for `denormal-fp-math` and `denormal-fp-math-f32`. No
other changes.
The file was modifiedllvm/docs/LangRef.rst
Commit 9271cab270a52b5200ef45a16f1a9d9baaccaba0 by yhs
[BPF] use base lvalue type for preserve_{struct,union}_access_index metadata

Linux commit
  https://github.com/torvalds/linux/commit/1cf5b23988ea0086a252a5c8b005b075f1e9b030#diff-289313b9fec99c6f0acfea19d9cfd949
uses "#pragma clang attribute push (__attribute__((preserve_access_index)),
      apply_to = record)"
to apply CO-RE relocations to all records including the following pattern:
  #pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record)
  typedef struct {
    int a;
  } __t;
  #pragma clang attribute pop
  int test(__t *arg) { return arg->a; }

The current approach to use struct type in the relocation record will
result in an anonymous struct, which make later type matching difficult
    in bpf loader. In fact, current BPF backend will fail the above program
with assertion:
  clang: ../lib/Target/BPF/BPFAbstractMemberAccess.cpp:796: ...
     Assertion `TypeName.size()' failed.

The patch use the base lvalue type for the "base" value to annotate
preservee_{struct,union}_access_index intrinsics. In the above example,
the type will be "__t" which preserved the type name.

Differential Revision: https://reviews.llvm.org/D73900
The file was addedclang/test/CodeGen/builtin-preserve-access-index-typedef.c
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
Commit f7de7084f4a2c346b3db87c26fa519db0781a09a by peter
scudo: Simplify getClassIdBySize() logic. NFCI.

By subtracting 1 from Size at the beginning we can simplify the
subsequent calculations. This also saves 4 instructions on aarch64
and 9 instructions on x86_64, but seems to be perf neutral.

Differential Revision: https://reviews.llvm.org/D73936
The file was modifiedcompiler-rt/lib/scudo/standalone/size_class_map.h
Commit a05566c994191ea7b357145cf4236edde6397cb4 by david.spickett
[ARM] Correct missing newline after outputting .tlsdescseq directive.

Differential Revision: https://reviews.llvm.org/D73972
The file was modifiedllvm/test/MC/ARM/directive-tlsdescseq.s
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
Commit 2513118afa385b9df3662050e3aa0a1e3f5e2a8a by maskray
[Driver] Change -fmax-tokens $arg to -fmax-tokens=$arg

Reviewed By: hans

Differential Revision: https://reviews.llvm.org/D73937
The file was modifiedclang/test/Parser/max-tokens.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Parse/Parser.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Driver/Options.td
Commit 8ff86fcf4c038c7156ed4f01e7ed35cae49489e2 by maskray
[X86] -fpatchable-function-entry=N,0: place patch label after ENDBR{32,64}

Similar to D73680 (AArch64 BTI).

A local linkage function whose address is not taken does not need ENDBR32/ENDBR64. Placing the patch label after ENDBR32/ENDBR64 has the advantage that code does not need to differentiate whether the function has an initial ENDBR.

Also, add 32-bit tests and test that .cfi_startproc is at the function
entry. The line information has a general implementation and is tested
by AArch64/patchable-function-entry-empty.mir

Reviewed By: nickdesaulniers

Differential Revision: https://reviews.llvm.org/D73760
The file was modifiedllvm/test/CodeGen/X86/patchable-function-entry-ibt.ll
The file was modifiedllvm/lib/Target/X86/X86MCInstLower.cpp
The file was modifiedllvm/test/CodeGen/AArch64/patchable-function-entry-bti.ll
Commit fce1eefb467e2bc3cd737ce78386e4970beefb7a by stephen.neuendorffer
[clang] fix lib/ASTMatchers for BUILD_SHARED_LIBS=ON
The file was modifiedclang/lib/ASTMatchers/CMakeLists.txt
Commit a3c814d23497bc71b8ed53c35f773366aff02922 by arsenm2
Separately track input and output denormal mode

AMDGPU and x86 at least both have separate controls for whether
denormal results are flushed on output, and for whether denormals are
implicitly treated as 0 as an input. The current DAGCombiner use only
really cares about the input treatment of denormals.
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/Driver/cuda-flush-denormals-to-zero.cu
The file was modifiedclang/lib/Basic/Targets/AMDGPU.cpp
The file was modifiedclang/test/Driver/cl-denorms-are-zero.cl
The file was modifiedllvm/include/llvm/ADT/FloatingPointMode.h
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/test/CodeGenCUDA/flush-denormals.cu
The file was modifiedllvm/unittests/ADT/FloatingPointMode.cpp
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/CodeGenCUDA/propagate-metadata.cu
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
The file was modifiedclang/test/Driver/denormal-fp-math.c
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedclang/lib/Driver/ToolChains/Cuda.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.h
The file was modifiedclang/test/CodeGen/denormalfpmode.c
The file was modifiedclang/include/clang/Driver/ToolChain.h
Commit dc42ff6697db1847a6e2f154de07f6e1f3d97ae4 by spatel
[InstCombine] add FIXME comment to shuffle transform; NFC

Existing tests:
rG5d04e008f708
rG2a191cf8500f
...should verify that the underlying analysis doesn't improve
too much without updating this user code.
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 803dd6fe6bb493e34a8747dc286a88aa05f353e1 by yamauchi
[BFI] Add a debug check for unknown block queries.

Summary:
Add a debug check for frequency queries for unknown blocks (typically blocks
that are created after BFI is computed but their frequencies are not
communicated to BFI.)

This is useful for detecting and debugging missed BFI updates.

This is debug build only and disabled behind a flag.

Reviewers: davidxl

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73920
The file was modifiedllvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
The file was modifiedllvm/lib/Analysis/BlockFrequencyInfoImpl.cpp
Commit e5ff92e049b5b60d208d8b87f5ee693a7464d076 by yitzhakm
[clang][NFC] Expand some `auto`s and add another test for matcher `isExpandedFromMacro`.

Summary: Spells out some `auto`s explicitly and adds another test for the matcher `isExpandedFromMacro`.

Reviewers: aaron.ballman

Subscribers: gribozavr, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73975
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
The file was modifiedclang/lib/ASTMatchers/ASTMatchersInternal.cpp
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
Commit 33081d2361def1c7cc186fd8e67b20f6f5f39025 by arsenm2
Try to fix buildbot failure
The file was modifiedllvm/include/llvm/ADT/FloatingPointMode.h
Commit f25a2a3de5b504c54bbf273bfcbbda6345646890 by llvm-dev
[X86] Fix missing load latencies (PR36894)

We weren't account for load latencies in the SSE42/AES/CLMUL schedule classes
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-pclmul.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-aes.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-sse42.s
The file was modifiedllvm/lib/Target/X86/X86ScheduleSLM.td
Commit de8451fe4d373b8fd1f8e4bec32e970268c7ac49 by Matthew.Arsenault
GlobalISel: Fold SmallVector resizes into constructors
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit 75fcdfa1fcf647d89f2e82fcfc7e8f2f310aa7d0 by Matthew.Arsenault
AMDGPU: Cleanup SMRD buffer selection

The usage of the Imm out argument from SelectSMRDOffset is pretty
confusing. Stop trying to reject CI immediates in the case where the
offset field can be used. It's not an illegal way to encode the
immediate, so just prefer the better encoding pattern with
AddedComplexity.

We probably don't even really need the different opcodes for the
different offset types anymore, but that will be more work to cleanup.

The SMRD non-buffer load patterns could also use a cleanup to be done
separately.
The file was modifiedllvm/lib/Target/AMDGPU/SMInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
Commit 531fad736eddc1fa299b5154d32efa3b78bb31e6 by maskray
[test] yaml2obj -docnum => --docnum=

Make usage more consistent, and make it possible to enable LongOptionsUseDoubleDash.
The file was modifiedllvm/test/tools/yaml2obj/ELF/local-symbols.yaml
The file was modifiedllvm/test/tools/llvm-readobj/ELF/relr-relocs.test
The file was modifiedllvm/test/tools/obj2yaml/dynamic-section-arch-tags.test
The file was modifiedllvm/test/tools/yaml2obj/multi-doc.yaml
The file was modifiedllvm/test/tools/llvm-readobj/ELF/packed-relocs.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/dynamic-table-dtnull.s
Commit 28cd54cdbba699707df39762f7f2095ed812f35e by jpienaar
[mlir] Fix clang 5 warning for missing braces
The file was modifiedmlir/test/lib/TestDialect/TestPatterns.cpp
Commit e05af081bf7cbc738b2e4cdfa91054fff0153ce3 by Vedant Kumar
[lldb/StackFrameList] Convert assert to defensive check in SynthesizeTailCallFrames

In order to synthesize tail call frames, the stack frame list must not
be empty (otherwise, there is no "previous" frame to infer a tail call
from).

This case is hard to hit. To trigger it, we must first fail to push
`unwind_frame_sp` because we either fail to get its SymbolContext, or
given its SymbolContext the GetParentOfInlineScope call fails. This
causes m_concrete_frames_fetched to be incremented while m_frames
remains empty. Then, the next frame in the stack may fail within
SynthesizeTailCallFrames. This crash arose during a kernel debugging
session.

rdar://59147051
The file was modifiedlldb/source/Target/StackFrameList.cpp
Commit 047c041277543564d482cdc297c4e82de0fd2758 by Vedant Kumar
[lldb/test] Skip TestBasicEntryValuesX86_64 due to llvm.org/PR44774
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/TestBasicEntryValuesX86_64.py
Commit 1024b73ef5930148bf8016150aa5660f5bb9d153 by Matthew.Arsenault
AMDGPU: Split denormal mode tracking bits

Prepare to accurately track the future denormal-fp-math attribute
changes. The way to actually set these separately is not wired in yet.

This is just a mechanical change, and mostly still assumes the input
and output mode match. This should be refined for some cases. For
example, fcanonicalize lowering should use the flushing variant if
either input or output flushing is enabled
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/omod-nsz-flag.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fdiv.mir
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.s64.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.s16.mir
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcanonicalize.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.s32.mir
Commit 50d8977c459de302fcef7a2578b0e8f8862a2fe0 by jbcoe
[clang-format] Allow a comment to follow a C# attribute specifier

Summary: Add comments to the list of tokens that can follow the ']' at the end of a C# attribute specifier to prevent comments after attribute specifiers from being formatted as continuations.

Reviewers: MyDeveloperDay, krasimir

Reviewed By: MyDeveloperDay

Tags: #clang-format

Differential Revision: https://reviews.llvm.org/D73977
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp
Commit 3c7e9c34b38f976af219005a8ed55b7f1a0c273b by ajcbik
[mlir] [VectorOps] refined description of vector.contract

Summary:
A few details were missing in the description. These
changes makes the documented code "compile".

Reviewers: nicolasvasilache, andydavis1

Reviewed By: nicolasvasilache, andydavis1

Subscribers: merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73923
The file was modifiedmlir/include/mlir/Dialect/VectorOps/VectorOps.td
Commit 23b76096b7d9b3a81ebfb1579471329a7d6b9c03 by Matthew.Arsenault
CodeGenPrepare: Reorder check for cold and shouldOptimizeForSize

shouldOptimizeForSize is showing up in a profile, spending around 10%
of the pass time in one function. This should probably not be so slow,
but the much cheaper attribute check should be done first anyway.
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
Commit 64a8e1b83e14836f97dab4d28dae498e897804e6 by jano.vesely
libclc/asin: Switch to amd builtins version of asin

Fixes a wimpy-mode CTS failure for asin(float).

Passes non-wimpy for both float/double on RX580.

Signed-off-by: Aaron Watry <awatry@gmail.com>
Tested-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
The file was removedlibclc/generic/lib/math/asin.inc
The file was modifiedlibclc/generic/lib/math/asin.cl
Commit 008e7bf92343b8bd6ebade5b3ddcfe4bb4e29f8d by tyker
[C++20] Add consteval-specific semantic for functions

Summary:
Changes:
- Calls to consteval function are now evaluated in constant context but IR is still generated for them.
- Add diagnostic for taking address of a consteval function in non-constexpr context.
- Add diagnostic for address of consteval function accessible at runtime.
- Add tests

Reviewers: rsmith, aaron.ballman

Reviewed By: rsmith

Subscribers: mgrang, riccibruno, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D63960
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/SemaCXX/cxx2a-consteval.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/include/clang/AST/Stmt.h
The file was modifiedclang/include/clang/Basic/DiagnosticASTKinds.td
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 3101def8472a8d6007fc35d23008bbb1c0e7d39c by paulatoth
[libc] Fix typo in header generation docs.

Reviewers: sivachandra, abrachet

Reviewed By: sivachandra, abrachet

Subscribers: libc-commits, MaskRay, tschuett

Tags: #libc-project, #llvm

Differential Revision: https://reviews.llvm.org/D72248
The file was modifiedlibc/docs/header_generation.rst
Commit b461436d019cdaf14e1593af89326eba08190512 by Matthew.Arsenault
AMDGPU/GlobalISel: Legalize s16 G_FEXP2
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fexp2.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit 5d2749938c4ec0b44fe3d63e355e3f31d8b4078f by Matthew.Arsenault
AMDGPU/GlobalISel: Custom lower G_FEXP
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fexp.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
Commit 7f37a8026f6cfe51479309733be642102428fee4 by tejohnson
[InlineCost] Add flag to allow changing the default inline cost

Summary:
It can be useful to tune the default inline threshold without overriding other inlining thresholds (e.g. in code compiled for size).

The existing `-inline-threshold` flag overrides other thresholds, so it is insufficient in codebases where there is a mix of code compiled for size and speed.

Patch by Michael Holman <michael.holman@microsoft.com>

Reviewers: eraman, tejohnson

Reviewed By: tejohnson

Subscribers: tejohnson, mtrofin, davidxl, hiraditya, haicheng, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73217
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
The file was addedllvm/test/Transforms/Inline/inlinedefault-threshold.ll
Commit f0fb09c33e390db16e47cc03a01d0e6f4578e0a7 by riddleriver
[mlir] Print types to the OpAsmPrinter instead of the raw_ostream.

This allows for reusing the internal state of the printer, which is more
efficient and also allows for using type aliases
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
Commit e195ff98f6cc2f868d5f8c19d2ab93cfb3a2cb65 by craig.topper
Recommit "[X86] Use X86ISD::SUB instead of X86ISD::CMP in some places."

This time with correct types for the data result from the SUB.

Original commit message:

Our normal lowering for ISD::SETCC uses X86ISD::SUB to enable
CSE unless the RHS is 0. optimizeCompareInstr called by the peephole
pass can turn subs with unused results into cmps to clean this up.

This commit makes other places that create X86ISD::CMP have the
same behavior.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit f5d1a9f1cfb5ef6cb7c421dfaed2cd4048c0dde9 by tyker
Try to fix windows build bot after 008e7bf92343b8bd6ebade5b3ddcfe4bb4e29f8d
The file was modifiedclang/test/SemaCXX/cxx2a-consteval.cpp
Commit c99fa0b80cc96424e2dd62f36af99934940f9a16 by richard
Additional testcase for 0130b6cb5a8.
The file was addedclang/test/CodeGenCXX/dereferenceable.cpp
Commit cfacf9ae20b8c97a428f118a2720bc109ba6a143 by richard
PR44761: Fix fallback to later tiebreakers if two non-template functions
are equally constrained.
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was addedclang/test/CXX/over/over.match/over.match.best/p2.cpp
Commit ccac6b2bf877337a883c3763e41a529d8f9cc1ff by michael.hliao
[hip] Properly populate macros based on host processor.

Summary:
- The device compilation needs to have a consistent source code compared
  to the corresponding host compilation. If macros based on the
  host-specific target processor is not properly populated, the device
  compilation may fail due to the inconsistent source after the
  preprocessor. So far, only the host triple is used to build the
  macros. If a detailed host CPU target or certain features are
  specified, macros derived from them won't be populated properly, e.g.
  `__SSE3__` won't be added unless `+sse3` feature is present. On
  Windows compilation compatible with MSVC, that missing macros result
  in that intrinsics are not included and cause device compilation
  failure on the host-side source.

- This patch addresses this issue by introducing two `cc1` options,
  i.e., `-aux-target-cpu` and `-aux-target-feature`. If a specific host
  CPU target or certain features are specified, the compiler driver will
  append them during the construction of the offline compilation
  actions. Then, the toolchain in `cc1` phase will populate macros
  accordingly.

- An internal option `--gpu-use-aux-triple-only` is added to fall back
  the original behavior to help diagnosing potential issues from the new
  behavior.

Reviewers: tra, yaxunl

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73942
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedclang/test/Driver/hip-host-cpu-features.hip
The file was addedclang/test/Preprocessor/hip-host-cpu-macros.cu
The file was modifiedclang/include/clang/Frontend/FrontendOptions.h
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit 9b0ce8edfaff513350b4fd55911fe43192073c24 by Matthew.Arsenault
AMDGPU/GlobalISel: Remove extension legality hacks

The legalization has improved since this was added, and the tests
relying on this no longer need it.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-zext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-anyext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-anyext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-zext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir
Commit dd921cb89b9d9011155625c094fd12fbe5be7892 by eugenis
[sanitizer] Add missing declarations for sigaltstack syscall wrappers.

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D73987
The file was modifiedcompiler-rt/test/msan/Linux/syscalls.cpp
The file was modifiedcompiler-rt/include/sanitizer/linux_syscall_hooks.h
Commit 0f116fd9d86da3bb7f99f617284c3f562b6711af by Austin.Kerbow
[AMDGPU] Fix infinite loop with fma combines

https://reviews.llvm.org/D72312 introduced an infinite loop which involves
DAGCombiner::visitFMA and AMDGPUTargetLowering::performFNegCombine.

fma( a, fneg(b), fneg(c) ) => fneg( fma (a, b, c) ) => fma( a, fneg(b), fneg(c) ) ...

This only breaks with types where 'isFNegFree' returns flase, e.g. v4f32.
Reproducing the issue also needs the attribute 'no-signed-zeros-fp-math',
and no source mods allowed on one of the users of the Op.

This fix makes changes to indicate that it is not free to negate a fma if it
has users with source mods.

Differential Revision: https://reviews.llvm.org/D73939
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modifiedllvm/test/CodeGen/AMDGPU/fneg-combines.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fma-combine.ll
Commit 05f2a04ba7fd4bced5e9c8866888bb91e8cee256 by Matthew.Arsenault
AMDGPU/GlobalISel: Legalize G_SEXT_INREG

Split the VALU 64-bit case in RegBankSelect.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-srem.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sitofp.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-insert-vector-elt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.load.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-saddo.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/combine-ext-legalizer.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext-inreg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sextload-flat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.buffer.load.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-icmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-sext-inreg.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sdiv.mir
Commit 0693e827ed3ce081771366e29f5ece025e42a3d2 by Matthew.Arsenault
AMDGPU/GlobalISel: Do a better job splitting 64-bit G_SEXT_INREG

We don't need to expand to full shifts for the > 32-bit case. This
just switches to a sext_inreg of the high half.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-sext-inreg.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit 12fe9b26ec88bb2dd40d574a644edca302e804b2 by Matthew.Arsenault
AMDGPU/GlobalISel: Select G_SEXT_INREG
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.buffer.load.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.load.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sext-inreg.mir
Commit 83d0db59d6ffddfe57a1a1f1ccb2a8a18cc6c940 by llvm-dev
Fix "expression is redundant [misc-redundant-expression]" warning (PR44768)

Be more specific that getOperandConstraint should return -1 or a uint8_t value
The file was modifiedllvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
Commit 2757f93a5a76c59dddd39dc5c1f7c23ee5d21ff6 by Jonas Devlieghere
[lldb/Reproducers] Instrument SBFile

Currently SBFile isn't really instrumented, which was causing trouble
when capturing and replaying the Python test suite. The class is
particularly tricky because one of its constructors takes a FileSP which
isn't instrumented. Until we have proper shadowing in place, we'll
simply always record a nullptr.

Differential revision: https://reviews.llvm.org/D73992
The file was modifiedlldb/source/API/SBFile.cpp
The file was modifiedlldb/include/lldb/API/SBFile.h
Commit f8c0fcd23dafbed38d0b6c1086b91f6474ad3f4c by Jonas Devlieghere
[lldb/Reproducers] Treat SB classes pass by value as const references

Unless trivially copyable, SB classes that are passed by value should be
treated as const references by the reproducer infrastructure and their
address should be serialized. This is already the case on the
serialization side, but not on the deserialization side. This fixes that
by removing the NotImplementedTag.
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
Commit 4f9f5d09de46947841dd6cc7232234f0c56e205b by Matthew.Arsenault
AMDGPU: Fix isAlwaysUniform for simple asm SGPR results

We were handling the case where the result was a struct with an
extracted SGPR component, but not for the simple case.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/DivergenceAnalysis/AMDGPU/always_uniform.ll
Commit 17785cc7a105a56900ed827979336944ccfa8c9d by llvm-dev
[clang-tidy] Fix "expression is redundant [misc-redundant-expression]" warning. NFCI. (PR44768)

We only accept tok::TokenKind::comment enum values so no need to add other cases. Seems to be a cut+paste typo.
The file was modifiedclang-tools-extra/clang-tidy/readability/BracesAroundStatementsCheck.cpp
Commit b73f8c53d8af1fbf6e0e2eac0c54c8dc0576ff39 by jan.kratochvil
Revert: [lldb] [testsuite] generalize `DWARFASTParserClangTests` based on `DWARFExpressionTest`'s YAML

It is causing a failure on OSX, to be investigated more.

Differential Revision: https://reviews.llvm.org/D73279
The file was modifiedlldb/unittests/SymbolFile/DWARF/DWARFASTParserClangTests.cpp
The file was modifiedlldb/unittests/TestingSupport/module.modulemap
The file was modifiedlldb/unittests/TestingSupport/CMakeLists.txt
The file was modifiedlldb/unittests/Expression/DWARFExpressionTest.cpp
The file was removedlldb/unittests/TestingSupport/Symbol/YAMLModuleTester.cpp
The file was removedlldb/unittests/TestingSupport/Symbol/CMakeLists.txt
The file was removedlldb/unittests/TestingSupport/Symbol/YAMLModuleTester.h
Commit 8a1f4feb1b749529ef2349bb7879a38b8d31f5f5 by dimitry
[compiler-rt] Fix sanitizer_common build for FreeBSD

This was broken by 28c91219c7e2, which added `struct_stack_t_sz` only to
sanitizer_platform_limits_posix.{cpp,h}.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h
Commit 6a82f0f0b9d1f1f0ea1d1614b11e5b11bfcb9870 by jonathanchesterfield
[libomptarget] Implement wavefront functions for amdgcn

Summary: [libomptarget] Implement wavefront functions for amdgcn

Reviewers: jdoerfert, ABataev, grokos, arsenm

Reviewed By: arsenm

Subscribers: saiislam, wdng, arsenm, jvesely, openmp-commits

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D73077
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip
Commit f37b62eccecadfe3248c06a6bd42e8a062a1dc61 by Jonas Devlieghere
Re-land "[lldb] [testsuite] generalize `DWARFASTParserClangTests` based on `DWARFExpressionTest`'s YAML"
The file was modifiedlldb/unittests/Expression/DWARFExpressionTest.cpp
The file was addedlldb/unittests/TestingSupport/Symbol/YAMLModuleTester.cpp
The file was addedlldb/unittests/TestingSupport/Symbol/YAMLModuleTester.h
The file was modifiedlldb/unittests/SymbolFile/DWARF/DWARFASTParserClangTests.cpp
The file was addedlldb/unittests/TestingSupport/Symbol/CMakeLists.txt
The file was modifiedlldb/unittests/TestingSupport/CMakeLists.txt
The file was modifiedlldb/unittests/TestingSupport/module.modulemap
Commit c21b71c1ba5cbfd8de755a067bedc5ca40a66a20 by Jonas Devlieghere
[lldb/Unittest] Fix the modules build by including TypeSystemClang.h

This should fix the modules build on the GreenDragon bot.
The file was modifiedlldb/unittests/TestingSupport/Symbol/YAMLModuleTester.cpp
The file was modifiedlldb/unittests/Expression/DWARFExpressionTest.cpp
Commit ebcf25ea8100fc9987fd1edd1975194addc2fc05 by tstellar
[cmake] Fix clang builds with BUILD_SHARED=ON and CLANG_LINK_CLANG_DYLIB=ON

Summary:
We were linking all the clang objects and shared libraries into
libclang-cpp.so, which was causing the command line options to be
registered twice.

Reviewers: beanz, mgorny

Reviewed By: beanz, mgorny

Subscribers: merge_guards_bot, mgorny, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D68520
The file was modifiedclang/tools/clang-shlib/CMakeLists.txt
Commit 7c9ebdd3d6ae405dc6702e544453a51862daf948 by apl
[lldb] Remove clang classes from lldb-forward.h

Summary:
lldb-forward.h is convenient in many ways, but having clang-based
class forward declarations in there makes it easy to proliferate uses of clang
outside of plugins. Removing them makes you much more conscious of when
you're using something from clang and marks where we're using things
from clang in non-plugins.

Differential Revision: https://reviews.llvm.org/D73935
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h
The file was modifiedlldb/include/lldb/Target/Target.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/unittests/Expression/ClangExpressionDeclMapTest.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTImporter.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
The file was modifiedlldb/include/lldb/lldb-forward.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionHelper.h
Commit b79b7674eb470963d0b558022a843c55b0b0ffe0 by n54
[compiler-rt] [netbsd] Fix build after "implement sigaltstack interception"

Fallout after: https://reviews.llvm.org/D73816
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
Commit 8b79bed0f3c90c539865f2e55f664daa7930865d by apl
[lldb] Remove unused references to ClangExpressionDeclMap
The file was modifiedlldb/include/lldb/Expression/IRInterpreter.h
The file was modifiedlldb/include/lldb/Core/ValueObject.h
Commit a969e051a5d9fe17793e8be554b471429d97d958 by kiran.chandramohan
[OpenMP] Add Flush directive to OpenMPIRBuilder

Add support for Flush in the OMPIRBuilder. This patch also adds changes
to clang to use the OMPIRBuilder when '-fopenmp-enable-irbuilder'
commandline option is used.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D70712
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/flush_codegen.cpp
Commit 0c67cfdb114b4c2f5c7ec374cf12118c7fa9d768 by saar
[Concepts] Add missing CXXThisScope to function template constraint substitution

We did not have a CXXThisScope around constraint checking of functions and
function template specializations, causing a crash when checking a constraint
that had a 'this' (bug 44689)
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/test/SemaTemplate/instantiate-requires-clause.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
Commit c348fb1786ba62a69ec0ee9e9ed4a77fc46e071f by saar
Revert "[Concepts] Add missing CXXThisScope to function template constraint substitution"

This reverts commit 0c67cfdb114b4c2f5c7ec374cf12118c7fa9d768 which has a broken test.
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/test/SemaTemplate/instantiate-requires-clause.cpp
Commit a5f1fff9ddf07755c224ce1e84ed009ad9a232f9 by Jonas Devlieghere
[lldb/Reproducers] Add missing SBFile methods to the registry

SBFile::Read and SBFile::Write were missing from the registry.
The file was modifiedlldb/source/Utility/ReproducerInstrumentation.cpp
The file was modifiedlldb/source/API/SBFile.cpp
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
Commit 6c232441564f8934477e418347bf0c217abb0a00 by saar
[Concepts] Add missing CXXThisScope to function template constraint substitution

We did not have a CXXThisScope around constraint checking of functions and
function template specializations, causing a crash when checking a constraint
that had a 'this' (bug 44689).

Recommit after fixing test.
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/test/SemaTemplate/instantiate-requires-clause.cpp
Commit 2d89e0a09880f20c48f19afef6380f2b53cc0b4c by rnk
[SEH] Remove CATCHPAD SDNode and X86::EH_RESTORE MachineInstr

The CATCHPAD node mostly existed to be selected into the EH_RESTORE
instruction, which sets the frame back up when 32-bit Windows exceptions
return to the parent function. However, creating this MachineInstr early
increases the risk that other passes will come along and insert
instructions that use the stack before ESP and EBP are restored. That
happened in PR44697.

Instead of representing these in the instruction stream early, delay it
until PEI. Mark the blocks where this needs to happen as EHPads, but not
funclet entry blocks. Passes after PEI have to be careful not to hoist
instructions that can use stack across frame setup instructions, so this
should be relatively reliable.

Fixes PR44697

Reviewed By: hans

Differential Revision: https://reviews.llvm.org/D73752
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ExpandPseudo.cpp
The file was addedllvm/test/CodeGen/X86/seh-except-restore.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
Commit c67773bebef1745ade1a729263cd63628c97e813 by craig.topper
[X86] Give KSET0* and KSET1* pseudos the same scheduler resource usage as KXOR/KXNOR.

These aren't recognized as idioms by the CPU so they still use
execution resources. We just use the pseudo to force the input
register to k0.
The file was modifiedllvm/lib/Target/X86/X86SchedSkylakeServer.td
Commit 1091730f5fbb13c36e4099e765178c2d8fb7ba0c by rnk
Avoid many std::tie/tuple instantiations in ASTImporter

To factor the error checking, use importChecked instead of importSeq.
This avoids repeating the names of all of the imported child nodes once,
and allows errors to be checked with a single conditional as it is with
importSeq.

After:
  peak memory: 601.63MB
  real: 0m19.172s
  obj size: 8,352kb

Before:
  peak memory: 954.11MB
  real: 0m26.188s
  obj size: 10,000kb

The speed is not as impressive as I hoped, but the memory use reduction
is impressive, and seems worth it.

Reviewed By: martong, shafik

Differential Revision: https://reviews.llvm.org/D73675
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit 48b8e3be51c7fa2bda904bc495af47c7b368e748 by apl
[lldb] Delete commented-out code
The file was modifiedlldb/source/Core/ValueObjectDynamicValue.cpp
The file was modifiedlldb/source/Core/ValueObjectConstResult.cpp
The file was modifiedlldb/source/Core/ValueObjectMemory.cpp
The file was modifiedlldb/source/Core/ValueObjectCast.cpp
Commit fc0ba63f8691eb98e9f7d670f23b145c66deec7e by apl
[lldb] Rename Type::ResolveClangType to Type::ResolveCompilerType

This is not specific to clang types. It operates on CompilerTypes in
general.
The file was modifiedlldb/include/lldb/Symbol/Type.h
The file was modifiedlldb/source/Symbol/Type.cpp
Commit 7982db5dc6c2d8583b19eaf9514dc7d2c1f92053 by rnk
[Support] Fix warnings in ARMTargetParser.cpp
The file was modifiedllvm/lib/Support/ARMTargetParser.cpp
Commit f48c1f5085f1e869aed3cd9d6657064886d0b7da by eugenis
[compiler-rt] fix OpenBSD and Solaris build with sigaltstack interception

Summary:
`sigaltstack` interception is implemented D73816. This updated OpenBSD and Solaris bits to fix the build errors.

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: fedor.sergeev, krytarowski, emaste, eugenis, dberris, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Patch by Igor Sugak.

Differential Revision: https://reviews.llvm.org/D73976
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_openbsd.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_solaris.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_solaris.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_openbsd.cpp
Commit 0c86dfb86de53e74f376c3f2800fc114afaae2ba by rnk
Fix -Wunused-result warnings in LLDB

These try_lock usages intentionally ignore the result, as commented.

Similar to 4d23764dddc23e74ad165086d7f471a3e0e52bf8, which was reviewed
previously.
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp
Commit 31fd112eb4a90600e0f340f19053e5715e92ec4c by joker-eph
Fix x86 32bits MLIR build (NFC)

This is fixing a build error:

error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Region::iterator::difference_type' (aka 'int') in initializer list

Fix pr44767
The file was modifiedmlir/lib/Transforms/DialectConversion.cpp
Commit 016f42e3dcd80431d1a5a17c92f83b3a8a1a601c by craig.topper
[X86] Add custom lowering for lrint/llrint to either cvtss2si/cvtsd2si or fist.

lrint/llrint are defined as rounding using the current rounding
mode. Numbers that can't be converted raise FE_INVALID and an
implementation defined value is returned. They may also write to
errno.

I believe this means we can use cvtss2si/cvtsd2si or fist to
convert as long as -fno-math-errno is passed on the command line.
Clang will leave them as libcalls if errno is enabled so they
won't become ISD::LRINT/LLRINT in SelectionDAG.

For 64-bit results on a 32-bit target we can't use cvtss2si/cvtsd2si
but we can use fist since it can write to a 64-bit memory location.
Though maybe we could consider using vcvtps2qq/vcvtpd2qq on avx512dq
targets?

gcc also does this optimization.

I think we might be able to do this with STRICT_LRINT/LLRINT as
well, but I've left that for future work.

Differential Revision: https://reviews.llvm.org/D73859
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/lrint-conv-i32.ll
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/X86/X86InstrFPStack.td
The file was modifiedllvm/test/CodeGen/X86/llrint-conv.ll
The file was modifiedllvm/test/CodeGen/X86/lrint-conv-i64.ll
Commit 7ac9443002949a01c992691760588eaaf88e4f41 by Jonas Devlieghere
[lldb/Reproducers] Change record logging to mirror replay logging

Pretty printing the return value, although a good idea in theory, turned
out to be more confusing than anything else because they require
printing the log statement after the arguments and resulting value have
been serialized.

This changes the logging to behave more like how deserialization is
traced, although a bit more verbose because some of the serializers are
are calling each other.
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
Commit ddf814688bd4b2268e8648999b23352e7c6521cb by Jonas Devlieghere
[lldb/Reproducers] Add underscore to varaibles in LLDB_RECORD macros

Rename all variables used in the LLDB_RECORD macros to start with an
underscore to avoid conflicts with the arguments being recorded.
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
Commit 361ba3ad1f8779584d94868dc2cb8dd2860c5eba by Louis Dionne
[Driver][Darwin] Improve tests for -nostdinc & friends

The tests were slightly underspecifying the current behavior of Clang.
The file was modifiedclang/test/Driver/darwin-header-search-libcxx.cpp
Commit fb0d2d455f56bca239041c8d7ad7b57da1087b35 by amccarth
Fix after c25938d

My refactor caused some changes in error reporting that TestAddDsymCommand.py
was checking, so this restores some of the changes to preserve the old
behavior and to un-xfail the affected test.

Differential Revision: https://reviews.llvm.org/D74001
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/add-dsym/uuid/TestAddDsymCommand.py
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
Commit 7e02dc3f2407eacf89c63763fa1f592be1a61dd3 by Jonas Devlieghere
[lldb] Fix -Wdocumentation warnings
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.h
The file was modifiedlldb/include/lldb/Expression/DWARFExpression.h
Commit f3bacd0738e9d911b78f03abc041aa3d618716bd by rnk
Fix some more -Wrange-loop-analysis warnings in AArch64TargetParser
The file was modifiedllvm/lib/Support/AArch64TargetParser.cpp
Commit 1c03cc5a39f7088551151c5c6c64d58819c89369 by asbirlea
[NFCI] Update according to style.

clang-tidy + clang-format
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnswitch.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopPredication.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopRotation.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
Commit 7531a5039fd7ee9b48eb8a0d0770e8dfb9fa8bdf by francisvm
[Remarks] Extend the RemarkStreamer to support other emitters

This extends the RemarkStreamer to allow for other emitters (e.g.
frontends, SIL, etc.) to emit remarks through a common interface.

See changes in llvm/docs/Remarks.rst for motivation and design choices.

Differential Revision: https://reviews.llvm.org/D73676
The file was modifiedllvm/docs/Remarks.rst
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/tools/opt/opt.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/include/llvm/LTO/LTO.h
The file was modifiedclang/lib/CodeGen/CodeGenAction.cpp
The file was modifiedllvm/tools/llc/llc.cpp
The file was modifiedllvm/lib/IR/LLVMContextImpl.h
The file was modifiedllvm/include/llvm/CodeGen/AsmPrinter.h
The file was removedllvm/include/llvm/IR/RemarkStreamer.h
The file was addedllvm/include/llvm/IR/LLVMRemarkStreamer.h
The file was modifiedllvm/lib/LTO/LTOBackend.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h
The file was addedllvm/include/llvm/Remarks/RemarkStreamer.h
The file was modifiedllvm/lib/IR/LLVMContext.cpp
The file was modifiedllvm/lib/Remarks/CMakeLists.txt
The file was modifiedllvm/lib/IR/CMakeLists.txt
The file was removedllvm/lib/IR/RemarkStreamer.cpp
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
The file was addedllvm/lib/IR/LLVMRemarkStreamer.cpp
The file was modifiedllvm/include/llvm/IR/LLVMContext.h
The file was addedllvm/lib/Remarks/RemarkStreamer.cpp
The file was modifiedllvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
Commit 50d2d33b8ef530fbee369cbf8e7ea4479597742d by rnk
Fix BroadcasterManager::RemoveListener to really remove the listener

This appears to be a real bug caught by -Wunused-value. std::find_if
doesn't modify the underlying collection, it just returns an iterator
pointing to the matching element.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D74010
The file was modifiedlldb/source/Utility/Broadcaster.cpp
Commit b642e0348512a83505900ae00844f5f60ebeac45 by michael.hliao
[cuda][hip] Temporarily XFAIL on arm
The file was modifiedclang/test/Driver/cuda-simple.cu
Commit 2406a06e674ba44c78b334a5520e4c39a8a53923 by llvmgnsyncbot
[gn build] Port 7531a5039fd
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Remarks/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
Commit f722284cdff5edba9697b87ae7c5d1fe546d7b11 by llvmgnsyncbot
[gn build] Port b8a847c0a3e
The file was modifiedllvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
Commit efcd3967a6bf6b66e04e40129104d0b65ba453d2 by dblaikie
DebugInfo: Generalize convert-debugloc.ll to run for multiple target architectures

This test was overly constrained & hardcoded only to x86-linux-gnu -
generalize the test & remove the hardcoded target triple.
The file was modifiedllvm/test/DebugInfo/X86/convert-debugloc.ll
Commit 6f738f62ab8977a531c758b3bef2fecfa61491cb by dblaikie
DebugInfo: convert-debugloc.ll remove erroneous CHECK
The file was modifiedllvm/test/DebugInfo/X86/convert-debugloc.ll
Commit eace2fbfee6675fb9d85290b7d1d4d10c5d98f5d by michael.hliao
Fix warning on trailing `;`. NFC.
The file was modifiedllvm/include/llvm/IR/LLVMContext.h
Commit 3125887845ca22e6bedf3c5be49129a7ec600ee1 by francisvm
[Remarks] Fix gcc build
The file was modifiedllvm/lib/IR/LLVMContext.cpp
The file was modifiedllvm/lib/IR/LLVMContextImpl.h
The file was modifiedllvm/include/llvm/IR/LLVMContext.h
Commit 0ca33f1b0feb5a440159975b9bc1f15e55ef570d by michael.hliao
Fix warning on trailing `;`. NFC.
The file was modifiedllvm/include/llvm/CodeGen/AsmPrinter.h
Commit 1b787f53c60860dd9fe004cc9f454a1c19d4f681 by dblaikie
DebugInfo: Generalize test/DebugInfo/X86/convert-inlined.ll

This test was hardcoded to only run on x86-64-linux-gnu and was overly
constrained by CHECK-NEXTing every line for an exact match.
The file was modifiedllvm/test/DebugInfo/X86/convert-inlined.ll
Commit cd9142ed8a46e3ffa199176a5f447fc1a4e1c4d1 by dblaikie
DebugInfo: Generalize test/DebugInfo/X86/convert-linked.ll to run with different architectures
The file was modifiedllvm/test/DebugInfo/X86/convert-linked.ll
Commit b0cd0b7c909edceed7aa7e55ab0677fba1a0511c by dblaikie
Reapply: DebugInfo: Add missing test coverage for DW_OP_convert in loclists

Originally committed in: 5327b917e3bd0b3db352cb5a61eea7409f2d1972
      and follow on fix: 4f281f047457ce3f1870a93253476222314f420b

            Reverted in: 191a9a78b3f4bdf35a30d3480bd630d787a2fdf6
            and: f75301d16d444d8cb6810d679290df744bc79ec7

Reverted because it wasn't portable between the targets it was running
on. Using %llc_dwarf ensures the target triple is always elfine and thus
DWARF compatible.
The file was addedllvm/test/DebugInfo/X86/convert-loclist.ll
Commit 7f57f13cd683f2114840be1dea2da05d4d7b2dfc by dblaikie
DebugInfo: use a symbolic DIE reference in convert-loclist.ll
The file was modifiedllvm/test/DebugInfo/X86/convert-loclist.ll
Commit b96c6b65b93f7b3878bced2374bef747a4c3b690 by richard
PR44786: Don't assert when profiling <=> expressions.
The file was modifiedclang/test/SemaCXX/cxx2a-three-way-comparison.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
Commit 13b197c7d18b7c74df6e97fcb5c0f5cb3a04fcb4 by antiagainst
[mlir][spirv] Add dialect-specific attribute for target environment

We were using normal dictionary attribute for target environment
specification. It becomes cumbersome with more and more fields.
This commit changes the modelling to a dialect-specific attribute,
where we can have control over its storage and assembly form.

Differential Revision: https://reviews.llvm.org/D73959
The file was modifiedmlir/include/mlir/Dialect/SPIRV/TargetAndABI.h
The file was modifiedmlir/test/Conversion/LinalgToSPIRV/linalg-to-spirv.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/TargetAndABI.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVDialect.h
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
The file was modifiedmlir/test/Dialect/SPIRV/target-and-abi.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/TargetAndABI.td
The file was modifiedmlir/lib/Conversion/LinalgToSPIRV/LinalgToSPIRV.cpp
The file was modifiedmlir/docs/Dialects/SPIR-V.md
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
The file was modifiedmlir/test/Dialect/SPIRV/target-env.mlir
Commit 27748363da8df9bd952cc0ba5b9c57f51414a07c by tlively
[WebAssembly] Enable recently implemented SIMD operations

Summary:
Moves a batch of instructions from unimplemented-simd128 to simd128
because they have recently become available in V8.

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D73926
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/simd.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-extended-extract.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-arith.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-offset.ll
The file was modifiedclang/include/clang/Basic/BuiltinsWebAssembly.def
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-scalar-to-vector.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-comparisons.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-build-pair.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-bitcasts.ll
Commit 57c54ddd7f9857d9054a1e163799eb5235c89602 by dblaikie
Recommit: DebugInfo: Check DW_OP_convert in loclists with Split DWARF

Originally committed in: 552a8fe12bd1822f48dda2e9e8728a179f82d356
            Reverted in: f75301d16d444d8cb6810d679290df744bc79ec7

Reverted because it was running llc directly (rather than %llc_dwarf)
which uses COFF files on Windows which LLVM doesn't support all DWARF
features in.

This functionality isn't fully working, but sets up the testing for a
follow-on patch that demonstrates and fixes the brokenness related to
DWO ID hashing this construct.
The file was modifiedllvm/test/DebugInfo/X86/convert-loclist.ll
Commit d96c1bbaa03574daf759e5e9a6c75047c5e3af64 by yhs
[BPF] disable ReduceLoadWidth during SelectionDag phase

The compiler may transform the following code
  ctx = ctx + reloc_offset
  ... (*(u32 *)ctx) & 0x8000 ...
to
  ctx = ctx + reloc_offset
  ... (*(u8 *)(ctx + 1)) & 0x80 ...
where reloc_offset will be replaced with a constant during
AsmPrinter phase.

The above transformed code will be rejected the kernel verifier
as it does not allow
  *(type *)((ctx + non_zero_offset1) + non_zero_offset2)
style access pattern.

It is hard at SelectionDag phase to identify whether a load
is related to context or not. Sometime, interprocedure analysis
may be needed. So let us simply prevent such optimization
from happening.

Differential Revision: https://reviews.llvm.org/D73997
The file was modifiedllvm/lib/Target/BPF/BPFISelLowering.h
The file was addedllvm/test/CodeGen/BPF/CORE/no-narrow-load.ll
Commit 8acedb595d039f68ad15f9e5f2e6cb79729307e4 by tlively
Revert "[WebAssembly] Split and recombine multivalue calls for ISel"

Summary:
This reverts commit 28857d14a86b1e99a9d2795636a5faf17674f5a2. This
commit worked toward a solution that did not turn out to be feasible
because MachineInstrs cannot contain an arbitrary number of defs.

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73927
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
Commit a1c338d70b9be7b5c6f9e16a325d692e8f439172 by dblaikie
DebugInfo: Fix convert-loclist.ll Split DWARF variant to use a hardcoded triple

Since we don't support Split DWARF emission on non-ELF formats, hardcode
an elfine triple (we don't have a way to ask for "any ELF triple" it
seems, so hardcoded will have to do)
The file was modifiedllvm/test/DebugInfo/X86/convert-loclist.ll
Commit b453caf1112f0e89eddcd03aa667368fab6d13d6 by Jonas Devlieghere
[lldb/Reproducers] Change the way we instrument void* arguments

The reproducer instrumentation cannot automatically serialize and
deserialize void* arguments. Currently we deal with this by explicitly
preventing these methods from being instrumented. This has the undesired
side effect of breaking replay when that method returns a value later
used by another SB API call.

The solution is to change our approach and instrument these methods.
Instead of using the DUMMY macro, we just make (de)serialization of the
void pointer a NOOP and always return a nullptr.
The file was modifiedlldb/source/Utility/ReproducerInstrumentation.cpp
The file was modifiedlldb/tools/lldb-instr/Instrument.cpp
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
The file was modifiedlldb/source/API/SBTarget.cpp
Commit 9329cfca8489965bb9e4017906ab6f2d45c7f29b by dblaikie
DebugInfo: convert-debugloc.ll generalize to run on ppc64le

This target produces a location list for the location, so split the
match between lines to allow for a location list match.
The file was modifiedllvm/test/DebugInfo/X86/convert-debugloc.ll
Commit def55a8efdf094148151c2e281049fa5d19072c7 by dblaikie
DebugInfo: Add a couple of missing COFF sections to make convert-loclist.ll pass on Windows
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
Commit ec50e10db437d935a3faee0d72fd5b80d49682ab by dblaikie
DebugInfo: Hash DW_OP_convert in loclists when using Split DWARF

Originally committed in: 1ced28cbe75ff81f35ac2c71e941041eb3afcd00
            Reverted in: f75301d16d444d8cb6810d679290df744bc79ec7

(reverted due to tests failing on non-linux/x86 targets, tests have since been
generalized and specialized... since Split DWARF isn't supported on non-elf
targets anyway and we have no way to run on "whatever elf target is available"
so they fail on MacOS without an explicit target triple)

This code was incorrectly emitting extra bytes into arbitrary parts of
the object file when it was meant to be hashing them to compute the DWO
ID.

Follow-up patch(es) will refactor this API somewhat to make such bugs
harder to introduce, hopefully.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/test/DebugInfo/X86/convert-loclist.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ByteStreamer.h
Commit 9260d01faa664d557feeeec8df2f5c7561bb4a95 by arsenm2
AMDGPU: Correct memory size for image intrinsics

This was incorrectly rounding up to the next power of 2. v4f32 was
rounding up to v8f32, which was just wrong. There are also v3i16/v3f16
available in MVT, so we don't even need to round the f16 cases
anymore. Additionally, this field is really an EVT so we don't even
need to consider this.

Also switch some asserts to return invalid. We should have an IR
verifier for these intrinsic return types, but for now it's better to
not assert on IR that passes the verifier.

This should also probably be fixed to consider that dmask is really
eliminating some of the loaded components.
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit b8004b7308b490b93231789cd05f86294a77d663 by joker-eph
[mlir] Mark the MLIR tools for installation in CMake

This binplaces `mlir-translate`, `mlir-cuda-runner`, and `mlir-cpu-runner` when building the CMake install target.

Differential Revision: https://reviews.llvm.org/D73986
The file was modifiedmlir/tools/mlir-cpu-runner/CMakeLists.txt
The file was modifiedmlir/tools/mlir-cuda-runner/CMakeLists.txt
The file was modifiedmlir/tools/mlir-translate/CMakeLists.txt
Commit 843a0f97717a006fd21cd89fd229b064506e5d05 by Jason Molenda
Enhance debugserver's err reporting on attach fails

Explicitly check for a request to attach to a pid that doesn't
exist, to attach to a pid that is already being debugged, unify the
SIP process check, and an attempt at checking if developer mode is
enabled on the system (which isn't working in debugserver, for some
reason; I can't get the authorization record which should be an
unprivileged operation and works in a standalone program I wrote).

I'll debug the developer mode check later, but I wanted to land it
along with everything else; right now it will claim that developer
mode is always enabled so it's harmless to include as-is.
The file was modifiedlldb/tools/debugserver/source/DNB.cpp
The file was modifiedlldb/tools/debugserver/source/DNB.h
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
The file was modifiedlldb/tools/debugserver/source/RNBServices.cpp
Commit 649aba93a27170cb03a4b17c98a19b9237a880b8 by tlively
Revert "[WebAssembly][InstrEmitter] Foundation for multivalue call lowering"

Summary:
This reverts commit 3ef169e586f4d14efe690c23c878d5aa92a80eb5. The
purpose of this commit was to allow stack machines to perform
instruction selection for instructions with variadic defs. However,
MachineInstrs fundamentally cannot support variadic defs right now, so
this change does not turn out to be useful.

Depends on D73927.

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73928
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/multivalue.ll
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
The file was modifiedllvm/lib/CodeGen/PrologEpilogInserter.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyUtilities.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/include/llvm/Target/TargetMachine.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISD.def
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyUtilities.cpp
Commit 8c3e6af71b8e827655c83997747a2042feddc845 by tlively
[WebAssembly] Add experimental multivalue calling ABI

Summary:
For now, this ABI simply expands all possible aggregate arguments and
returns all possible aggregates directly. This ABI will change rapidly
as we prototype and benchmark a new ABI that takes advantage of
multivalue return and possibly other changes from the MVP ABI.

Reviewers: aheejin, dschuff

Subscribers: sbc100, jgravelle-google, sunfish, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D72972
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/lib/Basic/Targets/WebAssembly.cpp
The file was modifiedclang/lib/Basic/Targets/WebAssembly.h
The file was modifiedclang/test/CodeGen/wasm-arguments.c
Commit e6686adf8a743564f0c455c34f04752ab08cf642 by jano.vesely
AMDGPU/EG,CM: Implement fsqrt using recip(rsqrt(x)) instead of x * rsqrt(x)

The old version might be faster on EG (RECIP_IEEE is Trans only),
but it'd need extra corner case checks.
This gives correct corner case behaviour and saves a register.
Fixes OCL CTS sqrt test (1-thread, scalar) on Turks.

Reviewer: arsenm
Differential Revision: https://reviews.llvm.org/D74017
The file was modifiedllvm/lib/Target/AMDGPU/R600Instructions.td
The file was modifiedllvm/lib/Target/AMDGPU/CaymanInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/fsqrt.ll
The file was modifiedllvm/lib/Target/AMDGPU/EvergreenInstructions.td
Commit 4a2fa552992f54203a13abc7a0e265627e1dc34e by paulatoth
Remove leftover artifacts from use of gtest.

Reviewers: abrachet

Reviewed By: abrachet

Subscribers: mgorny, MaskRay, libc-commits

Tags: #libc-project

Differential Revision: https://reviews.llvm.org/D74008
The file was modifiedlibc/cmake/modules/LLVMLibCRules.cmake
Commit 7800310cb50408ba42f5321f7de956fb69a9efda by phosek
[CMake][compiler-rt] Replace Windows backslashes with CMake ones

XRay builds uses llvm-config to obtain the ldflags and libs and then
passes those to CMake. Unfortunately, this breaks on Windows because
CMake tries to interpret backslashes followed by certain characters
as flags. We need to rewrite these into forward slashes that are used
by CMake (even on Windows).

Differential Revision: https://reviews.llvm.org/D73523
The file was modifiedcompiler-rt/cmake/Modules/CompilerRTUtils.cmake
Commit 491a4a7ac9e39fd4cc20a21e7da1961dfc7fc275 by phosek
[CMake] Passthrough CMAKE_SYSTEM_NAME to default builtin and runtimes target

When building the default builtin and runtimes target, set the
CMAKE_SYSTEM_NAME to the current one. This is not necessary on
Linux and Darwin, but it appears to be necessary on Windows,
otherwise CMake fails.

Differential Revision: https://reviews.llvm.org/D73811
The file was modifiedllvm/runtimes/CMakeLists.txt
Commit a3d489e87e8243bdb0eff947a38006b039dff8c0 by craig.topper
[X86] Add a DAG combine for (i32 (sext (i8 (x86isd::setcc_carry)))) -> (i32 (x86isd::setcc_carry)) and remove isel patterns.

Same for any_extend though we don't have coverage for that.

The test changes are because isel didn't check one use of the
setcc_carry. So in isel we would end up with two different
sized setcc_carry instructions. And since it clobbers
the flags we would need to recreate the flags for the second
instruction.

This code handles additional uses by truncating the new wide
setcc_carry back to the original size for those uses.
The file was modifiedllvm/test/CodeGen/X86/copy-eflags.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
Commit 6e8d6bc9ec8739ec22b73a23f740f171f452e234 by kadircet
[clangd] Preserve -nostdinc and --sysroot when calling query driver

Solves this issue: https://github.com/clangd/clangd/issues/157

This is my first contribution to an llvm project, so I hope I'm doing it right!

Patch by @topisani (Tobias Pisani)!

Reviewers: kadircet, klimek

Differential Revision: https://reviews.llvm.org/D73811
The file was modifiedclang-tools-extra/clangd/test/system-include-extractor.test
The file was modifiedclang-tools-extra/clangd/QueryDriverDatabase.cpp
Commit de90d73e030c5c98d7557c8bbf9b60b4b0e209cc by djordje.todorovic
[DebugInfo] Avoid the call site param for mem instrs with multiple defs

We currently only handle mem instructions with a single define.
Avoid the call site parameter debug info when we find the case with
multiple defs, rather than throwing an assert.

Differential Revision: https://reviews.llvm.org/D73954
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was addedllvm/test/DebugInfo/MIR/X86/dbg-call-site-spilled-arg-multiple-defs.mir
Commit ca1c21d4b659bfa5edb38c4a54b3050e43c4b51a by kadircet
[clangd] Use printf instead of `echo -e` to be compliant with dash
The file was modifiedclang-tools-extra/clangd/test/system-include-extractor.test
Commit 60f161eb62d0a6b30a54885711d5e63f7f572bb6 by grimar
[yaml2obj][obj2yaml] - Simplify format of the SHT_LLVM_ADDRSIG section.

Previously the description allowed to describe symbols with use of
`Name` and `Index` keys. This patch removes them and now it is still
possible to use either names or symbol indexes, but the code is simpler
and the format is slightly different.

Such a change will be useful for another patches, e.g:
https://reviews.llvm.org/D73788#inline-671077

Differential revision: https://reviews.llvm.org/D73888
The file was modifiedllvm/test/tools/yaml2obj/ELF/llvm-addrsig-section.yaml
The file was modifiedllvm/test/tools/llvm-readobj/ELF/addrsig.test
The file was modifiedllvm/test/tools/obj2yaml/elf-llvm-addrsig-section.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
Commit 3bc7ffdaabee8b8380dab66f7e1e200660723b10 by sebastian.neubauer
[AMDGPU] Use v3f32 type in image instructions

This should lower the amount of used registers for gfx9.

I updated some of the changed tests with the update script because
changing them by hand is tedious.

Differential Revision: https://reviews.llvm.org/D73884
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.o.dim.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.d16.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.o.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.d16.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.a16.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.nsa.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.d16.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.a16.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.ltolz.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.dim.ll
Commit 163e33b290ff4b3bc3eec569a153ced9267254ec by sebastian.neubauer
[AMDGPU] Fix lowering a16 image intrinsics

scalar_to_vector takes only one argument, not two.
The a16 tests now also check the packing of coordinates into registers

Differential Revision: https://reviews.llvm.org/D73482
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.a16.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.a16.dim.ll
Commit 5ff4f881a7774b8ec8d4db40d2a6c95ddd8a5f21 by Raphael Isemann
[lldb] Ignore type sugar in TypeSystemClang::GetPointerType

Summary:
Currently having a typedef for ObjC types is breaking member access in LLDB:
```
typedef NSString Str;
NSString *s; s.length; // OK
Str *s; s.length; // Causes: member reference base type 'Str *' (aka 'NSString *') is not a structure or union
```

This works for NSString as there the type building from `NSString` -> `NSString *` will correctly
build a ObjCObjectPointerType (which is necessary to make member access with a dot possible),
but for the typedef the `Str` -> `Str *` conversion will produce an incorrect PointerType. The reason
for this is that our check in TypeSystemClang::GetPointerType is not desugaring the base type,
which causes that `Str` is not recognised as a type to a `ObjCInterface` as the check only sees the
typedef sugar that was put around it. This causes that we fall back to constructing a PointerType
instead which does not allow member access with the dot operator.

This patch just changes the check to look at the desugared type instead.

Fixes rdar://17525603

Reviewers: shafik, mib

Reviewed By: mib

Subscribers: mib, JDevlieghere, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D73952
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/objc-property/TestObjCProperty.py
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/objc-property/main.m
Commit f8865c01944fe409857eeb30e0963bfa5ced294d by hokein.wu
[clangd] Pull out a isProtoFile function.

Reviewers: kadircet

Reviewed By: kadircet

Subscribers: merge_guards_bot, mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73780
The file was modifiedclang-tools-extra/clangd/SourceCode.cpp
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
The file was modifiedclang-tools-extra/clangd/SourceCode.h
Commit c1c9819ef91aab51b5a23fb3027adac5a2f551cc by martin
[CMake] Add missing component dependencies, to fix building for mingw with BUILD_SHARED_LIBS

Differential Revision: https://reviews.llvm.org/D73840
The file was modifiedllvm/unittests/Passes/CMakeLists.txt
The file was modifiedllvm/examples/Bye/CMakeLists.txt
The file was modifiedllvm/tools/bugpoint-passes/CMakeLists.txt
Commit 2f1ca30f997aa505f1180225c8975f810c23b9a1 by martin
Partially revert c1c9819ef91aab51b5a23fb3027adac5a2f551cc

Revert the part of that change that broke the
test Passes/./PluginsTests/PluginsTests.LoadPlugin.
The file was modifiedllvm/unittests/Passes/CMakeLists.txt
Commit ea8b2cb9bf5e79bfc9cc49c463b1f5ac9f7e5638 by aykevanlaethem
[AVR] Add disassembly tests for supported instructions

The disassembler of the AVR backend is incomplete: most instructions do
not correctly disassemble yet.

This patch is the first in a series to add disassembly support to the
AVR backend. It starts with adding disassembler tests for instructions
that already disassemble correctly.

Differential Revision: https://reviews.llvm.org/D73911
The file was modifiedllvm/test/MC/AVR/inst-reti.s
The file was modifiedllvm/test/MC/AVR/inst-eicall.s
The file was modifiedllvm/test/MC/AVR/inst-family-set-clr-flag.s
The file was modifiedllvm/test/MC/AVR/inst-ijmp.s
The file was modifiedllvm/test/MC/AVR/inst-ret.s
The file was modifiedllvm/test/MC/AVR/inst-break.s
The file was modifiedllvm/test/MC/AVR/inst-des.s
The file was modifiedllvm/test/MC/AVR/inst-eijmp.s
The file was modifiedllvm/test/MC/AVR/inst-icall.s
The file was modifiedllvm/test/MC/AVR/inst-nop.s
The file was modifiedllvm/test/MC/AVR/inst-sleep.s
The file was modifiedllvm/test/MC/AVR/inst-wdr.s
Commit 6198e1c40abce7135ce68e2b91d433ec02454a50 by llvm-dev
Fix MSVC signed/unsigned warning. NFCI.
The file was modifiedclang/lib/AST/Expr.cpp
Commit 8616bd417f7aa1cbd1ace96662b86837c3b73bbf by llvm-dev
[X86] Fix missing load latencies (PR36894)

We weren't account for load latencies in the SSE42/AES/CLMUL schedule classes
The file was modifiedllvm/lib/Target/X86/X86SchedSandyBridge.td
The file was modifiedllvm/test/tools/llvm-mca/X86/SandyBridge/resources-pclmul.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SandyBridge/resources-sse42.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/resources-aes.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SandyBridge/resources-clmul.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/resources-avx1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SandyBridge/resources-aes.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/resources-sse42.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SandyBridge/resources-avx1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/resources-pclmul.s
Commit f780e15caf1bed0a9fbc87fde70bd5ab3d80a439 by alexey.sotkin
[OpenCL] Fix support for cl_khr_mipmap_image_writes

Text of the extension is available here:
https://github.com/KhronosGroup/OpenCL-Docs/blob/master/ext/cl_khr_mipmap_image.asciidoc

Patch by Ilya Mashkov

Differential Revision: https://reviews.llvm.org/D71460
The file was modifiedclang/lib/Headers/opencl-c.h
The file was modifiedclang/include/clang/Basic/OpenCLExtensions.def
The file was modifiedclang/test/SemaOpenCL/extension-version.cl
Commit 8d8bd0d6548ed9d2482de341c1b0e53449e5c564 by Raphael Isemann
[lldb] Make TestDataFormatterObjCCF.py pass outside California

Summary:
This test creates its dates with `NSDate dateWithNaturalLanguageString` which is deprecated and uses the current time zone of the machine to
interpret the input string. This causes that the created NSDate has a different value depending on the locale of the machine
and we hardcoded the value for California's time zone (PST) but the data formatter gives out the GMT value as a string.

This just replaces the use with the timezone-independent dateWithTimeIntervalSince1970 (which we also use in the rest of the test)
to make this pass independently of the time zone of the machine running the test.

Reviewers: mib

Reviewed By: mib

Subscribers: lldb-commits, JDevlieghere

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74038
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCCF.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/main.m
Commit 5cc817be75011ac3a07a1a079cca10988555d519 by mgorny
[lldb] Introduce i386 support in NetBSD Process plugin

Introduce support for i386 platform that is shared with amd64
in the same plugin.  The concept is partially based on the Linux
implementation.

The plugin tries to reuse as much code as possible.  As a result, i386
register enums are mapped into amd64 values and those are used in actual
code.  The code for accessing FPU and debug registers is shared,
although general-purpose register layouts do not match between the two
kernel APIs and need to be #ifdef-ed.

This layout will also make it possible to add support for debugging
32-bit programs on amd64 with minimal added code.

In order for this to work, I had to add missing data for debug registers
on i386.

Differential Revision: https://reviews.llvm.org/D73802
The file was addedlldb/source/Plugins/Process/Utility/RegisterContextNetBSD_i386.cpp
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
The file was addedlldb/source/Plugins/Process/Utility/RegisterContextNetBSD_i386.h
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_i386.h
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.h
The file was modifiedlldb/source/Plugins/Process/Utility/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/Utility/lldb-x86-register-enums.h
Commit 7506ca3e8ccb75620a1987749f80d22bc87f246c by Raphael Isemann
[lldb][NFC] Remove some unnecessary curly braces
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit eaf0c89ec5f866b6cef296c542c030bb2cf8481d by hokein.wu
[clangd] Add the missing elaborated types in FindTarget.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74025
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
Commit 706256b6d3972dcfa2d3e888d0640e1689c4be95 by Raphael Isemann
[lldb] Revert some change in data-formatter-objc/main.m that broke TestDataFormatterObjCNSDate.py

Changing the date2 to an timezone independent value broke the test as the data formatters
uses the current time zone for the summary (so changing it to a time zone independent value
would again break the test in some time zones). We anyway just care about this for date2
which will be printed in a timezone-independent summary.
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/main.m
Commit 4c7f819204d8c52a25cc98a083791ad9db7d1ad9 by sam.parker
[ARM][LowOverheadLoops] Ensure memory predication

While validating each MVE instruction, check that all instructions
that touch memory are somehow predicated upon the VCTP.

Differential Revision: https://reviews.llvm.org/D73616
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/non-masked-store.mir
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/non-masked-load.mir
Commit 564275289da3bc574fc91148584972ac2d4c21f3 by sam.parker
[ARM][LowOverheadLoops] Fix loop count chain

Checking that the use-def chain that performs the loop count
isSafeToRemove is not sufficient because it means that we can
remove register copies that we need to restore lr to its correct
value. This change now prevents the transform from kicking in for the
'remove-elem-moves' test which needs to addressed later on.

Differential Revision: https://reviews.llvm.org/D74037
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/loop-dec-liveout.mir
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/loop-dec-copy-chain.mir
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/loop-dec-copy-prev-iteration.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/remove-elem-moves.mir
Commit 4592bb71954707eda04ee9cc09df84217e5f3bd5 by llvm-dev
visitINSERT_VECTOR_ELT - pull out repeated dyn_cast. NFCI.

This always gets called at least once.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit aaaeac616692a6bdb0ee1e7a9977f7fde9dcb364 by andrea.dibiagio
[MCA] Remove verification check on MayLoad and MayStore. NFCI

Field NumMicroOpcodes is currently used by mca to model the number of uOPs
dispatched from the uOp-Queue to the out of order backend.  From a 'dispatch'
point of view, an instruction with zero opcodes is still valid; it simply
doesn't consume any dispatch group slots.

However, mca doesn't expect an instruction with zero uOPs to consume pipeline
resources because it is seen as a contradiction.  In practice, it only makes
sense if such an instruction is eliminated and never really executed. It may be
that mca is being too conservative here. However I believe that mca is right,
and we should probably check that inconsistency in CodeGenSchedule.cpp (when we
also verify scheduling classes in general).

This patch removes the check for MayLoad and MayStore in mca.  That check is
probably too conservative: we are already checking if a zero-uops instruction
consumes any processor resources. Note also that instructions with unmodelled
side-effects also tend to set the MayLoad/MayStore flags even if - theoretically
speaking - they might not even consume any hw resources in practice.

In future we may want to implement different checks (possibly outside of mca)
and potentially revisit the logic in mca that verifies instructions.
For that reason I have raised PR44797.
The file was modifiedllvm/lib/MCA/InstrBuilder.cpp
Commit a328536c6d7ac16946c5b01fffa16dadb80b0d29 by momchil.velikov
[ARM] Correct syntax of the CLRM insn

The predicate should be adjacent to the opcode.

Differential Revision: https://reviews.llvm.org/D74040
The file was modifiedllvm/test/MC/Disassembler/ARM/clrm.txt
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb2.td
Commit 482e236e569e8324f70778af1eb756923cd490dc by Artem Dergachev
[analyzer] Fix a couple of bugs in HTML report generation.

It should now produce valid HTML again.

Differential Revision: https://reviews.llvm.org/D73993
The file was addedclang/test/Analysis/html_diagnostics/td-hotfix.c
The file was addedclang/test/Analysis/html_diagnostics/variable-popups-macro.c
The file was addedclang/test/Analysis/html_diagnostics/variable-popups-simple.c
The file was addedclang/test/Analysis/html_diagnostics/variable-popups-multiple.c
The file was modifiedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
Commit e1e09f0ce6d44e86d8ab2070fe27303dd54fa189 by herhut
[MLIR] Add mapping based on ValueRange to BlockAndValueMapper.

Summary:
It is often needed to map entire ranges rather than single values. To avoid
writing the same for loop every time, I have added an overload to the map
method.

Differential Revision: https://reviews.llvm.org/D73894
The file was modifiedmlir/include/mlir/IR/BlockAndValueMapping.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
Commit fd3437a4f791cb0520e19b87953141fc68543377 by a.bataev
[OPENMP][NVPTX]Add NVPTX specific definitions for new/delete operators.

Summary:
To use new/delete in NVPTX code we need to define them. Implementation
copied from CUDA wrappers.

Reviewers: hfinkel, jdoerfert

Subscribers: mgorny, guansong, kkwli0, caomhin, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73128
The file was modifiedclang/lib/Headers/CMakeLists.txt
The file was addedclang/lib/Headers/openmp_wrappers/new
Commit 569dc65c63802e2313aebe702d0233ae101c09cf by a.bataev
[OPNEMP50][DOCS]Mark array shaping expression as claimed, NFC.
The file was modifiedclang/docs/OpenMPSupport.rst
Commit 01022af5d5a109c903e843f0e33378b5bc805ed1 by sjoerd.meijer
[ARM][MVE] LowOverheadLoops: DCE on the iteration count setup expression

Once we have created a tail-predicated hardware-loop, and thus know the number
of elements that are processed, we want to clean-up the iteration count
expression of that loop. In D73682, we bailed the analysis on conditionally
executed instructions. This adds support for IT-blocks, so that we can handle
these cases again. The restriction is that we only support IT blocks containing
1 statement, but that seems to cover most cases and forms of the iteration
count expression.

Differential Revision: https://reviews.llvm.org/D73947
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-random.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-ignore-vctp.mir
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-itercount.mir
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/it-block-chain.mir
Commit e63abde39f530028b0089ea477446c1b671a28f1 by llvm-dev
[clang][driver] Fix null pointer dereference warning inside PrintActions1 (PR43462)

As detailed on PR43462, clang static analyzer is complaining about a null pointer dereference as we provide a 'host' toolchain fallback if the ToolChain pointer is null, but then use that pointer anyhow to report the triple.

Tests indicate the ToolChain pointer is always valid and the 'host' code path is redundant.

Differential Revision: https://reviews.llvm.org/D74046
The file was modifiedclang/lib/Driver/Driver.cpp
Commit 31144351686fc1fab9155f29fa61479862887b9f by Alexander.Richardson
Re-enable a update_cc_test_checks.py tests

This test was not running because it still had a REQUIRES: python3 line.
As this is no longer necessary, remove the REQUIRES to run the test
again.
The file was modifiedllvm/test/tools/UpdateTestChecks/update_cc_test_checks/mangled_names.test
The file was modifiedllvm/test/tools/UpdateTestChecks/update_cc_test_checks/Inputs/mangled_names.c.funcsig.expected
Commit 91b3083aecdcb7beb33d497a94f4467f110b4f6d by sven.vanhaastregt
[OpenCL] Fix tblgen support for cl_khr_mipmap_image_writes

Apply the fix of f780e15caf1 ("[OpenCL] Fix support for
cl_khr_mipmap_image_writes", 2020-01-27) also to the TableGen OpenCL
builtin function definitions.
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit 3627c91ead934486fdb3986b911482a78f101309 by momchil.velikov
[ARM][TargetParser] Improve handling of dependencies between target features

The patch at https://reviews.llvm.org/D64048 added "negative"
dependency handling in `ARM::appendArchExtFeatures`: feature "noX"
removes all features, which imply "X".

This patch adds the "positive" handling: feature "X" adds all the
feature strings implied by "X".

(This patch also comes from the suggestion here
https://reviews.llvm.org/D72633#inline-658582)

Differential Revision: https://reviews.llvm.org/D72762
The file was modifiedllvm/lib/Support/ARMTargetParser.cpp
The file was modifiedclang/test/Driver/arm-mfpu.c
The file was modifiedclang/lib/Basic/Targets/ARM.cpp
The file was modifiedllvm/unittests/Support/TargetParserTest.cpp
The file was modifiedclang/test/Preprocessor/arm-target-features.c
Commit 2b7f32892b76cdfbe075300a5bf4a52e1b674bc7 by medismail.bennani
[lldb/Target] Add Assert StackFrame Recognizer

When a thread stops, this checks depending on the platform if the top frame is
an abort stack frame. If so, it looks for an assert stack frame in the upper
frames and set it as the most relavant frame when found.

To do so, the StackFrameRecognizer class holds a "Most Relevant Frame" and a
"cooked" stop reason description. When the thread is about to stop, it checks
if the current frame is recognized, and if so, it fetches the recognized frame's
attributes and applies them.

rdar://58528686

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/include/lldb/Target/StackFrameRecognizer.h
The file was addedlldb/source/Target/AssertFrameRecognizer.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was modifiedlldb/source/Target/Thread.cpp
The file was modifiedlldb/docs/use/formatting.rst
The file was addedlldb/include/lldb/Target/AssertFrameRecognizer.h
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/source/Target/StackFrameRecognizer.cpp
The file was modifiedlldb/source/API/SBThread.cpp
The file was addedlldb/test/Shell/Recognizer/Inputs/assert.c
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py
The file was addedlldb/test/Shell/Recognizer/assert.test
The file was modifiedlldb/include/lldb/Core/FormatEntity.h
The file was modifiedlldb/include/lldb/Target/Thread.h
The file was modifiedlldb/source/Target/CMakeLists.txt
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
The file was modifiedlldb/source/Core/FormatEntity.cpp
Commit dfa9420f09f940db8785e6bdb43b41678b7ba681 by arsenm2
AMDGPU/GlobalISel: Don't use legal v2s16 G_BUILD_VECTOR

If we have s_pack_* instructions, legalize this to
G_BUILD_VECTOR_TRUNC from s32 elements. This is closer to how how the
s_pack_* instructions really behave.

If we don't have s_pack_ instructions, expand this by creating a merge
to s32 and bitcasting. This expands to the expected bit operations. I
think this eventually should go in a new bitcast legalize action type
in LegalizerHelper.

We already directly emit the shift operations in RegBankSelect for the
vector case. This could possibly be cleaned up, but I also may want to
defer doing this expansion to selection anyway. I'll see about that
when I try to actually match VOP3P instructions.

This breaks the selection of the build_vector since tablegen doesn't
know how to match G_BUILD_VECTOR_TRUNC yet, so just xfail it for now.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector-trunc.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ffloor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptrunc.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-urem.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcmp.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-build-vector-trunc.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcos.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sub.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitreverse.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ctlz-zero-undef.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.buffer.load.format.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-flog10.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.tbuffer.load.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fma.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.load.2d.d16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ctpop.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcanonicalize.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz-zero-undef.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-build-vector.v2s16.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-srem.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-udiv.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-build-vector.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsqrt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fdiv.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sdiv.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fexp2.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fexp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-zext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext-inreg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-add.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ctlz.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-mul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsub.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bswap.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.load.format.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fadd.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.tbuffer.load.f16.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-build-vector.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-round.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-flog.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-icmp.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector.v2s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract.mir
Commit cc1cffbe097997da21ad6860b371dddbc922f228 by arsenm2
GlobalISel: Make LegalizerHelper primitives public

I want to re-use widenScalarDst/moreElementsVectorDst directly.
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
Commit 307e0d5490a5f2a069a00e4273784d1a2e005ab9 by arsenm2
AMDGPU/GlobalISel: Fix processing new phi in waterfall loop

The adjusted iterator range included the last we just inserted, and
don't want to process. Figure out the new iterator range before
inserting phis. This was a harmless problem, but added an unnecessary
complication for a future patch.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit b198f16e1e1c8ee849008c1b886199eae5bc2e01 by adam.balogh
[Analyzer] Model STL Algoirthms to improve the iterator checkers

STL Algorithms are usually implemented in a tricky for performance
reasons which is too complicated for the analyzer. Furthermore inlining
them is costly. Instead of inlining we should model their behavior
according to the specifications.

This patch is the first step towards STL Algorithm modeling. It models
all the `find()`-like functions in a simple way: the result is either
found or not. In the future it can be extended to only return success if
container modeling is also extended in a way the it keeps track of
trivial insertions and deletions.

Differential Revision: https://reviews.llvm.org/D70818
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
The file was modifiedclang/lib/StaticAnalyzer/Checkers/Iterator.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/IteratorModeling.cpp
The file was modifiedclang/test/Analysis/Inputs/system-header-simulator-cxx.h
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/Checkers.td
The file was modifiedclang/test/Analysis/analyzer-config.c
The file was addedclang/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp
The file was addedclang/test/Analysis/stl-algorithm-modeling.cpp
The file was addedclang/lib/StaticAnalyzer/Checkers/STLAlgorithmModeling.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/Iterator.cpp
Commit 748bb5a0f1964d20dfb3891b0948ab6c66236c70 by tejohnson
[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP

Summary:
Currently type test assume sequences inserted for devirtualization are
removed during WPD. This patch delays their removal until later in the
optimization pipeline. This is an enabler for upcoming enhancements to
indirect call promotion, for example streamlined promotion guard
sequences that compare against vtable address instead of the target
function, when there are small number of possible vtables (either
determined via WPD or by in-progress type profiling). We need the type
tests to correlate the callsites with the address point offset needed in
the compare sequence, and optionally to associated type summary info
computed during WPD.

This depends on work in D71913 to enable invocation of LowerTypeTests to
drop type test assume sequences, which will now be invoked following ICP
in the ThinLTO post-LTO link pipelines, and also after the existing
export phase LowerTypeTests invocation in regular LTO (which is already
after ICP). We cannot simply move the existing import phase
LowerTypeTests pass later in the ThinLTO post link pipelines, as the
comment in PassBuilder.cpp notes (it must run early because when
performing CFI other passes may disturb the sequences it looks for).

This necessitated adding a new type test resolution "Unknown" that we
can use on the type test assume sequences previously removed by WPD,
that we now want LTT to ignore.

Depends on D71913.

Reviewers: pcc, evgeny777

Subscribers: mehdi_amini, Prazek, hiraditya, steven_wu, dexonsmith, arphaman, davidxl, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D73242
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-vcp.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-single-impl.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/import-indir.ll
The file was modifiedllvm/test/Bitcode/summary_version.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/devirt-single-impl2.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-uniform-ret-val.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/branch-funnel.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-unique-ret-val.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/Other/new-pm-lto-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/uniform-retval.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndexYAML.h
The file was modifiedllvm/lib/Transforms/IPO/LowerTypeTests.cpp
Commit 69cc9f3046cedcebabe2293de0acba408d181eb4 by arsenm2
AMDGPU/GlobalISel: Legalize llvm.amdgcn.s.buffer.load

The 96-bit results need to be widened.

I find the interaction between LegalizerHelper and MIRBuilder somewhat
awkward. The custom legalization is called by the LegalizerHelper, but
then does not have access to the helper. You have to construct a new
helper, which then does not own the MachineIRBuilder, but does modify
it. Maybe custom legalization should be passed the helper?
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.s.buffer.load.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit 622ef91b18a86f022fa6fcfba88c6e0f01ff3acd by llvmgnsyncbot
[gn build] Port b198f16e1e1
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn
Commit 921d4e7c8d37352cbb67a421b78c3e5666597b94 by joker-eph
[MLIR][GPU] Fix build files for mlir-opt.

The recent refactoring of build files broke building with the MIR CUDA
integration enabled. This fixes it by adding some additional
dependencies to mlir-opt.

Differential Revision: https://reviews.llvm.org/D74041
The file was modifiedmlir/lib/Conversion/GPUToCUDA/CMakeLists.txt
The file was modifiedmlir/tools/mlir-opt/CMakeLists.txt
Commit 67904db23cf49a3465f1764d150a8123f5d2e163 by asbirlea
[IRCE] Make IRCE a Function pass.

Summary: Make InductiveRangeCheckElimination a FunctionPass.

Reviewers: reames, mkazantsev

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73592
The file was modifiedllvm/test/Transforms/IRCE/multiple-access-no-preloop.ll
The file was modifiedllvm/test/Transforms/IRCE/unsigned_comparisons_ugt.ll
The file was modifiedllvm/test/Transforms/IRCE/unhandled.ll
The file was modifiedllvm/test/Transforms/IRCE/pre_post_loops.ll
The file was modifiedllvm/test/Transforms/IRCE/not-likely-taken.ll
The file was modifiedllvm/test/Transforms/IRCE/stride_more_than_1.ll
The file was modifiedllvm/test/Transforms/IRCE/conjunctive-checks.ll
The file was modifiedllvm/include/llvm/Transforms/Scalar/InductiveRangeCheckElimination.h
The file was modifiedllvm/test/Transforms/IRCE/bad_expander.ll
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/test/Transforms/IRCE/decrementing-loop.ll
The file was modifiedllvm/test/Transforms/IRCE/only-upper-check.ll
The file was modifiedllvm/test/Transforms/IRCE/add-metadata-pre-post-loops.ll
The file was modifiedllvm/test/Transforms/IRCE/skip-profitability-checks.ll
The file was modifiedllvm/test/Transforms/IRCE/low-becount.ll
The file was modifiedllvm/test/Transforms/IRCE/eq_ne.ll
The file was modifiedllvm/test/Transforms/IRCE/bad-loop-structure.ll
The file was modifiedllvm/test/Transforms/IRCE/bug-loop-varying-upper-limit.ll
The file was modifiedllvm/test/Transforms/IRCE/range_intersect_miscompile.ll
The file was modifiedllvm/test/Transforms/IRCE/single-access-no-preloop.ll
The file was modifiedllvm/test/Transforms/IRCE/unsigned_comparisons_ult.ll
The file was modifiedllvm/test/Transforms/IRCE/correct-loop-info.ll
The file was modifiedllvm/test/Transforms/IRCE/bug-mismatched-types.ll
The file was modifiedllvm/test/Transforms/IRCE/ranges_of_different_types.ll
The file was modifiedllvm/test/Transforms/IRCE/rc-negative-bound.ll
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
The file was modifiedllvm/test/Transforms/IRCE/with-parent-loops.ll
The file was modifiedllvm/test/Transforms/IRCE/non_known_positive_end.ll
The file was modifiedllvm/test/Transforms/IRCE/only-lower-check.ll
The file was modifiedllvm/test/Transforms/IRCE/empty_ranges.ll
The file was modifiedllvm/test/Transforms/IRCE/wide_indvar.ll
The file was modifiedllvm/test/Transforms/IRCE/clamp.ll
The file was modifiedllvm/test/Transforms/IRCE/single-access-with-preloop.ll
Commit 4698bf145d583e26ed438026ef7fde031ef322b1 by kazu
Resubmit^2: [JumpThreading] Thread jumps through two basic blocks

This reverts commit 41784bed01543315a1d03141e6ddc023fd914c0b.

Since the original revision ead815924e6ebeaf02c31c37ebf7a560b5fdf67b,
this revision fixes three issues:

- This revision fixes the Windows build.  My original patch improperly
  copied EH pads on Windows.  This patch disregards jump threading
  opportunities having to do with EH pads.

- This revision fixes jump threading to a wrong destination.
  Specifically, my original patch treated any Constant other than 0 as 1
  while evaluating the branch condition.  This bug led to treating
  constant expressions like:

    icmp ugt i8* null, inttoptr (i64 4 to i8*)

  to "true".  This patch fixes the bug by calling isOneValue.

- This revision fixes the cost calculation of two basic blocks being
  threaded through.  Note that getJumpThreadDuplicationCost returns
  "(unsigned)~0" for those basic blocks that cannot be duplicated.  If
  we sum of two return values from getJumpThreadDuplicationCost, we
  could have an unsigned overflow like:

    (unsigned)~0 + 5 = 4

  and mistakenly determine that it's safe and profitable to proceed
  with the jump threading opportunity.  The patch fixes the bug by
  checking each return value before summing them up.

[JumpThreading] Thread jumps through two basic blocks

Summary:
This patch teaches JumpThreading.cpp to thread through two basic
blocks like:

  bb3:
    %var = phi i32* [ null, %bb1 ], [ @a, %bb2 ]
    %tobool = icmp eq i32 %cond, 0
    br i1 %tobool, label %bb4, label ...

  bb4:
    %cmp = icmp eq i32* %var, null
    br i1 %cmp, label bb5, label bb6

by duplicating basic blocks like bb3 above.  Once we duplicate bb3 as
bb3.dup and redirect edge bb2->bb3 to bb2->bb3.dup, we have:

  bb3:
    %var = phi i32* [ @a, %bb2 ]
    %tobool = icmp eq i32 %cond, 0
    br i1 %tobool, label %bb4, label ...

  bb3.dup:
    %var = phi i32* [ null, %bb1 ]
    %tobool = icmp eq i32 %cond, 0
    br i1 %tobool, label %bb4, label ...

  bb4:
    %cmp = icmp eq i32* %var, null
    br i1 %cmp, label bb5, label bb6

Then the existing code in JumpThreading.cpp can thread edge
bb3.dup->bb4 through bb4 and eventually create bb3.dup->bb5.

Reviewers: wmi

Subscribers: hiraditya, jfb, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70247
The file was addedllvm/test/Transforms/JumpThreading/thread-two-bbs5.ll
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
The file was modifiedllvm/include/llvm/Transforms/Scalar/JumpThreading.h
The file was addedllvm/test/Transforms/JumpThreading/thread-two-bbs3.ll
The file was addedllvm/test/Transforms/JumpThreading/thread-two-bbs4.ll
The file was addedllvm/test/Transforms/JumpThreading/thread-two-bbs1.ll
The file was addedllvm/test/Transforms/JumpThreading/thread-two-bbs2.ll
Commit 9f507bfd8d4761c619f21d8165b7e6e6e5bd09bd by rupprecht
NFC: fix unused var warnings in no-assert builds
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit ca1fd460f1f5bc4c200f557b63d69a93e3722175 by jbcoe
[clang-format] Do not treat C# attribute targets as labels

Summary: Merge '[', 'target' , ':' into a single token for C# attributes to
prevent the target from being seen as a label.

Reviewers: MyDeveloperDay, krasimir

Reviewed By: krasimir

Tags: #clang-format

Differential Revision: https://reviews.llvm.org/D74043
The file was modifiedclang/lib/Format/FormatTokenLexer.cpp
The file was modifiedclang/lib/Format/FormatTokenLexer.h
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp
Commit 096cd991ee90875603a9cacf3b460ac677258539 by Matthew.Arsenault
AMDGPU: Fix divergence analysis of control flow intrinsics

The mask results of these should be uniform. The trickier part is the
dummy booleans used as IR glue need to be treated as divergent. This
should make the divergence analysis results correct for the IR the DAG
is constructed from.

This should allow us to eliminate requiresUniformRegister, which has
an expensive, recursive scan over all users looking for control flow
intrinsics. This should avoid recent compile time regressions.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was addedllvm/test/Analysis/DivergenceAnalysis/AMDGPU/control-flow-intrinsics.ll
Commit dcab9736f01bc19a4d8011e04b6be46df5942791 by mgorny
[lldb] [test] Pass LLVM_LIBS_DIR from CMake for linking liblldb

Pass the correct library directory from CMake to dotest.py when linking
liblldb, instead of trying to reconstruct the path from executable path.
This fixes link failures on platforms having non-null
LLVM_LIBDIR_SUFFIX.

Differential Revision: https://reviews.llvm.org/D73767
The file was modifiedlldb/packages/Python/lldbsuite/test/configuration.py
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest_args.py
The file was modifiedlldb/test/API/lit.cfg.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/test/API/lit.site.cfg.py.in
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
Commit b70f23f5996d916f8ed4b870631a3b9075c12810 by yamauchi
[PGO][PGSO] Tune flags for profile guided size optimization.

Summary:
Tune the profile threshold flag value for instrumentation PGO based on internal
benchmarks.

Also, add flags to allow profile guided size optimizations for non-cold code
to be enabled separately for instrumentation and sample PGSO.

Neither changes the default behavior (yet) as it's disabled for non-cold code.

Reviewers: davidxl

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72937
The file was modifiedllvm/include/llvm/Transforms/Utils/SizeOpts.h
The file was modifiedllvm/lib/Transforms/Utils/SizeOpts.cpp
Commit f40a7972cb42e130c6e954f21acf9b66bf5bcad7 by jbcoe
[clang-format] Do not merge short C# class definitions into one line

Summary: Skip access specifiers before record definitions when deciding whether
or not to wrap lines so that C# class definitions do not get wrapped into a
single line.

Reviewers: krasimir, MyDeveloperDay

Reviewed By: krasimir

Tags: #clang-format

Differential Revision: https://reviews.llvm.org/D74050
The file was modifiedclang/lib/Format/UnwrappedLineFormatter.cpp
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp
Commit e65e6d052ed438843c1e8bc00524c766505966e3 by arsenm2
AMDGPU/GlobalISel: Legalize TFE image result loads

Rewrite the result register pair into the expected sinigle register
format in the legalizer.

I'm also operating under the assumption that TFE doesn't apply to
stores or atomics, but don't know if this is true or not.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.load.2d.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.load.2d.d16.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit a82a28ae12ae06e6ef1b8364f465e9ea5218fe8a by Jessica Paquette
[AArch64][GlobalISel] Fix one use check in getTestBitReg

(1) The check needs to be on the 0th operand of whatever we're folding
(2) Checks for validity should happen before we change the bit

Fixes a bug which caused MultiSource/Applications/JM/lencod to fail at -O3.

Differential Revision: https://reviews.llvm.org/D74002
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/opt-fold-shift-tbz-tbnz.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/opt-fold-ext-tbz-tbnz.mir
Commit 7bffa9728536740eef19bf1204c883e5f4638bce by arsenm2
AMDGPU/GlobalISel: Prefer merge/unmerge ops to legalize TFE

These have a better chance of combining with other operations and are
currently much better supported than G_EXTRACT.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.load.2d.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.load.2d.d16.ll
Commit 9986b88e64f30f5d958eef113bae4c8a098eea93 by phosek
[CMake] Filter libc++abi and libunwind from runtimes build in MSVC

These don't build on MSVC at the moment, so filter these out altogether
from the list of runtimes and print a warning.

Differential Revision: https://reviews.llvm.org/D73812
The file was modifiedllvm/runtimes/CMakeLists.txt
Commit b03f3fbd6a6b8843469865b16c9eb3af8adc2d3a by ctetreau
Reapply: [SVE] Fix bug in simplification of scalable vector instructions

This reverts commit a05441038a3a4a011b9421751367c5c797d57137, reapplying
commit 31574d38ac5fa4646cf01dd252a23e682402134f
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was addedllvm/test/Analysis/ConstantFolding/vscale-shufflevector.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was addedllvm/test/Analysis/ConstantFolding/vscale-getelementptr.ll
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit 292f7257118a6e270f93acb14dc6119588e9e427 by Jessica Paquette
[AArch64][GlobalISel] Fold G_ASHR into TB(N)Z bit calculation

This implements walking over G_ASHR in the same way as `getTestBitOperand` in
AArch64ISelLowering.

```
(tbz (ashr x, c), b) -> (tbz x, b+c) or (tbz x, msb) if b+c is > # bits in x
```

Differential Revision: https://reviews.llvm.org/D73933
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/opt-fold-shift-tbz-tbnz.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit fc62b36a000681c01e993242b583c5ec4ab48a3c by ndesaulniers
[llvm-reduce] add ReduceAttribute delta pass

Summary:
The output from llvm-reduce still has significantly more attributes than
bugpoint does.  Teach llvm-reduce to remove attributes.

Reviewers: diegotf, dblaikie, george.burgess.iv

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73853
The file was addedllvm/tools/llvm-reduce/deltas/ReduceAttributes.h
The file was modifiedllvm/tools/llvm-reduce/DeltaManager.h
The file was addedllvm/test/Reduce/remove-attributes.ll
The file was addedllvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp
The file was modifiedllvm/tools/llvm-reduce/CMakeLists.txt
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceInstructions.cpp
The file was addedllvm/test/Reduce/Inputs/remove-attributes.py
Commit d2182d6c2cf31c50dde5700e52dfc1ae8c0e8020 by llvmgnsyncbot
[gn build] Port fc62b36a000
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn
Commit ccc11a9f3099ce8c3eeae69c382e54ac3339f00b by Matthew.Arsenault
GlobalISel: Assume G_INTRINSIC* are convergent

This is safer in case anyone tries to run MI optimization passes on
pre-selected MIR. If there turns out to be a real reason to do this,
we might need to add separate convergent intrinsic opcodes.
The file was modifiedllvm/include/llvm/Target/GenericOpcodes.td
Commit 77519b60d99233ccea2622ea3e40b30018d2f228 by maskray
[test] yaml2obj -docnum => --docnum=
The file was modifiedlld/test/ELF/invalid/dynamic-section-broken.test
The file was modifiedlld/test/ELF/compressed-input-alignment.test
The file was modifiedlld/test/ELF/mips-fp-flags-err.test
The file was modifiedlld/test/ELF/invalid/symtab-sh-info.s
The file was modifiedlld/test/ELF/invalid/common-symbol-alignment.test
The file was modifiedlld/test/ELF/mips-elf-flags-err.test
The file was modifiedlldb/test/Shell/ObjectFile/wasm/unified-debug-sections.yaml
The file was modifiedlld/test/ELF/invalid/bad-reloc-target.test
Commit c1bcdb935a6b0f817109fde9b5e307fcaaab4b84 by riddleriver
[mlir][ODS] Add documentation for the declarative assembly format.

Summary: This details the structure of the format, it's requirements, and gives a few examples.

Differential Revision: https://reviews.llvm.org/D73983
The file was modifiedmlir/docs/OpDefinitions.md
Commit f64b3466b6bbea0422209ecaceecd361bb09ff87 by david.green
[ARM] Add extra use test for MVE VPT blocks. NFC
The file was addedllvm/test/CodeGen/Thumb2/mve-vpt-preuse.mir
Commit ce9633633c07045068d202cc225dbf2deb7e4e8b by scw
[GlobalISel][AArch64] Fix contract cross-bank copies with SIMD instructions

contractCrossBankCopyIntoStore() finds the instruction defines the
source register and uses its output to replace the register. There are,
however, instructions that have multiple outputs, e.g. G_UNMERGE_VALUES.
Current implementation hardcodes to operand 0 and has no way of knowing
which output should be used.

This change adds another function to directly return the register that
is the source of the register and use that for folding.

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

Differential Revision: https://reviews.llvm.org/D74005
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/Utils.h
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/contract-store.mir
Commit a9d5f8989d83dee1ed01b7f8eaaab89ad190116a by kostyak
[scudo][standalone] Fix a race in the secondary release

Summary:
I tried to move the `madvise` calls outside of one of the secondary
mutexes, but this backfired. There is situation when a low release
interval is set combined with secondary pressure that leads to a race:
a thread can get a block from the cache, while another thread is
`madvise`'ing that block, resulting in a null header.

I changed the secondary race test so that this situation would be
triggered, and moved the release into the cache mutex scope.

Reviewers: cferris, pcc, eugenis, hctim, morehouse

Subscribers: jfb, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D74072
The file was modifiedcompiler-rt/lib/scudo/standalone/secondary.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
Commit 3524755a1a25c18ecf47e50e5186232da0751cfe by Jan Korous
Revert "Activate extension loading test on Darwin now that the underlying fix has landed"

This reverts commit 058070893428a480b76a137f647ae6b9c89ac2d4.
The file was modifiedllvm/test/Feature/load_extension.ll
Commit 428583dd22fdc8f789390822e7b8ef4a5534721d by shafik
[DebugInfo] Fix debug-info generation for block invocations so that we set the LinkageName

Currently when generating debug-info for a BlockDecl we are setting the Name to the mangled name and not setting the LinkageName.
This means we see the mangled name for block invcations ends up in DW_AT_Name and not in DW_AT_linkage_name.

This patch fixes this case so that we also set the LinkageName as well.

Differential Revision: https://reviews.llvm.org/D73282
The file was addedclang/test/CodeGenCXX/debug-info-block-invocation-linkage-name.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit b12176d2aafa0ccb2585aa218fc3b454ba84f2a9 by thakis
Revert "[llvm-reduce] add ReduceAttribute delta pass"

This reverts commit fc62b36a000681c01e993242b583c5ec4ab48a3c.
Breaks tests on mac: http://45.33.8.238/mac/7301/step_11.txt
The file was removedllvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp
The file was removedllvm/tools/llvm-reduce/deltas/ReduceAttributes.h
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceInstructions.cpp
The file was removedllvm/test/Reduce/Inputs/remove-attributes.py
The file was removedllvm/test/Reduce/remove-attributes.ll
The file was modifiedllvm/tools/llvm-reduce/CMakeLists.txt
The file was modifiedllvm/tools/llvm-reduce/DeltaManager.h
Commit 4fb10be4b8010b333558cdcdd3e765e1f4a3c68d by llvmgnsyncbot
[gn build] Port b12176d2aaf
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn
Commit b3dd31711ab9f8bf250429a8de9767dffa9469ea by stephen.neuendorffer
[MLIR] Move test passes out of lib/Analysis

Summary:

This breaks a cyclic library dependency where MLIRPass used the verifier
in MLIRAnalysis, but MLIRAnalysis also contained passes used for testing.
The presence of the test passes here is archaeology, predating
test/lib/Transform.

Reviewers: rriddle

Reviewed By: rriddle

Subscribers: merge_guards_bot, mgorny, mehdi_amini, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74067
The file was addedmlir/lib/Transforms/OpStats.cpp
The file was removedmlir/lib/Analysis/MemRefBoundCheck.cpp
The file was addedmlir/test/lib/Transforms/TestMemRefDependenceCheck.cpp
The file was addedmlir/test/lib/Transforms/TestParallelismDetection.cpp
The file was removedmlir/lib/Analysis/TestParallelismDetection.cpp
The file was modifiedmlir/lib/Analysis/CMakeLists.txt
The file was removedmlir/lib/Analysis/OpStats.cpp
The file was modifiedmlir/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was removedmlir/lib/Analysis/TestMemRefDependenceCheck.cpp
The file was addedmlir/test/lib/Transforms/MemRefBoundCheck.cpp
Commit b692f43e424c1282c120d9a93a7eee58114a0f55 by stephen.neuendorffer
[MLIR] Rename MemRefBoundCheck.cpp -> TestMemRefBoundCheck.cpp

Summary:

This makes it consistent with other test passes.

Reviewers: rriddle

Reviewed By: rriddle

Subscribers: merge_guards_bot, mgorny, mehdi_amini, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, Joonsoo, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74068
The file was modifiedmlir/include/mlir/Analysis/Passes.h
The file was addedmlir/test/lib/Transforms/TestMemRefBoundCheck.cpp
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was removedmlir/test/lib/Transforms/MemRefBoundCheck.cpp
The file was modifiedmlir/test/Transforms/memref-bound-check.mlir
Commit 7b7e5058136bebf9bd55ed5d1b20e8a671302e28 by stephen.neuendorffer
[MLIR] Break cyclic dependencies with MLIRAnalysis

Summary:

MLIRAnalysis depended on MLIRVectorOps
MLIRVectorOps depended on MLIRAnalysis for Loop information.

Both of these can be solved by factoring out libraries related to loop
analysis into their own library. The new MLIRLoopAnalysis might be
better off with the Loop Dialect in the future.

Reviewers: nicolasvasilache, rriddle!, mehdi_amini

Reviewed By: mehdi_amini

Subscribers: Joonsoo, vchuravy, merge_guards_bot, mgorny, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73655
The file was modifiedmlir/lib/Dialect/VectorOps/CMakeLists.txt
The file was modifiedmlir/lib/Transforms/Utils/CMakeLists.txt
The file was modifiedmlir/lib/Analysis/CMakeLists.txt
Commit e5ba52dc8126f3d9c6282c361196b6bb0f82cc71 by ncv
[NFC][RISCV] Fixing typo in comment.

Reviewers: luismarques, lenary

Reviewed By: lenary

Subscribers: hiraditya, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73984
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
Commit 5aa6e246a1e44655a66581bc2ca6a20e3051e7e9 by arsenm2
AMDGPU/GlobalISel: Legalize f64 G_FFLOOR for SI

Use cmp ord instead of cmp_class compared to the DAG version for the
nan check, but mostly try to match the existsing pattern.

I think the sign doesn't matter for fract, so we could do a little
better with the source modifier matching.

I think this is also still broken as in D22898, but I'm leaving it
as-is for now while I don't have an SI system to test on.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptosi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptoui.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ffloor.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.s32.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/floor.f64.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.s64.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
Commit da45bd232165eab5d6ec4f1f4f18db8644289142 by amccarth
[VFS] More consistent support for Windows

Removed some #ifdefs specific to Windows handling of VFS paths.  This
eliminates most of the differences between the Windows and non-Windows
code paths.

Making this work required some changes to account for the fact that VFS
file paths can be Posix style or Windows style, so you cannot just assume
that they use the host's native path style.  In one case, this means
implementing our own version of make_absolute, since the filesystem code
in Support doesn't have styles in the sense that the path code does.

Differential Review: https://reviews.llvm.org/D71092
The file was modifiedclang/test/VFS/external-names.c
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
Commit 043e4787211609e987799050ba2944b77a53ddb5 by wei.huang
[PowerPC][NFC] Clang-format on commit 4b414d
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
The file was modifiedllvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
Commit 686a038ed8f96e5539c54fea28aedac63145cf71 by spatel
[Analysis] add query to get splat value from array of ints

I was debug stepping through an x86 shuffle lowering and
noticed we were doing an N^2 search for splat index. I
didn't find the equivalent functionality anywhere else in
LLVM, so here's a helper that takes an array of int and
returns a splatted index while ignoring undefs (any
negative value).

This might also be used inside existing
ShuffleVectorInst/ShuffleVectorSDNode functions and/or
help with D72467.

Differential Revision: https://reviews.llvm.org/D74064
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/unittests/Analysis/VectorUtilsTest.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
Commit 0a389c81cdbba9ddbd3c4d8848169c96c5d23069 by spatel
[x86] use getSplatIndex() in lowerShuffleAsBroadcast()

The old code was doing an N^2 search for splat index.

Differential Revision: https://reviews.llvm.org/D74064
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 364326ce66ed5cbcb7acc102d066215b69e45595 by arsenm2
AMDGPU/GlobalISel: Add mem operand to s.buffer.load intrinsic

Really the intrinsic definition is wrong, but work around this
here. The DAG lowering introduces an MMO. We have to introduce a new
operation to avoid the verifier complaining about the missing mayLoad.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.s.buffer.load.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn-s-buffer-load.mir
Commit 6c4a8bc0a9f6a466d90d542bef66d69550c1b041 by hans
Make llvm::crc32() work also for input sizes larger than 32 bits.

The problem was noticed by the Chrome OS toolchain folks
(crbug.com/1048445) because llvm-objcopy --add-gnu-debuglink would
insert the wrong checksum when processing a binary larger than 4 GB.
That use case regressed in 1e1e3ba2526 when we started using
llvm::crc32() in more places.

Differential revision: https://reviews.llvm.org/D74039
The file was modifiedllvm/lib/Support/CRC.cpp
The file was modifiedllvm/unittests/Support/CRCTest.cpp
Commit 2697e8bc1e63d48fca2094f136d8ec98ff020b83 by jpienaar
[mlir] Update generic op ebnf to include region

Summary: Optional regions are supported in the generic op print/parse form, update the docs to match.

Differential Revision: https://reviews.llvm.org/D74061
The file was modifiedmlir/docs/LangRef.md
The file was modifiedmlir/lib/Parser/Parser.cpp
Commit ad9ae6ee2b3c697a953321eeedb3ab0d0c922864 by aqjune
MemCpyOpt cannot use ABI alignment even if it was not given

Summary: This patch fixes https://bugs.llvm.org/show_bug.cgi?id=44388 which incorrectly assigns an ABI alignment to memset when there was no explicit alignment given.

Reviewers: gchatelet, lenary, nikic

Reviewed By: nikic

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74083
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
The file was modifiedllvm/test/Transforms/MemCpyOpt/form-memset.ll
Commit baafe82b07ade3fff4f2685199870b67083a17d5 by arsenm2
AMDGPU/GlobalISel: Remove bitcast legality hack
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-bitcast.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.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
Commit c6bdd8e73110e14dc54833137cecef9c07d2dc24 by craig.topper
[X86] Improve the gather scheduler models for SkylakeClient and SkylakeServer

The load ports need a cycle for each potentially loaded element just like Haswell and Skylake. Unlike Haswell and Broadwell, the number of uops does not scale with the number of elements. Instead the load uops run for multiple cycles.

I've taken the latency number from the uops.info. The port binding for the non-load uops is taken from the original IACA data I have.

Differential Revision: https://reviews.llvm.org/D74000
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/resources-avx512vl.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512vl.s
The file was modifiedllvm/lib/Target/X86/X86SchedSkylakeServer.td
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/resources-avx512.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeClient/resources-avx2.s
The file was modifiedllvm/lib/Target/X86/X86SchedSkylakeClient.td
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx2.s
Commit 5687acf431de4f6a156b2f6906eb4eb503ac70ce by aqjune
[MemCpyOpt] Simplify find*Alignment
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
Commit 4a3760d2ba3026d45f44fe127ac2909371d5ee19 by paulsson
[SystemZ]  Improve handling of inline asm constraints.

The "{=v0}" constraint did not result in the expected error message in the
abscence of the vector facility, because 'v0' matches as a string into the
AnyRegBitRegClass in common code.

This patch adds checks for vector support in case of "{v" and soft-float in
case of "{f" to remedy this.

Review: Ulrich Weigand.
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was addedllvm/test/CodeGen/SystemZ/soft-float-inline-asm-04.ll
Commit 5461fa2b1fcfcfcd8e28e3ac3383d2245d5d90bf by maskray
[ELF][ARM] Fix regression of BL->BLX substitution after D73542

D73542 made a typo (`rel.type == R_PLT_PC`; should be `rel.expr`) and introduced a regression:
BL->BLX substitution was disabled when the target symbol is preemptible
(expr is R_PLT_PC).

The two added bl instructions in arm-thumb-interwork-shared.s check that
we patch BL to BLX.

Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=1047531
The file was modifiedlld/ELF/Arch/ARM.cpp
The file was modifiedlld/test/ELF/arm-thumb-interwork-shared.s
Commit a4b590dd397a2798d4f83abe5a5fd9ddd3d31b4f by dblaikie
DebugInfo: Stabilize DW_OP_convert tests so they don't depend on register allocation, etc
The file was modifiedllvm/test/DebugInfo/X86/convert-linked.ll
The file was modifiedllvm/test/DebugInfo/X86/convert-debugloc.ll
Commit 9087ef0765538499c11a44ee93b0806b38e6c52f by arsenm2
GlobalISel: Allow CSE of G_IMPLICIT_DEF

The legalizer produces a lot of these, and they make reading legalized
MIR annoying. For some reason, this does seem to sometimes introduce
copies of implicit def, which is dumb.
The file was modifiedllvm/lib/CodeGen/GlobalISel/CSEInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_ps.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fadd.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-select.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-xor.mir
The file was modifiedllvm/unittests/CodeGen/GlobalISel/CSETest.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-phi.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-undef.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fdiv.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fpext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fma.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-undef.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-cmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsqrt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-round.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-or.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-and.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fabs.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/function-returns.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcos.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-insert.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ffloor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smax.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsub.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-merge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-struct-return-intrinsics.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcanonicalize.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fneg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
Commit 89b7091c28ad7879aea5d463930f54e7a9ba236e by arsenm2
AMDGPU: Make LDS_DIRECT an artifical register
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.td
Commit 3ec28da6d6430a00b46780555a87acd43fcab790 by dschuff
[LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging

Add a dynamic loader plug-in class for WebAssembly modules.

Differential Revision: https://reviews.llvm.org/D72751
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_sym.yaml
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWasm.py
The file was modifiedlldb/test/Shell/ObjectFile/wasm/unified-debug-sections.yaml
The file was modifiedlldb/source/Plugins/DynamicLoader/CMakeLists.txt
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_wasm_external_debug_sections.yaml
The file was modifiedlldb/test/Shell/ObjectFile/wasm/embedded-debug-sections.yaml
The file was modifiedlldb/test/Shell/ObjectFile/wasm/stripped-debug-sections.yaml
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.h
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_wasm_embedded_debug_sections.yaml
The file was modifiedlldb/test/Shell/ObjectFile/wasm/basic.yaml
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
Commit 6dccad7517f83a069d9bfbf761b648b0e50870c2 by Jonas Devlieghere
[lldb/Reproducers] (De)serialize char* like const char*

The current implementation has a discrepancy between how char pointers
are serialized and deserialized. The latter treats it like a const char*
while the former serializes it as a pointer to a basic type.

Both are potentially wrong, as char pointers are mostly used in
combination with a size, and nothing guarantees that the string's length
(its first null byte to be more precise) is greater or equal to its
size. The real solution is to have a custom (de)serializer that uses
both pieces of infromation.

However, the implementation should be consistent between serialization
and deserialization and I believe treating char* as const char* is the
better alternative.
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
Commit fefff970321a4fe0b717f3679e291bd53ee82ef6 by Jonas Devlieghere
[lldb/debugserver] Link against Security
The file was modifiedlldb/tools/debugserver/source/CMakeLists.txt
Commit 5c15e8e682e365b3a7fcf35200df79f3fb93b924 by Jonas Devlieghere
[lldb/CMake] Remove non-existing wasm-DYLD subdir
The file was modifiedlldb/source/Plugins/DynamicLoader/CMakeLists.txt
Commit 96ea377ea4d6d8cb304a2f5ad69fd33fd1fade6f by paulsson
[PHIElimination]  Compile time optimization for huge functions.

This is a compile-time optimization for PHIElimination (splitting of critical
edges), which was reported at https://bugs.llvm.org/show_bug.cgi?id=44249. As
discussed there, the way to remedy the slowdowns with huge functions is to
pre-compute the live-in registers for each MBB in an efficient way in
PHIElimination.cpp and then pass that information along to
LiveVariabless::addNewBlock().

In all the huge test programs where this slowdown has been noticable, it has
dissapeared entirely with this patch.

Review: Björn Pettersson, Quentin Colombet.

Differential Revision: https://reviews.llvm.org/D73152
The file was modifiedllvm/include/llvm/CodeGen/MachineBasicBlock.h
The file was modifiedllvm/include/llvm/CodeGen/LiveVariables.h
The file was modifiedllvm/lib/CodeGen/PHIElimination.cpp
The file was modifiedllvm/lib/CodeGen/LiveVariables.cpp
The file was modifiedllvm/lib/CodeGen/MachineBasicBlock.cpp
Commit 7212f65784c12cd2e01c909b43e2c4c597637195 by Jessica Paquette
[AArch64][GlobalISel] Fold G_LSHR into test bit calculation

Add support for walking through G_LSHR in `getTestBitReg`. Equivalent to the
code in `getTestBitOperand` in AArch64ISelLowering.

```
(tbz (lshr x, c), b) -> (tbz x, b+c) when b + c is < # bits in x
```

Differential Revision: https://reviews.llvm.org/D74077
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/opt-fold-shift-tbz-tbnz.mir
Commit bab993451e74af688bafb8806768a34882f6b66e by Jessica Paquette
[AArch64][GlobalISel][NFC] Factor out TB(N)Z emission code into its own function

Factor it out into `emitTestBit` and add some asserts to the new function.

This will be useful for implementing TB(N)Z emission for SLT/SGT compares.

Differential Revision: https://reviews.llvm.org/D74080
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit 42c906bceffaadeb704f2629d21f33aece831bc6 by medismail.bennani
[lldb/API] Fix non null-terminated stop-reason in SBThread::GetStopDescription

When trying to get the stop reason description using the SB API, the
buffer fetched was not null-terminated causing failures on the sanitized bot.

This patch should address those failures.

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/API/SBThread.cpp
Commit a3738414072900ace9cbbe209d0195a3443d1d54 by Jessica Paquette
[AArch64][GlobalISel] Emit TBNZ with G_BRCOND where the condition is SLT

When we have a G_ICMP which checks SLT, and the comparison is against 0, we
can emit a TBNZ instead of a CBZ.

This lets us fold in things into the branch, which can provide some code size
savings.

This is similar to the case in `AArch64TargetLowering::LowerBR_CC`.

https://reviews.llvm.org/D74090
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/tbnz-slt.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit 4697e701b8cb40429818609814c7422e49b2ee07 by Jonas Devlieghere
Partially revert "[LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging"

This temporarily and partially reverts 3ec28da6d643 because it's missing
a directory.
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWasm.py
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
Commit 7464e8d6ad3c614f739c770896eb6a0564d9feb8 by arsenm2
GlobalISel: Remove check for illegal MIR

The verifier will catch this.
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit a62586846fa90054bd9224912b07095d2fca662c by 31459023+hctim
[GWP-ASan] Crash Handler API.

Summary:
Forewarning: This patch looks big in #LOC changed. I promise it's not that bad, it just moves a lot of content from one file to another. I've gone ahead and left inline comments on Phabricator for sections where this has happened.

This patch:
1. Introduces the crash handler API (crash_handler_api.h).
2. Moves information required for out-of-process crash handling into an AllocatorState. This is a trivially-copied POD struct that designed to be recovered from a deceased process, and used by the crash handler to create a GWP-ASan report (along with the other trivially-copied Metadata struct).
3. Implements the crash handler API using the AllocatorState and Metadata.
4. Adds tests for the crash handler.
5. Reimplements the (now optionally linked by the supporting allocator) in-process crash handler (i.e. the segv handler) using the new crash handler API.
6. Minor updates Scudo & Scudo Standalone to fix compatibility.
7. Changed capitalisation of errors (e.g. /s/Use after free/Use After Free).

Reviewers: cryptoad, eugenis, jfb

Reviewed By: eugenis

Subscribers: merge_guards_bot, pcc, jfb, dexonsmith, mgorny, cryptoad, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D73557
The file was modifiedcompiler-rt/test/gwp_asan/use_after_free.cpp
The file was modifiedcompiler-rt/lib/scudo/scudo_allocator.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
The file was modifiedcompiler-rt/test/gwp_asan/use_after_deletea.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/optional/options_parser.cpp
The file was addedcompiler-rt/lib/gwp_asan/utilities.h
The file was addedcompiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
The file was addedcompiler-rt/lib/gwp_asan/common.cpp
The file was addedcompiler-rt/lib/gwp_asan/crash_handler.h
The file was modifiedcompiler-rt/lib/gwp_asan/tests/harness.h
The file was modifiedcompiler-rt/lib/gwp_asan/random.cpp
The file was addedcompiler-rt/lib/gwp_asan/crash_handler.cpp
The file was addedcompiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/CMakeLists.txt
The file was modifiedcompiler-rt/test/gwp_asan/invalid_free_right.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/optional/backtrace_linux_libc.cpp
The file was modifiedcompiler-rt/lib/scudo/CMakeLists.txt
The file was modifiedcompiler-rt/lib/gwp_asan/optional/backtrace_sanitizer_common.cpp
The file was addedcompiler-rt/lib/gwp_asan/optional/segv_handler.h
The file was modifiedcompiler-rt/test/gwp_asan/invalid_free_left.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/CMakeLists.txt
The file was modifiedcompiler-rt/test/gwp_asan/realloc.cpp
The file was addedcompiler-rt/lib/gwp_asan/tests/crash_handler_api.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
The file was modifiedcompiler-rt/test/gwp_asan/heap_buffer_overflow.cpp
The file was modifiedcompiler-rt/test/gwp_asan/double_delete.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp
The file was addedcompiler-rt/lib/gwp_asan/platform_specific/common_posix.cpp
The file was modifiedcompiler-rt/test/gwp_asan/double_free.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/thread_contention.cpp
The file was modifiedcompiler-rt/test/gwp_asan/heap_buffer_underflow.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/optional/printf_sanitizer_common.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/options.h
The file was addedcompiler-rt/lib/gwp_asan/common.h
The file was modifiedcompiler-rt/lib/gwp_asan/options.inc
The file was modifiedcompiler-rt/lib/gwp_asan/tests/basic.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/CMakeLists.txt
The file was modifiedcompiler-rt/lib/gwp_asan/tests/backtrace.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/guarded_pool_allocator.h
The file was modifiedcompiler-rt/lib/gwp_asan/optional/backtrace.h
The file was modifiedcompiler-rt/test/gwp_asan/double_deletea.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
The file was modifiedcompiler-rt/test/gwp_asan/use_after_delete.cpp
Commit 801857c59ea647442b1302139169ec37f81d8cce by huihuiz
[ConstantFold][SVE] Fix constant folding for bitcast.

Do not iterate on scalable vector type in BitCastConstantVector.
Continuation work of D70985, D71147.

Support for folding bitcast into splat value is kept in D74095, as
it depends on D71637.

Differential Revision: https://reviews.llvm.org/D71389
The file was addedllvm/test/Analysis/ConstantFolding/bitcast.ll
The file was modifiedllvm/lib/IR/ConstantFold.cpp
Commit 3ce8095c295e6a9ef7c946ad8c035a8b5a392ec1 by andydavis
[mlir][VectorOps] Add ShapeCastOp to the vector ops dialect.

Summary:
Add ShapeCastOp to the vector ops dialect.

The shape_cast operation casts between an n-D source vector shape and a k-D result vector shape (the element type remains the same).

Reviewers: nicolasvasilache, aartbik

Reviewed By: nicolasvasilache

Subscribers: Joonsoo, merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, liufengdb, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73635
The file was modifiedmlir/include/mlir/Dialect/VectorOps/VectorOps.td
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
The file was modifiedmlir/test/Dialect/VectorOps/ops.mlir
The file was modifiedmlir/test/Dialect/VectorOps/invalid.mlir
Commit f5f70d1c8fbf12249b4b9598f10a10f12d4db029 by dschuff
Add missing directory from 3ec28da6

Also revert 4697e701b8, restoring the original patch from
https://reviews.llvm.org/D72751
The file was addedlldb/source/Plugins/DynamicLoader/wasm-DYLD/CMakeLists.txt
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was addedlldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.cpp
The file was addedlldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.h
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWasm.py
The file was modifiedlldb/source/Plugins/DynamicLoader/CMakeLists.txt
Commit 5f1e45fd6764f9e31de1c9d6d7581645eea0c696 by labath
[lldb] pass --lldb-libs-dir argument to lldb-dotest

This argument was introduced in dcab9736f, but lldb-dotest was not handled.
The file was modifiedlldb/utils/lldb-dotest/lldb-dotest.in
The file was modifiedlldb/utils/lldb-dotest/CMakeLists.txt
Commit 98b273c893b2c218c56fe5c03cbb6f082cce008c by labath
Revert "[lldb/Target] Add Assert StackFrame Recognizer"

This reverts commit 2b7f32892b76cdfbe075300a5bf4a52e1b674bc7 because of test
failures due to dangling pointers.
The file was modifiedlldb/source/API/SBThread.cpp
The file was modifiedlldb/source/Target/StackFrameRecognizer.cpp
The file was modifiedlldb/source/Target/CMakeLists.txt
The file was removedlldb/test/Shell/Recognizer/assert.test
The file was modifiedlldb/source/Core/FormatEntity.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was removedlldb/source/Target/AssertFrameRecognizer.cpp
The file was modifiedlldb/include/lldb/Core/FormatEntity.h
The file was removedlldb/test/Shell/Recognizer/Inputs/assert.c
The file was modifiedlldb/include/lldb/Target/Thread.h
The file was modifiedlldb/source/Target/Thread.cpp
The file was removedlldb/include/lldb/Target/AssertFrameRecognizer.h
The file was modifiedlldb/docs/use/formatting.rst
The file was modifiedlldb/include/lldb/Target/StackFrameRecognizer.h
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py
The file was modifiedlldb/source/Target/Process.cpp
Commit e4f4a6c0f5bbda5dc0b922816b3fdfce4b75f404 by xazax
[analyzer] Prevent an assertion failure in PThreadLockChecker

When the implementations of the locking functions are available.

Differential Revision: https://reviews.llvm.org/D74003
The file was modifiedclang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
The file was addedclang/test/Analysis/fuchsia_lock_impl.c
Commit 64871f778d528b34aabeae6286711a61ad9ea7ee by andydavis
[mlir] Adds affine loop fusion transformation function to LoopFusionUtils.

Summary:
Adds affine loop fusion transformation function to LoopFusionUtils.
Updates TestLoopFusion utility to run loop fusion transformation until a fixed point is reached.
Adds unit tests to test the transformation.

Reviewers: bondhugula, dcaballe, nicolasvasilache

Reviewed By: bondhugula, dcaballe

Subscribers: Joonsoo, merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73190
The file was modifiedmlir/lib/Transforms/Utils/LoopFusionUtils.cpp
The file was addedmlir/test/Transforms/loop-fusion-transformation.mlir
The file was modifiedmlir/include/mlir/Transforms/LoopFusionUtils.h
The file was modifiedmlir/test/lib/Transforms/TestLoopFusion.cpp
Commit 5389ca7a1fb3b760013c1c5e53768f570a5e53f7 by huihuiz
[ConstantFold][NFC] Move scalable vector unit tests under vscale.ll
The file was modifiedllvm/test/Analysis/ConstantFolding/vscale.ll
The file was removedllvm/test/Analysis/ConstantFolding/shufflevector.ll
The file was removedllvm/test/Analysis/ConstantFolding/bitcast.ll
The file was removedllvm/test/Analysis/ConstantFolding/insertelement.ll
Commit 97edc0dc9355be8771c3b6ae4efe19b23664d06d by Jonas Devlieghere
[lldb/Test] Mark heap-cstr.test as requiring Python
The file was modifiedlldb/test/Shell/Heap/heap-cstr.test
Commit 014ea9337624fe20aca8892e73b6b3f741d8da9e by labath
[lldb] Remove "print xml" from TestWasm.py

It's not py3 compatible, and the test should not be printing this to stdout
(unless in --trace mode) anyway.
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWasm.py
Commit 643dee903cebdfc5e0101d305add6a5235211465 by xazax
[analyzer] Move fuchsia.Lock checker to alpha

Differential Revision: https://reviews.llvm.org/D74004
The file was modifiedclang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
The file was modifiedclang/test/Analysis/fuchsia_lock_impl.c
The file was modifiedclang/test/Analysis/fuchsia_lock.c
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/Checkers.td
Commit f9efce1dd5ceef7ed594f42d207b13bb6c9f1b6e by andydavis
[mlir][VectorOps] Support vector transfer_read/write unrolling for memrefs with vector element type.

Summary:
[mlir][VectorOps] Support vector transfer_read/write unrolling for memrefs with vector element type.  When unrolling vector transfer read/write on memrefs with vector element type, the indices used to index the memref argument must be updated to reflect the unrolled operation.   However, in the case of memrefs with vector element type, we need to be careful to only update the relevant memref indices.

For example, a vector transfer read with the following source/result types, memref<6x2x1xvector<2x4xf32>>, vector<2x1x2x4xf32>, should only update memref indices 1 and 2 during unrolling.

Reviewers: nicolasvasilache, aartbik

Reviewed By: nicolasvasilache, aartbik

Subscribers: lebedev.ri, Joonsoo, merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, liufengdb, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72965
The file was modifiedmlir/test/Dialect/VectorOps/vector-transforms.mlir
The file was modifiedmlir/lib/Dialect/VectorOps/VectorTransforms.cpp
Commit 40efa65de804b42e14356fc8fcfaa79d9dbcdb02 by labath
Revert "[LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging"

This patch has a couple of outstanding issues. The test is not python3
compatible, and it also seems to fail with python2 (at least under some
circumstances) due to an overambitious assertion.

This reverts the patch as well as subsequent fixup attempts:
014ea9337624fe20aca8892e73b6b3f741d8da9e,
f5f70d1c8fbf12249b4b9598f10a10f12d4db029.
4697e701b8cb40429818609814c7422e49b2ee07.
5c15e8e682e365b3a7fcf35200df79f3fb93b924.
3ec28da6d6430a00b46780555a87acd43fcab790.
The file was modifiedlldb/test/Shell/ObjectFile/wasm/unified-debug-sections.yaml
The file was modifiedlldb/test/Shell/ObjectFile/wasm/basic.yaml
The file was removedlldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.cpp
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/test/Shell/ObjectFile/wasm/stripped-debug-sections.yaml
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_sym.yaml
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWasm.py
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.h
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was removedlldb/source/Plugins/DynamicLoader/wasm-DYLD/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/CMakeLists.txt
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_wasm_embedded_debug_sections.yaml
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_wasm_external_debug_sections.yaml
The file was removedlldb/source/Plugins/DynamicLoader/wasm-DYLD/Dyna