AbortedChanges

Summary

  1. [mlir][ODS] Add documentation for the declarative assembly format. (details)
  2. [ARM] Add extra use test for MVE VPT blocks. NFC (details)
  3. [GlobalISel][AArch64] Fix contract cross-bank copies with SIMD instructions (details)
  4. [scudo][standalone] Fix a race in the secondary release (details)
  5. Revert "Activate extension loading test on Darwin now that the underlying fix has landed" (details)
  6. [DebugInfo] Fix debug-info generation for block invocations so that we set the LinkageName (details)
  7. Revert "[llvm-reduce] add ReduceAttribute delta pass" (details)
  8. [gn build] Port b12176d2aaf (details)
  9. [MLIR] Move test passes out of lib/Analysis (details)
  10. [MLIR] Rename MemRefBoundCheck.cpp -> TestMemRefBoundCheck.cpp (details)
  11. [MLIR] Break cyclic dependencies with MLIRAnalysis (details)
  12. [NFC][RISCV] Fixing typo in comment. (details)
  13. AMDGPU/GlobalISel: Legalize f64 G_FFLOOR for SI (details)
  14. [VFS] More consistent support for Windows (details)
  15. [PowerPC][NFC] Clang-format on commit 4b414d (details)
  16. [Analysis] add query to get splat value from array of ints (details)
  17. [x86] use getSplatIndex() in lowerShuffleAsBroadcast() (details)
  18. AMDGPU/GlobalISel: Add mem operand to s.buffer.load intrinsic (details)
  19. Make llvm::crc32() work also for input sizes larger than 32 bits. (details)
  20. [mlir] Update generic op ebnf to include region (details)
  21. MemCpyOpt cannot use ABI alignment even if it was not given (details)
  22. AMDGPU/GlobalISel: Remove bitcast legality hack (details)
  23. [X86] Improve the gather scheduler models for SkylakeClient and SkylakeServer (details)
  24. [MemCpyOpt] Simplify find*Alignment (details)
  25. [SystemZ]  Improve handling of inline asm constraints. (details)
  26. [ELF][ARM] Fix regression of BL->BLX substitution after D73542 (details)
  27. DebugInfo: Stabilize DW_OP_convert tests so they don't depend on register allocation, etc (details)
  28. GlobalISel: Allow CSE of G_IMPLICIT_DEF (details)
  29. AMDGPU: Make LDS_DIRECT an artifical register (details)
  30. [LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging (details)
  31. [lldb/Reproducers] (De)serialize char* like const char* (details)
  32. [lldb/debugserver] Link against Security (details)
  33. [lldb/CMake] Remove non-existing wasm-DYLD subdir (details)
  34. [PHIElimination]  Compile time optimization for huge functions. (details)
  35. [AArch64][GlobalISel] Fold G_LSHR into test bit calculation (details)
  36. [AArch64][GlobalISel][NFC] Factor out TB(N)Z emission code into its own function (details)
  37. [lldb/API] Fix non null-terminated stop-reason in SBThread::GetStopDescription (details)
  38. [AArch64][GlobalISel] Emit TBNZ with G_BRCOND where the condition is SLT (details)
  39. Partially revert "[LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging" (details)
  40. GlobalISel: Remove check for illegal MIR (details)
  41. [GWP-ASan] Crash Handler API. (details)
  42. [ConstantFold][SVE] Fix constant folding for bitcast. (details)
  43. [mlir][VectorOps] Add ShapeCastOp to the vector ops dialect. (details)
  44. Add missing directory from 3ec28da6 (details)
  45. [lldb] pass --lldb-libs-dir argument to lldb-dotest (details)
  46. Revert "[lldb/Target] Add Assert StackFrame Recognizer" (details)
  47. [analyzer] Prevent an assertion failure in PThreadLockChecker (details)
  48. [mlir] Adds affine loop fusion transformation function to LoopFusionUtils. (details)
  49. [ConstantFold][NFC] Move scalable vector unit tests under vscale.ll (details)
  50. [lldb/Test] Mark heap-cstr.test as requiring Python (details)
  51. [lldb] Remove "print xml" from TestWasm.py (details)
  52. [analyzer] Move fuchsia.Lock checker to alpha (details)
  53. [mlir][VectorOps] Support vector transfer_read/write unrolling for memrefs with vector element type. (details)
  54. Revert "[LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging" (details)
  55. [GWP-ASan] Change crash handler constant. (details)
  56. [mlir] [VectorOps] generalized vector.contract semantics (details)
  57. [GWP-ASan] Fix unused variables from crash handler + clang-format (details)
  58. [mlir] Register the GDB listener with ExecutionEngine to enable debugging JIT'd code (details)
  59. [mlir] Add support for basic location translation to LLVM. (details)
  60. [CMake] Link against ZLIB::ZLIB (details)
  61. [mlir] Add explicit friendship to LLVM::ModuleTranslation to derived (details)
  62. Two more small fixes for debugserver attach failure messaging. (details)
  63. Revert "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP" (details)
  64. [lldb/Reproducers] Implement custom replayers for (char *, size_t) (details)
  65. Compile-fix after StringRef's conversion operator has been made explicit. (details)
  66. [lldb/DWARF] Don't assume that a SymbolFileDWARFDwo contains one compile unit (details)
  67. [mlir] Build fix for mlir-opt (details)
  68. [lldb/Reproducers] Serialize empty string for char* methods. (details)
  69. [clangd] Add a flag for spelled references in the Index (details)
  70. Fix build after D72746 (details)
  71. [LLDB] Fix compilation with GCC 5 (details)
  72. Fix some typos in ArrayRef.h (details)
  73. [SYCL][Driver] Add clang driver option to enable SYCL compilation mode (details)
  74. [yaml2obj] - Change NameIndex to StName for Symbol. (details)
  75. [yaml2obj] Refactor command line parsing (details)
  76. Fix lld test after D74034 (details)
  77. [NFC] Fix error handling documentation (details)
  78. [ARM] Fix non-determenistic behaviour (details)
  79. [llvm-readobj][test] Fix test after yaml2obj change (D74034) (details)
  80. [mlir] Add AffineMaxOp (details)
  81. [IRCE] Use SCEVExpander to modify loop bound (details)
  82. [clangd] Filter out implicit references while renaming (details)
  83. Fix build after D74112 (details)
  84. [ADT] Fix iplist_impl - use after move warnings (PR43943) (details)
  85. [llvm-exegesis] Improve error reporting (details)
  86. [llvm-exegesis] Improve error reporting in Target.cpp (details)
  87. StringRef.h: __builtin_strlen seems to exist in VS 2017 MSVC 19.16 or later (details)
  88. Try to fix ilist.h after 529e6f8791b6 (details)
  89. Revert "[llvm-exegesis] Improve error reporting" and follow-up. (details)
  90. [LLD][ELF] Add time-trace to ELF LLD (details)
  91. [llvm-exegesis] Document `repetition-mode`. (details)
  92. [lldb] Add test for calling const functions (details)
  93. [lldb][NFC] Move call-overidden-method test to lang/cpp/ folder (details)
  94. [clang][driver][ARM] Clean up ARM target & feature checking in clang driver. (details)
  95. [ReachingDefs] Make isSafeToMove more strict. (details)
  96. [RDA] getInstFromId: find instructions. NFC. (details)
  97. [ARM] peephole-bitcast test change. NFC. (details)
  98. [clangd] don't rename on protobuf symbols. (details)
  99. Revert "[SafeStack][DebugInfo] Insert DW_OP_deref in correct location" (details)
  100. Revert "[DebugInfo][DAG] Distinguish different kinds of location indirection" (details)
  101. Revert "[DebugInfo] Remove some users of DBG_VALUEs IsIndirect field" (details)
  102. [doc] typo in optimisation remark example (details)
  103. [OpenCL] Reduce size of builtin function tables (details)
  104. [clangd] Set "spelled" flag for constructor references. (details)
  105. Revert "[CMake] Passthrough CMAKE_SYSTEM_NAME to default builtin and runtimes target" (details)
  106. Revert "[mlir] Adds affine loop fusion transformation function to LoopFusionUtils." (details)
  107. [ARM][MVE] Add fixed point vector conversion intrinsics (details)
  108. [mlir-tblgen] Stop leaking PredNodes (details)
  109. [AIX] Implement caller arguments passed in stack memory. (details)
  110. Fix warning on unused variables. NFC. (details)
  111. [lldb/Target] Add Assert StackFrame Recognizer (details)
  112. scudo: Delete unused class ScudoByteMap. NFCI. (details)
  113. AMDGPU/GlobalISel: Avoid handling registers twice in waterfall loops (details)
  114. [lldb] Remove reset(nullptr_t) overload from SharingPtr (details)
  115. [GWP-ASan] Fix PRNG to use IE TLS. (details)
  116. [X86] Remove SETB_C8r/SETB_C16r pseudo instructions. Use SETB_C32r and EXTRACT_SUBREG instead. (details)
  117. [ubsan] Omit return value check when return block is unreachable (details)
  118. [lldb/tests] Correctly configure the lldb dotest arguments (details)
  119. [PGO][PGSO] Enable profile guided size optimization for non-cold code under instrumentation PGO. (details)
  120. [GWP-ASan] Use weak abort message definition. (details)
  121. [X86] Custom isel floating point X86ISD::CMP on pre-CMOV targets. Eliminate ConvertCmpIfNecessary (details)
  122. [lldb/Target] Remove extra semicolon in AssertFrameRecognizer (NFC) (details)
  123. [lldb] Explicitly qualify calls to std::static_pointer_cast (details)
  124. [lldb] [NFC] Refactor GetDWARFDeclContext to return DWARFDeclContext (details)
  125. [FPEnv][X86] Platform-specific builtin constrained FP enablement (details)
  126. [MC][ELF] Rename MC related "Associated" to "LinkedToSym" (details)
  127. [GlobalISel] Legalize more G_FP(EXT|TRUNC) libcalls. (details)
  128. AMDGPU: Add compile time hack for hasCFUser (details)
  129. [AArch64][GlobalISel] Emit TBZ for SGT cond branches against -1 (details)
  130. [clang][driver] Clean up unnecessary reference to TC. NFC. (details)
  131. PR44684: Look through parens and similar constructs when determining (details)
  132. [Clang] Remove unused #pragma clang __debug handle_crash (details)
  133. [FPEnv][X86] Speculative fix for failures introduced by eda495426. (details)
  134. [lldb\utils] Place lldb-repro in a per-configuration directory to support multi-configuration generators (details)
  135. [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)
  136. [Clang][Driver] Remove -M group options before generating crash diagnostics (details)
  137. [Concepts] Fix incorrect check when instantiating abbreviated template type-constraints (details)
  138. [X86] Use MVT::i8 instead of MVT::i64 for shift amount in BuildSDIVPow2 (details)
  139. [X86] Add the rest of the tests that were supposed to go with 90c31b0f428fe911255277a60782ea9114700475 (details)
  140. [compiler-rt] clang-format FreeBSD-specific sanitizer sources (details)
  141. Revert "[CMake] Link against ZLIB::ZLIB" (details)
  142. [lldb/Reproducers] Refactor GetStopReasonExtendedBacktraces (NFC) (details)
  143. [lldb/Reproducers] Add missing strings for redirect macro (details)
  144. [GlobalISel] Use G_ZEXTLOAD instead of an anyextending load for non-pow-2 legalization. (details)
  145. Fix MSAN failure on Function destruction (details)
  146. Reland "[AArch64] Fix data race on RegisterBank initialization." (details)
  147. Revert "Reland "[AArch64] Fix data race on RegisterBank initialization."" (details)
  148. [CMake] Rename EXCLUDE_FROM_ALL and make it an argument to add_lit_testsuite (details)
  149. Detect attach fail in debugserver due to non-interactive (details)
  150. Revert "[FPEnv][X86] Platform-specific builtin constrained FP enablement" (details)
  151. [Support] When using SEH, create a impl instance for CrashRecoveryContext. NFCI. (details)
  152. Revert "[AArch64][GlobalISel] Emit TBZ for SGT cond branches against -1" (details)
  153. Revert "[AArch64][GlobalISel] Emit TBNZ with G_BRCOND where the condition is SLT" (details)
  154. C++ DR2026: static storage duration variables are not zeroed before (details)
  155. AMDGPU: Limit the search in finding the instruction pattern for v_swap generation. (details)
  156. Recommit "[FPEnv][X86] Platform-specific builtin constrained FP enablement" (details)
  157. Add final description of why attach failed with poss error string. (details)
  158. Revert "AMDGPU: Limit the search in finding the instruction pattern for v_swap generation." (details)
  159. [AMDGPU] Cleanup assumptions about generated subregs (details)
  160. Update hwasan docs to cover outlined checks and globals. (details)
  161. [mlir][DialectConversion] Change erroneous return to a continue (details)
  162. Revert "[Clang][Driver] Remove -M group options ..." and "[Clang] Avoid crashing when generating crash diagnostics when '#pragma clang __debug ..." (details)
  163. [mlir][AsmPrinter] Fix edge case when printing floating point values. (details)
  164. Fix test after test changes added in da3dc00 caused the test to break (details)
  165. AMDGPU/GlobalISel: Fix non-pow-2 add/sub/mul for 16-bit insts (details)
  166. Clarify how llvm-mca detects att vs intel syntax. (details)
  167. Fix my use of the TARGET_OS_OSX TargetConditional. (details)
  168. Except, get the TARGET_OS_OSX check correct. (details)
  169. [X86] Use SelectionDAG::getAllOnesConstant to simplify some code. NFC (details)
  170. [X86] Turn vXi1 any_extends into sign_extends in PreprocessISelDAG and remove some isel patterns. (details)
  171. [DebugInfo]: Reorderd the emission of debug_str section. (details)
  172. [lldb] removed no longer needed CMakeDependentOption (details)
  173. Fix the MC/WebAssembly/debug-info.ll test after 84e5760 (details)
  174. [Target][AArch64] Remove non-existing system registers ICH_VSEIR_EL2 & ICC_SEIEN_EL1 from AArch64 backend (details)
  175. Support -fstack-clash-protection for x86 (details)
  176. [ARM][ASMParser] Refuse equal RdHi/RdLo for s/umlal, smlsl, s/umull, umaal (details)
  177. [ARM] Follow AACPS for preserving number of loads/stores of volatile bit-fields (details)
  178. [lldb] Remove all 'clean' targets from test Makefiles (details)
  179. [ValueTracking] Update implied reasoning to accept expanded cmp (NFC). (details)
  180. [InstCombine] Precommit usub.with.overflow test for D74066. (details)
  181. [NFC] Introduce an API for MemOp (details)
  182. [analyzer] Small StreamChecker refactoring (NFC). (details)
  183. Revert "Support -fstack-clash-protection for x86" (details)
  184. Fix docs and comments for max_tokens_total pragma (details)
  185. [ValueTracking] usub(a, b) cannot overflow if a >= b. (details)
  186. [llvm-dwarfdump][Stats] Add the license header (details)
  187. clang-cl: Parse new MSVC flags /Qspectre-load and /Qspectre-load-cf (details)
  188. [OpenCL] Restrict addr space conversions in nested pointers (details)
  189. [AArch64] Predictably disassemble system registers with the same encoding (details)
  190. [lldb] Improve error message when running static initializers in an expression fails (details)
  191. Rename prettyprinters test to llvm-support. (details)
  192. [AMDGPU][MC][DOC] Updated AMD GPU assembler syntax description. (details)
  193. [llvm-exegesis] Add a custom error for clustering (details)
  194. Recommit: "[llvm-exegesis] Improve error reporting" (details)
  195. Recommit: "[llvm-exegesis] Improve error reporting in Target.cpp" (details)
  196. [gn build] Port 446268a2234 (details)
  197. [NFC][ARM] Modified test with update script (details)
  198. Revert "[LLD][ELF][ARM] Do not substitute BL/BLX for non STT_FUNC symbols." (details)
  199. [mlir] Add NoSideEffect to Affine min max (details)
  200. [NFC][ARM] Update test (details)
  201. [OPENMP50]Add parsing/sema for acq_rel clause. (details)
  202. Re-land "[Clang][Driver] Remove -M group options ..." and "[Clang] Avoid crashing when generating crash diagnostics when '#pragma clang __debug ..." (details)
  203. GlobalISel: Fix lowering of G_CTLZ/G_CTTZ (details)
  204. GlobalISel: Fix narrowing of G_CTPOP (details)
  205. [TableGen] Fix spurious type error in bit assignment. (details)
  206. AMDGPU/GlobalISel: Fix move s.buffer.load to VALU (details)
  207. [llvm-exegesis] Improve error reporting in BenchmarkRunner.cpp (details)
  208. [AsmPrinter] Print FP constant in hexadecimal form instead (details)
  209. [docs] update mathjax path in doxygen (details)
  210. [lldb/Target] Fix `frame recognizer list` crash when registered with nullptr (details)
  211. [lldb/test] Prevent TestFrameRecognizer.py to fail because of internal recognizers (NFC) (details)
  212. [lldb] Improve debugging 32-bit programs on NetBSD/amd64 (details)
  213. [GlobalISel][IRTranslator] Add special case support for ~memory inline asm clobber. (details)
  214. [X86] isNegatibleForFree - allow pre-legalized FMA negation (details)
  215. [x86] don't create an unused constant vector (details)
  216. [lldb] Delete ValueObjectRegisterContext class (details)
  217. [mlir][VectorOps] Generalized vector.print to i32/i64 (details)
  218. [yaml2obj] Add -D k=v to preprocess the input YAML (details)
  219. [yaml2obj][test] Simplify some e_machine EI_CLASS EI_DATA tests (details)
  220. [GlobalISel] Add buildMerge with SrcOp initializer list (details)
  221. [ELF][ARM][test] Keep arm-thumb-interwork-shared.s (details)
  222. [lldb/test] Skip the AssertFrameRecognizer test for Linux (details)
  223. [lldb] Group ABI plugins (details)
  224. [MachineInstr] Add isCandidateForCallSiteEntry predicate (details)
  225. AMDGPU/GlobalISel: Fix missing test for select of s64 scalar G_CTPOP (details)
  226. [clang] Fix linkage of nested lambdas. (details)
  227. [AMDGPU] Use @LINE for error checking in gfx10 assembler tests (details)
  228. [X86] Handle SETB_C32r/SETB_C64r in flag copy lowering the same way we handle SBB (details)
  229. [PowerPC] Create a FixedStack object for CR save in linkage area. (details)
  230. [mlir][Linalg] Implement fusion of linalg.generic operation on tensors. (details)
  231. Support -fstack-clash-protection for x86 (details)
  232. AMDGPU: Limit the search in finding the instruction pattern for v_swap generation. (details)
  233. [AArch64][GlobalISel] Reland SLT/SGT TBNZ optimization (details)
  234. [scudo][standalone] 32-bit improvement (details)
  235. Revert "[CMake] Filter libc++abi and libunwind from runtimes build in MSVC" (details)
  236. [dsymutil] Delete unneeded parameter Triple from DWARFLinker (details)
  237. AMDGPU: Enhancement on FDIV lowering in AMDGPUCodeGenPrepare (details)
  238. Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. (details)
  239. Revert "Support -fstack-clash-protection for x86" (details)
  240. [cxx_status] Fix status of P1766R to not bleed into adjacent cells. (details)
  241. [DebugInfo]: Fix the debuginfo-tests/llgdb-tests/apple-accel.cpp test (details)
  242. [OPENMP50]Add codegen for acq_rel clause in atomic|flush directives. (details)
  243. [mlir][VectorOps] Expose and use llvm.intrin.fma* (details)
  244. [PowerPC] Fix spilling of vector registers in PEI of EH aware functions (details)
  245. [mlir][VectorOps] Introduce a `vector.fma` op that works on n-D vectors and lowers to `llvm.intrin.fmuladd` (details)
  246. Reland "[AArch64] Fix data race on RegisterBank initialization." (details)
  247. [lldb] Fix+re-enable Assert StackFrame Recognizer on Linux (details)
  248. [mlir][spirv] Adding sin op in the GLSL extension (details)
  249. [CMake] Use LLVM tools external project build where possible (details)
  250. [TestConvienceVariable] Clean the directory before running the test. (details)
  251. Reland "[ARM] Fix data race on RegisterBank initialization." (details)
  252. [mlir][Pass] Enable printing pass options as part of `-help`. (details)
  253. Reland "[AMDGPU] Fix data race on RegisterBank initialization." (details)
  254. Change first test to be CHECK: to make the test run. (details)
  255. Revert "[TestConvienceVariable] Clean the directory before running the test." (details)
  256. [IRGen] Emit lifetime intrinsics around temporary aggregate argument allocas (details)
  257. [clang] Add support for __builtin_memcpy_inline (details)
  258. Replace CHECK-NEXT with CHECK-DAG. The order isn't relevant we just (details)
  259. [CMake] Fix accidentally inverted condition (details)
  260. [lldb][test][NFC] Create a separate LLDB_TEST_SRC var to allow moving tests. (details)
  261. [X86] Add more avx512 masked fmaddsub/fmsubadd autoupgrade tests with rounding control not set to 4. (details)
  262. [X86] Correct the implementation of the avx512 masked fmsubadd autoupgrade code to not leave the negate unconnected. (details)
  263. [lldb/Plugins] Use external functions to (de)initialize plugins (details)
  264. [GlobalISel][CallLowering] Look through bitcasts from constant function pointers. (details)
  265. IR Linking: Support merging Warning+Max module metadata flags (details)
  266. [ObjC][ARC] Delete ARC runtime calls that take inert phi values (details)
  267. [lldb/Plugin] Don't define initializers inside lldb_private (details)
  268. [lldb-vscode] disable completions (details)
  269. [lldb-vscode] remove deprecated trace option (details)
  270. Linker/module-max-warn.ll: Fix test to be compatible with Windows file separators (details)
  271. Add a test for adding and removing Listeners from a BroadcasterManager. (details)
  272. [lldb/Plugin] Use LLDB_PLUGIN_DECLARE to forward declare plugin initializers (details)
  273. PR12350: Handle remaining cases permitted by CWG DR 244. (details)
  274. [WebAssembly] Add debug info to insts in Emscripten SjLj (details)
  275. [clang-doc] Improving Markdown Output (details)
  276. Revert "[clang-doc] Improving Markdown Output" (details)
  277. Revert "[lldb] Fix+re-enable Assert StackFrame Recognizer on Linux" (details)
  278. [WebAssembly] Fix signature of __powitf2 libcall (details)
  279. [ObjC][ARC] Keep track of phis that have been discovered to avoid an (details)
  280. [LegalizeDAG][X86][AMDGPU] Use ANY_EXTEND instead of ZERO_EXTEND when promoting ISD::CTTZ/CTTZ_ZERO_UNDEF. (details)
  281. [Driver][test] Fix Driver/hexagon-toolchain-elf.c for -DCLANG_DEFAULT_LINKER=lld builds after 305bf5b21dbdb2345ef86b5700285e42d992c954 (details)
  282. [Driver][test] Refactor LLVMgold tests (details)
  283. [Driver] Don't pass -plugin LLVMgold.so when the linker is ld.lld (details)
  284. [Driver][test] Create empty file Inputs/basic_cross_linux_tree/usr/x86_64-unknown-linux-gnu/bin/ld.lld (details)
  285. [TargetLowering] Remove isDesirableToCombineBuildVectorToShuffleTruncate target hook. NFC. (details)
  286. [X86][SSE] Show isNegatibleForFree inability to peek through X86ISD::FRCP (details)
  287. [X86][SSE] Add X86ISD::FRCP handling to isNegatibleForFree (details)
  288. ArrayRef'ize spillCalleeSavedRegisters. NFCI. (details)
  289. Add missing encoding comments from fma4 folded intrinsics tests (details)
  290. Use heterogenous lookup for std;:map<std::string with a StringRef. NFCI. (details)
  291. Support -fstack-clash-protection for x86 (details)
  292. [DebugInfo] Allow reading an address table with a mismatched address. (details)
  293. Revert "[ARM] Improve codegen of volatile load/store of i64" (details)
  294. Revert "Support -fstack-clash-protection for x86" (details)
  295. Drop some uses of StringLiteral in favor of StringRef (details)
  296. [X86] Standardize VPSLLDQ/VPSRLDQ enum names (PR31079) (details)
  297. Put back makeArrayRef to make GCC 5 happy (details)
  298. Add missing encoding comments from fma scalar folded intrinsics tests (details)
  299. Regenerate FMA tests (details)
  300. [InstCombine] Fix infinite loop in min/max load/store bitcast combine (PR44835) (details)
  301. [InstCombine] Use swapValues(); NFC (details)
  302. [InstCombine] Avoid modifying instructions in-place (details)
  303. [InstCombine] Remove unnecessary worklist push; NFCI (details)
  304. [X86] Standardize BROADCAST enum names (PR31079) (details)
  305. [X86] X86InstComments - add FMA4 comments (details)
  306. [LegalizeTypes][ARM][AArch64][PowerPC][RISCV][X86] Use BUILD_PAIR to return expanded integer results from ReplaceNodeResults instead of just returning two results. (details)
  307. [mlir] Add a document detailing the design of the SymbolTable. (details)
  308. [mlir][EDSC] NFC - Move StructuredIndexed and IteratorType out of Linalg (details)
  309. [mlir] Add a utility method on CallOpInterface for resolving the callable. (details)
  310. [InstCombine] Fix infinite min/max canonicalization loop (PR44541) (details)
  311. [SimplifyLibCalls] Add __strlen_chk. (details)
  312. Introduce a CallGraph updater helper class (details)
  313. [OpenMP] Introduce the OpenMPOpt transformation pass (details)
  314. [X86] Test showing inability to combine ROTLI/ROTRI rotations into shuffles (details)
  315. [X86][SSE] Add test cases from PR44379 (details)
  316. [FIX] Update PM tests after D69930 landed (details)
  317. [InstCombine] Refactor foldICmpAndShift(); NFCI (details)
  318. Fix test name typo (details)
  319. [ELF] Simplify parsing of version dependency. NFC (details)
  320. [gn build] Add OpenMPOpt.cpp to LLVMipo after D69930/9548b74a831e (details)
  321. [mlir] Add support for generating debug locations from intermediate levels of the IR. (details)
  322. [mlir][quantizer] Add gathering of per-axis statistics in quantizer. (details)
  323. [mlir][DeclarativeParser] Add support for attributes with buildable types. (details)
  324. [mlir][DeclarativeParser] Move several missed parsers over to the declarative form. (details)
  325. [X86] Use any_fadd/sub/mul/div/sqrt with the AVX512 scalar_*_patterns. (details)
  326. [gn build] (manually) port 72277ecd62e and the LLVMBuild bit of 9548b74a83 (details)
  327. [OpenMP][Opt] Annotate known runtime functions and deduplicate more (details)
  328. [OpenMP][Opt] Delete terminating and read-only parallel regions (details)
  329. [OpenMP][OMPIRBuilder] Add Directives (master and critical) to OMPBuilder. (details)
  330. [FIX] Fix warning in LazyCallGraphTest caused by D70927 (details)
  331. [X86] Add the recently added (V)CVTSS2SI/CVTSD2SI instructions used for LRINT/LLRINT to the load folding tables. (details)
  332. [FIX] Ordering problem accidentally introduced with D72304 (details)
  333. Fix -Wunused-lambda-capture for -DLLVM_ENABLE_ASSERTIONS=off builds after 6556c615f3c3aae8af876806777065961ae20024 (details)
  334. [Attributor] Add an Attributor CGSCC pass and run it (details)
  335. [X86] Add more scalar intrinsic instructions to isNonFoldablePartialRegisterLoad. (details)
  336. [mlir][GPUToSPIRV] Modify the lowering of gpu.block_dim to be consistent with Vulkan SPEC (details)
  337. [ELF][test] Use llvm-readelf -l instead of llvm-readobj -l for some memory region tests (details)
  338. Support -fstack-clash-protection for x86 (details)
  339. Revert "Support -fstack-clash-protection for x86" (details)
  340. Support -fstack-clash-protection for x86 (details)
  341. [AggressiveInstCombine] Add test with baseline CHECKs for aggressive inst combine for SELECT. (details)
  342. [LoopExtractor] Convert LoopExtractor from LoopPass to ModulePass (details)
  343. [X86] Recognise ROTLI/ROTRI rotations as faux shuffles (details)
  344. Fix signed/unsigned warning. (details)
  345. [lldb] [testsuite] TestGdbRemoteLibrariesSvr4Support: Fix symlinked builddir (details)
  346. [LLDB] [doc] Update the current status of pkgsrc (NetBSD) building (details)
  347. [LLDB] [doc] Remove note about libpanel(3) and NetBSD (details)
  348. [lldb] [doc] Testing: Fix typos (details)
  349. [lldb] [doc] Status: Debugserver (remote debugging) is OK now (details)
  350. [VectorCombine] new IR transform pass for partial vector ops (details)
  351. [gn build] Port a17f03bd939 (details)
  352. [LLDB] [doc] Document NetBSD status and sort OSs alphabetically (details)
  353. [lldb] [doc] Status: Linux: Update the paragraph (details)
  354. [X86] Rename matchShuffleAsRotate - matchShuffleAsByteRotate. NFCI. (details)
  355. [X86][SSE] Add more tests showing failure to lower shuffles as bit rotations (details)
  356. [X86][XOP] Add XOP target to vXi16/vXi8 shuffle tests (details)
  357. libclc: Move rsqrt implementation to a .cl file (details)
  358. libclc/r600: Use target specific builtins to implement rsqrt and native_rsqrt (details)
  359. [X86] Remove isel patterns that include a vselect/X86selects and a strict FP node. (details)
  360. [X86] Use MVT::i32 for the type of a MOV32r0 created in X86DAGToDAGISel::Select. (details)
  361. [X86] Add lowerShuffleAsBitRotate (PR44379) (details)
  362. [X86] Add flag result VT to a MOV32r0 created in X86DAGToDAGISel::Select (details)
  363. [X86] Use custom isel for (X86sbb_flag 0, 0) so we can use 32-bit SBB for i8/i16. (details)
  364. [X86] combineConcatVectorOps - combine VROTLI/VROTRI ops (details)
  365. AMDGPU: Fix SI_IF lowering when the save exec reg has terminator uses (details)
  366. AMDGPU: Remove dead kill handling (details)
  367. AMDGPU/GlobalISel: Look through casts when legalizing vector indexing (details)
  368. AMDGPU/GlobalISel: Don't mis-select vector index on a constant (details)
  369. GlobalISel: Fix narrowing of G_CTLZ/G_CTTZ (details)
  370. AMDGPU/GlobalISel: Split 64-bit G_CTPOP in RegBankSelect (details)
  371. GlobalISel: Fix narrowScalar for G_{CTLZ|CTTZ}_ZERO_UNDEF (details)
  372. [DebugInfo] Add a DWARFDataExtractor constructor that takes ArrayRef<uint8_t> (details)
  373. [RISCV] Fix incorrect FP base CFI offset for variable argument functions (details)
  374. [X86] Use MOVZX instead of MOVSX in f16_to_fp isel patterns. (details)
  375. [X86] Autogenerate complete checks. NFC (details)
  376. [clang][codegen] Fix another lifetime emission on alloca on non-default address space. (details)
  377. Fix `-Wparentheses` warning. NFC. (details)
  378. [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)
  379. [Attributor][NFC] Use existing constant instead of magic one (details)
  380. [Attributor][Tests][NFC] Add more range tests (details)
  381. [X86] Autogenerate complete checks. NFC (details)
  382. [Attributor][FIX] Call right base method in AAValueConstantRangeFloating (details)
  383. [Attributor] Look through (some) casts in AAValueConstantRangeFloating (details)
  384. [Attributor] Allow SelectInst in AAValueConstantRangeFloating (details)
  385. [Attributor][FIX] Remove FIXME that seems outdated (details)
  386. [Attributor] Allow PHI nodes in AAValueConstantRangeFloating (details)
  387. [GlobalISel][CallLowering] Tighten constantexpr check for callee. (details)
  388. [llvm-dwarfdump][Stats] Fix the License header (details)
  389. [Attributor][Tests] Run the CGSCC versions on the range.ll test (details)
  390. [Attributor] Simple casts preserve no-alias property (details)
  391. [Attributor][FIX] Make check lines explicit (details)
  392. [AMDGPU] Add a16 feature to gfx10 (details)
  393. [lldb] Refactored TestCallOverriddenMethod.py to general virtual function test (details)
  394. [lldb] [doc] Change sample commands prefix from > to $ (details)
  395. [CSInfo] Use isCandidateForCallSiteEntry() when updating the CSInfo (details)
  396. [SytemZ] Disable vector ABI when using option -march=arch[8|9|10] (details)
  397. [LLDB] Fix GCC warnings about extra semicolons. NFC. (details)
  398. [lldb] Fix+re-enable Assert StackFrame Recognizer on Linux (details)
  399. [Doc] Proposal for vector predication (details)
  400. [CSInfo] Fix the assertions regarding updating the CSInfo (details)
  401. Fix handling of destructor names that name typedefs. (details)
  402. [MLIR][Affine] NFC: Move AffineValueMap and MutableAffineMap (details)
  403. [DSE] Add tests for MemorySSA based DSE. (details)
  404. [AArch64][SVE] Add SVE2 intrinsics for widening DSP operations (details)
  405. [clangd] Support renaming designated initializers (details)
  406. [AArch64][SVE] SVE2 intrinsics for character match & histogram generation (details)
  407. [lldb][NFC] Don't construct a ConstString twice in LibCxxVariant (details)
  408. [lldb][NFC] Fix code style of LibcxxVariantIndexValidity (details)
  409. [lldb][NFC] Don't call call formatv for no reason in LibCxxOptional (details)
  410. [DSE] Add first version of MemorySSA-backed DSE (Bottom up walk). (details)
  411. [lldb][NFC] Don't hide a bool in LibCxxOptional's OptionalFrontend::m_size (details)
  412. Revert rGe82e17d4d4cac8b2df00094e80d5e1cb22795664 - [X86] Add lowerShuffleAsBitRotate (PR44379) (details)
  413. [AArch64][SVE] SVE2 intrinsics for complex integer arithmetic (details)
  414. [DSE,MSSA] Move more passing test cases from todo to simple.ll. (details)
  415. [libc++] Protect <span> against min/max macro (details)
  416. [gn build] make 'clang' target depend on libcxx/include on mac (details)
  417. [OpenMP] Fix unused variable (details)
  418. [libc++][span] Add failing tests for span::first and span::last (details)
  419. Fix compiler warning when compiling without asserts [NFC] (details)
  420. [llvm-readobj] - Change the error to warning when a section name is unknown. (details)
  421. Fix an unused variable warning (details)
  422. [SystemZ] Add implementation for the intrinsic llvm.read_register (details)
  423. [DebugInfo][test] Replace pre-canned binary test (details)
  424. [mlir] use unpacked memref descriptors at function boundaries (details)
  425. [SelectionDAG] Optimize build_vector of truncates and shifts (details)
  426. CWG2445: For function template partial ordering, take reversal of (details)
  427. [AArch64] Make Read Write System Registers Read Only (details)
  428. Remove redundant "std::move"s in return statements (details)
  429. [NFC] Fix line endings (details)
  430. [DebugInfo] Reject line tables of version > 5 (details)
  431. [compiler-rt] Some clean up / refactoring in sanitizer_symbolizer_libcdep.cpp. (details)
  432. Revert "Remove redundant "std::move"s in return statements" (details)
  433. [DebugInfo][test] Fix(?) build bots due to incorrect type usage (details)
  434. [DSE,MSSA] Adjust mda-with-dbg-values.ll to MSSA backed DSE. (details)
  435. Revert "[OpenMP] Fix unused variable" (details)
  436. [analyzer] StdLibraryFunctionsChecker refactor: remove macros (details)
  437. Create a clang-tidy check to warn when -dealloc is implemented inside an ObjC class category. (details)
  438. [gn build] Port 0151ddc2e83 (details)
  439. [X86] Add lowerShuffleAsBitRotate (PR44379) (details)
  440. [DebugInfo][test] Fix host endian test issue (details)
  441. [AMDGPU] Split R600 and GCN subregs (details)
  442. [mlir] subview op lowering for target memrefs with const offset (details)
  443. unwind: rename `__personality_routine` to `_Unwind_Personality_Fn` (details)
  444. [mlir] Delete unused header (details)
  445. Revert "[InstCombine][DebugInfo] Fold constants wrapped in metadata" (details)
  446. [X86] combineConcatVectorOps - combine VSHLI/VSRAI/VSRLI ops (details)
  447. [mlir][EDSC] Almost NFC - Refactor and untangle EDSC dependencies (details)
  448. [mlir] [LLVMIR] add all vector reduction intrinsics to LLVM IR dialect (details)
  449. Silence compiler warning. NFC. (details)
  450. [X86] combineConcatVectorOps - combine X86ISD::VPERMI ops (details)
  451. [X86] combineConcatVectorOps - combine X86ISD::PACKSS ops (details)
  452. AMDGPU: Move R600 test compatability hack (details)
  453. [Host.mm] Check for the right macro instead of inlining it (details)
  454. Remove llgo per discussion on llvm-dev: (details)
  455. [SystemZ]  Add a subtarget cache like some other targets already have. (details)
  456. debugserver: Rely on mig architectures being specified externally (details)
  457. [Sanitizers] Get link map on FreeBSD via documented API (details)
  458. [LoopCacheAnalysis]: Add support for negative stride (details)
  459. [MLIR] Allow non-binary operations to be commutative (details)
  460. [MLIR][Standard] Add folding for indexCast(indexCast(x)) -> x (details)
  461. [MLIR][Standard] Implement constant folding for IndexCast (details)
  462. [MLIR] Fix lib/ExecutionEngine for BUILD_SHARED_LIBS=on (details)
  463. [MLIR] Fix lib/Dialect/Linalg/EDSC for BUILD_SHARED_LIBS=on (details)
  464. [ValueLattice] Remove obsolete getConstantInt (NFC). (details)
  465. [compiler-rt] Follow up fix for the refactoring in https://reviews.llvm.org/D74137. (details)
  466. Continue removing llgo. (details)
  467. fix some typos to cycle bots (details)
  468. [clang] Add `forceReload` clangd extension to 'textDocument/didChange' (details)
  469. Prefer __vector over vector keyword for altivec (details)
  470. Add documentation on git bisecting across the MLIR merge (details)
  471. Don't fail step out if remote server doesn't implement qMemoryRegionInfo (details)
  472. [AIX][XCOFF] Support Mergeable2ByteCString and Mergeable4ByteCString (details)
  473. [OPENMP50]Support for acquire clause. (details)
  474. [InstCombine] add tests for abs with extra use of operand; NFC (details)
  475. [InstCombine] fix use check when canonicalizing abs/nabs (details)
  476. [mlir][VectorOps][EDSC] Add EDSC for VectorOps (details)
  477. Do not define AcceptPIDFromInferior when it will not be used (details)
  478. [Transforms] add phase ordering tests for min/max/abs; NFC (details)
  479. Reland "[clangd][test] Disable a particular testcase in FindExplicitReferencesTest when LLVM_ENABLE_EXPENSIVE_CHECKS"" (details)
  480. git bisect docs: try to make commit ascii art show up (details)
  481. [DebugInfo] Support file-level include directories when generating DWARFv5 LineTable prologues. (details)
  482. add GitBisecting to toctrees to try and placate the sphinx bot (details)
  483. RegisterCoalescer: Add LaneMask to debug printing (details)
  484. [AIX] Enable frame pointer for AIX and add related test suite (details)
  485. git bisect docs: formatting tweaks (details)
  486. [test] Disable the Passes/PluginsTest cases on windows with BUILD_SHARED_LIBS (details)
  487. [mlir][Linalg] Add a roundtrip test for indexed_generic op with tensors. (details)
  488. [OPENMP50]Add support for 'release' clause. (details)
  489. [mlir][spirv] Use spv.entry_point_abi in GPU to SPIR-V conversions (details)
  490. Revert "[lldb] Fix+re-enable Assert StackFrame Recognizer on Linux" (details)
  491. [CallPromotionUtils] Add tryPromoteCall. (details)
  492. [gn build] Port bb383ae6120 (details)
  493. Remove lit feature object-emission (details)
  494. [ubsan] Null-check and adjust TypeLoc before using it (details)
  495. [EarlyCSE] avoid crashing when detecting min/max/abs patterns (PR41083) (details)
  496. Revert "[Sanitizers] Get link map on FreeBSD via documented API" (details)
  497. Revert "[Host.mm] Check for the right macro instead of inlining it" (details)
  498. [Sanitizers] Get link map on FreeBSD and NetBSD via documented API (details)
  499. scudo: Instead of exporting a pointer to the allocator, export the allocator directly. NFCI. (details)
  500. scudo: Table driven size classes for Android allocator. (details)
  501. scudo: Add a dump of primary allocation sizes to malloc_info output. (details)
  502. Fix you->your typo. (details)
  503. [TestKernVerStrLCNOTE] Check the *right* architecture. (details)
  504. [GlobalISel][CallLowering] Use stripPointerCasts(). (details)
  505. DebugInfo: Avoid truncating addr_base to 32 bits (details)
  506. [NFC] Refactor the tuple of symbol information with structure for llvm-objdump (details)
  507. [libFuzzer] communicate through pipe to subprocess for MinimizeCrashInput (details)
  508. [NFC][libFuzzer] Prefix TempPath with string showing the work it is doing. (details)
  509. scudo: Fix Android build. (details)
  510. [Polly] Update ISL to isl-0.22.1-87-gfee05a13. (details)
  511. [Polly] Silence mixed signed/unsigned comparison warnings. NFC. (details)
  512. Fix Sphinx failure on ReadabilityQualifiedAuto docs (details)
  513. [llvm][TableGen] Define FieldInit::isConcrete overload (details)
  514. Revert "[NFC][libFuzzer] Prefix TempPath with string showing the work it is doing." (details)
  515. [Polly][Docs] Fix wrong claim about optimization levels. (details)
  516. Only perform the login_session_has_gui_access on macOS (details)
  517. Reland "[NFC][libFuzzer] Prefix TempPath with string showing the work it is doing." (details)
  518. [asan] Disable qsort interceptor on Android. (details)
  519. [CodingStandards] Clarify C++ Standard Library usage (details)
  520. [ELF][RISCV] Add R_RISCV_IRELATIVE (details)
  521. [NFC] Fix typo. (details)
  522. [X86] Custom lower ISD::FP16_TO_FP and ISD::FP_TO_FP16 on f16c targets instead of using isel patterns. (details)
  523. remove outdated comparison with other open-source c++ compilers (details)
  524. [lldb][NFC] Refactor TypeSystemClang::GetTypeName (details)
  525. [lldb][NFC] Remove several inefficient ConstString -> const char * -> StringRef conversions (details)
  526. [clangd] Remove a FIXME which has been done, NFC. (details)
  527. [clang-rename] Fix the missing template constructors. (details)
  528. [clang-rename] Fix the failure rename test. (details)
  529. [AMDGPU] Fix non-deterministic iteration order (details)
  530. [lldb] Add test for C++ constructor calls from the expression evaluator (details)
  531. [libcxx] Qualify make_move_iterator in vector::insert for input iterators (details)
  532. [llvm-readobj][test] - Add a test for --elf-cg-profile option. (details)
  533. [lldb] Add test for lldb_private::Stream's indentation functionality (details)
  534. [libc++] span: Cleanup includes (details)
  535. [DebugInfo] Teach LDV how to handle identical variable fragments (details)
  536. [DebugInfo][NFC] Rename the class DbgValueLocation to DbgVariableValue (details)
  537. [DebugInfo][NFC] Fixup the UserValue methods to use FragmentInfo (details)
  538. [AArch64][SVE] Add SVE2 intrinsics for complex integer dot product (details)
  539. [lldb] Add test for calling overloaded virtual functions (details)
  540. [libcxx] span: Remove unneeded comparison (details)
  541. [lldb/test] Add alternate symbol to StackFrame Recognizer (details)
  542. [Mips] Add intrinsics for 4-byte and 8-byte MSA loads/stores. (details)
  543. [libc++] span: Fix incorrect return type of span::subspan (details)
  544. [compiler-rt] Restrict sanitizer_linux.cpp dlinfo(3) to FreeBSD (details)
  545. [Debuginfo][NFC] Rename error handling functions using the same pattern. (details)
  546. [clang-format] Improve handling of C# attributes (details)
  547. [ARM][MVE] Fix a corner case of checking for MVE-I with -mfpu=none (details)
  548. [X86][SSE] lowerShuffleAsBitRotate - lower to vXi8 shuffles to ROTL on pre-SSSE3 targets (details)
  549. [lldb] Delete the SharingPtr class (details)
  550. [lldb][NFC] Remove Stream::Indent(const char *) overload in favor of the StringRef version (details)
  551. [lldb] Add test for multiple inheritance (details)
  552. [mlir] Use the first location in the fused location for diagnostic handler (details)
  553. [lldb][NFC] Remove ConstString -> const char * -> StringRef conversions when calling Stream::Indent (details)
  554. [libc++][macOS CI] Ensure that the SDK version is not older than the deployment target (details)
  555. [mlir] StdToLLVM: add a separate test for the new memref calling convention (details)
  556. [lldb][NFC] Remove the CppVirtualMadness test (details)
  557. [VectorCombine] remove unused debug counter; NFC (details)
  558. [X86] combineConcatVectorOps - reuse IsSplat and remove duplicate code. NFC. (details)
  559. [libc++] Disable a filesystem test that uses debug mode with the macOS system libc++ (details)
  560. [NFC] [lldb] Remove unused declaration (details)
  561. [MLIR][GPU] Disallow llvm tanh intrinsics when lowering to NVVM/ROCm. (details)
  562. [clangd] Expose completion range in code completion results (C++ API) (details)
  563. Revert "[DSE] Add first version of MemorySSA-backed DSE (Bottom up walk)." (details)
  564. [RISCV] Optimize seteq/setne pattern expansions for better code size (details)
  565. P1957R2: conversion from a pointer to bool is considered narrowing. (details)
  566. CWG1423: don't permit implicit conversion of nullptr_t to bool. (details)
  567. [mlir][ods] Added RankedIntElementsAttr class (details)
  568. [OPENMP50]Add restrictions for memory order clauses in atomic directive. (details)
  569. [Clang][Driver] After default -fintegrated-cc1, make llvm::report_fatal_error() generate preprocessed source + reproducer.sh again. (details)
  570. [ARM][MVE] Tail-Predication: recognise (again) active lanes IR pattern (details)
  571. [SCCP] Remove forcedconstant, go to overdefined instead (details)
  572. Fix SFINAE in JSON.h constructor. (details)
  573. Use C++14-style return type deduction in LLVM. (details)
  574. [SystemZ]  Bugfix in emitSelect() (details)
  575. [ms] [llvm-ml] Add support for attempted register parsing (details)
  576. [test][DebugInfo][NFC] Fix line endings (details)
  577. [libc++] Make sure that vector copy-construction is disabled for non-copyable types (details)
  578. [X86CmovConversion] Make heuristic for optimized cmov depth more conservative (PR44539) (details)
  579. [SystemZ]  Fix new test case for expensive checks. (details)
  580. Fix errors/warnings in scudo build. (details)
  581. [InstCombine] Use replaceOperand() in more places (details)
  582. [IRBuilder] Remove more unnecessary NoFolder methods (details)
  583. [OPENMP50]Add support for relaxed clause in atomic directive. (details)
  584. [Attributor][NFC] Improve debug message (details)
  585. [Attributor][FIX] Remove duplicate, half-broken functionality (details)
  586. [Attributor] Return uses do not free pointers (details)
  587. [CodingStandards] Add link to "Picking the Right Data Structure" (details)
  588. [Attributor][NFC] Improve documentation (details)
  589. [DirectoryWatcher] Fix misuse of FSEvents API and data race (details)
  590. [lldb][NFC] Remove support file searching from SourceFileCompleter (details)
  591. [BPF] implement isTruncateFree and isZExtFree in BPFTargetLowering (details)
  592. [lldb][test] Remove symlink for API tests. (details)
  593. gn build: Make scudo cflags more consistent with the cmake build. (details)
  594. [NFC] Fix unused var in release builds (details)
  595. [mlir] Turn flags in ConvertStandardToLLVM into pass flags (details)
  596. Fix SFINAE in CFG.cpp. (details)
  597. Use std::foo_t rather than std::foo in clang. (details)
  598. [llvm][TextAPI] add simulators to output (details)
  599. [Hexagon] Fix ABI info for returning HVX vectors (details)
  600. Restore "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP" (details)
  601. [Polly] LLVM OpenMP Backend -- Fix "static chunked" scheduling. (details)
  602. [lldb][NFC] Test SourceFileCompletion by completing the target line-table argument (details)
  603. [AMDGPU] Remove AMDGPURegisterInfo (details)
  604. [gn build] Port 453a8f3af78 (details)
  605. [X86] Raise the latency for VectorImul from 4 to 5 in Skylake scheduler models (details)
  606. [BasicAA] Make BasicAA a cfg pass. (details)
  607. [mlir] [VectorOps] Implement vector.reduce operation (details)
  608. [clang-tidy] Added check to disable bugprone-infinite-loop on known false condition (details)
  609. [lldb][NFC] Test ModuleCompletion mode by completing the target modules load argument (details)
  610. [gn] Paper over Py3 urllib2 incompatibility in gn/get.py (details)
  611. [NFC] Refactor the tuple of symbol information with structure for llvm-objdump (details)
  612. Allow retrieving source files relative to the compilation directory. (details)
  613. [libc++] Unbreak test suite (CWG1423) (details)
  614. [AMDGPU] Fix implicit operands for ENTER_WWM pseudo (details)
  615. scudo: Fix various test failures, mostly on 32-bit. (details)
  616. Update test for windows. (details)
  617. [OPENMP50]Full handling of atomic_default_mem_order in requires (details)
  618. [ORC] Add debug logging to JITDylib::addDependencies. (details)
  619. [JITLink] Add an assertion that block removal leaves no dangling symbols. (details)
  620. [ORC] Fix symbol dependence propagation algorithm in ObjectLinkingLayer. (details)
  621. [NFC] Delete extra white space in a test case. (details)
  622. [mlir][VectorOps] Adds canonicalization rewrite patterns for vector ShapeCastOp. (details)
  623. [Attributor] Identify dead uses in PHIs (almost) based on dead edges (details)
  624. [Attributor][NFC] Clarify the documentation a bit more (details)
  625. [RISCV] Add support for save/restore of callee-saved registers via libcalls (details)
  626. [DebugInfo] Call site entries cannot be generated for FrameSetup calls (details)
  627. [Hexagon] Don't generate short vectors in ISD::SELECT in preprocessing (details)
  628. [compiler-rt] FuzzedDataProvider: add ConsumeData and method. (details)
  629. [mlir][AffineOps] Adds affine loop fusion transformation function to LoopFusionUtils. (details)
  630. [xray][clang] Always add xray-skip-entry/exit and xray-ignore-loops attrs (details)
  631. [ConstantFold][SVE] Fix constand fold for vector call. (details)
  632. Change clang option -ffp-model=precise to select ffp-contract=on (details)
  633. Revert "Change clang option -ffp-model=precise to select ffp-contract=on" (details)
  634. [AMDGPU] Fixed subreg use in sdwa-scalar-ops.mir. NFC (details)
  635. [Utils] Allow "on-the-fly" argument changes for update_test_check scripts (details)
  636. [X86] Don't disable code in combineHorizontalPredicateResult just because we have avx512 (details)
  637. Use C++14-style return type deduction in clang. (details)
  638. [mlir] Start Shape dialect (details)
  639. [NFC] Fix spelling (details)
  640. [NFC] Fix warning: comparison of integers of different signs. (details)
  641. [MachO] Pad section data to pointer size bytes (details)
  642. AMDGPU: Don't create potentially dead rcp declarations (details)
  643. AMDGPU: Directly use rcp intrinsic in idiv expansions (details)
  644. AMDGPU: Fix crash on v3i15 kernel arguments (details)
  645. AMDGPU: Add baseline tests for CGP div expansion (details)
  646. [OpenMP] Switch default C++ standard to C++ 14 (details)
  647. Use std::foo_t rather than std::foo in LLVM. (details)
  648. [llvm-objcopy][WebAssembly] Add dump/add/remove-section support (details)
  649. AMDGPU: Don't report 2-byte alignment as fast (details)
  650. [lldb/Plugins] Move PlatformRemoteiOS into PlatformMacOSX (NFCI) (details)
  651. Fix MSVC build with C++ EH enabled (details)
  652. AMDGPU: Don't expand more special div cases in IR (details)
  653. Rewrite default "could not attach" msg to point to hints (details)
  654. Reverted the remainings of c1c9819ef91aab51b5a23fb3027adac5a2f551cc (details)
  655. [lldb/Plugins] Rename OSPython plugin to OperatingSystemPython (NFC) (details)
  656. Re-land "[MS] Overhaul how clang passes overaligned args on x86_32" (details)
  657. [AMDGPU][GlobalISel] Refactor selectDS1Addr1Offset/selectDS64Bit4ByteAligned (details)
  658. [test] Improve test/CodeGen/X86/linux-preemption.ll (details)
  659. [compiler-rt] Compile __powitf2 under wasm (details)
  660. [lld][WebAssembly] Fail if bitcode objects are pulled in after LTO (details)
  661. Removed declared but non-existent createMaterializeVectorsPass() (NFC) (details)
  662. Reland "[Support] make report_fatal_error `abort` instead of `exit`" (details)
  663. Fix two more test cases for https://reviews.llvm.org/D74456. (details)
  664. Temporarily XFAIL these two tests. (details)
  665. [OpenMP][Offloading] Added support for multiple streams so that multiple kernels can be executed concurrently (details)
  666. AMDGPU: Use conditions directly in division expansion (details)
  667. [TestConstVariable] Clean-up XFAIL lists. (details)
  668. Revert "Reland "[Support] make report_fatal_error `abort` instead of `exit`"" (details)
  669. [CMake] Delete llvm_add_go_executable and a reference to TARGET llvm-go (details)
  670. [lldb] Remove skipIfFreeBSD from TestCompletion (details)
  671. [X86][LegalizeTypes] Add SoftPromoteHalf support STRICT_FP_EXTEND and STRICT_FP_ROUND (details)
  672. [DebugInfo] Fix reading addresses in DWARFDebugAddr. (details)
  673. [DebugInfo] Do not dump header field for pre-DWARFv5 address tables. (details)
  674. [DebugInfo] Use "an address table" in diagnostic messages of DWARFDebugAddr. (details)
  675. [DebugInfo] Refine error messages in DWARFDebugAddr. (details)
  676. [DebugInfo] Simplify DWARFDebugAddr. (details)
  677. [DebugInfo] Add support for DWARF64 into DWARFDebugAddr. (details)
  678. [X86] Correct the predicate on some patterns for 128 and 256 EVEX versions of VCVTPS2PH. (details)
  679. [X86] Remove unnecessary hasSideEffects = 0, mayLoad = 1 from an instruction with a pattern. NFC (details)
  680. [X86] Add test case for SoftPromoteHalf of STRICT_FP_EXTEND/STRICT_FP_ROUND. (details)
  681. [lldb][NFC] Remove eCustomCompletion mode (details)
  682. [VE] Bit operator isel (details)
  683. [MLIR] Support memrefs with complex element types. (details)
  684. [lldb][NFC] Move all completer subclasses into source file (details)
  685. SelectionDAG: Fix bug in ClusterNeighboringLoads (details)
  686. AMDGPU: llvm.amdgcn.writelane is a source of divergence (details)
  687. [yaml2obj][test] - Simplify the test: yaml2obj/ELF/call-graph-profile-section.yaml (details)
  688. [lldb] Move implementation of GetDisplayName to TypeSystem class (details)
  689. [APFloat] Fix FP remainder operation (details)
  690. [mlir] Revise naming of MLIROptMain and MLIRMlirOptLib (details)
  691. [lldb][NFC] Move common_completions mapping out of CommandCompletions header. (details)
  692. [lldb][NFC] Remove GetConstTypeName and GetConstQualifiedTypeName from CompilerType (details)
  693. [CodeGenPrepare] Add more store splitting tests for PR44877. (details)
  694. Remove static registration for dialects, and the "alwayslink" hack for passes (details)
  695. [DebugInfo] Enable the debug entry values feature by default (details)
  696. [NFC?][SCEV][LoopVectorize] Add datalayout to the X86/float-induction-x86.ll test (details)
  697. [CodeGen] Fix the computation of the alignment of split stores. (details)
  698. Revert "[SCCP] Remove forcedconstant, go to overdefined instead" (details)
  699. [clang] Add -fignore-exceptions (details)
  700. [lldb] Pass a valid SourceLocation to Sema::RequireCompleteType in ASTResultSynthesizer (details)
  701. [llvm-objcopy] Fix pipeline syntax (details)
  702. [ARM] MVE vector reduce add tests. NFC (details)
  703. [llvm-objdump] Add column headers for relocation printing (details)
  704. Revert "[DebugInfo] Enable the debug entry values feature by default" (details)
  705. [DebugInfo][test][NFC] Remove case numbers (details)
  706. [AMDGPU] Add one more pass to LLVMInitializeAMDGPUTarget (details)
  707. [ConstantFolding] Fold calls to FP remainder function (details)
  708. [DebugInfo] Prevent explosion of debug intrinsics during jump threading (details)
  709. [LLDB] Fix GCC warnings about extra semicolons. NFC. (details)
  710. [NFC][AggressiveInstCombine] Remove redundant std::max. (details)
  711. Revert "[DebugInfo] Prevent explosion of debug intrinsics during jump threading" (details)
  712. [lldb/DWARF] Use DWARFDebugInfoEntry * in ElaboratingDIEIterator (details)
  713. [analyzer]StreamChecker refactoring (NFC). (details)
  714. [TargetLowering] Add NegatibleCost enum for isNegatibleForFree return codes (details)
  715. [AggressiveInstCombine] Add support for select instruction. (details)
  716. [unittests] Fix TargetLibraryInfoTest.ValidProto (details)
  717. Fix MLIR build when the NVPTX target isn't configured (details)
  718. Reapply "[DebugInfo] Prevent explosion of debug intrinsics during jump threading" (details)
  719. [mlir][spirv] Introduce spv.func (details)
  720. [AggressiveInstCombine] Add support for ICmp instr that feeds a select intsr's condition operand. (details)
  721. Revert "[AggressiveInstCombine] Add support for ICmp instr that feeds a select intsr's condition operand." (details)
  722. [libcxx] Don't assume cwd name in std::filesystem tests (details)
  723. [AggressiveInstCombine] Add test with baseline CHECKs for aggressive inst combine for ICmp instruction. (details)
  724. [Concepts] Do not check constraints if not all template arguments have been deduced (details)
  725. [MLIR][CUDA] Fix build file for mlir-cuda-runner (details)
  726. Fix unused function warning (PR44808) (details)
  727. [mlir] StdToLLVM: Add error when the sourceMemRef of a subview is not a llvm type. (details)
  728. [mlir] Linalg fusion: ignore indexed_generic producers (details)
  729. Recommit "[DSE] Add first version of MemorySSA-backed DSE (Bottom up walk)." (details)
  730. [Concepts] Add missing TPA commit to requires expression parsing (details)
  731. AMDGPU/GlobalISel: Widen non-power-of-2 load results (details)
  732. Re-reapply: Recover debug intrinsics when killing duplicated/empty blocks (details)
  733. [DebugInfo] Print version in error message in decimal (details)
  734. [DebugInfo] Add check for zero debug line opcode_base (details)
  735. [DebugInfo] Add checks for v2 directory and file name table terminators (details)
  736. [MC][AVR] Fix AVR test following 740bc366 (details)
  737. AMDGPU/GlobalISel: Split 96-bit load/store select tests out (details)
  738. [PowerPC] Add support for intrinsics llvm.ppc.dcbfl and llvm.ppc.dcbflp (details)
  739. [PowerPC] Add support for intrinsic llvm.ppc.eieio (details)
  740. [libc++] span: Guard against overflow in span::subspan (details)
  741. [PowerPC] Add options for PPC to enable/disable using non-volatile CR (details)
  742. Revert "Revert "Change clang option -ffp-model=precise to select ffp-contract=on"" (details)
  743. [AArch64][SVE] Add addsub carry long instrinsics (details)
  744. [libc++][Apple] Use CLOCK_MONOTONIC_RAW instead of CLOCK_UPTIME_RAW for steady_clock (details)
  745. Title: [TSAN] Parameterize the hard-coded threshold of deflake in tsan test (details)
  746. [clang-tidy] No misc-definitions-in-headers warning on C++14 variable templates. (details)
  747. Add missing newlines at EOF; NFC (details)
  748. [X86] combineFneg - generalize FMA negations with isNegatibleForFree/getNegatedExpression (details)
  749. [llvm-objdump] Print file format in lowercase to match GNU output. (details)
  750. [ELF] Respect output section alignment for AT> (non-null lmaRegion) (details)
  751. [ELF] Start a new PT_LOAD if LMA region is different (details)
  752. [ELF] Support INSERT [AFTER|BEFORE] for orphan sections (details)
  753. Fix compilation of Any.h header. (details)
  754. Fix SFINAE in llvm::bit_cast. (details)
  755. [VectorCombine] add tests for extract-binop; NFC (details)
  756. clang: Guess at some platform FTZ/DAZ default settings (details)
  757. Compute ORE, BPI, BFI in Loop passes. (details)
  758. [AArch64][GlobalISel] Properly implement widening for TB(N)Z (details)
  759. Fix `-Wunused-variable` warning. NFC. (details)
  760. [runtimes] Add umbrella targets for runtimes (details)
  761. [mlir] Allow constructing a ValueRange from an ArrayRef<BlockArgument> (details)
  762. [NFC] Remove extra headers included in Loop Unroll and LoopUnrollAndJam files (details)
  763. [ARM] Extra vecreduce add with accumulate tests. NFC (details)
  764. Recommit "[SCCP] Remove forcedconstant, go to overdefined instead" (details)
  765. [ARCMT][NFC] Reduce #include dependencies (details)
  766. Fix fp-model flag test failure on linux (details)
  767. [ConstantFold][SVE] Fix constant fold for FoldReinterpretLoadFromConstPtr. (details)
  768. Completely ignore strict FP model and denormal-fp-math interaction (details)
  769. [llvm-exegesis] Exploring X86::OperandType::OPERAND_COND_CODE (details)
  770. [gn build] Port 6030fe01f4e (details)
  771. [mlir][EDSC][Linalg] Compose linalg_matmul and vector.contract (details)
  772. [KnownBits] Introduce anyext instead of passing a flag into zext (details)
  773. [AddressSanitizer] Ensure only AllocaInst is passed to dbg.declare (details)
  774. [lldb/TypeSystemClang] Supply trivial TypeSourceInfo to NonTypeTemplateParmDecl::Create (details)
  775. [lldb/StringPrinter] Avoid reading garbage in uninitialized strings (details)
  776. [lldb/LibCxx] Have ExtractLibcxxStringInfo return an Optional result, NFC (details)
  777. [lldb/Plugins] Move SymbolFileDWARFDebugMap into SymbolFileDWARF (NFCI) (details)
  778. [mlir][Linalg] Refactor in preparation for automatic Linalg "named" ops. (details)
  779. Revert "[IRGen] Emit lifetime intrinsics around temporary aggregate argument allocas" (details)
  780. [llvm-exegesis] CombinationGenerator: don't store function_ref (details)
  781. [LoopExtractor] Fix legacy pass dependencies (details)
  782. [OpenMP] update strings output of libomp.so [NFC] (details)
  783. [README] Add note on using cmake to perform the build (details)
  784. [docs] Minor updates to DeveloperPolicy due to svn to git (details)
  785. [TBLGEN] Fix subreg value overflow in DAGISelMatcher (details)
  786. Fix type-dependency of bitfields in templates (details)
  787. [MLIR] Fix wrong header for mlir-cuda-runner (details)
  788. [mlir] support creating memref descriptors from static shape with non-zero offset (details)
  789. [lldb/Plugins] Move DynamicLoaderMacOS into DynamicLoaderMacOSXDYLD (NFCI) (details)
  790. [mlir][Linalg] Fix build warnings (details)
  791. [Clang] When -ftime-trace is used, clean CompilerInstance::OutputFiles before exiting cc_main() (details)
  792. [Clang] Limit -fintegrated-cc1 to only one TU (details)
  793. [CMake][Fuchsia] Enable in-process cc1 (details)
  794. [MBP] Partial tail duplication into hot predecessors (details)
  795. [GWP-ASan] Update alignment on Android. (details)
  796. [libomptarget][nfc] Change enum values to match those in cuda/rtl (details)
  797. Changed omp_get_max_threads() implementation to more closely match spec description. (details)
  798. [Attributor] Use assumed information to determine side-effects (details)
  799. [Attributor] Ignore uses if a value is simplified (details)
  800. [Attributor] Use fine-grained liveness in all helpers (details)
  801. Fix a reentrance bug with deserializing ObjC type parameters. (details)
  802. [OpenMP][IRBuilder] Perform finalization (incl. outlining) late (details)
  803. [Fuzzer] Rename ExecuteCommandWithPopen to ExecuteCommandNon-Fushsia target will keep using popen/pclose implementation. OnFuchsia, Two-args version of `ExecuteCommand` is a simple wrapper of theone-arg version. (Hopefully) Fix D73329 build on Fuchsia. (details)
  804. [GWP-ASan] [NFC] Change enum from ANDROID->BIONIC. (details)
  805. Replace std::foo with std::foo_t in LLVM. (details)
  806. PPC: Prepare tests for switch of default denormal-fp-math (details)
  807. AMDGPU/GlobalISel: Fix mapping G_ICMP with constrained result (details)
  808. AMDGPU/GlobalISel: Select G_CTLZ_ZERO_UNDEF (details)
  809. AMDGPU/GlobalISel: Select G_CTTZ_ZERO_UNDEF (details)
  810. Revert "[OpenMP][IRBuilder] Perform finalization (incl. outlining) late" (details)
  811. Revert "[X86][SSE] lowerShuffleAsBitRotate - lower to vXi8 shuffles to ROTL on pre-SSSE3 targets" (details)
  812. [AsmPrinter][ELF] Emit local alias for ExternalLinkage dso_local GlobalAlias (details)
  813. [MLIR][Affine] Add affine.parallel op (details)
  814. Fix ReST syntax on link to "Bisecting LLVM code" page (details)
  815. Fix regression due to reviews.llvm.org/D74436 by adding option ffp-contract=off to RUN line (details)
  816. [AMDGPU][GlobalISel] Handle 64byte EltSIze in getRegSplitParts (details)
  817. [Statepoint] Remove redundant clear of call target on register (details)
  818. Reapply "[OpenMP][IRBuilder] Perform finalization (incl. outlining) late" (details)
  819. [BPF] explicit warning of not supporting dynamic stack allocation (details)
  820. [X86] Add test RUN lines to show cases where we use 512-bit vcmppd/ps with garbage upper bits for 128/256-bit strict_fsetcc (details)
  821. Revert "Replace std::foo with std::foo_t in LLVM." (details)
  822. Explicitly state the output file. (details)
  823. [ELF][test] Change -o %t to -o /dev/null if the output is not needed (details)
  824. [OpenMP][FIX] Collect blocks to be outlined after finalization (details)
  825. [mlir][ODS][NFC] Mark OpaqueType as a buildable type. (details)
  826. [mlir][DeclarativeParser] Move operand type resolution into a functor to (details)
  827. [lldb] Make gdbremote.py utility py2and3 compatible (details)
  828. [NFC][mlir] Adding some helpful EDSC intrinsics (details)
  829. [mlir] Add elementAttr to TypedArrayAttrBase. (details)
  830. [DebugInfo] Fix dumping CIE ID in .eh_frame sections. (details)
  831. Don't call memcpy(p, 0, 0). (details)
  832. [clangd] Query constructors in the index during rename. (details)
  833. [lldb] Clean up ProcessGDBRemote::DidLaunchOrAttach (details)
  834. [LLD][ELF][ARM] Do not substitute BL/BLX for non STT_FUNC symbols. (details)
  835. [NFC][llvm-exegesis] Docs/help: opcode-index=-1 means measure everything (details)
  836. [ARM] Extra vmovn tests to show BE differences. NFC (details)
  837. [ARM] Fix ReconstructShuffle for bigendian (details)
  838. Fix unneeded semi column (details)
  839. [AArch64][SVE] Add mul/mla/mls lane & dup intrinsics (details)
  840. [AArch64] Fix BTI landing pad generation. (details)
  841. [clang] stop baremetal driver to append .a to lib (details)
  842. Fix the mac buildbot failure. (details)
  843. Re-revert: Recover debug intrinsics when killing duplicated/empty blocks (details)
  844. [clangd] Print the Spelled RefKind. (details)
  845. [debuginfo-tests] Fix Dexter process creation failure on Windows (details)
  846. [analyzer] StdLibraryFunctionsChecker: Use platform dependent EOF and UCharMax (details)
  847. [PowerPC] Exploit VSX rounding instrs for rint (details)
  848. Rework go bindings so that validation works fine (details)
  849. Fix integration of pass plugins with llvm dylib (details)
  850. [lldb] Fix lldb-dotest (details)
  851. Add '#include <functional>` to PassManager.h. (details)
  852. [lldb] Replace assertTrue(a == b, "msg") with assertEquals(a, b, "msg") in the test suite (details)
  853. [clangd] Expose Code Completion score to the client (details)
  854. [debuginfo-tests][Dexter] Fix some Windows-unfriendly Dexter behaviours (details)
  855. [gn build] Fix sync script on renames like "Foo.cpp" -> "LLVMFoo.cpp" (details)
  856. [X86][SSE] Add i686-SSE2 bswap vector tests (details)
  857. Move FIXME to start of comment so visual studio actually tags it. NFC. (details)
  858. [lldb] Introduce "RegInfoBasedABI" (details)
  859. attempt to fix check-clang on windows after c49866ac (details)
  860. [PowerPC][NFC] Small cleanup to restore CR field code in PPCFrameLowering. (details)
  861. [llvm][lldb] Update links to ABI for the Arm Architecture. [NFC] (details)
  862. [VectorCombine] add more extract-binop tests; NFC (details)
  863. [OPENMP]Fix the test, NFC. (details)
  864. [VectorCombine] adjust tests for extract-binop; NFC (details)
  865. [MLIR][GPU] Implement initial mapping from loop.parallel to gpu.launch. (details)
  866. [OPENMP50]Fix handling of clauses in parallel master taskloop directive. (details)
  867. [ARM] Fix infinite loop when lowering STRICT_FP_EXTEND (details)
  868. Stop emitting a breakpoint for each location in a breakpoint when responding to breakpoint commands. (details)
  869. [lldb-vscode] Ensure that target matches the executable file (details)
  870. [ELF] Fix a null pointer dereference when --emit-relocs and --strip-debug are used together (details)
  871. [OPENMP50]Add cancellation support in taskloop-based directives. (details)
  872. Add REQUIRES: x86 so this won't be run if x86 is not available. (details)
  873. [OPENMP][DOCS]Update status of support constructs, NFC. (details)
  874. Fix buildbots by disabling this new test until I can fix it. (details)
  875. [openmp][cmake] passing option argument correctly (details)
  876. AMDGPU: Use v_perm_b32 to implement bswap (details)
  877. [MemorySSA] Don't verify MemorySSA unless VerifyMemorySSA enabled (details)
  878. Fix lldb-vscode logging and enable logging for all lldb-vscode tests. (details)
  879. Revert "Revert "Reland "[Support] make report_fatal_error `abort` instead of `exit`""" (details)
  880. Revert "Revert "Revert "Reland "[Support] make report_fatal_error `abort` instead of `exit`"""" (details)
  881. Revert "Revert "Reland "[Support] make report_fatal_error `abort` instead of `exit`""" (details)
  882. AMDGPU/GlobalISel: Add missing tests for cmpxchg selection (details)
  883. [OPENMP50]Add support for hint clause in atomic directive. (details)
  884. Remove clang::ast_type_traits namespace in favor of clang (details)
  885. Add a DWARF transformer class that converts DWARF to GSYM. (details)
  886. [gn build] Port 19602b71949 (details)
  887. [libc][NFC] clang-format syscall.h.in (details)
  888. [mlir][spirv] Add ConvertGpuLaunchFuncToVulkanCallsPass (details)
  889. Clean up hexagon builder after object-emission removal (details)
  890. Fix buildbots by not using "and" and "not". (details)
  891. [libc] Add Convenience syscall Template Function (details)
  892. Fix buildbots that create shared libraries from GSYM library by adding a dependency on LLVMDebugInfoDWARF. (details)
  893. [clang-tidy] Fix performance-noexcept-move-constructor-fix test on non-English locale (details)
  894. Revert "Recommit "[SCCP] Remove forcedconstant, go to overdefined instead"" (details)
  895. Fix MSVC buildbots after ast_type_traits namespace removal (details)
  896. [OPENMP50][DOCS]Update list of supported constructs, NFC. (details)
  897. [OPENMP50][DOCS]Claim iterators and add reference to array shaping (details)
  898. [NVPTX, LSV] Move the LSV optimization pass to later when the graph is cleaner (details)
  899. Fix crash in InfinteLoopCheck (details)
  900. GlobalISel: Don't use LLT references (details)
  901. AMDGPU/GlobalISel: Make G_TRUNC legal (details)
  902. Fix handling of --version in lit (details)
  903. [clang][Analysis] CallGraph: store the actual call `Expr*` in the CallGraphNode::CallRecord (details)
  904. [clang-tidy] misc-no-recursion: a new check (details)
  905. [OPENMP][DOCS]Fix misprint, NFC. (details)
  906. [gn build] Port 49bffa5f8b7 (details)
  907. Fix lit version test (details)
  908. Remove unnecessary typedef that GCC doesn't like (details)
  909. [llvm][TextAPI/MachO] Extend TBD_V4 unittest to verify writing (details)
  910. [llvm][TextAPI/MachO] Extract common code into unittest helper (NFC) (details)
  911. [scudo][standalone] Workaround for full regions on Android (details)
  912. Document third option to python synthetic type summary (details)
  913. Small reformat to avoid tripping up possible formatting. (details)
  914. [GWP-ASan] Silence gcc error (details)
  915. [clang-format] Add new option BeforeLambdaBody in Allman style. (details)
  916. [WebAssembly] Add cbrt function signatures (details)
  917. [AsmPrinter] De-capitalize Emit{Function,BasicBlock]* and Emit{Start,End}OfAsmFile (details)
  918. [X86] Don't widen 128/256-bit strict compares with vXi1 result to 512-bits on KNL. (details)
  919. [AsmPrinter] De-capitalize some AsmPrinter::Emit* functions (details)
  920. [clang] Fix bad line ending (DOS instead of Unix) inside the release notes. (details)
  921. [build] Fix shared lib builds. (details)
  922. [VectorCombine] try to form vector binop to eliminate an extract element (details)
  923. [Local] Do not move around dbg.declares during replaceDbgDeclare (details)
  924. Add dbgs() output to help track down missing DW_AT_location bugs, NFC (details)
  925. Revert "Revert "Revert "Change clang option -ffp-model=precise to select ffp-contract=on""" (details)
  926. [mlir] [VectorOps] Initial framework for progressively lowering vector.contract (details)
  927. Add a test for debugserver handling threads suspended from within a program. (details)
  928. [AArch64][NFC] Update test checks. (details)
  929. Reland D74436 "Change clang option -ffp-model=precise to select ffp-contract=on" (details)
  930. [WebAssembly] Make stack pointer args inhibit tail calls (details)
  931. [AsmPrinter] De-capitalize all AsmPrinter::Emit* but EmitInstruction (details)
  932. [mlir][DeclarativeParser] Add support for formatting enum attributes in the string form. (details)
  933. Reinstate llvm-go to test the go bindings. (details)
  934. Remove unused lambda argument. (details)
  935. [X86] Fix the bug that _mm_mask_cvtsepi64_epi32 generates result without (details)
  936. [dsymutil] Fix double relocation of DW_AT_call_return_pc (details)
  937. [ELF][AArch64] Rename pacPlt to zPacPlt and forceBti to zForceIbt after D71327. NFC (details)
  938. [DependenceAnalysis] Dependecies for loads marked with "ivnariant.load" should not be shared with general accesses(PR42151). (details)
  939. [lldb/Plugins] Have one initializer per ABI plugin (details)
  940. [lldb/Test] Partially revert assertTrue change (details)
  941. [AsmPrinter][MCStreamer] De-capitalize EmitInstruction and EmitCFI* (details)
  942. [lldb] Add a test for launch failure and its error message (details)
  943. [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir (details)
  944. [NFC][ARM] Convert some pointers to references. (details)
  945. [VecotrCombine] Fix unused variable for assertion disabled builds (details)
  946. [VE] Support for PIC (global data and calls) (details)
  947. [lldb] Remove accidentally checked-in debugging code (details)
  948. [mlir] Fix argument attribute attribute reassignment in ConvertStandardToLLVM (details)
  949. [lldb/dotest] Remove the "exclusive test subdir" concept (details)
  950. Do not build the CUBIN conversion pass when NVPTX Backend isn't configured (details)
  951. [doc] Clarify responsibility for fixing experimental target problems (details)
  952. [OpenMP] Lower taskwait using OpenMP IR Builder (details)
  953. [lldb/DWARF] Don't hold a unique SymbolFileDWARFDwo in a DWARFUnit (details)
  954. [DebugInfo] Error if unsupported address size detected in line table (details)
  955. [llvm-ar] Simplify Windows comparePaths NFCI (details)
  956. [OpenMP] Lower taskyield using OpenMP IR Builder (details)
  957. llvm/cmake/config.guess: add support for riscv32 and  riscv64 (details)
  958. [X86][SSE] lowerShuffleAsBitRotate - lower to vXi8 shuffles to ROTL on pre-SSSE3 targets (details)
  959. [lldb] Print result when expect_expr unexpectedly succeeds (details)
  960. [clang][DeclPrinter] Implement visitors for {TemplateType,NonTypeTemplate}Parms (details)
  961. [clang][Index] Introduce a TemplateParm SymbolKind (details)
  962. [libc++] span: Fix incorrect static asserts (details)
  963. [test][DebugInfo] Fix signed/unsigned comparison problem in test (details)
  964. [Driver][RISCV] Add RedHat Linux RISC-V triple (details)
  965. [clang-tools-extra] fix the check for if '-latomic' is necessary (details)
  966. [AArch64] Add BIT/BIF support. (details)
  967. Reenable "Always import constants" after compile time fixes (details)
  968. [clangd] Add tracer to the rename workflow, NFC (details)
  969. Move update_cc_test_checks.py tests to clang (details)
  970. [clangd] Update the CompletionItemKind. (details)
  971. Revert "[clang-tools-extra] fix the check for if '-latomic' is necessary" (details)
  972. [libc++] Remove unnecessary typenames from std/numerics/c.math/abs.pass.cpp (details)
  973. Fix line endings produced by update_cc_test_checks.py (details)
  974. [ADT] Support BitVector as a key in DenseSet/Map (details)
  975. [clang-scan-deps] Switch to using a ThreadPool (details)
  976. [Support] On Windows, ensure hardware_concurrency() extends to all CPU sockets and all NUMA groups (details)
  977. Revert "Reland D74436 "Change clang option -ffp-model=precise to select ffp-contract=on"" (details)
  978. add type_traits include as required for std::integral_constant (details)
  979. Reverting D73027 [DependenceAnalysis] Dependecies for loads marked with "ivnariant.load" should not be shared with general accesses(PR42151). (details)
  980. [Driver] Rename AddGoldPlugin to addLTOOptions. NFC (details)
  981. Fix compilation breakage introduced by 8404aeb56a73ab24f9b295111de3b37a37f0b841. (details)
  982. [libc++] Remove cycle between <type_traits> and <cstddef> (details)
  983. AMDGPU/GlobalISel: Handle G_BSWAP (details)
  984. AMDGPU: Add baseline tests for 16-bit bswap (details)
  985. [X86] Fix copy/paste mistake in comment. NFC (details)
  986. AMDGPU: Improve i16/v2i16 bswap (details)
  987. [libc++] Add missing include for is_same in test (details)
  988. [lldb/Plugin] s/LLDB_PLUGIN/LLDB_PLUGIN_DEFINE/ (NFC) (details)
  989. TTI: Fix vectorization cost for bswap (details)
  990. [APInt] Add some basic APInt::byteSwap unit tests (details)
  991. Warn about zero-parameter K&R definitions in -Wstrict-prototypes (details)
  992. Fix tests after previous commit (details)
  993. [Hexagon] v67+ HVX register pairs should support either direction (details)
  994. [GlobalISel] LegalizationArtifactCombiner: Fix a bug in tryCombineMerges (details)
  995. GlobalISel: Lower s64->s16 G_FPTRUNC (details)
  996. [LoopRotate] Get and update MSSA only if available in legacy pass manager. (details)
  997. [X86] Add AVX512 support to the fast isel code for Intrinsic::convert_from_fp16/convert_to_fp16. (details)
  998. [X86] Use ZERO_EXTEND instead of SIGN_EXTEND in the fast isel handling of convert_from_fp16. (details)
  999. AMDGPU: Add option to expand 64-bit integer division in IR (details)
  1000. [x86] regenerate complete test checks for sqrt{est}; NFC (details)
  1001. [x86] remove stray test assertions; NFC (details)
  1002. AMDGPU: Add option to disable CGP division expansion (details)
  1003. [docs] Add note on using cmake to perform the build (details)
  1004. [AMDGPU] Always enable XNACK feature when support is explicitly requested (details)
  1005. [windows] Add /Gw to compiler flags (details)
  1006. fix some comment typos to cycle bots (details)
  1007. [AsmPrinter] Use the McASMInfo to determine if we need descriptors. (details)
  1008. [scudo][standalone] Allow setting release to OS (details)
  1009. [mlir] Add MemRef filter to affine data copy optimization (details)
  1010. [Hexagon] Add an explicit makeArrayRef to pacify gcc 5.5 (details)
  1011. [llvm-exegesis] Rename range based for loop variable in a unit test so its different than the container being iterated over. NFC (details)
  1012. [compiler-rt] Use the correct minimum version flag for simulators on Apple (details)
  1013. [compiler-rt] Add `DARWIN_osx_MIN_VER_FLAG` variable to match the other Apple platforms. (details)
  1014. [compiler-rt] Provide a lit config variable that defines the minimum deployment OS version flag appropriate for the configured OS. (details)
  1015. [compiler-rt] Disable building LibFuzzer for WatchOS and the corresponding simulator. (details)
  1016. [compiler-rt] Make various Apple lit substitutions work correctly for other Apple platforms. (details)
  1017. [NFC][llvm-exegesis] CombinationGenerator::performGeneration(): pull put state increment into lambda (details)
  1018. [lldb/Editline] Fix mistake in HistoryOperation mapping (details)
  1019. [OpenMP][Part 2] Use reusable OpenMP context/traits handling (details)
  1020. [lli] Add a '-dlopen <library-path>' option to lli. (details)
  1021. Don't call computeHostNumPhysicalCores when LLVM_ENABLE_THREADS is off (details)
  1022. [Attributor][FIX] Validate the type for AAValueConstantRange as needed (details)
  1023. [FIX] Add missing InGroup to warning introduced as part of D71830 (details)
  1024. Fix -Wstring-compare warnings in new OpenMP code (details)
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/test/CodeGen/AArch64/GlobalISel/contract-store.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/Utils.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
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 modifiedllvm/tools/llvm-reduce/CMakeLists.txt
The file was removedllvm/tools/llvm-reduce/deltas/ReduceAttributes.h
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/deltas/ReduceInstructions.cpp
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 modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was removedmlir/lib/Analysis/TestParallelismDetection.cpp
The file was removedmlir/lib/Analysis/TestMemRefDependenceCheck.cpp
The file was removedmlir/lib/Analysis/OpStats.cpp
The file was addedmlir/test/lib/Transforms/TestMemRefDependenceCheck.cpp
The file was addedmlir/test/lib/Transforms/TestParallelismDetection.cpp
The file was addedmlir/test/lib/Transforms/MemRefBoundCheck.cpp
The file was modifiedmlir/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Analysis/CMakeLists.txt
The file was removedmlir/lib/Analysis/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 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/include/mlir/Analysis/Passes.h
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/test/CodeGen/AMDGPU/GlobalISel/legalize-fptoui.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ffloor.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.s64.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptosi.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.s32.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/floor.f64.ll
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
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 modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
The file was modifiedclang/test/VFS/external-names.c
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/AsmParser/PPCAsmParser.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.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/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn-s-buffer-load.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.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/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
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/lib/Target/X86/X86SchedSkylakeServer.td
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeClient/resources-avx2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/resources-avx512.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512vl.s
The file was modifiedllvm/lib/Target/X86/X86SchedSkylakeClient.td
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/resources-avx512vl.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-debugloc.ll
The file was modifiedllvm/test/DebugInfo/X86/convert-linked.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/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fabs.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fdiv.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_ps.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/function-returns.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fma.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-undef.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fpext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcanonicalize.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/legalize-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-merge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsub.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-xor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fadd.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-select.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-insert.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fneg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsqrt.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-and.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-cmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-struct-return-intrinsics.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-undef.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-round.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcos.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ffloor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-or.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/CSEInfo.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/CSETest.cpp
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_wasm_external_debug_sections.yaml
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_sym.yaml
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/embedded-debug-sections.yaml
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
The file was modifiedlldb/test/Shell/ObjectFile/wasm/basic.yaml
The file was modifiedlldb/test/Shell/ObjectFile/wasm/stripped-debug-sections.yaml
The file was modifiedlldb/test/Shell/ObjectFile/wasm/unified-debug-sections.yaml
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.h
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/source/Plugins/DynamicLoader/CMakeLists.txt
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/LiveVariables.h
The file was modifiedllvm/lib/CodeGen/MachineBasicBlock.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineBasicBlock.h
The file was modifiedllvm/lib/CodeGen/LiveVariables.cpp
The file was modifiedllvm/lib/CodeGen/PHIElimination.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/test/CodeGen/AArch64/GlobalISel/opt-fold-shift-tbz-tbnz.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
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 modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/tbnz-slt.mir
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/tools/lldb-test/SystemInitializerTest.cpp
The file was modifiedlldb/source/API/SystemInitializerFull.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/lib/gwp_asan/options.h
The file was modifiedcompiler-rt/lib/gwp_asan/random.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/guarded_pool_allocator.h
The file was modifiedcompiler-rt/lib/scudo/standalone/CMakeLists.txt
The file was modifiedcompiler-rt/lib/gwp_asan/tests/basic.cpp
The file was modifiedcompiler-rt/test/gwp_asan/double_delete.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.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp
The file was modifiedcompiler-rt/test/gwp_asan/double_deletea.cpp
The file was addedcompiler-rt/lib/gwp_asan/common.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/optional/backtrace_sanitizer_common.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
The file was addedcompiler-rt/lib/gwp_asan/common.h
The file was addedcompiler-rt/lib/gwp_asan/crash_handler.h
The file was modifiedcompiler-rt/lib/gwp_asan/optional/options_parser.cpp
The file was modifiedcompiler-rt/test/gwp_asan/invalid_free_right.cpp
The file was addedcompiler-rt/lib/gwp_asan/crash_handler.cpp
The file was modifiedcompiler-rt/lib/scudo/CMakeLists.txt
The file was modifiedcompiler-rt/test/gwp_asan/use_after_deletea.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/optional/printf_sanitizer_common.cpp
The file was addedcompiler-rt/lib/gwp_asan/utilities.h
The file was modifiedcompiler-rt/lib/gwp_asan/optional/backtrace_linux_libc.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/optional/backtrace.h
The file was modifiedcompiler-rt/lib/gwp_asan/options.inc
The file was addedcompiler-rt/lib/gwp_asan/tests/crash_handler_api.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/thread_contention.cpp
The file was modifiedcompiler-rt/test/gwp_asan/use_after_delete.cpp
The file was addedcompiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
The file was addedcompiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/harness.h
The file was modifiedcompiler-rt/lib/scudo/scudo_allocator.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/CMakeLists.txt
The file was modifiedcompiler-rt/test/gwp_asan/use_after_free.cpp
The file was addedcompiler-rt/lib/gwp_asan/optional/segv_handler.h
The file was modifiedcompiler-rt/test/gwp_asan/realloc.cpp
The file was modifiedcompiler-rt/test/gwp_asan/invalid_free_left.cpp
The file was modifiedcompiler-rt/test/gwp_asan/heap_buffer_underflow.cpp
The file was modifiedcompiler-rt/test/gwp_asan/heap_buffer_overflow.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 modifiedllvm/lib/IR/ConstantFold.cpp
The file was addedllvm/test/Analysis/ConstantFolding/bitcast.ll
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/invalid.mlir
The file was modifiedmlir/test/Dialect/VectorOps/ops.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 modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWasm.py
The file was modifiedlldb/source/Plugins/DynamicLoader/CMakeLists.txt
The file was addedlldb/source/Plugins/DynamicLoader/wasm-DYLD/CMakeLists.txt
The file was addedlldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.h
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was addedlldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.cpp
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/CMakeLists.txt
The file was modifiedlldb/utils/lldb-dotest/lldb-dotest.in
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/Target/CMakeLists.txt
The file was modifiedlldb/source/Target/StackFrameRecognizer.cpp
The file was modifiedlldb/source/Target/Thread.cpp
The file was removedlldb/include/lldb/Target/AssertFrameRecognizer.h
The file was removedlldb/source/Target/AssertFrameRecognizer.cpp
The file was modifiedlldb/docs/use/formatting.rst
The file was modifiedlldb/include/lldb/Core/FormatEntity.h
The file was modifiedlldb/include/lldb/Target/StackFrameRecognizer.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was removedlldb/test/Shell/Recognizer/assert.test
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py
The file was modifiedlldb/include/lldb/Target/Thread.h
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/source/API/SBThread.cpp
The file was modifiedlldb/source/Core/FormatEntity.cpp
The file was removedlldb/test/Shell/Recognizer/Inputs/assert.c
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
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 addedclang/test/Analysis/fuchsia_lock_impl.c
The file was modifiedclang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
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/include/mlir/Transforms/LoopFusionUtils.h
The file was modifiedmlir/lib/Transforms/Utils/LoopFusionUtils.cpp
The file was modifiedmlir/test/lib/Transforms/TestLoopFusion.cpp
The file was addedmlir/test/Transforms/loop-fusion-transformation.mlir
Commit 5389ca7a1fb3b760013c1c5e53768f570a5e53f7 by huihuiz
[ConstantFold][NFC] Move scalable vector unit tests under vscale.ll
The file was removedllvm/test/Analysis/ConstantFolding/shufflevector.ll
The file was removedllvm/test/Analysis/ConstantFolding/insertelement.ll
The file was removedllvm/test/Analysis/ConstantFolding/bitcast.ll
The file was modifiedllvm/test/Analysis/ConstantFolding/vscale.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/include/clang/StaticAnalyzer/Checkers/Checkers.td
The file was modifiedclang/test/Analysis/fuchsia_lock.c
The file was modifiedclang/test/Analysis/fuchsia_lock_impl.c
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/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/test/Shell/ObjectFile/wasm/embedded-debug-sections.yaml
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.h
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_wasm_external_debug_sections.yaml
The file was modifiedlldb/test/Shell/ObjectFile/wasm/unified-debug-sections.yaml
The file was removedlldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
The file was modifiedlldb/test/Shell/ObjectFile/wasm/basic.yaml
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_wasm_embedded_debug_sections.yaml
The file was removedlldb/source/Plugins/DynamicLoader/wasm-DYLD/CMakeLists.txt
The file was removedlldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.h
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/test_sym.yaml
The file was modifiedlldb/test/Shell/ObjectFile/wasm/stripped-debug-sections.yaml
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWasm.py
Commit 0c3b2986ac6b71abc649811c3ec9cb0bf073c7d8 by 31459023+hctim
[GWP-ASan] Change crash handler constant.

Constant is too large to fit into uintptr_t on 32-bit.
The file was modifiedcompiler-rt/lib/gwp_asan/tests/crash_handler_api.cpp
Commit 6e2309d7fae29097c0c8ca90e909e238c0cebe31 by ajcbik
[mlir] [VectorOps] generalized vector.contract semantics

Summary:
Previously, vector.contract did not allow an empty set of
free or batch dimensions (K = 0) which defines a basic
reduction into a scalar (like a dot product). This CL
relaxes that restriction. Also adds constraints on
element type of operands and results. With tests.

Reviewers: nicolasvasilache, andydavis1, rriddle

Reviewed By: 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/D74014
The file was modifiedmlir/test/Dialect/VectorOps/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/VectorOps/VectorOps.td
The file was modifiedmlir/test/Dialect/VectorOps/invalid.mlir
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
Commit 0bfc4890931943388b6c9f5aae3d036668093c92 by 31459023+hctim
[GWP-ASan] Fix unused variables from crash handler + clang-format

Summary: NFC - See title

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: merge_guards_bot, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D74100
The file was modifiedcompiler-rt/lib/gwp_asan/tests/harness.h
The file was modifiedcompiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/crash_handler.h
The file was modifiedcompiler-rt/lib/gwp_asan/crash_handler.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/definitions.h
The file was modifiedcompiler-rt/lib/gwp_asan/tests/crash_handler_api.cpp
Commit c3f0ed7bccaf4a62bb440ba145ada521492a1327 by riddleriver
[mlir] Register the GDB listener with ExecutionEngine to enable debugging JIT'd code

Differential Revision: https://reviews.llvm.org/D73932
The file was modifiedmlir/include/mlir/ExecutionEngine/ExecutionEngine.h
The file was modifiedmlir/lib/ExecutionEngine/ExecutionEngine.cpp
Commit c33d6970e0172ffc6b61900c21dce8c7bda7d792 by riddleriver
[mlir] Add support for basic location translation to LLVM.

Summary:
This revision adds basic support for emitting line table information when exporting to LLVMIR. We don't yet have a story for supporting all of the LLVM debug metadata, so this revision stubs some features(like subprograms) to enable emitting line tables.

Differential Revision: https://reviews.llvm.org/D73934
The file was modifiedmlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
The file was addedmlir/lib/Target/LLVMIR/DebugTranslation.cpp
The file was modifiedmlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp
The file was modifiedmlir/include/mlir/Transforms/Passes.h
The file was modifiedmlir/lib/Target/CMakeLists.txt
The file was modifiedmlir/lib/Transforms/StripDebugInfo.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/test/Target/llvmir.mlir
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
The file was addedmlir/test/Target/llvmir-debug.mlir
The file was addedmlir/lib/Target/LLVMIR/DebugTranslation.h
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToNVVMIR.cpp
Commit 00b3d49d3a86490f0596100b23cd2c3a49334c75 by phosek
[CMake] Link against ZLIB::ZLIB

This is the imported target that find_package(ZLIB) defines.
The file was modifiedllvm/lib/Support/CMakeLists.txt
Commit 93dc8bd26708ba5fb8b83b65c40ed840ef76730d by riddleriver
[mlir] Add explicit friendship to LLVM::ModuleTranslation to derived
classes.

This allows for the `LLVM::ModuleTranslation::translateModule` to properly access the constructors of the derived classes.
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToNVVMIR.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
Commit ccf900fc932098c1bbaa6e43a94b4423c60bf53e by Jason Molenda
Two more small fixes for debugserver attach failure messaging.

The developer mode check is now working.

Add another check for user id mismatch, e.g. a regular user
trying to attach to something running as root, and describe
the problem for the user.
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
Commit 25aa2eef993e17708889abf56ed1ffad5074a9f4 by tejohnson
Revert "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP"

This reverts commit 748bb5a0f1964d20dfb3891b0948ab6c66236c70.

Due to Chromium CFI+ThinLTO test crashes reported on patch.
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was modifiedllvm/test/Bitcode/summary_version.ll
The file was modifiedllvm/test/Other/new-pm-lto-defaults.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-vcp.ll
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndexYAML.h
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/uniform-retval.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/devirt-single-impl2.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/branch-funnel.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-single-impl.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-uniform-ret-val.ll
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/import-indir.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/test/Transforms/WholeProgramDevirt/export-unique-ret-val.ll
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/lib/Transforms/IPO/LowerTypeTests.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
Commit 2f025bb87c33a25e3a0d226cdb663f237ccd602e by Jonas Devlieghere
[lldb/Reproducers] Implement custom replayers for (char *, size_t)

Some SB API methods returns strings through a char* and a length. This
is a problem for the deserializer, which considers a single type at a
time, and therefore cannot know how many bytes to allocate for the
character buffer.

We can solve this problem by implementing a custom replayer, which
ignores the passed-in char* and allocates a buffer of the correct size
itself, before invoking the original API method or function.

This patch adds three new macros to register a custom replayer for
methods that take a char* and a size_t. It supports arbitrary return
values (some functions return a bool while others return a size_t).
The file was modifiedlldb/source/API/SBFileSpec.cpp
The file was modifiedlldb/source/API/SBStructuredData.cpp
The file was modifiedlldb/source/API/SBProcess.cpp
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
The file was modifiedlldb/source/API/SBDebugger.cpp
The file was modifiedlldb/source/API/SBThread.cpp
Commit 1a53b732e6bf1bbadd8d352573172c9d0c8b0cca by llvm-project
Compile-fix after StringRef's conversion operator has been made explicit.

Commit 777180a "[ADT] Make StringRef's std::string conversion operator explicit"
caused Polly's GPU code generator to not compile anymore. The rest of
Polly has already been fixed in commit
0257a9 "Fix polly build after StringRef change."
The file was modifiedpolly/lib/CodeGen/ManagedMemoryRewrite.cpp
The file was modifiedpolly/lib/CodeGen/PPCGCodeGeneration.cpp
Commit e3aa062ae957f61ee9f9e25f52bdb3c690c79fe3 by labath
[lldb/DWARF] Don't assume that a SymbolFileDWARFDwo contains one compile unit

Summary:
This is a preparatory patch to re-enable DWP support in lldb (we already
have code claiming to do that, but it has been completely broken for a
while now).

The idea of the new approach is to make the SymbolFileDWARFDwo class
handle both dwo and dwo files, similar to how llvm uses one DWARFContext
to handle the two.

The first step is to remove the assumption that a SymbolFileDWARFDwo
holds just a single compile unit, i.e. the GetBaseCompileUnit method.
This requires changing the way how we reach the skeleton compile unit
(and the lldb_private::CompileUnit) from a dwo unit, which was
previously done via GetSymbolFile()->GetBaseCompileUnit() (and some
virtual dispatch).

The new approach reuses the "user data" mechanism of DWARFUnits, which
was used to link dwarf units (both skeleton and split) to their
lldb_private counterparts. Now, this is done only for non-dwo units, and
instead of that, the dwo units holds a pointer to the relevant skeleton
unit.

Reviewers: JDevlieghere, aprantl, clayborg

Reviewed By: JDevlieghere, clayborg

Subscribers: arphaman, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D73781
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwoDwp.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
Commit 8dc3da7d58fe253b17bbfbdb5b4b51e8f0aa2e0f by joker-eph
[mlir] Build fix for mlir-opt

mlir-opt needs to link against MLIRLoopAnalysis
This shouldn't be needed but MLIR "hack" for
"whole-archive" linking is not compatible with
CMake transitive dependencies management.

Differential Revision: https://reviews.llvm.org/D74097
The file was modifiedmlir/tools/mlir-opt/CMakeLists.txt
Commit 3da7dcf38a96b7ba8ba0cb61be40210ace3fd91f by Jonas Devlieghere
[lldb/Reproducers] Serialize empty string for char* methods.

For the methods taking a char* and a length that have a custom replayer,
ignore the incoming string in the instrumentation macro. This prevents
potentially reading garbage and blowing up the SB API log.
The file was modifiedlldb/source/API/SBProcess.cpp
The file was modifiedlldb/source/API/SBFileSpec.cpp
The file was modifiedlldb/source/API/SBThread.cpp
The file was modifiedlldb/source/API/SBStructuredData.cpp
Commit a6860c1af45776e349eaed3e8f0bb7e97abccd89 by kbobyrev
[clangd] Add a flag for spelled references in the Index

This patch allows the index does to provide a way to distinguish
implicit references (e.g. coming from macro expansions) from the spelled
ones. The corresponding flag was added to RefKind and symbols that are
referenced without spelling their name explicitly are now marked
implicit. This allows fixing incorrect behavior when renaming a symbol
that was referenced in macro expansions would try to rename macro
invocations.

Differential Revision: D72746

Reviewed by: hokein
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
The file was modifiedclang-tools-extra/clangd/index/Ref.h
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
Commit 6bfc45cf60d2a82e659d3911c26169ad02cf78c0 by kbobyrev
Fix build after D72746

D72746 was missing a part of the patch before landing.
The file was modifiedclang/include/clang/Tooling/Syntax/Tokens.h
The file was modifiedclang/lib/Tooling/Syntax/Tokens.cpp
Commit 5bbaf543585c54868f8a2bdd9e74edcf395b24b3 by martin
[LLDB] Fix compilation with GCC 5

Differential Revision: https://reviews.llvm.org/D74084
The file was modifiedlldb/source/DataFormatters/FormatCache.cpp
The file was modifiedlldb/source/Interpreter/CommandAlias.cpp
The file was modifiedlldb/source/DataFormatters/LanguageCategory.cpp
The file was modifiedlldb/source/Interpreter/Options.cpp
Commit 67905fc13ea367faac267f531c0b0c5cfcedb943 by hans
Fix some typos in ArrayRef.h
The file was modifiedllvm/include/llvm/ADT/ArrayRef.h
Commit 863d9752105f390b31b3d08d1980d2888c15b034 by alexey.bader
[SYCL][Driver] Add clang driver option to enable SYCL compilation mode

Summary:
As a first step this implementation enables compilation of the offload
code.

Reviewers: ABataev

Subscribers: ebevhan, Anastasia, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74048
The file was addedclang/test/Driver/sycl.c
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit fd0abcbfc18f9ed250ce3a95e1a979f0c01649ec by grimar
[yaml2obj] - Change NameIndex to StName for Symbol.

It is consistent with the approach we use for Section struct.

Differential revision: https://reviews.llvm.org/D74034
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/test/tools/yaml2obj/ELF/symbol-name.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
Commit a29a9a34f49fe674b259ef06a5044684401233a9 by maskray
[yaml2obj] Refactor command line parsing

* Hide unrelated options.
* Add "OVERVIEW: " to yaml2obj -h/--help.
* Place options under a yaml2obj category.
* Disallow -docnum. Currently -docnum is the only yaml2obj specific long option that is affected.
* Specify `cl::init("-")` and `cl::Prefix` for OutputFilename. The
  latter allows `-ofile`

Reviewed By: grimar, jhenderson

Differential Revision: https://reviews.llvm.org/D73982
The file was removedllvm/test/tools/yaml2obj/invalid-output-file.yaml
The file was addedllvm/test/tools/yaml2obj/output-file.yaml
The file was addedllvm/test/tools/yaml2obj/help.test
The file was modifiedllvm/tools/yaml2obj/yaml2obj.cpp
Commit 7ddd13070501a14d53689a4c87b0c56252c31995 by maskray
Fix lld test after D74034
The file was modifiedlld/test/ELF/invalid/symbol-name.test
Commit b093b663707afccefef204d85fc37a95c6ac4ddf by Milos.Stojanovic
[NFC] Fix error handling documentation

The default Error constructor can't be used since rL286561.

Differential Revision: https://reviews.llvm.org/D74069
The file was modifiedllvm/docs/ProgrammersManual.rst
The file was modifiedllvm/include/llvm/Object/MachO.h
Commit 8ba2b6281075c65c1a47abed57810e1201942533 by diogo.sampaio
[ARM] Fix non-determenistic behaviour

Summary:
ARM Type Promotion pass does not clear
the container that defines if one variable
was visited or not, missing optimization
opportunities by luck when two llvm:Values
from different functions  are allocated at
the same memory address.

Also fixes a comment and uses existing
method to pop and obtain last element
of the worklist.

Reviewers: samparker

Reviewed By: samparker

Subscribers: kristof.beyls, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73970
The file was modifiedllvm/lib/CodeGen/TypePromotion.cpp
Commit 819e755a269dd687586962191298ca9cf1a1d4fb by maskray
[llvm-readobj][test] Fix test after yaml2obj change (D74034)
The file was modifiedllvm/test/tools/llvm-readobj/ELF/broken-dynamic-reloc.test
Commit 5c3b34930c31227b5f33f1886d13431c4c90a1b0 by zinenko
[mlir] Add AffineMaxOp

Differential Revision: https://reviews.llvm.org/D73848
The file was modifiedmlir/test/AffineOps/canonicalize.mlir
The file was modifiedmlir/test/AffineOps/ops.mlir
The file was modifiedmlir/test/Transforms/lower-affine.mlir
The file was modifiedmlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
The file was modifiedmlir/include/mlir/Dialect/AffineOps/AffineOps.td
The file was modifiedmlir/lib/Dialect/AffineOps/AffineOps.cpp
The file was modifiedmlir/include/mlir/EDSC/Intrinsics.h
The file was modifiedmlir/test/AffineOps/invalid.mlir
Commit 99a6e405edbfc4eb54af5fe7804f47aae139ce53 by dantrushin
[IRCE] Use SCEVExpander to modify loop bound

IRCE pass checks that it can calculate loop bounds by checking
SCEV availability at loop entry. However it is possible that loop
bound SCEV is loop invariant, but instruction used to compute it
resides within loop. In such case adjusting loop bound in preheader
using IRBuilder leads to malformed SSA.
Use SCEVExpander instead to generate proper instructions.

Reviewed-by: mkazantsev
Differential Revision: https://reviews.llvm.org/D73496
The file was addedllvm/test/Transforms/IRCE/non-loop-invariant-rhs-instr.ll
The file was modifiedllvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
Commit 10540e480dfb243d992ff77db14219f696cc774a by kbobyrev
[clangd] Filter out implicit references while renaming

This patch is based on D72746 and prevents non-spelled references from
being renamed which would cause incorrect behavior otherwise.

Reviewed by: hokein

Differential Revision: https://reviews.llvm.org/D74112
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
Commit d5e6e0a58b188627084d4714a4b2862c529870f8 by kbobyrev
Fix build after D74112
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
Commit 529e6f8791b624d94c10a04dc4e530e4a22ac520 by llvm-dev
[ADT] Fix iplist_impl - use after move warnings (PR43943)

As detailed on PR43943, we're seeing static analyzer use after move warnings in the iplist_impl move constructor/operator as they call std::move to both the TraitsT and IntrusiveListT base classes.

As suggested by @dexonsmith this patch casts the moved value to the base classes to silence the warnings.

Differential Revision: https://reviews.llvm.org/D74062
The file was modifiedllvm/include/llvm/ADT/ilist.h
Commit b3576f60ebc8f660afad8120a72473be47517573 by Milos.Stojanovic
[llvm-exegesis] Improve error reporting

Fix inconsistencies in error reporting created by mixing
`report_fatal_error()` and `ExitOnErr()`, and add additional information
to the error message to make it more user friendly. Minimize the use
`report_fatal_error()` because it's meant for use in very rare cases and
it results in low information density of the error messages.

Summary of the new design:

* For command line argument errors output `llvm-exegesis: <error_message>`,
   which is consistent with the error output format emitted by the backend
   which checks correctness of the command line arguments.
* For other errors the format `llvm-exegesis error: <error_message>` is used.
** If the error occurred during file access `<error_message>` will have
    of two parts: `'<file_name>': <rest_of_the_error_message>`

Differential Revision: https://reviews.llvm.org/D74085
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
Commit 141915963b6ab36ee4e577d1b27673fa4d05b409 by Milos.Stojanovic
[llvm-exegesis] Improve error reporting in Target.cpp

Followup to D74085.
Replace the use of `report_fatal_error()` with returning the error to
`llvm-exegesis.cpp` and handling it there.

Differential Revision: https://reviews.llvm.org/D74113
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.h
Commit 1b3d1661bbeb2c90f8f3ef6e2b77a70bc148731e by hans
StringRef.h: __builtin_strlen seems to exist in VS 2017 MSVC 19.16 or later

This is a follow-up to ff837aa63cd, as discussed on the llvm-commits
thread for that one.
The file was modifiedllvm/include/llvm/ADT/StringRef.h
Commit 4c330be678c9f70f43df9aaba38191fdb61217f8 by hans
Try to fix ilist.h after 529e6f8791b6
The file was modifiedllvm/include/llvm/ADT/ilist.h
Commit abe01e17f648a97666d4fbed41f0861686a17972 by hans
Revert "[llvm-exegesis] Improve error reporting" and follow-up.

It broke e.g. all tests under tools/llvm-exegesis/X86/ when libpfm is
not available, see comment on D74085.

This reverts commit b3576f60ebc8f660afad8120a72473be47517573 and
141915963b6ab36ee4e577d1b27673fa4d05b409.
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.h
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.cpp
Commit e7cb374433095219069ef767f70c0c9159a65b7c by russell.gallop
[LLD][ELF] Add time-trace to ELF LLD

This adds some of LLD specific scopes and picks up optimisation scopes
via LTO/ThinLTO. Makes use of TimeProfiler multi-thread support added in
77e6bb3c.

Differential Revision: https://reviews.llvm.org/D71060
The file was modifiedlld/ELF/ICF.cpp
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/Options.td
The file was modifiedlld/ELF/Config.h
The file was addedlld/test/ELF/time-trace.s
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/LTO.cpp
The file was modifiedlld/ELF/MarkLive.cpp
The file was modifiedlld/ELF/Writer.cpp
The file was addedlld/test/ELF/lto/thinlto-time-trace.ll
The file was modifiedllvm/include/llvm/LTO/Config.h
Commit 89a66474b6c1e5843c3dbc96bde52e5a7076c6cc by courbet
[llvm-exegesis] Document `repetition-mode`.

Reviewers: gchatelet

Subscribers: tschuett, mstojanovic, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74114
The file was modifiedllvm/docs/CommandGuide/llvm-exegesis.rst
Commit 0ea20ebf2d46072c36a0be49fdf4061480a42206 by Raphael Isemann
[lldb] Add test for calling const functions
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/function-qualifiers/TestCppFunctionQualifiers.py
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/function-qualifiers/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/function-qualifiers/Makefile
Commit 7603778922ab1e93ec3d9da451fcd89c3bad9ec2 by Raphael Isemann
[lldb][NFC] Move call-overidden-method test to lang/cpp/ folder
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/TestCallOverriddenMethod.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/TestCallOverriddenMethod.py
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile
The file was removedlldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/main.cpp
The file was removedlldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/main.cpp
Commit 09a88120c9269a9af0d80bc59afb2cb5806140ff by michael.hliao
[clang][driver][ARM] Clean up ARM target & feature checking in clang driver.

Summary:
- Similar to other targets, instead of passing a toolchain, a driver
  argument should be passed into `arm::getARMTargetFeatures`. Aslo, that
  routine should honor the specified triple. Refactor
  `arm::getARMFloatABI` with 2 separate interfaces. One has the original
  parameters and the other uses the driver and the specified triple.
- That fixes an issue when target & features are queried during the
  offload compilation, where the specified triple should be checked
  instead of a effective triple. A previously failed test is re-enabled.

Subscribers: kristof.beyls, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74020
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.cpp
The file was modifiedclang/test/Driver/cuda-simple.cu
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 0a8cae10feb283b7a0886c5b52055de3db8b0e10 by sam.parker
[ReachingDefs] Make isSafeToMove more strict.

Test that we're not moving the instruction through instructions with
side-effects.

Differential Revision: https://reviews.llvm.org/D74058
The file was modifiedllvm/lib/CodeGen/ReachingDefAnalysis.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/move-def-before-start.mir
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Commit 93b0536fd2af8a7a0be6cebd0f768a89d64cac30 by sjoerd.meijer
[RDA] getInstFromId: find instructions. NFC.

To find the instruction in the block for a given ID, first a count and then a
lookup was performed in the map, which is almost the same thing, thus doing
double the work.

Differential Revision: https://reviews.llvm.org/D73866
The file was modifiedllvm/include/llvm/CodeGen/ReachingDefAnalysis.h
The file was modifiedllvm/lib/CodeGen/ReachingDefAnalysis.cpp
Commit 20a1d03d778dedaa91cbf8ff63d4be92c2291ca0 by sjoerd.meijer
[ARM] peephole-bitcast test change. NFC.

This test case was XFAIL'ed because the peepholer was missing an optimisation.
But the peepholer is now able to handle this case, so enable this test. I will
close the corresponding and very old PR11364.
The file was modifiedllvm/test/CodeGen/ARM/peephole-bitcast.ll
Commit d6da8a1d945361327b8da79195dbfccc2e533e87 by hokein.wu
[clangd] don't rename on protobuf symbols.

Reviewers: kadircet

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

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74036
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
Commit ed5998d21e4bdffe4baae918bc9065ae8435c49c by jeremy.morse
Revert "[SafeStack][DebugInfo] Insert DW_OP_deref in correct location"

This reverts commit 2d3174c4df6b5f4131346828d0a31675d80d6e2b.

The overall solution for this problem is reverting D68945, which wasn't
handling the -O0 path through the codegen backend correctly. See:
discussion in D73526.
The file was modifiedllvm/test/DebugInfo/COFF/types-array-advanced.ll
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.cpp
The file was modifiedllvm/test/DebugInfo/X86/safestack-byval.ll
The file was removedllvm/test/DebugInfo/X86/safestack-deref.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
Commit ece761427f63de96ee52bbd6be1c61b07967a917 by jeremy.morse
Revert "[DebugInfo][DAG] Distinguish different kinds of location indirection"

This reverts commit 3137fe4d23eeb8df08c03e9111465325eeafe08e.

I'm backing out D68945, which this patch is a follow up for. It'll be
re-landed when D68945 is fixed.

The changes to dbg-value-func-arg.ll occur because our handling of certain
kinds of location now mixes up indirection that happens at different points
in a DIExpression. While this is a regression, it's a return to the prior
behaviour while a better patch is sought.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was removedllvm/test/DebugInfo/X86/stack-arg-deref.ll
The file was modifiedllvm/test/CodeGen/X86/dbg-value-func-arg.ll
Commit 6531a78ac4b5b229bce272706593a0bc873877d7 by jeremy.morse
Revert "[DebugInfo] Remove some users of DBG_VALUEs IsIndirect field"

This reverts commit ed29dbaafa49bb8c9039a35f768244c394411fea.

I'm backing out D68945, which as the discussion for D73526 shows, doesn't
seem to handle the -O0 path through the codegen backend correctly. I'll
reland the patch when a fix is worked out, apologies for all the churn.
The two parent commits are part of this revert too.

Conflicts:
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/DebugInfo/X86/dbg-addr-dse.ll

SelectionDAGBuilder conflict is due to a nearby change in e39e2b4a79c6
that's technically unrelated. dbg-addr-dse.ll conflicted because
41206b61e30c (legitimately) changes the order of two lines.

There are further modifications to dbg-value-func-arg.ll: it landed after
the patch being reverted, and I've converted indirection to be represented
by the isIndirect field rather than DW_OP_deref.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FastISel.cpp
The file was modifiedllvm/test/DebugInfo/ARM/float-stack-arg.ll
The file was modifiedllvm/test/DebugInfo/X86/op_deref.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
The file was modifiedllvm/test/DebugInfo/ARM/PR16736.ll
The file was modifiedllvm/test/DebugInfo/X86/vla.ll
The file was modifiedllvm/test/DebugInfo/X86/dbg-addr-dse.ll
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.cpp
The file was modifiedllvm/test/DebugInfo/X86/parameters.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/debug-insts.ll
The file was modifiedllvm/test/DebugInfo/X86/spill-nontrivial-param.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/debug-cpp.ll
The file was modifiedllvm/test/CodeGen/ARM/debug-info-arg.ll
The file was modifiedllvm/test/DebugInfo/X86/safestack-byval.ll
The file was modifiedllvm/test/CodeGen/PowerPC/debuginfo-stackarg.ll
The file was modifiedllvm/test/DebugInfo/X86/dbg-addr.ll
The file was modifiedllvm/test/DebugInfo/COFF/pieces.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
The file was modifiedllvm/test/CodeGen/X86/dbg-value-func-arg.ll
The file was modifiedllvm/test/DebugInfo/X86/spill-indirect-nrvo.ll
The file was modifiedllvm/test/DebugInfo/X86/live-debug-vars-dse.mir
Commit f70109f70ca9cdc7d416b8952a79c14e388b3180 by sjoerd.meijer
[doc] typo in optimisation remark example

Fix typo in the vectorisation optimisation remarks example:

  -Rpass-missed=loop-vectorized
=>
  -Rpass-missed=loop-vectorize
The file was modifiedllvm/docs/Vectorizers.rst
Commit 0fff6593f8962784d1e2e99994d2ad986f2759a8 by sven.vanhaastregt
[OpenCL] Reduce size of builtin function tables

Reduce the size of some of the TableGen'ed OpenCL builtin function
tables:

- Use bit fields for bools such that they are packed together.  This
   saves about 7kb.

- Use unsigned short for SignatureTable.  This saves about 10kb.
The file was modifiedclang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
Commit ca9fd22adb5a633429ea85d2d62e5414ca35ab11 by hokein.wu
[clangd] Set "spelled" flag for constructor references.

Summary:
DeclarationName for cxx constructor is special, it is not an identifier.
thus the "Spelled" flag are not set for all ctor references, this patch
fixes it.

Reviewers: kbobyrev

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

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74125
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
The file was modifiedclang-tools-extra/clangd/index/SymbolID.h
Commit 8707c246bcc0f6758e25bd3eb3ddf9bf87ab4324 by phosek
Revert "[CMake] Passthrough CMAKE_SYSTEM_NAME to default builtin and runtimes target"

This reverts commit 491a4a7ac9e39fd4cc20a21e7da1961dfc7fc275 as it
broke the runtimes build on Darwin.
The file was modifiedllvm/runtimes/CMakeLists.txt
Commit 2724ada8d2ddfec8f1e3d39f1d02f8b5d5224f1b by joker-eph
Revert "[mlir] Adds affine loop fusion transformation function to LoopFusionUtils."

This reverts commit 64871f778d528b34aabeae6286711a61ad9ea7ee.

ASAN indicates a use-after-free in in mlir::canFuseLoops(mlir::AffineForOp, mlir::AffineForOp, unsigned int, mlir::ComputationSliceState*) lib/Transforms/Utils/LoopFusionUtils.cpp:202:41
The file was modifiedmlir/include/mlir/Transforms/LoopFusionUtils.h
The file was modifiedmlir/lib/Transforms/Utils/LoopFusionUtils.cpp
The file was removedmlir/test/Transforms/loop-fusion-transformation.mlir
The file was modifiedmlir/test/lib/Transforms/TestLoopFusion.cpp
Commit 2694cc3dca94dbaec15eea40bf69872e0b0d8a5c by mikhail.maltsev
[ARM][MVE] Add fixed point vector conversion intrinsics

Summary:
This patch implements the following Arm ACLE MVE intrinsics:
* vcvtq_n_*
* vcvtq_m_n_*
* vcvtq_x_n_*

and two corresponding LLVM IR intrinsics:
* int_arm_mve_vcvt_fix (vcvtq_n_*)
* int_arm_mve_vcvt_fix_predicated (vcvtq_m_n_*, vcvtq_x_n_*)

Reviewers: simon_tatham, ostannard, MarkMurrayARM, dmgreen

Reviewed By: MarkMurrayARM

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

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D74134
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vcvt.ll
The file was modifiedclang/test/Sema/arm-mve-immediates.c
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vcvt.c
Commit b68b8be8e2b930056d134a2632dd7a80ad0c701c by benny.kra
[mlir-tblgen] Stop leaking PredNodes

Technically a leak in tblgen is harmless, but this makes asan builds of
mlir very noisy. Just use a SpecificBumpPtrAllocator that knows how to
clean up after itself.
The file was modifiedmlir/lib/TableGen/Predicate.cpp
Commit b373ec8ce76a00cd079f70d108b13129c3a4a7b9 by sd.fertile
[AIX] Implement caller arguments passed in stack memory.

This patch implements the caller side of placing function call arguments
in stack memory. This removes the current limitation where LLVM on AIX
will report fatal error when arguments can't be contained in registers.

There is a particular oddity that a float argument that passes in a
register and also in stack memory requires that the caller initialize
both. From what AIX "ABI" documentation I have it's not clear that this
needs to be done, however, it is necessary for compatibility with the
AIX XL compiler so I think it's best to implement it the same way.

Note a later patch will follow to address the callee side.

Differential Revision: https://reviews.llvm.org/D73209
The file was removedllvm/test/CodeGen/PowerPC/aix-stackargs.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-cc-abi.ll
Commit 318d0ede572080f18d0106dbc354e11c88329a84 by michael.hliao
Fix warning on unused variables. NFC.
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit 7ebe9cc4fc2d97ec0ed2a6038be25b2a7ed1aac2 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/source/Target/StackFrameRecognizer.cpp
The file was modifiedlldb/include/lldb/Target/StackFrameRecognizer.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was addedlldb/test/Shell/Recognizer/Inputs/assert.c
The file was modifiedlldb/source/Core/FormatEntity.cpp
The file was modifiedlldb/docs/use/formatting.rst
The file was addedlldb/source/Target/AssertFrameRecognizer.cpp
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/source/Target/Thread.cpp
The file was modifiedlldb/include/lldb/Core/FormatEntity.h
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py
The file was modifiedlldb/source/Target/CMakeLists.txt
The file was addedlldb/test/Shell/Recognizer/assert.test
The file was modifiedlldb/source/API/SBThread.cpp
The file was addedlldb/include/lldb/Target/AssertFrameRecognizer.h
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py
The file was modifiedlldb/include/lldb/Target/Thread.h
Commit dab7bdad049221113ccf8c8ed9f7ead98809cef1 by peter
scudo: Delete unused class ScudoByteMap. NFCI.

The class is only used in SizeClassAllocator32 in 64-bit mode, but we don't
use that class in 64-bit mode.

Differential Revision: https://reviews.llvm.org/D74099
The file was modifiedcompiler-rt/lib/scudo/standalone/primary32.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/bytemap_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/bytemap.h
Commit 5a8c0f552b382cbf4397aff9cc3b0d9418bdf3ff by Matthew.Arsenault
AMDGPU/GlobalISel: Avoid handling registers twice in waterfall loops

When multiple instructions are moved into a waterfall loop, it's
possible some of them re-use the same operands. Avoid creating
multiple sequences of readfirstlanes for them. None of the current
uses will hit this, but will be used in a future patch.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit b8f4e0a8234377cdac8740addfdabee339b12d2a by labath
[lldb] Remove reset(nullptr_t) overload from SharingPtr

std::shared_ptr has no such method. This makes the two more similar.
The file was modifiedlldb/include/lldb/Utility/SharingPtr.h
The file was modifiedlldb/include/lldb/Breakpoint/Watchpoint.h
Commit 25de3f98b8a7436404dbc185040645f2549a8a8f by 31459023+hctim
[GWP-ASan] Fix PRNG to use IE TLS.

Summary:
GWP-ASan's PRNG didn't use Initial-Exec TLS. Fix that to ensure that we don't
have infinite recursion, and also that we don't allocate a DTV on Android when
GWP-ASan is touched.

Test coverage ensuring that the sample counter is UINT32_MAX for an
uninitialised GWP-ASan is provided by gwp_asan/tests/late_init.cpp.

Reviewers: pcc, cferris

Reviewed By: pcc

Subscribers: #sanitizers, llvm-commits, rprichard, eugenis

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D74135
The file was modifiedcompiler-rt/lib/gwp_asan/random.h
The file was modifiedcompiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/random.cpp
Commit 600f2e1c4de59a48a765d9ac8eadab2f4307fa30 by craig.topper
[X86] Remove SETB_C8r/SETB_C16r pseudo instructions. Use SETB_C32r and EXTRACT_SUBREG instead.

Only 32 and 64 bit SBB are dependency breaking instructons on some
CPUs. The 8 and 16 bit forms have to preserve upper bits of the GPR.

This patch removes the smaller forms and selects the wider form
instead. I had to do this with custom code as the tblgen generated
code glued the eflags copytoreg to the extract_subreg instead of
to the SETB pseudo.

Longer term I think we can remove X86ISD::SETCC_CARRY and use
(X86ISD::SBB zero, zero). We'll want to keep the pseudo and select
(X86ISD::SBB zero, zero) to either a MOV32r0+SBB for targets where
there is no dependency break and SETB_C32/SETB_C64 for targets
that have a dependency break. May want some way to avoid the MOV32r0
if the instruction that produced the carry flag happened to def a
register that we can use for the dependency.

I think the flag copy lowering should be using NEG instead of SUB to
handle SETB. That would avoid the MOV32r0 there. Or maybe it should
use a ADC with -1 to recreate the carry flag and keep the SETB?
That would avoid a MOVZX on the input of the SUB.

Differential Revision: https://reviews.llvm.org/D74024
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedllvm/test/CodeGen/X86/2010-08-04-MaskedSignedCompare.ll
The file was modifiedllvm/test/CodeGen/X86/flags-copy-lowering.mir
The file was modifiedllvm/lib/Target/X86/X86FlagsCopyLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/sbb.ll
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-compare-any_of.ll
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit 65f0785fff0e45f8cd1b9e90328597197beef899 by Vedant Kumar
[ubsan] Omit return value check when return block is unreachable

If the return block is unreachable, clang removes it in
CodeGenFunction::FinishFunction(). This removal can leave dangling
references to values defined in the return block if the return block has
successors, which it /would/ if UBSan's return value check is emitted.

In this case, as the UBSan check wouldn't be reachable, it's better to
simply not emit it.

rdar://59196131
The file was addedclang/test/CodeGenObjC/ubsan-nullability-return-unreachable.m
The file was modifiedclang/lib/CodeGen/CGCall.cpp
Commit d53c8c6af5223e4098b395175f0bfaf75721fb79 by stilis
[lldb/tests] Correctly configure the lldb dotest arguments

Summary:
When the generator used for CMake is a multi-configuration generator (such as VS), the arguments passed to dotest are not currently configured correctly. There are a couple of issues:
1) The per-configuration files are all generated for the same configuration since the for loop overwrites the properties
2) Not all of the parameters are configured in the lit cfg, so they end up with %(build_mode)s as configuration and they point to non-existent paths

