AbortedChanges

Summary

  1. DebugInfo: Use separate macinfo contributions for each CU (details)
  2. Reland "[clang] Report sanitizer blacklist as a dependency in cc1" (details)
  3. Reland "[clang] Report sanitizer blacklist as a dependency in cc1" (details)
  4. [clang] Fix -fsanitize-system-blacklist processing in cc1 (details)
  5. [llvm-xray] Add basic test for AArch64 support (details)
  6. Basic: fix FileManager invalidation issue for file redirect (details)
  7. Add a testcase for .dSYM path remapping dictionaries. (details)
  8. Don't attempt to upgrade debug-info-tests to Python3. (details)
  9. [TargetLowering][DAGCombine][MSP430] Shift Amount Threshold in (details)
  10. Revert "Reapply "Fix crash on switch conditions of non-integer types in (details)
  11. clang-format: Add to the release notes the new --dry-run/-n option (details)
  12. Revert "Reland "[clang] Report sanitizer blacklist as a dependency in (details)
  13. Reland "[compiler-rt] Fix tests after 03b84e4f6d0" (details)
  14. clang-format: refresh the list of options (details)
  15. [www] More HTTPS and outdated link fixes. (details)
  16. [MC] Emit unused undefined symbol even if its binding is not set (details)
  17. [clangd] NFC, reuse the source manager variable in the RawStringLiteral (details)
  18. Debug Info: Nest Objective-C property function decls inside their (details)
  19. NVPTX: Don't insert an extra empty line at the end of the last section. (details)
  20. llvm-ranlib/nm: Don't print usage message except for usage errors (details)
  21. DebugInfo: Do not create a debug_macinfo section if no CUs have (details)
  22. DebugInfo: Remove redundant conditionals/checks from macro info emission (details)
  23. Test case to verify that lldb falls back to p/P if g is unsupported and (details)
  24. ThinLTO : Import always_inline functions irrespective of the threshold (details)
  25. [clang][IFS] Adds support for more decl types in clang interface stubs. (details)
  26. [clang][IFS][test] Fixing buildbot test fails for clang-ifs. (details)
  27. Revert "Add a testcase for .dSYM path remapping dictionaries." (details)
  28. Temporarily change the default for use-g-packet-for-reading to false, (details)
  29. [analyzer] Nullability: Don't infer nullable when passing as nullable (details)
  30. [analyzer] Fix skipping the call during inlined defensive check (details)
  31. [Diagnostics] Fixed crash with non pointer type (PR43950) (details)
  32. Refactor SimplifySelectsFeedingBinaryOp for D64713. NFC. (details)
  33. [cxx_status] Update with Belfast motions. (details)
  34. Remarks - fix shadow variable warnings. NFCI. (details)
  35. Fix shadow variable warning by reducing scope of CC/InverseCC CondCodes. (details)
  36. Remove superfluous break after return. NFC. (details)
  37. Statistic - Fix shadow variable warning. NFCI. (details)
  38. Remove duplicate MemVT to fix shadow variable warning. NFCI. (details)
  39. Remarks - fix static analyzer warnings. NFCI.  - Fix uninitialized (details)
  40. llvm-exegesis - fix shadow variable warnings. NFCI. (details)
  41. Fix builds where LLVM_ENABLE_STATS is disabled (details)
  42. [NFC] Supress GCC "Bitfield too small to hold all values of enum" (details)
  43. [Parser] Warn when ScopeDepthOrObjCQuals overflows (details)
  44. [libc++] Validate the entire regex is consumed (details)
  45. [BPF] Add preserve_access_index attribute for record definition (details)
  46. Revert "[BPF] Add preserve_access_index attribute for record definition" (details)
  47. [Diagnostics] Try to improve warning message for -Wreturn-type (details)
  48. Fix operator precedence warning. NFC. (details)
  49. Fix shadow variable warning with llvm::SrcMgr. NFCI. (details)
  50. Fix uninitialized variable warnings. NFCI. (details)
  51. Fixed more -Wreturn-type tests (details)
  52. Fixed c-index test (details)
  53. Fixed dia file (details)
  54. Fix variable ‘LookedUpGetterSetter’ set but not used warning. NFCI. (details)
  55. [lldb] [test] Un-XFAIL tests that work on NetBSD 9 (details)
  56. [LV] Apply sink-after & interleave-groups as VPlan transformations (details)
  57. RegisterCoalescer - fix uninitialized variables. NFCI. (details)
  58. RegisterCoalescer - remove duplicate variable to fix Wshadow warning. (details)
  59. Reduce scope of variable to silence cppcheck warning. NFC (details)
  60. YAMLParser - fix SimpleKey uninitialized variable warnings. NFCI. (details)
  61. Try to fix sphinx "Could not lex literal_block as "llvm"" warning. (details)
  62. [X86] Handle MO_ConstantPoolIndex in X86AsmPrinter::PrintOperand (details)
  63. [NFC]: Fix PVS Studio warning in LoopNestAnalysis Summary:This patch (details)
  64. [MC] Clean up MacroInstantiation. NFC (details)
  65. CodeGenRegBank - make functions const to fix cppcheck warnings. (details)
  66. Path - fix uninitialized variable warnings. NFCI. (details)
  67. PODSmallVector - fix MSVC uninitialized variable warnings. NFCI. (details)
  68. TableGen - fix uninitialized variable warnings. NFCI. (details)
  69. Twine - fix uninitialized variable warnings. NFCI. (details)
  70. [NFC][Codegen] Add `x u% C1 == C2` with C1 u<= C2 tautological tests (details)
  71. [Driver] Remove unused variable. NFC. (details)
  72. Remove unused variable (which allows us to remove vector include). NFC. (details)
  73. [InstCombine] avoid crash from deleting an instruction that still has (details)
  74. [RISCV][NFC] Add CFI-related tests (details)
  75. [RISCV] Fix CFA when doing split sp adjustment with fp (details)
  76. Revert "[InstCombine] avoid crash from deleting an instruction that (details)
  77. Docs: Updates Sphinx Quickstart template for new contributors (details)
  78. [NFC][Codegen] Add `x u% C1 == C2` with C1 u> C2 non-tautological tests (details)
  79. clang/Modules: Remove unused parameter from ModuleManager::removeModules (details)
  80. getArgOperandNo helper function. (details)
  81. [InstCombine] avoid crash from deleting an instruction that still has (details)
  82. Revert "[InstCombine] avoid crash from deleting an instruction that (details)
  83. [InstCombine] Add a test case for suboptimal handling of (double (details)
  84. [InstCombine] Turn (extractelement <1 x i64/double> (bitcast (x86_mmx))) (details)
  85. Revert "Fixed a profdata file size detection on Windows system." (details)
  86. [DirectedGraph]: Add setTargetNode member function Summary:Add the (details)
  87. [NFC] Add one test to verify the dependency brings by Macro-Fusion. (details)
  88. libc++ status page: New papers and issues adopted in Belfast (details)
  89. [clangd] Fixes colon escaping on Windows (details)
  90. [yaml2obj] - Add a way to describe the custom data that is not part of (details)
  91. [AArch64][SVE] Spilling/filling of SVE callee-saves. (details)
  92. [FixBB] - An attemp to fix clang-armv7-linux-build-cache builder. (details)
  93. Use MCRegister in copyPhysReg (details)
  94. [FixBB] - Fix one more std::min -> std::min<uint64_t> to make BB happy. (details)
  95. [TargetLowering][DAGCombine][MSP430] Shift Amount Threshold in (details)
  96. [NFC] Add one test to verify the sign_extend of vector type. (details)
  97. [clangd] Fix a regression of not showing documentation from forward (details)
  98. [RISCV][NFC] Add nounwind to LKK test functions (details)
  99. [lldb] [test] Mark TestSendSignal XFAIL on NetBSD (details)
  100. Revert cdcf58e5af0 "[RISCV] enable LTO support, pass some options to (details)
  101. [lldb] [test] Fix typo in TestSendSignal (details)
  102. [InstCombine] Simplify binary op when only one operand is a select (details)
  103. docs: fix warning in LangRef parsing (details)
  104. Remove superfluous ';' to fix Wpedantic. NFC. (details)
  105. Fix -Wparentheses warning. NFCI. (details)
  106. Fix -Wcovered-switch-default warning. NFCI. (details)
  107. AArch64FunctionInfo - fix uninitialized variable warnings. NFCI. (details)
  108. [clangd] Use name of Macro to compute its SymbolID, NFC. (details)
  109. [NFC][TEST_COMMIT] Add fullstop to comment. (details)
  110. [DBG][OPT] Attempt to salvage or undef debug info when removing (details)
  111. Revert "[DBG][OPT] Attempt to salvage or undef debug info when removing (details)
  112. [InstCombine] avoid crash from deleting an instruction that still has (details)
  113. Revert "[InstCombine] avoid crash from deleting an instruction that (details)
  114. [TargetLowering][DAGCombine][MSP430] Shift Amount Threshold in (details)
  115. [libc++] Mark __call_once_proxy as hidden and internal (details)
  116. clang-format: [JS] support null operators. (details)
  117. clang-format: [JS] test declared fields. (details)
  118. [clangd] fixes semantic highlighting test (details)
  119. [PowerPC] Implementing overflow version for XO-Form instructions (details)
  120. [clang-tidy] Add bugprone-bad-signal-to-kill-thread checker and alias (details)
  121. Fix TestNoGPacketSupported on linux (details)
  122. [ObjC] Override TailCallKind when lowering objc intrinsics (details)
  123. Revert "[clang-tidy] Add bugprone-bad-signal-to-kill-thread checker and (details)
  124. [clang-tidy] Add bugprone-bad-signal-to-kill-thread check and its alias (details)
  125. gn build: Merge 8d288a0668a (details)
  126. lldb: Fix some -Wdeprecated-copy warnings (details)
  127. [Format] Fix clang-format.el unit tests after commit f349cc37cc485fd5f (details)
  128. change LLVM_VERSION_SUFFIX default from svn to git (details)
  129. Timer - fix shadow variable warnings for Name/Description members. NFC. (details)
  130. Fix filename typo in rG8d288a0668a5 (details)
  131. [Support] Add erase() to json::Object (details)
  132. [CGP] Make ICMP_EQ use CR result of ICMP_S(L|G)T dominators (details)
  133. Fix errors where we thought we were checking for labels but weren't due (details)
  134. [ModuloSchedule] Do target loop analysis before peeling. (details)
  135. [scudo][standalone] Match function name change to bionic name change. (details)
  136. [libTooling] Further simplify `Stencil` type and introduce (details)
  137. [libc++][P0980] Marked member functions move/copy/assign of char_traits (details)
  138. [clangd] Fix crash in DefineInline::prepare() (details)
  139. [debuginfo] Update test to account for missing __debug_macinfo (details)
  140. Make FileCheckNumericVariable::getDefLineNumber const. NFC (details)
  141. Add missing override modifiers for FileCheckExpressionAST::eval() (details)
  142. [OPENMP50]Add support for nested atomic and simd constructs in (details)
  143. [OPENMP50]Generalize handling of context matching/scoring. (details)
  144. [ModuloSchedule] Fix modulo expansion for data loop carried (details)
  145. Add a testcase for .dSYM path remapping dictionaries. (details)
  146. Fix a regression in macOS-style path remapping. (details)
  147. Replace tabs with spaces. (NFC) (details)
  148. clang-format: fix a typo introduced by the previous change (details)
  149. [AArch64] Add new scheduling predicates (details)
  150. [AArch64] Update for Exynos (details)
  151. Disable hoisting MI to hotter basic blocks (details)
  152. [Reproducer] Quit the debugger after generating a reproducer (details)
  153. clang/Modules: Delay err_module_file_conflict if a diagnostic is in (details)
  154. Fixing PowerPC llc test cases for Disable hoisting MI to hotter basic (details)
  155. [PowerPC][XCOFF] Add support for zero initialized global values. (details)
  156. clang/Modules: Use range-based for in ASTReader::ReadAST, NFC (details)
  157. clang/Modules: Split loop in ReadAST between failable and not (details)
  158. [X86] Autogenerate checks in fp-intrinsics.ll. Split fma tests off to (details)
  159. [X86] Add avx512 command lines to vector-constrained-fp-intrinsics.ll. (details)
  160. [lldb] Re-enable VSCode tests (details)
  161. clang/Modules: Add missing diagnostics for malformed AST files (details)
  162. [X86] Remove some else branches after checking for !useSoftFloat() that (details)
  163. clang/Modules: Clean up modules on error in ReadAST (details)
  164. [IR] Redefine Freeze instruction (details)
  165. [MC] Make MCFragment trivially destructible (details)
  166. [IR] Resolve an error at freeze's unit tests (details)
  167. [X86] Remove setOperationAction lines that say to promote MVT::i1 (details)
  168. [NFC] Fix test case after edab7dd426249bd40059b49b255ba9cc5b784753 (details)
  169. Add InstCombine/InstructionSimplify support for Freeze Instruction (details)
  170. Add rpath to liblldb so vendors can ship their own python framework (or (details)
  171. [VFABI] Read/Write functions for the VFABI attribute. (details)
  172. gn build: Merge e9a06e06064 (details)
  173. Fix null dereference in yaml::Document::skip (details)
  174. [SLP] Look-ahead operand reordering heuristic. (details)
  175. [PDB] Make pdb::DbiModuleDescriptor destructor trivial (details)
  176. AMDGPU/SI: make ~SIScheduleBlockCreator trivial (details)
  177. [Support] Optimize SHA1 implementation (details)
  178. [Attributor] Use must-be-executed-context in align deduction (details)
  179. [yaml2obj/obj2yaml] - Add support for SHT_LLVM_LINKER_OPTIONS sections. (details)
  180. [llvm-readelf/llvm-readobj][test] - Convert elf-linker-options.ll to use (details)
  181. [VFABI] Remove unused variables in testcase, fix buildbot (details)
  182. [X86] Update stale comment. NFC (details)
  183. [X86] Add fptosi test to fp-intrinsics.ll (details)
  184. MCP: Fixed bug with dest overlapping copy source (details)
  185. [NFC][InstCombine] Add tests that show a number of canonicalization (details)
  186. [lldb] Check if we actually have a Clang type in (details)
  187. [lldb][NFC] Remove unused CompilerType::IsPossibleCPlusPlusDynamicType (details)
  188. [lldb][NFC] Move LLVM RTTI implementation from enum to static ID (details)
  189. [lldb] Add missing include to ObjCLanguage.cpp to fix build (details)
  190. [clang-format] [PR36294] AlwaysBreakAfterReturnType works incorrectly (details)
  191. [X86] Add more add/sub carry tests (details)
  192. DWARFDebugLoclists: add location list "interpretation" logic (details)
  193. [lldb][NFC] Simplify a return in (details)
  194. [LoopInterchange] Only skip PHIs with incoming values from the inner (details)
  195. [lldb][test] Macros in expressions require DWARF 5 (details)
  196. [X86] Add PR39464 addcarry/subborrow test cases (details)
  197. FileCheckPattern::FindRegexVarEnd - make helper function static. NFC (details)
  198. [X86] Cleanup prefixes + regenerate for fp-intrinsics-fma.ll (details)
  199. [InstCombine] Skip scalable vectors in combineLoadToOperationType (details)
  200. [AArch64ExpandPseudos] Preserve renamable state when expanding MOVi64 & (details)
  201. [lldb] [Process/NetBSD] Use PT_STOP to stop the process [NFCI] (details)
  202. AArch64: add arm64_32 support to Clang. (details)
  203. Mark llvm::ConstantExpr::getAsInstruction as const (details)
  204. [lldb] Fix some warnings in the python plugin (details)
  205. [lldb] Fix more -Wdeprecated-copy warnings (details)
  206. Revert "Fix lookup of symbols at the same address with no size vs. size" (details)
  207. [Examples] Add IRTransformations directory to examples. (details)
  208. [PowerPC][NFC]Fix typo in desc for enable-ppc-prefetching (details)
  209. [DBG][OPT] Attempt to salvage or undef debug info when removing (details)
  210. [PowerPC] Remove allow-deprecated-dag-overlap and fix broken tests (details)
  211. [Hexagon] Require PS_aligna whenever variable-sized objects are present (details)
  212. [Hexagon] Handle stack realignment in hexagon-vextract (details)
  213. [Hexagon] Convert stack object offsets to int64, NFC (details)
  214. [Hexagon] Fix vector spill expansion to use proper alignment (details)
  215. [SLP] add test for miscompile with reduction (PR43948); NFC (details)
  216. clang/Modules: Error if ReadASTBlock does not find the main module (details)
  217. [lit] Better/earlier errors for empty runs (details)
  218. Performance: Add a set of visited SymbolFiles to the other FindFiles (details)
  219. [Hexagon] Update PS_aligna with max stack alignment once isel completes (details)
  220. [libcxxabi] Prevent cmake from removing our explicit system C++ include (details)
  221. [OPENMP]Use copy constructors instead of assignment operators in declare (details)
  222. Fix build with shared libraries. NFC. (details)
  223. ARM: Don't emit R_ARM_NONE relocations to compact unwinding decoders in (details)
  224. [ObjectFileMachO] Fix the build for __arm64__. (details)
  225. [llvm-objcopy][COFF] Implement --redefine-sym and --redefine-syms (details)
  226. [LLDB][Formatters] Re-enable std::function formatter with fixes to (details)
  227. [AST] Use an explicit copy in a range-based for (details)
  228. [OpenMP] Use an explicit copy in a range-based for (details)
  229. [Analyzer] Use a reference in a range-based for (details)
  230. [CodeGen] Fix getArrayAccessFor crashes as in bug 32534 with (details)
  231. [AArch64] Fix addressing mode predicates (details)
  232. [AArch64] Update for Exynos (details)
  233. [LLDB] Always remove debugserver from LLVM_DISTRIBUTION_COMPONENTS (details)
  234. Allow additional file suffixes/extensions considered as source in main (details)
  235. [GVNHoist] Preserve AAResults. (details)
  236. [LLDB] Fix/silence CMake developer warning for LLDB framework. (details)
  237. [GlobalsAA] Restrict ModRef result if any internal method has its (details)
  238. [BPF] generate BTF_KIND_VARs for all non-static globals (details)
  239. Add -Wtautological-compare to -Wall (details)
  240. Fix include guard and properly order __deregister_frame_info. (details)
  241. [X86] Only pass v64i8/v32i16 as v16i32 on non-avx512bw targets if the (details)
  242. [X86] Don't consider v64i1 as a legal type unless v64i8 is also a legal (details)
  243. Add a shim for setenv on PS4 since it does not exist. (details)
  244. [LLDB] Remove debug message in AddLLDB.cmake (details)
  245. [LLDB] Only set FRAMEWORK when we're actually building a framework. (details)
  246. Temporarily Revert "Reapply [LVI] Normalize pointer behavior" as it's (details)
  247. Temporarily disable test. (details)
  248. [Sema] Add MacroQualified case for FunctionTypeUnwrapper (details)
  249. Don't assume that the clang binary's resolved name includes the string (details)
  250. [LLDB] Add core definition for armv8l and armv7l (details)
  251. [GlobalsAA] Reenable test. (details)
  252. AMDGPU Reduce reported maximum group size to 1024 (details)
  253. AMDGPU: Switch backend default max workgroup size to 1024 (details)
  254. AMDGPU: Extend add x, (ext setcc) combine to sub (details)
  255. Add 8548 CPU definition and attributes (details)
  256. [VFABI] Add LLVM internal mangling for vector functions. (details)
  257. [Reproducer] Discard reproducer directory if not generated. (details)
  258. [GPGPU] Fix regression test after 395124. (details)
  259. [X86] Remove setOperationAction for FP_TO_SINT v8i16. (details)
  260. [TargetLowering][DAGCombine][MSP430] Shift Amount Threshold in (details)
  261. [libcxx testing] Fix -Wtautological-overlap-compare bug (details)
  262. [ARM,MVE] Use VMOV.{S8,S16} for sign-extended extractelement. (details)
  263. [AArch64][SVE] Allocate locals that are scalable vectors. (details)
  264. [InstCombine] Fold PHIs with equal incoming pointers (details)
  265. [AArch64] Extend storeRegToStackSlot to spill SVE registers. (details)
  266. [DebugInfo] Add helper for finding entry value candidates [NFC] (details)
  267. [DebugInfo] Avoid creating entry values for clobbered registers (details)
  268. Temporarily revert "[InstCombine] Fold PHIs with equal incoming (details)
  269. [OpenCL] Add remaining vector data builtin functions (details)
  270. [mips][test] Add Mips CPU tests. NFC (details)
  271. [mips] Show an error if 64-bit target triple provided with 32-bit CPU (details)
  272. [Mips] Add rematerialization support for ldi.fmt (details)
  273. Revert 57dd4b0 "[ValueTracking] Allow context-sensitive nullness check (details)
  274. [libomptarget] Move supporti.h to support.cu (details)
  275. [X86][AVX] Add plausible schedule classes to (details)
  276. [ARM,MVE] Add intrinsics for contiguous load/stores. (details)
  277. [RISCV] Fix wrong CFI directives (details)
  278. [ARM][MVE] canTailPredicateLoop (details)
  279. [InstCombine] Precommit shuffle tests for D70093. (details)
  280. Revert "[RISCV] Fix wrong CFI directives" (details)
  281. [InstCombine] Avoid moving ops that do restrict undef across shuffles. (details)
  282. [clangd] Add bool return type to Index::refs API. (details)
  283. [clang][Tooling] Filter flags that generate output in SyntaxOnlyAdjuster (details)
  284. SLPVectorizer - make comparison operators + isInSchedulingRegion const (details)
  285. PPCReduceCRLogicals - fix static analyzer warnings. NFC - Fix (details)
  286. Sparc - fix uninitialized variable warnings. NFCI. (details)
  287. Fix uninitialized variable warning. NFCI. (details)
  288. Fix uninitialized variable warning. NFCI. (details)
  289. Fix uninitialized variable warning. NFCI. (details)
  290. PowerPC - fix uninitialized variable warnings. NFCI. (details)
  291. Remove commented out CHECK-NEXT to try and appease (details)
  292. DWARFDebugLoclists: Add an api to get the location lists of a DWARF unit (details)
  293. [InstCombine] propagate fast-math-flags (FMF) to select when inverting (details)
  294. [profile] Factor out logic for mmap'ing merged profile, NFC (details)
  295. Fix comment spelling {addresing -> addressing} (NFC) (details)
  296. [BPF] Add preserve_access_index attribute for record definition (details)
  297. [SLP] reduce code duplication for min/max vs. other reductions; NFCI (details)
  298. [BPF] add missing attribute in (details)
  299. Don't set LLVM_NO_DEAD_STRIP on AIX (details)
  300. Fix typo in DwarfDebug [NFC] (details)
  301. [RISCV] Use compiler-rt if no GCC installation detected (details)
  302. [BPF] fix clang test failure for bpf-attr-preserve-access-index-4.c (details)
  303. [SLP] improve test readability; NFC (details)
  304. [AArch64][v8.3a] Add LDRA '[xN]!' alias. (details)
  305. [AArch64][v8.3a] Add missing imp-defs on RETA*. (details)
  306. [llvm-bcanalyzer] Don't dump the contents if -dump is not passed (details)
  307. [TTI] Fix cast cost on vector types. (details)
  308. [LiveInterval] Allow updating subranges with slightly out-dated IR (details)
  309. [mips] Add tests to check `jal sym+offset`. NFC (details)
  310. [mips] Add test to check ELF output for JAL XGOT expansion. NFC (details)
  311. [mips] Reduce number of nested `if` statements. NFC (details)
  312. [TargetLowering] Increase the storage size of NumRegistersForVT to allow (details)
  313. [dsymutil] Add -dump to llvm-bcanalyzer invocations (details)
  314. [LLDB] Fix a bunch of -Wdocumentation warnings (details)
  315. Add -disable-builtin option to opt (details)
  316. [LLD] [COFF] Fix automatically importing data symbols from DLLs with LTO (details)
  317. [clang-format] refactor the use of the SMDiagnostics in replacement (details)
  318. [SLP] fix miscompile on min/max reductions with extra uses (PR43948) (details)
  319. Revert "[RISCV] Use compiler-rt if no GCC installation detected" (details)
  320. Rename ParseTypeFromDWO to ParseTypeFromClangModule (NFC) (details)
  321. [SimplifyCFG] add test for select with FMF; NFC (details)
  322. libc++ status page: Fix HTML. (details)
  323. [PGO][PGSO] Temporarily disable the large working set size behavior. (details)
  324. Rename clang-module-related *DWO* functions to *ClangModule* (NFC) (details)
  325. [X86] Move all the FP_TO_XINT/XINT_TO_FP setOperationActions into the (details)
  326. [X86] Fix typo in comment. NFC (details)
  327. [X86] Don't set the operation action for i16 SINT_TO_FP to Promote just (details)
  328. Use cheaper, equivalent predicate. (NFC) (details)
  329. Remove redundant check. (NFC) (details)
  330. [LLDB] Fix a bunch of -Wdocumentation warnings in ExpressionParser (details)
  331. [RegisterContext] Remove now unneded vestiges. (details)
  332. [LLDB] Remove dead code from StreamFile (details)
  333. [LLDB] Fix another set of -Wdocumentation warnings (details)
  334. [X86] Don't treat mxcsr as a register name when parsing MS inline (details)
  335. Sink MachineFunction private method out of line (details)
  336. [LLDB] Implement pure virtual method in MockConnection (details)
  337. Revert a hunk from 9634064cfa1b9bf7b7 (details)
  338. [LLDB] Cleanup the DataEncoder utility. (NFC) (details)
  339. [AMDGPU] Fixed mfma-loop test. NFC. (details)
  340. Forward declare Optional<T> in STLExtras.h (details)
  341. Sink all InitializePasses.h includes (details)
  342. Revert "Forward declare Optional<T> in STLExtras.h" (details)
  343. [cmake] Remove confusing condition argument from else() NFC (details)
  344. [AMDGPU] Fixed dpp test. NFC. (details)
  345. Move CodeGenFileType enum to Support/CodeGen.h (details)
  346. [LLDB] Don't install the pretty stack trace handler twice. (details)
  347. [unittests] Add InitializePasses.h includes (details)
  348. [WebAssembly] -fwasm-exceptions enables reference-types (details)
  349. Implement /driver, /driver:wdm and /driver:uponly (details)
  350. Warn on /align if used without /driver (details)
  351. [ModuleUtils] Clean up header file. [NFC] (details)
  352. [cmake] Prevent building with BUILD_SHARED_LIBS and LLVM_LINK_LLVM_DYLIB (details)
  353. [mips] Use isInt<> call instead of explicit range checking. NFC (details)
  354. [mips] Use local variable to escape repetitive calls of `getOpcode`. NFC (details)
  355. Check result of emitStrLen before passing it to CreateGEP (details)
  356. [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more (details)
  357. [clang][IFS][test] Removing -shared, fixing triple: (details)
  358. [clang][IFS][test] Reverting driver-test.c to what it was prior to (details)
  359. [LLDB] Fix whitespace/tabs mismatch in lldbsuite Makefile.rules (details)
  360. [lldb][NFC] Simplify IOHandler constructor/destructor setup (details)
  361. DWARFDebugLoclists: stricter base address handling (details)
  362. [ThinLTO] Add correctness check for RO/WO variable import (details)
  363. [NFC] Fix typo in ARMBaseRegisterInfo (details)
  364. [AArch64][DebugInfo] Fix incorrect call site param value produced by (details)
  365. [InstCombine] Fold PHIs with equal incoming pointers (details)
  366. [lldb] Fix that trailing backslashes in source lines break the Clang (details)
  367. Revert "[InstCombine] Fold PHIs with equal incoming pointers" (details)
  368. Fix use of add_llvm_tool in projects that build no targets (details)
  369. [NFC] Add one test for PowerPC to verify the sext_inreg for vector type. (details)
  370. Fix typos in docs. NFC (details)
  371. [AArch64][SVE] Implement additional floating-point arithmetic intrinsics (details)
  372. [AArch64][SVE] Implement remaining floating-point arithmetic intrinsics (details)
  373. [mips][NFC] Remove old FIXME comment (details)
  374. [libomptarget][nfc] Use cuda variable wrappers from support.h (details)
  375. Modernize llvm::Error handling in ExternalASTMerger (details)
  376. [DAGCombiner] Use TLI field already available. NFC (details)
  377. [DAGCombiner] Drop redundant DAG method param. NFC (details)
  378. [LV] PreferPredicateOverEpilog respecting predicate loop hint (details)
  379. [clangd] Simplify the code in Index::refs (details)
  380. [AArch64][SVE] Implement floating-point comparison & reduction (details)
  381. [libc++] [P1612] Add missing feature-test macro __cpp_lib_endian. (details)
  382. [libc++][P1872] span should have size_type, not index_type. (details)
  383. MSP430 - fix uninitialized variable warnings. NFCI. (details)
  384. Hexagon - fix uninitialized variable warnings. NFCI. (details)
  385. Fix uninitialized variable warnings. NFCI. (details)
  386. SROA - fix uninitialized variable warnings. NFCI. (details)
  387. Fix uninitialized variable warning. NFCI. (details)
  388. Fix uninitialized variable warning. NFCI. (details)
  389. WholeProgramDevirt - fix uninitialized variable warnings. NFCI. (details)
  390. GCOVProfiling - fix uninitialized variable warnings + make (details)
  391. ARM: allow rewriting frame indexes for all prefetch variants. (details)
  392. On FreeBSD use AT_EXECPATH from ELF auxiliary vectors for (details)
  393. Revert "[ThinLTO] Add correctness check for RO/WO variable import" (details)
  394. [InstCombine] regenerate test CHECKs; NFC (details)
  395. [lldb] Fix dwo variant of TestLibCxxFunction (details)
  396. [Analyzer][NFC] Separate white-box tests for iterator modelling from (details)
  397. [ADT] Move drop_begin from iterator_range.h into STLExtras. (details)
  398. [clangd] Expose value of enumerators to Hover API. (not UI yet) (details)
  399. [clangd] Ignore more implicit nodes in computing selection. (details)
  400. Improve VFS compatibility on Windows (details)
  401. [AMDGPU][HIP] Change default DWARF version to 4 (details)
  402. Use ForEachExternalModule in ParseTypeFromClangModule (NFC) (details)
  403. [LLDB] Make a clear distinction between usage & development docs (details)
  404. Rename DWO -> Clang module to avoid confusion. (NFC) (details)
  405. Convert UpdateExternalModuleListIfNeeded to use early exits. (details)
  406. Convert condition to early exit (NFC) (details)
  407. Fix incorrect comment. (details)
  408. [OPENMP]Add assignment operator in UDR test, NFC. (details)
  409. [clang-include-fixer] Skip .rc files when finding symbols (details)
  410. Make the language more consistent since I'm about to commit a content (details)
  411. [InstCombine] remove duplicate code for simplifying a shuffle; NFCI (details)
  412. Document more specifically the rounding for "llvm.round". (details)
  413. [cmake] Emit an error for -DBUILD_SHARED_LIBS=ON on Windows (details)
  414. Replace wrongly deleted header banner, fix formatting (details)
  415. [clang-format] Fixed edge-case with SpacesInSquareBrackets with trailing (details)
  416. [ExpandReductions] Don't push all intrinsics to the worklist. Just push (details)
  417. [RISCV] Fix wrong CFI directives (details)
  418. [llvm-objcopy][COFF] Add support for extended relocation tables (details)
  419. Add support for multi-module bitcode files to llvm-dis (details)
  420. [RISCV] Use addi rather than add x0 (details)
  421. Update lit infra to detect "MemoryWithOrigins' sanitizer build. (details)
  422. [Hexagon] Fix clang driver to parse -mcpu/-mvXX and -march properly. (details)
  423. [Hexagon] Validate the iterators before converting them to mux. (details)
  424. [Pipeliner] Fix an assertion caused by iterator invalidation. (details)
  425. Fix up lit's tests to run in a multi-config build environment. (details)
  426. [lldb][Editline] Support ctrl+left/right arrow word navigation. (details)
  427. [globalisel][irtanslator] The IRTranslator should preserve TBAA (details)
  428. [GPGPU] Fix #includes. (details)
  429. [yaml2obj][COFF] Add support for extended relocation tables (details)
  430. [DebugInfo] Allow spill slots in call site parameter descriptions (details)
  431. [X86] Fix the implementation of __readcr3/__writecr3 to work in 64-bit (details)
  432. [GPGPU] Fix depricated warning. (details)
  433. [llvm-dis] Fix the disable-output flag (details)
  434. Revert "Temporarily Revert:" (details)
  435. [COFF] Don't include llvm/LTO/LTO.h in a header (details)
  436. [SanitizerCommon] Print the current value of options when printing out (details)
  437. [BPF] Restrict preserve_access_index attribute to C only (details)
  438. [Reproducer] Enable crash reports for reproducer tests (details)
  439. Forward declare the DWARFCache to avoid including LLVM DWARF details (details)
  440. [COFF] Avoid CodeView include in header (details)
  441. [LLDB] Fix more -Wdocumentation issues (NFC) (details)
  442. [libc++] [P0920] [P1661] Update status page. (details)
  443. Add missing includes needed to prune LLVMContext.h include, NFC (details)
  444. [Utility] Remove a dead header [PPC64LE_ehframe_Registers.h] (details)
  445. [WinEH] Fix the wrong alignment orientation during calculating EH frame. (details)
  446. [InstCombine] Don't use getFirstNonPHI in FoldIntegerTypedPHI (details)
  447. Add a test to cover structural match for recursive data types (details)
  448. [llvm-objcopy][MachO] Implement --remove-section (details)
  449. [ORC] Add a utility to support dumping JIT'd objects to disk for (details)
  450. gn build: Merge 16f38dda292 (details)
  451. Unbreak the clang test suite when hexagon-link is not available (details)
  452. GlobalISel: Lower s1 source G_SITOFP/G_UITOFP (details)
  453. AMDGPU: Try to commute sub of boolean ext (details)
  454. AMDGPU: Change boolean content type to 0 or 1 (details)
  455. GCC 5.3 build fix (details)
  456. Fix GCC -Wcast-qual warnings (details)
  457. [AST] Use written names instead of `type-param-0-0` in more cases when (details)
  458. [ARM,MVE] Add intrinsics for 'administrative' vector operations. (details)
  459. [ARM,MVE] Add intrinsics for vector get/set lane. (details)
  460. [clang] Remove the DIFlagArgumentNotModified debug info flag (details)
  461. [Scalarizer] Treat values from unreachable blocks as undef (details)
  462. [MIPS GlobalISel] Select addiu (details)
  463. [MIPS GlobalISel] Select andi, ori and xori (details)
  464. [ARM][MVE] tail-predication (details)
  465. Revert "[clang] Remove the DIFlagArgumentNotModified debug info flag" (details)
  466. [CodeGen] Increase the size of a SmallVector (details)
  467. DWARFDebugLoc(v4): Add an incremental parsing function (details)
  468. [gen_ast_dump_json_test.py] Add a --update flag (details)
  469. [gen_ast_dump_json_test.py] Parse RUN: lines with --update (details)
  470. [gen_ast_dump_json_test.py] Infer --filters flags when using --update (details)
  471. [gen_ast_dump_json_test.py] Skip manual tests when using --update (details)
  472. [gen_ast_dump_json_test.py] Copy to binary directory to omit --clang (details)
  473. [gen_ast_dump_json_test.py] Allow updating multiple files in one go (details)
  474. [NFC] Regenerate ast-dump-json tests (details)
  475. Include the mangled name in -ast-dump=json (details)
  476. [update_cc_test_checks.py] Use -ast-dump=json to get mangled name (details)
  477. Move floating point related entities to namespace level (details)
  478. gn build: Merge e6584b2b7b2 (details)
  479. Fix TestFormatters.py stepping too far (details)
  480. Recommit "[ThinLTO] Add correctness check for RO/WO variable import" (details)
  481. [AMDGPU] Lower llvm.amdgcn.s.buffer.load.v3[i|f]32 (details)
  482. [Clang][ASTImporter] Added visibility check for ClassTemplateDecl. (details)
  483. [ARM,MVE] Add reversed isel patterns for MVE `vcmp qN,rN` (details)
  484. [CodeComplete] Constructor overload candidates report as vector(int) (details)
  485. [RISCV] Match GCC `-march`/`-mabi` driver defaults (details)
  486. [clangd] Add isHeaderFile helper. (details)
  487. [clangd] Replace getLangOpts().isHeaderFile usage with isHeaderFile (details)
  488. clang: enable unwind tables on FreeBSD !amd64 (details)
  489. Implement target(branch-protection) attribute for AArch64 (details)
  490. [X86][SSE] Add test for extractelement from volatile vector load (details)
  491. [llvm-objcopy][NFC] Use generated object file in COFF/add-section.test (details)
  492. Add read-only data assembly writing for aix (details)
  493. [clangd] Fix SelectionTree behavior on constructor init-lists. (details)
  494. [clangd] Don't consider class template params part of constructor name. (details)
  495. [scudo][standalone] Enabled SCUDO_DEBUG for tests + fixes (details)
  496. [clangd] Fix typo in symbol kind conversion (details)
  497. [MirNamer][Canonicalizer]: Perform instruction semantic based renaming (details)
  498. [clang-format] Flexible line endings (details)
  499. Comment the fact that DWARFDebugInfoEntry isn't copyable. (details)
  500. [libcxx] use __builtin_isnan in std::isnan. (details)
  501. [libc++] [chrono] Fix year_month_weekday::ok() implementation. (details)
  502. [CMake] Configure the Info.plist so it contains a real version number. (details)
  503. [LoadStoreVectorize] Use '||' instead of '|' between sides with function (details)
  504. [DebugInfo] Allow spill slots in call site parameter descriptions (details)
  505. [ThinLTO] Fix -Wunused-function in NDEBUG builds after (details)
  506. [llvm-objcopy][MachO] Implement --redefine-sym and --redefine-syms (details)
  507. [AST] Let DeclarationNameInfo printing use PrintingPolicy, and fix (details)
  508. [clangd] Don't repeat class template args when printing constructor (details)
  509. [SVFS] Inject TLI Mappings in VFABI attribute. (details)
  510. [OpenMP 5.0] - Extend defaultmap, by Chi Chun Chen. (details)
  511. [GCOV] Skip artificial functions from being emitted (details)
  512. Rename posix/FileSystem.cpp to FileSystemPosix.cpp (details)
  513. Add RTTI support to the SymbolFile class hierarchy (details)
  514. [-gmodules] Let LLDB log a warning if the Clang module hash mismatches. (details)
  515. [LoopCacheAnalysis]: Fix assertion failure during cost computation (details)
  516. Add a missing triple in ast-dump-decl-json.m (details)
  517. [mips] Do not emit R_MIPS_JALR for sym+offset in case of O32 ABI (details)
  518. [mips] Enable `la` pseudo instruction on 64-bit arch. (details)
  519. Revert "[LoadStoreVectorize] Use '||' instead of '|' between sides with (details)
  520. gn build: Merge d6de5f12d48 (details)
  521. re-land [DebugInfo] Add debug location to stubs generated by CGDeclCXX (details)
  522. [clang-tidy] modernize-use-using work with multi-argument templates (details)
  523. [SimplifyCFG] propagate fast-math-flags (FMF) from phi to select (details)
  524. [clang-tidy] modernize-use-override new option AllowOverrideAndFinal (details)
  525. Revert "re-land [DebugInfo] Add debug location to stubs generated by (details)
  526. Remove Support/Options.h, it is unused (details)
  527. gn build: Merge 631be5c0d41 (details)
  528. [clang-tidy] Give readability-redundant-string-init a customizable list (details)
  529. Revert "[clang-tidy] Give readability-redundant-string-init a (details)
  530. [GISel][CombinerHelper] Add support for scalar type for the result of (details)
  531. [GISel][CombinerHelper] Use uses() instead of operands() when traversing (details)
  532. Don't use end-of-line comments for the DebugInfoKind enum, NFC (details)
  533. [clang-tidy] Fix readability-redundant-string-init for c++17/c++2a (details)
  534. [clang-tidy] Give readability-redundant-string-init a customizable list (details)
  535. dotest: Add a way for the run_to_* helpers to register dylibs (details)
  536. Don't add optnone or noinline if the function is already marked as (details)
  537. [COFF] Don't error if the only inputs are from /wholearchive: (details)
  538. [WebAssembly] Fix miscompile of select with and (details)
  539. DebugInfo: Templatize rnglist header parsing to setup for reuse with (details)
  540. Add a testcase for Clang modules being updated within one LLDB session. (details)
  541. Fix -Wunused-result warnings in LLDB (details)
  542. Avoid including Builtins.h in Preprocessor.h (details)
  543. [lldb-vscode] support the completion request (details)
  544. [llvm-cov] Fix illegal cast from uint64_t to int64_t (details)
  545. DebugInfo: Use loclistx for DWARFv5 location lists to reduce the number (details)
  546. [RISCV] Handle variable sized objects with the stack need to be (details)
  547. AMDGPU/SILoadStoreOptimizer: fix a likely bug introduced recently (details)
  548. Add support of the next Ubuntu (Ubuntu 20.04 - Focal Fossa) (details)
  549. [clang-format] Add SpaceBeforeBrackets (details)
  550. [ELF] Fix lld build on Windows/MinGW (details)
  551. Fix a build failure with perf: Add a missing include to (details)
  552. Remove +x permission on clang/lib/Format/Format.cpp (details)
  553. Remove +x permission on some files (details)
  554. [clang-format] fix regression in middle pointer alignment (details)
  555. MCObjectStreamer: assign MCSymbols in the dummy fragment to offset 0. (details)
  556. [clangd] Improve long and confusing preamble log message. (details)
  557. [DWARF5]Addition of alignment atrribute in typedef DIE. (details)
  558. [NFC] Refactor representation of materialized temporaries (details)
  559. [mips] Remove old FIXME comment. NFC (details)
  560. [mips] Remove redundant cast. NFC (details)
  561. [Docs] Fix relative links in tutorial. (details)
  562. [libc++] Rename __to_raw_pointer to __to_address. (details)
  563. Make it possible to run MIRCanonicalizer in pipeline. (details)
  564. [Docs] Try fixing the tutorial toctree (details)
  565. [Docs] Fix sphinx warning. (details)
  566. [Docs] Remove stray :doc: directive. (details)
  567. [libc++] Add C++20 contiguous_iterator_tag. (details)
  568. [libc++] Add _ITER_CONCEPT and _ITER_TRAITS implementations from C++20 (details)
  569. [MIRNamer]: Make the check lines in the test robust with regex. (details)
  570. Revert "[NFC] Refactor representation of materialized temporaries" (details)
Commit 39c308f6b8f06710b2b98d0b126c9175e4bafc20 by dblaikie
DebugInfo: Use separate macinfo contributions for each CU
The macinfo support was broken for LTO situations, by terminating
macinfo lists only once - multiple macinfo contributions were correctly
labeled, but they all continued/flowed into later contributions until
only one terminator appeared at the end of the section.
Correctly terminate each contribution & fix the parsing to handle this
situation too. The parsing fix is also necessary for dumping linked
binaries - the previous code would stop at the end of the first
contribution - missing all later contributions in a linked binary.
It'd be nice to improve the dumping to print the offsets of each
contribution so it'd be easier to know which CU AT_macro_info refers to
which macinfo contribution.
The file was modifiedllvm/test/DebugInfo/NVPTX/cu-range-hole.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-info.ll
The file was modifiedllvm/test/DebugInfo/X86/empty_macinfo.ll
The file was modifiedllvm/test/DebugInfo/X86/debug-macro.ll
The file was modifiedllvm/test/MC/WebAssembly/debug-info.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-addr-class.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-file-loc.ll
Commit 6d28588cc0f223cc06fc103493b1f16cb7e579f8 by Jan Korous
Reland "[clang] Report sanitizer blacklist as a dependency in cc1"
This reverts commit 9b8413ac6e56e7a6e0ba884773d13bcf9414bd43.
The file was modifiedclang/lib/Driver/SanitizerArgs.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/test/Driver/fsanitize-blacklist.c
The file was modifiedclang/test/Frontend/dependency-gen.c
The file was modifiedclang/include/clang/Driver/SanitizerArgs.h
Commit cae4a28864f4e8a55920e2b94e2cd43617902dec by Jan Korous
Reland "[clang] Report sanitizer blacklist as a dependency in cc1"
This reverts commit 3182027282c59c51d5080d83365917fccd695854.
The file was modifiedclang/test/Frontend/dependency-gen.c
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/include/clang/Driver/SanitizerArgs.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/Driver/fsanitize-blacklist.c
The file was modifiedclang/lib/Driver/SanitizerArgs.cpp
Commit 555c6be041d468cfc2baaf69a6ae5d1cf889dc9e by Jan Korous
[clang] Fix -fsanitize-system-blacklist processing in cc1
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit 56cd447eec8eec71a6e61d2dd142bf5dadfc154a by smeenai
[llvm-xray] Add basic test for AArch64 support
Based on a test provided by Ian Levesque <ianlevesque@fb.com>.
The file was addedllvm/test/tools/llvm-xray/AArch64/extract-instrmap-aarch64.test
The file was addedllvm/test/tools/llvm-xray/AArch64/Inputs/elf64-pic.yaml
Commit b314414570c0db6cd3a2712d7b26942fe38278db by Saleem Abdulrasool
Basic: fix FileManager invalidation issue for file redirect
Insertion into SeenFileEntries can invalidate iterators, we need to do
another lookup on the re-intern path.
The file was modifiedclang/lib/Basic/FileManager.cpp
Commit 2bbc4fdd8fa0ed58d610ab6260cb664c7cfef204 by Adrian Prantl
Add a testcase for .dSYM path remapping dictionaries.
rdar://problem/56924558
The file was addedlldb/packages/Python/lldbsuite/test/macosx/DBGSourcePathRemapping/Inputs/main.c
The file was addedlldb/packages/Python/lldbsuite/test/macosx/DBGSourcePathRemapping/TestDSYMSourcePathRemapping.py
The file was addedlldb/packages/Python/lldbsuite/test/macosx/DBGSourcePathRemapping/Makefile
Commit d0416b91f0390f6e69dacf3d5d076531221e0767 by Adrian Prantl
Don't attempt to upgrade debug-info-tests to Python3.
There was CMake code that would attempt to detect Python 3 even if LLVM
was configured with Python 2, but it messed with the environment for the
other LLVM projects. This commit removes this functionality and just
lkeaves a hard error if Python < 3 is detected and debuginfo-tests are
required.
The file was modifieddebuginfo-tests/CMakeLists.txt
Commit fe0763d28a572f72007637c7bd097bc19cbb58fc by joan.lluch
[TargetLowering][DAGCombine][MSP430] Shift Amount Threshold in
DAGCombine (3) (baseline tests)
Summary: This is baseline tests for D69326
Incorporates a command line flag for the MSP430 and adds a test cases to
help showing the effects of applying D69326
More details and motivation for this patch in D69326
Reviewers: spatel, asl, lebedev.ri
Reviewed By: spatel, asl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69975
The file was addedllvm/test/CodeGen/MSP430/shift-amount-threshold-b.ll
The file was modifiedllvm/lib/Target/MSP430/MSP430ISelLowering.h
The file was modifiedllvm/lib/Target/MSP430/MSP430ISelLowering.cpp
Commit d0b3e73175041306474bfb1914ef565e042fb50a by melanie.blower
Revert "Reapply "Fix crash on switch conditions of non-integer types in
templates""
This reverts commit 759948467ea3181615d44d80f74ffeb260180fd0. There were
build bot failures in clang-tidy
The file was modifiedclang/test/SemaTemplate/member-access-expr.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/misc-unused-parameters.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx2a.cpp
The file was modifiedclang/test/SemaTemplate/enum-argument.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/test/SemaTemplate/dependent-names.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-string-integer-assignment.cpp
The file was removedclang/test/SemaTemplate/non-integral-switch-cond.cpp
Commit 4c44fd3de374fdce383ca1b0313b2418d1f1d370 by sylvestre
clang-format: Add to the release notes the new --dry-run/-n option
The file was modifiedclang/docs/ReleaseNotes.rst
Commit d52cff88367df4d6bc57949d5e8a61aec0c301e8 by Jan Korous
Revert "Reland "[clang] Report sanitizer blacklist as a dependency in
cc1""
This reverts commit cae4a28864f4e8a55920e2b94e2cd43617902dec.
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/Driver/fsanitize-blacklist.c
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/include/clang/Driver/SanitizerArgs.h
The file was modifiedclang/lib/Driver/SanitizerArgs.cpp
The file was modifiedclang/test/Frontend/dependency-gen.c
Commit 99e2cba219aea80b3f11de2aa4e0192b28852de4 by Jan Korous
Reland "[compiler-rt] Fix tests after 03b84e4f6d0"
This reverts commit d6be9273c6035c07b25dd1494f76cd61d523b878.
The file was modifiedcompiler-rt/test/asan/TestCases/default_blacklist.cpp
The file was modifiedcompiler-rt/test/msan/default_blacklist.cpp
Commit 3a3255a22398f34dec16b57beef9e2ff60a108e3 by sylvestre
clang-format: refresh the list of options
The file was modifiedclang/docs/ClangFormat.rst
Commit 3a7a22445e806c08f80cf6d83d1760f7ff732ed0 by stl
[www] More HTTPS and outdated link fixes.
Resolves D69981.
The file was modifiedpolly/www/performance.html
The file was modifiedclang/www/UniversalDriver.html
The file was modifiedclang/www/analyzer/available_checks.html
The file was modifiedpolly/www/index.html
The file was modifiedpolly/www/publications.html
The file was modifiedpolly/www/contributors.html
The file was modifiedllvm/docs/_templates/layout.html
Commit 8f089f2099d39021bbfb76a2cd575612382a7cf6 by maskray
[MC] Emit unused undefined symbol even if its binding is not set
Recommit r373168, which was reverted by r373242. This actually exposed a
boringssl bug which has been fixed for more than one month.
For the following two cases, we currently suppress the symbols. This
patch emits them (compatible with GNU as).
* `test2_a = undef`: if `undef` is otherwise unused.
* `.hidden hidden`: if `hidden` is unused. This is the main point of the
patch, because omitting the symbol would cause a linker semantic
difference.
It causes a behavior change that is not compatible with GNU as:
.weakref foo1, bar1
When neither foo1 nor bar1 is used, we now emit bar1, which is arguably
more consistent.
Another change is that we will emit .TOC. for .TOC.@tocbase .  For this
directive, suppressing .TOC. can be seen as a size optimization, but we
choose to drop it for simplicity and consistency.
The file was modifiedllvm/test/MC/ELF/weakref.s
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
The file was modifiedlld/test/ELF/ppc64-abs64-dyn.s
The file was modifiedllvm/test/MC/ELF/undef.s
The file was modifiedlld/test/ELF/ppc64-relocs.s
Commit e1b07aac3d1c92f58e05cb5c37c0707842da5839 by Alex Lorenz
[clangd] NFC, reuse the source manager variable in the RawStringLiteral
apply method
Differential Revision: https://reviews.llvm.org/D69544
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/RawStringLiteral.cpp
Commit 901cc4a4bc5257d100338e6c318b96b022d554ee by Adrian Prantl
Debug Info: Nest Objective-C property function decls inside their
container.
This has the nice side-effect of also fixing a crash in Clang.
Starting with DWARF 5 we are emitting ObjC method declarations as
children of their containing entity. This worked for interfaces, but
didn't consider the case of synthessized properties. When a property of
a protocol is synthesized in an interface implementation the
ObjCMethodDecl that was passed to CGF::StartFunction was the property
*declaration* which obviously couldn't have a containing interface. This
patch passes the containing interface all the way through to
CGDebugInfo, so the function declaration can be created with the correct
parent (= the class implementing the protocol).
rdar://problem/53782400
Differential Revision: https://reviews.llvm.org/D66121
The file was modifiedclang/lib/CodeGen/CGDebugInfo.h
The file was addedclang/test/CodeGenObjC/debug-info-objc-property-dwarf5.m
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit 3951245c38ce2bcb4173a99d00278d704fcdeac1 by dblaikie
NVPTX: Don't insert an extra empty line at the end of the last section.
This was arbitrarily appearing in only the last section emitted - which
made tests more sensitive than they needed to be (removing the last
section - like the macinfo section change that's coming after this)
would, surprisingly, move the blank line to the previous section.
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-addr-class.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-info.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/cu-range-hole.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-file-loc.ll
Commit 6278fba9b11751b97c6091049341c51226c5b434 by sbc
llvm-ranlib/nm: Don't print usage message except for usage errors
Also, fix a bug in ranlib where it didn't correctly detect being run
without any argument and would try to operate on the empty string.
Differential Revision: https://reviews.llvm.org/D70021
The file was modifiedllvm/test/tools/llvm-ar/invalid-object-file.test
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
The file was addedllvm/test/tools/llvm-ranlib/help-message.test
The file was addedllvm/test/tools/llvm-ranlib/bad-usage.test
Commit 736273c7fe3e88baf548cd555f21eb123f81381d by dblaikie
DebugInfo: Do not create a debug_macinfo section if no CUs have
associated macros
Patch based on Sourabh Singh's D69839 patch.
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-addr-class.ll
The file was modifiedllvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll
The file was modifiedllvm/test/MC/WebAssembly/debug-info.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/cu-range-hole.ll
The file was modifiedllvm/test/DebugInfo/X86/length_symbol_difference.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-info.ll
The file was modifiedllvm/test/DebugInfo/X86/empty_macinfo.ll
The file was modifiedllvm/test/DebugInfo/NVPTX/debug-file-loc.ll
Commit db797bfb2bd24e40d8f0ed422fd4087894ed0eab by dblaikie
DebugInfo: Remove redundant conditionals/checks from macro info emission
These checks fall out naturally from the current implementation without
needing to be explicitly considered anymore.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit 1478f36f27cfe06c5da75ef11fab2d409f2beafe by Jason Molenda
Test case to verify that lldb falls back to p/P if g is unsupported and
that lldb uses the expedited register values in the ? packet aka stop
packet (T11 etc) and does not re-fetch them with the p packet.
This test is currently failing from the "[lldb-server] Add setting to
force 'g' packet use" commit; I'm marking it as @expectedFailureAll
until we can get this fixed.
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestNoGPacketSupported.py
Commit b11391bb47d6fb75639c331378440b405e64be7a by tejohnson
ThinLTO : Import always_inline functions irrespective of the threshold
Summary: A user can force a function to be inlined by specifying the
always_inline attribute. Currently, thinlto implementation is not aware
of always_inline functions and does not guarantee import of such
functions, which in turn can prevent inlining of such functions.
Patch by Bharathi Seshadri <bseshadr@cisco.com>
Reviewers: tejohnson
Reviewed By: tejohnson
Subscribers: mehdi_amini, inglorion, hiraditya, steven_wu, dexonsmith,
arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70014
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/test/ThinLTO/X86/dot-dumper2.ll
The file was addedllvm/test/ThinLTO/X86/Inputs/funcimport_alwaysinline.ll
The file was modifiedllvm/lib/Analysis/ModuleSummaryAnalysis.cpp
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
The file was modifiedllvm/test/ThinLTO/X86/dot-dumper.ll
The file was modifiedllvm/test/Assembler/thinlto-summary.ll
The file was modifiedllvm/lib/AsmParser/LLLexer.cpp
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/lib/AsmParser/LLToken.h
The file was addedllvm/test/ThinLTO/X86/funcimport_alwaysinline.ll
The file was modifiedllvm/lib/IR/ModuleSummaryIndex.cpp
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
Commit 79e345fbcc822e914fac4838dd7a4f2ddbb5fcad by puyan
[clang][IFS] Adds support for more decl types in clang interface stubs.
Adding support for processing the following Decls:
NonTypeTemplateParmDecl, CXXConversionDecl, UnresolvedUsingValueDecl,
UsingDecl, UsingShadowDecl, TypeAliasTemplateDecl, TypeAliasDecl,
VarTemplateDecl, VarTemplateSpecializationDecl, UsingDirectiveDecl,
TemplateTemplateParmDecl, ClassTemplatePartialSpecializationDecl,
IndirectFieldDecl.
Also, this allows for processing NamedDecls that don't have an
identifier and skips over VarDecls that are dependent on template types.
Differential Revision: https://reviews.llvm.org/D69995
The file was addedclang/test/InterfaceStubs/template-template-parm-decl.cpp
The file was addedclang/test/InterfaceStubs/namespace.cpp
The file was modifiedclang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
The file was addedclang/test/InterfaceStubs/usings.cpp
The file was addedclang/test/InterfaceStubs/non-type-template-parm-decl.cpp
The file was addedclang/test/InterfaceStubs/trycatch.cpp
The file was addedclang/test/InterfaceStubs/class-template-partial-specialization.cpp
The file was addedclang/test/InterfaceStubs/indirect-field-decl.cpp
The file was addedclang/test/InterfaceStubs/var-template-specialization-decl.cpp
The file was addedclang/test/InterfaceStubs/cxx-conversion.cpp
The file was addedclang/test/InterfaceStubs/template-constexpr.cpp
Commit 1257146eb41485e91cb13a6b0ccc2fb7faa68b75 by puyan
[clang][IFS][test] Fixing buildbot test fails for clang-ifs.
Checking for the exact triple fails on many bots. Leaving the triple
check blank.
The file was modifiedclang/test/InterfaceStubs/indirect-field-decl.cpp
The file was modifiedclang/test/InterfaceStubs/template-constexpr.cpp
The file was modifiedclang/test/InterfaceStubs/class-template-partial-specialization.cpp
The file was modifiedclang/test/InterfaceStubs/non-type-template-parm-decl.cpp
The file was modifiedclang/test/InterfaceStubs/namespace.cpp
The file was modifiedclang/test/InterfaceStubs/cxx-conversion.cpp
The file was modifiedclang/test/InterfaceStubs/template-template-parm-decl.cpp
The file was modifiedclang/test/InterfaceStubs/usings.cpp
Commit 441a78533e61cfffb3fd59e2c169ca7ff7b286dc by Jonas Devlieghere
Revert "Add a testcase for .dSYM path remapping dictionaries."
This reverts commit 2bbc4fdd8fa0ed58d610ab6260cb664c7cfef204.
The file was removedlldb/packages/Python/lldbsuite/test/macosx/DBGSourcePathRemapping/TestDSYMSourcePathRemapping.py
The file was removedlldb/packages/Python/lldbsuite/test/macosx/DBGSourcePathRemapping/Inputs/main.c
The file was removedlldb/packages/Python/lldbsuite/test/macosx/DBGSourcePathRemapping/Makefile
Commit 60ab30ebce833c87bd4776f67cd9a82fe162ef9c by Jason Molenda
Temporarily change the default for use-g-packet-for-reading to false,
until we can automatically fall back to p/P if g/G are not supported; it
looks like there is a bug in debugserver's g/G packets taht needs to be
fixed, or debugserver should stop supporting g/G until that bug is
fixed.  But we need lldb to be able to fall back to p/P correctly for
that to be a viable workaround.
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteProperties.td
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestGDBRemoteClient.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestNoGPacketSupported.py
Commit 57adc37fe57c6edabc006e6de41523319e874c65 by Artem Dergachev
[analyzer] Nullability: Don't infer nullable when passing as nullable
parameter.
You can't really infer anything from that.
The file was addedclang/test/Analysis/nullability.m
The file was modifiedclang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
Commit e4da37e8a0a3197baca674d683cb05341c6a4097 by Artem Dergachev
[analyzer] Fix skipping the call during inlined defensive check
suppression.
When bugreporter::trackExpressionValue() is invoked on a DeclRefExpr, it
tries to do most of its computations over the node in which this
DeclRefExpr is computed, rather than on the error node (or whatever node
is stuffed into it). One reason why we can't simply use the error node
is that the binding to that variable might have already disappeared from
the state by the time the bug is found.
In case of the inlined defensive checks visitor, the DeclRefExpr node is
in fact sometimes too *early*: the call in which the inlined defensive
check has happened might have not been entered yet.
Change the visitor to be fine with tracking dead symbols (which it is
totally capable of - the collapse point for the symbol is still
well-defined), and fire it up directly on the error node. Keep using
"LVState" to find out which value should we be tracking, so that there
weren't any problems with accidentally loading an ill-formed value from
a dead variable.
Differential Revision: https://reviews.llvm.org/D67932
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was modifiedclang/test/Analysis/NSContainers.m
Commit 312c6f699d4c9c26d16c5eb5848cb9107ae8affe by Dávid Bolvanský
[Diagnostics] Fixed crash with non pointer type (PR43950)
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit d162e02cee74a3dbbfb1317fa9749f5e18610282 by jay.foad
Refactor SimplifySelectsFeedingBinaryOp for D64713. NFC.
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 092577e317229df600539f678064f321737a761b by richard
[cxx_status] Update with Belfast motions.
The file was modifiedclang/www/cxx_status.html
Commit 0d5ad57ae34bacbc4f5e5f42508d579bf39bb8cf by llvm-dev
Remarks - fix shadow variable warnings. NFCI.
Avoid conflict with llvm::remarks::Magic global variable.
The file was modifiedllvm/lib/Remarks/BitstreamRemarkParser.cpp
The file was modifiedllvm/lib/Remarks/RemarkFormat.cpp
Commit 59a14f9d4b9fc322e7af634970ef6d236ebc8d07 by llvm-dev
Fix shadow variable warning by reducing scope of CC/InverseCC CondCodes.
NFCI.
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.cpp
Commit a35a44fd4b5e5b3c0bb9ca05e968b844b0c5e02d by llvm-dev
Remove superfluous break after return. NFC.
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.cpp
Commit 3fb832fe8bdc317687d5a4d2ca20f5f73b089341 by llvm-dev
Statistic - Fix shadow variable warning. NFCI.
Rename option 'Stats' to 'EnableStats' and prevent clash with
StatisticInfo::Stats member
The file was modifiedllvm/lib/Support/Statistic.cpp
Commit dda8015434c41fcad81c49dee581666b05c40a08 by llvm-dev
Remove duplicate MemVT to fix shadow variable warning. NFCI.
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.cpp
Commit 56a725ae5e1d5ad8673658bbd7717a9fe1ef054f by llvm-dev
Remarks - fix static analyzer warnings. NFCI.  - Fix uninitialized
variable warnings.  - Reuse BitstreamEntry iterator to avoid Wshadow
warning.  - Match declaration + definition arg names in
BitstreamRemarkParser::processCommonMeta  - Make
BitstreamRemarkParser(StringRef) constructor explicit
The file was modifiedllvm/include/llvm/Remarks/Remark.h
The file was modifiedllvm/lib/Remarks/BitstreamRemarkParser.cpp
The file was modifiedllvm/lib/Remarks/BitstreamRemarkParser.h
The file was modifiedllvm/include/llvm/Bitstream/BitstreamReader.h
Commit aedb528d4300a1dcb0980780f8ab45ecf64dc1d8 by llvm-dev
llvm-exegesis - fix shadow variable warnings. NFCI.
The file was modifiedllvm/tools/llvm-exegesis/lib/Assembler.cpp
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
Commit 2fb9d72c774ab7de26be079fe474e35f683859bc by llvm-dev
Fix builds where LLVM_ENABLE_STATS is disabled
Missed Stats->EnableStats rename in
rG3fb832fe8bdc317687d5a4d2ca20f5f73b089341
The file was modifiedllvm/lib/Support/Statistic.cpp
Commit 56b5eab12970e540c629e9b9a8a95256c116a547 by richard
[NFC] Supress GCC "Bitfield too small to hold all values of enum"
warning.
Patch by Wang Tianqing!
Differential Revision: https://reviews.llvm.org/D69792
The file was modifiedclang/include/clang/Sema/Overload.h
The file was modifiedclang/lib/Sema/SemaOverload.cpp
Commit b9be5ce8f3e0e697a61ad16e2c669de6ea8f8739 by koraq
[Parser] Warn when ScopeDepthOrObjCQuals overflows
Before when the overflow occured an assertion was triggered. Now check
whether the maximum has been reached and warn properly.
This patch fixes the original submission of PR19607.
Differential Revision: https://reviews.llvm.org/D63975
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was addedclang/test/Parser/nested_function_prototype_overflow.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was addedclang/test/Parser/nested_blocks_overflow.cpp
The file was addedclang/test/Parser/nested_lambda_overflow.cpp
Commit 27c4eaac8c066eb1f7c5ad26c6fbc3e78eded778 by koraq
[libc++] Validate the entire regex is consumed
This change would have warned about the bug found in D62451. No unit
tests since the exception should never throw.
Differential Revision: https://reviews.llvm.org/D62452
The file was modifiedlibcxx/include/regex
The file was modifiedlibcxx/src/regex.cpp
Commit 4a5aa1a7bf8b1714b817ede8e09cd28c0784228a by yhs
[BPF] Add preserve_access_index attribute for record definition
This patch introduced a new bpf specific attribute which can be added to
struct or union definition. For example,
struct s { ... } __attribute__((preserve_access_index));
union u { ... } __attribute__((preserve_access_index)); The goal is to
simplify user codes for cases where preserve access index happens for
certain struct/union, so user does not need to use clang
__builtin_preserve_access_index for every members.
The attribute has no effect if -g is not specified.
When the attribute is specified and -g is specified, any member access
defined by that structure or union, including array subscript access and
inner records, will be preserved through
__builtin_preserve_{array,struct,union}_access_index() IR intrinsics,
which will enable relocation generation in bpf backend.
The following is an example to illustrate the usage:
-bash-4.4$ cat t.c
#define __reloc__ __attribute__((preserve_access_index))
struct s1 {
   int c;
} __reloc__;
  struct s2 {
   union {
     struct s1 b[3];
   };
} __reloc__;
  struct s3 {
   struct s2 a;
} __reloc__;
  int test(struct s3 *arg) {
   return arg->a.b[2].c;
}
-bash-4.4$ clang -target bpf -g -S -O2 t.c
A relocation with access string "0:0:0:0:2:0" will be generated
representing access offset of arg->a.b[2].c.
forward declaration with attribute is also handled properly such that
the attribute is copied and populated in real record definition.
Differential Revision: https://reviews.llvm.org/D69759
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-2.c
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-1.c
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-5.c
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-3.c
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-8.c
The file was addedclang/test/Sema/bpf-attr-preserve-access-index.c
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-4.c
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-6.c
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-7.c
Commit 9434360401218ae02aaea1fbb53a42bc3af2bc76 by yhs
Revert "[BPF] Add preserve_access_index attribute for record definition"
This reverts commit 4a5aa1a7bf8b1714b817ede8e09cd28c0784228a.
There are some other test failures. Investigate them first.
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was removedclang/test/Sema/bpf-attr-preserve-access-index.c
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was removedclang/test/CodeGen/bpf-attr-preserve-access-index-2.c
The file was modifiedclang/include/clang/Basic/Attr.td
The file was removedclang/test/CodeGen/bpf-attr-preserve-access-index-3.c
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was removedclang/test/CodeGen/bpf-attr-preserve-access-index-4.c
The file was removedclang/test/CodeGen/bpf-attr-preserve-access-index-1.c
The file was removedclang/test/CodeGen/bpf-attr-preserve-access-index-7.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was removedclang/test/CodeGen/bpf-attr-preserve-access-index-6.c
The file was removedclang/test/CodeGen/bpf-attr-preserve-access-index-5.c
The file was removedclang/test/CodeGen/bpf-attr-preserve-access-index-8.c
Commit 1da13237a41a4818005f18d3f0f6eb5bf6e46100 by Dávid Bolvanský
[Diagnostics] Try to improve warning message for -Wreturn-type
Summary: I agree with
https://easyaspi314.github.io/gcc-vs-clang.html?fbclid=IwAR1VA0qxiWVUusOQUv5z7JESS7ZpeJy-UqAI5mnJscofGLqXcqeErIUB2gU,
current warning message is not very good. We should try to improve it..
Reviewers: rsmith, aaron.ballman, easyaspi314
Reviewed By: aaron.ballman
Subscribers: arphaman, Quuxplusone, mehdi_amini, hiraditya, cfe-commits,
llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D69762
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/SemaCXX/attr-noreturn.cpp
The file was modifiedclang/test/SemaCXX/warn-missing-noreturn.cpp
The file was modifiedclang/test/Analysis/structured_bindings.cpp
The file was modifiedclang/test/PCH/late-parsed-instantiations.cpp
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.lambda/p5.cpp
The file was modifiedclang/test/Index/warning-flags.c
The file was modifiedclang/test/Modules/redecl-merge.m
The file was modifiedclang/test/Frontend/absolute-paths.c
The file was modifiedclang/test/Misc/serialized-diags-stable.c
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.lambda/p7.cpp
The file was modifiedclang/test/Analysis/const-method-call.cpp
The file was modifiedclang/test/Sema/block-return-1.c
The file was modifiedclang/test/Sema/freemain.c
The file was modifiedclang/test/SemaCXX/coreturn.cpp
The file was modifiedclang/test/Sema/return.c
The file was modifiedclang/test/Sema/block-return-3.c
The file was modifiedclang/test/Driver/cc-log-diagnostics.c
The file was modifiedclang/test/SemaCXX/return-noreturn.cpp
The file was modifiedclang/test/SemaTemplate/late-parsing-eager-instantiation.cpp
Commit 7f8488eeb4a7f41d6ccad63e18f87266f64110c1 by llvm-dev
Fix operator precedence warning. NFC.
The file was modifiedllvm/lib/CodeGen/StackMaps.cpp
Commit 3c37981bb3ab1ed1846123299945c7b84de70d28 by llvm-dev
Fix shadow variable warning with llvm::SrcMgr. NFCI.
The file was modifiedllvm/lib/TableGen/TGParser.h
Commit 612810e333b8445d1132e55df92df42b280d5e57 by llvm-dev
Fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/utils/TableGen/SearchableTableEmitter.cpp
Commit 5c50109bb54d9ac80fee0fb2988bcaa2ff9e01d5 by Dávid Bolvanský
Fixed more -Wreturn-type tests
The file was modifiedclang/bindings/python/tests/cindex/test_diagnostics.py
The file was modifiedclang/test/CodeGenObjCXX/property-dot-reference.mm
The file was modifiedclang/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m
The file was modifiedclang/test/Frontend/ast-main.cpp
Commit 5deb289f496d6550d184a55758c11eafb14f048d by Dávid Bolvanský
Fixed c-index test
The file was modifiedclang/test/Misc/serialized-diags-stable.c
Commit e24e6ae7a0c8e2df0600d853440df7d72c71e063 by Dávid Bolvanský
Fixed dia file
The file was modifiedclang/test/Misc/Inputs/serialized-diags-stable.dia
The file was modifiedclang/test/Misc/serialized-diags-stable.c
Commit c2fca2d9afa7fe31bfd2389bf1a9fb46a11cca63 by llvm-dev
Fix variable ‘LookedUpGetterSetter’ set but not used warning. NFCI.
The file was modifiedclang/lib/Sema/SemaObjCProperty.cpp
Commit 0ac296322f015f7d35d164d268a5949662f89ad0 by mgorny
[lldb] [test] Un-XFAIL tests that work on NetBSD 9
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandLLDB.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py
Commit 7f152543e4ff91f2ce8578a1b3b3ec18f580345a by gil.rapaport
[LV] Apply sink-after & interleave-groups as VPlan transformations
(NFCI)
This recommits 11ed1c0239fd51fd2f064311dc7725277ed0a994 (reverted in
9f08ce0d2197d4f163dfa4633eae2347ce8fc881 for failing an assert) with a
fix: tryToWidenMemory() now first checks if the widening decision is to
interleave, thus maintaining previous behavior where
tryToInterleaveMemory() was called first, giving priority to interleave
decisions over widening/scalarization. This commit adds the test case
that exposed this bug as a LIT.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
The file was modifiedllvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
The file was modifiedllvm/unittests/Transforms/Vectorize/VPlanTest.cpp
The file was addedllvm/test/Transforms/LoopVectorize/interleaved-accesses-uniform-load.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
Commit f092e80939f7c1ee60c7b04197c107c923aaf238 by llvm-dev
RegisterCoalescer - fix uninitialized variables. NFCI.
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp
Commit 6976a0e826623b0490280b546ed9c5c2ba7ece26 by llvm-dev
RegisterCoalescer - remove duplicate variable to fix Wshadow warning.
NFCI.
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp
Commit 58236e6fa6c4338ae91e61028a416d592bb908b8 by llvm-dev
Reduce scope of variable to silence cppcheck warning. NFC
The file was modifiedllvm/utils/TableGen/FixedLenDecoderEmitter.cpp
Commit b0d0928241a31b4da5cd6b22baba4c1b55211b4a by llvm-dev
YAMLParser - fix SimpleKey uninitialized variable warnings. NFCI.
The file was modifiedllvm/lib/Support/YAMLParser.cpp
Commit 1dbcf8ba8a0cfa072d52bec22eb2449724e4982a by llvm-dev
Try to fix sphinx "Could not lex literal_block as "llvm"" warning.
Code block isn't IR - so treat it as "none" instead.
The file was modifiedllvm/docs/GlobalISel/Pipeline.rst
Commit c2751737e58c86a9c90bc8d6246893abcb06c3ca by craig.topper
[X86] Handle MO_ConstantPoolIndex in X86AsmPrinter::PrintOperand
Fixes PR43952
The file was addedllvm/test/CodeGen/X86/pr43952.ll
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.cpp
Commit 89453d186dc6ef985965f621efaa409f0ab7ede2 by whitneyt
[NFC]: Fix PVS Studio warning in LoopNestAnalysis Summary:This patch
fixes the following warnings uncovered by PVS Studio:
/home/xbolva00/LLVM/llvm-project/llvm/lib/Analysis/LoopCacheAnalysis.cpp
353 warn V612 An unconditional 'return' within a loop.
/home/xbolva00/LLVM/llvm-project/llvm/lib/Analysis/LoopCacheAnalysis.cpp
456 err V502 Perhaps the '?:' operator works in a different way than it
was expected. The '?:' operator has a lower priority than the '=='
operator. Authored By:etiotto Reviewer:Meinersbur, kbarton, bmahjour,
Whitney, xbolva00 Reviewed By:xbolva00 Subscribers:hiraditya,
llvm-commits Tag:LLVM Differential
Revision:https://reviews.llvm.org/D69821
The file was modifiedllvm/lib/Analysis/LoopCacheAnalysis.cpp
Commit d890620fb2704f0e7b0327fa6545d3d77e0fd558 by maskray
[MC] Clean up MacroInstantiation. NFC
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
Commit 811a031c36f82adfeb6c3f1b8d0d41298fd4d941 by llvm-dev
CodeGenRegBank - make functions const to fix cppcheck warnings.
The file was modifiedllvm/utils/TableGen/CodeGenRegisters.h
Commit eb79d2da8a530d6fdadab581da85fd3e6a2615e2 by llvm-dev
Path - fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/include/llvm/Support/Path.h
Commit b96ebc0a4245382c32fcbd21a815262788ed8438 by llvm-dev
PODSmallVector - fix MSVC uninitialized variable warnings. NFCI.
The file was modifiedllvm/include/llvm/Demangle/ItaniumDemangle.h
Commit 616a7f6ca0ac1e09919e544cb3cebb613bc9938e by llvm-dev
TableGen - fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/lib/TableGen/TGLexer.h
The file was modifiedllvm/lib/TableGen/TGParser.h
Commit a3c715e9788d829031989b0a5ea4eb43c7288be9 by llvm-dev
Twine - fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/include/llvm/ADT/Twine.h
Commit 446581a3002c4ebc73691298c8b2d47372c2e98c by lebedev.ri
[NFC][Codegen] Add `x u% C1 == C2` with C1 u<= C2 tautological tests
The file was addedllvm/test/CodeGen/AArch64/urem-seteq-vec-tautological.ll
The file was addedllvm/test/CodeGen/X86/urem-seteq-vec-tautological.ll
Commit 6c94068da99ae694a14f2484a2c9ac74a22bf61a by benny.kra
[Driver] Remove unused variable. NFC.
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
Commit 4ff246fef25e1353c6f5ebbde625ae30953def7a by llvm-dev
Remove unused variable (which allows us to remove vector include). NFC.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit ef02831f0a4e3b3ccaa45a5589e4cabecbf527ab by spatel
[InstCombine] avoid crash from deleting an instruction that still has
uses (PR43723)
We gather a set of white-listed instructions in isAllocSiteRemovable()
and then replace/erase them. But we don't know in general if the
instructions in the set have uses amongst themselves, so order of
deletion makes a difference.
There's already a special-case for the llvm.objectsize intrinsic, so add
another for llvm.invariant.end.
Should fix: https://bugs.llvm.org/show_bug.cgi?id=43723
Differential Revision: https://reviews.llvm.org/D69977
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll
Commit be0fead7bffbf65c519ca50c89584e65dcf18793 by luismarques
[RISCV][NFC] Add CFI-related tests
Summary: Adds tests necessary to properly show the impact of other
patches that affect the emission of CFI directives.
Reviewers: asb, lenary Reviewed By: lenary Tags: #llvm Differential
Revision: https://reviews.llvm.org/D69721
The file was modifiedllvm/test/CodeGen/RISCV/frame-info.ll
The file was modifiedllvm/test/CodeGen/RISCV/vararg.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
Commit 1c737f54bee9df81c63ddf6ee2ad1d23a93c0ba0 by luismarques
[RISCV] Fix CFA when doing split sp adjustment with fp
Summary: When using the split sp adjustment and using the frame-pointer
we were still emitting CFI CFA directives based on the sp value. The
final sp-based offset also didn't reflect the two-stage sp adjust. There
remain CFI issues that aren't related to the split sp adjustment, and
thus will be addressed in a separate patch.
Reviewers: asb, lenary, shiva0217 Reviewed By: lenary, shiva0217 Tags:
#llvm Differential Revision: https://reviews.llvm.org/D69385
The file was modifiedllvm/test/CodeGen/RISCV/vararg.ll
The file was modifiedllvm/test/CodeGen/RISCV/large-stack.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
Commit b0ac26a6326ff145f7c09ec55a5cb6f695b6a237 by spatel
Revert "[InstCombine] avoid crash from deleting an instruction that
still has uses (PR43723)"
This reverts commit ef02831f0a4e3b3ccaa45a5589e4cabecbf527ab. Sanitizer
bots fail with this change.
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll
Commit bcca123bd0cf78dfca9fc348b75ad272db8126a3 by deforest.richards
Docs: Updates Sphinx Quickstart template for new contributors
The file was modifiedllvm/docs/SphinxQuickstartTemplate.rst
Commit 7874db75ef41f5c387f83e1d0bd16607721ddf89 by lebedev.ri
[NFC][Codegen] Add `x u% C1 == C2` with C1 u> C2 non-tautological tests
The file was addedllvm/test/CodeGen/AArch64/urem-seteq-vec-nonzero.ll
The file was addedllvm/test/CodeGen/AArch64/urem-seteq-nonzero.ll
The file was addedllvm/test/CodeGen/X86/urem-seteq-vec-nonzero.ll
The file was addedllvm/test/CodeGen/X86/urem-seteq-nonzero.ll
Commit 8e9e433a2af7c435923ba71ea7d75374408b0b32 by Duncan P. N. Exon Smith
clang/Modules: Remove unused parameter from ModuleManager::removeModules
The other paremeters appear to be sufficient to determine which modules
have just been loaded and need to be removed, so stop collecting and
sending in that set explicitly.
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/include/clang/Serialization/ModuleManager.h
The file was modifiedclang/lib/Serialization/ModuleManager.cpp
Commit c250ebf7bcaa85f5366c651c2efdda828258cb27 by sstipanovic
getArgOperandNo helper function.
Summary: A helper function to get argument number of a arg operand Use.
Reviewers: jdoerfert, uenoku
Subscribers: hiraditya, lebedev.ri, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66844
The file was modifiedllvm/include/llvm/IR/InstrTypes.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 56b2aee1875a1ee47ddf859a6584f8728787fb7b by spatel
[InstCombine] avoid crash from deleting an instruction that still has
uses (PR43723) (2nd try)
Re-try rGef02831f0a4e (reverted due to use-after-free), but bail out
completely if we encounter an unexpected llvm.invariant.start.
We gather a set of white-listed instructions in isAllocSiteRemovable()
and then replace/erase them. But we don't know in general if the
instructions in the set have uses amongst themselves, so order of
deletion makes a difference.
There's already a special-case for the llvm.objectsize intrinsic, so add
another for llvm.invariant.end.
Should fix: https://bugs.llvm.org/show_bug.cgi?id=43723
Differential Revision: https://reviews.llvm.org/D69977
The file was modifiedllvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit d115b9fd4a4b87c01db34dca99db434867b98976 by spatel
Revert "[InstCombine] avoid crash from deleting an instruction that
still has uses (PR43723) (2nd try)"
This reverts commit 56b2aee1875a1ee47ddf859a6584f8728787fb7b. Still
causes a use-after-free on sanitizer bots.
The file was modifiedllvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit d37db750c25dc3a7da66c97d973f7a64b7bf907b by craig.topper
[InstCombine] Add a test case for suboptimal handling of (double
(bitcast (<1 x i64> (bitcast (x86_mmx)))))
The outer bitcast gets turned into an extractelement and another bitcast
rather than combining away to a single bitcast from mmx to double.
The file was modifiedllvm/test/Transforms/InstCombine/bitcast-vec-canon.ll
Commit aafde063aaf09285c701c80cd4b543c2beb523e8 by craig.topper
[InstCombine] Turn (extractelement <1 x i64/double> (bitcast (x86_mmx)))
into a single bitcast from x86_mmx to i64/double.
The _m64 type is represented in IR as <1 x i64>. The x86-64 ABI on Linux
passes <1 x i64> as a double. MMX intrinsics use x86_mmx type in
IR.These things result in a lot of bitcasts in mmx code. There's another
instcombine that tries to turn bitcast <1 x i64> to double into
extractelement and a bitcast.
The combine here tries to reverse this extractelement conversion if we
see an mmx type.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/test/Transforms/InstCombine/bitcast-vec-canon.ll
Commit 3d3445e3e691a34a72643d07e675c618adeddafc by vvereschaka
Revert "Fixed a profdata file size detection on Windows system."
This reverts commit bcbb121ff6c8440382abfce8f2911a095f14602b.
Using 'ls -o' is not compatible way to fix the problem. FreeBSD and OSX
version of 'ls' do not support -o flag and test gets failed on these
platforms.
Differential Revision: https://reviews.llvm.org/D69317
The file was modifiedllvm/test/tools/llvm-profdata/show-prof-size.test
Commit 6ef63638cb8bac243e0e59cec66a19c57b79e351 by whitneyt
[DirectedGraph]: Add setTargetNode member function Summary:Add the
setTargetNode member function to class DGEdge. Authored By:etiotto
Reviewer:bmahjour, Whitney, jdoerfert, Meinersbur, fhahn, kbarton,
dmgreen Reviewed By:Meinersbur Subscribers:dexonsmith, kristina,
llvm-commits Tag:LLVM Differential
Revision:https://reviews.llvm.org/D68474
The file was modifiedllvm/include/llvm/ADT/DirectedGraph.h
Commit af5df83671bc4d94bddf33381430b6291d95a4fc by 48825004
[NFC] Add one test to verify the dependency brings by Macro-Fusion.
The file was addedllvm/test/CodeGen/AArch64/macro-fusion.ll
Commit 2f4fb200b6befeb4ff884d5dc46c66ce3ffd9bfc by marshall
libc++ status page: New papers and issues adopted in Belfast
The file was modifiedlibcxx/www/cxx2a_status.html
Commit b4f46a9bb42972e663f8b7b4d15e4c8ed3fecef4 by ibiryukov
[clangd] Fixes colon escaping on Windows
vscode always escapes the colon on the file uri, which causes the
semantic highlighting fails on windows.
fixes: https://github.com/clangd/clangd/issues/176
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/package.json
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/package-lock.json
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts
Commit 06456daa9e59ffddc634e4f1aa592161653fbd36 by grimar
[yaml2obj] - Add a way to describe the custom data that is not part of
an output section.
Currently there is no way to describe the data that is not a part of an
output section. It can be a data used to align sections or to fill the
gaps with something, or another kind of custom data. In this patch I
suggest a way to describe it. It looks like that:
``` Sections:
- Type:    CustomFiller
   Pattern: "CCDD"
   Size:    4
- Name:    .bar
   Type:    SHT_PROGBITS
   Content: "FF"
```
I.e. I've added a kind of synthetic section with a synthetic type
"CustomFiller". In the code it is called a "SyntheticFiller", which is
"a synthetic section which might be used to write the custom data around
regular output sections. It does not present in the sections header
table, but it might affect the output file size and program headers
produced. Think about it as about piece of data."
`SyntheticFiller` currently has a `Pattern` field and a `Size` field +
an optional `Name`. When written, `Size` of bytes in the output will be
filled with a `Pattern`. It is possible to reference a named filler it
by name from the program headers description, just like any other normal
section.
Differential revision: https://reviews.llvm.org/D69709
The file was modifiedllvm/lib/ObjectYAML/YAML.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was addedllvm/test/tools/yaml2obj/custom-fill.yaml
The file was modifiedllvm/test/tools/yaml2obj/program-header.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/YAML.h
The file was modifiedllvm/test/tools/yaml2obj/duplicate-section-names.test
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
Commit 84a0c8e3ae92829c4f04ba995b4b6283d397f65d by sander.desmalen
[AArch64][SVE] Spilling/filling of SVE callee-saves.
Implement the spills/fills of callee-saved SVE registers using STR and
LDR instructions.
Also adds the `aarch64_sve_vector_pcs` attribute to specify the
callee-saved registers to be used for functions that return SVE vectors
or take SVE vectors as arguments. The callee-saved registers are vector
registers z8-z23 and predicate registers p4-p15.
The overal frame-layout with SVE will be as follows:
   +-------------+
  | stack args  |
  +-------------+
  | Callee Saves|
  |   X29, X30  |
  |-------------| <- FP
  | SVE Callee  | < //////////////
  | saved regs  | < //////////////
  |    z23      | < //////////////
  |     :       | < // SCALABLE //
  |    z8       | < //////////////
  |    p15      | < /// STACK ////
  |     :       | < //////////////
  |    p4       | < //// AREA ////
  +-------------+ < //////////////
  |     :       | < //////////////
  |  SVE locals | < //////////////
  |     :       | < //////////////
  +-------------+
  |/////////////| alignment gap.
  |     :       |
  | Stack objs  |
  |     :       |
  +-------------+ <- SP after call and frame-setup
Reviewers: cameron.mcinally, efriedma, greened, thegameg, ostannard,
rengolin
Reviewed By: ostannard
Differential Revision: https://reviews.llvm.org/D68996
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64CallingConvention.td
The file was modifiedllvm/test/CodeGen/AArch64/framelayout-sve.mir
The file was modifiedllvm/lib/AsmParser/LLLexer.cpp
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/lib/AsmParser/LLToken.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.h
Commit a26d7b629823bfb502d65e10c75e78754c5970d2 by grimar
[FixBB] - An attemp to fix clang-armv7-linux-build-cache builder.
http://lab.llvm.org:8011/builders/clang-armv7-linux-build-cache/builds/22130/steps/build%20stage%201/logs/stdio
/usr/bin/c++   -DGTEST_HAS_RTTI=0 -D_DEBUG -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ObjectYAML
-I/home/buildslave/buildslave/clang-armv7-linux-build-cache/llvm/llvm/lib/ObjectYAML
-I/usr/include/libxml2 -Iinclude
-I/home/buildslave/buildslave/clang-armv7-linux-build-cache/llvm/llvm/include
-mthumb -fPIC -fvisibility-inlines-hidden -Werror=date-time
-Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
-Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default
-Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor
-Wstring-conversion -fdiagnostics-color -ffunction-sections
-fdata-sections -O3    -UNDEBUG  -fno-exceptions -fno-rtti -std=c++14
-MMD -MT lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/YAML.cpp.o -MF
lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/YAML.cpp.o.d -o
lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/YAML.cpp.o -c
/home/buildslave/buildslave/clang-armv7-linux-build-cache/llvm/llvm/lib/ObjectYAML/YAML.cpp
/home/buildslave/buildslave/clang-armv7-linux-build-cache/llvm/llvm/lib/ObjectYAML/YAML.cpp:42:41:
error: no matching function for call to 'min'
   OS.write((const char *)Data.data(), std::min(N, Data.size()));
                                       ^~~~~~~~
/usr/bin/../lib/gcc/arm-linux-gnueabihf/5.4.0/../../../../include/c++/5.4.0/bits/algorithmfwd.h:370:5:
note: candidate template ignored: deduced conflicting types for
parameter '_Tp' ('unsigned long long' vs. 'unsigned int')
   min(const _Tp&, const _Tp&);
   ^
/usr/bin/../lib/gcc/arm-linux-gnueabihf/5.4.0/../../../../include/c++/5.4.0/bits/stl_algo.h:3451:5:
note: candidate template ignored: could not match
'initializer_list<type-parameter-0-0>' against 'unsigned long long'
   min(initializer_list<_Tp> __l, _Compare __comp)
   ^
/usr/bin/../lib/gcc/arm-linux-gnueabihf/5.4.0/../../../../include/c++/5.4.0/bits/algorithmfwd.h:375:5:
note: candidate function template not viable: requires 3 arguments, but
2 were provided
   min(const _Tp&, const _Tp&, _Compare);
   ^
/usr/bin/../lib/gcc/arm-linux-gnueabihf/5.4.0/../../../../include/c++/5.4.0/bits/stl_algo.h:3445:5:
note: candidate function template not viable: requires single argument
'__l', but 2 arguments were provided
   min(initializer_list<_Tp> __l)
   ^
/home/buildslave/buildslave/clang-armv7-linux-build-cache/llvm/llvm/lib/ObjectYAML/YAML.cpp:46:28:
error: no matching function for call to 'min'
for (uint64_t I = 0, E = std::min(N, Data.size() / 2); I != E; ++I) {
                          ^~~~~~~~
/usr/bin/../lib/gcc/arm-linux-gnueabihf/5.4.0/../../../../include/c++/5.4.0/bits/algorithmfwd.h:370:5:
note: candidate template ignored: deduced conflicting types for
parameter '_Tp' ('unsigned long long' vs. 'unsigned int')
   min(const _Tp&, const _Tp&);
   ^
/usr/bin/../lib/gcc/arm-linux-gnueabihf/5.4.0/../../../../include/c++/5.4.0/bits/stl_algo.h:3451:5:
note: candidate template ignored: could not match
'initializer_list<type-parameter-0-0>' against 'unsigned long long'
   min(initializer_list<_Tp> __l, _Compare __comp)
   ^
/usr/bin/../lib/gcc/arm-linux-gnueabihf/5.4.0/../../../../include/c++/5.4.0/bits/algorithmfwd.h:375:5:
note: candidate function template not viable: requires 3 arguments, but
2 were provided
   min(const _Tp&, const _Tp&, _Compare);
   ^
/usr/bin/../lib/gcc/arm-linux-gnueabihf/5.4.0/../../../../include/c++/5.4.0/bits/stl_algo.h:3445:5:
note: candidate function template not viable: requires single argument
'__l', but 2 arguments were provided
   min(initializer_list<_Tp> __l)
Fix: specify the type for std::min call.
The file was modifiedllvm/lib/ObjectYAML/YAML.cpp
Commit e6c9a9af398baf40537d45498e0aaf417c1306dc by arsenm2
Use MCRegister in copyPhysReg
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/lib/Target/NVPTX/NVPTXInstrInfo.h
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h
The file was modifiedllvm/lib/Target/Lanai/LanaiInstrInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was modifiedllvm/lib/Target/BPF/BPFInstrInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEInstrInfo.h
The file was modifiedllvm/lib/Target/Lanai/LanaiInstrInfo.h
The file was modifiedllvm/lib/Target/XCore/XCoreInstrInfo.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcInstrInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEInstrInfo.cpp
The file was modifiedllvm/lib/Target/Mips/Mips16InstrInfo.cpp
The file was modifiedllvm/lib/Target/ARC/ARCInstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.h
The file was modifiedllvm/lib/Target/ARC/ARCInstrInfo.h
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
The file was modifiedllvm/lib/Target/MSP430/MSP430InstrInfo.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.h
The file was modifiedllvm/lib/Target/ARM/Thumb2InstrInfo.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp
The file was modifiedllvm/lib/Target/ARM/Thumb2InstrInfo.h
The file was modifiedllvm/lib/Target/ARM/Thumb1InstrInfo.h
The file was modifiedllvm/lib/Target/MSP430/MSP430InstrInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/R600InstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AVR/AVRInstrInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/R600InstrInfo.h
The file was modifiedllvm/lib/Target/ARM/Thumb1InstrInfo.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreInstrInfo.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/lib/Target/AVR/AVRInstrInfo.h
The file was modifiedllvm/lib/Target/BPF/BPFInstrInfo.h
The file was modifiedllvm/lib/Target/Mips/Mips16InstrInfo.h
The file was modifiedllvm/lib/Target/Sparc/SparcInstrInfo.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
Commit 6b15c5dface2c70c9a17f80d3aa95af2c7658a7d by grimar
[FixBB] - Fix one more std::min -> std::min<uint64_t> to make BB happy.
BB:
http://lab.llvm.org:8011/builders/clang-armv7-linux-build-cache/builds/22133/steps/build%20stage%201/logs/stdio
The file was modifiedllvm/lib/ObjectYAML/YAML.cpp
Commit e0012c5d6acb568c77c7a6b845637f330e64515f by joan.lluch
[TargetLowering][DAGCombine][MSP430] Shift Amount Threshold in
DAGCombine (3)
Summary: Additional filtering of undesired shifts for targets that do
not support them efficiently.
Related with  D69116 and  D69120
Applies the TLI.getShiftAmountThreshold hook to prevent undesired
generation of shifts for the following IR code:
``` define i16 @testShiftBits(i16 %a) { entry:
%and = and i16 %a, -64
%cmp = icmp eq i16 %and, 64
%conv = zext i1 %cmp to i16
ret i16 %conv
}
define i16 @testShiftBits_11(i16 %a) { entry:
%cmp = icmp ugt i16 %a, 63
%conv = zext i1 %cmp to i16
ret i16 %conv
}
define i16 @testShiftBits_12(i16 %a) { entry:
%cmp = icmp ult i16 %a, 64
%conv = zext i1 %cmp to i16
ret i16 %conv
}
``` The attached diff file shows the piece code in TargetLowering that
is responsible for the generation of shifts in relation to the IR above.
Before applying this patch, shifts will be generated to replace
non-legal icmp immediates. However, shifts may be undesired if they are
even more expensive for the target.
For all my previous patches in this series (cited above) I added test
cases for the MSP430 target. However, in this case, the target is not
suitable for showing improvements related with this patch, because the
MSP430 does not implement "isLegalICmpImmediate". The default
implementation returns always true, therefore the patched code in
TargetLowering is never reached for that target. Targets implementing
both "isLegalICmpImmediate" and "getShiftAmountThreshold" will benefit
from this.
The differential effect of this patch can only be shown for the MSP430
by temporarily implementing "isLegalICmpImmediate" to return false for
large immediates. This is simulated with the implementation of a command
line flag that was incorporated in D69975
This patch belongs to a initiative to "relax" the generation of shifts
by LLVM for targets requiring it
Reviewers: spatel, lebedev.ri, asl
Reviewed By: spatel
Subscribers: lenary, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69326
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/MSP430/shift-amount-threshold-b.ll
Commit add7f2aba7b9f9db3bbbeacd07650f6e1e9f0094 by qshanz
[NFC] Add one test to verify the sign_extend of vector type.
The file was addedllvm/test/CodeGen/ARM/signext-inreg.ll
Commit 41104a9406dd284d984f7bee30c7756fcfe2b59e by hokein.wu
[clangd] Fix a regression of not showing documentation from forward
declarations.
Summary: There is a regression from https://reviews.llvm.org/D68467.
Unlike class forward declarations, function ducomentation is written in
the declaration in headers, the function definition doesn't contain any
documentation, cases like:
``` foo.h
// this is foo. void foo(); foo.cc
void foo() {}
``` we should still show documentation from the foo declaration.
Reviewers: ilya-biryukov
Reviewed By: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69961
The file was modifiedclang-tools-extra/clangd/unittests/IndexTests.cpp
The file was modifiedclang-tools-extra/clangd/index/Merge.cpp
Commit 4197a76593a6ce9f65932c531068a2901cd6eec3 by luismarques
[RISCV][NFC] Add nounwind to LKK test functions
Differential Revision: https://reviews.llvm.org/D70067
The file was modifiedllvm/test/CodeGen/RISCV/urem-lkk.ll
The file was modifiedllvm/test/CodeGen/RISCV/urem-vector-lkk.ll
The file was modifiedllvm/test/CodeGen/RISCV/srem-vector-lkk.ll
The file was modifiedllvm/test/CodeGen/RISCV/srem-lkk.ll
Commit 36937ec7fb8e20b81adbac40bd48c6ed7ac6df61 by mgorny
[lldb] [test] Mark TestSendSignal XFAIL on NetBSD
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/signal/TestSendSignal.py
Commit b1ac1f0071626e5cf7f2847484b5b7595253a295 by hans
Revert cdcf58e5af0 "[RISCV] enable LTO support, pass some options to
linker."
This started passing target-features on the linker line, not just for
RISCV but for all targets, leading to error messages in Chromium Android
build:
  '+soft-float-abi' is not a recognized feature for this target
(ignoring feature)
'+soft-float-abi' is not a recognized feature for this target (ignoring
feature)
See Phabricator review for details.
Reverting until this can be fixed properly.
> Summary:
> 1. enable LTO need to pass target feature and abi to LTO code
generation
>    RISCV backend need the target feature to decide which extension
used in
>    code generation.
> 2. move getTargetFeatures to CommonArgs.h and add ForLTOPlugin flag
> 3. add general tools::getTargetABI in CommonArgs.h because different
target uses different
>    way to get the target ABI.
>
> Patch by Kuan Hsu Chen (khchen)
>
> Reviewers: lenary, lewis-revill, asb, MaskRay
>
> Reviewed By: lenary
>
> Subscribers: hiraditya, dschuff, aheejin, fedor.sergeev, mehdi_amini,
inglorion, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD,
kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones, steven_wu,
rogfer01, MartinMosbeck, brucehoult, the_o, dexonsmith, rkruppe, PkmX,
jocewei, psnobl, benna, Jim, lenary, s.egerton, pzheng, cfe-commits
>
> Tags: #clang
>
> Differential Revision: https://reviews.llvm.org/D67409
The file was modifiedclang/lib/Driver/ToolChains/RISCVToolchain.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
The file was modifiedclang/lib/Driver/ToolChains/RISCVToolchain.h
The file was modifiedclang/test/Driver/gold-lto.c
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.h
Commit e2f0b243aa014d5424e34b48132a6056c866b719 by mgorny
[lldb] [test] Fix typo in TestSendSignal
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/signal/TestSendSignal.py
Commit 9323ef4ecca1095347627842c8bfa3544a59e718 by jay.foad
[InstCombine] Simplify binary op when only one operand is a select
Summary: SimplifySelectsFeedingBinaryOp simplified binary ops when both
operands were selects with the same condition. This patch extends it to
handle these cases where only one operand is a select:
X op (C ? P : Q) -> C ? (X op P) : (X op Q)
// if X op P and X op Q both simplify
(C ? P : Q) op Y -> C ? (P op Y) : (Q op Y)
// if P op Y and Q op Y both simplify
For example: X *fast (C ? 1.0 : 0.0) -> C ? X : 0.0
Reviewers: mcberg2017, majnemer, craig.topper, qcolombet, mcrosier
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64713
The file was modifiedllvm/test/Transforms/InstCombine/mul.ll
The file was modifiedllvm/test/Transforms/InstCombine/fmul.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit a7244c56bdd058a41ff9f19dc2da8e3fb9adeb7f by nunoplopes
docs: fix warning in LangRef parsing
The file was modifiedllvm/docs/LangRef.rst
Commit 8383be0f754a7283525e2a84c64e4cc9133ef9db by llvm-dev
Remove superfluous ';' to fix Wpedantic. NFC.
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
Commit 0040c4ba1e2ef3450366edcae8ac013e16356687 by llvm-dev
Fix -Wparentheses warning. NFCI.
The file was modifiedllvm/lib/Analysis/DDG.cpp
Commit b47c7cd4d6a130be6e1cae4f18e65668623c5985 by llvm-dev
Fix -Wcovered-switch-default warning. NFCI.
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
Commit 0cc7c29a97e401359782edf3263cdc1a130415d8 by llvm-dev
AArch64FunctionInfo - fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
Commit 02ec6ff77eb718528138737c885e67c248ecae49 by hokein.wu
[clangd] Use name of Macro to compute its SymbolID, NFC.
Summary: We use the name from the IdentifierInfo of the Macro to compute
its SymbolID. It is better to just take the Name as a parameter to avoid
storing the IdentifierInfo whenever we need the SymbolID for the Macro.
Patch by UTKARSH SAXENA!
Reviewers: hokein
Reviewed By: hokein
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69937
The file was modifiedclang-tools-extra/clangd/AST.h
The file was modifiedclang-tools-extra/clangd/CodeComplete.cpp
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
Commit 75af15d81ef31ebc1fa835eda0c5ef684037a602 by Tom.Weaver
[NFC][TEST_COMMIT] Add fullstop to comment.
The file was modifiedllvm/lib/Transforms/Scalar/Reassociate.cpp
Commit 1984a27db58e9053371ab6d6dc288c81c8a071ac by Tom.Weaver
[DBG][OPT] Attempt to salvage or undef debug info when removing
trivially deletable instructions in the Reassociate Expression pass.
Reviewed By: aprantl, vsk
Differential revision: https://reviews.llvm.org/D69943
The file was addedllvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll
The file was addedllvm/test/Transforms/Reassociate/reassociate_salvages_debug_info.ll
The file was addedllvm/lib/Transforms/Scalar/Reassociate.cpp.rej
Commit 9f48a160dd3fd56314cfbbe74c56e09aaab11566 by Tom.Weaver
Revert "[DBG][OPT] Attempt to salvage or undef debug info when removing
trivially deletable instructions in the Reassociate Expression pass."
This reverts commit 1984a27db58e9053371ab6d6dc288c81c8a071ac.
The file was removedllvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll
The file was removedllvm/test/Transforms/Reassociate/reassociate_salvages_debug_info.ll
The file was removedllvm/lib/Transforms/Scalar/Reassociate.cpp.rej
Commit 3db8a3ef86e7b3331ab466a78c10a62be9e69829 by spatel
[InstCombine] avoid crash from deleting an instruction that still has
uses (PR43723) (3rd try)
Re-try because earlier attempts were reverted due to use-after-free.
Hopefully, diagnosed correctly this time - we replace/remove the
invariant.start first rather than the invariant.end to avoid angering
worklist-based iteration.
We gather a set of white-listed instructions in isAllocSiteRemovable()
and then replace/erase them. But we don't know in general if the
instructions in the set have uses amongst themselves, so order of
deletion makes a difference.
There's already a special-case for the llvm.objectsize intrinsic, so add
another for llvm.invariant.start.
Should fix: https://bugs.llvm.org/show_bug.cgi?id=43723
Differential Revision: https://reviews.llvm.org/D69977
The file was modifiedllvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 29f5d1670c368589b2555932551360721da7799a by spatel
Revert "[InstCombine] avoid crash from deleting an instruction that
still has uses (PR43723) (3rd try)"
This reverts commit 3db8a3ef86e7b3331ab466a78c10a62be9e69829. This
caused a different memory-sanitizer failure than earlier attempts, but
it's still not right.
The file was modifiedllvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit abbbf9880c272da7a3db5de40a91dcbddac8bb50 by joan.lluch
[TargetLowering][DAGCombine][MSP430] Shift Amount Threshold in
DAGCombine (4) (Baseline tests)
Summary: Baseline tests before applying D70042
Reviewers: spatel, asl
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70083
The file was modifiedllvm/test/CodeGen/MSP430/shift-amount-threshold.ll
Commit 48b7068beca9d3a39dcfbebcb384b59b7898065f by Louis Dionne
[libc++] Mark __call_once_proxy as hidden and internal
We effectively never want to export that function, which is an
implementation detail of libc++. This was previously tried in
603715c66b6b and then reverted in 8335dd314f36 because it caused linker
warnings. These linker warnings should go away now that we use
internal_linkage instead of always_inline to implement per-TU
insulation.
The file was modifiedlibcxx/include/mutex
Commit a7638d384983e8e3eb44a2d8c757238efc7096dc by martin
clang-format: [JS] support null operators.
Summary: JavaScript / TypeScript is adding two new operators: the null
propagating operator `?.` and the nullish coalescing operator `??`.
    const x = foo ?? 'default';
   const z = foo?.bar?.baz;
This change adds support to lex and format both.
Reviewers: krasimir
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69971
The file was modifiedclang/lib/Format/FormatToken.h
The file was modifiedclang/lib/Format/FormatTokenLexer.cpp
The file was modifiedclang/unittests/Format/FormatTestJS.cpp
Commit 6bcd8d4a18fc0604a2297a626c1fc808cbfb7b9b by martin
clang-format: [JS] test declared fields.
Summary: TypeScript now supports declaring fields:
    class Foo {
     declare field: string;
   }
clang-format happens to already format this fine, so this change just
adds a regression test.
Reviewers: krasimir
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69972
The file was modifiedclang/unittests/Format/FormatTestJS.cpp
Commit f8c17fe1112009e793d6f9a261622423c2c62049 by hokein.wu
[clangd] fixes semantic highlighting test
Summary: fixes https://github.com/clangd/clangd/issues/176
Patch by liu hui!
Reviewers: ilya-biryukov, hokein, sammccall
Reviewed By: hokein
Subscribers: MaskRay, jkorous, arphaman, kadircet, usaxena95,
cfe-commits
Tags: #clang-tools-extra, #clang
Differential Revision: https://reviews.llvm.org/D70078
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/test/semantic-highlighting.test.ts
Commit fdf3d1766bbabb48a397fae646facbe2690313f6 by stefanp
[PowerPC] Implementing overflow version for XO-Form instructions
The Overflow version of XO-Form instruction uses the SO, OV and OV32
special registers.
This changes modifies existing multiclasses and instruction definitions
to allow for the use of the XER register to record the various types if
overflow from possible add, subtract and multiply instructions. It then
modifies the existing instructions as to use these multiclasses as
needed.
Patch By: Kamau Bridgeman
Differential Revision: https://reviews.llvm.org/D66902
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
The file was modifiedllvm/lib/Target/PowerPC/P9InstrResources.td
The file was modifiedllvm/test/MC/Disassembler/PowerPC/ppc64le-encoding.txt
The file was modifiedllvm/lib/Target/PowerPC/PPCInstr64Bit.td
The file was modifiedllvm/test/MC/PowerPC/invalid-instructions-spellcheck.s
The file was modifiedllvm/test/MC/Disassembler/PowerPC/ppc64-encoding.txt
The file was modifiedllvm/test/MC/PowerPC/ppc64-encoding.s
Commit 4edf0cb0e03e31d468979d0d7dec08bd9f4f8204 by abelkocsis
[clang-tidy] Add bugprone-bad-signal-to-kill-thread checker and alias
cert-pos44-c
The file was modifiedclang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was addedclang-tools-extra/clang-tidy/bugprone/BadSignalToKillThreadCheck.h
The file was addedclang-tools-extra/test/clang-tidy/bugprone-bad-signal-to-kill-thread.cpp
The file was addedclang-tools-extra/docs/clang-tidy/checks/bugprone-bad-signal-to-kill-thread.rst
The file was addedclang-tools-extra/clang-tidy/bugprone/BadSignalToKillThreadCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was modifiedclang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
The file was addedbad-signal-to-kill-thread.patch
The file was addedclang-tools-extra/docs/clang-tidy/checks/cert-pos44-c.rst
Commit 135a493f34561219d67251b58a482cd3fc6416b9 by pavel
Fix TestNoGPacketSupported on linux
The mock server pretends the process stopped with signal 17, which is
SIGCHLD on linux. This causes lldb to resume to process, utterly
confusing the test. Lldb probably shouldn't resume in this case, but for
now this issue can be fixed by changing the signal number to 2, which is
SIGINT just about anywhere.
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestNoGPacketSupported.py
Commit a9a3781df81a8a630e5d233efbc8b15b24ddd1dd by francisvm
[ObjC] Override TailCallKind when lowering objc intrinsics
The tail-call-kind-ness is known by the ObjCARC analysis and can be
enforced while lowering the intrinsics to calls.
This allows us to get the requested tail calls at -O0 without trying to
preserve the attributes throughout passes that change code even at -O0
,like the Always Inliner, where the ObjCOpt pass doesn't run.
Differential Revision: https://reviews.llvm.org/D69980
The file was modifiedllvm/test/Transforms/PreISelIntrinsicLowering/objc-arc.ll
The file was modifiedllvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
Commit 8cec7e0208f5b65790fd5c73b90d6d35944b07b1 by abelkocsis
Revert "[clang-tidy] Add bugprone-bad-signal-to-kill-thread checker and
alias cert-pos44-c"
This reverts commit 4edf0cb0e03e31d468979d0d7dec08bd9f4f8204.
The file was removedclang-tools-extra/clang-tidy/bugprone/BadSignalToKillThreadCheck.h
The file was removedbad-signal-to-kill-thread.patch
The file was removedclang-tools-extra/docs/clang-tidy/checks/bugprone-bad-signal-to-kill-thread.rst
The file was removedclang-tools-extra/docs/clang-tidy/checks/cert-pos44-c.rst
The file was modifiedclang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
The file was removedclang-tools-extra/test/clang-tidy/bugprone-bad-signal-to-kill-thread.cpp
The file was removedclang-tools-extra/clang-tidy/bugprone/BadSignalToKillThreadCheck.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
The file was modifiedclang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
Commit 8d288a0668a574863d52784084ff565c89f7366e by abelkocsis
[clang-tidy] Add bugprone-bad-signal-to-kill-thread check and its alias
cert-pos44-c
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was addedclang-tools-extra/clang-tidy/bugprone/BadSignalToKillThreadCheck.h
The file was modifiedclang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
The file was addedclang-tools-extra/clang-tidy/bugprone/BadSignalToKillThreadCheck.cpp
The file was addedclang-tools-extra/docs/clang-tidy/checks/bugprone-bad-signal-to-kill-thread.rst
The file was addedclang-tools-extra/test/clang-tidy/bugprone-bad-signal-to-kill-thread.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
The file was addedclang-tools-extra/docs/clang-tidy/checks/cert-pos44-c.rst
Commit 2da34a43c7ae9cb5dded89edfebc6b6df0ef173a by llvmgnsyncbot
gn build: Merge 8d288a0668a
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn
Commit a14eb8f47d43c701651ad59f49167a614a8c9773 by pavel
lldb: Fix some -Wdeprecated-copy warnings
gcc-9 started warning when a class defined a copy constructor without a
copy assignment operator (or vice-versa).
This fixes those warnings by deleting the other special member too
(after verifying it doesn't do anything non-trivial).
The file was modifiedlldb/source/Utility/ArchSpec.cpp
The file was modifiedlldb/source/Utility/Scalar.cpp
The file was modifiedlldb/include/lldb/Utility/ArchSpec.h
The file was modifiedlldb/include/lldb/Utility/Flags.h
The file was modifiedlldb/include/lldb/Symbol/SymbolContext.h
The file was modifiedlldb/include/lldb/Utility/FileSpec.h
The file was modifiedlldb/include/lldb/Symbol/Declaration.h
The file was modifiedlldb/include/lldb/Interpreter/OptionValue.h
The file was modifiedlldb/source/Utility/Status.cpp
The file was modifiedlldb/include/lldb/Utility/Broadcaster.h
The file was modifiedlldb/source/Symbol/SymbolContext.cpp
The file was modifiedlldb/source/Utility/Broadcaster.cpp
The file was modifiedlldb/source/Utility/FileSpec.cpp
The file was modifiedlldb/include/lldb/Utility/Status.h
The file was modifiedlldb/include/lldb/Utility/Scalar.h
Commit a81c1a9c56300669b9edcb187f8f751fd06c2d29 by sam.mccall
[Format] Fix clang-format.el unit tests after commit f349cc37cc485fd5f
Also add a comment that test is not automatically run, and how to run
it.
Patch by Philipp Stephani!
The file was modifiedclang/tools/clang-format/clang-format-test.el
Commit 49fb4a96e0b79e18aec0ed908676ae4ecaf3084b by ndesaulniers
change LLVM_VERSION_SUFFIX default from svn to git
Summary: Sayonara SVN!
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewers: tstellar, jyknight, lebedev.ri, smeenai, mgorny, hans,
mclow.lists
Reviewed By: mgorny, hans
Subscribers: christof, libcxx-commits, llvm-commits, srhines
Tags: #libc, #llvm
Differential Revision: https://reviews.llvm.org/D70019
The file was modifiedllvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
The file was modifiedlibunwind/CMakeLists.txt
The file was modifiedllvm/CMakeLists.txt
The file was modifiedlibcxx/CMakeLists.txt
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
Commit 5cfce5079bc8218e68b6404b70116aeccc346dd1 by llvm-dev
Timer - fix shadow variable warnings for Name/Description members. NFC.
The file was modifiedllvm/lib/Support/Timer.cpp
The file was modifiedllvm/include/llvm/Support/Timer.h
Commit b6cd799e29a9a5cef4d1d722f267e3b59ef6aaca by llvm-dev
Fix filename typo in rG8d288a0668a5
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
Commit 4162875c3b2a2326c8f40b6cba98308d819f4d49 by sam.mccall
[Support] Add erase() to json::Object
The file was modifiedllvm/unittests/Support/JSONTest.cpp
The file was modifiedllvm/include/llvm/Support/JSON.h
Commit 6bbfafd03782a4bf9522edeaf4860470946ecfd0 by yi-hong.lyu
[CGP] Make ICMP_EQ use CR result of ICMP_S(L|G)T dominators
For example:
long long test(long long a, long long b) {
if (a << b > 0)
   return b;
if (a << b < 0)
   return a;
return a*b;
}
Produces:
        sld. 5, 3, 4
       ble 0, .LBB0_2
       mr 3, 4
       blr
.LBB0_2:                                # %if.end
       cmpldi  5, 0
       li 5, 1
       isel 4, 4, 5, 2
       mulld 3, 4, 3
       blr
But the compare (cmpldi 5, 0) is redundant and can be removed (CR0
already contains the result of that comparison).
The root cause of this is that LLVM converts signed comparisons into
equality comparison based on dominance. Equality comparisons are
unsigned by default, so we get either a record-form or cmp (without the
l for logical) feeding a cmpl. That is the situation we want to avoid
here.
Differential Revision: https://reviews.llvm.org/D60506
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/use-cr-result-of-dom-icmp-st.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was modifiedllvm/test/CodeGen/X86/use-cr-result-of-dom-icmp-st.ll
The file was modifiedllvm/test/CodeGen/AArch64/use-cr-result-of-dom-icmp-st.ll
Commit 19bbdf6ca6be5315b2ab88e9d930463ab65c278d by kevin.neal
Fix errors where we thought we were checking for labels but weren't due
to use of the wrong prefix. Spotted by Craig Topper in reviewing D69275.
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll
Commit 03da6e8c00de2320e6b9dacba8f7850faceae319 by thomasraoux
    [ModuloSchedule] Do target loop analysis before peeling.
    Simple change to call target hook analyzeLoopForPipelining before
   changing the loop. After peeling analyzing the loop may be more
   complicated for target that don't have a loop instruction. This
doesn't
   affect Hexagone and PPC as they have hardware loop instructions.
    Differential Revision: https://reviews.llvm.org/D69912
The file was modifiedllvm/lib/CodeGen/ModuloSchedule.cpp
The file was modifiedllvm/include/llvm/CodeGen/ModuloSchedule.h
Commit 14df08f0580cea8f8bec5814e3b895b373001b56 by kostyak
[scudo][standalone] Match function name change to bionic name change.
Summary: Bionic was modified to have all function names consistent.
Modify the code and get rid of the special case for bionic since it's no
longer needed.
Reviewers: cryptoad
Reviewed By: cryptoad
Subscribers: srhines, llvm-commits, #sanitizers
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D70031
The file was modifiedcompiler-rt/lib/scudo/standalone/wrappers_c.inc
Commit 489449c28aaa45086d507fbad96826420adf409d by yitzhakm
[libTooling] Further simplify `Stencil` type and introduce
`MatchComputation`.
Summary: This revision introduces a new interface `MatchComputation`
which generalizes the `Stencil` interface and replaces the
`std::function` interface of
`MatchConsumer`. With this revision, `Stencil` (as an abstraction)
becomes just one collection of implementations of
`MatchComputation<std::string>`. Correspondingly, we remove the
`Stencil` class entirely in favor of a simple type alias, deprecate
`MatchConsumer` and change all functions that accepted
`MatchConsumer<std::string>` to use
`MatchComputation<std::string>` instead.
Reviewers: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69802
The file was modifiedclang/include/clang/Tooling/Transformer/MatchConsumer.h
The file was modifiedclang/include/clang/Tooling/Transformer/RewriteRule.h
The file was modifiedclang/include/clang/Tooling/Transformer/Stencil.h
The file was modifiedclang/lib/Tooling/Transformer/Stencil.cpp
The file was modifiedclang/unittests/Tooling/StencilTest.cpp
The file was modifiedclang/unittests/Tooling/TransformerTest.cpp
The file was modifiedclang/lib/Tooling/Transformer/RewriteRule.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.cpp
Commit eb8710cb93a5c21c168ffd97ac2b6872127cb60b by mcypark
[libc++][P0980] Marked member functions move/copy/assign of char_traits
constexpr.
Reviewers: ldionne, EricWF, mclow.lists
Reviewed By: ldionne
Subscribers: christof, dexonsmith, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D68840
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/assign3.pass.cpp
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/copy.pass.cpp
The file was modifiedlibcxx/include/__string
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/move.pass.cpp
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/copy.pass.cpp
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/move.pass.cpp
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/move.pass.cpp
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/assign3.pass.cpp
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign3.pass.cpp
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char/move.pass.cpp
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign3.pass.cpp
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/copy.pass.cpp
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/copy.pass.cpp
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/move.pass.cpp
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/copy.pass.cpp
The file was modifiedlibcxx/test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/assign3.pass.cpp
Commit b9213dfec4d8ce42d90507c25545564f4a0bbfb8 by sam.mccall
[clangd] Fix crash in DefineInline::prepare()
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/DefineInline.cpp
Commit 8a44d4850d268fdcc61b95fdd32233b7a3a15e9b by Jonas Devlieghere
[debuginfo] Update test to account for missing __debug_macinfo
We no longer emit this section if it's empty.
The file was modifieddebuginfo-tests/llgdb-tests/apple-accel.cpp
Commit 0d908e1252d4b1de4bdd91e2a2857093621b2a0b by llvm-dev
Make FileCheckNumericVariable::getDefLineNumber const. NFC
Fixes cppcheck warning.
The file was modifiedllvm/lib/Support/FileCheckImpl.h
Commit 0e0dea82681a86a09ceed0afd321367a35bfa051 by llvm-dev
Add missing override modifiers for FileCheckExpressionAST::eval()
overrides.
The file was modifiedllvm/lib/Support/FileCheckImpl.h
Commit f8c12edd1a5200abbbb2c8da754d6a3bfa7545a0 by a.bataev
[OPENMP50]Add support for nested atomic and simd constructs in
simd-based directives.
According to OpenMP 5.0 standard, ordered simd, atomic and simd
directives are allowed as nested directives in the simd-based
directives.
The file was modifiedclang/test/OpenMP/nesting_of_regions.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
Commit fde11e9f23a3bf6c78ec0bcfa92e9759ee8b5054 by a.bataev
[OPENMP50]Generalize handling of context matching/scoring.
Summary: Untie context matching/scoring from the attribute for declare
variant directive to simplify future uses in other context-dependent
directives.
Reviewers: jdoerfert
Subscribers: guansong, kkwli0, caomhin, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69952
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Basic/OpenMPKinds.h
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
Commit e0f1d9d8729df3463042c9fffb1b62e938d93f58 by thomasraoux
[ModuloSchedule] Fix modulo expansion for data loop carried
dependencies.
The new experimental expansion has a problem when a value has a data
dependency with an instruction from a previous stage. This is due to the
way we peel out the kernel. To fix that I'm changing the way we peel out
the kernel. We now peel the kernel NumberStage - 1 times. The code would
be correct at this point if we didn't have to handle cases where the
loop iteration is smaller than the number of stages. To handle this case
we move instructions between different epilogues based on their stage
and remap the PHI instructions correctly.
Differential Revision: https://reviews.llvm.org/D69538
The file was modifiedllvm/test/CodeGen/Hexagon/swp-conv3x3-nested.ll
The file was addedllvm/test/CodeGen/Hexagon/swp-epilog-phi12.ll
The file was modifiedllvm/include/llvm/CodeGen/ModuloSchedule.h
The file was modifiedllvm/test/CodeGen/Hexagon/swp-stages4.ll
The file was modifiedllvm/lib/CodeGen/ModuloSchedule.cpp
Commit d24bce57c3ca2414ff5e53d8f7f3f007d6a946fe by Adrian Prantl
Add a testcase for .dSYM path remapping dictionaries.
rdar://problem/56924558
The file was addedlldb/packages/Python/lldbsuite/test/macosx/DBGSourcePathRemapping/Inputs/main.c
The file was addedlldb/packages/Python/lldbsuite/test/macosx/DBGSourcePathRemapping/TestDSYMSourcePathRemapping.py
The file was addedlldb/packages/Python/lldbsuite/test/macosx/DBGSourcePathRemapping/Makefile
Commit da83e96273527a137f2ebd77cedb920180eab621 by Adrian Prantl
Fix a regression in macOS-style path remapping.
When we switched to the LLVM .debug_line parser, the .dSYM-style path
remapping logic stopped working for relative paths because of how
RemapSourceFile silently fails for relative paths. This patch both makes
the code more readable and fixes this particular bug.
One interesting thing I learned is that Module::RemapSourceFile() is a
macOS-only code path that operates on on the lldb::Module level and is
completely separate from target.source-map, which operates on a
per-Target level.
Differential Revision: https://reviews.llvm.org/D70037
rdar://problem/56924558
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/DBGSourcePathRemapping/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/macosx/DBGSourcePathRemapping/Inputs/relative.c
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/DBGSourcePathRemapping/TestDSYMSourcePathRemapping.py
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/DBGSourcePathRemapping/Inputs/main.c
Commit 646d927175ebd0bb1d7af7d51b41bc1d7b1fe651 by Adrian Prantl
Replace tabs with spaces. (NFC)
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/DBGSourcePathRemapping/TestDSYMSourcePathRemapping.py
Commit 152e83fc59af7d255df10c0f56c8fbb14dc1dea2 by sylvestre
clang-format: fix a typo introduced by the previous change
The file was modifiedclang/docs/ClangFormat.rst
Commit 2eb9233034cafb1a9ebf58889220831d11cdb89b by e.menezes
[AArch64] Add new scheduling predicates
Add new scheduling predicates to identify more ASIMD forms.
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedPredExynos.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedPredicates.td
Commit c19528f18093697bff827ca30332e63f3418524d by e.menezes
[AArch64] Update for Exynos
Fix the costs of FP register moves.
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedExynosM4.td
Commit edab7dd426249bd40059b49b255ba9cc5b784753 by victorh
Disable hoisting MI to hotter basic blocks
In current Hoist() function of machine licm pass, it will not check the
source and destination basic block frequencies that a instruction is
hoisted from/to. There is a chance that instruction is hoisted from a
cold to a hot basic block.
In this patch, we add options to disable machine instruction hoisting if
destination block is hotter.
Differential Revision: https://reviews.llvm.org/D63676
The file was addedllvm/test/CodeGen/PowerPC/DisableHoistingDueToBlockHotnessNoProfileData.mir
The file was addedllvm/test/CodeGen/PowerPC/DisableHoistingDueToBlockHotnessProfileData.mir
The file was modifiedllvm/lib/CodeGen/MachineLICM.cpp
Commit 0cf86da1741fb1a4278dc31dfc8f1538c9186892 by Jonas Devlieghere
[Reproducer] Quit the debugger after generating a reproducer
Currently nothing prevents you from continuing your debug session after
generating the reproducer. This can cause the reproducer to end up in an
inconsistent state. Most of the time this doesn't matter, but I want to
prevent this from causing bugs in the future.
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
Commit eef69021607950487a9e4110851a05abb54d0fb6 by Duncan P. N. Exon Smith
clang/Modules: Delay err_module_file_conflict if a diagnostic is in
flight
As part of an audit of whether all errors are being reported from the
ASTReader, delay err_module_file_conflict if a diagnostic is already in
flight when it is hit.  This required plumbing an extra argument through
the delayed diagnostic mechanics in DiagnosticsEngine.
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/include/clang/Serialization/ASTReader.h
The file was modifiedclang/include/clang/Basic/Diagnostic.h
The file was modifiedclang/lib/Basic/Diagnostic.cpp
Commit 6b0af41ad7becad333fa61626cf3a01561626bb8 by victorh
Fixing PowerPC llc test cases for Disable hoisting MI to hotter basic
blocks by adding powerpc triple
The file was modifiedllvm/test/CodeGen/PowerPC/DisableHoistingDueToBlockHotnessNoProfileData.mir
The file was modifiedllvm/test/CodeGen/PowerPC/DisableHoistingDueToBlockHotnessProfileData.mir
Commit e5e2e0a66b033bfe9b75b5a6352d215e02729836 by sd.fertile
[PowerPC][XCOFF] Add support for zero initialized global values.
For XCOFF, globals mapped into the .bss section are linked as COMMON
definitions. This behaviour is incorrect for zero initialized data, so
emit those to the .data section instead.
Differential Revision: https://reviews.llvm.org/D69528
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-data.ll
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Commit bfd58fc60ff4b0c081b5b489119c3798d3e2b53c by Duncan P. N. Exon Smith
clang/Modules: Use range-based for in ASTReader::ReadAST, NFC
The file was modifiedclang/lib/Serialization/ASTReader.cpp
Commit 01782c3e4df1830d7991e9edfee9119ed41e4c27 by Duncan P. N. Exon Smith
clang/Modules: Split loop in ReadAST between failable and not
Split a loop in ReadAST that visits the just-loaded module chain,
between an initial loop that reads further from the ASTs (and can fail)
and a second loop that does some preloading (and cannot fail).  This
makes it less likely for a reading failure to affect the AST.
This is not fixing a known bug and the behaviour change may not be
observable, it's just part of an audit to look at all of the error
handling in the ASTReader.
https://reviews.llvm.org/D70056
The file was modifiedclang/lib/Serialization/ASTReader.cpp
Commit 774e829c29017d35e8af3b854f21c792caf30181 by craig.topper
[X86] Autogenerate checks in fp-intrinsics.ll. Split fma tests off to
fp-intrinsics-fma.ll. NFC
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll
The file was addedllvm/test/CodeGen/X86/fp-intrinsics-fma.ll
Commit 9e5116f756f05b68e8394e392027dca7bc574559 by craig.topper
[X86] Add avx512 command lines to vector-constrained-fp-intrinsics.ll.
NFC
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
Commit 0b8dfb5762fdc350c5071c9eeffd4f7e4d495e98 by Jonas Devlieghere
[lldb] Re-enable VSCode tests
The VSCode tests were all disabled on macOS because the implementation
had some issues that resulted in flakiness on Darwin. It seems most of
these issues have been addressed. I've re-enabled all the tests that
consistently passed locally.
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/variables/TestVSCode_variables.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/step/TestVSCode_step.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py
Commit 8e2c192e2af8c760152ba3b28e774dbb1548e4aa by Duncan P. N. Exon Smith
clang/Modules: Add missing diagnostics for malformed AST files
These were found via an audit.  In the case of `ParseLineTable` this is
actually dead code, since parsing the line table always succeeds, but
it's prudent to be defensive since it's possible an assertion there
could be converted to a `true` return in the future.
The file was modifiedclang/lib/Serialization/ASTReader.cpp
Commit 6c86d6efaf129c42d37121f1e7e9a7adffb54c1a by craig.topper
[X86] Remove some else branches after checking for !useSoftFloat() that
set operations to Expand.
If we're using soft floats, then these operations shoudl be softened
during type legalization. They'll never get to LegalizeVectorOps or
LegalizeDAG so they don't need to be Expanded there.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit c46b3a2abd38d6fecd389c97dfa7df54af77fdb9 by Duncan P. N. Exon Smith
clang/Modules: Clean up modules on error in ReadAST
ReadASTBlock and ReadASTExtensions can both return failures.  Be
consistent and remove all the just-loaded modules, just like when
ReadASTCore returns failures.
https://reviews.llvm.org/D70055
The file was modifiedclang/lib/Serialization/ASTReader.cpp
Commit e87d71668e10f51abe4b2f1f3c44591aca783750 by aqjune
[IR] Redefine Freeze instruction
Summary: This patch redefines freeze instruction from being
UnaryOperator to a subclass of UnaryInstruction.
ConstantExpr freeze is removed, as discussed in the previous review.
FreezeOperator is not added because there's no ConstantExpr freeze.
`freeze i8* null` test is added to `test/Bindings/llvm-c/freeze.ll` as
well, because the null pointer-related bug in `tools/llvm-c/echo.cpp` is
now fixed. InstVisitor has visitFreeze now because freeze is not unaryop
anymore.
Reviewers: whitequark, deadalnix, craig.topper, jdoerfert, lebedev.ri
Reviewed By: craig.topper, lebedev.ri
Subscribers: regehr, nlopes, mehdi_amini, hiraditya, steven_wu,
dexonsmith, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69932
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/lib/AsmParser/LLParser.h
The file was modifiedllvm/unittests/IR/VerifierTest.cpp
The file was modifiedllvm/include/llvm-c/Core.h
The file was modifiedllvm/lib/IR/Instruction.cpp
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/test/Bindings/llvm-c/freeze.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/include/llvm/Bitcode/LLVMBitCodes.h
The file was modifiedllvm/lib/AsmParser/LLLexer.cpp
The file was modifiedllvm/include/llvm/IR/InstVisitor.h
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/include/llvm/IR/Instruction.def
The file was modifiedllvm/include/llvm/IR/Operator.h
The file was modifiedllvm/test/Bitcode/compatibility.ll
The file was modifiedllvm/test/Bindings/OCaml/core.ml
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/AsmParser/LLToken.h
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/include/llvm/IR/PatternMatch.h
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
The file was modifiedllvm/test/Transforms/MergeFunc/inline-asm.ll
Commit 2d0eb38d4cc3ceb01d8b77ca088e47ce7b2431db by maskray
[MC] Make MCFragment trivially destructible
The file was modifiedllvm/lib/MC/MCFragment.cpp
The file was modifiedllvm/include/llvm/MC/MCFragment.h
Commit 5c6bfa9c7a7e77f6dd5f4c801be79eabc76c965d by aqjune
[IR] Resolve an error at freeze's unit tests
The file was modifiedllvm/unittests/IR/VerifierTest.cpp
Commit 578f3b5dce2216b84fa8455929ec6e773726cdff by craig.topper
[X86] Remove setOperationAction lines that say to promote MVT::i1
MVT::i1 should be removed by type legalization before we reach any code
that would act on the promote action.
Mainly to avoid replicating this for strict FP versions of these
operations.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 70193b21d18ba0e4f9b9f68918c71bd91a887246 by nemanjai
[NFC] Fix test case after edab7dd426249bd40059b49b255ba9cc5b784753
The author of the patch forgot to add -verify-machineinstrs to the RUN
lines which would have made the issue appear on all bots. Added that as
well as a fix for the undefined register issue (after the hoisting).
The file was modifiedllvm/test/CodeGen/PowerPC/DisableHoistingDueToBlockHotnessNoProfileData.mir
The file was modifiedllvm/test/CodeGen/PowerPC/DisableHoistingDueToBlockHotnessProfileData.mir
Commit 4187cb138b1c8401a78ac2ea98466c750cce61cb by aqjune
Add InstCombine/InstructionSimplify support for Freeze Instruction
Summary:
- Add llvm::SimplifyFreezeInst
- Add InstCombiner::visitFreeze
- Add llvm tests
Reviewers: majnemer, sanjoy, reames, lebedev.ri, spatel
Reviewed By: reames, lebedev.ri
Subscribers: reames, lebedev.ri, filcab, regehr, trentxintong,
llvm-commits
Differential Revision: https://reviews.llvm.org/D29013
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/include/llvm/Analysis/InstructionSimplify.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was addedllvm/test/Transforms/InstSimplify/freeze.ll
The file was modifiedllvm/include/llvm/Analysis/ValueTracking.h
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was addedllvm/test/Transforms/InstCombine/freeze.ll
Commit 31ea714e9a94d3912988c06139cb987e14478e84 by aadsm
Add rpath to liblldb so vendors can ship their own python framework (or
others)
Summary: I want to be able to specify which python framework to use for
lldb in macos. With python2.7 we could just rely on the MacOS one but
python3.7 is not shipped with the OS. An alternative is to use the one
shipped with Xcode but that could be path dependent or maybe the user
doesn't have Xcode installed at all. A definite solution is to just ship
a python framework with lldb. To make this possible I added
"@loader_path/../../../" to the rpath so it points to the same directory
as the LLDB.framework, this way we can just drop any frameworks there.
Reviewers: hhb, sgraenitz, xiaobai, smeenai, beanz, labath
Reviewed By: labath
Subscribers: beanz, labath, mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69931
The file was modifiedlldb/cmake/modules/LLDBFramework.cmake
Commit e9a06e06064145e0baf723187ab023dd91e914f9 by francesco.petrogalli
[VFABI] Read/Write functions for the VFABI attribute.
The attribute is stored at the `FunctionIndex` attribute set, with the
name "vector-function-abi-variant".
The get/set methods of the attribute have assertion to verify that:
1. Each name in the attribute is a valid VFABI mangled name.
2. Each name in the attribute correspond to a function declared in the
  module.
Differential Revision: https://reviews.llvm.org/D69976
The file was modifiedllvm/include/llvm/Transforms/Utils/ModuleUtils.h
The file was modifiedllvm/unittests/Transforms/Utils/CMakeLists.txt
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/unittests/Analysis/VectorFunctionABITest.cpp
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/lib/Transforms/Utils/ModuleUtils.cpp
The file was modifiedllvm/lib/Analysis/VFABIDemangling.cpp
The file was addedllvm/unittests/Transforms/Utils/VFABIUtils.cpp
Commit 6ebec32b1265af646b039150b2df790c610a20fe by llvmgnsyncbot
gn build: Merge e9a06e06064
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Transforms/Utils/BUILD.gn
Commit ac385ca63fe8bc283d7f5be213319cc3b930b4cc by hintonda
Fix null dereference in yaml::Document::skip
Summary: The attached test case replicates a null dereference crash in
`yaml::Document::skip()`. This was fixed by adding a check and early
return in the method.
Reviewers: Bigcheese, hintonda, beanz
Reviewed By: hintonda
Subscribers: hiraditya, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69974
The file was modifiedllvm/lib/Support/YAMLParser.cpp
The file was modifiedllvm/unittests/Support/YAMLParserTest.cpp
Commit 6a18a9548761b266b28a49f705a568677c24b59b by vasileios.porpodas
[SLP] Look-ahead operand reordering heuristic.
Summary: This patch introduces a new heuristic for guiding operand
reordering. The new "look-ahead" heuristic can look beyond the immediate
predecessors. This helps break ties when the immediate predecessors have
identical opcodes (see lit test for examples).
Reviewers: RKSimon, ABataev, dtemirbulatov, Ayal, hfinkel, rnk
Reviewed By: RKSimon, dtemirbulatov
Subscribers: xbolva00, Carrot, hiraditya, phosek, rnk, rcorcs,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60897
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/lookahead.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll
Commit 644de3b96e735aa91a2c0568e65f02c5b537fea0 by i
[PDB] Make pdb::DbiModuleDescriptor destructor trivial
The file was modifiedllvm/lib/DebugInfo/PDB/Native/DbiModuleDescriptor.cpp
The file was modifiedllvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h
Commit 3c4f8bb108b2a362db7d723fe9646a3d236fe60e by i
AMDGPU/SI: make ~SIScheduleBlockCreator trivial
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineScheduler.h
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineScheduler.cpp
Commit 43ff63477256d584cf506dba0c222c28231b0ccc by maskray
[Support] Optimize SHA1 implementation
* Add inline to the helper functions because gcc-9 won't inline all of
them without the hint. I've avoided `__attribute__((always_inline))`
because gcc and clang will inline without it, and improves
compatibility.
* Replace the byte-by-byte copy in update() with endian::readbe32()
since perf reports that 1/2 of the time is spent copying into the
buffer before this patch.
When lld uses --build-id=sha1 it spends 30-45% of CPU in SHA1 depending
on the binary (not wall-time since it is parallel). This patch speeds up
SHA1 by a factor of 2 on clang-8 and 3 on gcc-6. This leads to a >10%
improvement in overall linking time.
lld-speed-test benchmarks run on an Intel i9-9900k with Turbo disabled
on CPU 0 compiled with clang-9. Stats recorded with `perf stat -r 5`.
All inputs are using `--build-id=sha1`.
| Input | Before (seconds) | After (seconds) |
| --- | --- | --- |
| chrome | 2.14 | 1.82 (-15%) |
| chrome-icf | 2.56 | 2.29 (-10%) |
| clang | 0.65 | 0.53 (-18%) |
| clang-fsds | 0.69 | 0.58 (-16%) |
| clang-gdb-index | 21.71 | 19.3 (-11%) |
| gold | 0.42 | 0.34 (-19%) |
| gold-fsds | 0.431 | 0.355 (-17%) |
| linux-kernel | 0.625 | 0.575 (-8%) |
| llvm-as | 0.045 | 0.039 (-14%) |
| llvm-as-fsds | 0.035 | 0.039 (-11%) |
| mozilla | 11.3 | 9.8  (-13%) |
| mozilla-gc | 11.84 | 10.36 (-12%) |
| mozilla-O0 | 8.2 | 5.84 (-28%) |
| scylla | 5.59 | 4.52 (-19%) |
Reviewed By: ruiu, MaskRay
Differential Revision: https://reviews.llvm.org/D69295
The file was modifiedllvm/lib/Support/SHA1.cpp
The file was modifiedllvm/unittests/Support/raw_sha1_ostream_test.cpp
Commit 88b04ef8327cdd45bd1e973ec98be5d71e7b8383 by uenoku.tokotoko
[Attributor] Use must-be-executed-context in align deduction
Summary: This patch introduces align attribute deduction for callsite
argument, function argument, function returned and floating value based
on must-be-executed-context.
Reviewers: jdoerfert, sstefan1
Reviewed By: jdoerfert
Subscribers: hiraditya, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69797
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
The file was modifiedllvm/test/Transforms/InferFunctionAttrs/dereferenceable.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nofree-attributor.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nosync.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/dereferenceable.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/internal-noalias.ll
Commit dd101539dac5e464042c04b72090741317d48c23 by grimar
[yaml2obj/obj2yaml] - Add support for SHT_LLVM_LINKER_OPTIONS sections.
SHT_LLVM_LINKER_OPTIONS section contains pairs of null-terminated
strings. This patch adds support for them.
Differential revision: https://reviews.llvm.org/D69895
The file was addedllvm/test/tools/yaml2obj/linker-options.yaml
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was addedllvm/test/tools/obj2yaml/linker-options.yaml
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
Commit e80e9b975218c2bd6ca4de8b1035103e43442d7c by grimar
[llvm-readelf/llvm-readobj][test] - Convert elf-linker-options.ll to use
YAML.
This converts elf-linker-options.ll to use yaml2obj instead of llc,
improves and cleanups it a bit.
This opens a road to add an additional tests for checking the broken
cases.
Differential revision: https://reviews.llvm.org/D70004
The file was addedllvm/test/tools/llvm-readobj/elf-linker-options.test
The file was removedllvm/test/tools/llvm-readobj/elf-linker-options.ll
Commit c8e4b536771e2ebb4702da3de0a7e4238b433bbf by mikael.holmen
[VFABI] Remove unused variables in testcase, fix buildbot
E.g. the buildbot at

http://lab.llvm.org:8011/builders/ppc64le-lld-multistage-test/builds/7259/steps/build-stage2-unified-tree/logs/stdio
failed with
/home/buildbots/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Transforms/Utils/VFABIUtils.cpp:50:22:
error: unused variable 'FnAttrs' [-Werror,-Wunused-variable]
const AttributeSet FnAttrs = Attrs.getFnAttributes();
                    ^ 1 error generated.
The file was modifiedllvm/unittests/Transforms/Utils/VFABIUtils.cpp
Commit ff1504da6fa9977a20e2e3ba11a157cf9acf3bad by craig.topper
[X86] Update stale comment. NFC
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 22a535e91a795e52c8b8c01ad04e3577e9f7ae5b by craig.topper
[X86] Add fptosi test to fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll
Commit 07ebd741546e399f3db0a7c08a7fb1932e14080c by tim.renouf
MCP: Fixed bug with dest overlapping copy source
In MachineCopyPropagation, when propagating the source of a copy into
the operand of a later instruction, bail if a destination overlaps
(partly defines) the copy source. If the instruction where the
substitution is happening is also a copy, allowing the propagation
confuses the tracking mechanism.
Differential Revision: https://reviews.llvm.org/D69953
Change-Id: Ic570754f878f2d91a4a50a9bdcf96fbaa240726d
The file was modifiedllvm/lib/CodeGen/MachineCopyPropagation.cpp
The file was addedllvm/test/CodeGen/AMDGPU/mcp-overlap-after-propagation.mir
Commit a85e676916b6babe9a5479ad3425ccce32f1ecaa by suc-daniil
[NFC][InstCombine] Add tests that show a number of canonicalization
opportunities
Reviewers: spatel, RKSimon, lebedev.ri, apilipenko
Reviewed-By: apilipenko
Tags: #llvm
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D68263
The file was addedllvm/test/Transforms/InstCombine/phi-equal-incoming-pointers.ll
Commit bd7d9a85b8b09c945b98d374cc37cb374db012e6 by Raphael Isemann
[lldb] Check if we actually have a Clang type in
ObjCLanguage::GetPossibleFormattersMatches
We call IsPossibleDynamicType but we also need to check if this is a
Clang type, otherwise other languages with dynamic types (like Swift)
might end up being interpreted as potential Obj-C dynamic types.
The file was modifiedlldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
Commit 6cc853b416a2b0d0b435d145988c5d3b6faaa712 by Raphael Isemann
[lldb][NFC] Remove unused CompilerType::IsPossibleCPlusPlusDynamicType
Reviewers: davide, xiaobai
Reviewed By: davide, xiaobai
Subscribers: davide, JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70074
The file was modifiedlldb/include/lldb/Symbol/CompilerType.h
Commit 52f3a2faf92c4d8efd0e626d52d5f64b7c5d468f by Raphael Isemann
[lldb][NFC] Move LLVM RTTI implementation from enum to static ID
variable
Summary: swift-lldb currently has to patch the ExpressionKind enum to
add support for Swift expressions. If we implement LLVM's RTTI with a
static ID variable instead of a centralised enum we can drop that patch.
Reviewers: labath, davide
Reviewed By: labath
Subscribers: JDevlieghere, lldb-commits
Tags: #upstreaming_lldb_s_downstream_patches, #lldb
Differential Revision: https://reviews.llvm.org/D70070
The file was modifiedlldb/include/lldb/Expression/Expression.h
The file was modifiedlldb/include/lldb/Expression/UserExpression.h
The file was modifiedlldb/source/Expression/FunctionCaller.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp
The file was modifiedlldb/source/Expression/LLVMUserExpression.cpp
The file was modifiedlldb/include/lldb/Expression/LLVMUserExpression.h
The file was modifiedlldb/include/lldb/Expression/UtilityFunction.h
The file was modifiedlldb/source/Expression/UtilityFunction.cpp
The file was modifiedlldb/source/Expression/Expression.cpp
The file was modifiedlldb/source/Expression/UserExpression.cpp
The file was modifiedlldb/include/lldb/Expression/FunctionCaller.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.h
Commit 874b6495b5fd6d7e2dc91d6a756eea67486ea7bb by Raphael Isemann
[lldb] Add missing include to ObjCLanguage.cpp to fix build
The file was modifiedlldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
Commit a75f8d98d7ac9e557b238a229a9a2647c71feed1 by paulhoad
[clang-format] [PR36294] AlwaysBreakAfterReturnType works incorrectly
for some operator functions
Summary: https://bugs.llvm.org/show_bug.cgi?id=36294
Addressing bug related to returning after return type not being honoured
for some operator types.
```
$ bin/clang-format --style="{BasedOnStyle: llvm,
AlwaysBreakAfterReturnType: TopLevelDefinitions}" /tmp/foo.cpp class Foo
{ public:
bool operator!() const;
bool operator<(Foo const &) const;
bool operator*() const;
bool operator->() const;
bool operator+() const;
bool operator-() const;
bool f() const;
};
bool Foo::operator!() const { return true; } bool Foo::operator<(Foo
const &) const {
return true;
} bool Foo::operator*() const { return true; } bool Foo::operator->()
const { return true; } bool Foo::operator+() const {
return true;
} bool Foo::operator-() const {
return true;
} bool Foo::f() const {
return true;
}
```
Reviewers: mitchell-stellar, klimek, owenpan, sammccall, rianquinn
Reviewed By: sammccall
Subscribers: merge_guards_bot, cfe-commits
Tags: #clang-format, #clang-tools-extra, #clang
Differential Revision: https://reviews.llvm.org/D69573
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit a9018fddf9ba17e53a35674bf0a93e78382c4c23 by dave
[X86] Add more add/sub carry tests
Preparation for: https://reviews.llvm.org/D70079
https://reviews.llvm.org/D70077
The file was modifiedllvm/test/CodeGen/X86/subcarry.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-uadd-03.ll
The file was modifiedllvm/test/CodeGen/X86/addcarry.ll
The file was modifiedllvm/test/CodeGen/SystemZ/int-usub-03.ll
Commit ebe2f56030458e7a4c2375c6d92a48f0ed01eb5b by pavel
DWARFDebugLoclists: add location list "interpretation" logic
Summary: This patch extracts the logic for computing the "absolute"
locations, which was partially present in the debug_loclists dumper,
completes it, and moves it into a separate function. This makes it
possible to later reuse the same logic for uses other than dumping.
The dumper is changed to reuse the location list interpreter, and its
format is changed somewhat. In "verbose" mode it prints the "raw" value
of a location list, the interpreted location (if available) and the
expression itself. In non-verbose mode it prints only one of the
location forms: it prefers the interpreted form, but falls back to the
"raw" format if interpretation is not possible (for instance, because we
were not given a base address, or the resolution of indirect addresses
failed).
This patch also undos some of the changes made in D69672, namely the
part about making all functions static. The main reason for this is that
I learned that the original approach (dumping only fully resolved
locations) meant that it was impossible to rewrite one of the existing
tests. To make that possible (and make the "inline location" dump work
in more cases), I now reuse the same dumping mechanism as is used for
section-based dumping. As this required having more objects know about
the various location lists classes, it seemed like a good idea to create
an interface abstracting the difference between them.
Therefore, I now create a DWARFLocationTable class, which will serve as
a base class for the location list classes. DWARFDebugLoclists is made
to inherit from that. DWARFDebugLoc will follow.
Another positive effect of this change is that section-based dumping
code will not need to use templates (as originally) envisioned, and that
the argument lists of the dumping functions become shorter.
Reviewers: dblaikie, probinson, JDevlieghere, aprantl, SouraVX
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70081
The file was addedllvm/include/llvm/DebugInfo/DWARF/DWARFLocationExpression.h
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists_startx_length.s
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists.s
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/test/CodeGen/X86/debug-loclists.ll
The file was modifiedllvm/test/DebugInfo/X86/loclists-dwp.ll
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loc_dwo.s
The file was modifiedllvm/test/DebugInfo/X86/fission-ranges.ll
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp
Commit ec4c96d68566debcc4588c4189b4ef8a5f78729a by Raphael Isemann
[lldb][NFC] Simplify a return in
ThreadPlanStepInRange::DefaultShouldStopHereCallback
We know should_stop_here is false here, so we might as well return false
directly.
The file was modifiedlldb/source/Target/ThreadPlanStepInRange.cpp
Commit 1ee93240c02b0fd505a539691d58565376f8acdf by flo
[LoopInterchange] Only skip PHIs with incoming values from the inner
loop.
Currently we have limited support for outer loops with multiple basic
blocks after the inner loop exit. But the current checks for creating
PHIs for loop exit values only assumes the header and latches of the
outer loop. It is better to just skip incoming values defined in the
original inner loops. Those are handled earlier.
Reviewers: efriedma, mcrosier
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D70059
The file was addedllvm/test/Transforms/LoopInterchange/pr43797-lcssa-for-multiple-outer-loop-blocks.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopInterchange.cpp
Commit 3130a88137ddc6ee277c4e896f235cf93d883dfa by Tatyana Krasnukha
[lldb][test] Macros in expressions require DWARF 5
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/macros/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py
Commit 002625113ba815d1d08463411e67875be6e19a3f by llvm-dev
[X86] Add PR39464 addcarry/subborrow test cases
Additional coverage for D70079
The file was modifiedllvm/test/CodeGen/X86/addcarry.ll
The file was modifiedllvm/test/CodeGen/X86/subcarry.ll
Commit 6da34a8b847f2c858f421278a38dd343d2e8507b by llvm-dev
FileCheckPattern::FindRegexVarEnd - make helper function static. NFC
Fixes cppcheck warning.
The file was modifiedllvm/lib/Support/FileCheckImpl.h
Commit 8794f6787685655223be8a029bf51a1565f7a231 by llvm-dev
[X86] Cleanup prefixes + regenerate for fp-intrinsics-fma.ll
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics-fma.ll
Commit 7f1dcc8952e6a1a4ba918159ab86bd787d584930 by diana.picus
[InstCombine] Skip scalable vectors in combineLoadToOperationType
Don't try to canonicalize loads to scalable vector types to loads of
integers.
This removes one assertion when trying to use a TypeSize as a parameter
to DataLayout::isLegalInteger. It does not handle the second part of the
function (which looks at bitcasts).
This patch also contains a NFC fix for Load Analysis, where a variable
initialization that would cause the same assertion is moved closer to
its use. This allows us to run the new test for InstCombine without
having to teach LocationSize to play nicely with scalable vectors.
Differential Revision: https://reviews.llvm.org/D70075
The file was modifiedllvm/test/Transforms/InstCombine/load.ll
The file was modifiedllvm/lib/Analysis/Loads.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
Commit 636412bf31fc4285d63faeea67e4d71e44e3799c by flo
[AArch64ExpandPseudos] Preserve renamable state when expanding MOVi64 &
co.
If the MOVi operand was renamable, the operands of the expanded
instructions are also renamable.
Reviewers: thegameg, samparker, zatrazz
Reviewed By: thegameg
Differential Revision: https://reviews.llvm.org/D70061
The file was addedllvm/test/CodeGen/AArch64/expand-movi-renamable.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
Commit 77cc246412ca40082c0902f1300f53d29dd98c02 by mgorny
[lldb] [Process/NetBSD] Use PT_STOP to stop the process [NFCI]
Differential Revision: https://reviews.llvm.org/D70060
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
Commit 44e5879f0fb7c28b90e8042fde81bba30b4090a3 by Tim Northover
AArch64: add arm64_32 support to Clang.
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/lib/Basic/Targets/AArch64.cpp
The file was addedclang/test/CodeGen/arm64_32.c
The file was addedclang/test/CodeGen/arm64_32-vaarg.c
The file was modifiedclang/lib/Driver/ToolChain.cpp
The file was addedclang/test/Preprocessor/arm64_32.c
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was addedclang/test/Driver/arm64_32-link.c
The file was modifiedclang/lib/Basic/Targets/AArch64.h
The file was modifiedclang/test/Preprocessor/stdint.c
The file was modifiedclang/test/Sema/aarch64-neon-vector-types.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/CodeGen/target-data.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/test/Driver/aarch64-cpus.c
The file was modifiedclang/test/Preprocessor/init-v7k-compat.c
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
The file was modifiedclang/test/CodeGen/builtins-arm64.c
The file was modifiedclang/test/CodeGenCXX/armv7k.cpp
The file was modifiedclang/test/Sema/types.c
The file was modifiedclang/lib/Basic/Targets.cpp
The file was modifiedclang/test/Preprocessor/aarch64-target-features.c
Commit 5022a5fcaef9e8e5a739d5794954d67bc6f291a2 by alex
Mark llvm::ConstantExpr::getAsInstruction as const
Summary: getAsInstruction is the only non-const member method. It is
impossible to enforce const-correctness because of it.
Reviewers: jmolloy, majnemer
Reviewed By: jmolloy
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70113
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/include/llvm/IR/Constants.h
Commit 1dfb1a85e7cbc37bf6fff9bb046c6e8be0c26b8e by pavel
[lldb] Fix some warnings in the python plugin
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
Commit 6aa60b0514865751ea9dd208236db60eb69aaf1e by pavel
[lldb] Fix more -Wdeprecated-copy warnings
This warning triggers when a class defines a copy constructor but not a
copy-assignment operator (which then gets auto-generated by the
compiler). Fix the warning by deleting the other operator too, as the
default implementation works just fine.
The file was modifiedlldb/include/lldb/Core/SearchFilter.h
The file was modifiedlldb/include/lldb/Host/SocketAddress.h
The file was modifiedlldb/include/lldb/Utility/StringExtractorGDBRemote.h
The file was modifiedlldb/source/Host/common/TCPSocket.cpp
The file was modifiedlldb/source/Core/SearchFilter.cpp
The file was modifiedlldb/source/Host/common/SocketAddress.cpp
Commit a6c40f56aed1556a80867209b6846f7eedc4dc78 by omair.javaid
Revert "Fix lookup of symbols at the same address with no size vs. size"
This reverts commit 3f594ed1686b44138bee245c708773e526643aaf.
This change has cause LLDB expression evaluation to fail on Arm Linux.
Differential Revision: https://reviews.llvm.org/D63540
The file was removedlldb/test/Shell/SymbolFile/Inputs/sizeless-symbol.s
The file was removedlldb/test/Shell/SymbolFile/sizeless-symbol.test
The file was modifiedlldb/source/Symbol/Symtab.cpp
Commit 7d0b1d77b3d4d47df477519fd1bf099b3df6f899 by flo
[Examples] Add IRTransformations directory to examples.
This patch adds a new IRTransformations directory to llvm/examples/.
This is intended to serve as a new home for example
transformations/analysis code used by various tutorials.
If LLVM_BUILD_EXAMPLES is enabled, the ExamplesIRTransforms library is
linked into the opt binary and the example passes become available.
To start off with, it contains the CFG simplifications used in the IR
part of the 'Getting Started With LLVM: Basics' tutorial at the US LLVM
Developers Meeting 2019.
Reviewers: paquette, jfb, meikeb, lhames, kbarton
Reviewed By: paquette
Differential Revision: https://reviews.llvm.org/D69416
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg1.ll
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg6-dead-self-loop.ll
The file was modifiedllvm/tools/opt/CMakeLists.txt
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg3-phis.ll
The file was modifiedllvm/examples/CMakeLists.txt
The file was modifiedllvm/tools/opt/opt.cpp
The file was modifiedllvm/CMakeLists.txt
The file was addedllvm/examples/IRTransforms/SimplifyCFG.cpp
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg-blockaddress.ll
The file was addedllvm/examples/IRTransforms/CMakeLists.txt
The file was addedllvm/examples/IRTransforms/InitializePasses.h
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg2-dead-block-order.ll
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg5-del-phis-for-dead-block.ll
The file was addedllvm/examples/IRTransforms/SimplifyCFG.h
The file was addedllvm/examples/IRTransforms/InitializePasses.cpp
The file was addedllvm/test/Examples/IRTransforms/SimplifyCFG/tut-simplify-cfg4-multiple-duplicate-cfg-updates.ll
Commit 4cc0c2998d64156c9f848a8c2b2aed375ebd58b6 by Jinsong Ji
[PowerPC][NFC]Fix typo in desc for enable-ppc-prefetching
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetMachine.cpp
Commit 41c3f76dcd0daeec60eddfcb56008a31ad6e8738 by Tom.Weaver
[DBG][OPT] Attempt to salvage or undef debug info when removing
trivially deletable instructions in the Reassociate Expression pass.
Reviewed By: aprantl, vsk
Differential revision: https://reviews.llvm.org/D69943
The file was addedllvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll
The file was modifiedllvm/lib/Transforms/Scalar/Reassociate.cpp
The file was addedllvm/test/Transforms/Reassociate/reassociate_salvages_debug_info.ll
Commit 228dd96c6fddad6d070c29a6830c7bd161982e3a by Jinsong Ji
[PowerPC] Remove allow-deprecated-dag-overlap and fix broken tests
Summary: This is found during review of https://reviews.llvm.org/D67088.
CHECK-DAG is non-overlapping after https://reviews.llvm.org/D47106.
-allow-deprecated-dag-overlap was introduced to temporary accept old
behavior.
But it actually hide some broken tests, eg:
`test/CodeGen/PowerPC/swaps-le-1.ll` The codegen has changed, but the
CHECK-DAG still PASS due to allowing `overlap`.
This patch remove the deprecated options, and fix the broken tests.
Reviewers: #powerpc, hfinkel, nemanjai, steven.zhang, shchenz
Reviewed By: shchenz
Subscribers: shchenz, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69733
The file was modifiedllvm/test/CodeGen/PowerPC/uint-to-fp-v4i32.ll
The file was modifiedllvm/test/CodeGen/PowerPC/machine-combiner.ll
The file was modifiedllvm/test/CodeGen/PowerPC/memcpy-vec.ll
The file was modifiedllvm/test/CodeGen/PowerPC/swaps-le-1.ll
The file was modifiedllvm/test/CodeGen/PowerPC/build-vector-tests.ll
Commit 0a58ef5eb5e1a243756f649f82834281ac3dd7ff by kparzysz
[Hexagon] Require PS_aligna whenever variable-sized objects are present
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
Commit 67294c97fbfde6541b5f89d9d83c7fcba31c5f3b by kparzysz
[Hexagon] Handle stack realignment in hexagon-vextract
The file was modifiedllvm/lib/Target/Hexagon/HexagonVExtract.cpp
Commit e3eb10c5419d89171bc97ca21aba7c381827c45e by kparzysz
[Hexagon] Convert stack object offsets to int64, NFC
This will print [SP-56] instead of [SP+4294967240].
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
Commit 592dd459242946593920911936aea47461e0faaa by kparzysz
[Hexagon] Fix vector spill expansion to use proper alignment
1. Add pseudos PS_vloadrv_ai and PS_vstorerv_ai: those are now used
  for single vector registers in loadRegFromStackSlot (and store...). 2.
Remove pseudos PS_vloadrwu_ai and PS_vstorerwu_ai. The alignment is
  now checked when expanding spill pseudos (both in frame lowering
  and in expand-post-ra-pseudos), and a proper instruction is generated.
3. Update MachineMemOperands when dealigning vector spill slots. 4.
Return vector predicate registers in getCallerSavedRegs.
The file was modifiedllvm/lib/Target/Hexagon/HexagonPseudo.td
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
The file was addedllvm/test/CodeGen/Hexagon/spill-vector-alignment.mir
The file was modifiedllvm/test/CodeGen/Hexagon/v6-unaligned-spill.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
Commit 2d06375c3fa02275c1292643216cdb00bb17c32c by spatel
[SLP] add test for miscompile with reduction (PR43948); NFC
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction.ll
Commit 83dcb34b6bf4c175040b18d3e8c3c468418009fc by Duncan P. N. Exon Smith
clang/Modules: Error if ReadASTBlock does not find the main module
If ReadASTBlock does not find its top-level submodule, there's something
wrong the with the PCM.  Error in that case, to avoid hitting problems
further from the source.
Note that the Swift compiler sometimes hits a case in
CompilerInstance::loadModule where the top-level submodule mysteriously
does not have Module::IsFromModuleFile set.  That will emit a confusing
warn_missing_submodule, which was never intended for the main module.
The recent audit of error-handling in ReadAST may have rooted out the
real problem.  If not, this commit will help to clarify the real
problem, and replace a confusing warning with an error pointing at the
malformed PCM file.
We're specifically sniffing out whether the top-level submodule was
found/processed, in case there is a malformed module file that is
missing it.  If there is an error encountered during ReadSubmoduleBlock
the return status should already propagate through.  It would be nice to
detect other missing submodules around here to catch other instances of
warn_missing_submodule closer to the source, but that's left as a future
exercise.
https://reviews.llvm.org/D70063
The file was modifiedclang/include/clang/Basic/DiagnosticSerializationKinds.td
The file was modifiedclang/include/clang/Serialization/Module.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
Commit 54a9b4c02ff57e9847e0c501578e51db6f73d3be by julian.lettner
[lit] Better/earlier errors for empty runs
Fail early, when we discover no tests at all, or filter out all of them.
There is also `--allow-empty-runs` to disable test to allow workflows
like `LIT_FILTER=abc ninja check-all`.  Apparently `check-all` invokes
lit multiple times if certain projects are enabled, which would produce
unwanted "empty runs". Specify via `LIT_OPTS=--allow-empty-runs`.
There are 3 causes for empty runs: 1) No tests discovered.  This is
always an error.  Fix test suite config
  or command line. 2) All tests filtered out.  This is an error by
default, but can be
  suppressed via `--alow-empty-runs`.  Should prevent accidentally
  passing empty runs, but allow the workflow above. 3) The number of
shards is greater than the number of tests.  Currently,
  this is never an error.  Personally, I think we should consider
  making this an error by default; if this happens, you are doing
  something wrong. I added a warning but did not change the behavior,
  since this warrants more discussion.
Reviewed By: atrick, jdenny
Differential Revision: https://reviews.llvm.org/D70105
The file was modifiedllvm/utils/lit/tests/selecting.py
The file was modifiedllvm/utils/lit/lit/main.py
The file was modifiedllvm/utils/lit/lit/run.py
The file was modifiedllvm/utils/lit/lit/cl_arguments.py
Commit 3b73dcdc9656e156c4380454150b8986c5b9aad1 by Adrian Prantl
Performance: Add a set of visited SymbolFiles to the other FindFiles
variant.
This is basically the same bug as in r260434.
SymbolFileDWARF::FindTypes has exponential worst-case when digging
through dependency DAG of .pcm files because each object file and .pcm
file may depend on an already-visited .pcm file, which may again have
dependencies. Fixed here by carrying a set of already visited
SymbolFiles around.
rdar://problem/56993424
Differential Revision: https://reviews.llvm.org/D70106
The file was modifiedlldb/source/Symbol/SymbolFile.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/include/lldb/Core/Module.h
The file was modifiedlldb/source/Core/Module.cpp
The file was modifiedlldb/tools/lldb-test/lldb-test.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/NativePDB/SymbolFileNativePDB.h
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h
The file was modifiedlldb/include/lldb/Symbol/SymbolFile.h
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
Commit ef150e2ea51960e4a9689850d16b2dda355cdcd8 by kparzysz
[Hexagon] Update PS_aligna with max stack alignment once isel completes
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelDAGToDAG.h
Commit 4230fa939021e7a85f3ec06a4b1d8c661dfe329b by sbc
[libcxxabi] Prevent cmake from removing our explicit system C++ include
paths
We build with `-nostdinc++` and add our own header path via
`LIBCXXABI_LIBCXX_INCLUDES`.  However cmake tried to be clever and if
`LIBCXXABI_LIBCXX_INCLUDES` happens to match the compilers system path
it will remove the `-I` flag meaning we can't access any C++ headers.
Ideally cmake would be able see that we are using `-nostdinc++` and
disable this behaviour.
Differential Revision: https://reviews.llvm.org/D69973
The file was modifiedlibcxxabi/CMakeLists.txt
Commit 3c676e3891b962b859e7613781419ee0dacce7dd by a.bataev
[OPENMP]Use copy constructors instead of assignment operators in declare
reduction initializers.
Better to use copy constructor at the initialization of the declare
reduction construct rather than assignment operator.
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/test/AST/dump.cpp
The file was modifiedclang/test/OpenMP/declare_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
Commit ceb72d07b004af9c428c4a3c73a98ea97d49a713 by michael.hliao
Fix build with shared libraries. NFC.
- Dependent components need linking directly.
The file was modifiedllvm/examples/IRTransforms/CMakeLists.txt
Commit 1549b4699a84838c3969590dc4f757b72f39f40d by peter
ARM: Don't emit R_ARM_NONE relocations to compact unwinding decoders in
.ARM.exidx on Android.
These relocations are specified by the ARM EHABI (section 6.3). As I
understand it, their purpose is to accommodate unwinder implementations
that wish to reduce code size by placing the implementations of the
compact unwinding decoders in a separate translation unit, and using
extern weak symbols to refer to them from the main unwinder
implementation, so that they are only linked when something in the
binary needs them in order to unwind.
However, neither of the unwinders used on Android (libgcc, LLVM
libunwind) use this technique, and in fact emitting these relocations
ends up being counterproductive to code size because they cause a copy
of the unwinder to be statically linked into most binaries, regardless
of whether it is actually needed. Furthermore, these relocations create
circular dependencies
(between libc and the unwinder) in cases where the unwinder is
dynamically linked and libc contains compact unwind info.
Therefore, deviate from the EHABI here and stop emitting these
relocations on Android.
Differential Revision: https://reviews.llvm.org/D70027
The file was modifiedllvm/include/llvm/MC/MCELFStreamer.h
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
The file was modifiedllvm/test/MC/ARM/eh-compact-pr0.s
Commit 96915495f9fcbd47bf3f893200e3f5a8e30d0d9e by ditaliano
[ObjectFileMachO] Fix the build for __arm64__.
Catch up with an API change.
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
Commit 7af6025bd12eb086341c3076b760b053a9c2625f by maskray
[llvm-objcopy][COFF] Implement --redefine-sym and --redefine-syms
The parsing error tests in ELF/redefine-symbols.test are not specific to
ELF. Move them to redefine-symbols.test. Add COFF/redefine-symbols.test
for COFF specific tests.
Also fix the documentation regarding --redefine-syms: the old and new
names are separated by whitespace, not an equals sign.
Reviewed By: mstorsjo
Differential Revision: https://reviews.llvm.org/D70036
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/redefine-symbol.test
The file was modifiedllvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
The file was modifiedllvm/docs/CommandGuide/llvm-objcopy.rst
The file was addedllvm/test/tools/llvm-objcopy/COFF/redefine-symbol.test
The file was addedllvm/test/tools/llvm-objcopy/redefine-symbols.test
Commit 91e94a7015f14f78809e875c43acbd341d081479 by shafik
[LLDB][Formatters] Re-enable std::function formatter with fixes to
improve non-cached lookup performance
Performance issues lead to the libc++ std::function formatter to be
disabled. We addressed some of those performance issues by adding
caching see D67111 This PR fixes the first lookup performance by not
using FindSymbolsMatchingRegExAndType(...) and instead finding the
compilation unit the std::function wrapped callable should be in and
then searching for the callable directly in the CU.
Differential Revision: https://reviews.llvm.org/D69913
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/std-function-step-into-callable/TestStdFunctionStepIntoCallable.py
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
The file was modifiedlldb/include/lldb/Symbol/CompileUnit.h
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/std-function-step-into-callable/main.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Symbol/CompileUnit.cpp
Commit 2149028c49f8af1f3d8a9d81b2081a2b302b2d9a by koraq
[AST] Use an explicit copy in a range-based for
The AssociationIteratorTy type will be copied in a range-based for loop.
Make the copy explicit to avoid the -Wrange-loop-analysis warning.
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to
-Wall.
Differential Revision: https://reviews.llvm.org/D70045
The file was modifiedclang/include/clang/AST/StmtDataCollectors.td
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/include/clang/AST/ASTNodeTraverser.h
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/Sema/SemaPseudoObject.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
Commit 51abcebbb6e5c8f8befaa523ae873adecf2d1012 by koraq
[OpenMP] Use an explicit copy in a range-based for
The std::pair<const clang::ValueDecl *,
llvm::ArrayRef<clang::OMPClauseMappableExprCommon::MappableComponent>>
type will be copied in a range-based for loop. Make the copy explicit to
avoid the -Wrange-loop-analysis warning.
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to
-Wall.
Differential Revision: https://reviews.llvm.org/D70046
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
Commit 964842861c8acd53b8df8799f7c3800c5528fb72 by koraq
[Analyzer] Use a reference in a range-based for
Let the checkers use a reference instead of a copy in a range-based for
loop.
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to
-Wall.
Differential Revision: https://reviews.llvm.org/D70047
The file was modifiedclang/lib/StaticAnalyzer/Core/CheckerManager.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/CheckerManager.h
Commit 0aff3174dcc00516fd26c6554266b05a236166bb by llvm-project
[CodeGen] Fix getArrayAccessFor crashes as in bug 32534 with
-polly-vectorizer=polly.
Root cause is VectorBlockGenerator::copyStmt iterates all instructions
in basic block, however some load instructions may be not unnecessary
thus removed by simplification. As a result, these load instructions
don't have a corresponding array.
Looking at BlockGenerator::copyBB, it only iterates instructions list of
ScopStmt. Given it must be a block type scop in case of vectorization, I
think we should do the same in VectorBlockGenerator::copyStmt.
Patch by bin.narwal <bin.narwal@gmail.com>
Differential Revision: https://reviews.llvm.org/D70076
The file was modifiedpolly/lib/CodeGen/BlockGenerators.cpp
Commit 98856e3943de698f8c1d940c08bdbf50f04937b4 by e.menezes
[AArch64] Fix addressing mode predicates
Fix predicates related to the register offset addressing mode.
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedPredicates.td
Commit 9b1e86f0cb4768a7c09b58888a86dd4be60de02e by e.menezes
[AArch64] Update for Exynos
Fix the modeling for loads and stores using the register offset
addresing mode.
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedExynosM4.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SchedExynosM3.td
Commit fbb228c7d222b991bed20d674e3b43143848fb95 by Jonas Devlieghere
[LLDB] Always remove debugserver from LLVM_DISTRIBUTION_COMPONENTS
Centralize the logic to remove debugserver from
LLVM_DISTRIBUTION_COMPONENTS when LLDB_USE_SYSTEM_DEBUGSERVER is
enabled. Now this happens regardless of whether the tests are enabled.
The file was modifiedlldb/test/API/CMakeLists.txt
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
Commit 335ac2eb662ce5f1888e2a50310b01fba2d40d68 by paulhoad
Allow additional file suffixes/extensions considered as source in main
include grouping
Summary: By additional regex match, grouping of main include can be
enabled in files that are not normally considered as a C/C++ source
code. For example, this might be useful in templated code, where
template implementations are being held in *Impl.hpp files. On the
occassion, 'assume-filename' option description was reworded as it was
misleading. It has nothing to do with `style=file` option and it does
not influence sourced style filename.
Reviewers: rsmith, ioeric, krasimir, sylvestre.ledru, MyDeveloperDay
Reviewed By: MyDeveloperDay
Subscribers: MyDeveloperDay, cfe-commits
Patch by:  furdyna
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67750
The file was modifiedclang/include/clang/Tooling/Inclusions/IncludeStyle.h
The file was modifiedclang/lib/Format/Format.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/include/clang/Format/Format.h
The file was modifiedclang/unittests/Format/SortIncludesTest.cpp
The file was modifiedclang/lib/Tooling/Inclusions/HeaderIncludes.cpp
The file was modifiedclang/docs/ClangFormatStyleOptions.rst
The file was modifiedclang/docs/ClangFormat.rst
The file was modifiedclang/tools/clang-format/ClangFormat.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
Commit 4ae74cc99fb9d9c1f47cc7c5cd4c515bd53e2a19 by asbirlea
[GVNHoist] Preserve AAResults.
Resolves PR38906, PR40898.
The file was modifiedllvm/lib/Transforms/Scalar/GVNHoist.cpp
Commit a247bd1f274e49ea83b2ad39c6ff062753e9e779 by Jonas Devlieghere
[LLDB] Fix/silence CMake developer warning for LLDB framework.
This fixes the following warning for developers:
  Target 'liblldb' was changed to a FRAMEWORK sometime after install().
This
may result in the wrong install DESTINATION.  Set the FRAMEWORK
property
earlier.
The solution is to pass the FRAMEWORK flag to add_lldb_library and set
the target property before install(). For now liblldb is the only
customer.
The file was modifiedlldb/cmake/modules/AddLLDB.cmake
The file was modifiedlldb/source/API/CMakeLists.txt
Commit db69f1b22951ce49bda8e492ec8e6f60d9721668 by asbirlea
[GlobalsAA] Restrict ModRef result if any internal method has its
address taken.
Summary: If there are any internal methods whose address was taken,
conclude there is nothing known in relation of any other internal method
and a global.
Reviewers: nlopes, sanjoy.google
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69690
The file was addedllvm/test/Analysis/GlobalsModRef/intrinsic_addresstaken.ll
The file was modifiedllvm/include/llvm/Analysis/GlobalsModRef.h
The file was addedllvm/test/Analysis/GlobalsModRef/intrinsic_addressnottaken1.ll
The file was addedllvm/test/Analysis/GlobalsModRef/intrinsic_addressnottaken2.ll
The file was modifiedllvm/lib/Analysis/GlobalsModRef.cpp
Commit 166cdc02818fd7a6653f76216b4f64cb4b21619e by yhs
[BPF] generate BTF_KIND_VARs for all non-static globals
Enable to generate BTF_KIND_VARs for non-static default-section globals
which is not allowed previously. Modified the existing test case to
accommodate the new change.
Also removed unused linkage enum members VAR_GLOBAL_TENTATIVE and
VAR_GLOBAL_EXTERNAL.
Differential Revision: https://reviews.llvm.org/D70145
The file was modifiedllvm/lib/Target/BPF/BTFDebug.cpp
The file was modifiedllvm/test/CodeGen/BPF/BTF/global-var-inited.ll
The file was modifiedllvm/lib/Target/BPF/BTF.h
Commit 9740f9f0b6e5d7d5104027aee7edc9c5202dd052 by rtrieu
Add -Wtautological-compare to -Wall
Some warnings in -Wtautological-compare subgroups are DefaultIgnore.
Adding this group to -Wmost, which is part of -Wall, will aid in their
discoverability.
Differential Revision: https://reviews.llvm.org/D69292
The file was modifiedclang/test/SemaCXX/warn-bitwise-compare.cpp
The file was addedclang/test/Misc/warning-wall.c
The file was modifiedclang/test/Sema/warn-bitwise-compare.c
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/test/Sema/warn-overlap.c
Commit 38c356176b5370164578c1d08e984964354b7189 by saugustine
Fix include guard and properly order __deregister_frame_info.
Summary: This patch fixes two problems with the crtbegin.c as written:
1. In do_init, register_frame_info is not guarded by a #define, but in
do_fini, deregister_frame_info is guarded by #ifndef
CRT_HAS_INITFINI_ARRAY. Thus when CRT_HAS_INITFINI_ARRAY is not defined,
frames are registered but then never deregistered.
The frame registry mechanism builds a linked-list from the .so's static
variable do_init.object, and when the .so is unloaded, this memory
becomes invalid and should be deregistered.
Further, libgcc's crtbegin treats the frame registry as independent from
the initfini array mechanism.
This patch fixes this by adding a new #define,
"EH_USE_FRAME_INFO_REGISTRY", which is set by the cmake option
COMPILER_RT_CRT_USE_EH_FRAME_REGISTRY Currently, do_init calls
register_frame_info, and then calls the binary's constructors. This
allows constructors to safely use libunwind. However, do_fini calls
deregister_frame_info and then calls the binary's destructors. This
prevents destructors from safely using libunwind.
This patch also switches that ordering, so that destructors can safely
use libunwind. As it happens, this is a fairly common scenario for
thread sanitizer.
The file was modifiedcompiler-rt/lib/crt/crtbegin.c
The file was modifiedcompiler-rt/CMakeLists.txt
The file was modifiedcompiler-rt/test/crt/ctor_dtor.c
The file was modifiedcompiler-rt/lib/crt/CMakeLists.txt
Commit 0f04ffc073deeb1738f1d9bd5c8161d13fe42592 by craig.topper
[X86] Only pass v64i8/v32i16 as v16i32 on non-avx512bw targets if the
v16i32 type won't be split by prefer-vector-width=256
Otherwise just let the v64i8/v32i16 types be split to v32i8/v16i16.
In reality this shouldn't happen because it means we have a 512-bit
vector argument, but min-legal-vector-width says a value less than 512.
But a 512-bit argument should have been factored into the preferred
vector width.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 3e1aee2ba717529b651a79ed4fc7e7147358043f by craig.topper
[X86] Don't consider v64i1 as a legal type unless v64i8 is also a legal
type.
This avoids some nasty issues with argument passing and lowering of
arbitrary v64i8 shuffles.
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 7ebde1bf67daa24ea7735f2b2d7000d074e2ba93 by douglas.yung
Add a shim for setenv on PS4 since it does not exist.
A few years back a similar change was made for getenv since neither
function is supported on the PS4 platform.
Recently, commit d889d1e added a call to setenv in compiler-rt which was
causing linking errors because the symbol was not found. This fixes that
issue by putting in a shim similar to how we previously dealt with the
lack of getenv.
Differential Revision: https://reviews.llvm.org/D70033
The file was modifiedcompiler-rt/lib/profile/InstrProfilingUtil.h
Commit 34ca6e1fbef54465d623ffc8d55e824054913509 by Jonas Devlieghere
[LLDB] Remove debug message in AddLLDB.cmake
The file was modifiedlldb/cmake/modules/AddLLDB.cmake
Commit 056c3197694881379cb75a3cb1bd6a511d044714 by Jonas Devlieghere
[LLDB] Only set FRAMEWORK when we're actually building a framework.
The file was modifiedlldb/source/API/CMakeLists.txt
Commit 7a3ad48d6de0e79a92361252a815b894565b9a0f by echristo
Temporarily Revert "Reapply [LVI] Normalize pointer behavior" as it's
broken python 3.6.
Reverting to figure out if it's a problem in python or the compiler for
now.
This reverts commit 885a05f48a5d320946c89590b73a764e5884fe4f.
The file was modifiedllvm/test/Transforms/JumpThreading/combine-metadata.ll
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp
Commit 92611da5bfc5d537e8ed69715f115a989c85769f by asbirlea
Temporarily disable test.
The file was modifiedllvm/test/Analysis/GlobalsModRef/intrinsic_addresstaken.ll
Commit e278c138a937a68f3e6c89df8eaeffa913f9b0f7 by leonardchan
[Sema] Add MacroQualified case for FunctionTypeUnwrapper
This is a fix for PR43315. An assertion error is hit for this minimal
example:
```
//clang -cc1 -triple x86_64-- -S tstVMStructRC-min.cpp int (a b)();  //
Assertion `Chunk.Kind == DeclaratorChunk::Function' failed.
```
This is because we do not cover the case in the FunctionTypeUnwrapper
where it receives a MacroQualifiedType. We have not run into this
earlier because this is a unique case where the __attribute__ contains
both __cdecl__ and
__regparm__ (in that order), and we are compiling for x86_64. Changing
the architecture or the order of __cdecl__ and __regparm__ does not
raise the assertion.
Differential Revision: https://reviews.llvm.org/D67992
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/test/Frontend/macro_defined_type.cpp
Commit 5ad6f279f26cd6ce77e4fa6b8df2b23be73d7beb by richard
Don't assume that the clang binary's resolved name includes the string
'clang'.
This is not true in practice in some content-addressed file systems.
The file was modifiedclang/test/Driver/arm64_32-link.c
Commit 9b958356983afffaf56788f37bdab9213369fa45 by omair.javaid
[LLDB] Add core definition for armv8l and armv7l
This patch adds core definitions in lldb ArchSpecs for armv8l and armv7l
cores.
This was needed because on Linux running on 32-bit Arm v8 we are
returned armv8l in case we are running 32-bit sysroot on 64bit kernel.
In case of 32-bit kernel and 32-bit sysroot running on arm v8 hardware
we are returned armv7l. This is quite common when we run 32 bit arm
using docker container.
Signed-off-by: Muhammad Omair Javaid <omair.javaid@linaro.org>
Differential Revision: https://reviews.llvm.org/D69904
The file was modifiedlldb/source/Utility/ArchSpec.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/make/Makefile.rules
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbplatformutil.py
The file was modifiedlldb/include/lldb/Utility/ArchSpec.h
Commit 793b42a454ac12c2e437be8b8f894289e5e007b3 by asbirlea
[GlobalsAA] Reenable test.
The file was modifiedllvm/test/Analysis/GlobalsModRef/intrinsic_addresstaken.ll
Commit 25c5da5a426168b38fb3e9baa918faa75e4a92b4 by arsenm2
AMDGPU Reduce reported maximum group size to 1024
While some targets allow encoding 2048, this was never tested or
supported.
The file was modifiedllvm/test/CodeGen/AMDGPU/attr-amdgpu-flat-work-group-size-v3.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/attr-amdgpu-flat-work-group-size.ll
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/large-work-group-promote-alloca.ll
Commit 4b472139513ba460595804f8113497844b41fbcc by arsenm2
AMDGPU: Switch backend default max workgroup size to 1024
Previously this would default to 256, not the maximum supported size of
1024. Using a maximum lower than the hardware maximum requires language
runtimes to enforce this limit for correctness, which no language has
correctly done. Switch the default to the conservatively correct
maximum, and force frontends to opt-in to the more optimal 256 default
maximum.
I don't really understand why the changes in occupancy-levels.ll
increased the computed occupancy, which I expected to decrease. I'm not
sure if these tests should be forcing the old maximum.
The file was modifiedllvm/test/CodeGen/AMDGPU/array-ptr-calc-i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/lower-range-metadata-intrinsic-call.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/promote-alloca-addrspacecast.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props-v3.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/private-memory-r600.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/occupancy-levels.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu.private-memory.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-select.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-icmp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-phi.ll
Commit 9d7bccab663f5e71320fb10727abcfa6c2dab046 by arsenm2
AMDGPU: Extend add x, (ext setcc) combine to sub
This is the same as the add case, but inverts the operation type.
This avoids regressions in a future patch.
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/combine-cond-add-sub.ll
Commit bc4bc5aa0d84413e4e3f082dee0d30cf839fb7ea by chmeeedalf
Add 8548 CPU definition and attributes
8548 CPU is GCC's name for the e500v2, so accept this in clang.  The
e500v2 doesn't support lwsync, so define __NO_LWSYNC__ for this as well,
as GCC does.
Differential Revision:  https://reviews.llvm.org/D67787
The file was modifiedclang/test/Misc/target-invalid-cpu-note.c
The file was modifiedclang/lib/Driver/ToolChains/Arch/PPC.cpp
The file was modifiedclang/lib/Basic/Targets/PPC.h
The file was modifiedclang/test/Preprocessor/init.c
The file was modifiedclang/lib/Basic/Targets/PPC.cpp
The file was modifiedclang/test/Driver/clang-translation.c
Commit d8b6b1114307558a5245de3806bb70f53f6f3efe by francesco.petrogalli
[VFABI] Add LLVM internal mangling for vector functions.
Summary: This patch adds a custom ISA for vector functions for internal
use in LLVM. The <isa> token is set to "_LLVM_", and it is not attached
to any specific instruction Vector ISA, or Vector Function ABI.
The ISA is used as a token for handling Vector Function ABI-style
vectorization for those vector functions that are not directly
associated to any existing Vector Function ABI (for example, some of the
vector functions exposed by TargetLibraryInfo). The demangling function
for this ISA in a Vector Function ABI context is set to be the same as
the common one shared between X86 and AArch64.
Reviewers: jdoerfert, sdesmalen, simoll
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70089
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/unittests/Analysis/VectorFunctionABITest.cpp
The file was modifiedllvm/lib/Analysis/VFABIDemangling.cpp
Commit 7ba28644a1eeb554e818644556f98abfc0795b02 by Jonas Devlieghere
[Reproducer] Discard reproducer directory if not generated.
If lldb was run in capture mode, but no reproducer was generated, make
sure we clean up the reproducer directory.
The file was addedlldb/test/Shell/Reproducer/Inputs/Discard.in
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
The file was modifiedlldb/source/Utility/Reproducer.cpp
The file was addedlldb/test/Shell/Reproducer/TestDiscard.test
Commit 7be6ec5fa210620e63148e38fd241e41a40a07be by llvm-project
[GPGPU] Fix regression test after 395124.
Commit 395124 "NVPTX: Don't insert an extra empty line at the end of the
last section" changed the length of the kernel payload. Update the
regression test to the new binary size.
The file was modifiedpolly/test/GPGPU/cuda-managed-memory-simple.ll
Commit a4b7613a49741e7faa284641b0a9830275371a24 by craig.topper
[X86] Remove setOperationAction for FP_TO_SINT v8i16.
This is no longer needed after widening legalization as we custom
legalize v8i8 ourselves.
Added entries to the cost model, but bumped the cost slightly to account
for the truncate shuffle that wasn't costed before.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/X86/fptosi.ll
Commit d384ad6b636d4a8c55ef53d5316d008a05161b1f by joan.lluch
[TargetLowering][DAGCombine][MSP430] Shift Amount Threshold in
DAGCombine (4)
Summary: Replaces
``` unsigned getShiftAmountThreshold(EVT VT)
``` by
``` bool shouldAvoidTransformToShift(EVT VT, unsigned amount)
``` thus giving more flexibility for targets to decide whether
particular shift amounts must be considered expensive or not.
Updates the MSP430 target with a custom implementation.
This continues  D69116, D69120, D69326 and updates them, so all of them
must be committed before this.
Existing tests apply, a few more have been added.
Reviewers: asl, spatel
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70042
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430ISelLowering.h
The file was modifiedllvm/test/CodeGen/MSP430/shift-amount-threshold.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/MSP430/MSP430ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit 1d55c9e59ebf3f3ff572d42da433b2f72f1ce900 by dave
[libcxx testing] Fix -Wtautological-overlap-compare bug
The file was modifiedlibcxx/test/support/container_debug_tests.h
Commit 5b9e4daef06dcfefc786737a32c8bbb5bd0fc5c4 by simon.tatham
[ARM,MVE] Use VMOV.{S8,S16} for sign-extended extractelement.
MVE includes instructions that extract an 8- or 16-bit lane from a
vector and sign-extend it into the output 32-bit GPR. `ARMInstrMVE.td`
already included isel patterns to select those instructions in response
to the `ARMISD::VGETLANEs` selection-DAG node type. But
`ARMISD::VGETLANEs` was never actually generated, because the code that
creates it was conditioned on NEON only.
It's an easy fix to enable the same code for integer MVE, and now IR
that sign-extends the result of an extractelement (whether explicitly or
as part of the function call ABI) will use `vmov.s8` instead of
`vmov.u8` followed by `sxtb`.
Reviewers: SjoerdMeijer, dmgreen, ostannard
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70132
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was addedllvm/test/CodeGen/Thumb2/mve-extractelt.ll
Commit 9a1c243aa5ded10f7b39887b2be073d0bcfbf5c9 by sander.desmalen
[AArch64][SVE] Allocate locals that are scalable vectors.
This patch adds a target interface to set the StackID for a given type,
which allows scalable vectors (e.g. `<vscale x 16 x i8>`) to be assigned
a
'sve-vec' StackID, so it is allocated in the SVE area of the stack
frame.
Reviewers: ostannard, efriedma, rengolin, cameron.mcinally
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D70080
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/sve-alloca-stackid.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/test/CodeGen/AArch64/framelayout-sve.mir
Commit bbb29738b58aaf6f6518269abdcf8f64131665a9 by suc-daniil
[InstCombine] Fold PHIs with equal incoming pointers
In case when all incoming values of a PHI are equal pointers, this
transformation inserts a definition of such a pointer right after
definition of the base pointer and replaces with this value both PHI and
all it's incoming pointers. Primary goal of this transformation is
canonicalization of this pattern in order to enable optimizations that
can't handle PHIs. Non-inbounds pointers aren't currently supported.
Reviewers: spatel, RKSimon, lebedev.ri, apilipenko
Reviewed By: apilipenko
Tags: #llvm
Subscribers: hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D68128
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/test/Transforms/InstCombine/phi-equal-incoming-pointers.ll
Commit 3367686b4d126e8e035c618829c78315f7751dfd by sander.desmalen
[AArch64] Extend storeRegToStackSlot to spill SVE registers.
This patch allows the register allocator to spill SVE registers to the
stack.
Reviewers: ostannard, efriedma, rengolin, cameron.mcinally
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D70082
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
The file was addedllvm/test/CodeGen/AArch64/spillfill-sve.mir
Commit 4fec44cd61517cda16f94067a34982628bda34f7 by david.stenberg
[DebugInfo] Add helper for finding entry value candidates [NFC]
Summary: The conditions that are used to determine if entry values
should be emitted for a parameter are quite many, and will grow slightly
in a follow-up commit, so move those to a helper function, as was
suggested in the code review for D69889.
Reviewers: djtodoro, NikolaPrica
Reviewed By: djtodoro
Subscribers: probinson, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69955
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
Commit 5e646ff53052c5d8694f2da14b9a094202fee729 by david.stenberg
[DebugInfo] Avoid creating entry values for clobbered registers
Summary: Entry values are considered for parameters that have
register-described DBG_VALUEs in the entry block (along with other
conditions).
If a parameter's value has been propagated from the caller to the
callee, then the parameter's DBG_VALUE in the entry block may be
described using a register defined by some instruction, and entry values
should not be emitted for the parameter, which can currently occur. One
such case was seen in the attached test case, in which the second
parameter, which is described by a redefinition of the first parameter's
register, would incorrectly get an entry value using the first
parameter's register. This commit intends to solve such cases by keeping
track of register defines, and ignoring DBG_VALUEs in the entry block
that are described by such registers.
In a RelWithDebInfo build of clang-8, the average size of the set was
27, and in a RelWithDebInfo+ASan build it was 30.
Reviewers: djtodoro, NikolaPrica, aprantl, vsk
Reviewed By: djtodoro, vsk
Subscribers: hiraditya, llvm-commits
Tags: #debug-info, #llvm
Differential Revision: https://reviews.llvm.org/D69889
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
The file was addedllvm/test/DebugInfo/MIR/ARM/dbgcall-site-propagated-value.mir
Commit cba4a27745ab33b828476eff47caf3e1b6e060f5 by suc-daniil
Temporarily revert "[InstCombine] Fold PHIs with equal incoming
pointers"
Revert due to sanitizer-windows buildbot failure.
This reverts commit bbb29738b58aaf6f6518269abdcf8f64131665a9.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
The file was modifiedllvm/test/Transforms/InstCombine/phi-equal-incoming-pointers.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
Commit 2fe674baa3f304b5fa497e71b51ea6315f89c5e0 by sven.vanhaastregt
[OpenCL] Add remaining vector data builtin functions
Add the remaining half (fp16) vector data load and store builtin
functions from the OpenCL C specification.
Patch by Pierre Gondois and Sven van Haastregt.
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit b3853d852629d1a2713cf47a2422c46c0c630f87 by simon
[mips][test] Add Mips CPU tests. NFC
Adding tests check all available CPUs on Mips.
Patch by Miloš Stojanović.
Differential Revision: https://reviews.llvm.org/D70017
The file was addedllvm/test/CodeGen/Mips/cpus.ll
Commit 068db2ed4d1879e100fb12f2a3d75e38b8867b46 by simon
[mips] Show an error if 64-bit target triple provided with 32-bit CPU
When a 64-bit triple is used emit an error if the CPU only supports
32-bit code.
Patch by Miloš Stojanović.
Differential Revision: https://reviews.llvm.org/D70018
The file was modifiedllvm/lib/Target/Mips/MipsSubtarget.cpp
The file was addedllvm/test/CodeGen/Mips/cpus-no-mips64.ll
Commit fed17867cd42c5fa8a7a561637d539fbde6f511f by Mirko.Brkusanin
[Mips] Add rematerialization support for ldi.fmt
Instruction ldi.fmt can be considered cheap enough to avoid spill and
restore of value that it produces since it's loaded from immediate.
Differential Revision: https://reviews.llvm.org/D69898
The file was modifiedllvm/lib/Target/Mips/MipsMSAInstrInfo.td
The file was addedllvm/test/CodeGen/Mips/msa/remat-ldi.ll
Commit 6ea47759008526dc11f5064b266de95c61915581 by hans
Revert 57dd4b0 "[ValueTracking] Allow context-sensitive nullness check
for non-pointers"
This caused miscompiles of Chromium (https://crbug.com/1023818). The
reduced repro is small enough to fit here:
  $ cat /tmp/a.c
unsigned char f(unsigned char *p) {
   unsigned char result = 0;
   for (int shift = 0; shift < 1; ++shift)
     result |= p[0] << (shift * 8);
   return result;
}
$ bin/clang -O2 -S -o - /tmp/a.c | grep -A4 f:
f:                                      # @f
         .cfi_startproc
# %bb.0:                                # %entry
         xorl    %eax, %eax
         retq
That's nicely optimized, but I don't think it's the right result :-)
> Same as D60846 but with a fix for the problem encountered there which
> was a missing context adjustment in the handling of PHI nodes.
>
> The test that caused D60846 to be reverted was added in e15ab8f277c7.
>
> Reviewers: nikic, nlopes, mkazantsev,spatel, dlrobertson, uabelho,
hakzsam
>
> Subscribers: hiraditya, bollu, llvm-commits
>
> Tags: #llvm
>
> Differential Revision: https://reviews.llvm.org/D69571
This reverts commit 57dd4b03e4806bbb4760ab6150940150d884df20.
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/known-non-zero.ll
The file was modifiedllvm/test/Transforms/LICM/hoist-mustexec.ll
The file was modifiedllvm/test/Transforms/InstCombine/known-non-zero.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll
Commit fd9fa9995cdafa526543df466d762a982863a906 by jonathanchesterfield
[libomptarget] Move supporti.h to support.cu
Summary:
[libomptarget] Move supporti.h to support.cu Reimplementation of D69652,
without the unity build and refactors. Will need a clean build of
libomptarget as the cmakelists changed.
Reviewers: ABataev, jdoerfert
Reviewed By: jdoerfert
Subscribers: mgorny, jfb, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D70131
The file was removedopenmp/libomptarget/deviceRTLs/nvptx/src/supporti.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/support.h
The file was addedopenmp/libomptarget/deviceRTLs/nvptx/src/support.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
Commit 4d0e7b628a82fb81f833a6221abfa88f82029ea5 by llvm-dev
[X86][AVX] Add plausible schedule classes to
MASKPAIR/VP2INTERSECT/VDPBF16PS instructions
These are really just placeholders that use approximately the right
resources - once we have CPUs scheduler models that support these
instructions they will need revisiting.
In the meantime this means that all instructions have a class of some
kind., meaning models can be more easily flagged as complete.
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
Commit a12f588ebb1a56bf7028d963fc1bdbd3229f5f5c by simon.tatham
[ARM,MVE] Add intrinsics for contiguous load/stores.
This patch adds the ACLE intrinsics for all the MVE load and store
instructions not already handled by D69791. These ones don't need new IR
intrinsics, because they can be implemented in terms of standard LLVM IR
constructions.
Some of the load and store instructions access less than 128 bits of
memory, sign/zero extending each value to a wider vector lane on load or
truncating it on store. These are represented in IR by a load of a
shorter vector followed by a zext/sext, and conversely, a trunc followed
by a short store. Existing ISel patterns already recognize those
combinations and turn them into the right MVE instructions.
The predicated forms of all these instructions are represented in the
same way, except that the ordinary load/store operation is replaced with
the existing intrinsics @llvm.masked.{load,store}. These are currently
only code-generated as predicated MVE load/store instructions if you
give LLVM the `-enable-arm-maskedldst` option; so I've done that in the
LLVM codegen test. When we make that the default, that option can be
removed.
In the Tablegen backend, I've had to add a handful of extra support
features:
* We need to be able to make clang::Address objects out of a
pointer and an alignment (previously we only needed these when the
user passed us an existing one).
* We can now specify vector types that aren't 128 bits wide (for use
in those intermediate values in IR), the parametrized type system
can make one starting from two existing vector types (using the lane
count of one and the element type of the other).
* I've added support for code generation of pointer casts, and for
specifying LLVM types as operands to IRBuilder operations (for zext
and sext, though I think they'll come in useful again).
* Now not all IR construction operations need to be specified as
Builder.CreateFoo; some don't involve a Builder at all, and one
passes it as a parameter to a tiny static helper function in
CGBuiltin.cpp.
Reviewers: ostannard, MarkMurrayARM, dmgreen
Subscribers: kristof.beyls, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D70088
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/load-store.ll
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/include/clang/Basic/arm_mve_defs.td
The file was modifiedclang/utils/TableGen/MveEmitter.cpp
The file was addedclang/test/CodeGen/arm-mve-intrinsics/load-store.c
Commit a5ce8bd715ad9e1d7dfc150f4eba9d24921ca5ba by luismarques
[RISCV] Fix wrong CFI directives
Summary: Removes CFI CFA directives that could incorrectly propagate
beyond the basic block they were inteded for. Specifically it removes
the epilogue CFI directives. See the branch_and_tail_call test for an
example of the issue. Should fix the stack unwinding issues caused by
the incorrect directives.
Reviewers: asb, lenary, shiva0217 Reviewed By: lenary Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69723
The file was modifiedllvm/test/CodeGen/RISCV/exception-pointer-register.ll
The file was modifiedllvm/test/CodeGen/RISCV/frame-info.ll
The file was modifiedllvm/test/CodeGen/RISCV/large-stack.ll
The file was modifiedllvm/test/CodeGen/RISCV/split-offsets.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/vararg.ll
Commit d90804d26befeda36641fade3edba107682cc5cf by sjoerd.meijer
[ARM][MVE] canTailPredicateLoop
This implements TTI hook 'preferPredicateOverEpilogue' for MVE.  This is
a first version and it operates on single block loops only. With this
change, the vectoriser will now determine if tail-folding scalar
remainder loops is possible/desired, which is the first step to generate
MVE tail-predicated vector loops.
This is disabled by default for now. I.e,, this is depends on option
-disable-mve-tail-predication, which is off by default.
I will follow up on this soon with a patch for the vectoriser to respect
loop hint 'vectorize.predicate.enable'. I.e., with this loop hint set to
Disabled, we don't want to tail-fold and we shouldn't query this TTI
hook, which is done in D70125.
Differential Revision: https://reviews.llvm.org/D69845
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/prefer-tail-loop-folding.ll
Commit 70cc355f2f406a6cc63a8a9f23752f367d078a56 by flo
[InstCombine] Precommit shuffle tests for D70093.
The file was modifiedllvm/test/Transforms/InstCombine/vec_shuffle.ll
Commit c5b56caa322b00e7d31a03523313a7e3bc135bcc by luismarques
Revert "[RISCV] Fix wrong CFI directives"
test/DebugInfo/RISCV/relax-debug-frame.ll wasn't properly updated.
The file was modifiedllvm/test/CodeGen/RISCV/vararg.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/exception-pointer-register.ll
The file was modifiedllvm/test/CodeGen/RISCV/frame-info.ll
The file was modifiedllvm/test/CodeGen/RISCV/large-stack.ll
The file was modifiedllvm/test/CodeGen/RISCV/split-offsets.ll
Commit f7499011ca29bebeda7c9d79d79b290cf0b8b46d by flo
[InstCombine] Avoid moving ops that do restrict undef across shuffles.
I think we have to be a bit more careful when it comes to moving ops
across shuffles, if the op does restrict undef. For example, without
this patch, we would move 'and %v, <0, 0, -1, -1>' over a
'shufflevector %a, undef, <undef, undef, 1, 2>'. As a result, the first
2 lanes of the result are undef after the combine, but they really
should be 0, unless I am missing something.
For ops that do fold to undef on undef operands, the current behavior
should be fine. I've add conservative check OpDoesRestrictUndef, maybe
there's a better existing utility?
Reviewers: spatel, RKSimon, lebedev.ri
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D70093
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/test/Transforms/InstCombine/vec_shuffle.ll
Commit 33e882d5ada0b42323be3277816b0817b8e6baa2 by hokein.wu
[clangd] Add bool return type to Index::refs API.
Summary: Similar to fuzzyFind, the bool indicates whether there are more
xref results.
Reviewers: ilya-biryukov
Reviewed By: ilya-biryukov
Subscribers: merge_guards_bot, MaskRay, jkorous, arphaman, kadircet,
usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70139
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
The file was modifiedclang-tools-extra/clangd/index/MemIndex.h
The file was modifiedclang-tools-extra/clangd/unittests/IndexTests.cpp
The file was modifiedclang-tools-extra/clangd/index/Merge.h
The file was modifiedclang-tools-extra/clangd/index/Index.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/index/Index.h
The file was modifiedclang-tools-extra/clangd/unittests/DexTests.cpp
The file was modifiedclang-tools-extra/clangd/index/MemIndex.cpp
The file was modifiedclang-tools-extra/clangd/index/Merge.cpp
The file was modifiedclang-tools-extra/clangd/index/dex/Dex.cpp
The file was modifiedclang-tools-extra/clangd/index/dex/Dex.h
Commit 16bdcc809c72c639a2888b6b859dca88453e3c28 by kadircet
[clang][Tooling] Filter flags that generate output in SyntaxOnlyAdjuster
Summary: Flags that generate output could result in failures when
creating syntax only actions. This patch introduces initial logic for
filtering out those. The first such flag is "save-temps", which saves
intermediate files(bitcode, assembly, etc.) into a specified directory.
Fixes https://github.com/clangd/clangd/issues/191
Reviewers: hokein
Subscribers: ilya-biryukov, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70173
The file was modifiedclang/lib/Tooling/ArgumentsAdjusters.cpp
The file was modifiedclang/unittests/Tooling/ToolingTest.cpp
Commit d1bd5e476b6baeaaa7b5ad3debf4e4ff9bae295e by llvm-dev
SLPVectorizer - make comparison operators + isInSchedulingRegion const
Fixes cppcheck warnings.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 66f2ed07468f78768528483ab53afdd3c489172d by llvm-dev
PPCReduceCRLogicals - fix static analyzer warnings. NFC - Fix
uninitialized variable warnings. - Fix null dereference warnings.
The file was modifiedllvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
Commit b3be859baa8eb84d1d2a304032c328a54a0d1901 by llvm-dev
Sparc - fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/lib/Target/Sparc/DelaySlotFiller.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/Sparc/LeonPasses.h
Commit 6ebc5089b2d39493adddb3bd94121ada1f43c16c by llvm-dev
Fix uninitialized variable warning. NFCI.
The file was modifiedllvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
Commit 29a5a6eed0fc9e269e3fefdf963e7fd12931568c by llvm-dev
Fix uninitialized variable warning. NFCI.
The file was modifiedllvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
Commit e1670175f2c016e08507939c2cc6ab53857d898c by llvm-dev
Fix uninitialized variable warning. NFCI.
The file was modifiedllvm/lib/Target/SystemZ/SystemZLongBranch.cpp
Commit 86f07e826f4f119fa2c730e3cc3be65f2f898125 by llvm-dev
PowerPC - fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCMachineFunctionInfo.h
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit e84b7a5fe230e42b8e6fe451369874a773bf1867 by llvm-dev
Remove commented out CHECK-NEXT to try and appease
llvm-clang-x86_64-expensive-checks-win buildbot
The file was modifiedllvm/test/Analysis/GlobalsModRef/intrinsic_addresstaken.ll
Commit 1eea3fa063884e36165d122db32228f307793485 by pavel
DWARFDebugLoclists: Add an api to get the location lists of a DWARF unit
Summary: This avoid the need to duplicate the location lists searching
logic in various users. The "inline location list dumping" code (which
is the only user actually updated to handle DWARF v5 location lists)  is
switched to this method. After adding v4 location list support, I'll
switch other users too.
Reviewers: dblaikie, probinson, JDevlieghere, aprantl, SouraVX
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70084
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
Commit 3d6b53980ce4ee855484fc8ae6ac3f99c85e48c3 by spatel
[InstCombine] propagate fast-math-flags (FMF) to select when inverting
fcmp+select
As noted by the FIXME comment, this is not correct based on our current
FMF semantics. We should be propagating FMF from the final value in a
sequence (in this case the
'select'). So the behavior even without this patch is wrong, but we did
not allow FMF on 'select' until recently.
But if we do the correct thing right now in this patch, we'll inevitably
introduce regressions because we have not wired up FMF propagation for
'phi' and 'select' in other passes (like SimplifyCFG) or other places in
InstCombine. I'm not seeing a better incremental way to make progress.
That said, the potential extra damage over the existing wrong behavior
from this patch is very limited. AFAIK, the only way to have different
FMF on IR in the same function is if we have LTO inlined IR from 2
modules that were compiled using different fast-math settings.
As seen in the tests, we may actually see some improvements with this
patch because adding the FMF to the 'select' allows matching to min/max
intrinsics that were previously missed (in the common case, the 'fcmp'
and 'select' should have identical FMF to begin with).
Next steps in the transition:
    Make similar changes in instcombine as needed.
   Enable phi-to-select FMF propagation in SimplifyCFG.
   Remove dependencies on fcmp with FMF.
   Deprecate FMF on fcmp.
Differential Revision: https://reviews.llvm.org/D69720
The file was modifiedllvm/test/Transforms/InstCombine/minmax-fp.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
The file was modifiedllvm/test/Transforms/InstCombine/unordered-fcmp-select.ll
The file was modifiedllvm/test/Transforms/InstCombine/clamp-to-minmax.ll
The file was modifiedllvm/test/Transforms/InstCombine/minmax-fold.ll
Commit e7aab320b1f59e077295318b9a152ed25dabe940 by Vedant Kumar
[profile] Factor out logic for mmap'ing merged profile, NFC
Split out the logic to get the size of a merged profile and to do a
compatibility check. This can be shared with both the continuous+merging
mode implementation, as well as the runtime-allocated counters
implementation planned for Fuchsia.
Lifted out of D69586.
Differential Revision: https://reviews.llvm.org/D70135
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
Commit e5f3760e8c7f859e455a1d487910f25239a84fe7 by matthew.malcomson
Fix comment spelling {addresing -> addressing} (NFC)
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
Commit 4e2ce228ae7954a6499fbb8e4995c13ac8b60f9a by yhs
[BPF] Add preserve_access_index attribute for record definition
This is a resubmission for the previous reverted commit 943436040121
with the same subject. This commit fixed the segfault issue and
addressed additional review comments.
This patch introduced a new bpf specific attribute which can be added to
struct or union definition. For example,
struct s { ... } __attribute__((preserve_access_index));
union u { ... } __attribute__((preserve_access_index)); The goal is to
simplify user codes for cases where preserve access index happens for
certain struct/union, so user does not need to use clang
__builtin_preserve_access_index for every members.
The attribute has no effect if -g is not specified.
When the attribute is specified and -g is specified, any member access
defined by that structure or union, including array subscript access and
inner records, will be preserved through
__builtin_preserve_{array,struct,union}_access_index() IR intrinsics,
which will enable relocation generation in bpf backend.
The following is an example to illustrate the usage:
-bash-4.4$ cat t.c
#define __reloc__ __attribute__((preserve_access_index))
struct s1 {
   int c;
} __reloc__;
  struct s2 {
   union {
     struct s1 b[3];
   };
} __reloc__;
  struct s3 {
   struct s2 a;
} __reloc__;
  int test(struct s3 *arg) {
   return arg->a.b[2].c;
}
-bash-4.4$ clang -target bpf -g -S -O2 t.c
A relocation with access string "0:0:0:0:2:0" will be generated
representing access offset of arg->a.b[2].c.
forward declaration with attribute is also handled properly such that
the attribute is copied and populated in real record definition.
Differential Revision: https://reviews.llvm.org/D69759
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-3.c
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-1.c
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-6.c
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-8.c
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-4.c
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was addedclang/test/Sema/bpf-attr-preserve-access-index.c
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-2.c
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-5.c
The file was addedclang/test/CodeGen/bpf-attr-preserve-access-index-7.c
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
Commit e9bf7a60a03640e46642509947ec0b479efb8e88 by spatel
[SLP] reduce code duplication for min/max vs. other reductions; NFCI
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit f5824799f612d9d3f19470a60533c2872bcc096b by yhs
[BPF] add missing attribute in
pragma-attribute-supported-attributes-list.test
Add the newly supported BPF specific
__attribute__((preserve_access_index) in the
pragma-attribute-supported-attributes-list.test.
The file was modifiedclang/test/Misc/pragma-attribute-supported-attributes-list.test
Commit 8b2b2c08d9945d1613ee2ce8923e0041bbb4c266 by daltenty
Don't set LLVM_NO_DEAD_STRIP on AIX
Summary: when building plugins, as AIX has symbols in it's standard
library that must be garbage collected or we will see link errors.
Export lists will handle this instead on AIX.
Reviewers: stevewan, sfertile, jasonliu, xingxue, DiggerLin
Reviewed By: DiggerLin
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70130
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit 7417cc149beebc2ce90abf2d60ac2b1e9867575c by david.stenberg
Fix typo in DwarfDebug [NFC]
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit 3289352e6bb9d2949c678c625478024bf2a5fbfb by ed.jones
[RISCV] Use compiler-rt if no GCC installation detected
If a GCC installation is not detected, then this attempts to use
compiler-rt and the compiler-rt crtbegin/crtend implementations as a
fallback.
Differential Revision: https://reviews.llvm.org/D68407
The file was modifiedclang/lib/Driver/ToolChains/RISCVToolchain.h
The file was modifiedclang/test/Driver/riscv64-toolchain-extra.c
The file was modifiedclang/lib/Driver/ToolChains/RISCVToolchain.cpp
The file was removedclang/test/Driver/Inputs/basic_riscv64_nogcc_tree/riscv64-unknown-elf/lib/crtbegin.o
The file was modifiedclang/test/Driver/riscv32-toolchain-extra.c
The file was removedclang/test/Driver/Inputs/basic_riscv32_nogcc_tree/riscv32-unknown-elf/lib/crtbegin.o
The file was removedclang/test/Driver/Inputs/basic_riscv64_nogcc_tree/riscv64-unknown-elf/lib/crtend.o
The file was removedclang/test/Driver/Inputs/basic_riscv32_nogcc_tree/riscv32-unknown-elf/lib/crtend.o
Commit 1583158042a7e1f8b4f5194b1db362328e6902f3 by yhs
[BPF] fix clang test failure for bpf-attr-preserve-access-index-4.c
Depending on different cmake configures, clang may generate different IR
name for slot variables. Let us use the regex instead of hard coding the
name. I did the same for other bpf-attr-preserve-access-index tests with
such an approach, but somehow did not do for this one.
The file was modifiedclang/test/CodeGen/bpf-attr-preserve-access-index-4.c
Commit 142cbe73e9fe834e6abaf2d709b4a429ca3a9c44 by spatel
[SLP] improve test readability; NFC
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction.ll
Commit 643ac6c0420b70571ef0fc0f65ab66e736eea225 by Ahmed Bougacha
[AArch64][v8.3a] Add LDRA '[xN]!' alias.
The instruction definition has been retroactively expanded to allow for
an alias for '[xN, 0]!' as '[xN]!'. That wouldn't make sense on LDR, but
does for LDRA.
The file was modifiedllvm/test/MC/AArch64/armv8.3a-signed-pointer.s
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrFormats.td
The file was modifiedllvm/test/MC/Disassembler/AArch64/armv8.3a-signed-pointer.txt
Commit 7313d7d6188a0ea1cebe3aa5ec27d53f4ccc1286 by Ahmed Bougacha
[AArch64][v8.3a] Add missing imp-defs on RETA*.
RETA always implicitly uses LR, unlike RET which merely has an alias
that defaults it to LR. Additionally, RETA implicitly uses SP as well,
which it uses as a discriminator to authenticate LR.
This isn't usually noticeable, because RET_ReallyLR is used in most of
the backend.  However, the post-RA scheduler, if enabled, will cause
miscompiles if the imp-uses are missing.
While there, fix a typo in the lone affected testcase.
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrFormats.td
The file was removedllvm/test/CodeGen/AArch64/branch-target-enforcment.mir
The file was addedllvm/test/CodeGen/AArch64/branch-target-enforcement.mir
Commit 1ca85b3d33a14394c9c11d68a40d038075d7e8ee by francisvm
[llvm-bcanalyzer] Don't dump the contents if -dump is not passed
With all the previous refactorings this slipped through and now we
always dump the contents of the bitcode files, even if -dump is not
passed.
The file was addedllvm/test/Other/bcanalyzer-dump-option.txt
The file was modifiedllvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
Commit 2bf9b9a5a3a4d3817e44d31579a6cd5d67907b2c by michael.hliao
[TTI] Fix cast cost on vector types.
- Only split vector types when both src and dst types are splittable.
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was addedllvm/test/Transforms/LICM/AMDGPU/lit.local.cfg
The file was addedllvm/test/Transforms/LICM/AMDGPU/bitcast.ll
Commit de94cda81bde8556bd847a37b0a1f83eaeceaf5b by qcolombet
[LiveInterval] Allow updating subranges with slightly out-dated IR
During register coalescing, we update the live-intervals on-the-fly. To
do that we are in this strange mode where the live-intervals can be
slightly out-of-sync (more precisely they are forward looking) compared
to what the IR actually represents. This happens because the register
coalescer only updates the IR when it is done with updating the
live-intervals and it has to do it this way because updating the IR
on-the-fly would actually clobber some information on how the
live-ranges that are being updated look like.
This is problematic for updates that rely on the IR to accurately
represents the state of the live-ranges. Right now, we have only one of
those: stripValuesNotDefiningMask. To reconcile this need of out-of-sync
IR, this patch introduces a new argument to
LiveInterval::refineSubRanges that allows the code doing the live range
updates to reason about how the code should look like after the
coalescer will have rewritten the registers. Essentially this captures
how a subregister index with be offseted to match its position in a new
register class.
E.g., let say we want to merge:
   V1.sub1:<2 x s32> = COPY V2.sub3:<4 x s32>
We do that by choosing a class where sub1:<2 x s32> and sub3:<4 x s32>
overlap, i.e., by choosing a class where we can find "offset + 1 == 3".
Put differently we align V2's sub3 with V1's sub1:
   V2: sub0 sub1 sub2 sub3
   V1: <offset>  sub0 sub1
This offset will look like a composed subregidx in the the class:
    V1.(composed sub2 with sub1):<4 x s32> = COPY V2.sub3:<4 x s32>
=>  V1.(composed sub2 with sub1):<4 x s32> = COPY V2.sub3:<4 x s32>
Now if we didn't rewrite the uses and def of V1, all the checks for V1
need to account for this offset to match what the live intervals intend
to capture.
Prior to this patch, we would fail to recognize the uses and def of V1
and would end up with machine verifier errors: No live segment at def.
This could lead to miscompile as we would drop some live-ranges and
thus, miss some interferences.
For this problem to trigger, we need to reach stripValuesNotDefiningMask
while having a mismatch between the IR and the live-ranges (i.e., we
have to apply a subreg offset to the IR.)
This requires the following three conditions: 1. An update of
overlapping subreg lanes: e.g., dsub0 == <ssub0, ssub1> 2. An update
with Tuple registers with a possibility to coalesce the
  subreg index: e.g., v1.dsub_1 == v2.dsub_3 3. Subreg liveness enabled.
looking at the IR to decide what is alive and what is not, i.e., calling
stripValuesNotDefiningMask. coalescer maintains for the live-ranges
information.
None of the targets that currently use subreg liveness (i.e., the
targets that fulfill #3, Hexagon, AMDGPU, PowerPC, and SystemZ IIRC)
expose #1 and and #2, so this patch also artificial enables subreg
liveness for ARM, so that a nice test case can be attached.
The file was addedllvm/test/CodeGen/ARM/regcoal-invalid-subrange-update.mir
The file was modifiedllvm/include/llvm/CodeGen/LiveInterval.h
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.h
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.cpp
The file was modifiedllvm/lib/CodeGen/LiveInterval.cpp
Commit 3216d284491fe43e671415f1b3548d9668fa82ab by simon
[mips] Add tests to check `jal sym+offset`. NFC
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/test/MC/Mips/expansion-jal-sym-pic.s
Commit 14d316228515f54f1136d950094edfdff978cd50 by simon
[mips] Add test to check ELF output for JAL XGOT expansion. NFC
The file was modifiedllvm/test/MC/Mips/expansion-jal-sym-pic.s
Commit 63bbbcde9f623fd54c80e9768dc25b77bccf5f7d by simon
[mips] Reduce number of nested `if` statements. NFC
The file was modifiedllvm/lib/Target/Mips/MipsISelLowering.cpp
Commit 84e83b54bd79734dfac5a74436f4dd80e4a34146 by craig.topper
[TargetLowering] Increase the storage size of NumRegistersForVT to allow
the type break down for v256i1 and other types to be stored correctly
v256i1 on X86 without avx512 breaks down to 256 i8 values when passed
between basic blocks. But the NumRegistersForVT was sized at a byte for
each VT. This results in 256 being stored as 0.
This patch enlarges the type to 16 bits and adds an assert to ensure
that no information is lost when the entry is stored.
Differential Revision: https://reviews.llvm.org/D70138
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
Commit 3dfe4cf982d52603d2edfdede7b47735bd5f0f59 by francisvm
[dsymutil] Add -dump to llvm-bcanalyzer invocations
The file was modifiedllvm/test/tools/dsymutil/X86/remarks-linking-fat-bundle.test
The file was modifiedllvm/test/tools/dsymutil/X86/remarks-linking-bundle.test
Commit ad882774fe4ee9b37ffcf35d86303c265bbc585a by Jonas Devlieghere
[LLDB] Fix a bunch of -Wdocumentation warnings
The file was modifiedlldb/include/lldb/Symbol/Block.h
The file was modifiedlldb/include/lldb/Expression/IRExecutionUnit.h
The file was modifiedlldb/include/lldb/Symbol/LineEntry.h
The file was modifiedlldb/include/lldb/Target/Target.h
The file was modifiedlldb/include/lldb/Host/HostProcess.h
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/include/lldb/Interpreter/Options.h
The file was modifiedlldb/include/lldb/Symbol/LineTable.h
The file was modifiedlldb/include/lldb/Target/TargetList.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRDynamicChecks.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h
The file was modifiedlldb/include/lldb/Expression/FunctionCaller.h
The file was modifiedlldb/include/lldb/Utility/ConstString.h
The file was modifiedlldb/include/lldb/Host/File.h
The file was modifiedlldb/include/lldb/Interpreter/CommandInterpreter.h
The file was modifiedlldb/include/lldb/Expression/UserExpression.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointLocationList.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.h
The file was modifiedlldb/include/lldb/Core/AddressRange.h
The file was modifiedlldb/include/lldb/Breakpoint/Breakpoint.h
The file was modifiedlldb/include/lldb/Expression/DWARFExpression.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
The file was modifiedlldb/include/lldb/Core/Module.h
The file was modifiedlldb/include/lldb/Core/ModuleList.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointSite.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointID.h
The file was modifiedlldb/include/lldb/Breakpoint/Watchpoint.h
The file was modifiedlldb/include/lldb/Symbol/CompileUnit.h
The file was modifiedlldb/include/lldb/Symbol/Function.h
The file was modifiedlldb/include/lldb/Core/SearchFilter.h
The file was modifiedlldb/include/lldb/Target/Platform.h
The file was modifiedlldb/include/lldb/Target/Thread.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was modifiedlldb/include/lldb/Symbol/SymbolContext.h
The file was modifiedlldb/include/lldb/Breakpoint/WatchpointList.h
The file was modifiedlldb/include/lldb/Host/HostInfoBase.h
The file was modifiedlldb/include/lldb/Host/PseudoTerminal.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointList.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolver.h
The file was modifiedlldb/include/lldb/Core/ModuleChild.h
The file was modifiedlldb/include/lldb/Interpreter/CommandObject.h
The file was modifiedlldb/include/lldb/Core/Highlighter.h
The file was modifiedlldb/tools/lldb-vscode/LLDBUtils.h
The file was modifiedlldb/include/lldb/Expression/REPL.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointLocation.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h
The file was modifiedlldb/include/lldb/Symbol/Declaration.h
The file was modifiedlldb/include/lldb/Symbol/ObjectFile.h
The file was modifiedlldb/include/lldb/Target/StackFrame.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointLocationCollection.h
The file was modifiedlldb/include/lldb/Core/Address.h
The file was modifiedlldb/include/lldb/Core/Mangled.h
Commit 597b77fb7ff9419c502a0bfa582688d1e70d0309 by dimitry
Add -disable-builtin option to opt
Summary: The option allows to disable specific target library builtin
functions, instead of -disable-simplify-libcalls, which disables all of
them.
This is a prerequisite for D70143, which fixes PR43081.
Reviewers: xbolva00, spatel, jdoerfert, efriedma
Reviewed By: efriedma
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70193
The file was modifiedllvm/tools/opt/opt.cpp
The file was addedllvm/test/Transforms/InstCombine/disable-builtin.ll
Commit 38bc9559bacf095f4ef5a3845b6033e9d70e588e by martin
[LLD] [COFF] Fix automatically importing data symbols from DLLs with LTO
This broke in 51dcb292cc002, "[lld-link] diagnose undefined symbols
before LTO when possible" (very soon after the 9.0 branch, so luckily
the 9.0 release is unaffected).
The code for loading objects we believe might be needed for autoimport
(loadMinGWAutomaticImports()) does run before the new
reportUnresolvable() function, but it had a condition to only operate on
symbols from regular object files. This condition came from
resolveRemainingUndefines(), but as loadMinGWAutomaticImports() now has
to operate before the LTO, it has to operate on undefineds from LTO
objects as well.
Differential Revision: https://reviews.llvm.org/D70166
The file was addedlld/test/COFF/autoimport-lto.ll
The file was modifiedlld/COFF/SymbolTable.cpp
Commit 52980576ee4a5683aa9a428b76335ed617f142ab by paulhoad
[clang-format] refactor the use of the SMDiagnostics in replacement
warnings
Summary: Review comments in {D69854} recommended a simpler approach of
creating the SMDiagnostics to remove much of the complexity. (thanks
@thakis)
@vlad.tsyrklevich I've rebuilt on both Windows and Linux (running Linux
with Address and Undefined sanitizers) over the clang code base
Reviewers: thakis, klimek, mitchell-stellar, vlad.tsyrklevich
Reviewed By: thakis
Subscribers: cfe-commits, thakis, vlad.tsyrklevich
Tags: #clang-format, #clang
Differential Revision: https://reviews.llvm.org/D69921
The file was modifiedclang/tools/clang-format/ClangFormat.cpp
Commit a3e61946c5bd7bdfab15af76b292e52d6ffa27f7 by spatel
[SLP] fix miscompile on min/max reductions with extra uses (PR43948)
The bug manifests as replacing a reduction operand with an undef value.
The problem appears to be limited to cases where a min/max reduction has
extra uses of the compare operand to the select.
In the general case, we are tracking "ExternallyUsedValues" and an
"IgnoreList" of the reduction operations, but those may not apply to the
final compare+select in a min/max reduction.
For that, we use replaceAllUsesWith (RAUW) to ensure that the new
vectorized reduction values are transferred to all subsequent users.
Differential Revision: https://reviews.llvm.org/D70148
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/used-reduced-op.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/reduction.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit aeaddf926a74814aa4f33050cfc12b19f419f1b0 by richard
Revert "[RISCV] Use compiler-rt if no GCC installation detected"
This change causes test failures for builds configured with
-DCLANG_DEFAULT_RTLIB=compiler-rt.
This reverts commit 3289352e6bb9d2949c678c625478024bf2a5fbfb.
The file was addedclang/test/Driver/Inputs/basic_riscv32_nogcc_tree/riscv32-unknown-elf/lib/crtbegin.o
The file was modifiedclang/lib/Driver/ToolChains/RISCVToolchain.cpp
The file was modifiedclang/test/Driver/riscv32-toolchain-extra.c
The file was addedclang/test/Driver/Inputs/basic_riscv64_nogcc_tree/riscv64-unknown-elf/lib/crtbegin.o
The file was addedclang/test/Driver/Inputs/basic_riscv32_nogcc_tree/riscv32-unknown-elf/lib/crtend.o
The file was modifiedclang/lib/Driver/ToolChains/RISCVToolchain.h
The file was modifiedclang/test/Driver/riscv64-toolchain-extra.c
The file was addedclang/test/Driver/Inputs/basic_riscv64_nogcc_tree/riscv64-unknown-elf/lib/crtend.o
Commit 78586775f7b26813740096024949907848e7ccc1 by Adrian Prantl
Rename ParseTypeFromDWO to ParseTypeFromClangModule (NFC)
Because that is what this function really does. The old name is
misleading.
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
Commit be08af881693f9182a06451a353365d1d59e97dc by spatel
[SimplifyCFG] add test for select with FMF; NFC
The file was modifiedllvm/test/Transforms/SimplifyCFG/HoistCode.ll
Commit d94f63758a6920f139a6eb719b20dd1bbac5484a by marek
libc++ status page: Fix HTML.
The file was modifiedlibcxx/www/cxx2a_status.html
Commit 3f0969daf9d0addc4d41a57b4a10f753f5397a5e by yamauchi
[PGO][PGSO] Temporarily disable the large working set size behavior.
Summary: This temporarily disables the large working set size behavior
in profile guided size optimization due to internal benchmark
regressions.
Reviewers: davidxl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70207
The file was modifiedllvm/lib/Transforms/Utils/SizeOpts.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/SizeOpts.h
Commit 3d30c142e147b772463f99a81b106898a9f04971 by Adrian Prantl
Rename clang-module-related *DWO* functions to *ClangModule* (NFC)
This avoids confusing them with fission-related functionality.
I also moved two accessor functions from DWARFDIE into static functions
in DWARFASTParserClang were their only use is located.
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/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h
Commit fee9067261cc3d4b3a91301d40534a625c71abc1 by craig.topper
[X86] Move all the FP_TO_XINT/XINT_TO_FP setOperationActions into the
same !useSoftFloat block. Qualify all of the Promote actions for these
with !useSoftFloat too. NFCI
The Promote action doesn't apply until LegalizeDAG. By the time we get
there, we would have already softened all the FP operations if
useSoftFloat was true. So there wouldn't be any operation left to
Promote.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 787595b2e78eb202539b284e13cb6da8b5e4d33e by craig.topper
[X86] Fix typo in comment. NFC
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit f7e9d81a8e222f3c9d4f57e0817f19bbb795e5b6 by craig.topper
[X86] Don't set the operation action for i16 SINT_TO_FP to Promote just
because SSE1 is enabled.
Instead do custom promotion in the handler so that we can still allow
i16 to be used with fp80. And f64 without sse2.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/fp-arith.ll
The file was modifiedllvm/test/CodeGen/X86/fp-cvt.ll
Commit 7f9d36e2db05a7e4646972a88f5b6946c2f343e3 by Adrian Prantl
Use cheaper, equivalent predicate. (NFC)
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit 9072f0103b3d54a0db76c881edce03fbe7cb973c by Adrian Prantl
Remove redundant check. (NFC)
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit 8df482e51c5508203af348589391c776ba8112f8 by Jonas Devlieghere
[LLDB] Fix a bunch of -Wdocumentation warnings in ExpressionParser
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.h
Commit 294ef766e8f13818369c22fbad47283c84d87c2f by ditaliano
[RegisterContext] Remove now unneded vestiges.
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm64.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
Commit 95807cb039c96323570e0d16a8cbafbf759f7141 by Jonas Devlieghere
[LLDB] Remove dead code from StreamFile
The file was modifiedlldb/include/lldb/Core/StreamFile.h
The file was modifiedlldb/source/Core/StreamFile.cpp
Commit 9634064cfa1b9bf7b70e1cdf1f4e52a25d6184e7 by Jonas Devlieghere
[LLDB] Fix another set of -Wdocumentation warnings
At this point I'm just fixing issues as I see them pop up locally in
incremental builds.
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/UBSan/UBSanRuntime.cpp
The file was modifiedlldb/include/lldb/Utility/Connection.h
The file was modifiedlldb/include/lldb/Target/Queue.h
Commit 188d92b9470de71532ec58060cd75f913fd68e59 by craig.topper
[X86] Don't treat mxcsr as a register name when parsing MS inline
assembly.
No instruction takes mxcsr as a an operand so we should always treat it
as an identifier name.
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was modifiedclang/test/CodeGen/ms-inline-asm.c
Commit 364d1785a6e3f9b149cef29849e653abe5548cc2 by rnk
Sink MachineFunction private method out of line
This method is private and only called from this file and doesn't need
to be inline. Saves a TargetMachine.h include in MachineFunction.h, a
popular header. The include was introduced in 98603a8153086 despite the
forward decl of LLVMTargetMachine.
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
Commit 33c3e0b96c14e5986fec778625c1e2a37b452956 by Jonas Devlieghere
[LLDB] Implement pure virtual method in MockConnection
I made GetReadObject pure virtual in the base class and forgot to add
the method to the mock class.
The file was modifiedlldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
Commit bfe663ce22db6697459510ae5c139da2197df56c by rnk
Revert a hunk from 9634064cfa1b9bf7b7
This causes errors when building LLDB because the Windows implementation
doesn't implement this method:
C:\src\llvm-project\lldb\source\Plugins\ScriptInterpreter\Python\ScriptInterpreterPython.cpp(915,19):
error: allocating an object of abstract class type
'lldb_private::ConnectionGenericFile'
             new ConnectionGenericFile(read_file, true));
                 ^
C:\src\llvm-project\lldb\include\lldb/Utility/Connection.h(174,28):
note: unimplemented pure virtual method 'GetReadObject' in
'ConnectionGenericFile'
virtual lldb::IOObjectSP GetReadObject() = 0;
                          ^
The file was modifiedlldb/include/lldb/Utility/Connection.h
Commit 8ac053eea20b56f80653191a210682f8bd6fc10d by Jonas Devlieghere
[LLDB] Cleanup the DataEncoder utility. (NFC)
This commit removes unused methods from the DataEncoder class and cleans
up the API by making all the internal methods private.
The file was modifiedlldb/include/lldb/Utility/DataEncoder.h
The file was modifiedlldb/source/Expression/DWARFExpression.cpp
The file was modifiedlldb/source/Utility/DataEncoder.cpp
The file was modifiedlldb/source/Plugins/Platform/Android/AdbClient.cpp
Commit af7d4022c77d851e9569ec3ded6038616a6622d0 by Stanislav.Mekhanoshin
[AMDGPU] Fixed mfma-loop test. NFC.
The file was modifiedllvm/test/CodeGen/AMDGPU/mfma-loop.ll
Commit a36f316390d4bc1bcb0e9de0f55831385ab24099 by rnk
Forward declare Optional<T> in STLExtras.h
WIP stats
The file was modifiedllvm/include/llvm/ADT/StringSwitch.h
The file was modifiedlldb/include/lldb/Utility/UserIDResolver.h
The file was modifiedllvm/include/llvm/Support/Threading.h
The file was modifiedllvm/lib/Support/CrashRecoveryContext.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
The file was modifiedllvm/include/llvm/Support/CachePruning.h
The file was modifiedllvm/include/llvm/Support/Format.h
The file was modifiedllvm/lib/MC/MCInstrAnalysis.cpp
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedllvm/lib/Support/DJB.cpp
The file was modifiedllvm/include/llvm/Support/Error.h
Commit 05da2fe52162c80dfa18aedf70cf73cb11201811 by rnk
Sink all InitializePasses.h includes
This file lists every pass in LLVM, and is included by Pass.h, which is
very popular. Every time we add, remove, or rename a pass in LLVM, it
caused lots of recompilation.
I found this fact by looking at this table, which is sorted by the
number of times a file was changed over the last 100,000 git commits
multiplied by the number of object files that depend on it in the
current checkout:
recompiles    touches affected_files  header
342380        95      3604    llvm/include/llvm/ADT/STLExtras.h
314730        234     1345    llvm/include/llvm/InitializePasses.h
307036        118     2602    llvm/include/llvm/ADT/APInt.h
213049        59      3611    llvm/include/llvm/Support/MathExtras.h
170422        47      3626    llvm/include/llvm/Support/Compiler.h
162225        45      3605    llvm/include/llvm/ADT/Optional.h
158319        63      2513    llvm/include/llvm/ADT/Triple.h
140322        39      3598    llvm/include/llvm/ADT/StringRef.h
137647        59      2333    llvm/include/llvm/Support/Error.h
131619        73      1803    llvm/include/llvm/Support/FileSystem.h
Before this change, touching InitializePasses.h would cause 1345 files
to recompile. After this change, touching it only causes 550 compiles in
an incremental rebuild.
Reviewers: bkramer, asbirlea, bollu, jdoerfert
Differential Revision: https://reviews.llvm.org/D70211
The file was modifiedllvm/lib/CodeGen/MIRNamerPass.cpp
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCExpand.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
The file was modifiedllvm/lib/Transforms/IPO/FunctionAttrs.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SCCP.cpp
The file was modifiedpolly/lib/Analysis/PolyhedralInfo.cpp
The file was modifiedllvm/lib/Transforms/Utils/InstructionNamer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/lib/Transforms/IPO/Internalize.cpp
The file was modifiedllvm/tools/bugpoint/bugpoint.cpp
The file was modifiedllvm/lib/Analysis/DominanceFrontier.cpp
The file was modifiedllvm/lib/CodeGen/MachineOutliner.cpp
The file was modifiedpolly/lib/Transform/MaximalStaticExpansion.cpp
The file was modifiedllvm/lib/Transforms/IPO/IPConstantPropagation.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopSink.cpp
The file was modifiedllvm/lib/Analysis/CFLAndersAliasAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/lib/CodeGen/BreakFalseDeps.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
The file was modifiedllvm/lib/CodeGen/PrologEpilogInserter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNNSAReassign.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
The file was modifiedllvm/lib/CodeGen/XRayInstrumentation.cpp
The file was modifiedllvm/include/llvm/Analysis/LoopAccessAnalysis.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
The file was modifiedllvm/lib/Analysis/MemDepPrinter.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonGenInsert.cpp
The file was modifiedllvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
The file was modifiedllvm/lib/CodeGen/WasmEHPrepare.cpp
The file was modifiedllvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
The file was modifiedllvm/lib/Transforms/Scalar/Scalarizer.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ConditionOptimizer.cpp
The file was modifiedllvm/lib/CodeGen/MachineLICM.cpp
The file was modifiedllvm/lib/Analysis/CFLSteensAliasAnalysis.cpp
The file was modifiedllvm/lib/CodeGen/LiveRegMatrix.cpp
The file was modifiedllvm/lib/Transforms/IPO/ElimAvailExtern.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopVersioning.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonNewValueJump.cpp
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
The file was modifiedllvm/lib/CodeGen/PostRASchedulerList.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNRegBankReassign.cpp
The file was modifiedllvm/lib/Analysis/LoopPass.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnswitch.cpp
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIOptimizeExecMasking.cpp
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
The file was modifiedllvm/lib/Analysis/CallPrinter.cpp
The file was modifiedllvm/include/llvm/CodeGen/ReachingDefAnalysis.h
The file was modifiedllvm/lib/Analysis/PostDominators.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonRDFOpt.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
The file was modifiedllvm/lib/CodeGen/MIRPrintingPass.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
The file was modifiedllvm/lib/Analysis/ModuleSummaryAnalysis.cpp
The file was modifiedllvm/lib/CodeGen/CFGuardLongjmp.cpp
The file was modifiedllvm/include/llvm/Analysis/PostDominators.h
The file was modifiedllvm/lib/CodeGen/PeepholeOptimizer.cpp
The file was modifiedllvm/lib/CodeGen/ProcessImplicitDefs.cpp
The file was modifiedllvm/lib/Transforms/Scalar/FlattenCFGPass.cpp
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCAPElim.cpp
The file was modifiedllvm/lib/Analysis/CostModel.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64PromoteConstant.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
The file was modifiedllvm/lib/CodeGen/SjLjEHPrepare.cpp
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
The file was modifiedllvm/lib/CodeGen/StackProtector.cpp
The file was modifiedllvm/lib/Analysis/LazyBranchProbabilityInfo.cpp
The file was modifiedllvm/lib/Analysis/InstCount.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
The file was modifiedllvm/lib/Transforms/IPO/AlwaysInliner.cpp
The file was modifiedllvm/lib/Analysis/AliasSetTracker.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was modifiedllvm/lib/Analysis/Delinearization.cpp
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
The file was modifiedllvm/lib/Analysis/ScopedNoAliasAA.cpp
The file was modifiedllvm/lib/CodeGen/AtomicExpandPass.cpp
The file was modifiedpolly/lib/Analysis/ScopDetection.cpp
The file was modifiedllvm/include/llvm/Analysis/LoopPass.h
The file was modifiedllvm/include/llvm/CodeGen/StackProtector.h
The file was modifiedllvm/lib/Transforms/Scalar/LoopPredication.cpp
The file was modifiedllvm/lib/Transforms/IPO/PruneEH.cpp
The file was modifiedllvm/lib/Transforms/Utils/LCSSA.cpp
The file was modifiedllvm/include/llvm/Analysis/LoopInfo.h
The file was modifiedllvm/lib/Analysis/OptimizationRemarkEmitter.cpp
The file was modifiedllvm/include/llvm/CodeGen/RegisterUsageInfo.h
The file was modifiedllvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/Localizer.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
The file was modifiedllvm/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
The file was modifiedllvm/lib/Analysis/ModuleDebugInfoPrinter.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MakeGuardsExplicit.cpp
The file was modifiedllvm/lib/Transforms/IPO/StripSymbols.cpp
The file was modifiedllvm/lib/CodeGen/ResetMachineFunctionPass.cpp
The file was modifiedllvm/lib/Transforms/Utils/SymbolRewriter.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
The file was modifiedllvm/lib/CodeGen/RegisterScavenging.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonOptAddrMode.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LowerConstantIntrinsics.cpp
The file was modifiedllvm/lib/Transforms/Scalar/NaryReassociate.cpp
The file was modifiedllvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
The file was modifiedllvm/lib/CodeGen/ShadowStackGCLowering.cpp
The file was modifiedpolly/lib/Analysis/ScopInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
The file was modifiedllvm/lib/CodeGen/MachineFunctionPrinterPass.cpp
The file was modifiedllvm/lib/Transforms/IPO/MergeFunctions.cpp
The file was modifiedllvm/include/llvm/Analysis/IntervalPartition.h
The file was modifiedllvm/lib/Analysis/ProfileSummaryInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/CoroElide.cpp
The file was modifiedllvm/lib/CodeGen/CFIInstrInserter.cpp
The file was modifiedllvm/lib/CodeGen/ExpandReductions.cpp
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SILowerI1Copies.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVTargetMachine.cpp
The file was modifiedllvm/lib/Transforms/IPO/SCCP.cpp
The file was modifiedllvm/lib/Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineLoopInfo.h
The file was modifiedllvm/lib/CodeGen/LowerEmuTLS.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
The file was modifiedllvm/lib/CodeGen/LocalStackSlotAllocation.cpp
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCCTRLoops.cpp
The file was modifiedllvm/lib/IR/Dominators.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
The file was modifiedllvm/lib/Transforms/Scalar/GuardWidening.cpp
The file was modifiedllvm/lib/CodeGen/BranchRelaxation.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/lib/CodeGen/StackMapLivenessAnalysis.cpp
The file was modifiedllvm/lib/IR/SafepointIRVerifier.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonStoreWidening.cpp
The file was modifiedllvm/lib/Analysis/CallGraph.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalSplit.cpp
The file was modifiedllvm/lib/Analysis/MustExecute.cpp
The file was modifiedllvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
The file was modifiedllvm/lib/CodeGen/MachineCombiner.cpp
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp
The file was modifiedllvm/lib/Transforms/IPO/StripDeadPrototypes.cpp
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
The file was modifiedllvm/lib/CodeGen/IndirectBrExpandPass.cpp
The file was modifiedllvm/lib/Analysis/MemDerefPrinter.cpp
The file was modifiedllvm/lib/CodeGen/StackColoring.cpp
The file was modifiedllvm/lib/Transforms/Utils/NameAnonGlobals.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopInstSimplify.cpp
The file was modifiedpolly/lib/Transform/CodePreparation.cpp
The file was modifiedllvm/lib/Transforms/Scalar/InstSimplifyPass.cpp
The file was modifiedllvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
The file was modifiedllvm/tools/llc/llc.cpp
The file was modifiedllvm/lib/CodeGen/SlotIndexes.cpp
The file was modifiedllvm/lib/Analysis/AliasAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
The file was modifiedllvm/lib/CodeGen/DwarfEHPrepare.cpp
The file was modifiedllvm/lib/Transforms/Utils/Mem2Reg.cpp
The file was modifiedllvm/lib/CodeGen/MachineTraceMetrics.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonGenExtract.cpp
The file was modifiedllvm/lib/CodeGen/IfConversion.cpp
The file was modifiedllvm/lib/Target/X86/X86CmovConversion.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedllvm/lib/Transforms/IPO/BlockExtractor.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
The file was modifiedllvm/lib/CodeGen/RegAllocFast.cpp
The file was modifiedllvm/lib/CodeGen/MachineDominanceFrontier.cpp
The file was modifiedllvm/lib/Analysis/RegionPrinter.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
The file was modifiedllvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
The file was modifiedllvm/lib/Transforms/IPO/CrossDSOCFI.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedllvm/lib/CodeGen/PatchableFunction.cpp
The file was modifiedllvm/lib/Analysis/CFGPrinter.cpp
The file was modifiedllvm/lib/Transforms/Coroutines/Coroutines.cpp
The file was modifiedllvm/lib/CodeGen/RenameIndependentSubregs.cpp
The file was modifiedllvm/lib/Analysis/PhiValues.cpp
The file was modifiedllvm/lib/CodeGen/SpillPlacement.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopRotation.cpp
The file was modifiedllvm/include/llvm/Pass.h
The file was modifiedllvm/include/llvm/Transforms/InstCombine/InstCombine.h
The file was modifiedllvm/lib/CodeGen/UnreachableBlockElim.cpp
The file was modifiedllvm/lib/CodeGen/ImplicitNullChecks.cpp
The file was modifiedllvm/lib/Transforms/Scalar/StructurizeCFG.cpp
The file was modifiedllvm/lib/CodeGen/MachineLoopInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/lib/Analysis/AliasAnalysisEvaluator.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LowerGuardIntrinsic.cpp
The file was modifiedllvm/lib/CodeGen/WinEHPrepare.cpp
The file was modifiedllvm/lib/CodeGen/EarlyIfConversion.cpp
The file was modifiedllvm/include/llvm/CodeGen/SlotIndexes.h
The file was modifiedllvm/lib/CodeGen/MIRCanonicalizerPass.cpp
The file was modifiedllvm/lib/Transforms/Scalar/ADCE.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
The file was modifiedllvm/lib/CodeGen/SafeStack.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
The file was modifiedllvm/lib/Analysis/DomPrinter.cpp
The file was modifiedllvm/include/llvm/CodeGen/LiveStacks.h
The file was modifiedllvm/lib/Analysis/IntervalPartition.cpp
The file was modifiedllvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
The file was modifiedllvm/lib/CodeGen/MachineInstrBundle.cpp
The file was modifiedllvm/lib/Transforms/Scalar/GVNSink.cpp
The file was modifiedllvm/lib/CodeGen/ModuloSchedule.cpp
The file was modifiedllvm/lib/IR/IRPrintingPasses.cpp
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedllvm/lib/CodeGen/InterleavedAccessPass.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrOrderFile.cpp
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
The file was modifiedpolly/lib/Transform/ForwardOpTree.cpp
The file was modifiedllvm/lib/CodeGen/MachineDominators.cpp
The file was modifiedllvm/lib/Analysis/GlobalsModRef.cpp
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonConstExtenders.cpp
The file was modifiedllvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
The file was modifiedllvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
The file was modifiedllvm/lib/CodeGen/MachineScheduler.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopInterchange.cpp
The file was modifiedllvm/lib/CodeGen/LiveRangeShrink.cpp
The file was modifiedllvm/lib/Analysis/LegacyDivergenceAnalysis.cpp
The file was modifiedllvm/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp
The file was modifiedpolly/lib/Transform/DeLICM.cpp
The file was modifiedllvm/lib/Transforms/Scalar/DCE.cpp
The file was modifiedllvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
The file was modifiedllvm/lib/Transforms/Utils/StripNonLineTableDebugInfo.cpp
The file was modifiedllvm/include/llvm/Analysis/BranchProbabilityInfo.h
The file was modifiedllvm/lib/CodeGen/MachineCopyPropagation.cpp
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedllvm/lib/Analysis/AssumptionCache.cpp
The file was modifiedllvm/lib/CodeGen/GCRootLowering.cpp
The file was modifiedllvm/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp
The file was modifiedllvm/lib/CodeGen/MachineRegionInfo.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonBitSimplify.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LowerWidenableCondition.cpp
The file was modifiedllvm/lib/CodeGen/DeadMachineInstructionElim.cpp
The file was modifiedllvm/lib/Transforms/Utils/LowerSwitch.cpp
The file was modifiedllvm/lib/CodeGen/BranchFolding.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
The file was modifiedllvm/include/llvm/Analysis/DependenceAnalysis.h
The file was modifiedllvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
The file was modifiedllvm/lib/Transforms/Scalar/Reassociate.cpp
The file was modifiedllvm/lib/Transforms/Scalar/NewGVN.cpp
The file was modifiedllvm/lib/CodeGen/ExpandMemCmp.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/CodeGen/FEntryInserter.cpp
The file was modifiedllvm/lib/CodeGen/HardwareLoops.cpp
The file was modifiedllvm/lib/CodeGen/EdgeBundles.cpp
The file was modifiedllvm/lib/Transforms/Utils/LowerInvoke.cpp
The file was modifiedllvm/include/llvm/Analysis/AliasAnalysis.h
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/lib/Transforms/Scalar/ConstantHoisting.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCMIPeephole.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/Legalizer.cpp
The file was modifiedllvm/lib/Target/Mips/MipsTargetMachine.cpp
The file was modifiedllvm/lib/Transforms/IPO/InlineSimple.cpp
The file was modifiedpolly/lib/CodeGen/CodeGeneration.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInline.cpp
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
The file was modifiedllvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
The file was modifiedllvm/examples/IRTransforms/SimplifyCFG.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
The file was modifiedllvm/lib/Transforms/Scalar/WarnMissedTransforms.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
The file was modifiedllvm/lib/Analysis/DemandedBits.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFormMemoryClauses.cpp
The file was modifiedllvm/lib/Analysis/RegionInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
The file was modifiedllvm/lib/CodeGen/OptimizePHIs.cpp
The file was modifiedllvm/lib/Analysis/MemoryDependenceAnalysis.cpp
The file was modifiedllvm/lib/Transforms/IPO/PartialInlining.cpp
The file was modifiedllvm/lib/Target/X86/X86FloatingPoint.cpp
The file was modifiedllvm/lib/CodeGen/StackSlotColoring.cpp
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
The file was modifiedllvm/lib/Transforms/Scalar/Sink.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
The file was modifiedllvm/lib/Transforms/IPO/LowerTypeTests.cpp
The file was modifiedllvm/lib/Transforms/IPO/ArgumentPromotion.cpp
The file was modifiedllvm/lib/Transforms/Scalar/Float2Int.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachinePipeliner.h
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp
The file was modifiedllvm/lib/Transforms/Utils/MetaRenamer.cpp
The file was modifiedllvm/lib/CodeGen/PostRAHazardRecognizer.cpp
The file was modifiedllvm/lib/Transforms/IPO/BarrierNoopPass.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MergeICmps.cpp
The file was modifiedllvm/lib/CodeGen/FuncletLayout.cpp
The file was modifiedllvm/lib/Analysis/LazyBlockFrequencyInfo.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CSEInfo.h
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LowerAtomic.cpp
The file was modifiedllvm/lib/Target/Mips/MipsPreLegalizerCombiner.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
The file was modifiedpolly/lib/Transform/ScheduleOptimizer.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalDCE.cpp
The file was modifiedllvm/lib/Transforms/IPO/ConstantMerge.cpp
The file was modifiedllvm/lib/Analysis/MemorySSA.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
The file was modifiedllvm/lib/Transforms/Utils/AddDiscriminators.cpp
The file was modifiedllvm/lib/CodeGen/FinalizeISel.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonGenPredicate.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/lib/CodeGen/GCMetadata.cpp
The file was modifiedllvm/lib/Transforms/Scalar/EarlyCSE.cpp
The file was modifiedllvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
The file was modifiedllvm/lib/CodeGen/MachineCSE.cpp
The file was modifiedllvm/tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
The file was modifiedllvm/include/llvm/Analysis/LegacyDivergenceAnalysis.h
The file was modifiedllvm/lib/Analysis/IVUsers.cpp
The file was modifiedllvm/lib/Analysis/Lint.cpp
The file was modifiedllvm/lib/Analysis/LoopInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was modifiedllvm/lib/CodeGen/MachineSink.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
The file was modifiedllvm/lib/Transforms/Utils/CanonicalizeAliases.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopDistribute.cpp
The file was modifiedllvm/include/llvm/CodeGen/LiveVariables.h
The file was modifiedllvm/lib/Transforms/IPO/InferFunctionAttrs.cpp
The file was modifiedllvm/lib/Transforms/Utils/LibCallsShrinkWrap.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopFuse.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonExpandCondsets.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopSimplify.cpp
The file was modifiedllvm/lib/CodeGen/ExpandPostRAPseudos.cpp
The file was modifiedllvm/lib/CodeGen/MachinePostDominators.cpp
The file was modifiedllvm/include/llvm/IR/Dominators.h
The file was modifiedllvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
The file was modifiedllvm/lib/Transforms/Scalar/Reg2Mem.cpp
The file was modifiedllvm/lib/CodeGen/ShrinkWrap.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
The file was modifiedllvm/include/llvm/Analysis/LazyValueInfo.h
The file was modifiedllvm/lib/Transforms/Scalar/DivRemPairs.cpp
The file was modifiedllvm/lib/CodeGen/GlobalMerge.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/lib/Transforms/Scalar/ConstantProp.cpp
The file was modifiedllvm/lib/CodeGen/MachineModuleInfo.cpp
The file was modifiedllvm/lib/Analysis/BlockFrequencyInfo.cpp
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/lib/Transforms/Scalar/GVNHoist.cpp
The file was modifiedllvm/lib/Transforms/Utils/StripGCRelocates.cpp
The file was modifiedllvm/lib/CodeGen/TailDuplication.cpp
The file was modifiedllvm/lib/Transforms/IPO/HotColdSplitting.cpp
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
The file was modifiedllvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
The file was modifiedllvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
The file was modifiedllvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
The file was modifiedllvm/lib/Transforms/IPO/LoopExtractor.cpp
The file was modifiedpolly/lib/Transform/Simplify.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/CSEInfo.cpp
The file was modifiedllvm/lib/Analysis/DependenceAnalysis.cpp
The file was modifiedllvm/lib/Transforms/IPO/CalledValuePropagation.cpp
The file was modifiedllvm/lib/Transforms/Scalar/BDCE.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopRerollPass.cpp
The file was modifiedllvm/lib/Transforms/Utils/PredicateInfo.cpp
Commit 5565d365f2af0f6d17f12ed1a980e6d9415a6607 by rnk
Revert "Forward declare Optional<T> in STLExtras.h"
This reverts commit a36f316390d4bc1bcb0e9de0f55831385ab24099.
I did not intend to push this with the InitializePasses.h change.
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
The file was modifiedllvm/lib/Support/DJB.cpp
The file was modifiedlldb/include/lldb/Utility/UserIDResolver.h
The file was modifiedllvm/include/llvm/Support/Format.h
The file was modifiedllvm/include/llvm/ADT/StringSwitch.h
The file was modifiedllvm/include/llvm/Support/Threading.h
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedllvm/lib/Support/CrashRecoveryContext.cpp
The file was modifiedllvm/include/llvm/Support/CachePruning.h
The file was modifiedllvm/lib/MC/MCInstrAnalysis.cpp
The file was modifiedllvm/include/llvm/Support/Error.h
Commit 80ed7f8397cebd2acc09a062069ae9185eed68d4 by tstellar
[cmake] Remove confusing condition argument from else() NFC
Summary: This makes it look like an elseif and also the variable
referenced in the condition was removed from this function in r366622.
Reviewers: dsanders, beanz, smeenai, compnerd, phosek
Reviewed By: beanz
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70159
The file was modifiedllvm/cmake/modules/LLVM-Config.cmake
Commit 4fa44f989e93661e5496a776882f926db0c369fa by Stanislav.Mekhanoshin
[AMDGPU] Fixed dpp test. NFC.
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.mov.dpp.ll
Commit 1dfede3122eec83b885d788553e3620806d54650 by rnk
Move CodeGenFileType enum to Support/CodeGen.h
Avoids the need to include TargetMachine.h from various places just for
an enum. Various other enums live here, such as the optimization level,
TLS model, etc. Data suggests that this change probably doesn't matter,
but it seems nice to have anyway.
The file was modifiedllvm/lib/CodeGen/ParallelCG.cpp
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
The file was modifiedllvm/include/llvm/LTO/legacy/LTOCodeGenerator.h
The file was modifiedllvm/include/llvm/CodeGen/ParallelCG.h
The file was modifiedllvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst
The file was modifiedllvm/tools/llvm-exegesis/lib/Assembler.cpp
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.inc
The file was modifiedllvm/examples/Kaleidoscope/Chapter8/toy.cpp
The file was modifiedllvm/include/llvm/Target/TargetMachine.h
The file was modifiedllvm/include/llvm/Support/CodeGen.h
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
The file was modifiedpolly/lib/CodeGen/PPCGCodeGeneration.cpp
The file was modifiedllvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
The file was modifiedllvm/lib/Target/TargetMachineC.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/tools/llc/llc.cpp
The file was modifiedllvm/include/llvm/LTO/Config.h
The file was modifiedllvm/tools/gold/gold-plugin.cpp
Commit fa6984a3de81b74bf03325bea71416d8bf483efb by Jonas Devlieghere
[LLDB] Don't install the pretty stack trace handler twice.
I noticed that currently we are printing LLVM's pretty stack trace
twice. The reason is that we're calling PrintStackTraceOnErrorSignal in
addition to InitLLVM, which besides some other useful things, also
register LLVM's pretty stack trace handler.
Differential revision: https://reviews.llvm.org/D70216
The file was modifiedlldb/tools/driver/Driver.cpp
Commit 3306fe10fabbd4d136457f1fc62ded26cd260719 by aheejin
[unittests] Add InitializePasses.h includes
Summary: After D70211, Pass.h does not include InitializePasses.h
anymore, so these files need to include InitializePasses.h directly.
Reviewers: rnk
Subscribers: MatzeB, mehdi_amini, zzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70217
The file was modifiedllvm/unittests/IR/LegacyPassManagerTest.cpp
The file was modifiedllvm/unittests/Analysis/CFGTest.cpp
The file was modifiedllvm/unittests/Analysis/AliasAnalysisTest.cpp
The file was modifiedllvm/unittests/Analysis/UnrollAnalyzerTest.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/GISelMITest.h
The file was modifiedllvm/unittests/CodeGen/TargetOptionsTest.cpp
The file was modifiedllvm/unittests/MI/LiveIntervalTest.cpp
Commit 70ee430c6e45c955051bb6b4437c2d1cad8fecb1 by aheejin
[WebAssembly] -fwasm-exceptions enables reference-types
Summary: This adds `-mreference-types` and `-mno-reference-types` flags
to clang and make `-fwasm-exceptions` enables reference types feature in
clang and the backend.
Reviewers: tlively
Subscribers: dschuff, sbc100, jgravelle-google, sunfish, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69832
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/test/Driver/wasm-toolchain.c
The file was modifiedclang/lib/Driver/ToolChains/WebAssembly.cpp
Commit f95ed69641d5431a3789e7ea5d4f7837eaae18f3 by ruiu
Implement /driver, /driver:wdm and /driver:uponly
This patch implements /driver, /driver:wdm and /driver:uponly as
described in
https://docs.microsoft.com/en-us/cpp/build/reference/driver-windows-nt-kernel-mode-driver?view=vs-2019.
Differential Revision: https://reviews.llvm.org/D70162
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/COFF/Writer.cpp
The file was modifiedlld/COFF/Options.td
The file was modifiedlld/COFF/Config.h
The file was addedlld/test/COFF/driver-opt.s
Commit 000ff301e74b216c23ee60344977b2b6692ac70c by ruiu
Warn on /align if used without /driver
/align is not supposed to be used without /driver, so it makes sense to
warn if only /align is passed. MSVC link.exe warns on this too.
Differential Revision: https://reviews.llvm.org/D70163
The file was modifiedlld/test/COFF/align.s
The file was modifiedlld/COFF/Driver.cpp
Commit 91c5928c3623bb4eaaf6fc9ea031866cb87fe19e by francesco.petrogalli
[ModuleUtils] Clean up header file. [NFC]
Summary: 1. Remove unused forward declaration. 2. Remove unnecessary
`\defgroup` in docygen documentation.
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70218
The file was modifiedllvm/include/llvm/Transforms/Utils/ModuleUtils.h
Commit 5d035c5d8fe6f8a20ba8d1b749f0f91100ae347a by tstellar
[cmake] Prevent building with BUILD_SHARED_LIBS and LLVM_LINK_LLVM_DYLIB
Summary: This doesn't work, so error early if someone tries it.
Reviewers: beanz, smeenai, compnerd, phosek
Reviewed By: beanz
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70160
The file was modifiedllvm/CMakeLists.txt
Commit c2292502d896ee8d9a5d034ffede8f43c5e03b33 by simon
[mips] Use isInt<> call instead of explicit range checking. NFC
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
Commit feee1d58dcd8945c5d121419bb59ce4b1e0d6214 by simon
[mips] Use local variable to escape repetitive calls of `getOpcode`. NFC
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
Commit 3db6783d8a7da05a5949bb18e6c8809306c9d0de by dimitry
Check result of emitStrLen before passing it to CreateGEP
Summary: This fixes PR43081, where the transformation of `strchr(p, 0)
-> p + strlen(p)` can cause a segfault, if `-fno-builtin-strlen` is
used.  In that case, `emitStrLen` returns nullptr, which CreateGEP is
not designed to handle.  Also add the minimized code from the PR as a
test case.
Reviewers: xbolva00, spatel, jdoerfert, efriedma
Reviewed By: efriedma
Subscribers: lebedev.ri, hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D70143
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was addedllvm/test/Transforms/InstCombine/pr43081.ll
Commit e782192d5e6540b0cbb957a6b738d98e24c88ee3 by puyan
[clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more
often.
Unless the test is explicitly testing a driver feature if clang
interface stubs I have changed the tests to use %clang_cc1. This should
make some changes I plan to make to the driver job pipeline cause fewer
test changes and breakages.
The file was modifiedclang/test/InterfaceStubs/class-template-specialization.cpp
The file was modifiedclang/test/InterfaceStubs/trycatch.cpp
The file was modifiedclang/test/InterfaceStubs/indirect-field-decl.cpp
The file was modifiedclang/test/InterfaceStubs/cxx-conversion.cpp
The file was modifiedclang/test/InterfaceStubs/inline.c
The file was modifiedclang/test/InterfaceStubs/object.c
The file was modifiedclang/test/InterfaceStubs/class-template-partial-specialization.cpp
The file was modifiedclang/test/InterfaceStubs/externstatic.c
The file was modifiedclang/test/InterfaceStubs/hidden-class-inheritance.cpp
The file was modifiedclang/test/InterfaceStubs/non-type-template-parm-decl.cpp
The file was modifiedclang/test/InterfaceStubs/driver-test.c
The file was modifiedclang/test/InterfaceStubs/usings.cpp
The file was modifiedclang/test/InterfaceStubs/weak.cpp
The file was modifiedclang/test/InterfaceStubs/template-constexpr.cpp
The file was modifiedclang/test/InterfaceStubs/visibility.cpp
The file was modifiedclang/test/InterfaceStubs/var-template-specialization-decl.cpp
The file was modifiedclang/test/InterfaceStubs/namespace.cpp
The file was modifiedclang/test/InterfaceStubs/virtual.cpp
The file was modifiedclang/test/InterfaceStubs/windows.cpp
The file was modifiedclang/test/InterfaceStubs/template-namespace-function.cpp
The file was modifiedclang/test/InterfaceStubs/template-template-parm-decl.cpp
The file was modifiedclang/test/InterfaceStubs/function-template-specialization.cpp
Commit c72aef999c3359f4305bf99116be604e16844aab by puyan
[clang][IFS][test] Removing -shared, fixing triple:
driver-test.c/windows.cpp.
Removing -shared as it is not used on a lot of targets in order to green
failing bots with this change. Also, tiding up the windows.cpp test as
the triple compile out can look slightly different that what you
specified on a windows bot.
The file was modifiedclang/test/InterfaceStubs/driver-test.c
The file was modifiedclang/test/InterfaceStubs/windows.cpp
Commit 4873319f973ba86c5d1226e87cdc3a7c085451bb by puyan
[clang][IFS][test] Reverting driver-test.c to what it was prior to
e782192d5e6
My mistake. Changes I had in this test were for code changes that are
not landed yet. I am reverting driver-test.c back to what it was
originally.
The file was modifiedclang/test/InterfaceStubs/driver-test.c
Commit f9f30f2ecba520fa1ce33ae7c27c807a0e7199be by omair.javaid
[LLDB] Fix whitespace/tabs mismatch in lldbsuite Makefile.rules
This patch fixes whitespace/tabs mismatch in
lldb/packages/Python/lldbsuite/test/make/Makefile.rules
Legacy make files always used tabs though modern make version can work
with white-spaces I have chosen the legacy just to be safe.
Signed-off-by: Muhammad Omair Javaid <omair.javaid@linaro.org>
Differential Revision: https://reviews.llvm.org/D70154
The file was modifiedlldb/packages/Python/lldbsuite/test/make/Makefile.rules
Commit ea2ba51b0b2f5bc0bea650bf64e5cbd63476563f by Raphael Isemann
[lldb][NFC] Simplify IOHandler constructor/destructor setup
We only need a default constructor because of DISALLOW_COPY_AND_ASSIGN,
but the non-virtual destructor isn't needed.
The file was modifiedlldb/include/lldb/Core/IOHandler.h
Commit eafe0cf5fa8255257bac3923237e62382610e6d6 by pavel
DWARFDebugLoclists: stricter base address handling
Summary: This removes the use of zero as a base address in section-based
dumping. Although this will often be true for (unlinked) object files
with a single compile unit, it is not true in general. This means that
section-based dumping will not be able to resolve entries referencing
the base address (DW_LLE_offset_pair) -- it wasn't able to do that
correctly before either, but now it will be more explicit about it. One
exception to that is if the location list contains an explicit
DW_LLE_base_address entry -- in this case the dumper will pick it up,
and resolve subsequent entries normally.
The patch also removes the fallback to zero in the "inline" dumping in
case the compile unit does not contain a base address.
Reviewers: dblaikie, probinson, JDevlieghere, aprantl, SouraVX
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70115
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loclists.test
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists_multiple.s
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
Commit a2292cc537b561416c21e8d4017715d652c144cc by evgeny
[ThinLTO] Add correctness check for RO/WO variable import
This patch adds an assertion check for exported read/write-only
variables to be also in import list for module. If they aren't we may
face linker errors, because read/write-only variables are internalized
in their source modules. The patch also changes export lists to store
ValueInfo instead of GUID for performance considerations.
Differential revision: https://reviews.llvm.org/D70128
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
The file was modifiedllvm/include/llvm/LTO/LTO.h
The file was modifiedllvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/FunctionImport.h
The file was modifiedllvm/lib/Transforms/Utils/FunctionImportUtils.cpp
Commit e78083929d1a949f21d7d355b3c00a2ed00efabb by anna.welker
[NFC] Fix typo in ARMBaseRegisterInfo
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
Commit 2eb0862ed8a824f0d02c3df6ec4e05175cf8c3f1 by djordje.todorovic
[AArch64][DebugInfo] Fix incorrect call site param value produced by
MOVZXi
This resolves the problem with the truncation of the immediate operand.
Differential Revision: https://reviews.llvm.org/D70168
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was addedllvm/test/DebugInfo/MIR/AArch64/dbgcall-site-interpret-movzxi.mir
Commit a2f6ae9abffcba260c22bb235879f0576bf3b783 by suc-daniil
[InstCombine] Fold PHIs with equal incoming pointers
This is a resubmission of bbb29738b58aaf6f6518269abdcf8f64131665a9 that
was reverted due to clang tests failures. It includes the fix and
additional IR tests for the missed case.
Summary: In case when all incoming values of a PHI are equal pointers,
this transformation inserts a definition of such a pointer right after
definition of the base pointer and replaces with this value both PHI and
all it's incoming pointers. Primary goal of this transformation is
canonicalization of this pattern in order to enable optimizations that
can't handle PHIs. Non-inbounds pointers aren't currently supported.
Reviewers: spatel, RKSimon, lebedev.ri, apilipenko
Reviewed By: apilipenko
Tags: #llvm
Subscribers: hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D68128
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/test/Transforms/InstCombine/phi-equal-incoming-pointers.ll
Commit 8715ffdf1aafbfca7c3d7f1622fe586243f31df1 by Raphael Isemann
[lldb] Fix that trailing backslashes in source lines break the Clang
highlighter
Summary: Clang's raw Lexer doesn't produce any tokens for trailing
backslashes in a line. This doesn't work with LLDB's Clang highlighter
which builds the source code to display from the list of tokens the
Lexer returns. This causes that lines with trailing backslashes are
lacking the backslash and the following newline when rendering source
code in LLDB.
This patch removes the trailing newline from the current line we are
highlighting. This way Clang doesn't drop the backslash token and we
just restore the newline after tokenising.
Fixes rdar://57091487
Reviewers: JDevlieghere, labath
Reviewed By: JDevlieghere, labath
Subscribers: labath, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70177
The file was modifiedlldb/source/Plugins/Language/ClangCommon/ClangHighlighter.cpp
The file was modifiedlldb/unittests/Language/Highlighting/HighlighterTest.cpp
Commit 4c9d0da8382f176a2fb7b97298932a53d22e8627 by suc-daniil
Revert "[InstCombine] Fold PHIs with equal incoming pointers"
This reverts commit a2f6ae9abffcba260c22bb235879f0576bf3b783. It is
reverted due to clang-cmake-armv7-selfhost buildbot failure.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
The file was modifiedllvm/test/Transforms/InstCombine/phi-equal-incoming-pointers.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
Commit e73177ea5fd611026abcbaecc6232eee8d8d2ed8 by kevin.petit
Fix use of add_llvm_tool in projects that build no targets
Projects that set LLVM_TARGETS_TO_BUILD to an empty list can't use
add_llvm_tool (and probably other macros).
Here's the error that this change fixes:
list sub-command REMOVE_ITEM requires two or more arguments.
https://reviews.llvm.org/D70167
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
The file was modifiedllvm/cmake/modules/LLVM-Config.cmake
Commit bcb6829ee625845d841a0f949c60cc2699473cbd by qshanz
[NFC] Add one test for PowerPC to verify the sext_inreg for vector type.
The file was addedllvm/test/CodeGen/PowerPC/sext-vector-inreg.ll
Commit e03a06b348ba49d774aa948f97bce3fac638a797 by diana.picus
Fix typos in docs. NFC
The file was modifiedlldb/docs/resources/contributing.rst
Commit f7848fd8f7b5b58f76ed73d9cabd520024fb5699 by kerry.mclaughlin
[AArch64][SVE] Implement additional floating-point arithmetic intrinsics
Summary: Adds intrinsics for the following:
- ftssel
- fcadd, fcmla
- fmla, fmls, fnmla, fnmls
- fmad, fmsb, fnmad, fnmsb
Reviewers: sdesmalen, huntergr, dancgr, mgudim
Reviewed By: sdesmalen
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl,
cameron.mcinally, cfe-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69707
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrFormats.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Commit cd83d9ff5c9085706338a09fcef0c708955c3d23 by kerry.mclaughlin
[AArch64][SVE] Implement remaining floating-point arithmetic intrinsics
Summary: Adds intrinsics for the following:
- fabs & fneg
- fexpa
- frint[a|i|m|n|p|x|z]
- frecpe, frecps & frecpx
- fsqrt, frsqrte & frsqrts
Reviewers: huntergr, sdesmalen, dancgr, mgudim
Reviewed By: sdesmalen
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl,
cameron.mcinally, cfe-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69800
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
Commit 4787c6e2f31ece229daae8af12070d516ff4b1b4 by Milos.Stojanovic
[mips][NFC] Remove old FIXME comment
This was fixed in rL229595 but this comment was missed.
Differential Revision: https://reviews.llvm.org/D70231
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
Commit 32dfbd131da87c4ff1c6a417001bbbc003697867 by jonathanchesterfield
[libomptarget][nfc] Use cuda variable wrappers from support.h
Summary:
[libomptarget][nfc] Use cuda variable wrappers from support.h
Reimplementation of D69693, after the revert of D69885
Use the wrappers in support.h for cuda builtin variables at all call
sites. Localises use of cuda and removes WARPSIZE==32 assumption in
debug.h.
Reviewers: ABataev, jdoerfert, grokos
Reviewed By: jdoerfert
Subscribers: openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D70186
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/data_sharing.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/libcall.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/debug.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/support.cu
Commit 7e6294c056838683f43670c8390ef13df6657e57 by Raphael Isemann
Modernize llvm::Error handling in ExternalASTMerger
The file was modifiedclang/lib/AST/ExternalASTMerger.cpp
Commit 9b89bda517cf8d43e7127b09f75a54d14d3978bf by chfast
[DAGCombiner] Use TLI field already available. NFC
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 1c247dd028b368875bc36cd2a9ccc7fd90507776 by chfast
[DAGCombiner] Drop redundant DAG method param. NFC
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit cb47b8783017a76c5f2e4b974cfd6b22c9f1d5ff by sjoerd.meijer
[LV] PreferPredicateOverEpilog respecting predicate loop hint
The vectoriser queries TTI->preferPredicateOverEpilogue to determine if
tail-folding is preferred for a loop, but it was not respecting loop
hint
'predicate' that can disable this, which has now been added. This showed
that we were incorrectly initialising loop hint
'vectorize.predicate.enable' with 0
(i.e. FK_Disabled) but this should have been FK_Undefined, which has
been fixed.
Differential Revision: https://reviews.llvm.org/D70125
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/prefer-tail-loop-folding.ll
Commit 5a9547b007090cf9c082ac84490310ee26d8b338 by ibiryukov
[clangd] Simplify the code in Index::refs
Summary: While here, also fix potential UB in MergeIndex.
Thanks Kadir for finding this!
Reviewers: hokein
Reviewed By: hokein
Subscribers: merge_guards_bot, MaskRay, jkorous, arphaman, kadircet,
usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70225
The file was modifiedclang-tools-extra/clangd/index/MemIndex.cpp
The file was modifiedclang-tools-extra/clangd/index/Merge.cpp
The file was modifiedclang-tools-extra/clangd/index/dex/Dex.cpp
Commit f9dd03b135d7c40733bc1eaccde7c690f00be9e2 by kerry.mclaughlin
[AArch64][SVE] Implement floating-point comparison & reduction
intrinsics
Summary: Adds intrinsics for the following:
- fadda & faddv
- fminv, fmaxv, fminnmv & fmaxnmv
- facge & facgt
- fcmp[eq|ge|gt|ne|uo]
Reviewers: sdesmalen, huntergr, dancgr, mgudim
Reviewed By: sdesmalen
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl,
cameron.mcinally, cfe-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69858
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-compares.ll
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-fp-reduce.ll
Commit 8b77a3a0f4ef8c2cda3a0437fe54e2c2ecef1b17 by Louis Dionne
[libc++] [P1612] Add missing feature-test macro __cpp_lib_endian.
Thanks to Marek Kurdej for the patch.
Differential Revision: https://reviews.llvm.org/D70221
The file was modifiedlibcxx/docs/FeatureTestMacroTable.rst
The file was modifiedlibcxx/www/cxx2a_status.html
The file was modifiedlibcxx/utils/generate_feature_test_macro_components.py
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
The file was modifiedlibcxx/include/version
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/bit.version.pass.cpp
Commit 1466335cf4b2854a0be1defcf279fe50772bad6f by Louis Dionne
[libc++][P1872] span should have size_type, not index_type.
Thanks to Marek Kurdej for the patch.
Differential Revision: https://reviews.llvm.org/D70206
The file was modifiedlibcxx/test/std/containers/views/span.sub/last.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.sub/subspan.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.cons/assign.pass.cpp
The file was modifiedlibcxx/www/cxx2a_status.html
The file was modifiedlibcxx/test/std/containers/views/span.iterators/rbegin.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.cons/ptr_len.fail.cpp
The file was modifiedlibcxx/test/std/containers/views/span.elem/op_idx.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.obs/size.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.sub/first.pass.cpp
The file was modifiedlibcxx/include/span
The file was modifiedlibcxx/test/std/containers/views/types.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.cons/ptr_len.pass.cpp
The file was modifiedlibcxx/test/std/containers/views/span.obs/size_bytes.pass.cpp
Commit 9242b994510d9a03e33790168a87161f8577f4e9 by llvm-dev
MSP430 - fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/lib/Target/MSP430/MSP430MachineFunctionInfo.h
The file was modifiedllvm/lib/Target/MSP430/MSP430Subtarget.h
The file was modifiedllvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
Commit 6039e54ce5fdd9df8b7428b43693ce4b0ab1a5ff by llvm-dev
Hexagon - fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/lib/Target/Hexagon/HexagonConstPropagation.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
Commit b5f94adbf389069727ebf2dd15bcb0021cff18b1 by llvm-dev
Fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/lib/Target/ARM/ARMHazardRecognizer.h
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
Commit ba229113a9e740e06ca03208cbcdde5bf24d710a by llvm-dev
SROA - fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
Commit 8c09e472d5b879599dd595a7e23caff75cf9ce50 by llvm-dev
Fix uninitialized variable warning. NFCI.
The file was modifiedllvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
Commit f784ad8ff3f6380e03916fc0245aa9524bf4f102 by llvm-dev
Fix uninitialized variable warning. NFCI.
The file was modifiedllvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
Commit 39c0829a55468854aac92c68d56f211a89537ee8 by llvm-dev
WholeProgramDevirt - fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
Commit edfc94e296f1faa6414ac91b86856b107a0568ac by llvm-dev
GCOVProfiling - fix uninitialized variable warnings + make
getFuncChecksum() const. NFCI.
The file was modifiedllvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
Commit 232cdb3d3018b4bda60a2a62c3b071ad3af8bd35 by Tim Northover
ARM: allow rewriting frame indexes for all prefetch variants.
For some reason we could handle PLD but not PLDW or PLI, but all of them
can potentially refer to the stack region (if weirdly for PLI).
The file was modifiedllvm/test/CodeGen/ARM/prefetch.ll
The file was modifiedllvm/lib/Target/ARM/Thumb2InstrInfo.cpp
Commit a0a38b81ea911f1cd4e400f1ab54dd4930598a7c by emaste
On FreeBSD use AT_EXECPATH from ELF auxiliary vectors for
getExecutablePath
/proc/curproc/file and the KERN_PROC_PATHNAME sysctl may not return the
desired path if there are multiple hardlinks to the file, or if the path
has expired from the namecache.
Reviewed By: theraven
Differential Revision: https://reviews.llvm.org/D70198
The file was modifiedllvm/lib/Support/Unix/Path.inc
Commit 360f661733245ec15be4fc10c413f683c3cdd13f by benny.kra
Revert "[ThinLTO] Add correctness check for RO/WO variable import"
This reverts commit a2292cc537b561416c21e8d4017715d652c144cc. Breaks
clang selfhost w/ThinLTO.
The file was modifiedllvm/include/llvm/LTO/LTO.h
The file was modifiedllvm/include/llvm/Transforms/IPO/FunctionImport.h
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/lib/Transforms/Utils/FunctionImportUtils.cpp
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
Commit ce371ec6d7c3860ffbb887538d19fd1f051c80ed by spatel
[InstCombine] regenerate test CHECKs; NFC
There's a discussion about changing a shufflevector transform in:
https://bugs.llvm.org/show_bug.cgi?id=43958
It would protect against our current undef/poison behavior, and these
are all tests that could be affected.
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-f16c.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-xop.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-pshufb.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-avx2.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-sse.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-vpermil.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-vector-shifts.ll
The file was modifiedllvm/test/Transforms/InstCombine/vec_demanded_elts.ll
The file was modifiedllvm/test/Transforms/InstCombine/X86/x86-avx512.ll
Commit 6e3ecd18847cb5c5bbe41d23428e1aa57ed1b339 by pavel
[lldb] Fix dwo variant of TestLibCxxFunction
The test was failing due to a bug in SymbolFileDWARF::FindFunctions --
the function was searching the main dwarf unit for DW_TAG_subprograms,
but the main unit is empty in case of split dwarf.  The fix is simple --
search the non-skeleton unit instead.
This bug went unnoticed because this function is expensive, and so one
generally avoids calling it.
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Commit 23022b93293676890b2c707616aaa8327f0e3708 by adam.balogh
[Analyzer][NFC] Separate white-box tests for iterator modelling from
iterator checker tests
The recently committed debug.IteratorDebugging checker enables
standalone white-box testing of the modelling of containers and
iterators. For the three checkers based on iterator modelling only
simple tests are needed.
Differential Revision: https://reviews.llvm.org/D70123
The file was addedclang/test/Analysis/iterator-modelling.cpp
The file was modifiedclang/test/Analysis/iterator-range.cpp
The file was modifiedclang/test/Analysis/Inputs/system-header-simulator-cxx.h
The file was modifiedclang/test/Analysis/mismatched-iterator.cpp
The file was modifiedclang/test/Analysis/diagnostics/explicit-suppression.cpp
The file was modifiedclang/test/Analysis/invalidated-iterator.cpp
Commit 058bc4c8d48a1f3644845f4795832391bc5eb9de by Lang Hames
[ADT] Move drop_begin from iterator_range.h into STLExtras.
Summary: drop_begin depends on adl_begin/adl_end, which are defined in
STLExtras.h, but we can't just #include STLExtras.h in iterator_range.h
as that would introduce a circular reference (STLExtras.h already
depends on iterator_range.h). The simplest solution is to move
drop_begin into STLExtras.h, which is a reasonable home for it anyway.
Reviewers: dblaikie
Subscribers: dexonsmith, ributzka, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70189
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedllvm/include/llvm/ADT/iterator_range.h
The file was modifiedllvm/unittests/ADT/IteratorTest.cpp
The file was modifiedllvm/unittests/ADT/STLExtrasTest.cpp
Commit 37abeed8145b5faf02ca9ae3ffedf46b52947f41 by sam.mccall
[clangd] Expose value of enumerators to Hover API. (not UI yet)
Summary: This is part of https://github.com/clangd/clangd/issues/180.
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70209
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
Commit bbcbb10e2d0848b611c51b1ff56c758645c55f3b by sam.mccall
[clangd] Ignore more implicit nodes in computing selection.
Summary: The DeclRefExpr for the callee of overloaded `operator()` and
`operator[]` are assigned the range of the paren/bracket lists in the
AST. These are better thought of as implicit (at least `()` - `[] is
murkier). But there's no bit on Expr for implicit, so just ignore them
on our side.
While here, deal with the case where an implicit stmt (e.g.
implicit-this) is wrapped in an implicit cast. Previously we ignored the
statement but not the cast, and so the cast ended up being selected.
Fixes https://github.com/clangd/clangd/issues/195
Reviewers: kadircet, lh123
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70194
The file was modifiedclang-tools-extra/clangd/Selection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
Commit 1275ab1620b665eb06231ce3c4e5068c97d9b618 by amccarth
Improve VFS compatibility on Windows
Keys in a virtual file system can be in Posix or Windows form or even a
combination of the two.  Many VFS tests (and a few Clang tests) were
XFAILed on Windows because of false negatives when comparing paths.
First, we default CaseSenstive to false on Windows.  This allows drive
letters like "D:" to match "d:".  Windows filesystems are, by default,
case insensitive, so this makes sense even beyond the drive letter.
Second, we allow slashes to match backslashes when they're used as the
root component of a path.
Both of these changes are limited to RedirectingFileSystems, so there's
little chance of affecting other path handling.
These changes allow eleven of the VFS tests to pass on Windows as well
as three other Clang tests, so they have re-enabled.
This solves the majority of PR43272.  Additional VFS test failures will
be fixed in separate patches.
Differential Revision: https://reviews.llvm.org/D69958
The file was modifiedclang/test/VFS/framework-import.m
The file was modifiedclang/test/VFS/implicit-include.c
The file was modifiedclang/test/VFS/include-mixed-real-and-virtual.c
The file was modifiedclang/test/Modules/double-quotes.m
The file was modifiedclang/test/VFS/real-path-found-first.m
The file was modifiedclang/test/VFS/external-names.c
The file was modifiedclang/test/VFS/umbrella-framework-import-skipnonexist.m
The file was modifiedclang/test/Index/index-module-with-vfs.m
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
The file was modifiedclang/test/VFS/include-real-from-virtual.c
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedclang/test/VFS/include.c
The file was modifiedclang/test/VFS/module-import.m
The file was modifiedclang/test/Modules/framework-public-includes-private.m
The file was modifiedclang/test/VFS/relative-path.c
The file was modifiedclang/test/VFS/include-virtual-from-real.c
The file was modifiedclang/test/VFS/incomplete-umbrella.m
Commit c9de002a2cf02b1a00abe5caaa05fd722583218a by scott.linder
[AMDGPU][HIP] Change default DWARF version to 4
Summary: Tooling around DWARF 5 is still not mature enough for this to
be a sane default, and the AMDGPU and HIP toolchains should agree on a
single default.
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, aprantl,
dstuttard, tpr, t-tye, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70191
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.h
The file was addedclang/test/Driver/hip-toolchain-dwarf.hip
The file was modifiedclang/lib/Driver/ToolChains/HIP.h
The file was modifiedclang/test/Driver/amdgpu-toolchain.c
Commit 0e45e60c6f316d095d878aea3c098202b39b5bee by Adrian Prantl
Use ForEachExternalModule in ParseTypeFromClangModule (NFC)
I wanted to further simplify ParseTypeFromClangModule by replacing the
hand-rolled loop with ForEachExternalModule, and then realized that
ForEachExternalModule also had the problem of visiting the same leaf
node an exponential number of times in the worst-case. This adds a set
of searched_symbol_files set to the function as well as the ability to
early-exit from it.
Differential Revision: https://reviews.llvm.org/D70215
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
The file was modifiedlldb/include/lldb/Symbol/CompileUnit.h
The file was modifiedlldb/include/lldb/Symbol/SymbolFile.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/source/Symbol/CompileUnit.cpp
Commit 4229f70d226b381ca82b49c7f66d7e33b73be9fd by Jonas Devlieghere
[LLDB] Make a clear distinction between usage & development docs
This renames the "Goals & Status" section to "Project" and the
"Resources" section to "Development". To better match this layout I've
moved the releases page under "Project".
The file was addedlldb/docs/status/releases.rst
The file was modifiedlldb/docs/.htaccess
The file was modifiedlldb/docs/index.rst
The file was removedlldb/docs/resources/download.rst
Commit 83f5287567bcdf1b5de244229fba4e552b7d0054 by Adrian Prantl
Rename DWO -> Clang module to avoid confusion. (NFC)
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit 0352007fdb3f6ae1eaedbff53e018ad1e364720e by Adrian Prantl
Convert UpdateExternalModuleListIfNeeded to use early exits.
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Commit 268e11f95d331a6268f08bf94ce86d04efbb7baa by Adrian Prantl
Convert condition to early exit (NFC)
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Commit dcb5bd91095fc2a009a777e4d7eefb127f057634 by Adrian Prantl
Fix incorrect comment.
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Commit 399e29ddc600a2d91e08e7029e7dade3581c9820 by a.bataev
[OPENMP]Add assignment operator in UDR test, NFC.
Add assignment operator in the test to check that even if the operator
was declare explicitly, the constructor is called in the user-defined
reduction initializer anyway.
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.cpp
Commit e2369fd197d9ed9916bf78b2c8f6d7b8e0d66691 by rnk
[clang-include-fixer] Skip .rc files when finding symbols
Summary: For some reason CMake includes entries for .rc files, but
find-all-symbols handles them improperly.
See PR43993
Reviewers: sammccall, bkramer
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70196
The file was modifiedclang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
Commit 56ae3e2692ed0381dbdc3c29a199fd047f559037 by kevin.neal
Make the language more consistent since I'm about to commit a content
change next.
The file was modifiedllvm/docs/LangRef.rst
Commit 385572ccfe5048682d76ed3053a9f41ba89d8dd3 by spatel
[InstCombine] remove duplicate code for simplifying a shuffle; NFCI
The transform is already handled by InstSimplify or earlier in
InstCombine, so trying to do it again is not necessary.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
Commit d2b6cc7ff6d8dd56358d63da8738f529ae312a65 by kevin.neal
Document more specifically the rounding for "llvm.round".
Differential Revision: https://reviews.llvm.org/D68810
The file was modifiedllvm/docs/LangRef.rst
Commit cfca818ef7b8a3659c41d741c90b38c69478598a by tstellar
[cmake] Emit an error for -DBUILD_SHARED_LIBS=ON on Windows
Summary: The BUILD_SHARED_LIBS=ON build fails on Windows, so prevent
users from enabling it.
Reviewers: beanz, smeenai, compnerd, phosek
Reviewed By: beanz
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70161
The file was modifiedllvm/CMakeLists.txt
Commit 5fe3f00ae2753d84ad2f9ca7c5a2b56c34344dfb by rnk
Replace wrongly deleted header banner, fix formatting
I reviewed the diff hunks of 05da2fe52162c80dfa that don't contain
'#include' lines, and found two unintended changes. I deleted a header
banner inadvertently while inserting a header, and changed the
indentation of a constructor in an odd way. Add back the banner, and
reformat the constructor.
The file was modifiedllvm/lib/CodeGen/PostRAHazardRecognizer.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Commit 4ee70e00b509fe26bac4196df76dc7c6153f1206 by mitchell
[clang-format] Fixed edge-case with SpacesInSquareBrackets with trailing
bare "&" lambda capture.
Summary: Lambda captures allow for a lone `&` capture, so `&]` needs to
be properly handled.
`int foo = [& ]() {}` is fixed to give `int foo = [ & ]() {}`
Reviewers: MyDeveloperDay
Reviewed by: MyDeveloperDay
Subscribers: cfe-commits
Tags: #clang, #clang-format
Differential Revision: https://reviews.llvm.org/D70249
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit 17bb2d7c803db4cc52ebfb95e627b92eeccf302a by craig.topper
[ExpandReductions] Don't push all intrinsics to the worklist. Just push
reductions.
We were previously pushing all intrinsics used in a function to the
worklist. This is wasteful for memory in a function with a lot of
intrinsics.
We also ask TTI if we should expand every intrinsic, but we only have
expansion support for the reduction intrinsics. This just wastes time
for the non-reduction intrinsics.
This patch only pushes reduction intrinsics into the worklist and skips
other intrinsics.
Differential Revision: https://reviews.llvm.org/D69470
The file was modifiedllvm/lib/CodeGen/ExpandReductions.cpp
Commit c6b09bff5671600f8e764d3847023d0996f328d9 by luismarques
[RISCV] Fix wrong CFI directives
Summary: Removes CFI CFA directives that could incorrectly propagate
beyond the basic block they were inteded for. Specifically it removes
the epilogue CFI directives. See the branch_and_tail_call test for an
example of the issue. Should fix the stack unwinding issues caused by
the incorrect directives.
Reviewers: asb, lenary, shiva0217 Reviewed By: lenary Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69723
The file was modifiedllvm/test/CodeGen/RISCV/frame-info.ll
The file was modifiedllvm/test/CodeGen/RISCV/vararg.ll
The file was modifiedllvm/test/CodeGen/RISCV/large-stack.ll
The file was modifiedllvm/test/CodeGen/RISCV/split-offsets.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/exception-pointer-register.ll
The file was modifiedllvm/test/DebugInfo/RISCV/relax-debug-frame.ll
Commit caa9493da85561c6a2308bf9821fe6d14323b8f5 by serguei.n.dmitriev
[llvm-objcopy][COFF] Add support for extended relocation tables
Summary: This patch adds support for COFF objects with extended
relocation tables to the llvm-objcopy tool.
Reviewers: jhenderson, MaskRay, mstorsjo, alexshap, rupprecht
Reviewed By: mstorsjo
Subscribers: jakehehrlich, abrachet, seiya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70205
The file was addedllvm/test/tools/llvm-objcopy/COFF/Inputs/x86_64-xrelocs.obj.gz
The file was modifiedllvm/test/tools/llvm-objcopy/COFF/add-section.test
The file was modifiedllvm/tools/llvm-objcopy/COFF/Writer.cpp
The file was modifiedllvm/tools/llvm-objcopy/COFF/Reader.cpp
Commit 141bb5f308fa108045400622889a21a12c4ed41c by matthew.voss
Add support for multi-module bitcode files to llvm-dis
Summary: This change allows llvm-dis to disassemble multi-module bitcode
files, including the associated module summary.
Reviewers: tejohnson, pcc, mehdi_amini
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70153
The file was addedllvm/test/Assembler/multi-mod-disassemble.ll
The file was modifiedllvm/test/Bitcode/multi-module.ll
The file was modifiedllvm/tools/llvm-dis/llvm-dis.cpp
The file was addedllvm/test/Assembler/multi-summary-disassemble.ll
The file was modifiedllvm/test/Bitcode/invalid.test
Commit 32d840d29179383a28d59d68fccd74f52f316faf by selliott
[RISCV] Use addi rather than add x0
Summary: The RISC-V backend used to generate `add <reg>, x0, <reg>` in a
few instances. It seems most places no longer generate this sequence.
This is semantically equivalent to `addi <reg>, <reg>, 0`, but the
latter has the advantage of being noted to be the canonical instruction
to be used for moves (which microarchitectures can and should recognise
as such).
The changed testcases use instruction aliases - `mv <reg>, <reg>` is an
alias for `addi <reg>, <reg>, 0`.
Reviewers: luismarques
Reviewed By: luismarques
Subscribers: hiraditya, asb, rbar, johnrusso, simoncook, apazos,
sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng,
edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX,
jocewei, psnobl, benna, Jim, s.egerton, pzheng, sameer.abuasal,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70124
The file was modifiedllvm/test/CodeGen/RISCV/atomic-rmw.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
Commit e85a96ddbfb487aa8c8bc393a7111f0868f9b3a5 by sgundapa
Update lit infra to detect "MemoryWithOrigins' sanitizer build.
Differential Revision: https://reviews.llvm.org/D68399
The file was modifiedllvm/utils/lit/lit/llvm/config.py
Commit 9fcf4f372c7e08b7ee64a202cc09860a17da8152 by sgundapa
[Hexagon] Fix clang driver to parse -mcpu/-mvXX and -march properly.
Before this patch if we pass "-mcpu=hexagonv65 -march=hexagon" in this
order, the driver fails to figure out the correct cpu version. This
patch fixed this issue.
The file was modifiedclang/lib/Driver/ToolChains/Hexagon.cpp
The file was modifiedclang/test/Driver/hexagon-toolchain-elf.c
Commit fdf1ae37cfa8718c9c4f060ad1186a57a36ca3f8 by sgundapa
[Hexagon] Validate the iterators before converting them to mux.
The conditional instructions that are translated to mux instructions are
deleted and the iterators to these deleted instructions are being used
later. This patch fixed this issue.
The file was addedllvm/test/CodeGen/Hexagon/muxii-bug.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonGenMux.cpp
Commit 7c7e368a7ffc33be7c7bbf1d8149803b32b8c0a8 by sgundapa
[Pipeliner] Fix an assertion caused by iterator invalidation.
The file was modifiedllvm/lib/CodeGen/MachinePipeliner.cpp
The file was addedllvm/test/CodeGen/Hexagon/swp-crash-iter.ll
Commit baacd1891851b1ba0bd303e2a75f1d3af324fca6 by paul.robinson
Fix up lit's tests to run in a multi-config build environment.
Differential Revision: https://reviews.llvm.org/D70239
The file was addedllvm/utils/lit/tests/Inputs/lit.cfg
Commit f2e65447b3cb6340883957e033e77095a025ebdc by rupprecht
[lldb][Editline] Support ctrl+left/right arrow word navigation.
Summary: This adds several 5C/5D escape codes that allow moving
forward/backward words similar to bash command line navigation.
On my terminal, `ctrl+v ctrl+<left arrow>` prints `^[[1;5D`. However, it
seems inputrc also maps other escape variants of this to
forward/backward word, so I've included those too. Similar for 5C =
ctrl+right arrow.
Reviewers: JDevlieghere, labath
Reviewed By: JDevlieghere, labath
Subscribers: merge_guards_bot, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70137
The file was modifiedlldb/source/Host/common/Editline.cpp
The file was addedlldb/packages/Python/lldbsuite/test/terminal/TestEditline.py
Commit b2839c442e26ce5c1453f4d081a541fe43d22599 by daniel_l_sanders
[globalisel][irtanslator] The IRTranslator should preserve TBAA
information
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/irtranslator-tbaa.ll
Commit 2c831971bf9670cd4b5b40c06983845eeffc7245 by llvm-project
[GPGPU] Fix #includes.
Adapt for 05da2fe52162 "Sink all InitializePasses.h includes" which
forgot the GPGPU files (presumably because POLLY_ENABLE_GPGPU_CODEGEN is
OFF by default).
The file was modifiedpolly/lib/CodeGen/PPCGCodeGeneration.cpp
The file was modifiedpolly/lib/CodeGen/ManagedMemoryRewrite.cpp
Commit 4d02263af0d504593e6312b44dfa7749181a21e4 by serguei.n.dmitriev
[yaml2obj][COFF] Add support for extended relocation tables
Summary: The tool does not correctly handle COFF sections with extended
relocation tables (with IMAGE_SCN_LNK_NRELOC_OVFL bit set), this patch
fixes this problem.
But I have cheated a bit in the test (to make it smaller) because
extended relocation table is supposed to be used when the number of
relocations exceeds 65534. Otherwise the test size would be pretty big.
Reviewers: jhenderson, MaskRay, mstorsjo
Reviewed By: mstorsjo
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70251
The file was addedllvm/test/tools/yaml2obj/coff-xrelocs.yaml
The file was modifiedllvm/lib/ObjectYAML/COFFEmitter.cpp
Commit 1ee84e5ab2a4b7e79b39d4b5130c749c6a7c08aa by Vedant Kumar
[DebugInfo] Allow spill slots in call site parameter descriptions
Allow call site paramter descriptions to reference spill slots. Spill
slots are not visible to high-level LLVM IR, so they can safely be
referenced during entry value evaluation (as they cannot be clobbered by
some other function).
This gives a 5% increase in the number of call site parameter DIEs in an
LTO x86_64 build of the xnu kernel.
This reverts commit eb4c98ca3d2590bad9f6542afbf3a7824d2b53fa (
[DebugInfo] Exclude memory location values as parameter entry values),
effectively reintroducing the portion of D60716 which dealt with memory
locations (authored by Djordje, Nikola, Ananth, and Ivan).
This partially addresses llvm.org/PR43343. However, not all memory
operands forwarded to callees live in spill slots. In the xnu build, it
may be possible to use an escape analysis to increase the number of call
site parameter by another 15% (more details in PR43343).
Differential Revision: https://reviews.llvm.org/D70254
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
The file was addedllvm/test/DebugInfo/MIR/X86/dbg-call-site-spilled-arg.mir
Commit 3cec2a17de744900401c83aedb442e2acc1f23f8 by craig.topper
[X86] Fix the implementation of __readcr3/__writecr3 to work in 64-bit
mode
We need to use a 64-bit type in 64-bit mode so a 64-bit register will
get used in the generated assembly. I've also changed the constraints to
just use "r" intead of "q". "q" forces to a only an a/b/c/d register in
32-bit mode, but I see no reason that would matter here.
Fixes Nico's note in PR19301 over 4 years ago.
Differential Revision: https://reviews.llvm.org/D70101
The file was modifiedclang/test/Headers/ms-intrin.cpp
The file was modifiedclang/lib/Headers/intrin.h
Commit f7b3ae65c8ac7248afe5be15b83f737a5fe98ae9 by llvm-project
[GPGPU] Fix depricated warning.
setAlignment(unsigned) was deprecated in commit:
0e62011df891d0e7ad904524edf705d07d12d5d4
[Alignment][NFC] Remove dependency on
GlobalObject::setAlignment(unsigned)
The file was modifiedpolly/lib/CodeGen/PPCGCodeGeneration.cpp
Commit e69a7364f233c19f493e50276812fd049466b895 by matthew.voss
[llvm-dis] Fix the disable-output flag
My change in llvmorg-10-init-9872-g141bb5f308f broke this flag.
Thanks to @rsmith for the bug.
The file was modifiedllvm/tools/llvm-dis/llvm-dis.cpp
Commit bfa32573bf2d0ab587f9a5d933ea2144a382cf3c by a.bataev
Revert "Temporarily Revert:"
This reverts commit e511c4b0dff1692c267addf17dce3cebe8f97faa:
    Temporarily Revert:
     "[SLP] Generalization of stores vectorization."
    "[SLP] Fix -Wunused-variable. NFC"
    "[SLP] Vectorize jumbled stores."
after fixing the problem with compile time.
The file was modifiedllvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/ctpop.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/different-vec-widths.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/cttz.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-add.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/ctlz.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr35497.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-mul.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/bitreverse.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-add-ssat.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/shift-ashr.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-sub-usat.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-sub.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-add-usat.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-sub-ssat.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/shift-shl.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/shift-lshr.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/jumbled_store_crash.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-fix.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/stores_vectorize.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/store-jumbled.ll
Commit f24c3352c97b864ae6c9851949497b8f880133f6 by rnk
[COFF] Don't include llvm/LTO/LTO.h in a header
LLVM's LTO header includes all of llvm/IR, which most of the COFF linker
doesn't need.
The file was modifiedlld/COFF/InputFiles.cpp
The file was modifiedlld/COFF/Writer.cpp
The file was modifiedlld/COFF/SymbolTable.cpp
The file was modifiedlld/COFF/MinGW.h
The file was modifiedlld/COFF/InputFiles.h
Commit 4c39f341996cea2fd8619fc14c8c66ab567744fb by Dan Liew
[SanitizerCommon] Print the current value of options when printing out
help.
Summary: Previously it wasn't obvious what the default value of various
sanitizer options were. A very close approximation of the "default
values" for the options are the current value of the options at the time
of printing the help output.
In the case that no other options are provided then the current values
are the default values (apart from `help`).
``` ASAN_OPTIONS=help=1 ./program
```
This patch causes the current option values to be printed when the
`help` output is enabled. The original intention for this patch was to
append
`(Default: <value>)` to an option's help text. However because this is
technically wrong (and misleading) I've opted to append
`(Current Value: <value>)` instead.
When trying to implement a way of displaying the default value of the
options I tried another solution where the default value used in `*.inc`
files were used to create compile time strings that where used when
printing the help output. This solution was not satisfactory for several
reasons:
* Stringifying the default values with the preprocessor did not work
very well in several cases.  Some options contain boolean operators
which no amount of macro expansion can get rid of.
* It was much more invasive than this patch. Every sanitizer had to be
changed.
* The settings of `__<sanitizer>_default_options()` are ignored.
For those reasons I opted for the solution in this patch.
rdar://problem/42567204
Reviewers: kubamracek, yln, kcc, dvyukov, vitalybuka, cryptoad, eugenis,
samsonov
Subscribers: #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D69546
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_flag_parser.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_flags.cpp
The file was modifiedcompiler-rt/test/sanitizer_common/TestCases/options-help.cpp
The file was modifiedcompiler-rt/lib/msan/msan.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_flag_parser.h
Commit dd16b3fe2559789adcdd7d4d0bfe2796897877a3 by yhs
[BPF] Restrict preserve_access_index attribute to C only
This patch is a follow-up for commit 4e2ce228ae79
[BPF] Add preserve_access_index attribute for record definition to
restrict attribute for C only. A new test case is added to check for
this restriction.
Additional code polishing is done based on Aaron Ballman's suggestion in
https://reviews.llvm.org/D69759/new/.
Differential Revision: https://reviews.llvm.org/D70257
The file was addedclang/test/Sema/bpf-attr-preserve-access-index.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
Commit f4f47da530729161a73d71791ada3ab58886b9dd by Jonas Devlieghere
[Reproducer] Enable crash reports for reproducer tests
For some reason the reproducer tests seem really proficient at
uncovering structural issues in LLDB related to how we tear down things,
but of course only on the bots.
The pretty stack trace helps a bit, but what I really want is the crash
reports which contain much more information, such as what other threads
we doing.
Crash reports are automatically suppressed by lit. This patch
(temporarily) disables that for the reproducer tests.
The file was addedlldb/test/Shell/Reproducer/lit.local.cfg
Commit adfad4d7c84657026bc4f96d310c33b9550c4334 by rnk
Forward declare the DWARFCache to avoid including LLVM DWARF details
LLD's DWARF.h header leaks a lot of LLVM DWARF includes that LLD doesn't
need. For Chunks.cpp, I see a compile time decrease of 3.1s to 2.7s.
The file was modifiedlld/COFF/InputFiles.h
The file was modifiedlld/COFF/InputFiles.cpp
The file was modifiedlld/ELF/InputFiles.h
The file was modifiedlld/ELF/InputFiles.cpp
Commit de3fb1ec055d2edf65f4f476eb2e47a1cbe3565a by rnk
[COFF] Avoid CodeView include in header
Most LLD/COFF files don't care about CodeView. Avoid using CodeView
types in InputFiles.h.
The file was modifiedlld/COFF/InputFiles.cpp
The file was modifiedlld/COFF/PDB.cpp
The file was modifiedlld/COFF/InputFiles.h
Commit 3b142bc9ff14869726e4fff27ba6f925aa7b5be4 by Jonas Devlieghere
[LLDB] Fix more -Wdocumentation issues (NFC)
The file was modifiedlldb/include/lldb/Core/Address.h
The file was modifiedlldb/include/lldb/Interpreter/CommandObject.h
The file was modifiedlldb/include/lldb/Expression/UtilityFunction.h
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp
The file was modifiedlldb/include/lldb/Expression/ExpressionParser.h
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointOptions.h
Commit 76ac1660f7671d0707864e551e2e39c98ac02907 by marek
[libc++] [P0920] [P1661] Update status page.
The file was modifiedlibcxx/www/cxx2a_status.html
Commit 4c1a1d3cf97e1ede466e2ad318f2811283ca0fb1 by rnk
Add missing includes needed to prune LLVMContext.h include, NFC
These are a pre-requisite to removing #include "llvm/Support/Options.h"
from LLVMContext.h: https://reviews.llvm.org/D70280
The file was modifiedllvm/lib/LTO/SummaryBasedOptimizations.cpp
The file was modifiedllvm/lib/Transforms/Scalar/StructurizeCFG.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVVMIntrRange.cpp
The file was modifiedllvm/lib/Analysis/LegacyDivergenceAnalysis.cpp
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
The file was modifiedllvm/lib/IR/DIBuilder.cpp
The file was modifiedllvm/lib/Transforms/Utils/Debugify.cpp
The file was modifiedllvm/lib/Analysis/DDG.cpp
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopRotation.cpp
The file was modifiedllvm/lib/CodeGen/WinEHPrepare.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUnroll.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
The file was modifiedllvm/include/llvm/IR/Metadata.h
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedllvm/lib/Transforms/IPO/HotColdSplitting.cpp
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopFuse.cpp
The file was modifiedllvm/lib/Transforms/IPO/CalledValuePropagation.cpp
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/include/llvm/Transforms/Scalar/LoopUnrollPass.h
The file was modifiedllvm/lib/Transforms/Utils/GuardUtils.cpp
The file was modifiedllvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was modifiedllvm/lib/Analysis/LoopCacheAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopPredication.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
The file was modifiedllvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
The file was modifiedllvm/lib/Transforms/Utils/MisExpect.cpp
The file was modifiedllvm/lib/IR/Value.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalDCE.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/PoisonChecking.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
The file was modifiedllvm/include/llvm/Transforms/Scalar/LICM.h
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp
The file was modifiedllvm/include/llvm/Analysis/MemorySSA.h
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
The file was modifiedllvm/lib/Transforms/Scalar/GuardWidening.cpp
The file was modifiedllvm/lib/IR/RemarkStreamer.cpp
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopVersioning.cpp
The file was modifiedpolly/lib/Support/RegisterPasses.cpp
The file was modifiedllvm/lib/Analysis/ProfileSummaryInfo.cpp
The file was modifiedllvm/lib/Analysis/CFGPrinter.cpp
The file was modifiedclang/lib/CodeGen/CodeGenPGO.cpp
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
The file was modifiedllvm/lib/Transforms/Scalar/Float2Int.cpp
The file was modifiedllvm/lib/Analysis/InstructionPrecedenceTracking.cpp
The file was modifiedllvm/include/llvm/Transforms/Vectorize/LoopVectorize.h
The file was modifiedllvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
The file was modifiedllvm/include/llvm/LTO/legacy/LTOCodeGenerator.h
The file was modifiedllvm/lib/CodeGen/HardwareLoops.cpp
The file was modifiedllvm/lib/Transforms/Utils/LCSSA.cpp
The file was modifiedllvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
The file was modifiedllvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
The file was modifiedllvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
Commit 95c770fbfb14b07e1af7c2d427c16745617d9f1f by ditaliano
[Utility] Remove a dead header [PPC64LE_ehframe_Registers.h]
The file was removedlldb/source/Utility/PPC64LE_ehframe_Registers.h
Commit 8723b95cefa4f2a891c2b496dca79f1734cf1d1c by pengfei.wang
[WinEH] Fix the wrong alignment orientation during calculating EH frame.
Summary: This is a bug fix for further issues in PR43585.
Reviewers: rnk, RKSimon, craig.topper, andrew.w.kaylor
Subscribers: hiraditya, llvm-commits, annita.zhang
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70224
The file was modifiedllvm/test/CodeGen/X86/win64-funclet-savexmm.ll
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
Commit a4c76be5068991780342cc5aaac12f8c73050ea1 by francisvm
[InstCombine] Don't use getFirstNonPHI in FoldIntegerTypedPHI
getFirstNonPHI iterates over all the instructions in a block until it
finds a non-PHI.
Then, the loop starts from the beginning of the block and goes through
all the instructions until it reaches the instruction found by
getFirstNonPHI.
Instead of doing that, just stop when a non-PHI is found.
This reduces the compile-time of a test case discussed in
https://reviews.llvm.org/D47023 by 13x.
Not entirely sure how to come up with a test case for this since it's a
compile time issue that would significantly slow down running the tests.
Differential Revision: https://reviews.llvm.org/D70016
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
Commit 3466cebe94ba461b296bb1314e76118cc2823dfb by bruno.cardoso
Add a test to cover structural match for recursive data types
This didn't use to work prior to r370639, now that this is supported add
a testcase to prevent regressions.
rdar://problem/53602368
The file was addedclang/test/Modules/Inputs/rec-types/module.modulemap
The file was addedclang/test/Modules/Inputs/rec-types/a.h
The file was addedclang/test/Modules/Inputs/rec-types/c.h
The file was addedclang/test/Modules/Inputs/rec-types/b.h
The file was addedclang/test/Modules/structural-equivalent-recursive-types.c
Commit bc11830c6a67025186d39fd9de6e49b3b570e2bd by nuta
[llvm-objcopy][MachO] Implement --remove-section
Reviewers: alexshap, rupprecht, jhenderson
Reviewed By: rupprecht, jhenderson
Subscribers: jakehehrlich, abrachet, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66282
The file was addedllvm/test/tools/llvm-objcopy/MachO/remove-section.test
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
The file was modifiedllvm/docs/CommandGuide/llvm-objcopy.rst
Commit 16f38dda292c6e2963e77f722042a9eb5da56d28 by Lang Hames
[ORC] Add a utility to support dumping JIT'd objects to disk for
debugging.
Adds a DumpObjects utility that can be used to dump JIT'd objects to
disk. Instances of DebugObjects may be used by ObjectTransformLayer as
no-op transforms.
This patch also adds an ObjectTransformLayer to LLJIT and an example of
how to use this utility to dump JIT'd objects in LLJIT.
The file was modifiedllvm/examples/LLJITExamples/CMakeLists.txt
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
The file was addedllvm/examples/LLJITExamples/LLJITDumpObjects/LLJITDumpObjects.cpp
The file was addedllvm/examples/LLJITExamples/LLJITDumpObjects/CMakeLists.txt
The file was addedllvm/lib/ExecutionEngine/Orc/DebugUtils.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/CMakeLists.txt
The file was modifiedllvm/lib/ExecutionEngine/Orc/ObjectTransformLayer.cpp
The file was addedllvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/CompileUtils.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
Commit 2a42cfde23d76d869296200f2fd1b1522263a6b7 by llvmgnsyncbot
gn build: Merge 16f38dda292
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/Orc/BUILD.gn
Commit 39af72378dd0481472e267ed7f15da594de0fee3 by dave
Unbreak the clang test suite when hexagon-link is not available
All of the other tests are of the form {{hexagon-link|ld}} so this
probably should be too.
The file was modifiedclang/test/Driver/hexagon-toolchain-elf.c
Commit bc276c6379fd0a7bca78d53026e346ea0c8b7cff by arsenm2
GlobalISel: Lower s1 source G_SITOFP/G_UITOFP
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sitofp.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-sitofp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-uitofp.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-uitofp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-uitofp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sitofp.mir
Commit 69fcfb7d3597e0cdb5554b4e672e9032b411b167 by arsenm2
AMDGPU: Try to commute sub of boolean ext
Avoids another regression in a future patch.
The file was modifiedllvm/test/CodeGen/AMDGPU/combine-cond-add-sub.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit 31479d868e2ace47021324c387d0460cfa737296 by arsenm2
AMDGPU: Change boolean content type to 0 or 1
The usage of target boolean checks is overly inflexible, since sext and
zext of a compare are equally cheap. The choice is arbitrary, but using
0/1 to some degree is the choice of lower resistance since that's what
most targets use. This enables a few combines that don't bother to
support ZeroOrNegativeOneBooleanContent.
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgcn.private-memory.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.if.break.i64.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.if.break.i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/combine-cond-add-sub.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.cpp
Commit 04dcb8009f06268a3b92a5afa3ea8f31c1399960 by hans
GCC 5.3 build fix
It was failing with
  llvm/lib/ExecutionEngine/Orc/DebugUtils.cpp:56:10:
error: could not convert ‘Obj’ from
‘std::unique_ptr<llvm::MemoryBuffer>’
to ‘llvm::Expected<std::unique_ptr<llvm::MemoryBuffer> >’
    return Obj;
           ^
The file was modifiedllvm/lib/ExecutionEngine/Orc/DebugUtils.cpp
Commit c42e3851356724e1df15f785ae29a2d4b4e4b289 by hans
Fix GCC -Wcast-qual warnings
The file was modifiedllvm/lib/ExecutionEngine/Orc/DebugUtils.cpp
Commit 87054ec07bd57719b9f66bf0548d7ac8019799f5 by sam.mccall
[AST] Use written names instead of `type-param-0-0` in more cases when
printing types and decls.
Summary: This doesn't cover decls in diagnostics, which use
NamedDecl::getNameForDiagnostic().
(That should also be fixed later I think).
This covers some cases of https://github.com/clangd/clangd/issues/76
(hover, but not outline or sighelp)
Reviewers: hokein
Subscribers: ilya-biryukov, jkorous, arphaman, kadircet, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70236
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang/lib/AST/DeclPrinter.cpp
The file was modifiedclang/test/Index/print-display-names.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang/unittests/AST/DeclPrinterTest.cpp
Commit 902e84556a51c70d95088aaa059ab9c494ab3516 by simon.tatham
[ARM,MVE] Add intrinsics for 'administrative' vector operations.
This batch of intrinsics includes lots of things that move vector data
around or change its type without really affecting its value very much.
It includes the `vreinterpretq` family (cast one vector type to
another); `vuninitializedq` (create a vector of a given type with
don't-care contents); and `vcreateq` (make a 128-bit vector out of two
`uint64_t` halves).
These are all implemented using completely standard IR that's already
tested in existing LLVM unit tests, so I've just written a clang test to
check the IR is correct, and left it at that.
I've also added some richer infrastructure to the MveEmitter Tablegen
backend, to make it specify the exact integer type of integer arguments
passed to IR construction functions, and wrap those arguments in a
`static_cast` in the autogenerated C++. That was necessary to prevent an
overloading ambiguity when passing the integer literal `0` to
`IRBuilder::CreateInsertElement`, because otherwise, it could mean
either a null pointer `llvm::Value *` or a zero `uint64_t`.
Reviewers: ostannard, MarkMurrayARM, dmgreen
Subscribers: kristof.beyls, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70133
The file was modifiedclang/include/clang/Basic/arm_mve_defs.td
The file was addedclang/test/CodeGen/arm-mve-intrinsics/admin.c
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was modifiedclang/utils/TableGen/MveEmitter.cpp
Commit 9e37892773c0954a15f84b011223da1e707ab3bf by simon.tatham
[ARM,MVE] Add intrinsics for vector get/set lane.
This adds the `vgetq_lane` and `vsetq_lane` families, to copy between a
scalar and a specified lane of a vector.
One of the new `vgetq_lane` intrinsics returns a `float16_t`, which
causes a compile error if `%clang_cc1` doesn't get the option
`-fallow-half-arguments-and-returns`. The driver passes that option to
cc1 already, but I've had to edit all the explicit cc1 command lines in
the existing MVE intrinsics tests.
A couple of fixes are included for the code I wrote up front in
MveEmitter to support lane-index immediates (and which nothing has
tested until now): the type was wrong (`uint32_t` instead of `int`) and
the range was off by one.
I've also added a method of bypassing the default promotion to `i32`
that is done by the MveEmitter code generation: it's sensible to promote
short scalars like `i16` to `i32` if they're going to be passed to
custom IR intrinsics representing a machine instruction operating on
GPRs, but not if they're going to be passed to standard IR operations
like `insertelement` which expect the exact type.
Reviewers: ostannard, MarkMurrayARM, dmgreen
Reviewed By: dmgreen
Subscribers: kristof.beyls, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70188
The file was modifiedclang/include/clang/Basic/arm_mve_defs.td
The file was addedclang/test/CodeGen/arm-mve-intrinsics/get-set-lane.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vldr.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/scalar-shifts.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vaddq.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/load-store.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vld24.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vadc.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vcvt.c
The file was modifiedclang/utils/TableGen/MveEmitter.cpp
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vminvq.c
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was modifiedclang/test/Sema/arm-mve-immediates.c
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/scatter-gather.c
Commit 1643734741d2f2957206774a50960ba335a36a0c by djordje.todorovic
[clang] Remove the DIFlagArgumentNotModified debug info flag
It turns out that the ExprMutationAnalyzer can be very slow when AST
gets huge in some cases. The idea is to move this analysis to the LLVM
back-end level (more precisely, in the LiveDebugValues pass). The new
approach will remove the performance regression, simplify the
implementation and give us front-end independent implementation.
Differential Revision: https://reviews.llvm.org/D68206
The file was modifiedclang/lib/CodeGen/CGDebugInfo.h
The file was removedclang/test/CodeGen/debug-info-param-modification.c
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit 1587c7e86f1c58e3f692f0a418e5df6aeb754bb0 by mikael.holmen
[Scalarizer] Treat values from unreachable blocks as undef
Summary: When scalarizing PHI nodes we might try to examine/rewrite
InsertElement nodes in predecessors. If those predecessors are
unreachable from entry, then the IR in those blocks could have
unexpected properties resulting in infinite loops in
Scatterer::operator[]. By simply treating values originating from
instructions in unreachable blocks as undef we do not need to analyse
them further.
This fixes PR41723.
Reviewers: bjope
Reviewed By: bjope
Subscribers: bjope, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70171
The file was modifiedllvm/lib/Transforms/Scalar/Scalarizer.cpp
The file was addedllvm/test/Transforms/Scalarizer/phi-unreachable-pred.ll
Commit dda8e9554071164c85ac7b8b14bc5349703deaab by petar.avramovic
[MIPS GlobalISel] Select addiu
Introduce IntImmLeaf version of PatLeaf immSExt16 for 32-bit immediates.
Change immSExt16 with imm32SExt16 for addiu. This keeps same behavior
for SDAG and allows for GlobalISel selectImpl to select 'G_CONSTANT imm'
+ G_ADD into ADDIu when 32-bit imm satisfies imm32SExt16 predicate: sign
extending 16 low bits of imm is equal to imm.
Differential Revision: https://reviews.llvm.org/D70184
The file was modifiedllvm/lib/Target/Mips/MipsInstrInfo.td
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/add.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/add.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/dyn_stackalloc.ll
Commit 1f559353a7821769c94f03b00cc9c2f65f982d42 by petar.avramovic
[MIPS GlobalISel] Select andi, ori and xori
Introduce IntImmLeaf version of PatLeaf immZExt16 for 32-bit immediates.
Change immZExt16 with imm32ZExt16 for andi, ori and xori. This keeps
same behavior for SDAG and allows for GlobalISel selectImpl to select
'G_CONSTANT imm' + G_AND, G_OR, G_XOR into ANDi, ORi, XORi,
respectively, when 32-bit imm satisfies imm32ZExt16 predicate: zero
extending 16 low bits of imm is equal to imm. Large number of test
changes comes from zero extending of small types which is transformed
into 'and' with bitmask in legalizer.
Differential Revision:https://reviews.llvm.org/D70185
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/fptosi_and_fptoui.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/jump_table_and_brjt.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/mul.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/phi.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/sub.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/bitwise.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/sitofp_and_uitofp.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/add.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/mul.ll
The file was modifiedllvm/lib/Target/Mips/MipsInstrInfo.td
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/icmp.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/constants.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/long_ambiguous_chain_s32.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/phi.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/long_ambiguous_chain_s64.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/branch.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/select.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/truncStore_and_aExtLoad.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/bitwise.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/branch.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/jump_table_and_brjt.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/test_TypeInfoforMF.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/select.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/rem_and_div.ll
Commit 71327707b056c1de28fb0b2c2046740ce1e5cb0d by sjoerd.meijer
[ARM][MVE] tail-predication
This is a follow up of d90804d, to also flag fmcp instructions as
instructions that we do not support in tail-predicated vector loops.
Differential Revision: https://reviews.llvm.org/D70295
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/prefer-tail-loop-folding.ll
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
Commit 41d6ad6efddadbb905bd14c53c2731b75f30cca7 by djordje.todorovic
Revert "[clang] Remove the DIFlagArgumentNotModified debug info flag"
This reverts commit rG1643734741d2 due to LLDB test failure.
The file was addedclang/test/CodeGen/debug-info-param-modification.c
The file was modifiedclang/lib/CodeGen/CGDebugInfo.h
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit c953e061b410163bc54771f186176a92aac04008 by jay.foad
[CodeGen] Increase the size of a SmallVector
The SmallVector reserve() call in
MachineInstrExpressionTrait::getHashValue accounted for over 3% of all
calls to malloc() when I compiled a bunch of graphics shaders for the
AMDGPU target. Its initial size was only enough for machine instructions
with up to 7 operands, but for AMDGPU 8 and 10 operands are very common.
Here's a histogram of number of operands for each call to getHashValue,
gathered from the same collection of shaders:
1  13503 2  254273 3  135781 4  422508 5  614997 6  194953 7  287248 8
1517255 9  31218 10 1191269 11 70731 12 24 13 77 15 84 17 4692 27 16 33
705 49 6
Typical instructions with 8 and 10 operands are floating point
arithmetic and multiply-accumulate instructions like:
%83:vgpr_32 = V_MUL_F32_e64 0, killed %82:vgpr_32, 0, killed
%81:vgpr_32, 0, 0, implicit $exec
%330:vgpr_32 = V_MAC_F32_e64 0, killed %327:vgpr_32, 0, killed
%329:sgpr_32, 0, %328:vgpr_32(tied-def 0), 0, 0, implicit $exec
Differential Revision: https://reviews.llvm.org/D70301
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
Commit 0908093977b2b80d00baa12f0b2f1424dde096fb by pavel
DWARFDebugLoc(v4): Add an incremental parsing function
Summary: This adds a visitLocationList function to the DWARF v4 location
lists, similar to what already exists for DWARF v5. It follows the
approach outlined in previous patches (D69672), where the parsed form is
always stored in the DWARF v5 format, which makes it easier for generic
code to be built on top of that. v4 location lists are "upgraded" during
parsing, and then this upgrade is undone while dumping.
Both "inline" and section-based dumping is rewritten to reuse the
existing "generic" location list dumper. This means that the output
format is consistent for all location lists (the only thing one needs to
implement is the function which prints the "raw" form of a location
list), and that debug_loc dumping correctly processes base address
selection entries, etc.
The previous existing debug_loc functionality (e.g.,
parseOneLocationList) is rewritten on top of the new API, but it is not
removed as there is still code which uses them. This will be done in
follow-up patches, after I build the API to access the "interpreted"
location lists in a generic way (as that is what those users really
want).
Reviewers: dblaikie, probinson, JDevlieghere, aprantl, SouraVX
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69847
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loc_base_address.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
The file was modifiedllvm/test/DebugInfo/X86/sret.ll
The file was modifiedllvm/test/tools/dsymutil/X86/basic-lto-linking-x86.test
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loc-OP_addr.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loc-error-cases.s
The file was modifiedllvm/test/DebugInfo/X86/live-debug-variables.ll
The file was modifiedllvm/test/DebugInfo/X86/debug-loc-offset.mir
The file was modifiedllvm/test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test
The file was modifiedllvm/test/DebugInfo/Sparc/subreg.ll
The file was modifiedllvm/test/DebugInfo/X86/stack-value-piece.ll
The file was modifiedllvm/tools/llvm-dwarfdump/Statistics.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loc_offset.test
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
The file was modifiedllvm/test/CodeGen/ARM/debug-info-sreg2.ll
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debugloc.s
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loc-simple.test
The file was modifiedllvm/test/DebugInfo/X86/PR26148.ll
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loc-error-cases2.s
The file was modifiedllvm/test/tools/dsymutil/X86/debug-loc-base-addr.test
The file was modifiedllvm/test/DebugInfo/X86/dw_op_minus_direct.ll
The file was modifiedllvm/test/DebugInfo/X86/pieces-1.ll
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp
Commit a763d985012bdc5c5fc7bbc836b0dfddbb9af2d8 by Alexander.Richardson
[gen_ast_dump_json_test.py] Add a --update flag
This will allow updating the JSON tests for new format changes. Instead
of simply appending the JSON to the input file, the script will now make
a copy of the input file up to the "CHECK lines have been autogenerated"
disclaimer and then append the new JSON.
See https://reviews.llvm.org/D70119
The file was modifiedclang/test/AST/gen_ast_dump_json_test.py
Commit 698ea9cb21e7edd6c1119367243a0134d0bb22d7 by Alexander.Richardson
[gen_ast_dump_json_test.py] Parse RUN: lines with --update
See https://reviews.llvm.org/D70119
The file was modifiedclang/test/AST/gen_ast_dump_json_test.py
Commit 049f4c90eb146f80f0f8ca2c7341547b67513e3c by Alexander.Richardson
[gen_ast_dump_json_test.py] Infer --filters flags when using --update
See https://reviews.llvm.org/D70119
The file was modifiedclang/test/AST/gen_ast_dump_json_test.py
Commit 90dbb47616da69d9cb41e9dfd520ef90b8afa26f by Alexander.Richardson
[gen_ast_dump_json_test.py] Skip manual tests when using --update
See https://reviews.llvm.org/D70119
The file was modifiedclang/test/AST/gen_ast_dump_json_test.py
Commit d09e811cb4da3fab554f8a189a79f9ac74cb8d0d by Alexander.Richardson
[gen_ast_dump_json_test.py] Copy to binary directory to omit --clang
argument
The script will now check if a clang binary exists in the same directory
and default to that instead of requiring a --clang argument. The script
is copied to the clang build directory using CMake configure_file() with
COPYONLY. This ensures that the version in the build directory is
updated any time the source version changes.
See https://reviews.llvm.org/D70119
The file was modifiedclang/test/CMakeLists.txt
The file was modifiedclang/test/AST/gen_ast_dump_json_test.py
Commit 7debe5132c06c8dc53517ed2bd38d4a2f8cee126 by Alexander.Richardson
[gen_ast_dump_json_test.py] Allow updating multiple files in one go
With this change it is possible to update all JSON dump tests using the
following command: python $LLVM_BINDIR/gen_ast_dump_json_test.py
--update --source $LLVM_SRC/clang/test/AST/*-json.*
See https://reviews.llvm.org/D70119
The file was modifiedclang/test/AST/gen_ast_dump_json_test.py
Commit 709ea1720799b788b3c8c59f5571134e983f9cc6 by Alexander.Richardson
[NFC] Regenerate ast-dump-json tests
This was done by running `python $LLVM_BINDIR/gen_ast_dump_json_test.py
--update --source $LLVM_SRC/clang/test/AST/*-json.*` Only changes are
whitespace and line endings.
Differential Revision: https://reviews.llvm.org/D70119
The file was modifiedclang/test/AST/ast-dump-expr-json.c
The file was modifiedclang/test/AST/ast-dump-decl-json.m
Commit 3c3048c18b09cac5f7d17fc0655d781e457fd006 by Alexander.Richardson
Include the mangled name in -ast-dump=json
I am planning to use this feature to make update_cc_test_checks.py less
fragile by obtaining the mangled names directly from -ast-dump=json.
Currently, it uses c-index-test which ignores the -triple=, etc.
arguments that are in the RUN: line and therefore does not generate
checks for some targets.
The AST dump tests were updated using the following command:
`python $LLVM_BINDIR/gen_ast_dump_json_test.py --update --source
$LLVM_SRC/clang/test/AST/*-json.*`
Reviewers: aaron.ballman
Reviewed By: aaron.ballman
Subscribers: rsmith, MaskRay, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69564
The file was modifiedclang/test/AST/ast-dump-decl-json.m
The file was modifiedclang/test/AST/ast-dump-record-definition-data-json.cpp
The file was modifiedclang/test/AST/ast-dump-stmt-json.cpp
The file was modifiedclang/lib/AST/JSONNodeDumper.cpp
The file was modifiedclang/test/AST/ast-dump-macro-json.c
The file was modifiedclang/test/AST/ast-dump-records-json.cpp
The file was modifiedclang/test/AST/ast-dump-expr-json.cpp
The file was modifiedclang/test/AST/ast-dump-template-decls-json.cpp
The file was modifiedclang/test/AST/ast-dump-funcs-json.cpp
The file was modifiedclang/test/AST/ast-dump-stmt-json.m
The file was modifiedclang/test/AST/ast-dump-decl-context-json.cpp
The file was modifiedclang/test/AST/ast-dump-expr-json.c
The file was modifiedclang/test/AST/ast-dump-stmt-json.c
The file was modifiedclang/test/AST/ast-dump-decl-json.c
The file was modifiedclang/test/AST/ast-dump-expr-json.m
The file was modifiedclang/include/clang/AST/JSONNodeDumper.h
The file was modifiedclang/test/AST/ast-dump-if-json.cpp
Commit 0df4a8f72a4fadc1e0978a0aa1786afa34945046 by Alexander.Richardson
[update_cc_test_checks.py] Use -ast-dump=json to get mangled name
Summary: Using c-index-test is fragile since it does not parse all the
clang arguments that are used in the RUN: line. This can result in
incorrect mangled names that do not match any of the generated IR. For
example macOS triples include a leading underscore (which was handled
with a hack in the current script). For the CHERI target we have added
new qualifiers which affect C++ name mangling, but will be included
added by update_cc_test_checks since it parses the source file with the
host triple because it ignores the -triple= argument passed to clang
-cc1.
Using the new feature of including the mangled name in the JSON AST dump
(see D69564), we can parse the output of the RUN: command with
"-fsyntax-only -ast-dump=json" appended. This should make the script
less fragile and also forks one process less.
Reviewers: MaskRay, xbolva00
Reviewed By: MaskRay
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69565
The file was modifiedllvm/utils/update_cc_test_checks.py
Commit e6584b2b7b2de06f1e59aac41971760cac1e1b79 by sepavloff
Move floating point related entities to namespace level
Enumerations that describe rounding mode and exception behavior were
defined inside ConstrainedFPIntrinsic. It makes sense to use the same
definitions to represent the same properties in other cases, not only in
constrained intrinsics. It was however inconvenient as required to
include constrained intrinsics definitions even if they were not needed.
Also using long scope prefix reduced readability.
This change moves these definitioins to the namespace llvm::fp. No
functional changes.
Differential Revision: https://reviews.llvm.org/D69552
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was addedllvm/lib/IR/FPEnv.cpp
The file was modifiedllvm/unittests/IR/IRBuilderTest.cpp
The file was addedllvm/include/llvm/IR/FPEnv.h
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/lib/IR/IntrinsicInst.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedllvm/lib/IR/CMakeLists.txt
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h
Commit 9c5e0fcc23f7d739f005c4e35f57024e28da7568 by llvmgnsyncbot
gn build: Merge e6584b2b7b2
The file was modifiedllvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
Commit 5f0c3bad2f03b9bba7f899d7b0ce667ca355f69d by diana.picus
Fix TestFormatters.py stepping too far
TestFormatters.py has a sequence of three 'next' commands to get past
all the initializations in the test function. On AArch64 (and
potentially other platforms), this was one 'next' too many and we ended
up outside our frame.
This patch replaces the sequence with a 'thread until ' the line of the
return from the function, so we should stop after all the
initializations but before actually returning.
Differential Revision: https://reviews.llvm.org/D70303
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/formatters/main.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/formatters/TestFormatters.py
Commit 3d708bf5c2672cae01e5ecb0ed1877e3d56ee451 by evgeny
Recommit "[ThinLTO] Add correctness check for RO/WO variable import"
ValueInfo has user-defined 'operator bool' which allows incorrect
implicit conversion to GlobalValue::GUID (which is unsigned long). This
causes bugs which are hard to track and should be removed in future.
The file was modifiedllvm/include/llvm/Transforms/IPO/FunctionImport.h
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
The file was modifiedllvm/lib/Transforms/Utils/FunctionImportUtils.cpp
The file was modifiedllvm/include/llvm/LTO/LTO.h
The file was modifiedllvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
Commit 02419ab5c73935bed7aef5fc43e06c6b5f37fc04 by Piotr Sobczak
[AMDGPU] Lower llvm.amdgcn.s.buffer.load.v3[i|f]32
Summary: Add lowering support for 32-bit vec3 variant of s.buffer.load
intrinsic.
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70118
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.buffer.load.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit c2f6efc732efa3921e34e24361d58e51d25460b1 by 1.int32
[Clang][ASTImporter] Added visibility check for ClassTemplateDecl.
Summary: ASTImporter makes now difference between class templates with
same name in different translation units if these are not visible
outside.
Reviewers: martong, a.sidorin, shafik
Reviewed By: martong
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, teemperor,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67543
The file was modifiedclang/unittests/AST/ASTImporterVisibilityTest.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit b0c1900820c3f0a94e3c74e6dcb1317b9cda5af8 by simon.tatham
[ARM,MVE] Add reversed isel patterns for MVE `vcmp qN,rN`
Summary: As well as vector/vector compare instructions, MVE also has a
family of comparisons taking a vector and a scalar, which compare every
lane of the vector against the same value. We generate those at isel
time using isel patterns that match `(ARMvcmp vector, (ARMvdup
scalar))`.
This commit adds corresponding patterns for the operand-reversed form
`(ARMvcmp (ARMvdup scalar), vector)`, with condition codes swapped as
necessary. That way, we can still generate the vector/scalar compare
instruction if the IR happens to have been rearranged to put the
operands the other way round, which can happen in some optimization
phases. Previously, a vcmp the other way round was handled by emitting a
`vdup` instruction to //explicitly// replicate the scalar input into a
vector, and then doing a vector/vector comparison.
I haven't added a new test, because it turned out that several existing
tests were already exhibiting that failure mode. So just updating the
expected output in the existing MVE codegen tests demonstrates what's
been improved.
Reviewers: ostannard, MarkMurrayARM, dmgreen
Reviewed By: dmgreen
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70296
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-and.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vcmpfr.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vcmpr.ll
Commit fa3b87fbeb465c7ff9fd3c24b168d534d380af16 by sam.mccall
[CodeComplete] Constructor overload candidates report as vector(int)
instead of vector<string>(int)
Summary: This is shorter, shouldn't be confusing (is consistent with how
they're declared), and avoids messy cases that are printed as
myclass<type-param-0-0>(int) in the case of partial specialization.
Fixes part of https://github.com/clangd/clangd/issues/76
Reviewers: hokein, lh123
Subscribers: ilya-biryukov, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70307
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp
The file was modifiedclang/test/CodeCompletion/templates.cpp
Commit e3d5ff5a0b102febcddd9d58f24f18b00d4ecb4e by selliott
[RISCV] Match GCC `-march`/`-mabi` driver defaults
Summary: Clang/LLVM is a cross-compiler, and so we don't have to make a
choice about `-march`/`-mabi` at build-time, but we may have to compute
a default `-march`/`-mabi` when compiling a program. Until now, each
place that has needed a default `-march` has calculated one itself.
This patch adds a single place where a default `-march` is calculated,
in order to avoid calculating different defaults in different places.
This patch adds a new function `riscv::getRISCVArch` which encapsulates
this logic based on GCC's for computing a default `-march` value when
none is provided. This patch also updates the logic in
`riscv::getRISCVABI` to match the logic in GCC's build system for
computing a default `-mabi`.
This patch also updates anywhere that `-march` is used to now use the
new function which can compute a default. In particular, we now
explicitly pass a `-march` value down to the gnu assembler.
GCC has convoluted logic in its build system to choose a default
`-march`/`-mabi` based on build options, which would be good to match.
This patch is based on the logic in GCC 9.2.0. This commit's logic is
different to GCC's only for baremetal targets, where we default to
rv32imac/ilp32 or rv64imac/lp64 depending on the target triple.
Tests have been updated to match the new logic.
Reviewers: asb, luismarques, rogfer01, kito-cheng, khchen
Reviewed By: asb, luismarques
Subscribers: sameer.abuasal, rbar, johnrusso, simoncook, apazos,
sabuasal, niosHD, shiva0217, jrtc27, MaskRay, zzheng, edward-jones,
MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna,
Jim, s.egerton, pzheng, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69383
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.h
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.cpp
The file was modifiedclang/test/Driver/riscv-abi.c
The file was modifiedclang/test/Driver/riscv-gnutools.c
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
Commit 509efe5d8