Reviewers: JDevlieghere

Reviewed By: JDevlieghere

Subscribers: mgorny, lldb-commits, asmith

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74093
The file was modifiedlldb/utils/lldb-dotest/CMakeLists.txt
The file was modifiedlldb/utils/lldb-dotest/lldb-dotest.in
The file was modifiedlldb/test/API/lit.site.cfg.py.in
Commit 4ed205c816e9a34de938525b28d6151adf912fe1 by yamauchi
[PGO][PGSO] Enable profile guided size optimization for non-cold code under instrumentation PGO.

Summary:
This enables it for large working set size cases only.

This does not enable it under sample PGO.

Reviewers: davidxl

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74073
The file was modifiedllvm/lib/Transforms/Utils/SizeOpts.cpp
Commit 8d19af685c9b1ba50df0ed739dbfffd0aa7686ee by 31459023+hctim
[GWP-ASan] Use weak abort message definition.

Summary:
New shard out of the Check() function for GWP-ASan uses
android_set_abort_message. This is happily present on bionic Android,
but not Android for glibc host x86. Fix up to use the weak definition
always, so we don't have to worry.

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: #sanitizers, llvm-commits, pcc, cferris

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D74142
The file was modifiedcompiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/definitions.h
Commit 4175d7e22e1c70c0d2c8ff4a70235e8ec3461e5e by craig.topper
[X86] Custom isel floating point X86ISD::CMP on pre-CMOV targets. Eliminate ConvertCmpIfNecessary

If we don't have cmov, X87 compares write to FPSW and we need to
move the bits to EFLAGS to use as JCC/SETCC/CMOV conditions.

Previously this was done by calling ConvertCmpIfNecessary in
multiple places which would emit the extra code for the FNSTSW,
a shift, a truncate, and a SAHF instructions. Isel would then
select trunc+X86ISD::CMP to a FUCOM instruction that produces FPSW.

This patch centralizes all of the handling into a single custom
isel handler. This allows us to remove ConvertCmpIfNecessary and
a couple target specific ISD opcodes.

Differential Revision: https://reviews.llvm.org/D73863
The file was modifiedllvm/lib/Target/X86/X86InstrFPStack.td
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 17d0091d662b414600f0a31dcb3fe6cc353879a7 by medismail.bennani
[lldb/Target] Remove extra semicolon in AssertFrameRecognizer (NFC)

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/Target/AssertFrameRecognizer.cpp
Commit 31cf5819987a0b052338d7a6f41cbad5ba224b36 by labath
[lldb] Explicitly qualify calls to std::static_pointer_cast

Due to a c++ quirk, these are found through ADL only when a function with that
name is found through regular lookup. We have one such function in SharingPtr.h,
but I am trying to remove it.
The file was modifiedlldb/include/lldb/Interpreter/CommandReturnObject.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
Commit 1d11d5f6242206f4d0dbc11623f73cdf2173a087 by jan.kratochvil
[lldb] [NFC] Refactor GetDWARFDeclContext to return DWARFDeclContext

Suggested by Pavel Labath.

Differential Revision: https://reviews.llvm.org/D73787
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
Commit 208470dd5d0a46bc3c24b66489b687eda4954262 by kevin.neal
[FPEnv][X86] Platform-specific builtin constrained FP enablement

When constrained floating point is enabled the X86-specific builtins don't
use constrained intrinsics in some cases. Fix that.

Differential Revision: https://reviews.llvm.org/D73570
The file was addedclang/test/CodeGen/sse-builtins-constrained.c
The file was addedclang/test/CodeGen/fma-builtins-constrained.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was addedclang/test/CodeGen/avx512f-builtins-constrained.c
Commit 727362e87bb3e35e812a44f41d08791683a04f5d by maskray
[MC][ELF] Rename MC related "Associated" to "LinkedToSym"

"linked-to section" is used by the ELF spec. By analogy, "linked-to
symbol" is a good name for the signature symbol.  The word "linked-to"
implies a directed edge and makes it clear its relation with "sh_link",
while one can argue that "associated" means an undirected edge.

Also, combine tests and add precise SMLoc to improve diagnostics.

Reviewed By: eugenis, grimar, jhenderson

Differential Revision: https://reviews.llvm.org/D74082
The file was removedllvm/test/MC/ELF/section-metadata-err4.s
The file was modifiedllvm/lib/MC/MCContext.cpp
The file was modifiedllvm/lib/MC/MCParser/ELFAsmParser.cpp
The file was removedllvm/test/MC/ELF/section-metadata-err2.s
The file was addedllvm/test/MC/ELF/section-linkorder-error.s
The file was removedllvm/test/MC/ELF/metadata-declaration-errors.s
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was removedllvm/test/MC/ELF/section-metadata-err1.s
The file was modifiedllvm/lib/MC/MCSectionELF.cpp
The file was modifiedllvm/include/llvm/MC/MCSectionELF.h
The file was modifiedllvm/include/llvm/MC/MCContext.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was removedllvm/test/MC/ELF/section-metadata-err3.s
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
Commit 76986bdc4633b0a8bdee1ad4f2e279f17e7f747a by Matthew.Arsenault
[GlobalISel] Legalize more G_FP(EXT|TRUNC) libcalls.

This adds a new helper function for retrieving the
floating point type corresponding to the specified
bit-width.
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/GISelMITest.h
The file was modifiedllvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
Commit 03a2d0045d2c11f4601bb2cbf5cdd5389ed2d72a by Matthew.Arsenault
AMDGPU: Add compile time hack for hasCFUser

Assume the control flow intrinsic results are never casted, and early
exit based on the type.
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit d78cefb1601070cb028b61bbc1bd6f25a9c1837c by Jessica Paquette
[AArch64][GlobalISel] Emit TBZ for SGT cond branches against -1

When we have a G_BRCOND fed by a sgt compare against -1, we can just emit a TBZ.

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

Also while we're here, properly scope the commutative constant check in
`selectCompareBranch`, since it sometimes would call
`getConstantVRegValWithLookThrough` twice.

Differential Revision: https://reviews.llvm.org/D74149
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/tbz-sgt.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit 6f5a159eab8d3fecdbbc741a38c970c0149b3c96 by michael.hliao
[clang][driver] Clean up unnecessary reference to TC. NFC.
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit da3dc0011e06c9f1aebe71d76eae92dc76e3db2e by richard
PR44684: Look through parens and similar constructs when determining
whether a call is to a builtin.

We already had a general mechanism to do this but for some reason
weren't using it. In passing, check for the other unary operators that
can intervene in a reasonably-direct function call (we already handled
'&' but missed '*' and '+').

This reverts commit aaae6b1b617378362462c1685e754813ed82b394,
reinstating af80b8ccc5772c14920d4554b7ca7e15f2fad1c4, with a fix to
clang-tidy.
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseUncaughtExceptionsCheck.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/test/Parser/builtin_classify_type.c
The file was modifiedclang/test/Sema/constant-builtins.c
The file was modifiedclang/lib/AST/ExprConstant.cpp
Commit 8ecde3ac34bbb5a8d53d8ec5cd32867658646df1 by alexandre.ganea
[Clang] Remove unused #pragma clang __debug handle_crash

As discussed in D70568, remove this because it isn't used anywhere, and I think it's better to go through real crashes for testing (#pragma clang __debug crash).
Also remove the support function llvm::CrashRecoveryContext::HandleCrash() which was added at the same time by @ddunbar.

Differential Revision: https://reviews.llvm.org/D74063
The file was modifiedllvm/include/llvm/Support/CrashRecoveryContext.h
The file was modifiedllvm/lib/Support/CrashRecoveryContext.cpp
The file was modifiedclang/lib/Lex/Pragma.cpp
Commit 80e17e5fcc09dc5baa940022e6988fcb08c5d92d by kevin.neal
[FPEnv][X86] Speculative fix for failures introduced by eda495426.

Differential Revision: https://reviews.llvm.org/D73570
The file was modifiedclang/test/CodeGen/sse-builtins-constrained.c
The file was modifiedclang/test/CodeGen/avx512f-builtins-constrained.c
The file was modifiedclang/test/CodeGen/fma-builtins-constrained.c
Commit 733923a97dff2d2c6096d6b17c3987421be69ab6 by stilis
[lldb\utils] Place lldb-repro in a per-configuration directory to support multi-configuration generators

Summary: Currently, lldb-repro is placed in the wrong location for multi-configuration generators. For example, in the case of VS, it is placed in a directory $(Configuration) instead of in each of Debug, Release, etc.

Reviewers: JDevlieghere

Reviewed By: JDevlieghere

Subscribers: mgorny, lldb-commits, asmith

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74148
The file was modifiedlldb/utils/lldb-repro/CMakeLists.txt
The file was modifiedlldb/utils/lldb-dotest/CMakeLists.txt
Commit 5fedc2b410853a6aef05e8edf19ebfc4e071e28f by alexandre.ganea
[Clang] Avoid crashing when generating crash diagnostics when '#pragma clang __debug [assert|crash|parser_crash|llvm_fatal_error|llvm_unreachable|overflow_stack]' are used

Previously, when the above '#pragma clang __debug' were used, Driver::generateCompilationDiagnostics() wouldn't work as expected.
The 'clang -E' process created for diagnostics would crash, because it would reach again the intended crash in Pragma.cpp, PragmaDebugHandler::HandlePragma() while preprocessing.

When generating crash diagnostics, we now disable the intended crashing behavior with a new cc1 flag -disable-pragma-debug-crash.

Notes:
- #pragma clang __debug llvm_report_fatal isn't currently tested by crash-report.c, because it needs exit() to be handled differently in -fintegrated-cc1 mode. See https://reviews.llvm.org/D73742 for an upcoming fix.
- This is also needed to further validate that -MF is removed from the 'clang -E ' crash diagnostic cmd-line (currently not the case). See https://reviews.llvm.org/D74076 for an upcoming fix.

Differential Revision: https://reviews.llvm.org/D74070
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Lex/PreprocessorOptions.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Lex/Pragma.cpp
The file was modifiedclang/test/Driver/crash-report.c
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedclang/test/Driver/output-file-cleanup.c
Commit f41ec709d9d388dc43469e6ac7f51b6313f7e4af by alexandre.ganea
[Clang][Driver] Remove -M group options before generating crash diagnostics

Previously, when using '-MF file.d' on the command line, 'file.d' would not be deleted after a compiler crash.

The code path in Compilation::initCompilationForDiagnostics()  that was modifying 'TranslatedArgs' had no effect, because 'TCArgs' was already created after the crash.

This was covered by clang/test/Driver/output-file-cleanup.c, the test was succeeding by fluke because Driver::generateCompilationDiagnostics() would fail to launch the subsequent clang -E (see D74070 for a fix for this). So the test was only covering Driver.cpp, C.CleanupFileMap().
After this patch, both cleanup and removal of -MF are exercised.

Differential Revision: https://reviews.llvm.org/D74076
The file was modifiedclang/lib/Driver/Compilation.cpp
The file was modifiedclang/test/Driver/output-file-cleanup.c
Commit 38fd69995fc5a6f16e0aa132a46e5ccdbc2eebb3 by saar
[Concepts] Fix incorrect check when instantiating abbreviated template type-constraints

We would incorrectly check whether the type-constraint had already been initialized, causing us
to ignore the invented template type constraints entirely.

Also, TemplateParameterList would store incorrect information about invented type parameters
when it observed them before their type-constraint was initialized, so we recreate it after
initializing the function type of an abbreviated template.
The file was modifiedclang/test/SemaTemplate/instantiate-abbreviated-template.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
Commit ec9a94af4d5fb3270f2451fcbec5a3a99f4ac03a by craig.topper
[X86] Use MVT::i8 instead of MVT::i64 for shift amount in BuildSDIVPow2

X86 uses i8 for shift amounts. This code can fail on a 32-bit target
if it runs after type legalization.

This code was copied from AArch64 and modified for X86, but the
shift amount wasn't changed to the correct type for X86.

Fixes PR44812
The file was addedllvm/test/CodeGen/X86/pr44812.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit f2d7aad1ce2fa15c35c9b0a8be5f0f5bd2244ef2 by craig.topper
[X86] Add the rest of the tests that were supposed to go with 90c31b0f428fe911255277a60782ea9114700475

I forgot to git add them when applying the patch from phab.
The file was addedllvm/test/CodeGen/X86/fp-round.ll
Commit 924c9030a89d0ec258bd3a2334bda3edfc17f0f0 by dimitry
[compiler-rt] clang-format FreeBSD-specific sanitizer sources

Formatting only, no functional change intended.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_freebsd.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.cpp
Commit 516f6f83ce6706cea1129e5dc8ecf96d93dc3ec4 by phosek
Revert "[CMake] Link against ZLIB::ZLIB"

This reverts commit 00b3d49d3a86490f0596100b23cd2c3a49334c75 as this
broke the llvm-config output.
The file was modifiedllvm/lib/Support/CMakeLists.txt
Commit 5e3fe22c636274d4308400b0c2c9bc533ed0c49b by Jonas Devlieghere
[lldb/Reproducers] Refactor GetStopReasonExtendedBacktraces (NFC)

Refactore GetStopReasonExtendedBacktraces so that the reproducer macro
is passed an instrumented copy constructor rather than the constructor
taking a ThreadCollectionSP, which is not instrumented.
The file was modifiedlldb/source/API/SBThread.cpp
Commit 2d591786343288828d00b9601693bb9d1663c2a9 by Jonas Devlieghere
[lldb/Reproducers] Add missing strings for redirect macro
The file was modifiedlldb/include/lldb/Utility/ReproducerInstrumentation.h
Commit ac8a12c874cc7fb133f470549a2a31c59bb4243e by Amara Emerson
[GlobalISel] Use G_ZEXTLOAD instead of an anyextending load for non-pow-2 legalization.

Fixes PR43288
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-non-pow2-load-store.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit 7dd2810907b87fbecb2ca7c111c2ad37bf1563e9 by eugenis
Fix MSAN failure on Function destruction

Summary:
When Function is destroyed, GlobalValue base class is destroyed, then
Value destructor would call use_empty, which ultimately attempts to
downcast 'this' to GlobalValue. This is UB, and is caught my MSAN as
accessing uninitialized memory.

Call materialized_use_empty, which doesn't call
assertModuleIsMaterializedImpl().

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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

Patch by Antonio Maiorano.
The file was modifiedllvm/lib/IR/Value.cpp
Commit 8e1ca948ccfdf0ead90adf63d6127f56d9d46586 by huihuiz
Reland "[AArch64] Fix data race on RegisterBank initialization."

Update lambda function argument "[this](const auto &TRI)" with
[this](const TargetRegisterInfo &TRI).

Looks like a bug in g++-6, there is no issue compiling using g++-9.
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
Commit e0d1e83e23637324cddfb7ad57c0ae603e1313c8 by huihuiz
Revert "Reland "[AArch64] Fix data race on RegisterBank initialization.""

This reverts commit 8e1ca948ccfdf0ead90adf63d6127f56d9d46586.

New failing at
http://lab.llvm.org:8011/builders/clang-armv7-linux-build-cache/builds/25929

I did reproduce and pass the previous failure at
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-autoconf/builds/46803/steps/annotate/logs/stdio
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
Commit 4fe839ef3a51e0ea2e72ea2f8e209790489407a2 by Jonas Devlieghere
[CMake] Rename EXCLUDE_FROM_ALL and make it an argument to add_lit_testsuite

EXCLUDE_FROM_ALL means something else for add_lit_testsuite as it does
for something like add_executable. Distinguish between the two by
renaming the variable and making it an argument to add_lit_testsuite.

Differential revision: https://reviews.llvm.org/D74168
The file was modifiedcompiler-rt/test/tsan/CMakeLists.txt
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/test/CMakeLists.txt
The file was modifiedcompiler-rt/test/fuzzer/CMakeLists.txt
The file was modifiedlldb/test/Shell/CMakeLists.txt
The file was modifiedclang/utils/perf-training/CMakeLists.txt
The file was modifiedopenmp/cmake/OpenMPTesting.cmake
The file was modifiedcompiler-rt/test/ubsan/CMakeLists.txt
The file was modifiedopenmp/runtime/test/CMakeLists.txt
The file was modifiedcompiler-rt/test/asan/CMakeLists.txt
Commit f5cdfb34cd4b92bc6475f6c61f2996ada3a2ad1f by Jason Molenda
Detect attach fail in debugserver due to non-interactive
debug session.
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
Commit ad0e03fd4c8066843f4138e44661ee0287ceb631 by kevin.neal
Revert "[FPEnv][X86] Platform-specific builtin constrained FP enablement"

This reverts commit 208470dd5d0a46bc3c24b66489b687eda4954262.

Tests fail:
error: unable to create target: 'No available targets are compatible with triple "x86_64-apple-darwin"'

This happens on clang-hexagon-elf, clang-cmake-armv7-quick, and
clang-cmake-armv7-quick bots.

If anyone has any suggestions on why then I'm all ears.

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

Revert "[FPEnv][X86] Speculative fix for failures introduced by eda495426."

This reverts commit 80e17e5fcc09dc5baa940022e6988fcb08c5d92d.

The speculative fix didn't solve the test failures on Hexagon, ARMv6, and
MSVC AArch64.
The file was removedclang/test/CodeGen/avx512f-builtins-constrained.c
The file was removedclang/test/CodeGen/fma-builtins-constrained.c
The file was removedclang/test/CodeGen/sse-builtins-constrained.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
Commit 2a3fa0fc5cd7d3398c0293915b0e569eaa0be24b by alexandre.ganea
[Support] When using SEH, create a impl instance for CrashRecoveryContext. NFCI.

Previously, the SEH codepath in CrashRecoveryContext didn't create a CrashRecoveryContextImpl. The other codepaths (VEH and Unix) were creating it.

When running with -fintegrated-cc1, this is needed to handle exit() as a jump to CrashRecoveryContext's exception filter, through a call to RaiseException. In that situation, we need a user-defined exception code, which is later interpreted as an exit() by the exception filter. This in turn needs to set RetCode accordingly, *inside* the exception filter, and *before* calling HandleCrash().

Differential Revision: https://reviews.llvm.org/D74078
The file was modifiedllvm/lib/Support/CrashRecoveryContext.cpp
Commit df51b685ef1d227a8068ba0f8cdc2bbebf089c53 by Jessica Paquette
Revert "[AArch64][GlobalISel] Emit TBZ for SGT cond branches against -1"

This reverts commit d78cefb1601070cb028b61bbc1bd6f25a9c1837c.

One of this and the SLT change broke set_shadow_test.c, so I'm reverting until
I can fix it.
The file was removedllvm/test/CodeGen/AArch64/GlobalISel/tbz-sgt.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit 3e5d837cdabca5a7f0e965fa454b169bdd45b06a by Jessica Paquette
Revert "[AArch64][GlobalISel] Emit TBNZ with G_BRCOND where the condition is SLT"

This reverts commit a3738414072900ace9cbbe209d0195a3443d1d54.

It looks like this broke set_shadow_test.c, so I'm reverting until I can fix it.

I also reverted the SGT change because it's probably also broken.
The file was removedllvm/test/CodeGen/AArch64/GlobalISel/tbnz-slt.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit 96c899449b61b866b583560a49c4627f561336fc by richard
C++ DR2026: static storage duration variables are not zeroed before
constant initialization.

Removing this zeroing regressed our code generation in a few cases, also
fixed here. We now compute whether a variable has constant destruction
even if it doesn't have a constant initializer, by trying to destroy a
default-initialized value, and skip emitting a trivial default
constructor for a variable even if it has non-trivial (but perhaps
constant) destruction.
The file was modifiedclang/test/SemaTemplate/instantiate-self.cpp
The file was modifiedclang/test/CXX/drs/dr20xx.cpp
The file was modifiedclang/www/cxx_dr_status.html
The file was modifiedclang/test/SemaCXX/constant-expression-cxx1y.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
The file was modifiedclang/test/CXX/special/class.init/class.inhctor.init/p1.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/CodeGen/CGExprConstant.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/test/SemaCXX/constexpr-value-init.cpp
The file was modifiedclang/test/SemaCXX/attr-require-constant-initialization.cpp
The file was modifiedclang/test/CodeGenCXX/cxx2a-thread-local-constinit.cpp
The file was modifiedclang/test/SemaCXX/constexpr-printing.cpp
Commit 982780648124243131c6617c0d97fc1cb02d4e75 by changpeng.fang
AMDGPU: Limit the search in finding the instruction pattern for v_swap generation.

Summary:
  Current implementation of matchSwap in SIShrinkInstructions searches the entire
use_nodbg_operands set to find the possible pattern to generate v_swap instruction.
This approach will lead to a O(N^3) in compile time for SIShrinkInstructions.

But in reality, the matching pattern only exists within nearby instructions in the
same basic block. This work limits the search to a maximum of 16 instructions, and has
a linear compile time comsumption.

Reviewers:
  rampitec, arsenm

Differential Revision: https://reviews.llvm.org/D74180
The file was modifiedllvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/v_swap_b32.mir
Commit 96400ae2a45c5038ebb4f012f90ffc6dfb30369f by craig.topper
Recommit "[FPEnv][X86] Platform-specific builtin constrained FP enablement"

With REQUIRES: x86-register-target added to the tests.

Also remove some unneeded FIXMEs

But add a FIXME for bad IR generation for FMADDSUB/FMSUBADD with
constrained FP.

Original patch by Kevin P. Neal
The file was addedclang/test/CodeGen/avx512f-builtins-constrained.c
The file was addedclang/test/CodeGen/sse-builtins-constrained.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was addedclang/test/CodeGen/fma-builtins-constrained.c
Commit 8eb9b67bdacdaefc82a61921e52d2908f6f06931 by Jason Molenda
Add final description of why attach failed with poss error string.
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
Commit 2863c269683b89961025d8d5c61a87ade90d3be3 by Stanislav.Mekhanoshin
Revert "AMDGPU: Limit the search in finding the instruction pattern for v_swap generation."

This reverts commit 982780648124243131c6617c0d97fc1cb02d4e75.
The file was modifiedllvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/v_swap_b32.mir
Commit cacc3b7a557af837a3ae01cd085e3d435aae6e1f by Stanislav.Mekhanoshin
[AMDGPU] Cleanup assumptions about generated subregs

We are using countPopulation on a LaneBitmask to determine
a number of registers it covers. This is the assumption which
does not necessarily need to be true. It is not changed but
factored into a single call SIRegisterInfo::getNumCoveredRegs().

Some other places are cleaned up with respect to assumptions
about subreg indexes values and tablegen behavior.

Differential Revision: https://reviews.llvm.org/D74177
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNRegBankReassign.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNRegPressure.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIAddIMGInit.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
Commit 7931e8eee3dafe64101dcc1aaaae88276ba81071 by peter
Update hwasan docs to cover outlined checks and globals.

Differential Revision: https://reviews.llvm.org/D74150
The file was modifiedclang/docs/HardwareAssistedAddressSanitizerDesign.rst
Commit 1eaa31ce0e5242dbb4c90084952bede678e360a2 by riddleriver
[mlir][DialectConversion] Change erroneous return to a continue

This fixes a nasty bug where the loop would return prematurely when
notifying the argument converter that an operation was removed.
The file was modifiedmlir/lib/Transforms/DialectConversion.cpp
Commit fafddbd956dbe439787f6d717c247e648bb07ff5 by rupprecht
Revert "[Clang][Driver] Remove -M group options ..." and "[Clang] Avoid crashing when generating crash diagnostics when '#pragma clang __debug ..."

This reverts commits f41ec709d9d388dc43469e6ac7f51b6313f7e4af and 5fedc2b410853a6aef05e8edf19ebfc4e071e28f. On some buildbots, Clang :: Driver/crash-report.c is broken with:

```
Command Output (stderr):
--
/home/buildslave/ps4-buildslave1/clang-with-thin-lto-ubuntu/llvm-project/clang/test/Driver/crash-report.c:48:11: error: CHECK: expected string not found in input
// CHECK: Preprocessed source(s) and associated run script(s) are located at:
          ^
<stdin>:1:1: note: scanning from here
/home/buildslave/ps4-buildslave1/clang-with-thin-lto-ubuntu/llvm-project/clang/test/Driver/crash-report.c:50:1: error: unknown type name 'BAZ'
```

Example: http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/21321/steps/test-stage1-compiler/logs/stdio
The file was modifiedclang/lib/Driver/Compilation.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Lex/Pragma.cpp
The file was modifiedclang/include/clang/Lex/PreprocessorOptions.h
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedclang/test/Driver/output-file-cleanup.c
The file was modifiedclang/test/Driver/crash-report.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit 58c18ca1354ce6172b05328e6e7850a5189d6433 by riddleriver
[mlir][AsmPrinter] Fix edge case when printing floating point values.

Summary: In some edge cases the default APFloat printer will generate something that we can't parse back in. In these cases, fallback to using hex instead.

Differential Revision: https://reviews.llvm.org/D74181
The file was modifiedmlir/test/IR/parser.mlir
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
Commit 02fffbb5fa9f34a16f2c7959364d0668364332a2 by douglas.yung
Fix test after test changes added in da3dc00 caused the test to break
on platforms that default to an older C standard (like the PS4).

This should fix the test failure on the PS4 bots.
The file was modifiedclang/test/Sema/constant-builtins.c
Commit 6a570dc548078af92a3cc0dda0d2ad1f371b0280 by arsenm2
AMDGPU/GlobalISel: Fix non-pow-2 add/sub/mul for 16-bit insts

These wouldn't legalize between 16-bits and 32-bits on targets with
16-bit instructions.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-add.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-mul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sub.mir
Commit 6d007343decaeb8ea3db8de4bedf78b423bf116d by jlebar
Clarify how llvm-mca detects att vs intel syntax.

Reviewers: andreadb

Subscribers: tschuett, gbedwell, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72385
The file was modifiedllvm/docs/CommandGuide/llvm-mca.rst
Commit e2fa760cdde2ebaa93cf1e959189dece3e949a68 by Jason Molenda
Fix my use of the TARGET_OS_OSX TargetConditional.
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
Commit f60de4cdf7b8ca1b22700a6325a61a9b0da6a54b by Jason Molenda
Except, get the TARGET_OS_OSX check correct.
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
Commit 3f62028f2f3a904e608945147ebddc7051c0d6f9 by craig.topper
[X86] Use SelectionDAG::getAllOnesConstant to simplify some code. NFC
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit ae4e49868ac35dda3b02441a11f3cc3edf4d383b by craig.topper
[X86] Turn vXi1 any_extends into sign_extends in PreprocessISelDAG and remove some isel patterns.

Similar to what we do for other vector any_extends, but instead
of zero_extend we need to use sign_extend.
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit 84e5760a1637d89c6c90a218abfe6d4d0ce85c97 by SourabhSingh.Tomar
[DebugInfo]: Reorderd the emission of debug_str section.

Summary:
This patch reorders the emission of debug_str section, so that
string can come after macros.
This is necessary for macro forms like DW_MACRO_define_strp,
which emits macro as a string in debug_str section.
The file was modifiedllvm/test/DebugInfo/X86/stringpool.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbg-stack-value-range.mir
Commit b89131cdda5871731a9139664aef2b70c6d72bbd by kkleine
[lldb] removed no longer needed CMakeDependentOption

Summary:
In D66791 I've introduced this [[ https://cmake.org/cmake/help/latest/module/CMakeDependentOption.html | `CMakeDependentOption` ]] but in
D71306 @JDevlieghere has changed the way optional dependencies
are handled in LLDB. Today there's no occurence of
`cmake_dependent_option` inside the lldb source tree.

That's why this include can be removed.

Reviewers: JDevlieghere, labath

Reviewed By: labath

Subscribers: labath, mgorny, lldb-commits, JDevlieghere

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74160
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
Commit 81c9df102314d61e54a738a16004fd434de7ee40 by hans
Fix the MC/WebAssembly/debug-info.ll test after 84e5760
The file was modifiedllvm/test/MC/WebAssembly/debug-info.ll
Commit 56d81d4580940377a0e3963c4920e70d62eb5620 by pierre.vanhoutryve
[Target][AArch64] Remove non-existing system registers ICH_VSEIR_EL2 & ICC_SEIEN_EL1 from AArch64 backend

Differential Revision: https://reviews.llvm.org/D74118
The file was modifiedllvm/test/MC/Disassembler/AArch64/gicv3-regs.txt
The file was modifiedllvm/test/MC/AArch64/gicv3-regs.s
The file was modifiedllvm/lib/Target/AArch64/AArch64SystemOperands.td
Commit 39f50da2a357a8f685b3540246c5d762734e035f by sguelton
Support -fstack-clash-protection for x86

Implement protection against the stack clash attack [0] through inline stack
probing.

Probe stack allocation every PAGE_SIZE during frame lowering or dynamic
allocation to make sure the page guard, if any, is touched when touching the
stack, in a similar manner to GCC[1].

This extends the existing `probe-stack' mechanism with a special value `inline-asm'.
Technically the former uses function call before stack allocation while this
patch provides inlined stack probes and chunk allocation.

Only implemented for x86.

[0] https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt
[1] https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00556.html

Differential Revision: https://reviews.llvm.org/D68720
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was addedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedllvm/lib/Target/X86/X86CallFrameOptimization.cpp
The file was addedllvm/test/CodeGen/X86/stack-clash-unknown-call.ll
The file was addedllvm/test/CodeGen/X86/stack-clash-no-free-probe.ll
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedclang/test/CodeGen/stack-clash-protection.c
The file was addedllvm/test/CodeGen/X86/stack-clash-small.ll
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was addedclang/test/Driver/stack-clash-protection.c
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was addedllvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was addedllvm/test/CodeGen/X86/stack-clash-medium.ll
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was addedllvm/test/CodeGen/X86/stack-clash-large.ll
The file was addedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes.ll
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedllvm/docs/ReleaseNotes.rst
Commit e8c3a6c2606abdbf4f207c8b22e0f532d6247564 by pierre.vanhoutryve
[ARM][ASMParser] Refuse equal RdHi/RdLo for s/umlal, smlsl, s/umull, umaal

Differential Revision: https://reviews.llvm.org/D74120
The file was addedllvm/test/MC/ARM/equal-rdhi-rdlo-diagnostics.s
The file was modifiedllvm/test/MC/ARM/v8_IT_manual.s
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Commit 9d869180c4adba42d68c14dab51fba8093ccf91c by diogo.sampaio
[ARM] Follow AACPS for preserving number of loads/stores of volatile bit-fields

Summary:
Following the AAPCS, every store to a volatile bit-field requires to generate one load of that field, even if all the bits are going to be replaced.
This patch allows the user to opt-in in following such rule, whenever the a.

AAPCS Release 2019Q1.1 (https://static.docs.arm.com/ihi0042/g/aapcs32.pdf)
section 8.1 Data Types, page 35, paragraph: Volatile bit-fields – preserving number and width of container accesses

```
When a volatile bit-field is written, and its container does not overlap with any non-bit-field member, its
container must be read exactly once and written exactly once using the access width appropriate to the
type of the container. The two accesses are not atomic.

```

Reviewers: lebedev.ri, ostannard, jfb, eli.friedman

Reviewed By: jfb

Subscribers: rsmith, rjmccall, dexonsmith, kristof.beyls, jfb, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D67399
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/test/CodeGen/aapcs-bitfield.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit 68cc9f80a6bfd7b88a761d29c757d0ec6544e126 by Raphael Isemann
[lldb] Remove all 'clean' targets from test Makefiles

Summary:
To my knowledge we don't actually use or need these rules. And if we need them then
there is probably a better way to implement this than having all these random regexes.

Reviewers: labath, JDevlieghere

Reviewed By: labath, JDevlieghere

Subscribers: jingham, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74126
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/target_var/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/universal/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/memory-region/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/formatters/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/call-function/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/source-manager/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile
Commit 8d5e76ac303a20e62aaeed78d4761c5cb66abfe3 by flo
[ValueTracking] Update implied reasoning to accept expanded cmp (NFC).

This patch adds versions of isImpliedCondition and
isImpliedByDomCondition that take a predicate, LHS and RHS operands as
instead of a Value representing the condition.

This allows using those functions to check conditions without having a
concrete ICmp instruction.

Reviewers: nikic, RKSimon, lebedev.ri, spatel

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D74065
The file was modifiedllvm/include/llvm/Analysis/ValueTracking.h
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit 89ca4b9ef22424d063c75daf6785e4484baff645 by flo
[InstCombine] Precommit usub.with.overflow test for D74066.
The file was addedllvm/test/Transforms/InstCombine/usub-overflow-known-by-implied-cond.ll
Commit f85d3408e6e3e7710032abfaabdecd02ee0b5ced by gchatelet
[NFC] Introduce an API for MemOp

Summary: This patch introduces an API for MemOp in order to simplify and tighten the client code.

Reviewers: courbet

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73964
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
Commit c4f0f8ec41fddb5c3501ef3c708ee4c75fbea742 by 1.int32
[analyzer] Small StreamChecker refactoring (NFC).

Reviewers: Szelethus

Reviewed By: Szelethus

Subscribers: xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, donat.nagy, Charusso, dkrupp, Szelethus, gamesh411, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73350
The file was modifiedclang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
Commit f6d98429fcdba97988fa1e3ec10dc2ca943dd0da by sguelton
Revert "Support -fstack-clash-protection for x86"

This reverts commit 39f50da2a357a8f685b3540246c5d762734e035f.

The -fstack-clash-protection is being passed to the linker too, which
is not intended.

Reverting and fixing that in a later commit.
The file was removedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/X86/X86CallFrameOptimization.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was removedllvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll
The file was removedllvm/test/CodeGen/X86/stack-clash-no-free-probe.ll
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was removedclang/test/Driver/stack-clash-protection.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was removedllvm/test/CodeGen/X86/stack-clash-unknown-call.ll
The file was removedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes.ll
The file was removedllvm/test/CodeGen/X86/stack-clash-small.ll
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was removedllvm/test/CodeGen/X86/stack-clash-medium.ll
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was removedclang/test/CodeGen/stack-clash-protection.c
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was removedllvm/test/CodeGen/X86/stack-clash-large.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedclang/lib/Basic/Targets/X86.h
Commit 74734e809ac778beb01776ee207643184c09c2a0 by hans
Fix docs and comments for max_tokens_total pragma
The file was modifiedclang/lib/Parse/ParsePragma.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
Commit 14ef87bda67d53f351217c4522150e41fb5695e8 by flo
[ValueTracking] usub(a, b) cannot overflow if a >= b.

If we know that a >= b (unsigned), usub.with.overflow(a, b) cannot
overflow. Similarly, if b > a, the same expression overflows.

Reviewers: nikic, RKSimon, lebedev.ri, spatel

Reviewed By: nikic, Gerolf

Differential Revision: https://reviews.llvm.org/D74066
The file was modifiedllvm/test/Transforms/InstCombine/usub-overflow-known-by-implied-cond.ll
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit d173cb1db73add8e563663838e630e72723c3f92 by djordje.todorovic
[llvm-dwarfdump][Stats] Add the license header

Add the License header into the Statistics.cpp.

Differential Revision: https://reviews.llvm.org/D74207
The file was modifiedllvm/tools/llvm-dwarfdump/Statistics.cpp
Commit 64bc627b8878dd77fc3a85007e2ced0a515c77d3 by hans
clang-cl: Parse new MSVC flags /Qspectre-load and /Qspectre-load-cf

See https://github.com/MicrosoftDocs/cpp-docs/commit/2fdf0ba0bf8d3875c754776ca1084654135cb710
The file was modifiedclang/include/clang/Driver/CLCompatOptions.td
The file was modifiedclang/test/Driver/cl-options.c
Commit 6064f426a18304e16b51cc79e74c9c2d55ef5a9c by anastasia.stulova
[OpenCL] Restrict addr space conversions in nested pointers

Address space conversion changes pointer representation.
This commit disallows such conversions when they are not
legal i.e. for the nested pointers even with compatible
address spaces. Because the address space conversion in
the nested levels can't be generated to modify the pointers
correctly. The behavior implemented is as follows:

- Any implicit conversions of nested pointers with different
  address spaces is rejected.
- Any conversion of address spaces in nested pointers in safe
  casts (e.g. const_cast or static_cast) is rejected.
- Conversion in low level C-style or reinterpret_cast is accepted
  but with a warning (this aligns with OpenCL C behavior).

Fixes PR39674

Differential Revision: https://reviews.llvm.org/D73360
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was addedclang/test/SemaOpenCLCXX/address-space-castoperators.cl
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/test/SemaOpenCLCXX/address-space-deduction.cl
The file was modifiedclang/test/SemaOpenCL/address-spaces.cl
The file was modifiedclang/test/SemaOpenCL/address-spaces-conversions-cl2.0.cl
The file was modifiedclang/test/SemaOpenCLCXX/address-space-references.cl
The file was modifiedclang/lib/Sema/SemaCast.cpp
Commit a2531081b3855ba8c60b340c1721e91d7288cfde by momchil.velikov
[AArch64] Predictably disassemble system registers with the same encoding

The registers TRCEXTINSELR and TRCEXTINSELR0 are distinct registers,
defined by separate extension specifications (ETM and ETE,
respectively), yet they use the same encoding in MSR/MRS.

When performing a system register lookup by encoding, we would
essentially return a random one, depending on the number, relative
position in the TableGen file, whether the TableGen records for system
registers are named or not, and, if they are named, depending on
record (not register!) name as well.

This patch works around the issue by explictly checking for the
TRCEXTINSELR/TRCEXTINSELR0 encoding and always returning TRCEXTINSELR.

Differential Revision: https://reviews.llvm.org/D74074
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
The file was modifiedllvm/test/MC/AArch64/ete-sysregs.s
The file was modifiedllvm/test/MC/AArch64/trace-regs.s
The file was modifiedllvm/test/MC/Disassembler/AArch64/trace-regs.txt
The file was modifiedllvm/test/MC/Disassembler/AArch64/ete.txt
Commit 0082f1e0ccb215592d187b0a343608ad7813db30 by Raphael Isemann
[lldb] Improve error message when running static initializers in an expression fails
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/static-initializers/TestStaticInitializers.py
Commit 5a21d2bbb982e431fe0512af2438a1a5e1e13c29 by csigg
Rename prettyprinters test to llvm-support.

Summary: Make room for mlir-support pretty printers that I would like to add next.

Reviewers: dblaikie

Reviewed By: dblaikie

Subscribers: merge_guards_bot, mgorny, rriddle, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73726
The file was addeddebuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
The file was removeddebuginfo-tests/llvm-prettyprinters/gdb/prettyprinters.cpp
The file was addeddebuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
The file was removeddebuginfo-tests/llvm-prettyprinters/gdb/prettyprinters.gdb
The file was modifieddebuginfo-tests/CMakeLists.txt
Commit 2de2275cbdb8d123920f454f34ed4cfb4e1d2dcc by dmitry.preobrazhensky
[AMDGPU][MC][DOC] Updated AMD GPU assembler syntax description.

Summary of changes:
- updated description of gfx906 and gfx908;
- added description of gfx1011 and gfx1012 subtargets.
The file was addedllvm/docs/AMDGPU/gfx1011_type_dev.rst
The file was addedllvm/docs/AMDGPU/gfx1011_src32_0.rst
The file was modifiedllvm/docs/AMDGPUUsage.rst
The file was addedllvm/docs/AMDGPU/AMDGPUAsmGFX1011.rst
The file was modifiedllvm/docs/AMDGPU/gfx908_saddr_flat_global.rst
The file was modifiedllvm/docs/AMDGPU/AMDGPUAsmGFX906.rst
The file was modifiedllvm/docs/AMDGPU/AMDGPUAsmGFX908.rst
The file was addedllvm/docs/AMDGPU/gfx1011_vsrc32_0.rst
The file was addedllvm/docs/AMDGPU/gfx1011_vdst32_0.rst
The file was addedllvm/docs/AMDGPU/gfx1011_src32_1.rst
Commit 446268a223452254e054714f252705858fc47563 by Milos.Stojanovic
[llvm-exegesis] Add a custom error for clustering

All errors of type `Failure` are `StringError`s. In order for exit code
mapping to detect that specifically a clustering error has occurred it
needs to have a different type.

This patch also prepares D74085 where termination `report_fatal_error()`
will be replaced with emitting `StringError`s.

Differential Revision: https://reviews.llvm.org/D74124
The file was modifiedllvm/tools/llvm-exegesis/lib/Error.h
The file was addedllvm/tools/llvm-exegesis/lib/Error.cpp
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Clustering.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/CMakeLists.txt
Commit 830af528a550d5fa90c6106a26e8365fa077aca0 by Milos.Stojanovic
Recommit: "[llvm-exegesis] Improve error reporting"

Summary: Commit b3576f60ebc8f660afad8120a72473be47517573 was reverted in
abe01e17f648a97666d4fbed41f0861686a17972 because it broke builds testing
without libpfm. A preparatory commit <commit_sha1> was added to enable
this recommit.

Original commit message:

Fix inconsistencies in error reporting created by mixing
`report_fatal_error()` and `ExitOnErr()`, and add additional information
to the error message to make it more user friendly. Minimize the use
`report_fatal_error()` because it's meant for use in very rare cases and
it results in low information density of the error messages.

Summary of the new design:

* For command line argument errors output `llvm-exegesis: <error_message>`,
   which is consistent with the error output format emitted by the backend
   which checks correctness of the command line arguments.
* For other errors the format `llvm-exegesis error: <error_message>` is used.
** If the error occurred during file access `<error_message>` will have
    of two parts: `'<file_name>': <rest_of_the_error_message>`

Differential Revision: https://reviews.llvm.org/D74085
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
Commit 4bd40f71a72c3d9b7137bd9eb8767b6c140ae92e by Milos.Stojanovic
Recommit: "[llvm-exegesis] Improve error reporting in Target.cpp"

Summary: Commit 141915963b6ab36ee4e577d1b27673fa4d05b409 was reverted in
abe01e17f648a97666d4fbed41f0861686a17972 because it broke builds testing
without libpfm. A preparatory commit <commit_sha1> was added to enable
this recommit.

Original commit message:

Followup to D74085.
Replace the use of `report_fatal_error()` with returning the error to
`llvm-exegesis.cpp` and handling it there.

Differential Revision: https://reviews.llvm.org/D74113
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.h
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
Commit 1ea2723eb5d0a5f4ef0c15cc9d12b1ce1f710699 by llvmgnsyncbot
[gn build] Port 446268a2234
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/BUILD.gn
Commit 441cafb881aa362fba4190e3b4877fae86ba2fa4 by sam.parker
[NFC][ARM] Modified test with update script
The file was modifiedllvm/test/CodeGen/ARM/v8m.base-jumptable_alignment.ll
Commit c29003813ab9bd6ea7b6de40ea8f1fe21979f13f by thakis
Revert "[LLD][ELF][ARM] Do not substitute BL/BLX for non STT_FUNC symbols."

There are still problems after the fix in
"[ELF][ARM] Fix regression of BL->BLX substitution after D73542"
so let's revert to get trunk back to green while we investigate.
See https://reviews.llvm.org/D73542

This reverts commit 5461fa2b1fcfcfcd8e28e3ac3383d2245d5d90bf.
This reverts commit 0b4a047bfbd11fe1f5abda8da0e2391c1918162a.
The file was modifiedlld/test/ELF/arm-thumb-interwork-notfunc.s
The file was modifiedlld/test/ELF/arm-undefined-weak.s
The file was modifiedlld/ELF/Arch/ARM.cpp
The file was modifiedlld/test/ELF/arm-thumb-undefined-weak.s
The file was modifiedlld/test/ELF/arm-thumb-interwork-shared.s
Commit 7edf27f7a75affd3a9198de834014c78f5604500 by zinenko
[mlir] Add NoSideEffect to Affine min max

Add NoSideEffect to Affine min and max operations.

Differential Revision: https://reviews.llvm.org/D74203
The file was modifiedmlir/include/mlir/Dialect/AffineOps/AffineOps.td
Commit 2db5547c016dbbd6acac3f3175937324f0095226 by sam.parker
[NFC][ARM] Update test
The file was modifiedllvm/test/CodeGen/Thumb2/ldr-str-imm12.ll
Commit ea9166b5a838d788a4ec0c9ddf0c83b09f49cfe4 by a.bataev
[OPENMP50]Add parsing/sema for acq_rel clause.

Added basic support (representation + parsing/sema/(de)serialization)
for acq_rel clause in flush/atomic directives.
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/flush_ast_print.cpp
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/atomic_messages.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/AST/OpenMPClause.h
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/test/OpenMP/flush_messages.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/test/OpenMP/atomic_ast_print.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/AST/OpenMPClause.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
Commit 75f09b54429bee17a96e2ba7a2ac0f0a8a7f7e74 by alexandre.ganea
Re-land "[Clang][Driver] Remove -M group options ..." and "[Clang] Avoid crashing when generating crash diagnostics when '#pragma clang __debug ..."

This re-lands commits f41ec709d9d388dc43469e6ac7f51b6313f7e4af (https://reviews.llvm.org/D74076)
and commit 5fedc2b410853a6aef05e8edf19ebfc4e071e28f (https://reviews.llvm.org/D74070)

The previous build break was caused by '#pragma clang __debug llvm_unreachable' used in a non-assert build. Move it to a separate test in crash-report-with-asserts.c.
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Driver/Compilation.cpp
The file was modifiedclang/test/Driver/crash-report.c
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Lex/PreprocessorOptions.h
The file was addedclang/test/Driver/crash-report-with-asserts.c
The file was modifiedclang/lib/Lex/Pragma.cpp
Commit 8de2dad9e0d729663f83d80f9a9e9b98ef41992e by Matthew.Arsenault
GlobalISel: Fix lowering of G_CTLZ/G_CTTZ

The type passed to lower was invalid, so I'm not sure how this was
even working before. The source and destination type also do not have
to match, so make sure to use the right ones.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-cttz.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-cttz.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-legalize-bitcounts.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-ctlz.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ctlz.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
Commit 3b198518ad540f789f45490e896565d4f0862c16 by Matthew.Arsenault
GlobalISel: Fix narrowing of G_CTPOP

The result type is separate from the source type. Tests will be
included in a future AMDGPU patch which uses this from
RegBankSelect/applyMappingImpl.
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
Commit 5c6b1a6dfdb428a347a25527a4aebba72cd42a3a by simon.tatham
[TableGen] Fix spurious type error in bit assignment.

Summary:
The following example gives the error message "expected value of type
'bits<32>', got 'bit'" on the assignment.

    class Instruction { bits<32> encoding; }
    def foo: Instruction { let encoding{10} = !eq(0, 1); }

But there's nothing wrong with this code: 'bit' is a perfectly good
type for the RHS of an assignment to a //single bit// of an
instruction encoding.

The problem is that `ParseBodyItem` is accidentally type-checking the
RHS against the full type of the `encoding` field, without adjusting
it in the case where we're only assigning to a subset of the bits. The
fix is trivial.

Reviewers: nhaehnle, hfinkel

Reviewed By: hfinkel

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74220
The file was modifiedllvm/lib/TableGen/TGParser.cpp
The file was modifiedllvm/test/TableGen/BitsInit.td
Commit 2f885cbe904f6281b73e9986c5b918e1d15c5aba by Matthew.Arsenault
AMDGPU/GlobalISel: Fix move s.buffer.load to VALU

We were executing this in a waterfall loop as a placeholder, but this
should really be converted to a MUBUF load. Also execute in a
waterfall loop if the resource isn't an SGPR. This is a case where the
DAG handling was wrong because doing the right thing was too hard.

Currently, this will mishandle 96-bit loads. There's currently no way
to track the original memory size with an MMO, so these loads will be
widened andd the resulting memory size will be 128-bits.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn-s-buffer-load.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
Commit 205292740d88101e5124780c7bbee60b33bf2919 by Milos.Stojanovic
[llvm-exegesis] Improve error reporting in BenchmarkRunner.cpp

Followup to D74085.
Replace the use of `report_fatal_error()` with returning the error to
`llvm-exegesis.cpp` and handling it there.
To facilitate this, a new `Error` type has been added which is only used
to log errors to the yaml output.

Differential Revision: https://reviews.llvm.org/D74215
The file was modifiedllvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Error.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Error.h
The file was modifiedllvm/tools/llvm-exegesis/lib/BenchmarkRunner.h
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
Commit 01edae1271778fdc88be668c2e6a828a4c4d1481 by Jinsong Ji
[AsmPrinter] Print FP constant in hexadecimal form instead

Printing floating point number in decimal is inconvenient for humans.
Verbose asm output will print out floating point values in comments, it
helps.

But in lots of cases, users still need additional work to covert the
decimal back to hex or binary to check the bit patterns,
especially when there are small precision difference.

Hexadecimal form is one of the supported form in LLVM IR, and easier for
debugging.

This patch try to print all FP constant in hex form instead.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D73566
The file was modifiedllvm/test/CodeGen/PowerPC/ppcf128-endian.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-08.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-float-loops.ll
The file was modifiedllvm/test/CodeGen/AArch64/f16-imm.ll
The file was modifiedllvm/test/CodeGen/AArch64/win_cst_pool.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ctlz.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/Mips/cconv/memory-layout.ll
The file was modifiedllvm/test/CodeGen/X86/fp-immediate-shorten.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/global.ll
The file was modifiedllvm/test/CodeGen/X86/pr40730.ll
The file was modifiedllvm/test/CodeGen/ARM/vecreduce-fmul-legalization-strict.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-11.ll
The file was modifiedllvm/test/CodeGen/PowerPC/pr16573.ll
The file was modifiedllvm/test/CodeGen/Thumb2/aligned-constants.ll
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-build-var.ll
The file was modifiedllvm/test/CodeGen/PowerPC/mcm-4.ll
The file was modifiedllvm/test/CodeGen/ARM/big-endian-neon-fp16-bitconv.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fp-imm.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-phireg.ll
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/fast-fp-loops.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-fminmax.ll
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
The file was modifiedllvm/lib/MC/MCExpr.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/mcm-12.ll
The file was modifiedllvm/test/CodeGen/ARM/vecreduce-fadd-legalization-strict.ll
The file was modifiedllvm/test/CodeGen/X86/vec_uint_to_fp-fastmath.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-09.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-cttz.ll
The file was modifiedllvm/test/CodeGen/ARM/constant-islands.ll
The file was modifiedllvm/include/llvm/MC/MCExpr.h
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fp-imm-size.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-data.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-05.ll
The file was modifiedllvm/test/CodeGen/X86/pr13577.ll
The file was modifiedllvm/test/CodeGen/X86/win_cst_pool.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-lower-constant-pool-index.ll
The file was modifiedllvm/test/CodeGen/ARM/constantfp.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-04.ll
The file was modifiedllvm/test/CodeGen/X86/vec_uint_to_fp.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-03.ll
The file was modifiedllvm/test/CodeGen/X86/broadcast-elm-cross-splat-vec.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-10.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-fadd.ll
The file was modifiedllvm/test/CodeGen/X86/fp128-load.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-rodata.ll
The file was modifiedllvm/test/CodeGen/X86/x86-setcc-int-to-fp-combine.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-07.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ctpop.ll
The file was modifiedllvm/test/CodeGen/PowerPC/float-asmprint.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-const-06.ll
The file was modifiedllvm/test/CodeGen/X86/copysign-constant-magnitude.ll
The file was modifiedllvm/test/CodeGen/X86/vec-copysign.ll
The file was modifiedllvm/test/CodeGen/Thumb2/constant-islands-new-island-padding.ll
The file was modifiedllvm/test/CodeGen/X86/float-asmprint.ll
Commit 380fe91fc6dd58a64fd8945bf509c0433038a723 by nunoplopes
[docs] update mathjax path in doxygen
The file was modifiedllvm/docs/doxygen.cfg.in
Commit 047c4b0369f05ba2f96c79151641f07035bec954 by medismail.bennani
[lldb/Target] Fix `frame recognizer list` crash when registered with nullptr

One way to register a recognizer is to use RegularExpressionSP for the
module and symbol.

In order to match a symbol regardless of the module, the recognizer can
be registered with a nullptr for the module. However, this cause the
frame recognizer list command to crash because it calls
RegularExpression::GetText without checking if the shared pointer is valid.

This patch adds checks for the symbol and module RegularExpressionSP.

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/source/Target/StackFrameRecognizer.cpp
The file was addedlldb/unittests/Target/StackFrameRecognizerTest.cpp
The file was modifiedlldb/unittests/Target/CMakeLists.txt
Commit 96054a1857e597ec15c36b935ea076a550047f02 by medismail.bennani
[lldb/test] Prevent TestFrameRecognizer.py to fail because of internal recognizers (NFC)

By clearing the recognizers before starting the test, we ensure that the
recognizers that get initialized when lldb starts won't alter the
expected results of this test (i.e. recognizer index).

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/frame/recognizer/TestFrameRecognizer.py
Commit 1ff411295f92cddfce21521594d58cf407a15189 by mgorny
[lldb] Improve debugging 32-bit programs on NetBSD/amd64

Implement detection of ELF binary format, and support for i386 register
context on amd64 when a 32-bit executable is being debugged.  This is
roughly based on the code from Linux.

Differential Revision: https://reviews.llvm.org/D73974
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp
The file was modifiedlldb/source/Host/netbsd/Host.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.h
Commit 28d22c2c9c3199c60ba8ff0a06d06a6ff70b609d by Amara Emerson
[GlobalISel][IRTranslator] Add special case support for ~memory inline asm clobber.

This is a one off special case, since actually implementing full inline asm
support will be much more involved. This lets us compile a lot more code as a
common simple case.

Differential Revision: https://reviews.llvm.org/D74201
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/translate-inline-asm.ll
Commit c96001035d4b7ac1b4b84705c7035d6c0fa28ffa by llvm-dev
[X86] isNegatibleForFree - allow pre-legalized FMA negation

As long as the FMA operation is legal (which we can proxy for the FMA3/FMA4 variants as well), we don't have to wait for the LegalOperations stage.
The file was modifiedllvm/test/CodeGen/X86/fma-fneg-combine-2.ll
The file was modifiedllvm/test/CodeGen/X86/fma_patterns.ll
The file was modifiedllvm/test/CodeGen/X86/recip-fastmath2.ll
The file was modifiedllvm/test/CodeGen/X86/recip-fastmath.ll
The file was modifiedllvm/test/CodeGen/X86/fma_patterns_wide.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit de6f7eb47e9994ddb2cd906337331a6ceff27390 by spatel
[x86] don't create an unused constant vector

Noticed while scanning through debug spew. Creating unused
nodes is inefficient and makes following the debug output harder.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 80331610729137db55d29c902e5e464fbf9bd931 by labath
[lldb] Delete ValueObjectRegisterContext class

It is unused.
The file was modifiedlldb/include/lldb/Core/ValueObjectRegister.h
The file was modifiedlldb/source/Core/ValueObjectRegister.cpp
Commit e52414b1ae466acf900fc4515abf7de5a3fd6fca by ajcbik
[mlir][VectorOps] Generalized vector.print to i32/i64

Summary:
Lowering to LLVM IR was restricted to float/double.
This CL also adds the integral values.

Reviewers: andydavis1, nicolasvasilache, ftynse

Reviewed By: nicolasvasilache, ftynse

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74179
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/test/mlir-cpu-runner/mlir_runner_utils.cpp
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
Commit e3951248b14f5523cb93b380f0995d611a56192f by maskray
[yaml2obj] Add -D k=v to preprocess the input YAML

Examples:

```
yaml2obj -D MACHINE=EM_386 a.yaml -o a.o
yaml2obj -D MACHINE=0x1234 a.yaml -o a.o
```

where a.yaml contains:

```
--- !ELF
FileHeader:
  Class:   ELFCLASS64
  Data:    ELFDATA2MSB
  Type:    ET_REL
  Machine: [[MACHINE]]
```

Reviewed By: grimar, jhenderson

Differential Revision: https://reviews.llvm.org/D73821
The file was addedllvm/test/tools/yaml2obj/macro.yaml
The file was modifiedllvm/tools/yaml2obj/yaml2obj.cpp
Commit e2d7c5b2b6559f311938c0853b46ff21df55938a by maskray
[yaml2obj][test] Simplify some e_machine EI_CLASS EI_DATA tests

When both little-endian and big-endian are tested, or both 32-bit and 64-bit are tested, use a template like the following with `-D BITS=32 -D ENCODE=LSB`

```
--- !ELF
FileHeader:
Class:   ELFCLASS[[BITS]]
Data:    ELFDATA2[[ENCODE]]
Type:    ET_DYN
Machine: EM_X86_64
```

Reviewed By: grimar, jhenderson

Differential Revision: https://reviews.llvm.org/D73828
The file was modifiedllvm/test/tools/yaml2obj/ELF/class-endianness.yaml
The file was modifiedllvm/test/tools/obj2yaml/relr-section.yaml
The file was modifiedllvm/test/tools/yaml2obj/ELF/stack-sizes.yaml
The file was modifiedllvm/test/tools/llvm-objdump/section-headers.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/hash-histogram.test
The file was modifiedllvm/test/tools/yaml2obj/ELF/emachine.yaml
The file was modifiedllvm/test/tools/yaml2obj/ELF/relr-section.yaml
The file was modifiedllvm/test/tools/yaml2obj/ELF/reloc-sec-entry-size.yaml
Commit 7df5fc9e03ec5788e2ae0c1c730a5f26db441f66 by petar.avramovic
[GlobalISel] Add buildMerge with SrcOp initializer list

Allows more flexible use of buildMerge in places where
use operands are available as SrcOp since it does not
require explicit conversion to Register.
Simplify code with new buildMerge.

Differential Revision: https://reviews.llvm.org/D74223
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
Commit f08099b9c26be463aca096f73e9863921dddf792 by maskray
[ELF][ARM][test] Keep arm-thumb-interwork-shared.s

The revert of D73542 (c29003813ab9bd6ea7b6de40ea8f1fe21979f13f) deleted
the newly added tests to arm-thumb-interwork-shared.s . We should keep
them.
The file was modifiedlld/test/ELF/arm-thumb-interwork-shared.s
Commit 2e005c64f3019aada8df29a24dcfe56f044e2e59 by medismail.bennani
[lldb/test] Skip the AssertFrameRecognizer test for Linux

This patch skips the AssertFrameRecognizer test for Linux since it appears to
fail on certain distributions (AFAIK Fedora & ArchLinux).

The failure happen because the thread don't set the current frame to
the most relevant one. So the stopped location doesn't match with what
the test is expecting.

The test will be enabled again after I'll be able to reproduce the failure
on one of those platform and fix the issue.

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/test/Shell/Recognizer/assert.test
Commit e21b39a86dd6e8d1a5a5fe7e0286f8570732834d by labath
[lldb] Group ABI plugins

Summary:
There's a fair amount of code duplication between the different ABI plugins for
the same architecture (e.g. ABIMacOSX_arm & ABISysV_arm). Deduplicating this
code is not very easy at the moment because there is no good place where to put
the common code.

Instead of creating more plugins, this patch reduces their number by grouping
similar plugins into a single folder/plugin. This makes it easy to extract
common code to a (e.g.) base class, which can then live in the same folder.

The grouping is done based on the underlying llvm target for that architecture,
because the plugins already require this for their operation.

Reviewers: JDevlieghere, jasonmolenda, jfb

Subscribers: sdardis, nemanjai, mgorny, kristof.beyls, fedor.sergeev, kbarton, jrtc27, atanasyan, jsji, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74138
The file was modifiedlldb/source/Plugins/ABI/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/AArch64/ABISysV_arm64.h
The file was removedlldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp
The file was removedlldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.h
The file was addedlldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp
The file was removedlldb/source/Plugins/ABI/MacOSX-i386/CMakeLists.txt
The file was removedlldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.h
The file was removedlldb/source/Plugins/ABI/SysV-hexagon/CMakeLists.txt
The file was removedlldb/source/Plugins/ABI/SysV-mips/ABISysV_mips.cpp
The file was removedlldb/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp
The file was removedlldb/source/Plugins/ABI/SysV-arm64/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.h
The file was removedlldb/source/Plugins/ABI/MacOSX-arm/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/ARM/ABISysV_arm.h
The file was addedlldb/source/Plugins/ABI/Hexagon/CMakeLists.txt
The file was removedlldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp
The file was removedlldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp
The file was addedlldb/source/Plugins/ABI/ARC/ABISysV_arc.h
The file was removedlldb/source/Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp
The file was removedlldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was addedlldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp
The file was removedlldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp
The file was addedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
The file was removedlldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.h
The file was addedlldb/source/Plugins/ABI/X86/ABISysV_x86_64.cpp
The file was removedlldb/source/Plugins/ABI/Windows-x86_64/CMakeLists.txt
The file was removedlldb/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.h
The file was removedlldb/source/Plugins/ABI/SysV-x86_64/CMakeLists.txt
The file was removedlldb/source/Plugins/ABI/SysV-arm/CMakeLists.txt
The file was removedlldb/source/Plugins/ABI/SysV-ppc/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/X86/ABISysV_i386.cpp
The file was addedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.h
The file was addedlldb/source/Plugins/ABI/Mips/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/X86/ABIWindows_x86_64.h
The file was addedlldb/source/Plugins/ABI/X86/ABIWindows_x86_64.cpp
The file was addedlldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp
The file was removedlldb/source/Plugins/ABI/SysV-mips/CMakeLists.txt
The file was removedlldb/source/Plugins/ABI/SysV-i386/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/PowerPC/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp
The file was removedlldb/source/Plugins/ABI/SysV-i386/ABISysV_i386.h
The file was addedlldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.cpp
The file was addedlldb/source/Plugins/ABI/X86/ABIMacOSX_i386.cpp
The file was removedlldb/source/Plugins/ABI/SysV-arc/CMakeLists.txt
The file was removedlldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp
The file was removedlldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.h
The file was removedlldb/source/Plugins/ABI/SysV-hexagon/ABISysV_hexagon.cpp
The file was removedlldb/source/Plugins/ABI/SysV-hexagon/ABISysV_hexagon.h
The file was removedlldb/source/Plugins/ABI/SysV-ppc64/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/X86/ABISysV_i386.h
The file was addedlldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
The file was addedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
The file was removedlldb/source/Plugins/ABI/SysV-i386/ABISysV_i386.cpp
The file was removedlldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.h
The file was addedlldb/source/Plugins/ABI/AArch64/CMakeLists.txt
The file was removedlldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h
The file was removedlldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp
The file was removedlldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.cpp
The file was removedlldb/source/Plugins/ABI/SysV-s390x/ABISysV_s390x.h
The file was addedlldb/source/Plugins/ABI/X86/ABISysV_x86_64.h
The file was addedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.h
The file was addedlldb/source/Plugins/ABI/X86/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.cpp
The file was addedlldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.h
The file was removedlldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h
The file was removedlldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp
The file was removedlldb/source/Plugins/ABI/SysV-ppc/ABISysV_ppc.h
The file was removedlldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.h
The file was addedlldb/source/Plugins/ABI/SystemZ/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.h
The file was addedlldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was removedlldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.h
The file was removedlldb/source/Plugins/ABI/MacOSX-arm64/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/ARM/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/ARC/CMakeLists.txt
The file was removedlldb/source/Plugins/ABI/SysV-s390x/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp
The file was removedlldb/source/Plugins/ABI/SysV-s390x/ABISysV_s390x.cpp
The file was addedlldb/source/Plugins/ABI/Mips/ABISysV_mips.h
The file was removedlldb/source/Plugins/ABI/SysV-mips/ABISysV_mips.h
The file was addedlldb/source/Plugins/ABI/Mips/ABISysV_mips64.h
The file was removedlldb/source/Plugins/ABI/SysV-mips64/CMakeLists.txt
The file was addedlldb/source/Plugins/ABI/X86/ABIMacOSX_i386.h
The file was addedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h
Commit 0d0ef315cb2004c70ab27482dc41dd046a372d1e by Vedant Kumar
[MachineInstr] Add isCandidateForCallSiteEntry predicate

Add the isCandidateForCallSiteEntry predicate to MachineInstr to
determine whether a DWARF call site entry should be created for an
instruction.

For now, it's enough to have any call instruction that doesn't belong to
a blacklisted set of opcodes. For these opcodes, a call site entry isn't
meaningful.

Differential Revision: https://reviews.llvm.org/D74159
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
The file was modifiedllvm/test/CodeGen/X86/xray-typed-event-log.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-patchpoint.ll
The file was modifiedllvm/test/CodeGen/X86/statepoint-allocas.ll
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-anyregcc.ll
The file was modifiedllvm/test/CodeGen/X86/xray-custom-log.ll
Commit cbe0c8299e946e572870054cf21ccb7e86d90d03 by arsenm2
AMDGPU/GlobalISel: Fix missing test for select of s64 scalar G_CTPOP
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ctpop.mir
Commit 2926917f430d705f084813b63a40fafc61872524 by michael.hliao
[clang] Fix linkage of nested lambdas.

patch from Philippe Daouadi <blastrock@free.fr>

This is an attempt to fix
[PR#44368](https://bugs.llvm.org/show_bug.cgi?id=44368)

This effectively reverts [D1783](https://reviews.llvm.org/D1783). It
doesn't break the current tests and fixes the test that this commit
adds.

We now decide of a lambda linkage only depending on the visibility of
its parent context.

Differential Revision: https://reviews.llvm.org/D73701
The file was modifiedclang/test/CodeGenCXX/lambda-expressions-nested-linkage.cpp
The file was modifiedclang/lib/AST/Decl.cpp
Commit 13f8be68e0b833e83f6501a8d76fedfcdc457331 by jay.foad
[AMDGPU] Use @LINE for error checking in gfx10 assembler tests

Summary:
This is a rework of D72611, using @LINE to check that errors are
reported against the right instruction instead of adding lots of extra
*-ERR-NEXT: check lines.

Reviewers: rampitec, arsenm, nhaehnle

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74227
The file was modifiedllvm/test/MC/AMDGPU/gfx10_asm_all.s
Commit 278578744a4773d592c8b4be6827472a4a77a9c8 by craig.topper
[X86] Handle SETB_C32r/SETB_C64r in flag copy lowering the same way we handle SBB

Previously we took the restored flag in a GPR, extended it 32 or 64 bits. Then used as an input to a sub from 0. This requires creating a zero extend and creating a 0.

This patch changes this to just use an ADD with 255 to restore the carry flag and keep the SETB_C32r/SETB_C64r. Exactly like we handle SBB which is what SETB becomes.

Differential Revision: https://reviews.llvm.org/D74152
The file was modifiedllvm/test/CodeGen/X86/flags-copy-lowering.mir
The file was modifiedllvm/lib/Target/X86/X86FlagsCopyLowering.cpp
Commit 88073d40c7d84d59cffe7703e2a85694936fff68 by sd.fertile
[PowerPC] Create a FixedStack object for CR save in linkage area.

hasReservedSpillSlot returns a dummy frame index of '0' on PPC64 for the
non-volatile condition registers, which leads to the CalleSavedInfo
either referencing an unrelated stack object, or an invalid object if
there are no stack objects. The latter case causes the mir-printer to
crash due to assertions that checks if the frame index referenced by a
CalleeSavedInfo is valid.

To fix the problem create an immutable FixedStack object at the correct offset
in the linkage area of the previous stack frame (ie SP + positive offset).

Differential Revision: https://reviews.llvm.org/D73709
The file was addedllvm/test/CodeGen/PowerPC/ppc64-crsave.mir
The file was addedllvm/test/CodeGen/PowerPC/ppc64-alloca-crspill.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCFrameLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
Commit d06dd29e09b6b03a834ec0639d57446fb8515d12 by ravishankarm
[mlir][Linalg] Implement fusion of linalg.generic operation on tensors.

The initial implementation of the fusion operation exposes a method to
fuse a consumer with its producer, when
- both the producer and consumer operate on tensors
- the producer has only a single result value
- the producer has only "parallel" iterator types
A new interface method hasTensorSemantics is added to verify that an
operation has all operands and results of type RankedTensorType.

Differential Revision: https://reviews.llvm.org/D74172
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was addedmlir/test/Dialect/Linalg/fusion-tensor.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h
Commit 4a1a0690ad6813a4c8cdb8dc20ea6337aa1f61e0 by sguelton
Support -fstack-clash-protection for x86

Implement protection against the stack clash attack [0] through inline stack
probing.

Probe stack allocation every PAGE_SIZE during frame lowering or dynamic
allocation to make sure the page guard, if any, is touched when touching the
stack, in a similar manner to GCC[1].

This extends the existing `probe-stack' mechanism with a special value `inline-asm'.
Technically the former uses function call before stack allocation while this
patch provides inlined stack probes and chunk allocation.

Only implemented for x86.

[0] https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt
[1] https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00556.html

This a recommit of 39f50da2a357a8f685b3540246c5d762734e035f with correct option
flags set.

Differential Revision: https://reviews.llvm.org/D68720
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was addedllvm/test/CodeGen/X86/stack-clash-large.ll
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was addedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was addedllvm/test/CodeGen/X86/stack-clash-medium.ll
The file was addedllvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was addedllvm/test/CodeGen/X86/stack-clash-no-free-probe.ll
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was addedclang/test/Driver/stack-clash-protection.c
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was addedllvm/test/CodeGen/X86/stack-clash-small.ll
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/lib/Target/X86/X86CallFrameOptimization.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was addedllvm/test/CodeGen/X86/stack-clash-unknown-call.ll
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was addedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes.ll
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was addedclang/test/CodeGen/stack-clash-protection.c
Commit 6370c7c13e6d7cfa70197e9a45033e2b845e1b9e by changpeng.fang
AMDGPU: Limit the search in finding the instruction pattern for v_swap generation.

Summary:
  Current implementation of matchSwap in SIShrinkInstructions searches the entire
use_nodbg_operands set to find the possible pattern to generate v_swap instruction.
This approach will lead to a O(N^3) in compile time for SIShrinkInstructions.

But in reality, the matching pattern only exists within nearby instructions in the
same basic block. This work limits the search to a maximum of 16 instructions, and has
a linear compile time comsumption.

Reviewers:
  rampitec, arsenm

Differential Revision: https://reviews.llvm.org/D74180
The file was modifiedllvm/test/CodeGen/AMDGPU/v_swap_b32.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
Commit 609a489e052e8ed2731aebbcc7828de1102e871d by Jessica Paquette
[AArch64][GlobalISel] Reland SLT/SGT TBNZ optimization

The issue in the previous commits was that we swap the LHS and RHS while
looking for the constant. In SLT/SGT, the constant must be on the RHS, or the
optimization is invalid.

Move the swapping logic after the check for the SLT/SGT case and update tests.

Original commits:

d78cefb1601070cb028b61bbc1bd6f25a9c1837c
a3738414072900ace9cbbe209d0195a3443d1d54
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/tbnz-slt.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/tbz-sgt.mir
Commit fe6e77f6fb9176ae09e1528ff46cb9c3588920a7 by kostyak
[scudo][standalone] 32-bit improvement

Summary:
This tweaks some behaviors of the allocator wrt 32-bit, notably
tailoring the size-class map.

I had to remove a `printStats` from `__scudo_print_stats` since when
within Bionic they share the same slot so they can't coexist at the
same time. I have to find a solution for that later, but right now we
are not using the Svelte configuration.

Reviewers: rengolin

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D74178
The file was modifiedcompiler-rt/lib/scudo/standalone/size_class_map.h
The file was modifiedcompiler-rt/lib/scudo/standalone/wrappers_c_bionic.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/primary32.h
Commit b4aff1210cd949ee3e75bf01fd8b72931441834d by vvereschaka
Revert "[CMake] Filter libc++abi and libunwind from runtimes build in MSVC"

This reverts commit 9986b88e64f30f5d958eef113bae4c8a098eea93.

These changes break ARM/Aarch64 cross builders on Windows platform

* http://lab.llvm.org:8011/builders/llvm-clang-win-x-armv7l
* http://lab.llvm.org:8011/builders/llvm-clang-win-x-aarch64

suppressing building libc++abi/libunwind by "just built" toolchain.

Differential Revision: https://reviews.llvm.org/D73812
The file was modifiedllvm/runtimes/CMakeLists.txt
Commit 6520976064c4c59397dd02e72d42e9cff3a2a8dc by maskray
[dsymutil] Delete unneeded parameter Triple from DWARFLinker

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D74173
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.h
The file was modifiedllvm/tools/dsymutil/DwarfLinkerForBinary.cpp
The file was modifiedllvm/include/llvm/DWARFLinker/DWARFLinker.h
The file was modifiedllvm/lib/DWARFLinker/DWARFLinker.cpp
Commit 884acbb9e167d5668e43581630239d688edec8ad by changpeng.fang
AMDGPU: Enhancement on FDIV lowering in AMDGPUCodeGenPrepare

Summary:
  The accuracy limit to use rcp is adjusted to 1.0 ulp from 2.5 ulp.
Also, afn instead of arcp is used to allow inaccurate rcp to be used.

Reviewers:
  arsenm

Differential Revision: https://reviews.llvm.org/D73588
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/fdiv.f16.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fdiv.ll
Commit 7ae1b4a0ce9c7f269cf3069e41496a78e3f28d49 by richard
Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes.

Summary:
Due to a recent (but retroactive) C++ rule change, only sufficiently
C-compatible classes are permitted to be given a typedef name for
linkage purposes. Add an enabled-by-default warning for these cases, and
rephrase our existing error for the case where we encounter the typedef
name for linkage after we've already computed and used a wrong linkage
in terms of the new rule.

Reviewers: rjmccall

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74103
The file was modifiedclang/test/OpenMP/target_map_codegen.cpp
The file was modifiedclang/test/SemaTemplate/instantiate-function-2.cpp
The file was modifiedclang/www/cxx_status.html
The file was modifiedclang/test/CXX/class/class.union/p2-0x.cpp
The file was modifiedclang/test/SemaCXX/undefined-internal.cpp
The file was modifiedclang/test/SemaCXX/warn-unused-local-typedef.cpp
The file was modifiedclang/test/Analysis/padding_message.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/test/CXX/class/class.local/p4.cpp
The file was modifiedclang/test/Analysis/inlining/eager-reclamation-path-notes.cpp
The file was modifiedclang/test/CXX/drs/dr4xx.cpp
The file was modifiedclang/test/Analysis/padding_cpp.cpp
The file was modifiedclang/test/SemaCXX/warn-unused-filescoped.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/Modules/submodules-merge-defs.cpp
The file was modifiedclang/test/SemaCXX/anonymous-struct.cpp
The file was modifiedclang/test/SemaCXX/linkage.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/SemaCXX/linkage2.cpp
Commit b03c3d8c62096af1e27b23480fa4623bb64bfab9 by thakis
Revert "Support -fstack-clash-protection for x86"

This reverts commit 4a1a0690ad6813a4c8cdb8dc20ea6337aa1f61e0.
Breaks tests on mac and win, see https://reviews.llvm.org/D68720
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was removedllvm/test/CodeGen/X86/stack-clash-large.ll
The file was removedllvm/test/CodeGen/X86/stack-clash-unknown-call.ll
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was removedllvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/docs/ReleaseNotes.rst
The file was removedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
The file was removedclang/test/Driver/stack-clash-protection.c
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was removedllvm/test/CodeGen/X86/stack-clash-no-free-probe.ll
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was removedllvm/test/CodeGen/X86/stack-clash-medium.ll
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/lib/Target/X86/X86CallFrameOptimization.cpp
The file was removedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes.ll
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was removedllvm/test/CodeGen/X86/stack-clash-small.ll
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was removedclang/test/CodeGen/stack-clash-protection.c
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
Commit 42efd35ba04daa2b74f69a05877927af0a8fcbb0 by richard
[cxx_status] Fix status of P1766R to not bleed into adjacent cells.
The file was modifiedclang/www/cxx_status.html
Commit 5752bcf9e5ace8dc4942ba2e044ec045b8da7eb0 by SourabhSingh.Tomar
[DebugInfo]: Fix the debuginfo-tests/llgdb-tests/apple-accel.cpp test
failure after 84e5760.
The file was modifieddebuginfo-tests/llgdb-tests/apple-accel.cpp
Commit e8e05de08bea1931420da19462533a8caa4b0e26 by a.bataev
[OPENMP50]Add codegen for acq_rel clause in atomic|flush directives.

Added codegen support for atomic|flush directives with acq_rel clause.
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/atomic_capture_codegen.cpp
The file was modifiedclang/test/OpenMP/atomic_read_codegen.c
The file was modifiedclang/test/OpenMP/flush_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/lib/CodeGen/CGAtomic.cpp
The file was modifiedclang/test/OpenMP/atomic_update_codegen.cpp
The file was modifiedclang/test/OpenMP/atomic_write_codegen.c
Commit 499ad45877b930325b641d18e7b8b71094116e49 by ntv
[mlir][VectorOps] Expose and use llvm.intrin.fma*

Summary:
This revision exposes the portable `llvm.fma` intrinsic in LLVMOps and uses it
in lieu of `llvm.fmuladd` when lowering the `vector.outerproduct` op to LLVM.
This guarantees proper `fma` instructions will be emitted if the target ISA
supports it.

`llvm.fmuladd` does not have this guarantee in its semantics, despite evidence
that the proper x86 instructions are emitted.

For more details, see https://llvm.org/docs/LangRef.html#llvm-fmuladd-intrinsic.

Reviewers: ftynse, aartbik, dcaballe, fhahn

Reviewed By: aartbik

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74219
The file was modifiedmlir/include/mlir/Dialect/VectorOps/VectorOps.td
The file was modifiedmlir/test/Dialect/Linalg/llvm.mlir
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/test/Target/llvmir-intrinsics.mlir
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
Commit 26bf877ec5ce07eaaf2ebf19e78f26fa59a8e41a by nemanja.i.ibm
[PowerPC] Fix spilling of vector registers in PEI of EH aware functions

On little endian targets prior to Power9, we spill vector registers using a
swapping store (i.e. stdxvd2x saves the vector with the two doublewords in
big endian order regardless of endianness). This is generally not a problem
since we restore them using the corresponding swapping load (lxvd2x). However
if the restore is done by the unwinder, the vector register contains data in
the incorrect order.

This patch fixes that by using Altivec loads/stores for vector saves and
restores in PEI (which keep the order correct) under those specific conditions:
- EH aware function
- Subtarget requires swaps for VSX memops (Little Endian prior to Power9)

Differential revision: https://reviews.llvm.org/D73692
The file was modifiedllvm/lib/Target/PowerPC/PPCFrameLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/vsxD-Form-spills.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
The file was modifiedllvm/test/CodeGen/PowerPC/reg-scavenging.ll
The file was modifiedllvm/test/CodeGen/PowerPC/CSR-fit.ll
Commit 681f929f591616ca048aa470d030d985b6719216 by ntv
[mlir][VectorOps] Introduce a `vector.fma` op that works on n-D vectors and lowers to `llvm.intrin.fmuladd`

Summary:
The `vector.fma` operation is portable enough across targets that we do not want
to keep it wrapped under `vector.outerproduct` and `llvm.intrin.fmuladd`.
This revision lifts the op into the vector dialect and implements the lowering to LLVM by using two patterns:
1. a pattern that lowers from n-D to (n-1)-D by unrolling when n > 2
2. a pattern that converts from 1-D to the proper LLVM representation

Reviewers: ftynse, stellaraccident, aartbik, dcaballe, jsetoain, tetuante

Reviewed By: aartbik

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74075
The file was modifiedmlir/include/mlir/Dialect/VectorOps/VectorOps.td
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/test/Dialect/VectorOps/ops.mlir
Commit 2491fd0e6f6187a6130103c7d64d59cd3f178d4c by huihuiz
Reland "[AArch64] Fix data race on RegisterBank initialization."

Update lambda function
static auto InitializeRegisterBankOnce = [this](const auto &TRI) {
with
static auto InitializeRegisterBankOnce = [&]() {

Capture reference instead of passing argument, as there are buildbot
compiling errors related when passing argument.
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
Commit cf1046c716b33ed449aa8fc26376864917c63c25 by jan.kratochvil
[lldb] Fix+re-enable Assert StackFrame Recognizer on Linux

D73303 was failing on Fedora Linux and so it was disabled by Skip the
AssertFrameRecognizer test for Linux.

On Fedora 30 x86_64 I have:
        $ readelf -Ws /lib64/libc.so.6 |grep '^Symbol\|.*assert_fail'
        Symbol table '.dynsym' contains 2362 entries:
           630: 0000000000030520    70 FUNC    GLOBAL DEFAULT   14 __assert_fail@@GLIBC_2.2.5
        Symbol table '.symtab' contains 22711 entries:
           922: 000000000002275a    15 FUNC    LOCAL  DEFAULT   14 __assert_fail_base.cold
         18044: 0000000000030520    70 FUNC    LOCAL  DEFAULT   14 __GI___assert_fail
         20081: 00000000000303a0   370 FUNC    LOCAL  DEFAULT   14 __assert_fail_base
         21766: 0000000000030520    70 FUNC    GLOBAL DEFAULT   14 __assert_fail

The patch should never expect __GI___assert_fail:

.symtab can be present or not but that should not change that
__assert_fail always wins - it is always present from .dynsym and it can
never be overriden by __GI___assert_fail as __GI___assert_fail has only
local binding. Global binding is preferred since D63540.

External debug info symbols do not matter since D55859 (and DWARF should
never be embedded in system libc.so.6).

Differential Revision: https://reviews.llvm.org/D74252
The file was modifiedlldb/source/Target/AssertFrameRecognizer.cpp
The file was modifiedlldb/test/Shell/Recognizer/assert.test
Commit 9c1c825b724928130a4e73a24d12943de1fd0581 by antiagainst
[mlir][spirv] Adding sin op in the GLSL extension

Differential Revision: https://reviews.llvm.org/D74151
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVGLSLOps.td
The file was modifiedmlir/test/Dialect/SPIRV/glslops.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/glsl-ops.mlir
Commit fdfdd275fd79504ee4ab5c78162713db986a72b1 by phosek
[CMake] Use LLVM tools external project build where possible

This reduces the reliance on host tools and makes the build more
hermetic. Some of the runtimes already assume that certain tools are
always available, for example libc++ and libc++abi archive merging
relies on ar to extract files out of the archive, even on Darwin.

Differential Revision: https://reviews.llvm.org/D74107
The file was modifiedllvm/cmake/modules/LLVMExternalProjectUtils.cmake
Commit 9bce9d2d65e2462140597f71a8247750b837094c by ditaliano
[TestConvienceVariable] Clean the directory before running the test.
The file was modifiedlldb/test/Shell/Driver/TestConvenienceVariables.test
Commit ae39105466c477c5466efe0763a0ab1a23a274cd by huihuiz
Reland "[ARM] Fix data race on RegisterBank initialization."

Update lambda function
static auto InitializeRegisterBankOnce = [this](const auto &TRI) {
with
static auto InitializeRegisterBankOnce = [&]() {

Capture reference instead of passing argument, as there are buildbot
compiling errors related when passing argument.
The file was modifiedllvm/lib/Target/ARM/ARMRegisterBankInfo.cpp
Commit 7476e569b55ab260522751e9c2e8c5646956f8d1 by riddleriver
[mlir][Pass] Enable printing pass options as part of `-help`.

Summary:
This revision adds support for printing pass options as part of the normal help description. This also moves registered passes and pipelines into different sections of the help.

Example:
```
  Compiler passes to run
    --pass-pipeline                                     -   ...
    Passes:
      --affine-data-copy-generate                       -   ...
      --convert-gpu-to-spirv                            -   ...
        --workgroup-size=<long>                         - ...
      --test-options-pass                               -   ...
        --list=<int>                                    - ...
        --string=<string>                               - ...
        --string-list=<string>                          - ...
    Pass Pipelines:
      --test-options-pass-pipeline                      -   ...
        --list=<int>                                    - ...
        --string=<string>                               - ...
        --string-list=<string>                          - ...
```

Differential Revision: https://reviews.llvm.org/D74246
The file was modifiedmlir/include/mlir/Pass/PassRegistry.h
The file was modifiedmlir/include/mlir/Pass/PassOptions.h
The file was modifiedmlir/include/mlir/Pass/Pass.h
The file was modifiedmlir/lib/Pass/PassRegistry.cpp
Commit 6556c615f3c3aae8af876806777065961ae20024 by huihuiz
Reland "[AMDGPU] Fix data race on RegisterBank initialization."
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit 4a18a5bdd9e2e119cf24653e34b22cf356fffe77 by Jason Molenda
Change first test to be CHECK: to make the test run.
The file was modifieddebuginfo-tests/llgdb-tests/apple-accel.cpp
Commit 5858c9d69f5efa94b721e3d37edadae21cbb77f3 by ditaliano
Revert "[TestConvienceVariable] Clean the directory before running the test."

This reverts commit 9bce9d2d65e2462140597f71a8247750b837094c, as
it breaks the bots.
The file was modifiedlldb/test/Shell/Driver/TestConvenienceVariables.test
Commit fafc6e4fdf3673dcf557d6c8ae0c0a4bb3184402 by erik.pilkington
[IRGen] Emit lifetime intrinsics around temporary aggregate argument allocas

These temporaries are only used in the callee, and their memory can be reused
after the call is complete.

rdar://58552124

Differential revision: https://reviews.llvm.org/D74094
The file was modifiedclang/lib/CodeGen/CGCall.h
The file was modifiedclang/test/CodeGenCXX/stack-reuse-miscompile.cpp
The file was addedclang/test/CodeGen/lifetime-call-temp.c
The file was modifiedclang/lib/CodeGen/CGCall.cpp
Commit d65bbf81f8be3ff806b86776cf95b001a4cf43ad by gchatelet
[clang] Add support for __builtin_memcpy_inline

Summary: This is a follow up on D61634 and the last step to implement http://lists.llvm.org/pipermail/llvm-dev/2019-April/131973.html

Reviewers: efriedma, courbet, tejohnson

Subscribers: hiraditya, cfe-commits, llvm-commits, jdoerfert, t.p.northover

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D73543
The file was modifiedclang/include/clang/Basic/Builtins.def
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/lib/CodeGen/CGBuilder.h
The file was addedclang/test/CodeGen/builtins-memcpy-inline.c
The file was addedclang/test/Sema/builtins-memcpy-inline.c
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedclang/docs/LanguageExtensions.rst
Commit 248435e9c9e62fd95f5b38ae9ba0dfdb051929cb by Adrian Prantl
Replace CHECK-NEXT with CHECK-DAG. The order isn't relevant we just
want to make sure that all are present.
The file was modifieddebuginfo-tests/llgdb-tests/apple-accel.cpp
Commit c10b9f0bde2666abd3e2d0845dee16ac9db1ab6f by Jonas Devlieghere
[CMake] Fix accidentally inverted condition

I unintentionally inverted the condition for excluding the tests from
check-all.
The file was modifiedllvm/test/CMakeLists.txt
Commit 25675d4eaab6ed8e97528d4886131ec85f1c8c7c by rupprecht
[lldb][test][NFC] Create a separate LLDB_TEST_SRC var to allow moving tests.

Summary:
This creates a separate LLDB_TEST_SRC var to match the existing LLDB_TEST var. LLDB_TEST points to the test framework, LLDB_TEST_SRC points to the tests themselves.

The var points to the same place, but a future patch will move the tree + update var.

Reviewers: labath, JDevlieghere

Reviewed By: labath

Subscribers: merge_guards_bot, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D71150
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/plugins/builder_base.py
The file was modifiedlldb/packages/Python/lldbsuite/__init__.py
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
Commit 598d9dd846f1086abfc1c5055df0d25e8a485fc9 by craig.topper
[X86] Add more avx512 masked fmaddsub/fmsubadd autoupgrade tests with rounding control not set to 4.

The fmsubadd upgrade doesn't insert the negate properly when the
rounding control isn't 4.
The file was modifiedllvm/test/CodeGen/X86/avx512-fma-intrinsics-upgrade.ll
Commit bb717d3f469b997ce6b13f2b87ffd78d2d2254b7 by craig.topper
[X86] Correct the implementation of the avx512 masked fmsubadd autoupgrade code to not leave the negate unconnected.

This was causing us to generate fmaddsub instead of fmsubadd if
rounding control is not 4.
The file was modifiedllvm/test/CodeGen/X86/avx512-fma-intrinsics-upgrade.ll
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
Commit fbb4d1e43d0db9f8d1514a0209bb01f56e49d75f by Jonas Devlieghere
[lldb/Plugins] Use external functions to (de)initialize plugins

This is a step towards making the initialize and terminate calls be
generated by CMake, which in turn is towards making it possible to
disable plugins at configuration time.

Differential revision: https://reviews.llvm.org/D74245
The file was modifiedlldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
The file was modifiedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp
The file was modifiedlldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
The file was modifiedlldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.cpp
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
The file was modifiedlldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
The file was modifiedlldb/source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
The file was modifiedlldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
The file was modifiedlldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
The file was modifiedlldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
The file was modifiedlldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
The file was modifiedlldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
The file was modifiedlldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedlldb/source/Plugins/Architecture/Mips/ArchitectureMips.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
The file was modifiedlldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABIWindows_x86_64.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
The file was modifiedlldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.cpp
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
The file was modifiedlldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp
The file was modifiedlldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
The file was modifiedlldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp
The file was modifiedlldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
The file was modifiedlldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
The file was modifiedlldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp
The file was modifiedlldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.cpp
The file was modifiedlldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
The file was modifiedlldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp
The file was modifiedlldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
The file was modifiedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABISysV_x86_64.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp
The file was modifiedlldb/source/Plugins/Architecture/Arm/ArchitectureArm.cpp
The file was modifiedlldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.cpp
The file was modifiedlldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
The file was modifiedlldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
The file was modifiedlldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp
The file was modifiedlldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
The file was modifiedlldb/include/lldb/Core/PluginManager.h
The file was modifiedlldb/source/Plugins/ABI/X86/ABISysV_i386.cpp
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABIMacOSX_i386.cpp
The file was modifiedlldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp
Commit 35c63d66aaae65a7004d94e0a6668ff19612ba5e by Amara Emerson
[GlobalISel][CallLowering] Look through bitcasts from constant function pointers.

Calls to ObjC's objc_msgSend function are done by bitcasting the function global
to the required function type signature. This patch looks through this bitcast
so that we can do a direct call with bl on arm64 instead of using an indirect blr.

Differential Revision: https://reviews.llvm.org/D74241
The file was modifiedllvm/lib/CodeGen/GlobalISel/CallLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/call-lowering-const-bitcast-func.ll
Commit ba9cae58bbdd41451ee67773c9d0f90a01756f12 by dblaikie
IR Linking: Support merging Warning+Max module metadata flags

Summary:
Debug Info Version was changed to use "Max" instead of "Warning" per the
original design intent - but this maxes old/new IR unlinkable, since
mismatched merge styles are a linking failure.

It seems possible/maybe reasonable to actually support the combination
of these two flags: Warn, but then use the maximum value rather than the
first value/earlier module's value.

Reviewers: tejohnson

Differential Revision: https://reviews.llvm.org/D74257
The file was modifiedllvm/lib/Linker/IRMover.cpp
The file was addedllvm/test/Linker/module-max-warn.ll
The file was addedllvm/test/Linker/Inputs/module-max-warn.ll
The file was modifiedllvm/docs/LangRef.rst
Commit 6770fbb31450db15d8d4a2ac7f0ce70eaf2acc5f by Akira
[ObjC][ARC] Delete ARC runtime calls that take inert phi values

This improves on the following patch, which removed ARC runtime calls
taking inert global variables:

https://reviews.llvm.org/D62433

rdar://problem/59137105
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
The file was modifiedllvm/test/Transforms/ObjCARC/inert-global.ll
Commit d7082e03373ca6e58d2d187a6890157c4ca9ec47 by Jonas Devlieghere
[lldb/Plugin] Don't define initializers inside lldb_private

This should fix the Windows build.
The file was modifiedlldb/include/lldb/Core/PluginManager.h
Commit c832e82cd9d8f53ed8af9ec86d9d06fedda9b23b by waltermelon
[lldb-vscode] disable completions

Summary:
Completion requests are causing some problems in the debugger, which is explained in the comment in the code.
I'm disabling it for now until we have time to do a good implementation of it.

Reviewers: clayborg

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74264
The file was modifiedlldb/tools/lldb-vscode/lldb-vscode.cpp
Commit bd62c9cecf34cc3cea52ad83b278cd7cb62812b4 by waltermelon
[lldb-vscode] remove deprecated trace option

Summary: This option is not used anymore and has been replaced by the env var LLDBVSCODE_LOG.

Reviewers: clayborg

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74266
The file was modifiedlldb/tools/lldb-vscode/package.json
Commit 84eeee65804ba070c50978be1c741a1756779079 by dblaikie
Linker/module-max-warn.ll: Fix test to be compatible with Windows file separators
The file was modifiedllvm/test/Linker/module-max-warn.ll
Commit d62a343db23b7e8c3b5f2a0284bcacc10141a49e by jingham
Add a test for adding and removing Listeners from a BroadcasterManager.

Reid found a bug in removing Listeners from a BroadcasterManager:

https://reviews.llvm.org/D74010

The bug didn't affect the case where there was only one Listener
signed up for a BroadcasterManager, which was all the extant test
case tests.  The driver also only uses one listener (the debugger)
for everything, so neither the test nor anything you do with lldb
command line would have triggered the bug.

This adds a couple more tests using more listeners, and adding and
removing them in a different way, which triggers a separate code path.
The file was modifiedlldb/packages/Python/lldbsuite/test/api/listeners/TestListener.py
Commit 3e70a9196387437abb794b294d47fde37684337d by Jonas Devlieghere
[lldb/Plugin] Use LLDB_PLUGIN_DECLARE to forward declare plugin initializers

Apparently Linux and Windows have the exact opposite behavior when it
comes to inline declarations of external functions. On Linux they're
considered to be part of the lldb_private namespace, while on Windows
they're considered to be part of the top level namespace. Somehow on
macOS, it doesn't really matter and both are fine...

At this point I don't know what to do, so I'm just adding the
LLDB_PLUGIN_DECLARE macros again as originally proposed in D74245.
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/include/lldb/Core/PluginManager.h
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
Commit 0e3a48778408b505946e465abf5c77a2ddd4918c by richard
PR12350: Handle remaining cases permitted by CWG DR 244.

Also add extension warnings for the cases that are disallowed by the
current rules for destructor name lookup, refactor and simplify the
lookup code, and improve the diagnostic quality when lookup fails.

The special case we previously supported for converting
p->N::S<int>::~S() from naming a class template into naming a
specialization thereof is subsumed by a more general rule here (which is
also consistent with Clang's historical behavior and that of other
compilers): if we can't find a suitable S in N, also look in N::S<int>.

The extension warnings are off by default, except for a warning when
lookup for p->N::S::~T() looks for T in scope instead of in N (or N::S).
That seems sufficiently heinous to warn on by default, especially since
we can't support it for a dependent nested-name-specifier.
The file was modifiedclang/test/FixIt/fixit.cpp
The file was modifiedclang/lib/AST/NestedNameSpecifier.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/test/SemaCXX/pseudo-destructors.cpp
The file was modifiedclang/test/SemaCXX/destructor.cpp
The file was modifiedclang/test/Parser/cxx-decl.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/CXX/class/class.mem/p13.cpp
The file was modifiedclang/test/CXX/drs/dr3xx.cpp
The file was modifiedclang/test/SemaCXX/constructor.cpp
The file was modifiedclang/test/CXX/drs/dr2xx.cpp
The file was modifiedclang/lib/Sema/DeclSpec.cpp
Commit 5b5cbfe135916db704792359f97fe3bf0fdf37c0 by aheejin
[WebAssembly] Add debug info to insts in Emscripten SjLj

Summary:
This makes sure all newly create instructions in Emscripten SjLj has
appropriate debug info attached. Fixes
https://github.com/emscripten-core/emscripten/issues/9797.

Reviewers: kripken

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74269
The file was modifiedllvm/test/CodeGen/WebAssembly/lower-em-sjlj.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
Commit dac21fdd5923730342a4bc9abc0858fb56ff8d52 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/tool/ClangDocMain.cpp
The file was modifiedclang-tools-extra/test/clang-doc/single-file.cpp
The file was modifiedclang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.h
The file was modifiedclang-tools-extra/unittests/clang-doc/MDGeneratorTest.cpp
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/assets/index.js
Commit 7b627bb6e019b5457aa64ea19debefe307f68a19 by phosek
Revert "[clang-doc] Improving Markdown Output"

This reverts commit dac21fdd5923730342a4bc9abc0858fb56ff8d52 as this
is failing on Windows.
The file was modifiedclang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
The file was modifiedclang-tools-extra/unittests/clang-doc/MDGeneratorTest.cpp
The file was modifiedclang-tools-extra/clang-doc/HTMLGenerator.cpp
The file was modifiedclang-tools-extra/test/clang-doc/single-file.cpp
The file was modifiedclang-tools-extra/clang-doc/assets/index.js
The file was modifiedclang-tools-extra/clang-doc/MDGenerator.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.h
The file was modifiedclang-tools-extra/clang-doc/tool/ClangDocMain.cpp
Commit 6ef4786dbcd47cfe346ee8679ba0b4d320da797d by jan.kratochvil
Revert "[lldb] Fix+re-enable Assert StackFrame Recognizer on Linux"

This reverts commit cf1046c716b33ed449aa8fc26376864917c63c25.
Reverted: https://reviews.llvm.org/D74252

It fixed testsuite but broke real world functionality where is not used:
settings set symbols.enable-external-lookup false
The file was modifiedlldb/source/Target/AssertFrameRecognizer.cpp
The file was modifiedlldb/test/Shell/Recognizer/assert.test
Commit caeb6cfbc28088fcb5363b2961df888501ca8a47 by sbc
[WebAssembly] Fix signature of __powitf2 libcall

Add tests for @llvm.powi.f64/f128.

See: https://llvm.org/docs/LangRef.html#llvm-powi-intrinsic

Differential Revision: https://reviews.llvm.org/D74274
The file was modifiedllvm/test/CodeGen/WebAssembly/libcalls.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
Commit 4dcc029edbe4bd5e30d4f0cdcf123ea4ed2b6418 by Akira
[ObjC][ARC] Keep track of phis that have been discovered to avoid an
infinite loop

This fixes a bug introduced in 6770fbb31450db15d8d4a2ac7f0ce70eaf2acc5f.

rdar://problem/59137105
The file was modifiedllvm/test/Transforms/ObjCARC/inert-global.ll
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
Commit 2af1640f9aa4ebe5d447586bbdad6514312bb814 by craig.topper
[LegalizeDAG][X86][AMDGPU] Use ANY_EXTEND instead of ZERO_EXTEND when promoting ISD::CTTZ/CTTZ_ZERO_UNDEF.

Summary:
For CTTZ we place a set bit just past where the non-promoted type
stopped so the extended bits won't be used for the count. For
CTTZ_ZERO_UNDEF we don't care what happens if no bits are set in
the original type and we end up counting into the extended bits.
So we can just use ANY_EXTEND for both cases.

This matches what is done in type legalization for these operations.
We make no effort to force the upper bits to zero.

Differential Revision: https://reviews.llvm.org/D74111
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/clz.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cttz_zero_undef.ll
Commit 8d4fe864c4bdc53b3e6a2df43112520cb646afcf by maskray
[Driver][test] Fix Driver/hexagon-toolchain-elf.c for -DCLANG_DEFAULT_LINKER=lld builds after 305bf5b21dbdb2345ef86b5700285e42d992c954
The file was modifiedclang/test/Driver/hexagon-toolchain-elf.c
Commit 70e0935256fc173fbc57c7333727ab222af476eb by maskray
[Driver][test] Refactor LLVMgold tests

LLVMgold.so tests are duplicated in several places. Deduplicate them.
Move the tests to lto.c and lto.cu
Specify -fuse-ld=bfd or -fuse-ld=gold.

In a future change, if -fuse-ld=lld or CLANG_DEFAULT_LINKER=lld without -fuse-ld=, we will remove -plugin /path/to/LLVMgold.so
The file was modifiedclang/test/Driver/freebsd.c
The file was removedclang/test/Driver/lto-plugin-linux.c
The file was removedclang/test/Driver/lto-plugin-darwin.c
The file was modifiedclang/test/Driver/lto.cu
The file was removedclang/test/Driver/gold-lto.c
The file was modifiedclang/test/Driver/thinlto.cu
The file was modifiedclang/test/Driver/lto.c
The file was removedclang/test/Driver/lto-plugin-windows.c
The file was modifiedclang/test/Driver/thinlto.c
Commit 8aa3f507c38a2ccd8ed7cb33d02a6f645cdbc03a by maskray
[Driver] Don't pass -plugin LLVMgold.so when the linker is ld.lld

This is does not cover the case when ld is lld (e.g. /usr/bin/ld on
modern FreeBSD systems).
The file was modifiedclang/test/Driver/lto.c
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
The file was modifiedclang/test/Driver/lto.cu
Commit 6589a2914762eb6c2a1181c6b71edbb5d09130b2 by maskray
[Driver][test] Create empty file Inputs/basic_cross_linux_tree/usr/x86_64-unknown-linux-gnu/bin/ld.lld

To make lto.c and lto.cu pass for systems that do not have ld.lld
The file was addedclang/test/Driver/Inputs/basic_cross_linux_tree/usr/x86_64-unknown-linux-gnu/bin/ld.lld
Commit 4229f12a22a28d17ab49a3478928852fd212fc2a by llvm-dev
[TargetLowering] Remove isDesirableToCombineBuildVectorToShuffleTruncate target hook. NFC.

This hasn't been used for years, its original implementation, D35700, had bugs that caused the reversion of most of the code, and since then x86 shuffle lowering/combining has handled most cases and can deal with the rest as well.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
Commit 63e338be2cc6a4ab7a95ca7cf264928d41778ff4 by llvm-dev
[X86][SSE] Show isNegatibleForFree inability to peek through X86ISD::FRCP

We can safely negate the input of RCP but we can't peek through it.
The file was modifiedllvm/test/CodeGen/X86/fma-fneg-combine-2.ll
Commit 7f5b3fa73c39be2491a74283080a35b7140972d3 by llvm-dev
[X86][SSE] Add X86ISD::FRCP handling to isNegatibleForFree

Peek through X86ISD::FRCP nodes to see if there is a negatible input.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/fma-fneg-combine-2.ll
Commit e4230a9f6c518209cf0d9fdac1764dadd525b513 by benny.kra
ArrayRef'ize spillCalleeSavedRegisters. NFCI.
The file was modifiedllvm/lib/Target/ARC/ARCFrameLowering.h
The file was modifiedllvm/lib/Target/Mips/Mips16FrameLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCFrameLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was modifiedllvm/lib/Target/PowerPC/PPCFrameLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.h
The file was modifiedllvm/lib/Target/AVR/AVRFrameLowering.h
The file was modifiedllvm/lib/Target/MSP430/MSP430FrameLowering.h
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430FrameLowering.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.h
The file was modifiedllvm/lib/Target/AVR/AVRFrameLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEFrameLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
The file was modifiedllvm/lib/Target/ARM/Thumb1FrameLowering.h
The file was modifiedllvm/lib/Target/Mips/Mips16FrameLowering.h
The file was modifiedllvm/lib/Target/Mips/MipsSEFrameLowering.h
The file was modifiedllvm/include/llvm/CodeGen/MachineFrameInfo.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
The file was modifiedllvm/lib/Target/ARM/Thumb1FrameLowering.cpp
The file was modifiedllvm/lib/Target/Mips/Mips16InstrInfo.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreFrameLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.h
The file was modifiedllvm/lib/Target/ARC/ARCFrameLowering.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreFrameLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
Commit ed92ac73aff55211b0b67537fc36e663815cc9f7 by llvm-dev
Add missing encoding comments from fma4 folded intrinsics tests
The file was modifiedllvm/test/CodeGen/X86/fma4-intrinsics-x86_64-folded-load.ll
Commit ef83d46b6b428fa1c8614cd28ab6fe3f07f8d075 by benny.kra
Use heterogenous lookup for std;:map<std::string with a StringRef. NFCI.
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedllvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/lib/DebugInfo/Symbolize/Symbolize.cpp
The file was modifiedclang/include/clang/Frontend/CompilerInstance.h
The file was modifiedclang/lib/Lex/HeaderSearch.cpp
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h
Commit e229017732bcf1911210903ee9811033d5588e0d by sguelton
Support -fstack-clash-protection for x86

Implement protection against the stack clash attack [0] through inline stack
probing.

Probe stack allocation every PAGE_SIZE during frame lowering or dynamic
allocation to make sure the page guard, if any, is touched when touching the
stack, in a similar manner to GCC[1].

This extends the existing `probe-stack' mechanism with a special value `inline-asm'.
Technically the former uses function call before stack allocation while this
patch provides inlined stack probes and chunk allocation.

Only implemented for x86.

[0] https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt
[1] https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00556.html

This a recommit of 39f50da2a357a8f685b3540246c5d762734e035f with better option
handling and more portable testing

Differential Revision: https://reviews.llvm.org/D68720
The file was addedllvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll
The file was addedllvm/test/CodeGen/X86/stack-clash-large.ll
The file was addedclang/test/Driver/stack-clash-protection.c
The file was addedllvm/test/CodeGen/X86/stack-clash-medium.ll
The file was modifiedllvm/lib/Target/X86/X86CallFrameOptimization.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was addedclang/test/CodeGen/stack-clash-protection.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was addedllvm/test/CodeGen/X86/stack-clash-no-free-probe.ll
The file was addedllvm/test/CodeGen/X86/stack-clash-unknown-call.ll
The file was addedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was addedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes.ll
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was addedllvm/test/CodeGen/X86/stack-clash-small.ll
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
Commit 1ea99a2ebcb6dd5ce3d8c6bd3e35774daa8ed203 by ikudrin
[DebugInfo] Allow reading an address table with a mismatched address.

This case does not look as an unrecoverable error.

Differential Revision: https://reviews.llvm.org/D74194
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_addr_address_size_mismatch.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
Commit af2a38458197e07cbd03ea9446714008488826d8 by victor.campos
Revert "[ARM] Improve codegen of volatile load/store of i64"

This reverts commit 60e0120c913dd1d4bfe33769e1f000a076249a42.
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
The file was removedllvm/test/CodeGen/ARM/i64_volatile_load_store.ll
The file was modifiedllvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb2.td
Commit 658495e6ecd4f6e9422307379ce8ea959fea8e8f by sguelton
Revert "Support -fstack-clash-protection for x86"

This reverts commit e229017732bcf1911210903ee9811033d5588e0d.

Failures:

http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-debian/builds/2604
http://lab.llvm.org:8011/builders/llvm-clang-win-x-aarch64/builds/4308
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was removedllvm/test/CodeGen/X86/stack-clash-small.ll
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was removedllvm/test/CodeGen/X86/stack-clash-medium.ll
The file was removedllvm/test/CodeGen/X86/stack-clash-no-free-probe.ll
The file was removedclang/test/Driver/stack-clash-protection.c
The file was removedllvm/test/CodeGen/X86/stack-clash-unknown-call.ll
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was removedclang/test/CodeGen/stack-clash-protection.c
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was removedllvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was removedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
The file was modifiedllvm/lib/Target/X86/X86CallFrameOptimization.cpp
The file was removedllvm/test/CodeGen/X86/stack-clash-large.ll
The file was modifiedclang/docs/ReleaseNotes.rst
The file was removedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes.ll
Commit ec93c758ced7fa8ae1b5042039dd326ef1db45ef by benny.kra
Drop some uses of StringLiteral in favor of StringRef

StringRef can be used in constexpr contexts, so StringLiteral isn't
necessary anymore.
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Utils/StructuredOpsUtils.h
Commit 0ed79e9b8fbcc0c7fafa21cb1a606e64fd0d63e9 by llvm-dev
[X86] Standardize VPSLLDQ/VPSRLDQ enum names (PR31079)

Tweak EVEX implementation names so it matches the other variants
The file was modifiedllvm/lib/Target/X86/X86InstrFoldTables.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp
The file was modifiedllvm/test/CodeGen/X86/evex-to-vex-compress.mir
Commit 7355364f63eac9d20c0abb5ce213ba478e8ea8f1 by benny.kra
Put back makeArrayRef to make GCC 5 happy
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Utils/StructuredOpsUtils.h
Commit 2398752f37c5c1a377912d3d6aa416d3b06a4f30 by llvm-dev
Add missing encoding comments from fma scalar folded intrinsics tests
The file was modifiedllvm/test/CodeGen/X86/fma-scalar-memfold.ll
Commit c8bc89a933fc5e6fe160cffbd6e6a0aca0277cd9 by llvm-dev
Regenerate FMA tests
The file was modifiedllvm/test/CodeGen/X86/extended-fma-contraction.ll
The file was modifiedllvm/test/CodeGen/X86/fma-commute-x86.ll
The file was modifiedllvm/test/CodeGen/X86/fma-intrinsics-phi-213-to-231.ll
The file was modifiedllvm/test/CodeGen/X86/intersect-fma-fmf.ll
The file was modifiedllvm/test/CodeGen/X86/fmaddsub-combine.ll
Commit 23db9724d0e5490fa5a2a726acf015f84e2c87cf by nikita.ppv
[InstCombine] Fix infinite loop in min/max load/store bitcast combine (PR44835)

Fixes https://bugs.llvm.org/show_bug.cgi?id=44835. Skip the transform
if it wouldn't actually do anything (apart from removing and reinserting
the same instructions).

Note that the test case doesn't loop on current master anymore, only
on the LLVM 10 release branch. The issue is already mitigated on master
due to worklist order fixes, but we should fix the root cause there as well.

As a side note, we should probably assert in combineLoadToNewType()
that it does not combine to the same type. Not doing this here, because
this assertion would also be triggered in another place right now.

Differential Revision: https://reviews.llvm.org/D74278
The file was addedllvm/test/Transforms/InstCombine/pr44835.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
Commit 9d03b7d0d00833d81f31ff740491af6211262209 by nikita.ppv
[InstCombine] Use swapValues(); NFC

Less code, and makes it more obvious that these operands do not
need to be added back to the worklist.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
Commit d4627b90a0462c90a834c2f7b9c9228b3ec7a45b by nikita.ppv
[InstCombine] Avoid modifying instructions in-place

As discussed on D73919, this replaces a few cases where we were
modifying multiple operands of instructions in-place with the
creation of a new instruction, which we generally prefer nowadays.

This tends to be more readable and less prone to worklist management
bugs.

Test changes are only superficial (instruction naming and order).
The file was modifiedllvm/test/Transforms/InstCombine/icmp.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
The file was modifiedllvm/test/Transforms/InstCombine/icmp-custom-dl.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit 5b2b67be8eef706c4959201e9cf8590e133166b2 by nikita.ppv
[InstCombine] Remove unnecessary worklist push; NFCI

This is no longer needed after d4627b90a0462c90a834c2f7b9c9228b3ec7a45b,
should have dropped it there...
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Commit 10417ad2e4b5dccc9642960b9ee0ca5bd53bfb7c by llvm-dev
[X86] Standardize BROADCAST enum names (PR31079)

Tweak EVEX implementation names so it matches the other variants by adding the 'r' prefix. Oddly some of the subvec broadcast ops already matched.
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86MCInstLower.cpp
The file was modifiedllvm/test/CodeGen/X86/evex-to-vex-compress.mir
The file was modifiedllvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp
The file was modifiedllvm/lib/Target/X86/X86SchedSkylakeServer.td
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/X86/X86InstrFoldTables.cpp
Commit 4aa7b9cc963ae0df6a1411936b879d3c979d7299 by llvm-dev
[X86] X86InstComments - add FMA4 comments

These typically match the FMA3 equivalents, although the multiply operands sometimes get flipped due to the FMA3 permute variants.
The file was modifiedllvm/test/CodeGen/X86/fmaddsub-combine.ll
The file was modifiedllvm/test/CodeGen/X86/fma-fneg-combine-2.ll
The file was modifiedllvm/test/CodeGen/X86/fma4-scalar-memfold.ll
The file was modifiedllvm/test/CodeGen/X86/fma4-commute-x86.ll
The file was modifiedllvm/test/CodeGen/X86/fma_patterns.ll
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics-fma.ll
The file was modifiedllvm/test/CodeGen/X86/fma4-fneg-combine.ll
The file was modifiedllvm/test/CodeGen/X86/fma_patterns_wide.ll
The file was modifiedllvm/test/CodeGen/X86/fma4-intrinsics-x86.ll
The file was modifiedllvm/test/CodeGen/X86/fma4-intrinsics-x86_64-folded-load.ll
The file was modifiedllvm/test/CodeGen/X86/extended-fma-contraction.ll
The file was modifiedllvm/test/CodeGen/X86/wide-fma-contraction.ll
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp
The file was modifiedllvm/test/CodeGen/X86/fma4-intrinsics-x86-upgrade.ll
Commit eeb63944e4a4000f8c7f0860666c6862f53eff18 by craig.topper
[LegalizeTypes][ARM][AArch64][PowerPC][RISCV][X86] Use BUILD_PAIR to return expanded integer results from ReplaceNodeResults instead of just returning two results.

Remove code from LegalizeTypes that allowed this to work.

We were already using BUILD_PAIR for this in some places so this
standardizes on a single way to do this.
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 20344d370403951f91e72b773090bad83bb0b328 by riddleriver
[mlir] Add a document detailing the design of the SymbolTable.

Summary: This document provides insight on the rationale and the design of Symbols in MLIR, and why they are necessary.

Differential Revision: https://reviews.llvm.org/D73590
The file was modifiedmlir/docs/LangRef.md
The file was addedmlir/docs/SymbolsAndSymbolTables.md
The file was modifiedmlir/docs/Traits.md
Commit d4fbf8312b966b669bc52b33bf9cf30648883921 by ntv
[mlir][EDSC] NFC - Move StructuredIndexed and IteratorType out of Linalg

Summary:
This NFC revision will allow those classes to be reused to allow
building structured vector operations.

Reviewers: aartbik, ftynse

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74279
The file was modifiedmlir/include/mlir/Dialect/Linalg/EDSC/Builders.h
The file was modifiedmlir/include/mlir/EDSC/Builders.h
The file was modifiedmlir/include/mlir/Dialect/Utils/StructuredOpsUtils.h
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
Commit 5c159b91a24b07974328ab17fd56a244995f2944 by riddleriver
[mlir] Add a utility method on CallOpInterface for resolving the callable.

Summary: This is the most common operation performed on a CallOpInterface. This just moves the existing functionality from the CallGraph so that other users can access it.

Differential Revision: https://reviews.llvm.org/D74250
The file was modifiedmlir/include/mlir/Analysis/CallInterfaces.h
The file was modifiedmlir/lib/Transforms/Inliner.cpp
The file was modifiedmlir/lib/Analysis/CallGraph.cpp
The file was modifiedmlir/include/mlir/Analysis/CallGraph.h
The file was modifiedmlir/include/mlir/Analysis/CallInterfaces.td
Commit a148b9e9909db6a592609eb35b4de38c9e67cb8b by nikita.ppv
[InstCombine] Fix infinite min/max canonicalization loop (PR44541)

While D72944 also fixes https://bugs.llvm.org/show_bug.cgi?id=44541,
it does so in a more roundabout manner and there might be other
loopholes to trigger the same issue. This is a more direct fix,
that prevents the transform if the min/max is based on a
non-canonical sub X, 0 instruction.

Differential Revision: https://reviews.llvm.org/D73849
The file was addedllvm/test/Transforms/InstCombine/pr44541.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
Commit f8c9ceb1ce9c71574d413a6391812d46d9f9edb3 by George Burgess IV
[SimplifyLibCalls] Add __strlen_chk.

Bionic has had `__strlen_chk` for a while. Optimizing that into a
constant is quite profitable, when possible.

Differential Revision: https://reviews.llvm.org/D74079
The file was modifiedllvm/unittests/Analysis/TargetLibraryInfoTest.cpp
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
The file was addedllvm/test/Transforms/InstCombine/strlen_chk.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetLibraryInfo.def
Commit 72277ecd62e28a01bb98866c1b15d5f172ed30dc by johannes
Introduce a CallGraph updater helper class

The CallGraphUpdater is a helper that simplifies the process of updating
the call graph, both old and new style, while running an CGSCC pass.

The uses are contained in different commits, e.g. D70767.

More functionality is added as we need it.

Reviewed By: modocache, hfinkel

Differential Revision: https://reviews.llvm.org/D70927
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was modifiedllvm/unittests/Analysis/LazyCallGraphTest.cpp
The file was modifiedllvm/include/llvm/Analysis/LazyCallGraph.h
The file was modifiedllvm/unittests/Analysis/CMakeLists.txt
The file was addedllvm/lib/Transforms/Utils/CallGraphUpdater.cpp
The file was modifiedllvm/unittests/IR/CMakeLists.txt
The file was modifiedllvm/include/llvm/Analysis/CallGraph.h
The file was modifiedllvm/unittests/Analysis/CGSCCPassManagerTest.cpp
The file was modifiedllvm/unittests/IR/LegacyPassManagerTest.cpp
The file was modifiedllvm/lib/Analysis/LazyCallGraph.cpp
The file was modifiedllvm/lib/Analysis/CallGraph.cpp
The file was modifiedllvm/lib/Analysis/CallGraphSCCPass.cpp
The file was addedllvm/include/llvm/Transforms/Utils/CallGraphUpdater.h
Commit 9548b74a831ea005649465797f359e0521f3b8a9 by johannes
[OpenMP] Introduce the OpenMPOpt transformation pass

The OpenMPOpt pass is a CGSCC pass in which OpenMP specific
optimizations can reside.

The OpenMPOpt pass uses the OpenMPKinds.def file to identify runtime
calls and their uses. This allows targeted transformations and eases
their implementation.

This initial patch deduplicates `__kmpc_global_thread_num` and
`omp_get_thread_num` calls. We can also identify arguments that are
equivalent to such a call result and use it instead. Later we can
determine "gtid" arguments based on the use in kernel functions etc.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D69930
The file was modifiedllvm/include/llvm/Transforms/IPO.h
The file was addedllvm/test/Transforms/OpenMP/gtid.ll
The file was modifiedllvm/lib/Transforms/IPO/LLVMBuild.txt
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedllvm/lib/Transforms/IPO/CMakeLists.txt
The file was addedllvm/include/llvm/Transforms/IPO/OpenMPOpt.h
The file was addedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
The file was modifiedllvm/include/llvm/LinkAllPasses.h
The file was modifiedllvm/lib/Transforms/IPO/IPO.cpp
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was modifiedllvm/test/Other/pass-pipelines.ll
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
The file was modifiedllvm/test/Other/new-pm-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
Commit 4b4fbae24abf1e3c76cde3c41bb33d87688a9482 by llvm-dev
[X86] Test showing inability to combine ROTLI/ROTRI rotations into shuffles

One of many things necessary to fix PR44379 (lowering shuffles to rotations)
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-combining-xop.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-combining-avx512bwvl.ll
Commit f9c28dc9a5779e8c6d6ab54928c76dca9b02b711 by llvm-dev
[X86][SSE] Add test cases from PR44379
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v32.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-512-v64.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v16.ll
Commit 98e8eb8be0ea34f0e03c16142b9435d62353a697 by johannes
[FIX] Update PM tests after D69930 landed
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
Commit a05932931c640e7ce3f0c3bea0185f1a339c1f91 by nikita.ppv
[InstCombine] Refactor foldICmpAndShift(); NFCI

Separate out handling for shl, lshr and ashr. The combined handling
obscured some overly pessimistic requirements for the transform.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit 835c81923efee0cef1c64b25a34cf0872fa1e634 by llvm-dev
Fix test name typo
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-combining-avx512bwvl.ll
Commit 5f380403598a699b27701d912c3ab29bf9a15ca1 by maskray
[ELF] Simplify parsing of version dependency. NFC
The file was modifiedlld/ELF/ScriptParser.cpp
Commit 280f15cb41ce547a325fe13c610f55439aa44de2 by maskray
[gn build] Add OpenMPOpt.cpp to LLVMipo after D69930/9548b74a831e
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn
Commit abe3e5babdad001100b285d188e63f76fe21aea4 by riddleriver
[mlir] Add support for generating debug locations from intermediate levels of the IR.

Summary:
This revision adds a utility to generate debug locations from the IR during compilation, by snapshotting to a output stream and using the locations that operations were dumped in that stream. The new locations may either;
* Replace the original location of the operation.

old:
   loc("original_source.cpp":1:1)
new:
   loc("snapshot_source.mlir":10:10)

* Fuse with the original locations as NamedLocs with a specific tag.

old:
    loc("original_source.cpp":1:1)
new:
    loc(fused["original_source.cpp":1:1, "snapshot"("snapshot_source.mlir":10:10)])

This feature may be used by a debugger to display the code at various different levels of the IR. It would also be able to show the different levels of IR attached to a specific source line in the original source file.

This feature may also be used to generate locations for operations generated during compilation, that don't necessarily have a user source location to attach to.

This requires changes in the printer to track the locations of operations emitted in the stream. Moving forward we need to properly(and efficiently) track the number of newlines emitted to the stream during printing.

Differential Revision: https://reviews.llvm.org/D74019
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/lib/Transforms/CMakeLists.txt
The file was addedmlir/test/Transforms/location-snapshot.mlir
The file was modifiedmlir/include/mlir/IR/AsmState.h
The file was addedmlir/include/mlir/Transforms/LocationSnapshot.h
The file was addedmlir/lib/Transforms/LocationSnapshot.cpp
Commit 327e062a026a521d528244c12b38b8d6a2026b77 by stellaraccident
[mlir][quantizer] Add gathering of per-axis statistics in quantizer.

Reviewers: stellaraccident, nicolasvasilache

Reviewed By: stellaraccident

Subscribers: Joonsoo, merge_guards_bot, denis13

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73556
The file was modifiedmlir/lib/Quantizer/Support/Statistics.cpp
The file was modifiedmlir/include/mlir/Quantizer/Support/Statistics.h
Commit 1b2c16f2ae41eff124a11b8a5c343fb7688a2a85 by riddleriver
[mlir][DeclarativeParser] Add support for attributes with buildable types.

This revision adds support in the declarative assembly form for printing attributes with buildable types without the type, and moves several more parsers over to the declarative form.

Differential Revision: https://reviews.llvm.org/D74276
The file was modifiedmlir/include/mlir/TableGen/Attribute.h
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was modifiedmlir/docs/OpDefinitions.md
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was modifiedmlir/lib/TableGen/Attribute.cpp
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
Commit 2f94ce0dcfd1f827105ac3d53d870447a25d57a3 by riddleriver
[mlir][DeclarativeParser] Move several missed parsers over to the declarative form.

Differential Revision: https://reviews.llvm.org/D74283
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVStructureOps.td
The file was modifiedmlir/lib/Dialect/LoopOps/LoopOps.cpp
The file was modifiedmlir/test/Dialect/SPIRV/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBitOps.td
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVControlFlowOps.td
The file was modifiedmlir/include/mlir/Dialect/LoopOps/LoopOps.td
Commit d643a39aba26acbaf9cff06446703c88d690a72f by craig.topper
[X86] Use any_fadd/sub/mul/div/sqrt with the AVX512 scalar_*_patterns.

Making sure not to use them with patterns for masked instructions.

Also fix FMA patterns that were matching strict_fma+x86selects to
masked instructions.
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
Commit 8df173f399d89c6c0f600ece6c0aa08f7cad61a6 by thakis
[gn build] (manually) port 72277ecd62e and the LLVMBuild bit of 9548b74a83
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Analysis/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/IR/BUILD.gn
Commit e28936f6137c5a9c4f7673e248c192a9811543b6 by johannes
[OpenMP][Opt] Annotate known runtime functions and deduplicate more

This adds ~27 more runtime calls to the OpenMPKinds.def file, all with
attributes. We deduplicate 16 of those automatically in function =
thread scope. And we annotate all of them automatically during the
OpenMPOpt discovery step. A test with all omp_XXXX runtime calls to
track annotation coverage is included.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D69984
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
Commit e565db49c648973bab1a5cad600858bebb4b9aa6 by johannes
[OpenMP][Opt] Delete terminating and read-only parallel regions

Parallel regions known to be read-only, e.g., after we removed all dead
write accesses, and terminating (`willreturn`) can be removed.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D69954
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was addedllvm/test/Transforms/OpenMP/parallel_deletion.ll
Commit e8a436c5ea26f69378e4c1cf3ddb5b647b201e0f by johannes
[OpenMP][OMPIRBuilder] Add Directives (master and critical) to OMPBuilder.

Add support for Master and Critical directive in the OMPIRBuilder. Both make use of a new common interface for emitting inlined OMP regions called `emitInlinedRegion` which was added in this patch as well.

Also this patch modifies clang to use the new directives when  `-fopenmp-enable-irbuilder` commandline option is passed.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D72304
The file was modifiedllvm/lib/Frontend/OpenMP/OMPConstants.cpp
The file was modifiedclang/test/OpenMP/critical_codegen.cpp
The file was modifiedclang/test/OpenMP/master_codegen.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPConstants.h
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
The file was modifiedllvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
The file was modifiedllvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
Commit c057d1d3af1dbe84881372b5d17214dc35c27ed3 by johannes
[FIX] Fix warning in LazyCallGraphTest caused by D70927
The file was modifiedllvm/unittests/Analysis/LazyCallGraphTest.cpp
Commit 0152b106ae8dc5b7b5e905c51e0224da01260098 by craig.topper
[X86] Add the recently added (V)CVTSS2SI/CVTSD2SI instructions used for LRINT/LLRINT to the load folding tables.
The file was modifiedllvm/lib/Target/X86/X86InstrFoldTables.cpp
Commit 08c0a06d8f375e48d4acebac886bfdf19a2276ed by johannes
[FIX] Ordering problem accidentally introduced with D72304
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
Commit ee3f13b81dc7a8dd51870743b89b4e0cd3ff293b by maskray
Fix -Wunused-lambda-capture for -DLLVM_ENABLE_ASSERTIONS=off builds after 6556c615f3c3aae8af876806777065961ae20024
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit b0c77c36d2fb1157bb32741278661ace75c4e8da by johannes
[Attributor] Add an Attributor CGSCC pass and run it

In addition to the module pass, this patch introduces a CGSCC pass that
runs the Attributor on a strongly connected component of the call graph
(both old and new PM). The Attributor was always design to be used on a
subset of functions which makes this patch mostly mechanical.

The one change is that we give up `norecurse` deduction in the module
pass in favor of doing it during the CGSCC pass. This makes the
interfaces simpler but can be revisited if needed.

Reviewed By: hfinkel

Differential Revision: https://reviews.llvm.org/D70767
The file was modifiedllvm/test/Transforms/Attributor/align.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/multiple_callbacks.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR16052.ll
The file was modifiedllvm/test/Transforms/Attributor/internal-noalias.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/nonzero-address-spaces.ll
The file was modifiedllvm/test/Transforms/Attributor/norecurse.ll
The file was modifiedllvm/test/Other/pass-pipelines.ll
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
The file was modifiedllvm/include/llvm/LinkAllPasses.h
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/dbg.ll
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/lib/Transforms/IPO/IPO.cpp
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was modifiedllvm/test/Other/new-pm-defaults.ll
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
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/Attributor/willreturn.ll
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit e629674176f6a0cb2975f474a03d657a5ab5e3e7 by craig.topper
[X86] Add more scalar intrinsic instructions to isNonFoldablePartialRegisterLoad.

I think this covers most if not all of the scalar intrinsic
instructions.
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
Commit aaddca1efd1d5a66d014023b9649cb273a84a7ae by ravishankarm
[mlir][GPUToSPIRV] Modify the lowering of gpu.block_dim to be consistent with Vulkan SPEC

The existing lowering of gpu.block_dim added a global variable with
the WorkGroupSize decoration. This raises an error within
Vulkan/SPIR-V validation since Vulkan requires this to have a constant
initializer. This is not yet supported in SPIR-V dialect. Changing the
lowering to return the workgroup size as a constant value instead,
obtained from spv.entry_point_abi attribute gets around the issue for
now. The validation goes through since the workgroup size is specified
using spv.execution_mode operation.
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
The file was modifiedmlir/test/Conversion/GPUToSPIRV/load-store.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/builtins.mlir
Commit 1732f50ee06f6ac3fc21046f4c486108e86d3a49 by maskray
[ELF][test] Use llvm-readelf -l instead of llvm-readobj -l for some memory region tests
The file was modifiedlld/test/ELF/linkerscript/at.s
The file was modifiedlld/test/ELF/linkerscript/at4.s
The file was modifiedlld/test/ELF/linkerscript/at2.test
The file was modifiedlld/test/ELF/linkerscript/memory-at.test
Commit 0fd51a4554f5f4f90342f40afd35b077f6d88213 by sguelton
Support -fstack-clash-protection for x86

Implement protection against the stack clash attack [0] through inline stack
probing.

Probe stack allocation every PAGE_SIZE during frame lowering or dynamic
allocation to make sure the page guard, if any, is touched when touching the
stack, in a similar manner to GCC[1].

This extends the existing `probe-stack' mechanism with a special value `inline-asm'.
Technically the former uses function call before stack allocation while this
patch provides inlined stack probes and chunk allocation.

Only implemented for x86.

[0] https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt
[1] https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00556.html

This a recommit of 39f50da2a357a8f685b3540246c5d762734e035f with proper LiveIn
declaration, better option handling and more portable testing.

Differential Revision: https://reviews.llvm.org/D68720
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was addedllvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was addedllvm/test/CodeGen/X86/stack-clash-medium.ll
The file was addedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was addedclang/test/Driver/stack-clash-protection.c
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedllvm/lib/Target/X86/X86CallFrameOptimization.cpp
The file was addedclang/test/CodeGen/stack-clash-protection.c
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was addedllvm/test/CodeGen/X86/stack-clash-unknown-call.ll
The file was addedllvm/test/CodeGen/X86/stack-clash-no-free-probe.ll
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was addedllvm/test/CodeGen/X86/stack-clash-small.ll
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was addedllvm/test/CodeGen/X86/stack-clash-large.ll
The file was addedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes.ll
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
Commit 454621160066c067c97edb0a094553d8d0339c9b by sguelton
Revert "Support -fstack-clash-protection for x86"

This reverts commit 0fd51a4554f5f4f90342f40afd35b077f6d88213.

Failures:

http://lab.llvm.org:8011/builders/llvm-clang-win-x-armv7l/builds/4354
The file was removedclang/test/Driver/stack-clash-protection.c
The file was removedllvm/test/CodeGen/X86/stack-clash-medium.ll
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was removedllvm/test/CodeGen/X86/stack-clash-small.ll
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was removedllvm/test/CodeGen/X86/stack-clash-large.ll
The file was modifiedllvm/lib/Target/X86/X86CallFrameOptimization.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was modifiedclang/docs/ReleaseNotes.rst
The file was removedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
The file was removedllvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll
The file was removedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes.ll
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was removedclang/test/CodeGen/stack-clash-protection.c
The file was removedllvm/test/CodeGen/X86/stack-clash-unknown-call.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was removedllvm/test/CodeGen/X86/stack-clash-no-free-probe.ll
Commit e67cbac81211d40332a79d98c9d5953624cc1202 by sguelton
Support -fstack-clash-protection for x86

Implement protection against the stack clash attack [0] through inline stack
probing.

Probe stack allocation every PAGE_SIZE during frame lowering or dynamic
allocation to make sure the page guard, if any, is touched when touching the
stack, in a similar manner to GCC[1].

This extends the existing `probe-stack' mechanism with a special value `inline-asm'.
Technically the former uses function call before stack allocation while this
patch provides inlined stack probes and chunk allocation.

Only implemented for x86.

[0] https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt
[1] https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00556.html

This a recommit of 39f50da2a357a8f685b3540246c5d762734e035f with proper LiveIn
declaration, better option handling and more portable testing.

Differential Revision: https://reviews.llvm.org/D68720
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was addedllvm/test/CodeGen/X86/stack-clash-medium.ll
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was addedclang/test/Driver/stack-clash-protection.c
The file was addedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes.ll
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was addedclang/test/CodeGen/stack-clash-protection.c
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticCommonKinds.td
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was addedllvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedllvm/test/CodeGen/X86/stack-clash-dynamic-alloca.ll
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was addedllvm/test/CodeGen/X86/stack-clash-large.ll
The file was addedllvm/test/CodeGen/X86/stack-clash-small.ll
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was addedllvm/test/CodeGen/X86/stack-clash-no-free-probe.ll
The file was addedllvm/test/CodeGen/X86/stack-clash-unknown-call.ll
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedllvm/lib/Target/X86/X86CallFrameOptimization.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
Commit 10c7b7708b32960c82ad295484ae94ffb5b02333 by ayman.musa
[AggressiveInstCombine] Add test with baseline CHECKs for aggressive inst combine for SELECT.
The file was addedllvm/test/Transforms/AggressiveInstCombine/trunc_select.ll
Commit 3b70ee27a5032a52fc9502541c70b5e0e6b29dfa by ehudkatz
[LoopExtractor] Convert LoopExtractor from LoopPass to ModulePass

The LoopExtractor created new functions (by definition), which violates
the restrictions of a LoopPass.
The correct implementation of this pass should be as a ModulePass.
Includes reverting rL82990 implications on the LoopExtractor.

Fixes PR3082 and PR8929.

Differential Revision: https://reviews.llvm.org/D69069
The file was addedllvm/test/Transforms/CodeExtractor/LoopExtractor_infinite.ll
The file was addedllvm/test/Transforms/CodeExtractor/LoopExtractor_min_wrapper.ll
The file was modifiedllvm/test/Feature/optnone-opt.ll
The file was modifiedllvm/lib/Transforms/IPO/LoopExtractor.cpp
The file was addedllvm/test/Transforms/CodeExtractor/LoopExtractor.ll
The file was addedllvm/test/Transforms/CodeExtractor/LoopExtractor_crash.ll
Commit 644d56b432bf6f50faa9638ec1b75e9d7ed3d6d4 by llvm-dev
[X86] Recognise ROTLI/ROTRI rotations as faux shuffles

Allows us to combine rotations with shuffles.

One of many things necessary to fix PR44379 (lowering shuffles to rotations)
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-combining-xop.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-combining-avx512bwvl.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 3ec6de07e91989145e32489a8a6dfa9f9afbb242 by llvm-dev
Fix signed/unsigned warning.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 420a51806850a20ebf4144699457de84513f6abc by jan.kratochvil
[lldb] [testsuite] TestGdbRemoteLibrariesSvr4Support: Fix symlinked builddir

When I have symlinked builddir on Fedora 31 x86_64 I get:

FAIL: test_libraries_svr4_libs_present (TestGdbRemoteLibrariesSvr4Support.TestGdbRemoteLibrariesSvr4Support)
----------------------------------------------------------------------
...
  File "lldb/packages/Python/lldbsuite/test/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py", line 106, in
libraries_svr4_libs_present
    self.assertIn(self.getBuildDir() + "/" + lib, libraries_svr4_names)
AssertionError:
'/home/jkratoch/redhat/llvm-monorepo-clangassertsymlink/lldb-test-build.noindex/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.test_libraries_svr4_libs_present/libsvr4lib_a.so' not found in ['/home/jkratoch/redhat/llvm-monorepo/lldb/packages/Python/lldbsuite/test/tools/lldb-server/libraries-svr4/linux-vdso.so.1', '/quad/home/jkratoch/redhat/llvm-monorepo-clangassertsymlink/lldb-test-build.noindex/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.test_libraries_svr4_libs_present/libsvr4lib_a.so', '/quad/home/jkratoch/redhat/llvm-monorepo-clangassertsymlink/lldb-test-build.noindex/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.test_libraries_svr4_libs_present/libsvr4lib_b".so', '/usr/lib64/libdl-2.30.so', '/usr/lib64/libstdc++.so.6.0.27', '/usr/lib64/libm-2.30.so', '/usr/lib64/libgcc_s-9-20190827.so.1', '/usr/lib64/libc-2.30.so', '/usr/lib64/ld-2.30.so']
Config=x86_64-/quad/home/jkratoch/redhat/llvm-monorepo-clangassertsymlink/bin/clang-11
----------------------------------------------------------------------

Differential Revision: https://reviews.llvm.org/D74295
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py
Commit 0ea4d18a288bf2a4010632f841b421e1bdc5072a by n54
[LLDB] [doc] Update the current status of pkgsrc (NetBSD) building
The file was modifiedlldb/docs/status/releases.rst
Commit 5a285f207e109221572a0aabc83f2bce521322bd by n54
[LLDB] [doc] Remove note about libpanel(3) and NetBSD

libpanel(3) is now supported in all supported versions of NetBSD.
The file was modifiedlldb/docs/resources/build.rst
Commit 8b37e1e5ac090a498eb4940be3264e9d5ba8c97c by jan.kratochvil
[lldb] [doc] Testing: Fix typos
The file was modifiedlldb/docs/resources/test.rst
Commit 74857b4260ec9db8d688c2d377a5f370efc150b4 by jan.kratochvil
[lldb] [doc] Status: Debugserver (remote debugging) is OK now
The file was modifiedlldb/docs/status/status.rst
Commit a17f03bd93939cf30bfbb829321437bd0aaa4ef0 by spatel
[VectorCombine] new IR transform pass for partial vector ops

We have several bug reports that could be characterized as "reducing scalarization",
and this topic was also raised on llvm-dev recently:
http://lists.llvm.org/pipermail/llvm-dev/2020-January/138157.html
...so I'm proposing that we deal with these patterns in a new, lightweight IR vector
pass that runs before/after other vectorization passes.

There are 4 alternate options that I can think of to deal with this kind of problem
(and we've seen various attempts at all of these), but they all have flaws:

    InstCombine - can't happen without TTI, but we don't want target-specific
                  folds there.
    SDAG - too late to assist other vectorization passes; TLI is not equipped
           for these kind of cost queries; limited to a single basic block.
    CGP - too late to assist other vectorization passes; would need to re-implement
          basic cleanups like CSE/instcombine.
    SLP - doesn't fit with existing transforms; limited to a single basic block.

This initial patch/transform is based on existing code in AggressiveInstCombine:
we walk backwards through the function looking for a pattern match. But we diverge
from that cost-independent IR canonicalization pass by using TTI to decide if the
vector alternative is profitable.

We probably have at least 10 similar bug reports/patterns (binops, constants,
inserts, cheap shuffles, etc) that would fit in this pass as follow-up enhancements.
It's possible that we could iterate on a worklist to fix-point like InstCombine does,
but it's safer to start with a most basic case and evolve from there, so I didn't
try to do anything fancy with this initial implementation.

Differential Revision: https://reviews.llvm.org/D73480
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
The file was modifiedllvm/include/llvm/Transforms/Vectorize.h
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was addedllvm/lib/Transforms/Vectorize/VectorCombine.cpp
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
The file was modifiedllvm/include/llvm/LinkAllPasses.h
The file was modifiedllvm/lib/Transforms/Vectorize/CMakeLists.txt
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was addedllvm/include/llvm/Transforms/Vectorize/VectorCombine.h
The file was addedllvm/test/Transforms/VectorCombine/X86/extract-cmp.ll
The file was modifiedllvm/lib/Passes/PassRegistry.def
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/test/Other/new-pm-defaults.ll
The file was addedllvm/test/Transforms/VectorCombine/X86/lit.local.cfg
The file was modifiedllvm/lib/Transforms/Vectorize/Vectorize.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
Commit 628462e30a77da531c82112e4d489d6d7ef96300 by llvmgnsyncbot
[gn build] Port a17f03bd939
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn
Commit 273f638384d69f71838978001bf2f542d472b5f9 by n54
[LLDB] [doc] Document NetBSD status and sort OSs alphabetically
The file was modifiedlldb/docs/status/status.rst
Commit 9d223a0106d0bde18aa6e353ec338206b235e3f2 by jan.kratochvil
[lldb] [doc] Status: Linux: Update the paragraph
The file was modifiedlldb/docs/status/status.rst
Commit 29621b2534658426128ec30455db98c105964c51 by llvm-dev
[X86] Rename matchShuffleAsRotate - matchShuffleAsByteRotate. NFCI.

A matchShuffleAsBitRotate variant will be added soon and we need to make the difference more obvious.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 22780731255020ce78cf3671a4af94c4a2e9ac03 by llvm-dev
[X86][SSE] Add more tests showing failure to lower shuffles as bit rotations
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v8.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-512-v32.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v32.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v16.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v16.ll
Commit 0ae119f83560c694d6b1f17e32dc7a6b8be16bc1 by llvm-dev
[X86][XOP] Add XOP target to vXi16/vXi8 shuffle tests

Helps with bit rotation test coverage for PR44379
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v16.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v16.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v32.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v8.ll
Commit 4b23a2e8e971876d075d3ae322754dbc0495413d by jano.vesely
libclc: Move rsqrt implementation to a .cl file

Reviewer: awatry
Differential Revision: https://reviews.llvm.org/D74013
The file was addedlibclc/generic/lib/math/rsqrt.cl
The file was modifiedlibclc/generic/include/clc/math/rsqrt.h
The file was modifiedlibclc/generic/lib/SOURCES
Commit 85e2fa44c64e1edd2f675c990ecc60f5fadb4686 by jano.vesely
libclc/r600: Use target specific builtins to implement rsqrt and native_rsqrt

Fixes OCL CTS rsqrt and half_rsqrt (1 thread, scalaer) tests on AMD Turks.

Reviewer: awatry
Differential Revision: https://reviews.llvm.org/D74016
The file was addedlibclc/r600/lib/math/native_rsqrt.cl
The file was addedlibclc/r600/lib/math/rsqrt.cl
The file was modifiedlibclc/r600/lib/SOURCES
Commit dbcc1392b3807d7ddcb000741d2ffb276d90d36b by craig.topper
[X86] Remove isel patterns that include a vselect/X86selects and a strict FP node.

A vselect+strictfp node is not equivalent to a masked operation.
The exceptions of the strictfp node are not masked by a vselect
after it so we can't match it to a masked operation.

We already had a hack in IsLegalToFold to prevent these patterns from
matching. This patch removes that hack and removes the patterns.
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit dd262222b403dcfc5aef8fe4c49678ac5675a276 by craig.topper
[X86] Use MVT::i32 for the type of a MOV32r0 created in X86DAGToDAGISel::Select.

Not sure if this really matters. The VT isn't really used after
this point. At best it might affect CSE.
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit e82e17d4d4cac8b2df00094e80d5e1cb22795664 by llvm-dev
[X86] Add lowerShuffleAsBitRotate (PR44379)

As noted on PR44379, we didn't attempt to lower vector shuffles using bit rotations on XOP/AVX512F targets.

This patch lowers to uniform ISD:ROTL nodes - ROTR isn't supported by XOP and they are interchangeable for constant values anyway.

There might be cases where targets without ISD:ROTL support would benefit from this (expanding to SRL+SHL+OR), which I'll investigate in a future patch.

Also, non-AVX512BW targets fail to concatenate 256-bit rotations back to 512-bits (split during shuffle lowering as they don't have v32i16/v64i8 types).
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v8.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-512-v32.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v16.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v32.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v16.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-512-v64.ll
Commit e1cbfecdb866211a8f4f51064e96c200b278232b by craig.topper
[X86] Add flag result VT to a MOV32r0 created in X86DAGToDAGISel::Select

The flag isn't used, but I believe this matches the MOV32r0 that
would be created by the table emitter. This should allow this node
to be CSEed with any others created by the table.
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit 656d66f5fc51ce6003b1ef114d6806168fb1f159 by craig.topper
[X86] Use custom isel for (X86sbb_flag 0, 0) so we can use 32-bit SBB for i8/i16.

We were using MOV32r0 and an extract_subreg as an input. By using
custom isel we can move the extract_subreg to after the SBB instead
of on the input.
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrCompiler.td
The file was modifiedllvm/test/CodeGen/X86/shl-crash-on-legalize.ll
Commit 29e646fe655cb63a23a08e7213599e51ef564ab5 by llvm-dev
[X86] combineConcatVectorOps - combine VROTLI/VROTRI ops

Fix issue mentioned on rGe82e17d4d4ca - non-AVX512BW targets failed to concatenate 256-bit rotations back to 512-bits (split during shuffle lowering as they don't have v32i16/v64i8 types).
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-512-v32.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-512-v64.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 6e1770821fbd05bd5180530aca17e1455d1c29d8 by arsenm2
AMDGPU: Fix SI_IF lowering when the save exec reg has terminator uses

Reverts part of 6524a7a2b9ca072bd7f7b4355d1230e70c679d2f. Since that
commit, the expansion was ignoring the actual save exec register
produced by the instruction, and looking at other instructions. I do
not understand why it was looking at other instructions, but relying
on this scan was wrong.

Fixes verifier errors after SI_IF is tail duplicated, which should be
correct to do. The results were fed into a phi, which was lowered to
the S_MOV_B64_term instructions.
The file was addedllvm/test/CodeGen/AMDGPU/si-if-lower-user-terminators.mir
The file was modifiedllvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
Commit 00115d767f34ecab35f86c29f37593efadd2b327 by arsenm2
AMDGPU: Remove dead kill handling

At one point a custom node was used for kill handling, but now the
intrinsic is directly selected. Remove leftover pattern machinery.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
Commit f4a38c114e124c21549d06281554658687012179 by arsenm2
AMDGPU/GlobalISel: Look through casts when legalizing vector indexing

We were failing to find constants that were casted. I feel like the
artifact combiner should have folded the constant in the trunc before
the custom lowering, but that doesn't happen.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-insert-vector-elt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir
Commit 2126c70e3a628cb772d7b9f63cb897857214245a by arsenm2
AMDGPU/GlobalISel: Don't mis-select vector index on a constant

Vector indexing with a constant index should be folded out in the
legalizer, but this was accidentally falling through. This would
produce the indexing operation with $noreg. Handle this case as a
dynamic index just in case a bug like this happens again in the
future.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert-vector-elt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-extract-vector-elt.mir
Commit 6135f5eda48eb12a98f835d976e4916cfd44764c by arsenm2
GlobalISel: Fix narrowing of G_CTLZ/G_CTTZ

The result type is separate from the source type.
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/ctlz.mir
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/cttz.mir
Commit c437f6c6873fe32e99e975f4fb1fe3b3531cb93c by arsenm2
AMDGPU/GlobalISel: Split 64-bit G_CTPOP in RegBankSelect
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-ctpop.mir
Commit 312a9d1b8343f5185ae9c6cdd2b022f1f93514e5 by arsenm2
GlobalISel: Fix narrowScalar for G_{CTLZ|CTTZ}_ZERO_UNDEF

Narrow these for 64-bit VALU for AMDGPU.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-cttz-zero-undef.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-ctlz-zero-undef.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit 512c03bac449d8d40c5fc8d0ff1719f887c7fdc3 by maskray
[DebugInfo] Add a DWARFDataExtractor constructor that takes ArrayRef<uint8_t>

Similar to D67797 (DataExtractor).
The file was modifiedllvm/tools/llvm-readobj/DwarfCFIEHPrinter.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
Commit 64f417200e1020305f28f3c1e40691585f50f6ad by shiva0217
[RISCV] Fix incorrect FP base CFI offset for variable argument functions

When the FP exists, the FP base CFI directive offset should take the size of variable arguments into account.

Differential Revision: https://reviews.llvm.org/D73862
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/vararg.ll
Commit 05d44204fa13767a366c37695c2131161158ea36 by craig.topper
[X86] Use MOVZX instead of MOVSX in f16_to_fp isel patterns.

Using sign extend forces the adjacent element to either all zeros
or all ones. But all ones is a NAN. So that doesn't seem like a
great idea.

Trying to work on supporting this with strict FP where NAN would
definitely be bad.
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
The file was modifiedllvm/test/CodeGen/X86/half.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-vec-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/pr31088.ll
The file was modifiedllvm/test/CodeGen/X86/vec_fp_to_int.ll
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/test/CodeGen/X86/vector-half-conversions.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-insert-extract.ll
Commit f24c43c0c50f2b89f6ce74bcdb0b24a8d73d4cc6 by craig.topper
[X86] Autogenerate complete checks. NFC
The file was modifiedllvm/test/CodeGen/X86/fastmath-float-half-conversion.ll
Commit a06789138987d1f64bb2f97d3a5c0f39eaf94715 by michael.hliao
[clang][codegen] Fix another lifetime emission on alloca on non-default address space.

- Lifetime intrinsics expect the pointer directly from alloca. Need
  extra handling for targets with alloca on non-default (or non-zero)
  address space.
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was addedclang/test/CodeGenCXX/amdgcn-call-with-aggarg.cpp
Commit ab3da5dd66c0fee4f6ecbaf344c5904323ac7c7d by michael.hliao
Fix `-Wparentheses` warning. NFC.
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
Commit 06ba969c9dc98ba4d40d6e6c13822e2752aaffc5 by craig.topper
[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)).

Instead of using a insrw to element 0, use movzx and movd.

Same for v16i8.
The file was modifiedllvm/test/CodeGen/X86/avx512bwvl-intrinsics-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/broadcastm-lowering.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-variable-128.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/merge-consecutive-loads-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v16.ll
The file was modifiedllvm/test/CodeGen/X86/buildvec-insertvec.ll
The file was modifiedllvm/test/CodeGen/X86/vector-mulfix-legalize.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/vec_cast.ll
Commit d0749cc709d9e432e9ff6e861f45c6bd92acaadf by johannes
[Attributor][NFC] Use existing constant instead of magic one
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit 103364b4b23e37fff66f2da37873cfd890f9a4e5 by johannes
[Attributor][Tests][NFC] Add more range tests

Inspired by https://llvm.discourse.group/t/impossible-condition-optimization/461
The file was modifiedllvm/test/Transforms/Attributor/range.ll
Commit d0a6b32b4fa575b21ad4ba9407a227828e68cf39 by craig.topper
[X86] Autogenerate complete checks. NFC
The file was modifiedllvm/test/CodeGen/X86/cvt16.ll
Commit 028db8c490bb29fb2fb7fab63771e72923d275fa by johannes
[Attributor][FIX] Call right base method in AAValueConstantRangeFloating

We now call the base class method as we should.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/range.ll
Commit ffdbd2a06ca2a2703647fb87140b8965b3b0218c by johannes
[Attributor] Look through (some) casts in AAValueConstantRangeFloating

Casts can be handled natively by the ConstantRange class. We do limit it
to extends for now as we assume an integer type in different locations.
A TODO and a test case with a FIXME was added to remove that restriction
in the future.
The file was modifiedllvm/test/Transforms/Attributor/range.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR16052.ll
Commit 7e7e6594b3450dbdaffbbeb39e832f6f39ce45a9 by johannes
[Attributor] Allow SelectInst in AAValueConstantRangeFloating

The genericValueTraversal will already handle SelectInst properly and we
just needed to allow them in the initialize method.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/range.ll
Commit 63adbb9a0ed9a40fc47c72502754d88d04ede1e0 by johannes
[Attributor][FIX] Remove FIXME that seems outdated

The change is performed as stated by the FIXME and the tests are
adjusted. All changes look fine to me and values can be inferred as
undef without it being an error.
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR16052.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/undefined_behavior.ll
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll
Commit 8155439331ac8f85be54adbd053c100567927d7c by johannes
[Attributor] Allow PHI nodes in AAValueConstantRangeFloating

Traversing PHI nodes is natural with the genericValueTraversal but also
a bit tricky. The problem is similar to the ones we have seen in AAAlign
and AADereferenceable, namely that we continue to increase the range in
each iteration. We use a pessimistic approach here to stop the
iterations. Nevertheless, optimistic information can now be propagated
through a PHI node.
The file was modifiedllvm/test/Transforms/Attributor/willreturn.ll
The file was modifiedllvm/test/Transforms/Attributor/range.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
Commit 21c9d9ad43f07c07a127bc6f29f13f62e831ab11 by Amara Emerson
[GlobalISel][CallLowering] Tighten constantexpr check for callee.

I'm not sure there's a test case for this, but it's better to be safe.
The file was modifiedllvm/lib/CodeGen/GlobalISel/CallLowering.cpp
Commit d180899cb7107fdee4078f890cc18ea635925c09 by djordje.todorovic
[llvm-dwarfdump][Stats] Fix the License header

Fix the added License.

Differential Revision: https://reviews.llvm.org/D74207
The file was modifiedllvm/tools/llvm-dwarfdump/Statistics.cpp
Commit 1c0ebcca6edd977194efbccb7b6c35777439bcd3 by johannes
[Attributor][Tests] Run the CGSCC versions on the range.ll test
The file was modifiedllvm/test/Transforms/Attributor/range.ll
Commit 87ddf1f4fad01bccb70f10a3ee5c5ad5b20e4de4 by johannes
[Attributor] Simple casts preserve no-alias property

This is a minimal but important advancement over the existing code. A
cast with an operand that is only used in the cast retains the no-alias
property of the operand.
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/noalias.ll
Commit d2e434a46107b3f191c1dffddd52fc04a50b8460 by johannes
[Attributor][FIX] Make check lines explicit

There is a bug in `update_test_checks.py` that combines check lines it
should not. For now we unbreak the bots by making all possibilities
explicit.
The file was modifiedllvm/test/Transforms/Attributor/range.ll
Commit 8756869170e67019151bff0fc7657597f37fced2 by sebastian.neubauer
[AMDGPU] Add a16 feature to gfx10

Based on D72931

This adds a new feature called A16 which is enabled for gfx10.
gfx9 keeps the R128A16 feature so it can share all the instruction encodings
with gfx7/8.

Differential Revision: https://reviews.llvm.org/D73956
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.load.a16.d16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.store.a16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/nsa-vmem-hazard.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.store.a16.d16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.a16.dim.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.a16.dim.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
The file was addedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.a16.encode.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.a16.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mcp-overlap-after-propagation.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrFormats.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.td
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MIMGInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.load.a16.ll
Commit ea2af727a5c38906e3d1321de51aaa126b4efc69 by Raphael Isemann
[lldb] Refactored TestCallOverriddenMethod.py to general virtual function test

This actually tests all the different situations in which we can call virtual
functions. This removes also all skipIfs as the first skipIf for Linux is
apparently fixed and the second skipIf was just failing due to the constructor
call (which should be its own test and not be tested here).
The file was removedlldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/virtual-functions/TestCppVirtualFunctions.py
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/virtual-functions/main.cpp
The file was removedlldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/TestCallOverriddenMethod.py
The file was removedlldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/virtual-functions/Makefile
Commit d2e0fee77bc82a54bcc11ce778ce12f068f9e326 by jan.kratochvil
[lldb] [doc] Change sample commands prefix from > to $

Remove all beginning > from the sample commands as my accidental
copy-paste (multiple times...) will discard ./bin/llvm-lit which is
difficult to rebuild (I have to rm -rf and cmake it all again).

Differential Revision: https://reviews.llvm.org/D74296
The file was modifiedlldb/docs/resources/test.rst
Commit 68908993ebd2af459cd0f2ed6ab340bf62fb3e9d by djordje.todorovic
[CSInfo] Use isCandidateForCallSiteEntry() when updating the CSInfo

Use the isCandidateForCallSiteEntry().
This should mostly be an NFC, but there are some parts ensuring
the moveCallSiteInfo() and copyCallSiteInfo() operate with call site
entry candidates (both Src and Dest should be the call site entry
candidates).

Differential Revision: https://reviews.llvm.org/D74122
The file was modifiedllvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/lib/CodeGen/UnreachableBlockElim.cpp
The file was modifiedllvm/lib/CodeGen/XRayInstrumentation.cpp
The file was modifiedllvm/lib/CodeGen/BranchFolding.cpp
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/IfConversion.cpp
The file was modifiedllvm/lib/CodeGen/LiveRangeEdit.cpp
The file was modifiedllvm/lib/CodeGen/InlineSpiller.cpp
The file was modifiedllvm/lib/Target/X86/X86ExpandPseudo.cpp
The file was modifiedllvm/lib/CodeGen/MachineOutliner.cpp
The file was modifiedllvm/lib/CodeGen/PeepholeOptimizer.cpp
Commit a5040d5ec97ecac9940275eb59175f0bdbd26ab4 by kai
[SytemZ] Disable vector ABI when using option -march=arch[8|9|10]

When specifying -march=arch[8|9|10], those CPU types do NOT support
the vector extension. In this case the vector ABI must be disabled.
The generated data layout should NOT contain 64-v128.

Reviewers: uweigand

Differential Revision: https://reviews.llvm.org/D74146
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
The file was modifiedclang/test/CodeGen/target-data.c
Commit 6115bd9ba2851469d372d0d7b36d87a3e1d8094b by martin
[LLDB] Fix GCC warnings about extra semicolons. NFC.
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
The file was modifiedlldb/source/Plugins/Architecture/Mips/ArchitectureMips.cpp
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
The file was modifiedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp
The file was modifiedlldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABISysV_i386.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
The file was modifiedlldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
The file was modifiedlldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedlldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
The file was modifiedlldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.cpp
The file was modifiedlldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
The file was modifiedlldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp
The file was modifiedlldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was modifiedlldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
The file was modifiedlldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABIWindows_x86_64.cpp
The file was modifiedlldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
The file was modifiedlldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp
The file was modifiedlldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp
The file was modifiedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
The file was modifiedlldb/source/Plugins/Architecture/Arm/ArchitectureArm.cpp
The file was modifiedlldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp
The file was modifiedlldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
The file was modifiedlldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
The file was modifiedlldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp
The file was modifiedlldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
The file was modifiedlldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
The file was modifiedlldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
The file was modifiedlldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
The file was modifiedlldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
The file was modifiedlldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp
The file was modifiedlldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABISysV_x86_64.cpp
The file was modifiedlldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
The file was modifiedlldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
The file was modifiedlldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
The file was modifiedlldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.cpp
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp
The file was modifiedlldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
The file was modifiedlldb/source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.cpp
The file was modifiedlldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.cpp
The file was modifiedlldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp
The file was modifiedlldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.cpp
The file was modifiedlldb/source/Plugins/ABI/X86/ABIMacOSX_i386.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Commit 1a39f1b966a8d8f15ed0d5a832d5097cccefe93b by jan.kratochvil
[lldb] Fix+re-enable Assert StackFrame Recognizer on Linux

D73303 was failing on Fedora Linux and so it was disabled by Skip the
AssertFrameRecognizer test for Linux.

I find no easy way how to find out if it gets recognized as
`__assert_fail` or `__GI___assert_fail` as during `Process` ctor
libc.so.6 is not yet loaded by the debuggee.

DWARF symbol `__GI___assert_fail` overrides the ELF symbol `__assert_fail`.
While external debug info (=DWARF) gets disabled for testsuite (D55859)
that sure does not apply for real world usage.

Differential Revision: https://reviews.llvm.org/D74252
The file was modifiedlldb/source/Commands/CommandObjectFrame.cpp
The file was modifiedlldb/unittests/Target/StackFrameRecognizerTest.cpp
The file was modifiedlldb/source/Target/AssertFrameRecognizer.cpp
The file was modifiedlldb/test/Shell/Recognizer/assert.test
The file was modifiedlldb/include/lldb/Target/StackFrameRecognizer.h
The file was modifiedlldb/source/Target/StackFrameRecognizer.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Commit c49b9e0d3284715415cb9f473f6ab2257e778c2b by simon.moll
[Doc] Proposal for vector predication

Summary:
Proposal and roadmap towards vector predication in LLVM.
This patch documents that
a) It is recognized that current LLVM is ill-equipped for vector predication.
b) The community is working on a solution.
c) A concrete prototype exists in the VP extension (D57504).

Reviewers: rkruppe, rengolin, cameron.mcinally, SjoerdMeijer, andrew.w.kaylor, craig.topper, sdesmalen, k-ishizaka, lattner, fhahn

Reviewed By: andrew.w.kaylor

Subscribers: rogfer01, merge_guards_bot, simoncook, s.egerton, llvm-commits, efocht

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73889
The file was modifiedllvm/docs/GettingInvolved.rst
The file was addedllvm/docs/Proposals/VectorPredication.rst
Commit 3a4dc577c97218c4915f18108ed9945be8250289 by djordje.todorovic
[CSInfo] Fix the assertions regarding updating the CSInfo

The call site info was not updated correctly when deleting
corresponding call instructions.

Differential Revision: https://reviews.llvm.org/D73700
The file was modifiedllvm/lib/CodeGen/MachineLICM.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
The file was modifiedllvm/test/CodeGen/X86/speculative-load-hardening-indirect.ll
The file was modifiedllvm/test/CodeGen/X86/hoist-invariant-load.ll
The file was modifiedllvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-tls-dynamics.ll
Commit 76f888d0a5324f4c6ae89cac61077cca4299b159 by richard
Fix handling of destructor names that name typedefs.

1) Fix a regression in llvmorg-11-init-2485-g0e3a4877840 that would
reject some cases where a class name is shadowed by a typedef-name
causing a destructor declaration to be rejected. Prefer a tag type over
a typedef in destructor name lookup.

2) Convert the "type in destructor declaration is a typedef" error to an
error-by-default ExtWarn to allow codebases to turn it off. GCC and MSVC
do not enforce this rule.
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/SemaCXX/destructor.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaLookup.cpp
Commit a248fa90a75fed9b6ac94e5638ee0e3bad2a51d7 by frank.laub
[MLIR][Affine] NFC: Move AffineValueMap and MutableAffineMap

Summary:
The `AffineValueMap` is moved into `Dialect/AffineOps` to prevent a cyclic
dependency between `Analysis` and `Dialect/AffineOps`.

Reviewers: bondhugula, herhut, nicolasvasilache, rriddle, mehdi_amini

Reviewed By: rriddle, mehdi_amini

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74277
The file was addedmlir/include/mlir/Dialect/AffineOps/AffineValueMap.h
The file was modifiedmlir/lib/Analysis/AffineStructures.cpp
The file was modifiedmlir/include/mlir/Dialect/AffineOps/AffineOps.h
The file was modifiedmlir/include/mlir/IR/AffineMap.h
The file was modifiedmlir/lib/Analysis/AffineAnalysis.cpp
The file was modifiedmlir/lib/Dialect/AffineOps/AffineOps.cpp
The file was addedmlir/lib/Dialect/AffineOps/AffineValueMap.cpp
The file was modifiedmlir/lib/Dialect/AffineOps/CMakeLists.txt
The file was modifiedmlir/include/mlir/Analysis/AffineStructures.h
The file was modifiedmlir/lib/IR/AffineMap.cpp
The file was modifiedmlir/lib/Analysis/Utils.cpp
The file was modifiedmlir/lib/Analysis/LoopAnalysis.cpp
Commit da52b9c118e47e3fd87e3500ac48cf76acea57c5 by flo
[DSE] Add tests for MemorySSA based DSE.

This copies the DSE tests into a MSSA subdirectory to test the MemorySSA
backed DSE implementation, without disturbing the original tests.

Differential Revision: https://reviews.llvm.org/D72145
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/2011-09-06-MemCpy.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/simple.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/merge-stores-big-endian.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/inst-limits.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/mda-with-dbg-values.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/tail-byval.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/memintrinsics.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/dominate.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-captures.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/simple-todo.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-partial.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-memintrinsics.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/libcalls.ll
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/OverwriteStoreBegin.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/cs-cs-aliasing.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/2016-07-17-UseAfterFree.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/fence.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/launder.invariant.group.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/PartialStore.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/combined-partial-overwrites.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/memcpy-complete-overwrite.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/overlap.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/debuginfo.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-memoryphis.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-malloc-free.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/memset-and-memcpy.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/no-targetdata.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/invariant.start.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/pr11390.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/int_sideeffect.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/OverwriteStoreEnd.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-loops.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/crash.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/2011-09-06-EndOfFunction.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/memset-missing-debugloc.ll
The file was addedllvm/test/Transforms/DeadStoreElimination/MSSA/lifetime.ll