SuccessChanges

Summary

  1. [zorg] Pass "-DLLVM_POLLY_LINK_INTO_TOOLS=ON" in getPollyBuildFactory (details)
  2. [AVR] Add the AVR builder 'llvm-avr-linux' back, pulling from GitHub (details)
  3. lldb-sanitized: Move MAX_PARALLEL_TESTS initialization to a place where (details)
Commit 6ad01600c4e27d7238564346976df22204a5014b by efriedma
[zorg] Pass "-DLLVM_POLLY_LINK_INTO_TOOLS=ON" in getPollyBuildFactory
The default here was changed recently, and the
aosp-O3-polly-before-vectorizer-unprofitable builder assumes polly is
linked into clang.
Differential Revision: https://reviews.llvm.org/D72646
The file was modifiedzorg/buildbot/builders/PollyBuilder.py (diff)
Commit d94f2381197b14fa3e65eafd17ad4ceaf972ae34 by me
[AVR] Add the AVR builder 'llvm-avr-linux' back, pulling from GitHub
This patch brings back the existing AVR builder that was removed in
3b645861c5110a9d11bf5f6d936ca074212cc452 due to it being incompatible
with the GitHub only repo we now have.
The builder now uses the 'getClangCMakeBuildFactory()' factory, instead
of 'getLLVMCMakeBuildFactory()' as it used to.
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 0c746ef9b47dd5f8bd88fcef3d769b4a8ee0bc09 by Adrian Prantl
lldb-sanitized: Move MAX_PARALLEL_TESTS initialization to a place where
it can actually affect the cmake invocation.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake-sanitized (diff)

Summary

  1. [X86][AVX] Use lowerShuffleAsLanePermuteAndSHUFP to lower binary v4f64 (details)
  2. [AMDGPU] Regenerate shl shift tests (details)
  3. [MIPS] Regenerate shl/lshr shift tests (details)
  4. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  5. [PowerPC] Delete PPCDarwinAsmPrinter and PPCMCAsmInfoDarwin (details)
  6. [NFC] Fix compilation of CrashRecoveryContext.cpp on mingw (details)
  7. __patchable_function_entries: don't use linkage field 'unique' with (details)
  8. [AMDGPU] Add gfx8 assembler and disassembler test cases (details)
  9. [MC][ELF] Emit a relocation if target is defined in the same section and (details)
  10. Fix "pointer is null" static analyzer warning. NFCI. (details)
  11. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  12. [RISCV] Check register class for AMO memory operands (details)
  13. [SCEV] accurate range for addrecexpr with nuw flag (details)
  14. [clangd] Assert that the testcases in FindExplicitReferencesTest.All (details)
  15. [clangd] Show template arguments in type hierarchy when possible (details)
  16. AMDGPU/GlobalISel: Copy type when inserting readfirstlane (details)
  17. AMDGPU/GlobalISel: Don't use XEXEC class for SGPRs (details)
  18. AMDGPU: Split test function (details)
  19. [X86] Use SDNPOptInGlue instead of SDNPInGlue on a couple SDNodes. (details)
  20. [DWARF5][DebugInfo]: Added support for DebugInfo generation for auto (details)
  21. [DWARF5][clang]: Added support for DebugInfo generation for auto return (details)
  22. [SCEV] Follow up of D71563: addressing post commit comment. NFC. (details)
  23. [NFC] Update loop.decrement.reg intrinsic comment (details)
  24. Add zero_extendi and sign_extendi to intrinsic namespace (details)
  25. [lldb] Mark several tests as not dependent on debug info (details)
  26. [RISCV] Collect Statistics on Compressed Instructions (details)
  27. [clangd] Publish xref for macros from Index and AST. (details)
  28. Revert "[DWARF5][clang]: Added support for DebugInfo generation for auto (details)
  29. [lldb] Fix eh-frame-small-fde test for changes in lld (details)
  30. This option allows selecting the TLS size in the local exec TLS model, (details)
  31. ARMLowOverheadLoops: return earlier to avoid printing irrelevant dbg (details)
  32. [DebugInfo][Support] Replace DWARFDataExtractor size function (details)
  33. [lldb][NFC] Use range-based for loops in IRInterpreter (details)
  34. [lldb] Fix lookup of symbols with the same address range but different (details)
  35. [X86] Fix MSVC "truncation from 'int' to 'bool'" warning. NFCI. (details)
  36. [SelectionDAG] ComputeKnownBits - minimum leading/trailing zero bits in (details)
  37. [llvm-exegesis][mips] Expand loadImmediate() (details)
  38. [clangd] Remove raw string literals in macros (details)
  39. [X86][SSE] Add knownbits test showing missing (details)
  40. [SelectionDAG] ComputeKnownBits add getValidMinimumShiftAmountConstant() (details)
  41. [clang] Remove raw string literals in macros (details)
  42. [lldb][NFC] Remove debug print statement from TestExprDiagnostics.py (details)
  43. [llvm-exegesis] Remove unneeded std::move() (details)
  44. GlobalISel: Fix assertion on wide G_ZEXT sources (details)
  45. [FPEnv] Fix chain handling for fpexcept.strict nodes (details)
  46. Revert "[libc++] Explicitly enumerate std::string external (details)
  47. [X86] Add knownbits tests showing missing shift amount demanded elts (details)
  48. [SelectionDAG] ComputeKnownBits - Add DemandedElts support to (details)
  49. [SelectionDAG] ComputeNumSignBits - Use getValidShiftAmountConstant for (details)
  50. [InstSimplify] move tests for select from InstCombine; NFC (details)
  51. [MIPS][ELF] Use PC-relative relocations in .eh_frame when possible (details)
  52. [MIPS] Don't emit R_(MICRO)MIPS_JALR relocations against data symbols (details)
  53. [AArch64] Emit HINT instead of PAC insns in Armv8.2-A or below (details)
  54. Add missing triples to tests in 0c29d3ff2233696f663ae34a8aeda23c750ac68f (details)
  55. Sema::getOwningModule - take const Decl* type. (details)
  56. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  57. Fix some cppcheck shadow variable warnings. NFCI. (details)
  58. Merge isVectorType() and getAs<VectorType> calls to silence clang static (details)
  59. Fix cppcheck uninitialized variable in DiffTree() constructor warning. (details)
  60. [RISCV] Handle globals and block addresses in asm operands (details)
  61. [Clang][Driver] Re-use the calling process instead of creating a new (details)
  62. [mlir][Linalg] Update ReshapeOp::build to be more idiomatic (details)
  63. [Inlining] Add PreInlineThreshold for the new pass manager (details)
  64. [mlir] Added missing GPU lowering ops. (details)
  65. [mlir] m_Constant() (details)
  66. [DebugInfo] Make debug line address size mismatch non-fatal to parsing (details)
  67. [ThinLTO] Add additional ThinLTO pipeline testing with new PM (details)
  68. [AArch64][SVE] Add patterns for some arith SVE instructions. (details)
  69. [Scheduler] Remove superfluous casts. NFC (details)
  70. [X86] Add AVX2 known signbits codegen tests (details)
  71. [X86][SSE] Add sitofp(ashr(x,y)) test case with non-uniform shift value (details)
  72. [SelectionDAG] ComputeNumSignBits add (details)
  73. [LegalizeTypes] Add SoftenFloatResult support for (details)
  74. [lldb/Scripts] Remove SWIG bot (details)
  75. Fix tests for builtbot failures (details)
  76. [lldb/Docs] Extend description section of the main page (details)
  77. [X86][SSE] Add sitofp(shl(sext(x),y)) test case with non-uniform shift (details)
  78. AMDGPU/GlobalISel: Simplify assert (details)
  79. AMDGPU/GlobalISel: Fix branch targets when emitting SI_IF (details)
  80. AMDGPU/GlobalISel: Add some baseline tests for vector extract (details)
  81. AMDGPU/GlobalISel: Set insert point after waterfall loop (details)
  82. [SelectionDAG] ComputeNumSignBits add (details)
  83. AMDGPU/GlobalISel: Select llvm.amdgcn.ds.ordered.{add|swap} (details)
  84. Try number 2 for fixing bot failures (details)
  85. Unbreak the mlir build after 202ab273e6eca134b69882f100c666fcd3affbcf (details)
  86. Fix readability-identifier-naming missing member variables (details)
  87. Hopefully last fix for bot failures (details)
  88. [llvm][MIRVRegNamerUtils] Adding hashing on FrameIndex MachineOperands. (details)
  89. [X86][Disassembler] Fix a bug when disassembling an empty string (details)
  90. Add a couple of missed wildcards in debug-pass-manager output checking (details)
  91. Revert "[ThinLTO] Add additional ThinLTO pipeline testing with new PM" (details)
  92. [gn build] (manually) port b4a99a061f51 (details)
  93. [clangd] Render header of hover card as a heading (details)
  94. [clangd] Include expression in DecltypeTypeLoc sourcerange while (details)
  95. [lldb-server] Remove dead CMake code (details)
  96. [Clang] Always set -z now linker option on Fuchsia (details)
  97. Rework be15dfa88fb1 such that it works with GlobalISel which doesn't use (details)
  98. [LTO] Constify lto::Config reference passed to backends (NFC) (details)
  99. [Dsymutil][Debuginfo][NFC] #3 Refactor dsymutil to separate DWARF (details)
  100. [InstCombine] add tests for select --> copysign; NFC (details)
  101. Fix a test case by adding -fno-delayed-template-parsing. (details)
  102. [NFC][clang][IFS] Adding braces to if-statement as prep for D71301. (details)
  103. [clang][IFS] Prevent Clang-IFS from Leaking symbols from inside a block. (details)
  104. [lldb] Revert ddf044290ede for TestProcessAPI.py (details)
  105. [LegalizeIntegerTypes][X86] Add support for expanding input of (details)
  106. [mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid (details)
  107. Implement VectorType conditional operator GNU extension. (details)
  108. [InstCombine] add FMF to tests for more coverage; NFC (details)
  109. [ItaniumCXXABI] Make tls wrappers properly comdat (details)
  110. [ThinLTO/WPD] Fix index-based WPD for alias vtables (details)
  111. PR44514: Fix recovery from noexcept with non-convertible expressions (details)
  112. [mlir] Remove unnecessary assert for single region. (details)
  113. Revert "[DWARF5][DebugInfo]: Added support for DebugInfo generation for (details)
  114. [clang][IFS][test] Fixing mangled name of a test for Darwin. (details)
  115. [PGO][CHR] Guard against 0-to-0 branch weight and avoid division by zero (details)
  116. [lldb-server] Prefer target_include_directories (details)
  117. [mlir] Update the use-list algorithms in SymbolTable to support nested (details)
  118. [mlir] Update the CallGraph for nested symbol references, and simplify (details)
  119. [DebugInfo] Add another level to DebugInfoKind called Constructor (details)
  120. [mlir] Add support for attaching a visibility to symbols. (details)
  121. [mlir] NFC: Remove unused variable. (details)
  122. Re-enable testing of .s tests under test/CodeGen/X86. (details)
  123. [GlobalISel] Change representation of shuffle masks in MachineOperand. (details)
  124. [llvm-exegesis] Initialize const bitvector member (details)
  125. [LanguageRuntime] Retire an unused member function. NFCI. (details)
  126. try to fix InterfaceStubs/lambda.cpp on Windows after bd8c8827d96f0 (details)
  127. [lldb/Utility] Add std::move to make placate clang 3.8 (details)
  128. [mlir] [VectorOps] fixed typo in verifier of slice op (details)
  129. [clang] [test] Fix riscv-toolchain-extra to be less picky about paths (details)
  130. [X86] Add test to show that nofpexcept flag is not preserved by stack (details)
  131. [X86] Copy the nofpexcept flag when folding a load into an instruction (details)
  132. [MLIR] Fix broken link locations after move to monorepo (details)
  133. [PowerPC] [NFC] set instruction number as 1st priority of lsr cost (details)
  134. [MC] Don't resolve relocations referencing STB_LOCAL STT_GNU_IFUNC (details)
  135. [ELF] Add -z force-ibt and -z shstk for Intel Control-flow Enforcement (details)
  136. [OpenMP][Tool] Make tests for archer dependent on TSan (details)
  137. [ELF] Delete unintended --force-bti (details)
  138. [OpenMP][Tool] Improving stack trace for Archer (details)
  139. [AMDGPU] Add gfx9 assembler and disassembler test cases (details)
  140. [AMDGPU] Improve error checking in gfx10 assembler tests (details)
  141. [AMDGPU] Remove duplicate gfx10 assembler and disassembler tests (details)
  142. [lldb] Fix that SBThread.GetStopDescription is returning strings with (details)
  143. [lldb] Don't defend against internal LLVM errors in IRInterpreter (details)
  144. [mlir] Fix -Wunused (details)
  145. [AMDGPU] Fix getInstrLatency() always returning 1 (details)
  146. [lldb][NFC] Rewrite python_api/rdar-12481949 test (details)
  147. [libcxx] [test] Add casts to avoid signed/unsigned mismatch warnings on (details)
  148. [AMDGPU] Model distance to instruction in bundle (details)
  149. [llvm-readobj][test] - Fix grammar in comments. (details)
  150. [clang-tidy] Ignore implicit casts in modernize-use-default-member-init (details)
  151. [TableGen] Introduce a `defvar` statement. (details)
  152. [TableGen] Introduce an if/then/else statement. (details)
  153. [Target] Fix uninitialized value in (details)
  154. [ARM][MVE] Masked gathers from base + vector of offsets (details)
  155. [mlir] Add loop.parallel, loop.reduce and loop.reduce.return operations. (details)
  156. [mlir] Ran git-clang-format. (details)
  157. [lldb][NFC] Cleanup ClangASTContext::CompleteTagDeclarationDefinition (details)
  158. [mlir] Create a gpu.module operation for the GPU Dialect. (details)
  159. [RISCV] Fix ILP32D lowering for double+double/double+int return types (details)
  160. [mlir] Fix translation of splat constants to LLVM IR (details)
  161. [ARM][MVE] Disallow VPSEL for tail predication (details)
  162. [SelectionDAG] ComputeKnownBits - merge (details)
  163. [X86][SSE] Add add(shl(and(x,c1),c2),c3) test case with non-uniform (details)
  164. [ARM][Thumb2] Fix ADD/SUB invalid writes to SP (details)
  165. [ARM][LowOverheadLoops] Change predicate inspection (details)
  166. [SelectionDAG] ComputeKnownBits - merge (details)
  167. Fix "MIParser::getIRValue(unsigned int)’ defined but not used" warning. (details)
  168. [ARM][LowOverheadLoops] Allow all MVE instrs. (details)
  169. [lldb/Expression] Improve interpreter error message with a non-running (details)
  170. [ARM,MVE] Use the new Tablegen `defvar` and `if` statements. (details)
  171. [unittests] Fix "comparison of integers of different signs" warnings (details)
  172. Make helper functions static or move them into anonymous namespaces. (details)
  173. [FPEnv] Fix chain handling regression after 04a8696 (details)
  174. [RISCV][NFC] Deduplicate Atomic Intrinsic Definitions (details)
  175. [FPEnv] Add some comments to IRBuilder.h (details)
  176. [lldb][NFC] Make name parameter in AddMethodToCXXRecordType a StringRef (details)
  177. [TableGen] Update editor modes for new keywords. (details)
  178. [InstSimplify] add tests for vector select; NFC (details)
  179. AArch64: fix bitcode upgrade of @llvm.neon.addp. (details)
  180. Expression eval lookup speedup by not returning methods in (details)
  181. Fix "null pointer passed to nonnull argument" clang static analyzer (details)
  182. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  183. Merge isa<> and getAs<> calls to fix "pointer is null" static analyzer (details)
  184. Remove duplicate variable. NFCI. (details)
  185. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  186. Fix "pointer is null" static analyzer warning. NFCI. (details)
  187. [llvm-readobj][llvm-readelf][test] - Add a few more dynamic section (details)
  188. [lldb/DWARF] Move location list sections into DWARFContext (details)
  189. [AIX] ExternalSymbolSDNode lowering (details)
  190. [DBG][LIVEDEBUGVALUES][NFC] Add Targeted LiveDebugValues Behaviour (details)
  191. [OpenCL] Add MSAA sharing extension builtin functions (details)
  192. Revert "Recommit "[GlobalOpt] Pass DTU to removeUnreachableBlocks (details)
  193. [AArch64] Fix save register pairing for Windows AAPCS (details)
  194. Revert "[DBG][LIVEDEBUGVALUES][NFC] Add Targeted LiveDebugValues (details)
  195. [clang-tidy] Match InitListExpr in modernize-use-default-member-init (details)
  196. [Syntax] Assert invariants on tree structure and fix a bug in mutations (details)
  197. [Syntax] Mark synthesized nodes as modifiable (details)
  198. [DBG][LIVEDEBUGVALUES][NFC] Add Targeted LiveDebugValues Behaviour (details)
  199. [scudo][standalone] Fork support (details)
  200. [Syntax] Unset IsOriginal flag on nodes removed from the tree (details)
  201. [ARM][MVE] VTP Block Pass fix (details)
  202. [clang][OpenCL] Fix covered switch warning (details)
  203. Fix "pointer is null" clang static analyzer warnings. NFCI. (details)
  204. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  205. [IR] fix potential crash in Constant::isElementWiseEqual() (details)
  206. [lldb/Utility] Use assert instead of llvm_unreachable for LLDBAssert (details)
  207. [RISCV] Add Clang frontend support for Bitmanip extension (details)
  208. [test] Make data layout of load-bitcast64.ll explicit, use (details)
  209. Removed PointerUnion3 and PointerUnion4 aliases in favor of the variadic (details)
  210. [ELF] --exclude-libs: don't assign VER_NDX_LOCAL to undefined symbols (details)
  211. [InstCombine] Let combineLoadToNewType preserve ABI alignment of the (details)
  212. [AIX][XCOFF] Supporting the ReadOnlyWithRel SectionKnd (details)
  213. SCC: Allow ReplaceNode to safely support insertion (details)
  214. [X86] Directly emit a BROADCAST_LOAD from constant pool in (details)
  215. [ThinLTO] Handle variable with twice promoted name (Rust) (details)
  216. [ELF] Delete the RelExpr member R_HINT. NFC (details)
  217. [ThinLTO/WPD] Remove an overly-aggressive assert (details)
  218. [RISCV] Allow shrink wrapping for RISC-V (details)
  219. Added readability-qualified-auto check (details)
  220. [gn build] Port 36fcbb838c8 (details)
  221. [lldb/test] test_breakpoints_func_full from (details)
  222. [MachineScheduler] Reduce reordering due to mem op clustering (details)
  223. [InstCombine] add test for possible cast-of-select transform; NFC (details)
  224. Fix NetBSD bot after b4a99a061f517e60985667e39519f60186cbb469 (details)
  225. [nfc][libomptarget] Refactor amdgcn target_impl (details)
  226. [nfc][libomptarget] Refactor nvptx/target_impl.cu (details)
  227. [InstCombine] Add test for iterator invalidation bug; NFC (details)
  228. [InstCombine] Fix user iterator invalidation in bitcast of phi transform (details)
  229. [InstCombine] Make combineLoadToNewType a method; NFC (details)
  230. [InstCombine] Fix infinite loop due to bitcast <-> phi transforms (details)
  231. [OPENMP]Improve handling of possibly incorrectly mapped types. (details)
  232. [NewPM] Port MergeFunctions pass (details)
  233. [OpenMP][Tool] Runtime warning for missing TSan-option (details)
  234. [Driver] Ignore -fno-semantic-interposition (details)
  235. [SVE] Add patterns for MUL immediate instruction. (details)
  236. [libcxx] [Windows] Make a more proper implementation of strftime_l for (details)
  237. dotest.py: Add option to pass extra lldb settings to dotest (details)
  238. [analyzer] Fix SARIF column locations (details)
  239. [DebugInfo] Add option to clang to limit debug info that is emitted for (details)
  240. [InstCombine] Fix worklist management when removing guard intrinsic (details)
  241. [clang][test][NFC] Use more widely supported sanitizer for file (details)
  242. [GVN] fix comment/argument name to match actual implementation. NFC (details)
  243. [LegalizeTypes] Remove untested code from ExpandIntOp_UINT_TO_FP (details)
  244. [Driver][test] Fix Driver/hexagon-toolchain-elf.c for (details)
  245. [AArch64][GlobalISel]: Support @llvm.{return,frame}address selection. (details)
  246. Remove trailing `;`. NFC. (details)
  247. [mlir] Use double format when parsing bfloat16 hexadecimal values (details)
  248. [OPENMP]Do not emit special virtual function for NVPTX target. (details)
  249. [DAGCombine] Replace `getIntPtrConstant()` with `getVectorIdxTy()`. (details)
  250. [mlir][Linalg] Update the semantics, verifier and test for Linalg with (details)
  251. -fmodules-codegen should not emit extern templates (details)
  252. fix recent -fmodules-codegen fix test (details)
  253. make -fmodules-codegen and -fmodules-debuginfo work also with PCHs (details)
  254. [mlir] Enable printing of FuncOp in the generic form. (details)
  255. [OPENMP]Do not use RTTI by default for NVPTX devices. (details)
  256. [mlir] Refactor ModuleState into AsmState and expose it to users. (details)
  257. [remark][diagnostics] Using clang diagnostic handler for IR input files (details)
  258. [mlir][spirv] Properly support SPIR-V conversion target (details)
  259. [codegen,amdgpu] Enhance MIR DIE and re-arrange it for AMDGPU. (details)
  260. [LIBOMPTARGET] Do not increment/decrement the refcount for "declare (details)
  261. Fix windows bot failures in c410adb092c9cb51ddb0b55862b70f2aa8c5b16f (details)
  262. [libcxx] Use C11 thread API on Fuchsia (details)
  263. [mlir] : Fix ViewOp shape folder for identity affine maps (details)
  264. [X86] Swap the 0 and the fudge factor in the constant pool for the (details)
  265. [X86] Drop an unneeded FIXME. NFC (details)
  266. [amdgpu] Fix typos in a test case. (details)
  267. [Win64] Handle FP arguments more gracefully under -mno-sse (details)
  268. Allow /D flags absent during PCH creation under msvc-compat (details)
  269. [X86] ABI compat bugfix for MSVC vectorcall (details)
  270. [Concepts] Type Constraints (details)
  271. [BranchAlign] Add master --x86-branches-within-32B-boundaries flag (details)
  272. DWARFDebugLine.cpp: Restore LF line endings (details)
  273. Modify test to use -S instead of -c so that it works when an external (details)
  274. PR44540: Prefer an inherited default constructor over an initializer (details)
  275. CMake: Make most target symbols hidden by default (details)
  276. Relax the rules around objc_alloc and objc_alloc_init optimizations. (details)
  277. [PowerPC] Fix powerpcspe subtarget enablement in llvm backend (details)
  278. [ODRHash] Fix wrong error message with bitfields and mutable. (details)
  279. [Driver][X86] Add -malign-branch* and -mbranches-within-32B-boundaries (details)
  280. Fix up ms-pch-macro.c test to pass on non-Windows (details)
  281. [lldb/CommandInterpreter] Remove flag that's always true (NFC) (details)
  282. [lldb/test] Add test for CMTime data formatter (details)
  283. [Scheduler] Adjust interface of CreateTargetMIHazardRecognizer to use (details)
  284. [Attributor] AAValueConstantRange: Value range analysis using constant (details)
  285. [ARM] Reegenerate MVE tests. NFC (details)
  286. [X86] Don't call LowerUINT_TO_FP_i32 for i32->f80 on 32-bit targets with (details)
  287. [VE] Minimal codegen for empty functions (details)
  288. [AMDGPU] Invert the handling of skip insertion. (details)
  289. [MachO] Add a test for detecting reserved unit length. (details)
  290. [gn build] Port 0dc6c249bff (details)
  291. [DWARF] Fix DWARFDebugAranges to support 64-bit CU offsets. (details)
  292. [RISCV] Support ABI checking with per function target-features (details)
  293. [llvm-locstats][NFC] Support OOP concept (details)
  294. Revert "[RISCV] Add Clang frontend support for Bitmanip extension" (details)
  295. [yaml2obj/obj2yaml] - Add support for SHT_RELR sections. (details)
  296. [llvm-locstats] Add the --draw-plot option (details)
  297. [AArch64][SVE] Add ptest intrinsics (details)
  298. [Support] Replace Windows __declspec(thread) with thread_local for (details)
  299. Revert "[yaml2obj/obj2yaml] - Add support for SHT_RELR sections." (details)
  300. [Lexer] Allow UCN for dollar symbol '\u0024' in identifiers when using (details)
  301. [llvm-locstats] Fix the docs (details)
  302. [NFC] Adjust test cases numbering, test commit. (details)
  303. [AArch64][SVE] Fold variable into assert to silence unused variable (details)
  304. [lldb] Add expect_expr function for testing expression evaluation in (details)
  305. [yaml2obj/obj2yaml] - Add support for SHT_RELR sections. (details)
  306. Fix "pointer is null" static analyzer warning. NFCI. (details)
  307. RegisterClassInfo::computePSetLimit - assert that we actually find a (details)
  308. Fix Wdocumentation warning. NFC. (details)
  309. Revert "[RISCV] Support ABI checking with per function target-features" (details)
  310. [RISCV] Support ABI checking with per function target-features (details)
  311. Revert rG6078f2fedcac5797ac39ee5ef3fd7a35ef1202d5 - (details)
  312. Bump the trunk major version to 11 (details)
  313. [PowerPC] Legalize saturating vector add/sub (details)
  314. [llvm-locstats] Add the --compare option (details)
  315. Further implement CWG 2292 (details)
  316. [RISCV] Fix test for inline asm z constraint modifier (details)
  317. TableGen/GlobalISel: Don't reconstruct CodeGenRegBank (details)
  318. TableGen/GlobalISel: Don't take reference to temporary values (details)
  319. TableGen: Delete some copy constuctors (details)
  320. GlobalISel: Fix narrowScalar for G_ANYEXT results (details)
  321. AMDGPU: Partially directly select llvm.amdgcn.interp.p1.f16 (details)
  322. GlobalISel: Implement lower for G_BITCAST (details)
  323. [mlir] LLVM import: handle function-typed constants (details)
  324. [FPEnv] Address post-commit review comment for D71467 (details)
  325. [clangd] Show hower info for expressions (details)
  326. [ELF] Avoid false-positive assert in getErrPlace() (details)
  327. [mlir][EDSC] Refactor dependencies involving EDSCs. (details)
  328. [gn build] (manually) port b4a99a061f51 better (details)
  329. [clangd] Add a ruler after header in hover (details)
  330. [clangd] Rearrange type, returntype and parameters in hover card (details)
  331. [clang] New __attribute__((__clang_arm_mve_strict_polymorphism)). (details)
  332. [gn build] find mistakes like the one fixed in 72b5989e0d1 at build time (details)
  333. [clangd] Fix windows buildbots (details)
  334. Restore "[ThinLTO] Add additional ThinLTO pipeline testing with new PM" (details)
  335. [llvm-readobj][test] - Cleanup SHT_RELR sections testing. (details)
  336. [mlir][Linalg] NFC - Hotfix for gcc-5 build (details)
  337. [CMake] Enable -qfuncsect when building with IBM XL (details)
  338. DWARFDebugLine.cpp: Format unknown line number standard opcodes (details)
  339. [ORC] Update lazyReexports to support aliases with different symbol (details)
  340. [ORC] Simplify use of lazyReexports with LLJIT. (details)
  341. [mlir][Linalg] NFC - Cleanup Linalg Pass locations and namespacing (details)
  342. [mlir][Linalg] NFC - Hotfix for gcc-5 build (details)
  343. [InstCombine] reassociate fsub+fsub into fsub+fadd (details)
  344. [Loop Peeling] Add possibility to enable peeling on loop nests. (details)
  345. [ThinLTO] Always import constants (details)
  346. Fix bot by adjusting wildcard matching (details)
  347. Revert "[mlir] Create a gpu.module operation for the GPU Dialect." (details)
  348. [clangd] Extract string literals in macro arguments to unbreak gcc (details)
  349. [ARM][MVE][Intrinsics] Add VMINAQ, VMINNMAQ, VMAXAQ, VMAXNMAQ (details)
  350. Replace CLANG_SPAWN_CC1 env var with a driver mode flag (details)
  351. [gn build] Reformat all build files (details)
  352. Revert "Revert rG6078f2fedcac5797ac39ee5ef3fd7a35ef1202d5 - (details)
  353. [ORC] Set setCloneToNewContextOnEmit on LLJIT's transform layer when (details)
  354. [Mips] Add FileCheck to a test that just tested for a crash. (details)
  355. [gn build] make "gn format" comment slightly more concise (details)
  356. [gn build] add multi-line forcing comments in more places (details)
  357. [gn build] re-run "gn format" with trunk gn (details)
  358. [docs][ORC] Update the laziness section of the ORCv2 design doc. (details)
  359. [DWARF] Emit DW_AT_call_return_pc as an address (details)
  360. DebugInfo: Factor out logic to update locations in MD_loop metadata, NFC (details)
  361. Work around PR43337: don't try to use the vec_sel overloads for vector (details)
  362. PR17164: Change clang's default behavior from (details)
  363. [NFC][IndVarSimplify] remove duplicate code in (details)
  364. [mlir] Add shaped container component type interface (details)
  365. [NFC] Refactor InlineResult for readability (details)
  366. [MachineScheduler][NFC] Don't swap when we can't cluster (details)
  367. lldb: Run TestCrossDSOTailCalls.py and TestCrossObjectTailCalls.py on (details)
  368. [libc++] Make SFINAE'd member functions in string mutually exclusive. (details)
  369. [libc++] Explicitly mark basic_string<...>::npos with default (details)
  370. [libc++] Explicitly enumerate std::string external instantiations - (details)
  371. [BasicBlock] add helper getPostdominatingDeoptimizeCall (details)
  372. DWARF: Simplify the way the return PC is attached to call site tags, NFC (details)
  373. [test] Move call-site-entry-linking.test into test/tools/dsymutil/X86 (details)
  374. [libc++] Optimize basic_string::operator=(const basic_string&) for SSO (details)
  375. [libc++] Fix parsing <string> in C++03. (details)
  376. Revert "[OPENMP]Do not use RTTI by default for NVPTX devices." (details)
Commit 66e39067edbfdb1469be001ebb053530a608b532 by llvm-dev
[X86][AVX] Use lowerShuffleAsLanePermuteAndSHUFP to lower binary v4f64
shuffles.
Only perform this if we are shuffling lower and upper lane elements
across the lanes (otherwise splitting to lower xmm shuffles would be
better).
This is a regression if we shuffle build_vectors due to getVectorShuffle
canonicalizing 'blend of splat' build vectors, for now I've set this not
to shuffle build_vector nodes at all to avoid this.
The file was modifiedllvm/test/CodeGen/X86/avx-unpack.ll
The file was modifiedllvm/test/CodeGen/X86/subvector-broadcast.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v4.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v8.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-shuffles/partial_permute.ll
Commit 065eefcfe969249a7df9d1ef4a0e468606b25359 by llvm-dev
[AMDGPU] Regenerate shl shift tests
The file was modifiedllvm/test/CodeGen/AMDGPU/shl.ll
Commit a888277897f75b2952d96de229fff57519cfc363 by llvm-dev
[MIPS] Regenerate shl/lshr shift tests
The file was modifiedllvm/test/CodeGen/Mips/llvm-ir/shl.ll
The file was modifiedllvm/test/CodeGen/Mips/llvm-ir/lshr.ll
Commit ad201691d5cc0f15f6f885f3847dcc6440ee3de5 by llvm-dev
Fix "pointer is null" static analyzer warnings. NFCI.
Use cast<> instead of dyn_cast<> and move into its users where its
dereferenced immediately.
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
Commit ebd26cc8c434f40fe8079ee823e7657b5138769f by maskray
[PowerPC] Delete PPCDarwinAsmPrinter and PPCMCAsmInfoDarwin
Darwin support has been removed.
Reviewed By: nemanjai
Differential Revision: https://reviews.llvm.org/D72063
The file was removedllvm/test/MC/MachO/PowerPC/coal-sections-powerpc.s
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
The file was removedllvm/test/MC/MachO/PowerPC/lit.local.cfg
The file was removedllvm/test/CodeGen/PowerPC/hello-reloc.s
The file was removedllvm/test/MC/PowerPC/ppc-separator.s
Commit de797ccdd74f46d5f637ccf66c78da9905a46f42 by alexandre.ganea
[NFC] Fix compilation of CrashRecoveryContext.cpp on mingw
Patch by Markus Böck.
Differential Revision: https://reviews.llvm.org/D72564
The file was modifiedllvm/lib/Support/CrashRecoveryContext.cpp
Commit 7fa5290d5bd5632d7a36a4ea9f46e81e04fb819e by maskray
__patchable_function_entries: don't use linkage field 'unique' with
-no-integrated-as
.section name, "flags"G, @type, GroupName[, linkage]
As of binutils 2.33, linkage cannot be 'unique'.  For integrated
assembler, we use both 'o' flag and 'unique' linkage to support
--gc-sections and COMDAT with lld.
https://sourceware.org/ml/binutils/2019-11/msg00266.html
The file was modifiedllvm/test/CodeGen/AArch64/patchable-function-entry.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Commit 241f330d6bab52ab4e3a01cbb9a3edd417d07c59 by jay.foad
[AMDGPU] Add gfx8 assembler and disassembler test cases
Summary: This adds assembler tests for cases that were previously only
in the disassembler tests, and vice versa.
Reviewers: rampitec, arsenm, nhaehnle
Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye,
jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72561
The file was modifiedllvm/test/MC/AMDGPU/gfx8_asm_all.s
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/gfx8_dasm_all.txt
Commit 2bfee35cb860859b436de0b780fbd00d68e198a4 by maskray
[MC][ELF] Emit a relocation if target is defined in the same section and
is non-local
For a target symbol defined in the same section, currently we don't emit
a relocation if VariantKind is VK_None (with few exceptions like RISC-V
relaxation), while GNU as emits one. This causes program behavior
differences with and without -ffunction-sections, and can break intended
symbol interposition in a -shared link.
```
.globl foo foo:
call foo      # no relocation. On other targets, may be written as b
foo, etc
call bar      # a relocation if bar is in another section (e.g.
-ffunction-sections)
call foo@plt  # a relocation
```
Unify these cases by always emitting a relocation. If we ever want to
optimize `call foo` in -shared links, we should emit a STB_LOCAL alias
and call via the alias.
ARM/thumb2-beq-fixup.s: we now emit a relocation to global_thumb_fn as
GNU as does. X86/Inputs/align-branch-64-2.s: we now emit R_X86_64_PLT32
to foo as GNU does.
ELF/relax.s: rewrite the test as target-in-same-section.s . We omitted
relocations to `global` and now emit R_X86_64_PLT32. Note, GNU as does
not emit a relocation for `jmp global` (maybe its own bug). Our new
behavior is compatible except `jmp global`.
Reviewed By: peter.smith
Differential Revision: https://reviews.llvm.org/D72197
The file was addedllvm/test/MC/ELF/target-in-same-section.s
The file was modifiedllvm/test/MC/X86/align-branch-64-2a.s
The file was modifiedllvm/test/MC/X86/align-branch-64-2c.s
The file was modifiedlld/test/ELF/global-offset-table-position-aarch64.s
The file was modifiedllvm/test/MC/ARM/thumb2-beq-fixup.s
The file was modifiedllvm/test/MC/X86/align-branch-64-2b.s
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
The file was removedllvm/test/MC/ELF/relax.s
The file was modifiedllvm/test/MC/ARM/thumb1-branch-reloc.s
Commit ada22c804cd956f3ee7cc9dc82e6d54ead8a4ffe by llvm-dev
Fix "pointer is null" static analyzer warning. NFCI.
The file was modifiedclang/include/clang/Basic/SourceManager.h
Commit 54b2914accb4f5c9b58305fd6da405d20a47c452 by llvm-dev
Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointers are dereferenced
immediately and castAs will perform the null assertion for us.
The file was modifiedclang/lib/AST/VTableBuilder.cpp
Commit 0113cf193f0610bb1a5dfa0bcd29c41a8965938a by jrtc27
[RISCV] Check register class for AMO memory operands
Summary: AMO memory operands use a custom parser in order to accept both
(reg) and 0(reg). However, the validation predicate used for these
operands was only checking that they were registers, and not the
register class, so non-GPRs (such as FPRs) were also accepted. Thus, fix
this by making the predicate check that they are GPRs.
Reviewers: asb, lenary
Reviewed By: asb, lenary
Subscribers: hiraditya, rbar, johnrusso, simoncook, sabuasal, niosHD,
kito-cheng, shiva0217, MaskRay, zzheng, edward-jones, rogfer01,
MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna,
Jim, s.egerton, pzheng, sameer.abuasal, apazos, luismarques,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72471
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoA.td
The file was modifiedllvm/test/MC/RISCV/rva-aliases-invalid.s
Commit a6342c247a17fb270e0385bd1deb463b7309a43b by czhengsz
[SCEV] accurate range for addrecexpr with nuw flag
If addrecexpr has nuw flag, the value should never be less than its
start value and start value does not required to be SCEVConstant.
Reviewed By: nikic, sanjoy
Differential Revision: https://reviews.llvm.org/D71690
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/test/Analysis/ScalarEvolution/range_nw_flag.ll
Commit 1ad1308b69b89cc87533c16957189a84e1dd9754 by zeratul976
[clangd] Assert that the testcases in FindExplicitReferencesTest.All
have no diagnostics
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72355
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
Commit 79a09d8bf4d508b0ae6a1e3c90907488092678c5 by zeratul976
[clangd] Show template arguments in type hierarchy when possible
Summary: Fixes https://github.com/clangd/clangd/issues/31
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet,
usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71533
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp
Commit a10527cd3731e2ef246c4797fb099385a948f62f by arsenm2
AMDGPU/GlobalISel: Copy type when inserting readfirstlane
getDefIgnoringCopies will fail to find any def if no type is set if we
try to use it on the use's operand, so propagate the type.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.ds.ordered.swap.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.writelane.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.ds.gws.init.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.sendmsghalt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.ds.ordered.add.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.ds.gws.sema.v.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.sendmsg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.readlane.mir
Commit 555e7ee04cb5c44e0b11a2eda999e6910b4b27e1 by arsenm2
AMDGPU/GlobalISel: Don't use XEXEC class for SGPRs
We don't use the xexec register classes for arbitrary values anymore.
Avoids a test variance beween GlobalISel and SelectionDAG>
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-inttoptr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-zext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-smrd.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.class.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.ldexp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptr-add.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ashr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-trunc.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-intrinsic-trunc.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum-ieee.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-anyext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fceil.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fract.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-copy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-extract-vector-elt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptrtoint.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-shl.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fneg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fabs.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-lshr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptr-mask.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rcp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-implicit-def.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum-ieee.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-extract.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-merge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-concat-vectors.mir
Commit 3c868cbbda7e2ff66b8ed92b632a609aaac324ba by arsenm2
AMDGPU: Split test function
This avoids slightly different scheduling/regalloc behavior, and avoids
a test diff between GlobalISel and SelectionDAG.
The file was modifiedllvm/test/CodeGen/AMDGPU/write_register.ll
Commit 52aaf4a27576607dfc0833f5f88e5a15a30ceadb by craig.topper
[X86] Use SDNPOptInGlue instead of SDNPInGlue on a couple SDNodes.
At least one of these is used without a Glue. This doesn't seem to
change the X86GenDAGISel.inc output so maybe it doesn't matter?
The file was modifiedllvm/lib/Target/X86/X86InstrFPStack.td
Commit c958639098a8702b831952b1a1a677ae19190a55 by SourabhSingh.Tomar
[DWARF5][DebugInfo]: Added support for DebugInfo generation for auto
return type for C++ member functions.
Summary: This patch will provide support for auto return type for the
C++ member functions. Before this return type of the member function is
deduced and stored in the DIE. This patch includes llvm side
implementation of this feature.
Patch by: Awanish Pandey <Awanish.Pandey@amd.com>
Reviewers: dblaikie, aprantl, shafik, alok, SouraVX, jini.susan.george
Reviewed by: dblaikie
Differential Revision: https://reviews.llvm.org/D70524
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was addedllvm/test/DebugInfo/X86/debug-info-auto-return.ll
Commit 6d6a4590c5d4c7fc7445d72fe685f966b0a8cafb by SourabhSingh.Tomar
[DWARF5][clang]: Added support for DebugInfo generation for auto return
type for C++ member functions.
Summary: This patch will provide support for auto return type for the
C++ member functions.
This patch includes clang side implementation of this feature.
Patch by: Awanish Pandey <Awanish.Pandey@amd.com>
Reviewers: dblaikie, aprantl, shafik, alok, SouraVX, jini.susan.george
Reviewed by: dblaikie
Differential Revision: https://reviews.llvm.org/D70524
The file was modifiedclang/lib/CodeGen/CGDebugInfo.h
The file was addedclang/test/CodeGenCXX/debug-info-auto-return.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit 07028b5a87803a3a857d6dd6320a0f7de4db23ad by sjoerd.meijer
[SCEV] Follow up of D71563: addressing post commit comment. NFC.
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit 9d3e78e704fa6201bceb48f45fb061f572c5aa2e by sam.parker
[NFC] Update loop.decrement.reg intrinsic comment
Note that the intrinsic is now understood by SCEV and that other
optimisations can treat it as a sub.
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
Commit 3cad8ada4947dc6793e5af56d6dd0e6eed9e570f by zinenko
Add zero_extendi and sign_extendi to intrinsic namespace
Summary:
- update zero_extendi and sign_extendi in edsc/intrinsic namespace
- Builder API test for zero_extendi and sign_extendi
Differential Revision: https://reviews.llvm.org/D72298
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
The file was modifiedmlir/include/mlir/EDSC/Intrinsics.h
Commit ddf044290ede7d7fd47f4f673e3e628f551a8aac by Raphael Isemann
[lldb] Mark several tests as not dependent on debug info
Summary: This just adds `NO_DEBUG_INFO_TESTCASE` to tests that don't
really exercise anything debug information specific and therefore don't
need to be rerun for all debug information variants.
Reviewers: labath, jingham, aprantl, mib, jfb
Reviewed By: aprantl
Subscribers: dexonsmith, JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D72447
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/TestSBFrameFindValue.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/process/launch-with-shellexpand/TestLaunchWithShellExpand.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/target/create-no-such-arch/TestNoSuchArch.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/variable_out_of_scope/TestWatchedVarHitWhenInScope.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/statistics/basic/TestStats.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/command/nested_alias/TestNestedAlias.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/calculator_mode/TestCalculatorMode.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/apropos/with-process/TestAproposWithProcess.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/hello_watchlocation/TestWatchLocation.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/command/script_alias/TestCommandScriptAlias.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_events/TestWatchpointEvents.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/TestSBValuePersist.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/watchpoint_on_vectors/TestValueOfVectorVariable.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/offsetof/TestOffsetofCpp.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/c/offsetof/TestOffsetof.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/process/attach-resume/TestAttachResume.py
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_set_command/TestWatchLocationWithWatchSet.py
Commit c9babcbda77e69698825cfb9ce771352be93acee by selliott
[RISCV] Collect Statistics on Compressed Instructions
Summary: It is useful to keep statistics on how many instructions we
have compressed, so we can see if future changes are increasing or
decreasing this number.
Reviewers: asb, luismarques
Reviewed By: asb, luismarques
Subscribers: xbolva00, sameer.abuasal, hiraditya, 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,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67495
The file was modifiedllvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Commit 734aa1d133f264746f721a244d2c66bc99648ee5 by usx
[clangd] Publish xref for macros from Index and AST.
Summary: With this patch the `findReferences` API will return Xref for
macros. If the symbol under the cursor is a macro then we collect the
references to it from: 1. Main file by looking at the ParsedAST. (These
were added to the ParsedAST in https://reviews.llvm.org/D70008) 2. Files
other than the mainfile by looking at the:
* static index (Added in https://reviews.llvm.org/D70489)
* file index (Added in https://reviews.llvm.org/D71406) This patch
collects all the xref from the above places and outputs it in
`findReferences` API.
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72395
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
Commit e45fcfc3aa57bb237fd4fd694d0c257be66d5482 by sam.mccall
Revert "[DWARF5][clang]: Added support for DebugInfo generation for auto
return type for C++ member functions."
This reverts commit 6d6a4590c5d4c7fc7445d72fe685f966b0a8cafb, which
introduces a crash.
See https://reviews.llvm.org/D70524 for details.
The file was modifiedclang/lib/CodeGen/CGDebugInfo.h
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was removedclang/test/CodeGenCXX/debug-info-auto-return.cpp
Commit 96b8e1ac4674dd3035b6cc7b1b7ed8b946208ab1 by pavel
[lldb] Fix eh-frame-small-fde test for changes in lld
lld in 2bfee35 started emitting relocations for some intra-section jumps
between global symbols. This shifted the code around a bit, invalidating
text expectations.
Change the symbols to local to keep the previous behavior.
The file was modifiedlldb/test/Shell/Unwind/Inputs/eh-frame-small-fde.s
Commit 10c11e4e2d05cf0e8f8251f50d84ce77eb1e9b8d by peter.smith
This option allows selecting the TLS size in the local exec TLS model,
which is the default TLS model for non-PIC objects. This allows large/
many thread local variables or a compact/fast code in an executable.
Specification is same as that of GCC. For example, the code model option
precedes the TLS size option.
TLS access models other than local-exec are not changed. It means
supoort of the large code model is only in the local exec TLS model.
Patch By KAWASHIMA Takahiro (kawashima-fj <t-kawashima@fujitsu.com>)
Reviewers: dmgreen, mstorsjo, t.p.northover, peter.smith, ostannard
Reviewd By: peter.smith Committed by: peter.smith
Differential Revision: https://reviews.llvm.org/D71688
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/include/llvm/Target/TargetOptions.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.inc
The file was addedclang/test/Driver/tls-size.c
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was removedllvm/test/CodeGen/AArch64/arm64-tls-execs.ll
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedllvm/test/CodeGen/AArch64/arm64-tls-initial-exec.ll
The file was addedllvm/test/CodeGen/AArch64/arm64-tls-local-exec.ll
Commit add04b9653848de583c542e0596737f7d7c21553 by sjoerd.meijer
ARMLowOverheadLoops: return earlier to avoid printing irrelevant dbg
msg. NFC
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Commit b6ffa2fe1250a8f506cc66044275b0bced56059e by james.henderson
[DebugInfo][Support] Replace DWARFDataExtractor size function
This patch adds a new size function to the base DataExtractor class,
which removes the need for the DWARFDataExtractor size function.
It is unclear why DWARFDataExtractor's size function returned zero in
some circumstances (i.e. when it is constructed without a section, and
with a different data source instead), so that behaviour has changed.
The old behaviour could cause an assertion in the debug line parser, as
the size did not reflect the actual data available, and could be lower
than the current offset being parsed.
Reviewed by: dblaikie
Differential Revision: https://reviews.llvm.org/D72337
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h
The file was modifiedllvm/unittests/Support/DataExtractorTest.cpp
The file was modifiedllvm/include/llvm/Support/DataExtractor.h
Commit af4adb07cd18b7081ec5818aee385654c8454356 by Raphael Isemann
[lldb][NFC] Use range-based for loops in IRInterpreter
The file was modifiedlldb/source/Expression/IRInterpreter.cpp
Commit bf7225888a99f49afac0b95a8996d0a942b6b0e3 by jan.kratochvil
[lldb] Fix lookup of symbols with the same address range but different
binding
This fixes a failing testcase on Fedora 30 x86_64 (regression Fedora
29->30):
PASS:
./bin/lldb
./lldb-test-build.noindex/functionalities/unwind/noreturn/TestNoreturnUnwind.test_dwarf/a.out
-o 'settings set symbols.enable-external-lookup false' -o r -o bt -o
quit
* frame #0: 0x00007ffff7aa6e75 libc.so.6`__GI_raise + 325
   frame #1: 0x00007ffff7a91895 libc.so.6`__GI_abort + 295
   frame #2: 0x0000000000401140 a.out`func_c at main.c:12:2
   frame #3: 0x000000000040113a a.out`func_b at main.c:18:2
   frame #4: 0x0000000000401134 a.out`func_a at main.c:26:2
   frame #5: 0x000000000040112e a.out`main(argc=<unavailable>,
argv=<unavailable>) at main.c:32:2
   frame #6: 0x00007ffff7a92f33 libc.so.6`__libc_start_main + 243
   frame #7: 0x000000000040106e a.out`_start + 46
vs.
FAIL - unrecognized abort() function:
./bin/lldb
./lldb-test-build.noindex/functionalities/unwind/noreturn/TestNoreturnUnwind.test_dwarf/a.out
-o 'settings set symbols.enable-external-lookup false' -o r -o bt -o
quit
* frame #0: 0x00007ffff7aa6e75 libc.so.6`.annobin_raise.c + 325
   frame #1: 0x00007ffff7a91895
libc.so.6`.annobin_loadmsgcat.c_end.unlikely + 295
   frame #2: 0x0000000000401140 a.out`func_c at main.c:12:2
   frame #3: 0x000000000040113a a.out`func_b at main.c:18:2
   frame #4: 0x0000000000401134 a.out`func_a at main.c:26:2
   frame #5: 0x000000000040112e a.out`main(argc=<unavailable>,
argv=<unavailable>) at main.c:32:2
   frame #6: 0x00007ffff7a92f33 libc.so.6`.annobin_libc_start.c + 243
   frame #7: 0x000000000040106e a.out`.annobin_init.c.hot + 46
The extra ELF symbols are there due to Annobin (I did not investigate
why this problem happened specifically since F-30 and not since F-28).
It is due to:
Symbol table '.dynsym' contains 2361 entries: Valu e          Size Type
Bind   Vis     Name 0000000000022769   5 FUNC   LOCAL  DEFAULT
_nl_load_domain.cold 000000000002276e   0 NOTYPE LOCAL  HIDDEN
.annobin_abort.c.unlikely
... 000000000002276e   0 NOTYPE LOCAL  HIDDEN
.annobin_loadmsgcat.c_end.unlikely
... 000000000002276e   0 NOTYPE LOCAL  HIDDEN
.annobin_textdomain.c_end.unlikely 000000000002276e 548 FUNC   GLOBAL
DEFAULT abort 000000000002276e 548 FUNC   GLOBAL DEFAULT
abort@@GLIBC_2.2.5 000000000002276e 548 FUNC   LOCAL  DEFAULT __GI_abort
0000000000022992   0 NOTYPE LOCAL  HIDDEN  .annobin_abort.c_end.unlikely
GDB has some more complicated preferences between overlapping and/or
sharing address symbols, I have made here so far the most simple fix for
this case.
Differential revision: https://reviews.llvm.org/D63540
The file was addedlldb/test/Shell/SymbolFile/symbol-binding.test
The file was modifiedlldb/include/lldb/Symbol/Symtab.h
The file was modifiedlldb/source/Symbol/Symtab.cpp
The file was addedlldb/test/Shell/SymbolFile/Inputs/symbol-binding.s
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
Commit 7f1cf7d5f658b15abb8bd6840fc01e6d44487a23 by llvm-dev
[X86] Fix MSVC "truncation from 'int' to 'bool'" warning. NFCI.
The file was modifiedllvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
Commit 8f49204f26ea8856b870d4c2344b98f4b706bea0 by llvm-dev
[SelectionDAG] ComputeKnownBits - minimum leading/trailing zero bits in
LSHR/SHL (PR44526)
As detailed in https://blog.regehr.org/archives/1709 we don't make use
of the known leading/trailing zeros for shifted values in cases where we
don't know the shift amount value.
This patch adds support to SelectionDAG::ComputeKnownBits to use
KnownBits::countMinTrailingZeros and countMinLeadingZeros to set the
minimum guaranteed leading/trailing known zero bits.
Differential Revision: https://reviews.llvm.org/D72573
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-rot-128.ll
The file was modifiedllvm/test/CodeGen/X86/avx2-vector-shifts.ll
The file was modifiedllvm/test/CodeGen/Mips/llvm-ir/lshr.ll
The file was modifiedllvm/test/CodeGen/BPF/shifts.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-lshr-128.ll
The file was modifiedllvm/test/CodeGen/AArch64/hoist-and-by-const-from-shl-in-eqcmp-zero.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shl.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-128.ll
The file was modifiedllvm/test/CodeGen/ARM/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll
The file was modifiedllvm/test/CodeGen/X86/avx2-shift.ll
The file was modifiedllvm/test/CodeGen/AArch64/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/lshr.v2i16.ll
The file was modifiedllvm/test/CodeGen/ARM/hoist-and-by-const-from-shl-in-eqcmp-zero.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shl.v2i16.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-rot-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-lshr-sub128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-128.ll
Commit 804dd6722762040e7ce7e04bf97b19d9596fee20 by Milos.Stojanovic
[llvm-exegesis][mips] Expand loadImmediate()
Add support for loading 32-bit immediates and enable the use of GPR64
registers.
Differential Revision: https://reviews.llvm.org/D71873
The file was modifiedllvm/unittests/tools/llvm-exegesis/Mips/TargetTest.cpp
The file was addedllvm/test/tools/llvm-exegesis/Mips/latency-GPR64.s
The file was modifiedllvm/tools/llvm-exegesis/lib/Mips/Target.cpp
Commit b96ec492d34ecf31fd2c8d2f0033f00e36cc2b9c by oliver.stannard
[clangd] Remove raw string literals in macros
Older (but still supported) versions of GCC don't handle C++11 raw
string literals in macro parameters correctly.
The file was modifiedclang-tools-extra/clangd/unittests/FormattedStringTests.cpp
Commit 7efc7ca8edf6762dc64472417dabfbbdd838ceeb by llvm-dev
[X86][SSE] Add knownbits test showing missing
getValidMinimumShiftAmountConstant() ISD::SHL support
As mentioned on D72573
The file was modifiedllvm/test/CodeGen/X86/combine-shl.ll
Commit ef5debac4302cd479ddd9e784a5b5acc8c2b9804 by llvm-dev
[SelectionDAG] ComputeKnownBits add getValidMinimumShiftAmountConstant()
ISD::SHL support
As mentioned on D72573
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/combine-shl.ll
Commit 6c203149b60e92e802df0c7a431744c337830a09 by oliver.stannard
[clang] Remove raw string literals in macros
Older (but still supported) versions of GCC don't handle C++11 raw
string literals in macro parameters correctly.
The file was modifiedclang/unittests/AST/ASTTraverserTest.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Commit c1fbede984ec1eb87b35218d3b8161d3a6e92318 by Raphael Isemann
[lldb][NFC] Remove debug print statement from TestExprDiagnostics.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/diagnostics/TestExprDiagnostics.py
Commit a70b993239a829f30ff1e5991670a0b28bf51459 by Milos.Stojanovic
[llvm-exegesis] Remove unneeded std::move()
Caught by buildbot breakage:
/home/docker/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm/llvm/tools/llvm-exegesis/lib/Mips/Target.cpp:89:12:
error: moving a local object in a return statement prevents copy elision
[-Werror,-Wpessimizing-move]
   return std::move(Instructions);
          ^
/home/docker/worker_env/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm/llvm/tools/llvm-exegesis/lib/Mips/Target.cpp:89:12:
note: remove std::move call here
   return std::move(Instructions);
          ^~~~~~~~~~            ~
The file was modifiedllvm/tools/llvm-exegesis/lib/Mips/Target.cpp
Commit d7d88b9d8b3efd8b4b07074aa64b5b4136a35b2c by arsenm2
GlobalISel: Fix assertion on wide G_ZEXT sources
It's possible to have a type that needs a mask greater than 64-bits.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-zext.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
Commit 04a86966fbf46809d7a165b1f089e4d076f0f8a5 by ulrich.weigand
[FPEnv] Fix chain handling for fpexcept.strict nodes
We need to ensure that fpexcept.strict nodes are not optimized away even
if the result is unused. To do that, we need to chain them into the
block's terminator nodes, like already done for PendingExcepts.
This patch adds two new lists of pending chains, PendingConstrainedFP
and PendingConstrainedFPStrict to hold constrained FP intrinsic nodes
without and with fpexcept.strict markers. This allows not only to solve
the above problem, but also to relax chains a bit further by no longer
flushing all FP nodes before a store or other memory access. (They are
still flushed before nodes with other side effects.)
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D72341
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-alias.ll
The file was modifiedllvm/test/CodeGen/X86/fp128-libcalls-strict.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ppcf128-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/fp128-cast-strict.ll
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics-flags.ll
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/test/CodeGen/SystemZ/vector-constrained-fp-intrinsics.ll
Commit 6a634a5dba847e1c1d81bf59f76dfa7d76ac3c4c by oliver.stannard
Revert "[libc++] Explicitly enumerate std::string external
instantiations."
This is causing failures for multiple buildbots and bootstrap builds,
details at https://reviews.llvm.org/rG61bd1920.
This reverts commit 61bd19206f61ace4b007838a2ff8884a13ec0374.
The file was modifiedlibcxx/include/__string
The file was modifiedlibcxx/src/string.cpp
The file was modifiedlibcxx/include/string
The file was modifiedlibcxx/include/__config
Commit 89ba150240a45cac88216b6127efb523fb9506b0 by llvm-dev
[X86] Add knownbits tests showing missing shift amount demanded elts
handling.
The file was modifiedllvm/test/CodeGen/X86/combine-shl.ll
The file was modifiedllvm/test/CodeGen/X86/known-bits-vector.ll
Commit 6d1a8fd447934387605ea11d35e1b62866b7d093 by llvm-dev
[SelectionDAG] ComputeKnownBits - Add DemandedElts support to
getValidShiftAmountConstant/getValidMinimumShiftAmountConstant()
The file was modifiedllvm/test/CodeGen/X86/known-bits-vector.ll
The file was modifiedllvm/test/CodeGen/X86/combine-shl.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 376bc39c829fab7ad14424c5418c03ed6649d839 by llvm-dev
[SelectionDAG] ComputeNumSignBits - Use getValidShiftAmountConstant for
shift opcodes
getValidShiftAmountConstant handles out of bounds shift amounts for us,
allowing us to remove the local handling.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 26d2ace9e2305266be888e15392be29e3145163d by spatel
[InstSimplify] move tests for select from InstCombine; NFC
InstCombine has transforms that would enable these simplifications in an
indirect way, but those transforms are unsafe and likely to be removed.
The file was modifiedllvm/test/Transforms/InstSimplify/select.ll
The file was modifiedllvm/test/Transforms/InstCombine/select.ll
Commit 894f742acb977a09285dcab024e50c2cf6bce578 by Alexander.Richardson
[MIPS][ELF] Use PC-relative relocations in .eh_frame when possible
When compiling position-independent executables, we now use
DW_EH_PE_pcrel | DW_EH_PE_sdata4. However, the MIPS ABI does not define
a 64-bit PC-relative ELF relocation so we cannot use sdata8 for the
large code model case. When using the large code model, we fall back to
the previous behaviour of generating absolute relocations.
With this change clang-generated .o files can be linked by LLD without
having to pass -Wl,-z,notext (which creates text relocations). This is
simpler than the approach used by ld.bfd, which rewrites the
.eh_frame section to convert absolute relocations into relative
references.
I saw in D13104 that apparently ld.bfd did not accept pc-relative
relocations for MIPS ouput at some point. However, I also checked that
recent ld.bfd can process the clang-generated .o files so this no longer
seems true.
Reviewed By: atanasyan Differential Revision:
https://reviews.llvm.org/D72228
The file was addedlld/test/ELF/mips-eh_frame-pic.s
The file was modifiedllvm/test/DebugInfo/Mips/eh_frame.ll
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
The file was modifiedllvm/lib/Object/RelocationResolver.cpp
The file was modifiedllvm/test/MC/Mips/eh-frame.s
Commit 8e8ccf4712cf58562a91c197da3efd4f9963ce0d by Alexander.Richardson
[MIPS] Don't emit R_(MICRO)MIPS_JALR relocations against data symbols
The R_(MICRO)MIPS_JALR optimization only works when used against
functions. Using the relocation against a data symbol (e.g. function
pointer) will cause some linkers that don't ignore the hint in this case
(e.g. LLD prior to commit 5bab291b7b) to generate a relative branch to
the data symbol which crashes at run time. Before this patch, LLVM was
erroneously emitting these relocations against local-dynamic TLS
function pointers and global function pointers with internal visibility.
Reviewers: atanasyan, jrtc27, vstefanovic Reviewed By: atanasyan
Differential Revision: https://reviews.llvm.org/D72571
The file was modifiedllvm/lib/Target/Mips/MipsISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Mips/reloc-jalr.ll
Commit da33762de8531914d4d0dae16bfce2192f02bc79 by pablo.barrio
[AArch64] Emit HINT instead of PAC insns in Armv8.2-A or below
Summary: The Pointer Authentication Extension (PAC) was added in
Armv8.3-A. Some instructions are implemented in the HINT space to allow
compiling code common to CPUs regardless of whether they feature PAC or
not, and still benefit from PAC protection in the PAC-enabled CPUs.
The 8.3-specific mnemonics were currently enabled in any architecture,
and LLVM was emitting them in assembly files when PAC code generation
was enabled. This was ok for compilations where both LLVM codegen and
the integrated assembler were used. However, the LLVM codegen was not
compatible with other assemblers (e.g. GAS). Given the fact that the
approach from these assemblers (i.e. to disallow Armv8.3-A mnemonics if
compiling for Armv8.2-A or lower) is entirely reasonable, this patch
makes LLVM to emit HINT when building for Armv8.2-A and below, instead
of PACIASP, AUTIASP and friends. Then, LLVM assembly should be
compatible with other assemblers.
Reviewers: samparker, chill, LukeCheeseman
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71658
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-cfi.ll
The file was modifiedllvm/test/CodeGen/AArch64/sign-return-address.ll
The file was modifiedllvm/test/CodeGen/AArch64/speculation-hardening-dagisel.ll
The file was modifiedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-diff-scope-same-key.ll
The file was modifiedllvm/test/CodeGen/AArch64/speculation-hardening-loads.ll
The file was modifiedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-non-leaf.ll
The file was modifiedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-a.ll
The file was modifiedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll
The file was modifiedllvm/test/MC/AArch64/armv8.3a-signed-pointer.s
The file was modifiedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-diff-key.ll
The file was modifiedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-b.ll
The file was modifiedllvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-subtarget.ll
Commit 0b91e78a719065c67b33bf82b0cde3d4ecfe3b7d by sam.mccall
Add missing triples to tests in 0c29d3ff2233696f663ae34a8aeda23c750ac68f
so they target the right arch.
The file was modifiedllvm/test/CodeGen/X86/align-branch-boundary-default.s
The file was modifiedllvm/test/CodeGen/X86/align-branch-boundary-default.ll
Commit 7af67259cdd66811941514a263dd0f81c491d8f1 by llvm-dev
Sema::getOwningModule - take const Decl* type.
Fixes static analyzer warning that const_cast was being used despite
only const methods being called.
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaOverload.cpp
Commit 40311f9724953541ab7b755fb6a96b31c1e63f00 by llvm-dev
Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointers are always
dereferenced and castAs will perform the null assertion for us.
The file was modifiedclang/lib/AST/ASTContext.cpp
Commit 025941785faf25a3d9ba2c1e7682ca6c2ad063af by llvm-dev
Fix some cppcheck shadow variable warnings. NFCI.
The file was modifiedclang/lib/AST/ASTContext.cpp
Commit 4647aae72f33b8742eb42c1fb869ebd4fdbb3038 by llvm-dev
Merge isVectorType() and getAs<VectorType> calls to silence clang static
analyzer warning. NFCI.
The file was modifiedclang/lib/AST/ASTDiagnostic.cpp
Commit b11027a08620dce2887377c830be239a4af478b6 by llvm-dev
Fix cppcheck uninitialized variable in DiffTree() constructor warning.
NFCI.
The file was modifiedclang/lib/AST/ASTDiagnostic.cpp
Commit 043c5eafa8789d76b06b93d157c928830c4d0814 by luismarques
[RISCV] Handle globals and block addresses in asm operands
Summary: These seem to be the machine operand types currently needed by
the RISC-V target.
Reviewers: asb, lenary Reviewed By: lenary Tags: #llvm Differential
Revision: https://reviews.llvm.org/D72275
The file was modifiedllvm/test/CodeGen/RISCV/inline-asm.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
Commit b4a99a061f517e60985667e39519f60186cbb469 by alexandre.ganea
[Clang][Driver] Re-use the calling process instead of creating a new
process for the cc1 invocation
With this patch, the clang tool will now call the -cc1 invocation
directly inside the same process. Previously, the -cc1 invocation was
creating, and waiting for, a new process. This patch therefore reduces
the number of created processes during a build, thus it reduces build
times on platforms where process creation can be costly (Windows) and/or
impacted by a antivirus. It also makes debugging a bit easier, as
there's no need to attach to the secondary -cc1 process anymore,
breakpoints will be hit inside the same process.
Crashes or signaling inside the -cc1 invocation will have the same
side-effect as before, and will be reported through the same means.
This behavior can be controlled at compile-time through the
CLANG_SPAWN_CC1 cmake flag, which defaults to OFF. Setting it to ON will
revert to the previous behavior, where any -cc1 invocation will
create/fork a secondary process. At run-time, it is also possible to
tweak the CLANG_SPAWN_CC1 environment variable. Setting it and will
override the compile-time setting. A value of 0 calls -cc1 inside the
calling process; a value of 1 will create a secondary process, as
before.
Differential Revision: https://reviews.llvm.org/D69825
The file was modifiedclang/test/Driver/warning-options_pedantic.cpp
The file was modifiedclang/tools/driver/driver.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/CMakeLists.txt
The file was modifiedclang/lib/Driver/Job.cpp
The file was addedclang/test/Driver/cc1-spawnprocess.c
The file was modifiedclang/test/Driver/clang_f_opts.c
The file was modifiedclang/test/Driver/fsanitize-blacklist.c
The file was modifiedclang/test/Driver/unknown-arg.c
The file was modifiedclang/include/clang/Driver/Driver.h
The file was modifiedclang/CMakeLists.txt
The file was modifiedclang/include/clang/Driver/Job.h
The file was modifiedclang/include/clang/Config/config.h.cmake
Commit e653d306ce90e5612796d8adce9eb34b1c10e85a by ntv
[mlir][Linalg] Update ReshapeOp::build to be more idiomatic
Summary: This diff makes it easier to create a `linalg.reshape` op and
adds an EDSC builder api test to exercise the new builders.
Reviewers: ftynse, jpienaar
Subscribers: mehdi_amini, rriddle, burmako, shauheen, antiagainst,
arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72580
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/EDSC/Intrinsics.h
Commit 6b686703e63f0e992438ce445cbe4b3e78b94ea4 by kazu
[Inlining] Add PreInlineThreshold for the new pass manager
Summary: This patch makes it easy to try out different preinlining
thresholds with a command-line switch just like -preinline-threshold for
the legacy pass manager.
Reviewers: davidxl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72618
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
Commit 202ab273e6eca134b69882f100c666fcd3affbcf by julian.gross
[mlir] Added missing GPU lowering ops.
Summary: This diff adds missing GPU lowering ops to MLIR.
Reviewers: herhut, pifon2a, ftynse
Tags: #pre-merge_beta_testing, #llvm
Differential Revision: https://reviews.llvm.org/D72439
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir
The file was modifiedmlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
The file was modifiedmlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
Commit 81e7922e83cf9782a39f4072e20eab8ab1e99828 by zinenko
[mlir] m_Constant()
Summary: Introduce m_Constant() which allows matching a constant
operation without forcing the user also to capture the attribute value.
Differential Revision: https://reviews.llvm.org/D72397
The file was modifiedmlir/include/mlir/IR/Matchers.h
The file was modifiedmlir/test/IR/test-matchers.mlir
The file was modifiedmlir/lib/IR/Builders.cpp
The file was modifiedmlir/test/lib/IR/TestMatchers.cpp
Commit 07804f75a6cc506fada40c474f1e60840ce737d8 by james.henderson
[DebugInfo] Make debug line address size mismatch non-fatal to parsing
Reasonable assumptions can be made when a parsed address length does not
match the expected length, so there's no need for this to be fatal.
Reviewed by: ikudrin
Differential Revision: https://reviews.llvm.org/D72154
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
Commit 2af97be8027a0823b88d4b6a07fc5eedb440bc1f by tejohnson
[ThinLTO] Add additional ThinLTO pipeline testing with new PM
Summary: I've added some more extensive ThinLTO pipeline testing with
the new PM, motivated by the bug fixed in D72386.
I beefed up llvm/test/Other/new-pm-pgo.ll a little so that it tests
ThinLTO pre and post link with PGO, similar to the testing for the
default pipelines with PGO.
Added new pre and post link PGO tests for both instrumentation and
sample PGO that exhaustively test the pipelines at different
optimization levels via opt.
Added a clang test to exhaustively test the post link pipeline invoked
for distributed builds. I am currently only testing O2 and O3 since
these are the most important for performance.
It would be nice to add similar exhaustive testing for full LTO, and for
the old PM, but I don't have the bandwidth now and this is a start to
cover some of the situations that are not currently default and were
under tested.
Reviewers: wmi
Subscribers: mehdi_amini, inglorion, hiraditya, steven_wu, dexonsmith,
jfb, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D72538
The file was modifiedllvm/test/Other/new-pm-pgo.ll
The file was addedllvm/test/Other/Inputs/new-pm-thinlto-prelink-pgo-defaults.proftext
The file was addedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was addedclang/test/CodeGen/thinlto-distributed-newpm.ll
The file was addedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was addedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was addedllvm/test/Other/Inputs/new-pm-thinlto-samplepgo-defaults.prof
The file was addedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
Commit 2d7e757a836abb54590daa25fce626283adafadf by danilo.carvalho.grael
[AArch64][SVE] Add patterns for some arith SVE instructions.
Summary: Add patterns for the following instructions:
- smax, smin, umax, umin
Reviewers: sdesmalen, huntergr, rengolin, efriedma, c-rhodes, mgudim,
kmclaughlin
Subscribers: amehsan
Differential Revision: https://reviews.llvm.org/D71779
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was addedllvm/test/CodeGen/AArch64/sve-int-arith-imm.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Commit 90555d9253437d53fe03c26db73faf9c0ca14c82 by david.green
[Scheduler] Remove superfluous casts. NFC
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
Commit ee4aa1a228b31ec8b8bd3c4a793c7fa92fec88d6 by llvm-dev
[X86] Add AVX2 known signbits codegen tests
The file was modifiedllvm/test/CodeGen/X86/known-signbits-vector.ll
Commit 7afaa0099b907842b281c25c2a57937a2c307d3b by llvm-dev
[X86][SSE] Add sitofp(ashr(x,y)) test case with non-uniform shift value
The file was modifiedllvm/test/CodeGen/X86/known-signbits-vector.ll
Commit 38e2c01221a9751c0b797417747200d2e9513b9f by llvm-dev
[SelectionDAG] ComputeNumSignBits add
getValidMinimumShiftAmountConstant() ISD::SRA support
Allows us to handle more non-uniform SRA sign bits cases
The file was modifiedllvm/test/CodeGen/X86/known-signbits-vector.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 05366870eed154c7eb48c7cc3873ea5188f54cc9 by weiwei64
[LegalizeTypes] Add SoftenFloatResult support for
STRICT_SINT_TO_FP/STRICT_UINT_TO_FP
Some target like arm/riscv with soft-float will have compiling crash
when using -fno-unsafe-math-optimization option. This patch will add the
missing strict FP support to SoftenFloatRes_XINT_TO_FP.
Differential Revision: https://reviews.llvm.org/D72277
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
The file was modifiedllvm/test/CodeGen/ARM/fp-intrinsics.ll
Commit f2bbe8ede057af13b56949f24bbfb436f8a55f97 by Jonas Devlieghere
[lldb/Scripts] Remove SWIG bot
This is no longer used or maintained.
Differential revision: https://reviews.llvm.org/D72539
The file was removedlldb/scripts/swig_bot_lib/client.py
The file was removedlldb/scripts/swig_bot_lib/local.py
The file was removedlldb/scripts/swig_bot_lib/server.py
The file was removedlldb/scripts/swig_bot.py
The file was removedlldb/scripts/swig_bot_lib/remote.py
Commit bb2e5f5e454245c8e7e9e4c9bf7a463c64604292 by tejohnson
Fix tests for builtbot failures
Should fix most of the buildbot failures from
2af97be8027a0823b88d4b6a07fc5eedb440bc1f, by loosening up the matching
on the AnalysisProxy output.
Added in --dump-input=fail on the one test that appears to be something
different, so I can hopefully debug it better.
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedclang/test/CodeGen/thinlto-distributed-newpm.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
Commit 9d30d769041b14c0ff29770d59027e679e6b7edc by Jonas Devlieghere
[lldb/Docs] Extend description section of the main page
The current description is a bit terse. I've copy/pasted the
introduction form the website.
The file was modifiedlldb/docs/man/lldb.rst
Commit ffc05d0dbc88b89756d553ff32abefe720d27742 by llvm-dev
[X86][SSE] Add sitofp(shl(sext(x),y)) test case with non-uniform shift
value
Shows that for non-uniform SHL shifts we fail to determine the minimum
number of sign bits remaining (based off the maximum shift amount value)
The file was modifiedllvm/test/CodeGen/X86/known-signbits-vector.ll
Commit 7d9b0a61c32b95fdc73228266d3f14687a8ada95 by arsenm2
AMDGPU/GlobalISel: Simplify assert
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit ca19d7a3993c69633826ae388155c9ad176b11df by arsenm2
AMDGPU/GlobalISel: Fix branch targets when emitting SI_IF
The branch target needs to be changed depending on whether there is an
unconditional branch or not.
Loops also need to be similarly fixed, but compiling a simple testcase
end to end requires another set of patches that aren't upstream yet.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
Commit 2f090cc8f1a3144c81b024bdc52ec1ae49dc0def by arsenm2
AMDGPU/GlobalISel: Add some baseline tests for vector extract
A future change will try to fold constant offsets into the loop which
these will stress.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-extract-vector-elt.mir
Commit 3d8f1b2d22be79aab3d246fa5bc9c24b911b0bd2 by arsenm2
AMDGPU/GlobalISel: Set insert point after waterfall loop
The current users of the waterfall loop utility functions do not make
use of the restored original insert point. The insertion is either done,
or they set the insert point somewhere else. A future change will want
to insert instructions after the waterfall loop, but figuring out the
point after the loop is more difficult than ensuring the insert point is
there after the loop.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit c6fcd5d115b62280669719c5ead436904c93d6cb by llvm-dev
[SelectionDAG] ComputeNumSignBits add
getValidMaximumShiftAmountConstant() for ISD::SHL support
Allows us to handle non-uniform SHL shifts to determine the minimum
number of sign bits remaining (based off the maximum shift amount value)
The file was modifiedllvm/test/CodeGen/X86/known-signbits-vector.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 203801425d222555fa2617fff19ecd861525429f by arsenm2
AMDGPU/GlobalISel: Select llvm.amdgcn.ds.ordered.{add|swap}
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ds.ordered.add.gfx10.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ds.ordered.swap.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ds.ordered.add.ll
Commit 292562c0046c72ea1ed229dbe13a89dca73e5b89 by tejohnson
Try number 2 for fixing bot failures
Additional fixes for bot failures from
2af97be8027a0823b88d4b6a07fc5eedb440bc1f. Remove more exact matching on
AnalyisManagers, as they can vary. Also allow different orders between
LoopAnalysis and BranchProbabilityAnalysis as that can vary due to both
being accessed in the parameter list of a call.
The file was modifiedclang/test/CodeGen/thinlto-distributed-newpm.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
Commit a2cd4fe6bf2a4e37d5f69b0b19cb1134a14e2970 by benny.kra
Unbreak the mlir build after 202ab273e6eca134b69882f100c666fcd3affbcf
The file was modifiedmlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
Commit fb79ef524171c96a9f3df025ac7a8a3e00fdc0b4 by aaron
Fix readability-identifier-naming missing member variables
Fixes PR41122 (missing fixes for member variables in a destructor) and
PR29005 (does not rename class members in all locations).
The file was modifiedclang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-member-decl-usage.cpp
Commit 7aed43b60739653b13b8503f9df4c958c44feed8 by tejohnson
Hopefully last fix for bot failures
Hopefully final bot fix for last few failures from
2af97be8027a0823b88d4b6a07fc5eedb440bc1f.
Looks like sometimes the "llvm::" preceeding objects get printed in the
debug pass manager output and sometimes they don't. Replace with
wildcard matching.
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was modifiedclang/test/CodeGen/thinlto-distributed-newpm.ll
Commit 484a7472f1aa6906f2b66dc33bcf69cc8d5b9f29 by puyan
[llvm][MIRVRegNamerUtils] Adding hashing on FrameIndex MachineOperands.
This patch makes it so that cases where multiple instructions that
differ only in their FrameIndex MachineOperand values no longer collide.
For instance:
%1:_(p0) = G_FRAME_INDEX %stack.0
%2:_(p0) = G_FRAME_INDEX %stack.1
Prior to this patch these instructions would collide together.
Differential Revision: https://reviews.llvm.org/D71583
The file was addedllvm/test/CodeGen/MIR/X86/mir-namer-hash-frameindex.mir
The file was modifiedllvm/lib/CodeGen/MIRVRegNamerUtils.cpp
Commit 64a93afc3c630c39e5c583e4f67aef5821d635b6 by maskray
[X86][Disassembler] Fix a bug when disassembling an empty string
readPrefixes() assumes insn->bytes is non-empty. The code path is not
exercised in llvm-mc because llvm-mc does not feed empty input to
MCDisassembler::getInstruction().
This bug is uncovered by a5994c789a2982a770254ae1607b5b4cb641f73c. An
empty string did not crash before because the deleted regionReader()
allowed UINT64_C(-1) as insn->readerCursor.
  Bytes.size() <= Address -> R->Base
0 <= UINT64_C(-1) - UINT32_C(-1)
The file was modifiedllvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
The file was modifiedllvm/unittests/MC/Disassembler.cpp
Commit cb988a858abbaf1a1ae0fe03f2a1dae692131ea9 by tejohnson
Add a couple of missed wildcards in debug-pass-manager output checking
Along with the previous fix for bot failures from
2af97be8027a0823b88d4b6a07fc5eedb440bc1f, need to add a wildcard in a
couple of places where my local output did not print "llvm::" but the
bot is.
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedclang/test/CodeGen/thinlto-distributed-newpm.ll
Commit 6288f86e870c7bb7fe47cc138320b9eb34c93941 by tejohnson
Revert "[ThinLTO] Add additional ThinLTO pipeline testing with new PM"
This reverts commit 2af97be8027a0823b88d4b6a07fc5eedb440bc1f.
After attempting to fix bot failures from matching issues (mostly due to
inconsistent printing of "llvm::" prefixes on objects, and
AnalysisManager objects being printed differntly, I am now seeing some
differences I don't understand (real differences in the passes being
printed). Giving up at this point to allow the bots to recover. Will
revisit later.
The file was removedclang/test/CodeGen/thinlto-distributed-newpm.ll
The file was removedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was removedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was removedllvm/test/Other/Inputs/new-pm-thinlto-prelink-pgo-defaults.proftext
The file was modifiedllvm/test/Other/new-pm-pgo.ll
The file was removedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was removedllvm/test/Other/Inputs/new-pm-thinlto-samplepgo-defaults.prof
The file was removedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
Commit 2b530053e9d696ada9269e7396180fc6262d2861 by thakis
[gn build] (manually) port b4a99a061f51
The file was modifiedllvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
Commit 15078d7202b410fd15eedc49d2ab2e4fe9a9f177 by kadircet
[clangd] Render header of hover card as a heading
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72625
The file was modifiedclang-tools-extra/clangd/unittests/FormattedStringTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/FormattedString.cpp
The file was modifiedclang-tools-extra/clangd/FormattedString.h
Commit f5465e74ef4c9e24f867002aa598dc9e6481ead3 by kadircet
[clangd] Include expression in DecltypeTypeLoc sourcerange while
building SelectionTree
Summary: Currently AST only contains the location for `decltype`
keyword, therefore we were skipping expressions inside decltype while
building selection tree.
This patch extends source range in such cases to contain the expression
as well. A proper fix would require changes to Sema and DecltypeTypeLoc
to contain these location information.
Fixes https://github.com/clangd/clangd/issues/250.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72594
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
The file was modifiedclang-tools-extra/clangd/Selection.cpp
Commit 2bb154591fab6c1d3a99d63ef03c234f0a363410 by apl
[lldb-server] Remove dead CMake code
No files in lldb-server are including a header from a plugin without the
whole path to the header relative to the lldb source directory. There is
no need to include the specific directories as a result.
The file was modifiedlldb/tools/lldb-server/CMakeLists.txt
Commit 231875e111facf6d15553dff9d7c04d3e9e4a404 by phosek
[Clang] Always set -z now linker option on Fuchsia
This should be the default on Fuchsia.
Differential Revision: https://reviews.llvm.org/D70576
The file was modifiedclang/test/Driver/fuchsia.cpp
The file was modifiedclang/test/Driver/fuchsia.c
The file was modifiedclang/lib/Driver/ToolChains/Fuchsia.cpp
Commit a0f4600f4f0ece1d4779544513f5a70c6f0d78bf by daniel_l_sanders
Rework be15dfa88fb1 such that it works with GlobalISel which doesn't use
EVT
Summary: be15dfa88fb1 broke GlobalISel's usage of getSetCCInverse()
which currently appears to be limited to our out-of-tree backend.
GlobalISel doesn't use EVT's and isn't able to derive them from the
information it has as it doesn't distinguish between integer and
floating point types (that distinction is made by operations rather than
values). Bring back the bool version of getSetCCInverse() in a way that
doesn't break the intent of be15dfa88fb1 but also allows GlobalISel to
continue using it.
Reviewers: spatel, bogner, arichardson
Reviewed By: arichardson
Subscribers: rovka, hiraditya, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72309
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
Commit d0aad9f56e1588effa94b15804b098e6307da6b4 by tejohnson
[LTO] Constify lto::Config reference passed to backends (NFC)
The lto::Config object saved on the global LTO object should not be
updated by any of the LTO backends. Otherwise we could run into
interference between threads utilizing it. Motivated by some proposed
changes that would have caused it to get modified in the ThinLTO
backends.
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/include/llvm/LTO/LTOBackend.h
The file was modifiedllvm/include/llvm/LTO/LTO.h
The file was modifiedllvm/lib/LTO/LTOBackend.cpp
Commit f163755eb0a86508d3bfe1822b7f635952b66104 by a.v.lapshin
[Dsymutil][Debuginfo][NFC] #3 Refactor dsymutil to separate DWARF
optimizing part.
Summary: This is the next portion of patches for dsymutil.
Create DwarfEmitter interface to generate all debug info tables. Put
DwarfEmitter into DwarfLinker library and make
tools/dsymutil/DwarfStreamer to be child of DwarfEmitter.
It passes check-all testing. MD5 checksum for clang .dSYM bundle matches
for the dsymutil with/without that patch.
Reviewers: JDevlieghere, friss, dblaikie, aprantl
Reviewed By: JDevlieghere
Subscribers: merge_guards_bot, hiraditya, thegameg, probinson,
llvm-commits
Tags: #llvm, #debug-info
Differential Revision: https://reviews.llvm.org/D72476
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.h
The file was modifiedllvm/lib/DWARFLinker/DWARFLinker.cpp
The file was modifiedllvm/tools/dsymutil/DwarfLinkerForBinary.h
The file was modifiedllvm/tools/dsymutil/DwarfLinkerForBinary.cpp
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was modifiedllvm/include/llvm/DWARFLinker/DWARFLinker.h
Commit 69f4cea413991a2a96635c58272bd4205f3e0c36 by spatel
[InstCombine] add tests for select --> copysign; NFC
This is testing for another (possibly final) transform suggested in:
https://bugs.llvm.org/show_bug.cgi?id=44153
The file was modifiedllvm/test/Transforms/InstCombine/select.ll
Commit c1b13a1b17719aebace1b3be7a6ac7f90b1901a6 by aaron
Fix a test case by adding -fno-delayed-template-parsing.
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-member-decl-usage.cpp
Commit b7526cc21ce55c8b53250df3d659fbdae3f894a7 by puyan
[NFC][clang][IFS] Adding braces to if-statement as prep for D71301.
Just trying to make https://reviews.llvm.org/D71301 look cleaner.
The file was modifiedclang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
Commit bd8c8827d96f09be502f0da6897c1aef89e45c30 by puyan
[clang][IFS] Prevent Clang-IFS from Leaking symbols from inside a block.
Built libdispatch with clang interface stubs. Ran into some block
related issues. Basically VarDecl symbols can leak out because I wasn't
checking the case where a VarDecl is contained inside a BlockDecl
(versus a method or function).
This patch checks that a VarDecl is not a child decl of a BlockDecl.
This patch also does something very similar for c++ lambdas as well.
Differential Revision: https://reviews.llvm.org/D71301
The file was addedclang/test/InterfaceStubs/lambda.cpp
The file was modifiedclang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
The file was addedclang/test/InterfaceStubs/blocks.c
Commit 577efd09e3b7b3a1ec7fcf0597397f137da99843 by Raphael Isemann
[lldb] Revert ddf044290ede for TestProcessAPI.py
It seems ddf044290ede7d7fd47f4f673e3e628f551a8aac caused the test to
time out on the Windows bot, but it's unclear to me why.
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
Commit 26c7a4ed101fae85d2041ee1c8e8483b96e4460e by craig.topper
[LegalizeIntegerTypes][X86] Add support for expanding input of
STRICT_SINT_TO_FP/STRICT_UINT_TO_FP into a libcall.
Needed to support i128->fp128 on 32-bit X86.
Add full set of strict sint_to_fp/uint_to_fp conversion tests for fp128.
The file was modifiedllvm/test/CodeGen/X86/fp128-cast-strict.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Commit 4268e4f4b84b85266426e99050d31ec63f3ce8aa by riverriddle
[mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid
conflicts with function types.
Summary: The current syntax for AffineMapAttr and IntegerSetAttr
conflict with function types, making it currently impossible to
round-trip function types(and e.g. FuncOp) in the IR. This revision
changes the syntax for the attributes by wrapping them in a keyword.
AffineMapAttr is wrapped with `affine_map<>` and IntegerSetAttr is
wrapped with `affine_set<>`.
Reviewed By: nicolasvasilache, ftynse
Differential Revision: https://reviews.llvm.org/D72429
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile.mlir
The file was modifiedmlir/test/Dialect/Linalg/transform-patterns.mlir
The file was modifiedmlir/test/IR/invalid-ops.mlir
The file was modifiedmlir/test/Transforms/strip-debuginfo.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile_indexed_generic.mlir
The file was modifiedmlir/test/AffineOps/canonicalize.mlir
The file was modifiedmlir/test/IR/invalid-affinemap.mlir
The file was modifiedmlir/docs/Dialects/Affine.md
The file was modifiedmlir/test/Dialect/Linalg/promote.mlir
The file was modifiedmlir/test/mlir-cpu-runner/linalg_integration_test.mlir
The file was modifiedmlir/test/Transforms/slicing-utils.mlir
The file was modifiedmlir/test/AffineOps/memref-stride-calculation.mlir
The file was modifiedmlir/test/Dialect/VectorOps/invalid.mlir
The file was modifiedmlir/test/Conversion/VectorToLoops/vector-to-loops.mlir
The file was modifiedmlir/test/Transforms/Vectorize/vectorize_outer_loop_transpose_2d.mlir
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-memref-ops.mlir
The file was modifiedmlir/docs/Dialects/Standard.md
The file was modifiedmlir/test/Transforms/simplify-affine-structures.mlir
The file was modifiedmlir/test/Transforms/memref-dependence-check.mlir
The file was modifiedmlir/test/AffineOps/inlining.mlir
The file was modifiedmlir/test/Transforms/loop-tiling.mlir
The file was modifiedmlir/test/Transforms/cse.mlir
The file was modifiedmlir/include/mlir/IR/DialectImplementation.h
The file was modifiedmlir/test/Dialect/Linalg/tile_conv.mlir
The file was modifiedmlir/test/Dialect/Linalg/fusion.mlir
The file was modifiedmlir/test/Transforms/pipeline-data-transfer.mlir
The file was modifiedmlir/test/Transforms/loop-fusion.mlir
The file was modifiedmlir/test/Transforms/Vectorize/normalize_maps.mlir
The file was modifiedmlir/test/Transforms/unroll-jam.mlir
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Dialect/Linalg/loops.mlir
The file was modifiedmlir/test/AffineOps/load-store-invalid.mlir
The file was modifiedmlir/test/Transforms/constant-fold.mlir
The file was modifiedmlir/test/Transforms/dma-generate.mlir
The file was modifiedmlir/test/Transforms/loop-fusion-slice-computation.mlir
The file was modifiedmlir/test/IR/core-ops.mlir
The file was modifiedmlir/test/IR/opaque_locations.mlir
The file was modifiedmlir/test/Dialect/Linalg/invalid.mlir
The file was modifiedmlir/test/Dialect/VectorOps/ops.mlir
The file was modifiedmlir/test/Transforms/affine-data-copy.mlir
The file was modifiedmlir/test/Transforms/lower-affine.mlir
The file was modifiedmlir/test/AffineOps/load-store.mlir
The file was modifiedmlir/docs/LangRef.md
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was modifiedmlir/test/AffineOps/ops.mlir
The file was modifiedmlir/test/Transforms/Vectorize/vectorize_1d.mlir
The file was modifiedmlir/test/AffineOps/invalid.mlir
The file was modifiedmlir/test/IR/affine-map.mlir
The file was modifiedmlir/test/Dialect/VectorOps/vector-transforms.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
The file was modifiedmlir/test/Transforms/affine-loop-invariant-code-motion.mlir
The file was modifiedmlir/test/Transforms/memref-normalize.mlir
The file was modifiedmlir/test/IR/invalid.mlir
The file was modifiedmlir/test/Dialect/SPIRV/composite-ops.mlir
The file was modifiedmlir/test/Transforms/memref-bound-check.mlir
The file was modifiedmlir/test/Dialect/Linalg/affine.mlir
The file was modifiedmlir/test/IR/locations.mlir
The file was modifiedmlir/test/IR/pretty-locations.mlir
The file was modifiedmlir/test/Transforms/loop-invariant-code-motion.mlir
The file was modifiedmlir/test/Transforms/Vectorize/vectorize_2d.mlir
The file was modifiedmlir/test/IR/memory-ops.mlir
The file was modifiedmlir/test/IR/parser.mlir
The file was modifiedmlir/test/Transforms/Vectorize/vectorize_transpose_2d.mlir
The file was modifiedmlir/test/Transforms/canonicalize.mlir
The file was modifiedmlir/test/Transforms/unroll.mlir
The file was modifiedmlir/test/Transforms/Vectorize/compose_maps.mlir
The file was modifiedmlir/test/IR/print-op-local-scope.mlir
The file was modifiedmlir/test/AffineOps/dma.mlir
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was modifiedmlir/test/Dialect/Linalg/llvm.mlir
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
The file was modifiedmlir/test/Transforms/Vectorize/vectorize_3d.mlir
The file was modifiedmlir/test/Transforms/memref-dataflow-opt.mlir
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/lib/Parser/TokenKinds.def
The file was modifiedmlir/test/Transforms/Vectorize/vectorize_outer_loop_2d.mlir
Commit 349636d2bfc39a5c81a835a95d203a42d9f9301a by erich.keane
Implement VectorType conditional operator GNU extension.
GCC supports the conditional operator on VectorTypes that acts as a
'select' in C++ mode. This patch implements the support. Types are
converted as closely to GCC's behavior as possible, though in a few
places consistency with our existing vector type support was preferred.
Note that this implementation is different from the OpenCL version in a
number of ways, so it unfortunately required a different implementation.
First, the SEMA rules and promotion rules are significantly different.
Secondly, GCC implements COND[i] != 0 ? LHS[i] : RHS[i] (where i is in
the range 0- VectorSize, for each element).  In OpenCL, the condition is
COND[i] < 0 ? LHS[i]: RHS[i].
In the process of implementing this, it was also required to make the
expression COND ? LHS : RHS type dependent if COND is type dependent,
since the type is now dependent on the condition.  For example:
    T ? 1 : 2;
Is not typically type dependent, since the result can be deduced from
the operands.  HOWEVER, if T is a VectorType now, it could change this
to a 'select' (basically a swizzle with a non-constant mask) with the 1
and 2 being promoted to vectors themselves.
While this is a change, it is NOT a standards incompatible change. Based
on my (and D. Gregor's, at the time of writing the code) reading of the
standard, the expression is supposed to be type dependent if ANY
sub-expression is type dependent.
Differential Revision: https://reviews.llvm.org/D71463
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was addedclang/test/CodeGenCXX/vector-conditional.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was addedclang/test/SemaCXX/vector-conditional.cpp
The file was modifiedclang/test/Sema/vector-gcc-compat.cpp
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
Commit 80a094e1348ae850cd996e947d70e34abf331685 by spatel
[InstCombine] add FMF to tests for more coverage; NFC
The file was modifiedllvm/test/Transforms/InstCombine/select.ll
Commit 810b28edb3f64569054d49d6ddf18a4d802d9b11 by martin
[ItaniumCXXABI] Make tls wrappers properly comdat
Just marking a symbol as weak_odr/linkonce_odr isn't enough for actually
tolerating multiple copies of it at linking on windows, it has to be
made a proper comdat; make it comdat for all platforms for consistency.
This should hopefully fix
https://bugzilla.mozilla.org/show_bug.cgi?id=1566288.
Differential Revision: https://reviews.llvm.org/D71572
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local.cpp
The file was modifiedclang/test/CodeGenCXX/tls-init-funcs.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local-reference.cpp
The file was modifiedclang/test/OpenMP/threadprivate_codegen.cpp
Commit 31441a3e007833a180b0112550eddb78547771f2 by tejohnson
[ThinLTO/WPD] Fix index-based WPD for alias vtables
Summary: A recent fix in D69452 fixed index based WPD in the presence of
available_externally vtables. It added a cast of the vtable def summary
to a GlobalVarSummary. However, in some cases one def may be an alias,
in which case we need to get the base object before casting, otherwise
we will crash.
Reviewers: evgeny777, steven_wu, aganea
Subscribers: mehdi_amini, inglorion, hiraditya, dexonsmith, arphaman,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71040
The file was addedllvm/test/ThinLTO/X86/Inputs/devirt_alias.ll
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was addedllvm/test/ThinLTO/X86/devirt_alias.ll
Commit f0719bf2196c807351137ff30e39fd12aa5aa884 by erich.keane
PR44514: Fix recovery from noexcept with non-convertible expressions
We currently treat noexcept(not-convertible-to-bool) as 'none', which
results in the typeloc info being a different size, and causing an
assert later on in the process.  In order to make recovery less
destructive, replace this with noexcept(false) and a constructed 'false'
expression.
Bug Report: https://bugs.llvm.org/show_bug.cgi?id=44514
Differential Revision: https://reviews.llvm.org/D72621
The file was modifiedclang/test/SemaCXX/cxx0x-noexcept-expression.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
Commit cb89c7e3f744c1fede60f7d1c43528654de676bd by riverriddle
[mlir] Remove unnecessary assert for single region.
This was left over debugging.
The file was modifiedmlir/lib/Transforms/Utils/RegionUtils.cpp
Commit 328e0f3dcac52171b8cdedeaba22c98e7fbb75ea by akhuang
Revert "[DWARF5][DebugInfo]: Added support for DebugInfo generation for
auto return type for C++ member functions."
This reverts commit c958639098a8702b831952b1a1a677ae19190a55, which
causes a crash. See https://reviews.llvm.org/D70524 for details.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was removedllvm/test/DebugInfo/X86/debug-info-auto-return.ll
Commit a506f7f9105eec4baac296d21c922457d6f4b52a by puyan
[clang][IFS][test] Fixing mangled name of a test for Darwin.
Darwin adds an extra '_' before every C/global function mangled name and
because of this, this test was breaking on Darwin.
This is a fix for commit: https://reviews.llvm.org/D71301
The file was modifiedclang/test/InterfaceStubs/lambda.cpp
Commit 7b9f8e17d15d7516b186c0a85de71133b780f939 by yamauchi
[PGO][CHR] Guard against 0-to-0 branch weight and avoid division by zero
crash.
Summary: This fixes a crash in internal builds under SamplePGO.
Reviewers: davidxl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72653
The file was modifiedllvm/test/Transforms/PGOProfile/chr.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
Commit 6d57511e0b6f95a369efe7274923a36de3489e7b by apl
[lldb-server] Prefer target_include_directories
In the documentation of `include_directories`, it notes that
`target_include_directories` is preferred because it affects specific
targets intead of propagating include search paths to the entire
project.
The file was modifiedlldb/tools/lldb-server/CMakeLists.txt
Commit 6fca03f0cae77c275870c4569bfeeb7ca0f561a6 by riverriddle
[mlir] Update the use-list algorithms in SymbolTable to support nested
references.
Summary: This updates the use list algorithms to support querying from a
specific symbol, allowing for the collection and detection of nested
references. This works by walking the parent "symbol scopes" and
applying the existing algorithm at each level.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D72042
The file was modifiedmlir/test/lib/IR/TestSymbolUses.cpp
The file was modifiedmlir/lib/IR/SymbolTable.cpp
The file was modifiedmlir/include/mlir/IR/SymbolTable.h
The file was modifiedmlir/test/IR/test-symbol-rauw.mlir
The file was modifiedmlir/test/IR/test-symbol-uses.mlir
Commit c7748404920b3674e79059cbbe73b6041a214444 by riverriddle
[mlir] Update the CallGraph for nested symbol references, and simplify
CallableOpInterface
Summary: This enables tracking calls that cross symbol table boundaries.
It also simplifies some of the implementation details of
CallableOpInterface, i.e. there can only be one region within the
callable operation.
Depends On D72042
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D72043
The file was modifiedmlir/test/Analysis/test-callgraph.mlir
The file was modifiedmlir/test/lib/TestDialect/TestOps.td
The file was modifiedmlir/lib/Analysis/CallGraph.cpp
The file was modifiedmlir/lib/Transforms/Inliner.cpp
The file was modifiedmlir/include/mlir/Analysis/CallInterfaces.td
The file was modifiedmlir/include/mlir/IR/Function.h
The file was modifiedmlir/lib/Transforms/Utils/InliningUtils.cpp
Commit 53539bb032d162e0147c0e9650a5d1c7ca77dae0 by akhuang
[DebugInfo] Add another level to DebugInfoKind called Constructor
The option will limit debug info by only emitting complete class type
information when its constructor is emitted. This patch changes
comparisons with LimitedDebugInfo to use the new level instead.
Differential Revision: https://reviews.llvm.org/D72427
The file was modifiedclang/include/clang/Basic/CodeGenOptions.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedclang/include/clang/Basic/DebugInfoOptions.h
The file was modifiedclang/lib/CodeGen/CGBlocks.cpp
Commit 9b92e4fbdb5bc4fdd21702e0ce104dfcac6a54a7 by riverriddle
[mlir] Add support for attaching a visibility to symbols.
Summary: The visibility defines the structural reachability of the
symbol within the IR. Symbols can define one of three visibilities:
* Public The symbol \may be accessed from outside of the visible IR. We
cannot assume that we can observe all of the uses of this symbol.
* Private The symbol may only be referenced from within the operations
in the current symbol table, via SymbolRefAttr.
* Nested The symbol may be referenced by operations in symbol tables
above the current symbol table, as long as each symbol table parent also
defines a non-private symbol. This allows or referencing the symbol from
outside of the defining symbol table, while retaining the ability for
the compiler to see all uses.
These properties help to reason about the properties of a symbol, and
will be used in a follow up to implement a dce pass on dead symbols.
A few examples of what this would look like in the IR are shown below:
  module @public_module {
   // This function can be accessed by 'live.user'
   func @nested_function() attributes { sym_visibility = "nested" }
    // This function cannot be accessed outside of 'public_module'
  func @private_function() attributes { sym_visibility = "private" }
}
  // This function can only be accessed from within this module.
func @private_function() attributes { sym_visibility = "private" }
  // This function may be referenced externally.
func @public_function()
  "live.user"() {uses = [@public_module::@nested_function,
                                     @private_function,
                                     @public_function]} : () -> ()
Depends On D72043
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D72044
The file was modifiedmlir/lib/IR/Module.cpp
The file was modifiedmlir/test/IR/traits.mlir
The file was modifiedmlir/include/mlir/IR/SymbolTable.h
The file was modifiedmlir/lib/IR/SymbolTable.cpp
The file was modifiedmlir/test/lib/TestDialect/TestOps.td
Commit 03edd6d6a693e5bc7b0df488c4d4901cc55d3566 by riverriddle
[mlir] NFC: Remove unused variable.
The file was modifiedmlir/test/lib/IR/TestSymbolUses.cpp
Commit 989bed989a41732d1b70314bd9063ccd6e74fe5c by richard
Re-enable testing of .s tests under test/CodeGen/X86.
These were temporarily disabled in 2013 and we apparently forgot to ever
turn them back on again.
Fix spelling of flag to llvm-mc in recently-added test that wasn't
actually being run due to this.
The file was modifiedllvm/test/CodeGen/X86/align-branch-boundary-default.s
The file was modifiedllvm/test/CodeGen/X86/lit.local.cfg
Commit e68e4cbcc50ba7ab8df5e09023f15e6cc2223bef by efriedma
[GlobalISel] Change representation of shuffle masks in MachineOperand.
We're planning to remove the shufflemask operand from ShuffleVectorInst
(D72467); fix GlobalISel so it doesn't depend on that Constant.
The change to prelegalizercombiner-shuffle-vector.mir happens because
the input contains a literal "-1" in the mask (so the parser/verifier
weren't really handling it properly). We now treat it as equivalent to
"undef" in all contexts.
Differential Revision: https://reviews.llvm.org/D72663
The file was modifiedllvm/include/llvm/CodeGen/MachineOperand.h
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-shuffle-vector.mir
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedllvm/lib/CodeGen/MIRParser/MIParser.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineInstrBuilder.h
Commit 09db6e320985f2bee22634049857224e0a5e58f8 by Jonas Devlieghere
[llvm-exegesis] Initialize const bitvector member
This causes an error with older versions of clang: constructor for
'llvm::exegesis::InstructionsCache' must explicitly initialize the const
member 'BVC'
The file was modifiedllvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
Commit fb51ce10d7dcab9209d0cd059d907810dbd0197d by ditaliano
[LanguageRuntime] Retire an unused member function. NFCI.
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h
Commit 84baf123a5213512e92e7deca2d111e00c2b97da by thakis
try to fix InterfaceStubs/lambda.cpp on Windows after bd8c8827d96f0
The file was modifiedclang/test/InterfaceStubs/lambda.cpp
Commit d1e3b23be46ac3ada8f5fe844629ad5bc233c24d by Jonas Devlieghere
[lldb/Utility] Add std::move to make placate clang 3.8
This fixes an error thrown by clang 3.8 that no viable conversion from
returned value to the function return type.
The file was modifiedlldb/source/Utility/StructuredData.cpp
Commit 3818101f7f8a631f4d2e4c639420fa9d6ab325e9 by ajcbik
[mlir] [VectorOps] fixed typo in verifier of slice op
Reviewers: nicolasvasilache, andydavis1, rriddle
Reviewed By: nicolasvasilache, rriddle
Subscribers: merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako,
shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester,
lucyrfox, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72664
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
Commit 1ab13f8cc3f79d67c9b337cc0f4ac1dde0460be8 by mgorny
[clang] [test] Fix riscv-toolchain-extra to be less picky about paths
Fix riscv-toolchain-extra tests to pass when CLANG_RESOURCE_DIR is set
to another value than the default.
Differential Revision: https://reviews.llvm.org/D72591
The file was modifiedclang/test/Driver/riscv32-toolchain-extra.c
The file was modifiedclang/test/Driver/riscv64-toolchain-extra.c
Commit 1768ed7f8b1f53b5b4b3ff80da6ae2dce22b74a9 by craig.topper
[X86] Add test to show that nofpexcept flag is not preserved by stack
reload folding.
The file was addedllvm/test/CodeGen/X86/stack-folding-fp-nofpexcept.mir
Commit b1dcd84c7ea3c97ddd73f629441be24791f23624 by craig.topper
[X86] Copy the nofpexcept flag when folding a load into an instruction
using the load folding tables./
The file was modifiedllvm/test/CodeGen/X86/stack-folding-fp-nofpexcept.mir
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
Commit a7cac2bd4b6812ea6b59b5fa0298eadf3815a3b0 by aminim
[MLIR] Fix broken link locations after move to monorepo
I used the codemod python tool to do this with the following commands:
codemod 'tensorflow/mlir/blob/master/include'
'llvm/llvm-project/blob/master/mlir/include' codemod
'tensorflow/mlir/blob/master' 'llvm/llvm-project/blob/master/mlir'
codemod 'tensorflow/mlir' 'llvm-project/llvm'
Differential Revision: https://reviews.llvm.org/D72244
The file was modifiedmlir/examples/toy/README.md
The file was modifiedmlir/examples/toy/Ch3/include/toy/Dialect.h
The file was modifiedmlir/examples/toy/Ch7/include/toy/Dialect.h
The file was modifiedmlir/examples/toy/Ch2/include/toy/Dialect.h
The file was modifiedmlir/examples/toy/Ch4/include/toy/Dialect.h
The file was modifiedmlir/docs/Dialects/Vector.md
The file was modifiedmlir/examples/toy/Ch5/include/toy/Dialect.h
The file was modifiedmlir/docs/Tutorials/Toy/Ch-7.md
The file was modifiedmlir/examples/toy/Ch6/include/toy/Dialect.h
Commit 671544c25b1215433bc22d475db7eaef51096ea5 by czhengsz
[PowerPC] [NFC] set instruction number as 1st priority of lsr cost
model.
The file was addedllvm/test/CodeGen/PowerPC/lsr-insns-cost.ll
Commit 0136f226c4e46258ea73fcb994f6559cec4a9aa2 by maskray
[MC] Don't resolve relocations referencing STB_LOCAL STT_GNU_IFUNC
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
The file was modifiedllvm/test/MC/ELF/target-in-same-section.s
Commit 7cd429f27d4886bb841ed0e3702e970f5f6cccd1 by maskray
[ELF] Add -z force-ibt and -z shstk for Intel Control-flow Enforcement
Technology
This patch is a joint work by Rui Ueyama and me based on D58102 by Xiang
Zhang.
It adds Intel CET (Control-flow Enforcement Technology) support to lld.
The implementation follows the draft version of psABI which you can
download from https://github.com/hjl-tools/x86-psABI/wiki/X86-psABI.
CET introduces a new restriction on indirect jump instructions so that
you can limit the places to which you can jump to using indirect jumps.
In order to use the feature, you need to compile source files with
-fcf-protection=full.
* IBT is enabled if all input files are compiled with the flag. To force
enabling ibt, pass -z force-ibt.
* SHSTK is enabled if all input files are compiled with the flag, or if
-z shstk is specified.
IBT-enabled executables/shared objects have two PLT sections, ".plt" and
".plt.sec".  For the details as to why we have two sections, please read
the comments.
Reviewed By: xiangzhangllvm
Differential Revision: https://reviews.llvm.org/D59780
The file was addedlld/test/ELF/i386-feature-cet.s
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/ELF/Arch/X86.cpp
The file was modifiedlld/ELF/Arch/X86_64.cpp
The file was modifiedlld/ELF/Target.h
The file was modifiedlld/docs/ld.lld.1
The file was modifiedlld/ELF/Config.h
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/Options.td
The file was removedlld/test/ELF/i386-cet.s
The file was removedlld/test/ELF/x86-64-cet.s
The file was addedlld/test/ELF/x86-64-feature-cet.s
The file was modifiedlld/ELF/SyntheticSections.h
Commit 84637408f2e63821014974dac08dee50bb197c1b by protze
[OpenMP][Tool] Make tests for archer dependent on TSan
If the openmp project is built standalone, the test compiler is feature
tested for an available -fsanitize=thread flag. If the openmp project is
built as part of llvm, the target tsan is needed to test archer.
An additional line (requires tsan) was introduced to the tests, this
patch updates the line numbers for the race.
Follow-up for 77ad98c
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D71914
The file was modifiedopenmp/tools/archer/tests/lit.site.cfg.in
The file was modifiedopenmp/tools/archer/tests/races/task-taskwait-nested.c
The file was modifiedopenmp/tools/archer/tests/races/critical-unrelated.c
The file was modifiedopenmp/tools/archer/tests/races/task-two.c
The file was modifiedopenmp/tools/archer/tests/races/lock-nested-unrelated.c
The file was modifiedopenmp/tools/archer/tests/races/parallel-simple.c
The file was modifiedopenmp/tools/archer/tests/lit.cfg
The file was modifiedopenmp/tools/archer/tests/races/task-dependency.c
The file was modifiedopenmp/cmake/OpenMPTesting.cmake
The file was modifiedopenmp/tools/archer/tests/races/task-taskgroup-unrelated.c
The file was modifiedopenmp/cmake/DetectTestCompiler/CMakeLists.txt
The file was modifiedopenmp/tools/archer/tests/races/lock-unrelated.c
The file was modifiedopenmp/tools/archer/tests/CMakeLists.txt
Commit d9819f366233e53427d0929729a58f85dc748cfb by maskray
[ELF] Delete unintended --force-bti
The file was modifiedlld/ELF/Options.td
Commit ed810da73270267082c347bc2919eebb7978a2fe by protze
[OpenMP][Tool] Improving stack trace for Archer
The OpenMP runtime is not instrumented, so entering the runtime leaves
no hint on the source line of the pragma on ThreadSanitizer's function
stack.
This patch adds function entry/exit annotations for OpenMP parallel
regions, and synchronization regions (barrier, taskwait, taskgroup).
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D70408
The file was modifiedopenmp/tools/archer/ompt-tsan.cpp
Commit 63c3691f79179db9a16f260f1cf81475fdfef060 by jay.foad
[AMDGPU] Add gfx9 assembler and disassembler test cases
Summary: This adds assembler tests for cases that were previously only
in the disassembler tests, and vice versa.
Reviewers: rampitec, arsenm, nhaehnle
Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye,
jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72592
The file was modifiedllvm/test/MC/AMDGPU/gfx9_asm_all.s
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/gfx9_dasm_all.txt
Commit 0950de264e37264b9f767a898bd839d9fcb7328f by jay.foad
[AMDGPU] Improve error checking in gfx10 assembler tests
Summary: This adds checks that the expected error was actually reported
against the correct instruction, and fixes a couple of problems that
that showed up: one incorrect W32-ERR:
v_cmp_class_f16_sdwa vcc, v1, v2 src0_sel:DWORD src1_sel:DWORD
// W64: encoding: [0xf9,0x04,0x1e,0x7d,0x01,0x00,0x06,0x06]
-// W32-ERR: error: invalid operand for instruction
+// W32-ERR: error: {{instruction not supported on this GPU|invalid
operand for instruction}}
and one missing W32-ERR:
v_cmp_class_f16_sdwa s[6:7], v1, v2 src0_sel:DWORD src1_sel:DWORD
// W64: encoding: [0xf9,0x04,0x1e,0x7d,0x01,0x86,0x06,0x06]
+// W32-ERR: error: invalid operand for instruction
Reviewers: rampitec, arsenm
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr,
t-tye, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72611
The file was modifiedllvm/test/MC/AMDGPU/gfx10_asm_all.s
Commit 440ce5164f52a6b7cdf70322cc1c95656cac9aa9 by jay.foad
[AMDGPU] Remove duplicate gfx10 assembler and disassembler tests
Summary: Depends on D72611.
Reviewers: rampitec, arsenm
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr,
t-tye, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72616
The file was modifiedllvm/test/MC/AMDGPU/gfx10_asm_all.s
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
Commit 61b6a4e82653e1209126404d33ad20a268f55db1 by Raphael Isemann
[lldb] Fix that SBThread.GetStopDescription is returning strings with
uninitialized memory at the end.
Summary:
`SBThread.GetStopDescription` is a curious API as it takes a buffer
length as a parameter that specifies how many bytes the buffer we pass
has. Then we fill the buffer until the specified length (or the length
of the stop description string) and return the string length. If the
buffer is a nullptr however, we instead return how many bytes we would
have written to the buffer so that the user can allocate a buffer with
the right size and pass that size to a subsequent
`SBThread.GetStopDescription` call.
Funnily enough, it is not possible to pass a nullptr via the Python SWIG
bindings, so that might be the first API in LLDB that is not only hard
to use correctly but impossible to use correctly. The only way to call
this function via Python is to throw in a large size limit that is
hopefully large enough to contain the stop description (otherwise we
only get the truncated stop description).
Currently passing a size limit that is smaller than the returned stop
description doesn't cause the Python bindings to return the stop
description but instead the truncated stop description + uninitialized
characters at the end of the string. The reason for this is that we
return the result of `snprintf` from the method which returns the amount
of bytes that *would* have been written (which is larger than the
buffer). This causes our Python bindings to return a string that is as
large as full stop description but the buffer that has been filled is
only as large as the passed in buffer size.
This patch fixes this issue by just recalculating the string length in
our buffer instead of relying on the wrong return value. We also have to
do this in a new type map as the old type map is also used for all
methods with the given argument pair `char *dst, size_t dst_len` (e.g.
SBProcess.GetSTDOUT`). These methods have different semantics for these
arguments and don't null-terminate the returned buffer (they instead
return the size in bytes) so we can't change the existing typemap
without breaking them.
Reviewers: labath, jingham
Reviewed By: labath
Subscribers: clayborg, shafik, abidh, JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D72086
The file was modifiedlldb/bindings/interface/SBThread.i
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py
The file was modifiedlldb/bindings/python/python-typemaps.swig
Commit f18370fe0e7576fb9947e49d66f7a6962c6822ce by Raphael Isemann
[lldb] Don't defend against internal LLVM errors in IRInterpreter
Summary: Whenever we cast an LLVM instruction to one of its subclasses,
we do a double check if the RTTI enum value actually allows us to cast
the class. I don't see a way this can ever happen as even when LLVM's
RTTI system has some corrupt internal state (which we probably should
not test in the first place) we just reuse LLVM RTTI to do the second
check.
This also means that if we ever make an actual programming error in this
function (e.g., have a enum value and then cast it to a different
subclass), we just silently fall back to the JIT in our tests.
We also can't test this code in any reasonable way.
This removes the checks and uses `llvm::cast` instead which will raise a
fatal error when casting fails.
Reviewers: labath, mib
Reviewed By: labath
Subscribers: abidh, JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D72596
The file was modifiedlldb/source/Expression/IRInterpreter.cpp
Commit 547abdd921e45fd65a2fa60f21715facb4af31b2 by sam.mccall
[mlir] Fix -Wunused
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
Commit eca44745871bc46728903aaa262abc6344d4f959 by Stanislav.Mekhanoshin
[AMDGPU] Fix getInstrLatency() always returning 1
We do not have InstrItinerary so generic getInstLatency() was always
defaulting to return 1 cycle. We need to use TargetSchedModel instead to
compute an instruction's latency.
Differential Revision: https://reviews.llvm.org/D72655
The file was modifiedllvm/test/CodeGen/AMDGPU/scheduler-handle-move-bundle.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/max.i16.ll
Commit d8ffd601d523fa0c0a55e25e62af9ffaa618629d by Raphael Isemann
[lldb][NFC] Rewrite python_api/rdar-12481949 test
Summary: This renames the test `rdar-12481949` to `get-value-32bit-int`
as it just tests that we return the correct result get calling
GetValueAsSigned/GetValueAsUnsigned on 32-bit integers.
It also deletes all the strange things going on in this test including
resetting the data formatters (which are to my knowledge not used to
calculate scalar values) and testing Python's long integers (let's just
assume that our Python distribution works correctly). Also modernises
the setup code.
Reviewers: labath, aprantl
Reviewed By: aprantl
Subscribers: JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D72593
The file was removedlldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/main.cpp
The file was removedlldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/python_api/get-value-32bit-int/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/python_api/get-value-32bit-int/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/python_api/get-value-32bit-int/TestGetValue32BitInt.py
The file was removedlldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py
Commit 6d8abe424a77f736fbed114eeac574b9bfe6b0c1 by bion
[libcxx] [test] Add casts to avoid signed/unsigned mismatch warnings on
MSVC++
A bug was filed that these warnings should not be emitted as
DevCom-883961. (
https://developercommunity.visualstudio.com/content/problem/883961/c4389-signedunsigned-mismatch-should-not-be-emitte.html
)
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy_if.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/reverse_copy.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy.pass.cpp
Commit ad741853c38880dff99cd5b5035b8965c5a73011 by Stanislav.Mekhanoshin
[AMDGPU] Model distance to instruction in bundle
This change allows to model the height of the instruction within a
bundle for latency adjustment purposes.
Differential Revision: https://reviews.llvm.org/D72669
The file was addedllvm/test/CodeGen/AMDGPU/bundle-latency.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
Commit ec6579fc047f9ac18588b833dfde0b69064e013a by grimar
[llvm-readobj][test] - Fix grammar in comments.
This addresses post commit review comments for D71766.
The file was modifiedllvm/test/tools/llvm-readobj/ELF/file-header-abi-version.test
The file was modifiedllvm/test/tools/llvm-readobj/ELF/file-header-os-abi.test
Commit 45924eb4671692b3fa9fd52fe39c81ec0647a848 by malcolm.parsons
[clang-tidy] Ignore implicit casts in modernize-use-default-member-init
Summary: Initialising a pointer from nullptr involves an implicit cast.
Ignore it after getting initialiser from InitListExpr.
Fixes: PR44440
Reviewers: aaron.ballman, alexfh, JonasToth
Reviewed By: JonasToth
Subscribers: xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72630
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
Commit 3388b0f59dcc7813278c753f96b66229f290cc59 by simon.tatham
[TableGen] Introduce a `defvar` statement.
Summary: This allows you to define a global or local variable to an
arbitrary value, and refer to it in subsequent definitions.
The main use I anticipate for this is if you have to compute some
difficult function of the parameters of a multiclass, and then use it
many times. For example:
  multiclass Foo<int i, string s> {
   defvar op = !cast<BaseClass>("whatnot_" # s # "_" # i);
   def myRecord {
     dag a = (op this, (op that, the other), (op x, y, z));
     int b = op.subfield;
   }
   def myOtherRecord<"template params including", op>;
}
There are a couple of ways to do this already, but they're not really
satisfactory. You can replace `defvar x = y` with a loop over a
singleton list, `foreach x = [y] in { ... }` - but that's unintuitive to
someone who hasn't seen that workaround idiom before, and requires an
extra pair of braces that you often didn't really want. Or you can
define a nested pair of multiclasses, with the inner one taking `x` as a
template parameter, and the outer one instantiating it just once with
the desired value of `x` computed from its other parameters - but that
makes it awkward to sequentially compute each value based on the
previous ones. I think `defvar` makes things considerably easier.
You can also use `defvar` at the top level, where it inserts globals
into the same map used by `defset`. That allows you to define global
constants without having to make a dummy record for them to live in:
  defvar MAX_BUFSIZE = 512;
  // previously:
// def Dummy { int MAX_BUFSIZE = 512; }
// and then refer to Dummy.MAX_BUFSIZE everywhere
Reviewers: nhaehnle, hfinkel
Reviewed By: hfinkel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71407
The file was modifiedllvm/lib/TableGen/TGParser.cpp
The file was modifiedllvm/lib/TableGen/TGParser.h
The file was modifiedllvm/docs/TableGen/LangRef.rst
The file was modifiedllvm/lib/TableGen/TGLexer.cpp
The file was modifiedllvm/lib/TableGen/TGLexer.h
The file was addedllvm/test/TableGen/defvar.td
Commit ddbc0b1e516407a24d986a1998026f1ac5864270 by simon.tatham
[TableGen] Introduce an if/then/else statement.
Summary: This allows you to make some of the defs in a multiclass or
`foreach` conditional on an expression computed from the parameters or
iteration variables.
It was already possible to simulate an if statement using a `foreach`
with a dummy iteration variable and a list constructed using `!if` so
that it had length 0 or 1 depending on the condition, e.g.
  foreach unusedIterationVar = !if(condition, [1], []<int>) in { ... }
But this syntax is nicer to read, and also more convenient because it
allows an else clause.
To avoid upheaval in the implementation, I've implemented `if` as pure
syntactic sugar on the `foreach` implementation: internally, `ParseIf`
actually does construct exactly the kind of foreach shown above (and
another reversed one for the else clause if present).
Reviewers: nhaehnle, hfinkel
Reviewed By: hfinkel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71474
The file was modifiedllvm/lib/TableGen/TGLexer.h
The file was modifiedllvm/lib/TableGen/TGLexer.cpp
The file was modifiedllvm/lib/TableGen/TGParser.cpp
The file was modifiedllvm/docs/TableGen/LangRef.rst
The file was addedllvm/test/TableGen/ifstmt.td
The file was modifiedllvm/lib/TableGen/TGParser.h
The file was modifiedllvm/test/TableGen/defvar.td
Commit 41b520188820a732e6de4865c08704f412013209 by sam.mccall
[Target] Fix uninitialized value in
10c11e4e2d05cf0e8f8251f50d84ce77eb1e9b8d
The file was modifiedllvm/include/llvm/Target/TargetOptions.h
Commit 72ca86fd34ecc5f7ccbaf923d2d508dad2a6a64c by anna.welker
[ARM][MVE] Masked gathers from base + vector of offsets
Enables the masked gather pass to create a masked gather loading from a
base and vector of offsets. This also enables v8i16 and v16i8 gather
loads.
Differential Revision: https://reviews.llvm.org/D72330
The file was addedllvm/test/CodeGen/Thumb2/mve-gather-ind16-scaled.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-gather-ind32-unscaled.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-gather-ind16-unscaled.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-gather-ind32-scaled.ll
The file was modifiedllvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
The file was addedllvm/test/CodeGen/Thumb2/mve-gather-ind8-unscaled.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-gather-ptrs.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-gather-scatter-opt.ll
Commit 018b042593f007456b0695421942ec84ec816a30 by Adrian Prantl
[mlir] Add loop.parallel, loop.reduce and loop.reduce.return operations.
Summary: These operations can be used to specify a loop nest with a body
that can contain reductions. The iteration space can be iterated in any
order.
RFC:
https://groups.google.com/a/tensorflow.org/d/topic/mlir/pwtSgiKFPis/discussion
Differential Revision: https://reviews.llvm.org/D72394
The file was modifiedmlir/test/Dialect/Loops/ops.mlir
The file was modifiedmlir/lib/Dialect/LoopOps/LoopOps.cpp
The file was modifiedmlir/test/Dialect/Loops/invalid.mlir
The file was modifiedmlir/include/mlir/Dialect/LoopOps/LoopOps.td
Commit 5a6eae3dea2342c2a83e4502de43927808f8ca21 by Adrian Prantl
[mlir] Ran git-clang-format.
Summary: I forgot to ran git-clang-format before committing.
The file was modifiedmlir/lib/Dialect/LoopOps/LoopOps.cpp
Commit 9492e9d8cfd356109276da5aa926b297db0e16db by Raphael Isemann
[lldb][NFC] Cleanup ClangASTContext::CompleteTagDeclarationDefinition
Makes this function exit early instead of nesting if statements.
Also removed all the if (tag_type->getDecl()) checks. If we created a
TagType with a nullptr as a Decl then Clang would have already
deferenced that nullptr during TagType creation so there is no point in
gracefully handling a nullptr here.
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit 4624a1e8ac8a3f69cc887403b976f538f587744a by herhut
[mlir] Create a gpu.module operation for the GPU Dialect.
Summary: This is based on the use of code constantly checking for an
attribute on a model and instead represents the distinct operaion with a
different op. Instead, this op can be used to provide better filtering.
Reviewers: herhut, mravishankar, antiagainst, rriddle
Reviewed By: herhut, antiagainst, rriddle
Subscribers: liufengdb, aartbik, jholewinski, mgorny, mehdi_amini,
rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache,
csigg, arpith-jacob, mgester, lucyrfox, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72336
The file was modifiedmlir/lib/Conversion/GPUToCUDA/ConvertKernelFuncToCubin.cpp
The file was modifiedmlir/test/Conversion/GPUToSPIRV/load-store.mlir
The file was modifiedmlir/test/Dialect/GPU/outlining.mlir
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was modifiedmlir/test/Dialect/GPU/invalid.mlir
The file was modifiedmlir/include/mlir/Conversion/GPUToNVVM/GPUToNVVMPass.h
The file was modifiedmlir/test/Conversion/GPUToNVVM/memory-attrbution.mlir
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/include/mlir/Conversion/GPUToCUDA/GPUToCUDAPass.h
The file was modifiedmlir/test/Conversion/GPUToSPIRV/loop.mlir
The file was modifiedmlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
The file was modifiedmlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
The file was modifiedmlir/test/Conversion/GPUToCUDA/lower-nvvm-kernel-to-cubin.mlir
The file was addedmlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.td
The file was modifiedmlir/test/Conversion/GPUToSPIRV/builtins.mlir
The file was modifiedmlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUOps.td
The file was modifiedmlir/test/Dialect/GPU/ops.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/simple.mlir
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
The file was modifiedmlir/test/Conversion/GPUToCUDA/lower-launch-func-to-cuda.mlir
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
The file was modifiedmlir/lib/Conversion/GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp
Commit 3d6c492d7a9830a1a39b85dfa215743581d52715 by jrtc27
[RISCV] Fix ILP32D lowering for double+double/double+int return types
Summary: Previously, since these aggregates are > 2*XLen, Clang would
think they were being returned indirectly and thus would decrease the
number of available GPRs available by 1. For long argument lists this
could lead to a struct argument incorrectly being passed indirectly.
Reviewers: asb, lenary
Reviewed By: asb, lenary
Subscribers: luismarques, rbar, johnrusso, simoncook, apazos, sabuasal,
niosHD, kito-cheng, shiva0217, zzheng, edward-jones, rogfer01,
MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna,
Jim, lenary, s.egerton, pzheng, sameer.abuasal, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69590
The file was modifiedclang/test/CodeGen/riscv32-ilp32d-abi.c
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
Commit d6ea8ff0d74bfe5cd181ccfe91c2c300c5f7a35d by zinenko
[mlir] Fix translation of splat constants to LLVM IR
Summary: When converting splat constants for nested sequential LLVM IR
types wrapped in MLIR, the constant conversion was erroneously assuming
it was always possible to recursively construct a constant of a
sequential type given only one value. Instead, wait until all sequential
types are unpacked recursively before constructing a scalar constant and
wrapping it into the surrounding sequential type.
Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen,
antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik,
liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72688
The file was modifiedmlir/test/Target/llvmir.mlir
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
Commit e73b20c57dc7a8c847ebadeb7e19c08ec84f5bd7 by sam.parker
[ARM][MVE] Disallow VPSEL for tail predication
Due to the current way that we collect predicated instructions, we can't
easily handle vpsel in tail predicated loops. There are a couple of
issues: 1) It will use the VPR as a predicate operand, but doesn't have
to be
  instead a VPT block, which means we can assert while building up
  the VPT block because we don't find another VPST to being a new
  one. 2) VPSEL still requires a VPR operand even after tail
predicating,
  which means we can't remove it unless there is another
  instruction, such as vcmp, that can provide the VPR def.
The first issue should be a relatively simple fix in the logic of the
LowOverheadLoops pass, whereas the second will require us to represent
the 'implicit' tail predication with an explicit value.
Differential Revision: https://reviews.llvm.org/D72629
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpnot-2.mir
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpsel-1.mir
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpnot-3.mir
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpsel-2.mir
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/inloop-vpnot-1.mir
Commit a43b0065c5c78eba3fb83881fb628f5b8182db64 by llvm-dev
[SelectionDAG] ComputeKnownBits - merge
getValidMinimumShiftAmountConstant() and generic ISD::SRL handling.
As mentioned by @nikic on rGef5debac4302 (although that was just about
SHL), we can merge the guaranteed top zero bits from the shifted value,
and then, if a min shift amount is known, zero out the top bits as well.
SHL tests / handling will be added in a follow up patch.
The file was modifiedllvm/test/CodeGen/X86/vector-idiv-udiv-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-idiv-udiv-128.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit fd42a4ac7a69adb92f87c7fa927509f177dcc6ca by llvm-dev
[X86][SSE] Add add(shl(and(x,c1),c2),c3) test case with non-uniform
shift value
As mentioned by @nikic on rGef5debac4302, we should merge the guaranteed
top zero bits from the shifted value and min shift amount code so they
can both set the high bits to zero.
The file was modifiedllvm/test/CodeGen/X86/combine-shl.ll
Commit d94d079a6a5b12156e4b818c8ba46eb143f335b9 by diogo.sampaio
[ARM][Thumb2] Fix ADD/SUB invalid writes to SP
Summary: This patch fixes pr23772  [ARM] r226200 can emit illegal thumb2
instruction: "sub sp, r12, #80". The violation was that SUB and ADD
(reg, immediate) instructions can only write to SP if the source
register is also SP. So the above instructions was unpredictable. To
enforce that the instruction t2(ADD|SUB)ri does not write to SP we now
enforce the destination register to be rGPR (That exclude PC and SP).
Different than the ARM specification, that defines one instruction that
can read from SP, and one that can't, here we inserted one that can't
write to SP, and other that can only write to SP as to reuse most of the
hard-coded size optimizations. When performing this change, it uncovered
that emitting Thumb2 Reg plus Immediate could not emit all variants of
ADD SP, SP #imm instructions before so it was refactored to be able to.
(see test/CodeGen/Thumb2/mve-stacksplot.mir where we use a subw sp, sp,
Imm12 variant ) It also uncovered a disassembly issue of adr.w
instructions, that were only written as SUBW instructions (see
llvm/test/MC/Disassembler/ARM/thumb2.txt).
Reviewers: eli.friedman, dmgreen, carwil, olista01, efriedma, andreadb
Reviewed By: efriedma
Subscribers: gbedwell, john.brawn, efriedma, ostannard, kristof.beyls,
hiraditya, dmgreen, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70680
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-load-store.mir
The file was modifiedllvm/test/MC/ARM/register-token-source-loc.s
The file was addedllvm/test/CodeGen/Thumb2/bug-subw.ll
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/test/MC/Disassembler/ARM/thumb2-v8.txt
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was modifiedllvm/lib/Target/ARM/Thumb2InstrInfo.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/fp16-stacksplot.mir
The file was modifiedllvm/test/CodeGen/MIR/ARM/thumb2-sub-sp-t3.mir
The file was modifiedllvm/test/MC/ARM/invalid-addsub.s
The file was modifiedllvm/test/MC/ARM/negative-immediates.s
The file was modifiedllvm/test/MC/ARM/thumb-diagnostics.s
The file was modifiedllvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/peephole-cmp.mir
The file was addedllvm/test/CodeGen/Thumb2/t2peephole-t2ADDrr-to-t2ADDri.ll
The file was modifiedllvm/test/MC/Disassembler/ARM/thumb-tests.txt
The file was modifiedllvm/test/CodeGen/Thumb2/peephole-addsub.mir
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-stacksplot.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-arithmetic-ops.mir
The file was modifiedllvm/test/MC/Disassembler/ARM/thumb2.txt
The file was addedllvm/test/tools/llvm-mca/ARM/simple-cortex-m33.s
The file was modifiedllvm/test/MC/ARM/basic-thumb2-instructions.s
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb2.td
The file was modifiedllvm/test/MC/Disassembler/ARM/invalid-thumbv7.txt
Commit bad6032bc15fa8d16b67b86ef2b2fe48724e756e by sam.parker
[ARM][LowOverheadLoops] Change predicate inspection
Use the already provided helper function to get the operand type so that
we can detect whether the vpr is being used as a predicate or not. Also
use existing helpers to get the predicate indices when we converting the
vpt blocks. This enables us to support both types of vpr predicate
operand.
Differential Revision: https://reviews.llvm.org/D72504
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vmaxmin_vpred_r.mir
Commit c05a11108b9a9deb266c3c1758677462df61e05e by llvm-dev
[SelectionDAG] ComputeKnownBits - merge
getValidMinimumShiftAmountConstant() and generic ISD::SHL handling.
As mentioned by @nikic on rGef5debac4302, we can merge the guaranteed
bottom zero bits from the shifted value, and then, if a min shift amount
is known, zero out the bottom bits as well.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/combine-shl.ll
Commit 31aed2e0dad25d43039a9b933b1b95fbdeb27704 by llvm-dev
Fix "MIParser::getIRValue(unsigned int)’ defined but not used" warning.
NFCI.
The file was modifiedllvm/lib/CodeGen/MIRParser/MIParser.cpp
Commit e27632c3026328e41b0d7dbf25631041e979a2f9 by sam.parker
[ARM][LowOverheadLoops] Allow all MVE instrs.
We have a whitelist of instructions that we allow when tail predicating,
since these are trivial ones that we've deemed need no special handling.
Now change ARMLowOverheadLoops to allow the non-trivial instructions if
they're contained within a valid VPT block. Since a valid block is one
that is predicated upon the VCTP so we know that these non-trivial
instructions will still behave as expected once the implicit predication
is used instead.
This also fixes a previous test failure.
Differential Revision: https://reviews.llvm.org/D72509
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/add_reduce.mir
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vmldava_in_vpt.mir
The file was modifiedllvm/unittests/Target/ARM/MachineInstrTest.cpp
Commit 877723b7ce813d25fc4a358b7d2cb90468733a72 by medismail.bennani
[lldb/Expression] Improve interpreter error message with a non-running
target
When trying to interpret an expression with a function call, if the
process hasn't been launched, the expression fails to be interpreted and
the user gets the following  error message:
```error: Can't run the expression locally```
This message doesn't explain why the expression failed to be
interpreted, that's why this patch improves the error message that is
displayed when trying to run an expression while no process is running.
rdar://11991708
Differential Revision: https://reviews.llvm.org/D72510
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/dont_allow_jit/TestAllowJIT.py
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
Commit 71d5454b377239213874a0d762860e6a3e60bf54 by simon.tatham
[ARM,MVE] Use the new Tablegen `defvar` and `if` statements.
Summary: This cleans up a lot of ugly `foreach` bodges that I've been
using to work around the lack of those two language features. Now they
both exist, I can make then all into something more legible!
In particular, in the common pattern in `ARMInstrMVE.td` where a
multiclass defines an `Instruction` instance plus one or more `Pat` that
select it, I've used a `defvar` to wrap `!cast<Instruction>(NAME)` so
that the patterns themselves become a little more legible.
Replacing a `foreach` with a `defvar` removes a level of block
structure, so several pieces of code have their indentation changed by
this patch. Best viewed with whitespace ignored.
NFC: the output of `llvm-tblgen -print-records` on the two affected
Tablegen sources is exactly identical before and after this change, so
there should be no effect at all on any of the other generated files.
Reviewers: MarkMurrayARM, miyuki
Reviewed By: MarkMurrayARM
Subscribers: kristof.beyls, hiraditya, dmgreen, cfe-commits,
llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D72690
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
Commit bff33bd5c83b947cccb4d6cf6ebca9dc021f716b by Milos.Stojanovic
[unittests] Fix "comparison of integers of different signs" warnings
A warning is sent because `std::distance()` returns a signed type so
`CmpHelperEQ()` gets instantiated into a function that compares
differently signed arguments.
Differential Revision: https://reviews.llvm.org/D72632
The file was modifiedllvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp
The file was modifiedllvm/unittests/Object/MinidumpTest.cpp
Commit df186507e1d07c3ddba091a076ba7a33dbdc5867 by benny.kra
Make helper functions static or move them into anonymous namespaces. 
NFC.
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
The file was modifiedmlir/lib/Analysis/Liveness.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.cpp
The file was modifiedmlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedmlir/lib/Dialect/VectorOps/VectorTransforms.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/lib/Dialect/QuantOps/Transforms/ConvertSimQuant.cpp
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp
The file was modifiedmlir/lib/IR/SymbolTable.cpp
The file was modifiedmlir/lib/Analysis/Utils.cpp
The file was modifiedllvm/lib/CodeGen/MIRParser/MIParser.cpp
The file was modifiedmlir/lib/Analysis/AffineStructures.cpp
The file was modifiedmlir/test/lib/TestDialect/TestPatterns.cpp
The file was modifiedmlir/lib/Dialect/SDBM/SDBMExpr.cpp
The file was modifiedmlir/lib/Analysis/AffineAnalysis.cpp
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/lib/Pass/PassStatistics.cpp
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was modifiedmlir/lib/Dialect/AffineOps/AffineOps.cpp
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp
The file was modifiedmlir/lib/Dialect/LoopOps/LoopOps.cpp
The file was modifiedmlir/lib/ExecutionEngine/ExecutionEngine.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/TranslateRegistration.cpp
Commit 81ee484484a0be59da8f749a9b4cf56bb8d37402 by ulrich.weigand
[FPEnv] Fix chain handling regression after 04a8696
Code in getRoot made the assumption that every node in PendingLoads must
always itself have a dependency on the current DAG root node.
After the changes in 04a8696, it turns out that this assumption no
longer holds true, causing wrong codegen in some cases (e.g. stores
after constrained FP intrinsics might get deleted).
To fix this, we now need to make sure that the TokenFactor created by
getRoot always includes the previous root, if there is no implicit
dependency already present.
The original getControlRoot code already has exactly this check, so this
patch simply reuses that code now for getRoot as well. This fixes the
regression.
NFC if no constrained FP intrinsic is present.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-alias.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit dee6e39c7561a8b733cc260738ff7ea3ae78ee0c by selliott
[RISCV][NFC] Deduplicate Atomic Intrinsic Definitions
Summary: This is a slight cleanup, to use multiclasses to avoid the
duplication between the different atomic intrinsic definitions. The
produced intrinsics are unchanged, they're just generated in a more
succinct way.
Reviewers: asb, luismarques, jrtc27
Reviewed By: luismarques, jrtc27
Subscribers: Jim, rbar, johnrusso, simoncook, sabuasal, niosHD,
kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones, rogfer01,
MartinMosbeck, brucehoult, the_o, rkruppe, jfb, PkmX, jocewei, psnobl,
benna, s.egerton, pzheng, sameer.abuasal, apazos, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71777
The file was modifiedllvm/include/llvm/IR/IntrinsicsRISCV.td
Commit 6aca3e8dfa228fb75e410e34db74982a0ab3939f by ulrich.weigand
[FPEnv] Add some comments to IRBuilder.h
As requested via post-commit comment for D71467, this adds comments
documenting CreateFCmp vs. CreateFCmpS to the header file.
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
Commit 3f944a8b8ca895667f04748f62d350f07ee1416b by Raphael Isemann
[lldb][NFC] Make name parameter in AddMethodToCXXRecordType a StringRef
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit e3ed63e83ab6194aaf6711b97bdf09f16dcf2401 by simon.tatham
[TableGen] Update editor modes for new keywords.
Summary: D71407 and D71474 added new keywords to the Tablegen language:
`defvar`, `if`, `then` and `else`. This commit updates the various
editor modes to highlight them appropriately.
Some of the modes also didn't include `defset`, so I've added that too
while I was there.
Reviewers: MaskRay, lebedev.ri, plotfi
Reviewed By: lebedev.ri
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72693
The file was modifiedllvm/utils/vim/syntax/tablegen.vim
The file was modifiedllvm/utils/emacs/tablegen-mode.el
The file was modifiedllvm/utils/kate/llvm-tablegen.xml
The file was modifiedllvm/utils/vscode/tablegen/syntaxes/TableGen.tmLanguage
Commit cfe2fab708de3a1d8e05a829a132f335a189acc9 by spatel
[InstSimplify] add tests for vector select; NFC
The file was modifiedllvm/test/Transforms/InstCombine/select.ll
The file was modifiedllvm/test/Transforms/InstSimplify/select.ll
Commit 77cc690bae310f4cba0a34f2da8a37a7c9a10a82 by Tim Northover
AArch64: fix bitcode upgrade of @llvm.neon.addp.
We were upgrading it to faddp, but a version taking two type parameters
instead of one. This then got upgraded a second time to the version with
just one parameter, but occasionally (for reasons I don't understand)
this unusual two-stage process corrupted a use-list, leading to a crash
when the two faddp declarations didn't match.
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
The file was addedllvm/test/Bitcode/aarch64-addp-upgrade.bc
The file was addedllvm/test/Bitcode/aarch64-addp-upgrade.ll
Commit a705cf1acbe94498f7fcca4e89be6d4820271227 by pavel
Expression eval lookup speedup by not returning methods in
ManualDWARFIndex::GetFunctions
Summary: This change is connected with https://reviews.llvm.org/D69843
In large codebases, we sometimes see Module::FindFunctions (when called
from ClangExpressionDeclMap::FindExternalVisibleDecls) returning huge
amounts of functions.
In current fix I trying to return only function_fullnames from
ManualDWARFIndex::GetFunctions when eFunctionNameTypeFull is passed as
argument.
Reviewers: labath, jarin, aprantl
Reviewed By: labath
Subscribers: shafik, clayborg, teemperor, arphaman, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70846
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/printf/TestPrintf.py
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/find-basic-function.cpp
Commit 7ec7a6e5bfa745c285d5c651af02b93f2cb923e1 by llvm-dev
Fix "null pointer passed to nonnull argument" clang static analyzer
warnings. NFCI.
Assert that the memcpy arguments are valid.
The file was modifiedclang/lib/AST/NestedNameSpecifier.cpp
Commit 25dc5c7cd159522ec2375544f473c757ee13a03b by llvm-dev
Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointer is dereferenced
immediately below and castAs will perform the null assertion for us.
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
Commit cc8a1504283731f05f937464b631f170d748b7b0 by llvm-dev
Merge isa<> and getAs<> calls to fix "pointer is null" static analyzer
warnings. NFCI.
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp
Commit 9d905e8ceddda8b103e208ed43a117cb4445e682 by llvm-dev
Remove duplicate variable. NFCI.
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp
Commit 591cd40584300a1d5d33bfaefa4698c02ef56887 by llvm-dev
Fix "pointer is null" static analyzer warnings. NFCI.
Use cast<> instead of cast_or_null<> since the pointers are always
dereferenced and cast<> will perform the null assertion for us.
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
Commit 1d6b964ed1f7a77b178e86bef7d569611f2c0983 by llvm-dev
Fix "pointer is null" static analyzer warning. NFCI.
Remove Ctx null test as clang static analyzer assumes that this can fail
- replace it with an assertion as the pointer is always dereferenced
below.
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
Commit e1f524ea43f920767259c47e201405091d7e76fd by grimar
[llvm-readobj][llvm-readelf][test] - Add a few more dynamic section
tests.
This adds a few more tests for dynamic section.
We only had tests for simple unknown values for 64-bits target, in this
patch I've added OS specific and processor specific tags. Also it tests
both 32 and 64-bits targets now.
It will help to fix the formatting issues we have and diagnose a
possible new ones.
Differential revision: https://reviews.llvm.org/D71896
The file was modifiedllvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
The file was modifiedllvm/test/tools/llvm-objdump/elf-dynamic-section.test
Commit 4b5bc38802dcc7d2c6d7f5af1eca1755bd0fd9cb by pavel
[lldb/DWARF] Move location list sections into DWARFContext
These are the last sections not managed by the DWARFContext object. I
also introduce separate SectionType enums for dwo section variants, as
this is necessary for proper handling of single-file split dwarf.
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFContext.h
The file was modifiedlldb/source/Symbol/ObjectFile.cpp
The file was modifiedlldb/include/lldb/lldb-enumerations.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/debug_loclists-dwo.s
The file was modifiedlldb/source/Core/Section.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/test/Shell/ObjectFile/ELF/section-types.yaml
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
Commit 25a8aec7f37b970849ccf5f2893431e2ca858709 by Xiangling.Liao
[AIX] ExternalSymbolSDNode lowering
For memcpy/memset/memmove etc., replace ExternalSymbolSDNode with a
MCSymbolSDNode, which have a prefix dot before function name as entry
point symbol.
Differential Revision: https://reviews.llvm.org/D70718
The file was addedllvm/test/CodeGen/PowerPC/aix-external-sym-sdnode-lowering.ll
The file was addedllvm/test/CodeGen/PowerPC/aix-user-defined-memcpy.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 35787e3a062a4a21c145137552d20cb1169c74fc by Tom.Weaver
[DBG][LIVEDEBUGVALUES][NFC] Add Targeted LiveDebugValues Behaviour
Tests.
Adds 22 distinct tests that exercise the live-debug-values passes
expected behaviour.
reviewers: aprantl, vsk
Differential revision: https://reviews.llvm.org/D72515
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_loop.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_two_backedge.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_two_backedge_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_outer_moved.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_move.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_one_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_early_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond_move.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_break.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_one_move.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb_move_to_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_moved.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_break_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_clobbered.mir
Commit 92451f0904ceab1d81d71a9f17ab366bf57eddc7 by sven.vanhaastregt
[OpenCL] Add MSAA sharing extension builtin functions
Add the MSAA sharing builtin functions from the OpenCL Extension
Specification.
Patch by Pierre Gondois and Sven van Haastregt.
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit 192cce10f67e4f22be6d9b8c0975f78ad246d1bd by flo
Revert "Recommit "[GlobalOpt] Pass DTU to removeUnreachableBlocks
instead of recomputing.""
This reverts commit a03d7b0f24b65d69721dbbbc871df0629efcf774.
As discussed in D68298, this causes a compile-time regression, in case
the DTs requested are not used elsewhere in GlobalOpt. We should only
get the DTs if they are available here, but this seems not possible with
the legacy pass manager from a module pass.
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
Commit 1cc8fff420a76ae869f73ce2b19e7c1fc73da3ed by Sanne.Wouda
[AArch64] Fix save register pairing for Windows AAPCS
Summary: On Windows, when a function does not have an unwind table (for
example, EH filtering funclets), we don't correctly pair FP and LR to
form the frame record in all circumstances.
Fix this by invalidating a pair when the second register is FP when
compiling for Windows, even when CFI is not needed.
Fixes PR44271 introduced by D65653.
Reviewers: efriedma, sdesmalen, rovka, rengolin, t.p.northover,
thegameg, greened
Reviewed By: rengolin
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71754
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/win64-no-uwtable.ll
Commit b10f6b7112278ba91d57173466bff7fc85d4bf0d by Tom.Weaver
Revert "[DBG][LIVEDEBUGVALUES][NFC] Add Targeted LiveDebugValues
Behaviour Tests."
This reverts commit 35787e3a062a4a21c145137552d20cb1169c74fc.
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_break.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_moved.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_early_clobber.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_break_clobbered.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_two_backedge_clobbered.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_two_backedge.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb_move_to_clobber.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_one_clobber.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_outer_moved.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond_move.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_clobbered.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_loop.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb_clobbered.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond_clobber.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_one_move.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_clobbered.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_clobber.mir
The file was removedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_move.mir
Commit 9738c757bd9bc2fdca935f2b4e356f1d5e5f3682 by malcolm.parsons
[clang-tidy] Match InitListExpr in modernize-use-default-member-init
Summary: modernize-use-default-member-init wasn't warning about
redundant initialisers when the initialiser was an InitListExpr.  Add
initListExpr to the matcher.
Fixes: PR44439
Reviewers: aaron.ballman, alexfh, JonasToth
Reviewed By: aaron.ballman
Subscribers: xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72691
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
Commit 3b929fe7763570fc1d4a4691a53257a4a0b7760e by ibiryukov
[Syntax] Assert invariants on tree structure and fix a bug in mutations
Add checks for some structural invariants when building and mutating the
syntax trees.
Fix a bug failing the invariants after mutations: the parent of nodes
added into the tree was null.
The file was modifiedclang/lib/Tooling/Syntax/Tree.cpp
The file was modifiedclang/lib/Tooling/Syntax/Synthesis.cpp
The file was modifiedclang/include/clang/Tooling/Syntax/Tree.h
The file was modifiedclang/lib/Tooling/Syntax/Mutations.cpp
The file was modifiedclang/lib/Tooling/Syntax/BuildTree.cpp
Commit 07a41018e9d27f67f7b4295eb7e00e0345c0aacf by ibiryukov
[Syntax] Mark synthesized nodes as modifiable
This was an oversight in the original patch. Also add corresponding
tests.
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp
The file was modifiedclang/include/clang/Tooling/Syntax/Tree.h
The file was modifiedclang/lib/Tooling/Syntax/Synthesis.cpp
Commit e7b2d9f4702cb8882aa275bcb8eab37be17601e1 by Tom.Weaver
[DBG][LIVEDEBUGVALUES][NFC] Add Targeted LiveDebugValues Behaviour
Tests.
Adds 22 distinct tests that exercise the live-debug-values passes
expected behaviour.
reviewers: aprantl, vsk
Differential revision: https://reviews.llvm.org/D72515
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_break.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_outer_moved.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond_move.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_two_backedge.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_one_move.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb_move_to_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_one_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_loop.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_early_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_break_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_moved.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_move.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_bb_to_bb.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_diamond_clobber.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_clobbered.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop.mir
The file was addedllvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_two_backedge_clobbered.mir
Commit 9ef6faf49670e18eb1ba04105a7c70b450cdaa71 by kostyak
[scudo][standalone] Fork support
Summary: fork() wasn't well (or at all) supported in Scudo. This
materialized in deadlocks in children.
In order to properly support fork, we will lock the allocator pre-fork
and unlock it post-fork in parent and child. This is done via a
`pthread_atfork` call installing the necessary handlers.
A couple of things suck here: this function allocates - so this has to
be done post initialization as our init path is not reentrance, and it
doesn't allow for an extra pointer - so we can't pass the allocator we
are currently working with.
In order to work around this, I added a post-init template parameter
that gets executed once the allocator is initialized for the current
thread. Its job for the C wrappers is to install the atfork handlers.
I reorganized a bit the impacted area and added some tests, courtesy of
cferris@ that were deadlocking prior to this fix.
Subscribers: jfb, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D72470
The file was modifiedcompiler-rt/lib/scudo/standalone/wrappers_c.inc
The file was modifiedcompiler-rt/lib/scudo/standalone/primary64.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
The file was modifiedcompiler-rt/lib/scudo/standalone/primary32.h
The file was modifiedcompiler-rt/lib/scudo/standalone/wrappers_c.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/quarantine.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tsd.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/stats.h
The file was modifiedcompiler-rt/lib/scudo/standalone/CMakeLists.txt
The file was modifiedcompiler-rt/lib/scudo/standalone/bytemap.h
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
The file was modifiedcompiler-rt/lib/scudo/standalone/wrappers_cpp.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/tsd_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/tsd_exclusive.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tsd_shared.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/wrappers_c_bionic.cpp
Commit 013c07f697886649b068cd97127e528b4fe7c03e by ibiryukov
[Syntax] Unset IsOriginal flag on nodes removed from the tree
And add a corresponding test. Only nodes inside the TranslationUnit
subtree can be marked as original, computeReplacements() relies on this.
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp
The file was modifiedclang/lib/Tooling/Syntax/Tree.cpp
Commit a08c0adee072226179736c4f6caf3dd0b7a7c9af by sjoerd.meijer
[ARM][MVE] VTP Block Pass fix
Fix a missing and broken test: 2 VPT blocks predicated on the same VCMP
instruction that can be folded. The problem was that for each VPT block,
we record the predicate statements with a list, but the same instruction
was added twice. Thus, we were running in an assert trying to remove the
same instruction twice. To avoid this the instructions are now recorded
with a set.
Differential Revision: https://reviews.llvm.org/D72699
The file was modifiedllvm/lib/Target/ARM/MVEVPTBlockPass.cpp
The file was addedllvm/test/CodeGen/Thumb2/mve-vpt-2-blocks-1-pred.mir
Commit e2b8e2113a4929027a237b67f7be86db4ec103d3 by Jinsong Ji
[clang][OpenCL] Fix covered switch warning
-Werror clang build is broken now.
tools/clang/lib/Sema/OpenCLBuiltins.inc:11824:5: error: default label in
switch which covers all enumeration values
[-Werror,-Wcovered-switch-default]
   default:
We don't need default now, since all enumeration values are covered.
Reviewed By: svenvh
Differential Revision: https://reviews.llvm.org/D72707
The file was modifiedclang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
Commit ab9dbc1d124cdf288474073f5233e3fd6ee8e9c3 by llvm-dev
Fix "pointer is null" clang static analyzer warnings. NFCI.
Use cast<>/castAs<> instead of dyn_cast<>/getAs<> since the pointers are
always dereferenced and cast<>/castAs<> will perform the null assertion
for us.
The file was modifiedclang/lib/Sema/SemaOverload.cpp
Commit cfd366ba74c566038c6f417da9c9becc321fd737 by llvm-dev
Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointer is dereferenced
immediately in all cases and castAs will perform the null assertion for
us.
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
Commit c8a14c2d4773841daa303736332d0038ead6f36a by spatel
[IR] fix potential crash in Constant::isElementWiseEqual()
There's only one user of this API currently, and it seems impossible
that it would compare values with different types.
But that's not true in general, so we need to make sure the types are
the same.
As denoted by the FIXME comments, we will also crash on FP values.
That's what brought me here, but we can make that a follow-up patch.
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/unittests/IR/ConstantsTest.cpp
Commit fd19ffc6a502f8e647696d550abb04a6c8c1b182 by Jonas Devlieghere
[lldb/Utility] Use assert instead of llvm_unreachable for LLDBAssert
llvm_unreachable is marked noreturn so the compiler can assume the code
for printing the error message in release builds isn't hit which defeats
the purpose.
The file was modifiedlldb/source/Utility/LLDBAssert.cpp
Commit 57cf6ee9c84434161088c39a6f8dd2aae14eb12d by scott.egerton
[RISCV] Add Clang frontend support for Bitmanip extension
Summary: This adds the __riscv_bitmanip macro and the 'b' target feature
to enable it.
Reviewers: asb, simoncook, lewis-revill, PaoloS, lenary
Reviewed By: lenary
Subscribers: Jim, rbar, johnrusso, sabuasal, niosHD, kito-cheng,
shiva0217, jrtc27, MaskRay, zzheng, edward-jones, rogfer01,
MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna,
pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71553
The file was modifiedclang/lib/Basic/Targets/RISCV.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.cpp
The file was modifiedclang/test/Preprocessor/riscv-target-features.c
The file was modifiedclang/lib/Basic/Targets/RISCV.cpp
Commit 0877843ddacca0bea049b65d8a328e5038c72b66 by aqjune
[test] Make data layout of load-bitcast64.ll explicit, use
update_test_checks.py
The file was modifiedllvm/test/Transforms/InstCombine/load-bitcast64.ll
Commit 2948ec5ca98f8593584f2117bc92fe8d75f6f098 by gribozavr
Removed PointerUnion3 and PointerUnion4 aliases in favor of the variadic
template
The file was modifiedclang/tools/libclang/CXCursor.h
The file was modifiedclang/include/clang/AST/ExprObjC.h
The file was modifiedclang/include/clang/AST/DeclTemplate.h
The file was modifiedllvm/include/llvm/ADT/PointerUnion.h
The file was modifiedllvm/include/llvm/Support/SourceMgr.h
The file was modifiedclang/unittests/CodeGen/IRMatchers.h
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedllvm/lib/Transforms/IPO/LowerTypeTests.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedllvm/tools/llvm-pdbutil/InputFile.h
The file was modifiedclang/include/clang/AST/TemplateName.h
The file was modifiedllvm/unittests/ADT/PointerUnionTest.cpp
Commit 40c5bd4212a51216a489fdaaf59060921d677009 by maskray
[ELF] --exclude-libs: don't assign VER_NDX_LOCAL to undefined symbols
Suggested by Peter Collingbourne.
Non-VER_NDX_GLOBAL versions should not be assigned to defined symbols.
--exclude-libs violates this and can cause a spurious error "cannot
refer to absolute symbol" after D71795.
excludeLibs incorrectly assigns VER_NDX_LOCAL to an undefined weak
symbol => isPreemptible is false => R_PLT_PC is optimized to R_PC => in
isStaticLinkTimeConstant, an error is emitted.
Reviewed By: pcc, grimar
Differential Revision: https://reviews.llvm.org/D72681
The file was addedlld/test/ELF/exclude-libs-undef.s
The file was modifiedlld/ELF/Driver.cpp
Commit 3e32b7e12701de772b1cdf855b42253650a1e997 by aqjune
[InstCombine] Let combineLoadToNewType preserve ABI alignment of the
load (PR44543)
Summary: If aligment on `LoadInst` isn't specified, load is assumed to
be ABI-aligned. And said aligment may be different for different types.
So if we change load type, but don't pay extra attention to the aligment
(i.e. keep it unspecified), we may either overpromise (if the default
aligment of the new type is higher), or underpromise (if the default
aligment of the new type is smaller).
Thus, if no alignment is specified, we need to manually preserve the
implied ABI alignment.
This addresses https://bugs.llvm.org/show_bug.cgi?id=44543 by making
combineLoadToNewType preserve ABI alignment of the load.
Reviewers: spatel, lebedev.ri
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72710
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
The file was modifiedllvm/test/Transforms/InstCombine/load-bitcast64.ll
Commit eb23cc136b68b24e63dd765b87d1facecd622695 by diggerlin
[AIX][XCOFF] Supporting the ReadOnlyWithRel SectionKnd
SUMMARY: In this patch we put the global variable in a Csect which's
SectionKind is "ReadOnlyWithRel" into Data Section.
Reviewers: hubert.reinterpretcast,jasonliu,Xiangling_L Subscribers:
wuzish, nemanjai, hiraditya
Differential Revision: https://reviews.llvm.org/D72461
The file was addedllvm/test/CodeGen/PowerPC/aix-readonly-with-relocation.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Commit f7e9f4f4c50245d10ca9869a9f8f3d431dfb6948 by warren_ristow
SCC: Allow ReplaceNode to safely support insertion
If scc_iterator::ReplaceNode is inserting a new entry in the map, rather
than replacing an existing entry, the possibility of growing the map
could cause a failure.  This change safely implements the insertion.
Reviewed By: probinson
Differential Revision: https://reviews.llvm.org/D72469
The file was modifiedllvm/include/llvm/ADT/SCCIterator.h
Commit 98c54fb1feba081c509f7e389877550df130a80d by craig.topper
[X86] Directly emit a BROADCAST_LOAD from constant pool in
lowerUINT_TO_FP_vXi32 to avoid double loads seen in D71971
By directly emitting the constants as a constant pool load we seem to
avoid the build_vector/extract_subvector combines that resulted in the
duplicate loads we had before.
Differential Revision: https://reviews.llvm.org/D72307
The file was modifiedllvm/test/CodeGen/X86/vec_int_to_fp.ll
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-256.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 7dc4bbf8ab311606388faacca58b6c3e3e508b77 by tejohnson
[ThinLTO] Handle variable with twice promoted name (Rust)
Summary: Ensure that we can internalize values produced from two rounds
of promotion.
Note that this cannot happen currently via clang, but in other use cases
such as the Rust compiler which does a first round of ThinLTO on library
code, producing bitcode, and a second round on the final binary.
In particular this can happen if a function is exported and promoted,
ending up with a ".llvm.${hash}" suffix, and then goes through a round
of optimization creating an internal switch table expansion variable
that is internal and contains the promoted name of the enclosing
function. This variable will be promoted in the second round of ThinLTO
if @foo is imported again, and therefore ends up with two
".llvm.${hash}" suffixes. Only the final one should be stripped when
consulting the index to locate the summary.
Reviewers: wmi
Subscribers: mehdi_amini, inglorion, hiraditya, JDevlieghere, steven_wu,
dexonsmith, arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72711
The file was addedllvm/test/ThinLTO/X86/thinlto-internalize-doublepromoted.ll
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was addedllvm/test/ThinLTO/X86/Inputs/thinlto-internalize-doublepromoted.ll
Commit bec1b55c64cf33d5f33c8cb7cc10d02e25811bef by maskray
[ELF] Delete the RelExpr member R_HINT. NFC
R_HINT is ignored like R_NONE. There are no strong reasons to keep
R_HINT. The largest RelExpr member R_RISCV_PC_INDIRECT is 60 now.
Differential Revision: https://reviews.llvm.org/D71822
The file was modifiedlld/ELF/Arch/ARM.cpp
The file was modifiedlld/ELF/Relocations.cpp
The file was modifiedlld/ELF/Relocations.h
Commit 2cefb93951cca01dcdde6fe5c7354dc8bcd796d6 by tejohnson
[ThinLTO/WPD] Remove an overly-aggressive assert
Summary: An assert added to the index-based WPD was trying to verify
that we only have multiple vtables for a given guid when they are all
non-external linkage. This is too conservative because we may have
multiple external vtable with the same guid when they are in comdat.
Remove the assert, as we don't have comdat information in the index, the
linker should issue an error in this case.
See discussion on D71040 for more information.
Reviewers: evgeny777, aganea
Subscribers: mehdi_amini, inglorion, hiraditya, steven_wu, dexonsmith,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72648
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was addedllvm/test/ThinLTO/X86/devirt_external_comdat_same_guid.ll
The file was addedllvm/test/ThinLTO/X86/Inputs/devirt_external_comdat_same_guid.ll
Commit cd800f3b226b25142f233beca846715fc601809b by lewis-revill
[RISCV] Allow shrink wrapping for RISC-V
Enabling shrink wrapping requires ensuring the insertion point of the
epilogue is correct for MBBs without a terminator, in which case the
instruction to adjust the stack pointer is the last instruction in the
block.
Differential Revision: https://reviews.llvm.org/D62190
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
The file was addedllvm/test/CodeGen/RISCV/shrinkwrap.ll
Commit 36fcbb838c8f293f46bfed78c6ed8c177f1e3485 by aaron
Added readability-qualified-auto check
Adds a check that detects any auto variables that are deduced to a
pointer or a const pointer then adds in the const and asterisk
according. Will also check auto L value references that could be written
as const. This relates to the coding standard
https://llvm.org/docs/CodingStandards.html#beware-unnecessary-copies-with-auto
The file was modifiedclang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
The file was addedclang-tools-extra/docs/clang-tidy/checks/readability-qualified-auto.rst
The file was addedclang-tools-extra/clang-tidy/readability/QualifiedAutoCheck.h
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/readability-qualified-auto-cxx20.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/CMakeLists.txt
The file was addedclang-tools-extra/clang-tidy/readability/QualifiedAutoCheck.cpp
The file was addedclang-tools-extra/docs/clang-tidy/checks/llvm-qualified-auto.rst
The file was addedclang-tools-extra/test/clang-tidy/checkers/readability-qualified-auto.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
Commit 527f5a471eac75fd7d6ed48bd1e242ef8ea98dd0 by llvmgnsyncbot
[gn build] Port 36fcbb838c8
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/readability/BUILD.gn
Commit ab72db7fc85266f094cc6b9452dd01f175c04cab by stilis
[lldb/test] test_breakpoints_func_full from
TestNamespace.NamespaceBreakpointTestCase is now passing on Windows
After https://reviews.llvm.org/D70846, the test is now passing on
Windows
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py
Commit b777e551f044bbc7245a0b535e46000469479ff6 by jay.foad
[MachineScheduler] Reduce reordering due to mem op clustering
Summary: Mem op clustering adds a weak edge in the DAG between two loads
or stores that should be clustered, but the direction of this edge is
pretty arbitrary (it depends on the sort order of MemOpInfo, which
represents the operands of a load or store). This often means that two
loads or stores will get reordered even if they would naturally have
been scheduled together anyway, which leads to test case churn and goes
against the scheduler's "do no harm" philosophy.
The fix makes sure that the direction of the edge always matches the
original code order of the instructions.
Reviewers: atrick, MatzeB, arsenm, rampitec, t.p.northover
Subscribers: jvesely, wdng, nhaehnle, kristof.beyls, hiraditya,
javed.absar, arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72706
The file was modifiedllvm/test/CodeGen/AMDGPU/vgpr-descriptor-waterfall-loop-idom-update.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/call-argument-types.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
The file was modifiedllvm/lib/CodeGen/MachineScheduler.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ds_read2.ll
The file was modifiedllvm/test/CodeGen/AArch64/expand-select.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/byval-frame-setup.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-ldp-cluster.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/max.i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.ll
The file was modifiedllvm/test/CodeGen/AArch64/machine-scheduler.mir
The file was modifiedllvm/test/CodeGen/AArch64/aarch64-stp-cluster.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/bitcast-constant-to-vector.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/kernel-args.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_elt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shift-i128.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/chain-hi-to-lo.ll
The file was modifiedllvm/test/CodeGen/AArch64/global-merge-group-by-use.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-subvector-unused-scratch.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-memset-inline.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/kernel-argument-dag-lowering.ll
Commit 57cb4685140284907d16673b555fd62307b4cd76 by spatel
[InstCombine] add test for possible cast-of-select transform; NFC
The file was modifiedllvm/test/Transforms/InstCombine/trunc.ll
Commit 88b8cb7215d4333ab990c99f21c7f92262ef02ef by alexandre.ganea
Fix NetBSD bot after b4a99a061f517e60985667e39519f60186cbb469
([Clang][Driver] Re-use the calling process instead of creating a new
process for the cc1 invocation)
The file was modifiedclang/test/Driver/cc1-spawnprocess.c
Commit 2d287bec3c5b63b7df9946163ba02987858b1736 by jonathanchesterfield
[nfc][libomptarget] Refactor amdgcn target_impl
Summary:
[nfc][libomptarget] Refactor amdgcn target_impl
Removes references to internal libraries from the header Standardises on
C++ mangling for all the target_impl functions Update comment block
clang-format Move some functions into a new target_impl.hip source file
This lays the groundwork for implementing the remaining unresolved
symbols in the target_impl.hip source.
Reviewers: jdoerfert, grokos, ABataev, ronlieb
Reviewed By: jdoerfert
Subscribers: jvesely, mgorny, jfb, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D72712
The file was addedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
Commit 2a43688a0a074a70e395491fa0c3cdb4556ccea4 by jonathanchesterfield
[nfc][libomptarget] Refactor nvptx/target_impl.cu
Summary:
[nfc][libomptarget] Refactor nxptx/target_impl.cu
Use __kmpc_impl_atomic_add instead of atomicAdd to match the rest of the
file. Alternatively, target_impl.cu could use the cuda functions
directly. Using a mixture in this file was an oversight, happy to
resolve in either direction.
Removed some comments that look outdated.
Call __kmpc_impl_unset_lock directly to avoid a redundant diagnostic and
remove an implict dependency on interface.h.
Reviewers: ABataev, grokos, jdoerfert
Reviewed By: jdoerfert
Subscribers: jfb, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D72719
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/target_impl.cu
Commit fa632340938cc02e03262e1318cb06b34c32f5fe by nikita.ppv
[InstCombine] Add test for iterator invalidation bug; NFC
The file was addedllvm/test/Transforms/InstCombine/bitcast-phi-uselistorder.ll
Commit 652cd7c1007aa5a13ad9864fadc939c5710c5199 by nikita.ppv
[InstCombine] Fix user iterator invalidation in bitcast of phi transform
This fixes the issue encountered in D71164. Instead of using a
range-based for, manually iterate over the users and advance the
iterator beforehand, so we do not skip any users due to iterator
invalidation.
Differential Revision: https://reviews.llvm.org/D72657
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/bitcast-phi-uselistorder.ll
Commit b4dd928ffbb8232d6909b640d3affcd531681ffb by nikita.ppv
[InstCombine] Make combineLoadToNewType a method; NFC
So it can be reused as part of other combines. In particular for D71164.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
Commit 65c0805be523445d7ad0f12e90f53648e1ae9f84 by nikita.ppv
[InstCombine] Fix infinite loop due to bitcast <-> phi transforms
Fix for https://bugs.llvm.org/show_bug.cgi?id=44245.
The optimizeBitCastFromPhi() and FoldPHIArgOpIntoPHI() end up fighting
against each other, because optimizeBitCastFromPhi() assumes that
bitcasts of loads will get folded. This doesn't happen here, because a
dangling phi node prevents the one-use fold in
https://github.com/llvm/llvm-project/blob/master/llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp#L620-L628
from triggering.
This patch fixes the issue by explicitly performing the load combine as
part of the bitcast of phi transform. Other attempts to force the load
to be combined first were ultimately too unreliable.
Differential Revision: https://reviews.llvm.org/D71164
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was addedllvm/test/Transforms/InstCombine/pr44245.ll
Commit 48bad08aa3b3bf6ad5dabe858fa655a623757395 by a.bataev
[OPENMP]Improve handling of possibly incorrectly mapped types.
Need to analayze the type of the expression for mapping, not the type of
the declaration.
The file was modifiedclang/test/OpenMP/target_map_messages.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
Commit 410331869defbde0f6e5b7b3f8ee30c10b7f6be3 by nikita.ppv
[NewPM] Port MergeFunctions pass
This ports the MergeFunctions pass to the NewPM. This was rather
straightforward, as no analyses are used.
Additionally MergeFunctions needs to be conditionally enabled in the
PassBuilder, but I left that part out of this patch.
Differential Revision: https://reviews.llvm.org/D72537
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Transforms/MergeFunc/merge-block-address.ll
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/lib/Transforms/IPO/IPO.cpp
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was modifiedllvm/lib/Transforms/IPO/MergeFunctions.cpp
The file was addedllvm/include/llvm/Transforms/IPO/MergeFunctions.h
Commit 2d4571bf3060f8f3d8417a0ec55e21a280158069 by protze
[OpenMP][Tool] Runtime warning for missing TSan-option
TSan spuriously reports for any OpenMP application a race on the
initialization of a runtime internal mutex:
``` Atomic read of size 1 at 0x7b6800005940 by thread T4:
#0 pthread_mutex_lock <null> (a.out+0x43f39e)
#1 __kmp_resume_64 <null> (libomp.so.5+0x84db4)
Previous write of size 1 at 0x7b6800005940 by thread T7:
#0 pthread_mutex_init <null> (a.out+0x424793)
#1 __kmp_suspend_initialize_thread <null> (libomp.so.5+0x8422e)
```
According to @AndreyChurbanov this is a false positive report, as the
control flow of the runtime guarantees the ordering of the mutex
initialization and the lock:
https://software.intel.com/en-us/forums/intel-open-source-openmp-runtime-library/topic/530363
To suppress this report, I suggest the use of
TSAN_OPTIONS='ignore_uninstrumented_modules=1'. With this patch, a
runtime warning is provided in case an OpenMP application is built with
Tsan and executed without this Tsan-option.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D70412
The file was modifiedopenmp/tools/archer/ompt-tsan.cpp
The file was modifiedopenmp/CREDITS.txt
Commit 5d1b3ba687690bbb37f911f66a2c2c5f19d60032 by maskray
[Driver] Ignore -fno-semantic-interposition
Fedora wants to build projects with -fno-semantic-interposition (e.g.
https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup),
which is supported by GCC>=5.
Clang's current behavior is similar to -fno-semantic-interposition and
the end goal is to make it more so
(https://lists.llvm.org/pipermail/llvm-dev/2016-November/107625.html).
Ignore this option.
We should let users know -fsemantic-interposition is not currently
supported, so it should remain a hard error.
Reviewed By: serge-sans-paille
Differential Revision: https://reviews.llvm.org/D72724
The file was modifiedclang/test/Driver/clang_f_opts.c
The file was modifiedclang/include/clang/Driver/Options.td
Commit 26d96126a0d258afccfeec1fbaa727bfeb820308 by danilo.carvalho.grael
[SVE] Add patterns for MUL immediate instruction.
Summary: Add the missing MUL pattern for integer immediate instructions.
Reviewers: sdesmalen, huntergr, efriedma, c-rhodes, kmclaughlin
Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits, amehsan
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72654
The file was addedllvm/test/CodeGen/AArch64/sve-neg-int-arith-imm.ll
The file was addedllvm/test/CodeGen/AArch64/sve-neg-int-arith-imm-2.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-int-arith-imm.ll
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Commit 337e4359645ebd0f35136dbec9b51c48b9071f9c by martin
[libcxx] [Windows] Make a more proper implementation of strftime_l for
mingw with msvcrt.dll
This also makes this function consistent with the rest of the libc++
provided fallbacks.
The locale support in msvcrt.dll is very limited anyway; it can only be
configured processwide, not per thread, and it only seems to support the
locales "C" and "" (the user set locale), so it's hard to make any
meaningful automatic test for it. But manually tested, this change does
make time formatting locale code in libc++ output times in the user
requested format, when using locale "".
Differential Revision: https://reviews.llvm.org/D69554
The file was modifiedlibcxx/src/support/win32/locale_win32.cpp
The file was modifiedlibcxx/include/support/win32/locale_win32.h
Commit b53d44b17a1685e405415cd32c4b6eb89cc4c3a1 by Adrian Prantl
dotest.py: Add option to pass extra lldb settings to dotest
The primary motivation for this is to add another dimension to the Swift
LLDB test matrix, but this seems generally useful.
Differential Revision: https://reviews.llvm.org/D72662
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest_args.py
The file was modifiedlldb/packages/Python/lldbsuite/test/configuration.py
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
Commit 5ee616a710bcb52cf9f1f7951644d098d38e7b6a by jranieri
[analyzer] Fix SARIF column locations
Differential revision: https://reviews.llvm.org/D70689
The file was modifiedclang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
The file was modifiedclang/test/Analysis/diagnostics/sarif-multi-diagnostic-test.c
The file was modifiedclang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif
The file was modifiedclang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-multi-diagnostic-test.c.sarif
Commit 651128f557229e79598e22102edb7fad3bf288c0 by akhuang
[DebugInfo] Add option to clang to limit debug info that is emitted for
classes.
Summary: This patch adds an option to limit debug info by only emitting
complete class type information when its constructor is emitted. This
applies to classes that have nontrivial user defined constructors.
I implemented the option by adding another level to `DebugInfoKind`, and
a flag `-flimit-debug-info-constructor`.
Total object file size on Windows, compiling with RelWithDebInfo:
before: 4,257,448 kb
after:  2,104,963 kb
And on Linux
before: 9,225,140 kb
after:  4,387,464 kb
According to the Windows clang.pdb files, here is a list of types that
are no longer complete with this option enabled:
https://reviews.llvm.org/P8182
Reviewers: rnk, dblaikie
Subscribers: aprantl, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72427
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was addedclang/test/CodeGenCXX/debug-info-limited-ctor.cpp
Commit 04e586151e7987089d760662126e247012431e90 by nikita.ppv
[InstCombine] Fix worklist management when removing guard intrinsic
When multiple guard intrinsics are merged into one, currently the result
of eraseInstFromFunction() is returned -- however, this should only be
done if the current instruction is being removed. In this case we're
removing a different instruction and should instead report that the
current one has been modified by returning it.
For this test case, this reduces the number of instcombine iterations
from 5 to 2 (the minimum possible).
Differential Revision: https://reviews.llvm.org/D72558
The file was modifiedllvm/test/Transforms/InstCombine/call-guard.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Commit 986202fad41529af8288aca54f2ff62d4c501d71 by Jan Korous
[clang][test][NFC] Use more widely supported sanitizer for file
dependency tests
The tests aren't concerned at all by the actual sanitizer - only by
blacklist being reported as a dependency. We're unfortunately limited by
platform support for any particular sanitizer but we can at least use
one that is widely supported.
Post-commit review: https://reviews.llvm.org/D72729
The file was modifiedclang/test/Frontend/dependency-gen.c
The file was addedclang/test/Frontend/Inputs/resource_dir_with_sanitizer_blacklist/share/ubsan_blacklist.txt
The file was removedclang/test/Frontend/Inputs/resource_dir_with_cfi_blacklist/share/cfi_blacklist.txt
Commit fe37d9ecaabda4f9948f35bb20c1a13687a7eaca by fedor.sergeev
[GVN] fix comment/argument name to match actual implementation. NFC
The file was modifiedllvm/include/llvm/Transforms/Scalar/GVN.h
Commit 9ee90ea55c1656b75e40f595dc351fbf667f5b79 by craig.topper
[LegalizeTypes] Remove untested code from ExpandIntOp_UINT_TO_FP
This code is untested in tree because the
"APFloat::semanticsPrecision(sem) >= SrcVT.getSizeInBits() - 1" check is
false for most combinations for int and fp types except maybe i32 and
f64. For that you would need i32 to be an illegal type, but f64 to be
legal and have custom handling for legalizing the split sint_to_fp. The
precision check itself was added in 2010 to fix a double rounding issue
in the algorithm that would occur if the sint_to_fp was not able to do
the conversion without rounding.
Differential Revision: https://reviews.llvm.org/D72728
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Commit 1ca51c06729d7f7326fcc2a826e07d1c92158dfd by maskray
[Driver][test] Fix Driver/hexagon-toolchain-elf.c for
-DCLANG_DEFAULT_LINKER=lld builds
Reviewed By: nathanchance, sidneym
Differential Revision: https://reviews.llvm.org/D72668
The file was modifiedclang/test/Driver/hexagon-toolchain-elf.c
Commit 6078f2fedcac5797ac39ee5ef3fd7a35ef1202d5 by Amara Emerson
[AArch64][GlobalISel]: Support @llvm.{return,frame}address selection.
These intrinsics expand to a variable number of instructions so just
like in ISelLowering.cpp we use custom code to deal with them.
Committing Tim's original patch.
Differential Revision: https://reviews.llvm.org/D65656
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/select-returnaddr.ll
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/select-frameaddr.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit a3490e3e3d38d502179329f76138d96c5b2bab88 by michael.hliao
Remove trailing `;`. NFC.
The file was modifiedclang/lib/Tooling/Syntax/Tree.cpp
Commit 1bd14ce39293df61888042916a7e43b9e502a4de by riverriddle
[mlir] Use double format when parsing bfloat16 hexadecimal values
Summary: bfloat16 doesn't have a valid APFloat format, so we have to use
double semantics when storing it. This change makes sure that
hexadecimal values can be round-tripped properly given this fact.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D72667
The file was modifiedmlir/test/IR/invalid.mlir
The file was modifiedmlir/test/IR/parser.mlir
The file was modifiedmlir/lib/Parser/Parser.cpp
Commit a48600c0a653d34f4af760f117755ed1776adf9d by a.bataev
[OPENMP]Do not emit special virtual function for NVPTX target.
There are no special virtual function handlers (like __cxa_pure_virtual)
defined for NVPTX target, so just emit such functions as null pointers
to prevent issues with linking and unresolved references.
The file was addedclang/test/OpenMP/nvptx_target_pure_deleted_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGVTables.cpp
Commit 8d07f8d98c48ee0a9dca450aaf4e1cabc621ff68 by michael.hliao
[DAGCombine] Replace `getIntPtrConstant()` with `getVectorIdxTy()`.
- Prefer `getVectorIdxTy()` as the index operand type for
`EXTRACT_SUBVECTOR` as targets expect different types by overloading
`getVectorIdxTy()`.
The file was addedllvm/test/CodeGen/AMDGPU/extract-subvector.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit f52d71736b10e87b1aa1880b777dc9462a0085ce by ntv
[mlir][Linalg] Update the semantics, verifier and test for Linalg with
tensors.
Summary: This diff fixes issues with the semantics of linalg.generic on
tensors that appeared when converting directly from HLO to
linalg.generic. The changes are self-contained within MLIR and can be
captured and tested independently of XLA.
The linalg.generic and indexed_generic are updated to:
To allow progressive lowering from the value world (a.k.a tensor values)
to the buffer world (a.k.a memref values), a linalg.generic op accepts
mixing input and output ranked tensor values with input and output
memrefs.
```
%1 = linalg.generic #trait_attribute %A, %B {other-attributes} :
tensor<?x?xf32>,
memref<?x?xf32, stride_specification>
-> (tensor<?x?xf32>)
```
In this case, the number of outputs (args_out) must match the sum of (1)
the number of output buffer operands and (2) the number of tensor return
values. The semantics is that the linalg.indexed_generic op produces
(i.e. allocates and fills) its return values.
Tensor values must be legalized by a buffer allocation pass before most
transformations can be applied. Such legalization moves tensor return
values into output buffer operands and updates the region argument
accordingly.
Transformations that create control-flow around linalg.indexed_generic
operations are not expected to mix with tensors because SSA values do
not escape naturally. Still, transformations and rewrites that take
advantage of tensor SSA values are expected to be useful and will be
added in the near future.
Subscribers: bmahjour, mehdi_amini, rriddle, jpienaar, burmako,
shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72555
The file was modifiedmlir/lib/Dialect/Linalg/Analysis/DependenceAnalysis.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgTransforms.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Dialect/Linalg/invalid.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
Commit 729530f68fe135ad41d470fbed019cc5e31ac8a5 by l.lunak
-fmodules-codegen should not emit extern templates
If a header contains 'extern template', then the template should be
provided somewhere by an explicit instantiation, so it is not necessary
to generate a copy. Worse, this can lead to an unresolved symbol,
because the codegen's object file will not actually contain functions
from such a template because of the GVA_AvailableExternally, but the
object file for the explicit instantiation will not contain them either
because it will be blocked by the information provided by the module.
Differential Revision: https://reviews.llvm.org/D69779
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was addedclang/test/Modules/codegen-extern-template.modulemap
The file was addedclang/test/Modules/codegen-extern-template.cpp
The file was addedclang/test/Modules/codegen-extern-template.h
Commit b5b2cf7af47f1ca04635dae7b787c8a81d5af4c9 by l.lunak
fix recent -fmodules-codegen fix test
The file was modifiedclang/test/Modules/codegen-extern-template.cpp
The file was removedclang/test/Modules/codegen-extern-template.modulemap
The file was addedclang/test/Modules/Inputs/codegen-extern-template.modulemap
Commit cbc9d22e49b434b6ceb2eb94b67079d02e0a7b74 by l.lunak
make -fmodules-codegen and -fmodules-debuginfo work also with PCHs
Allow to build PCH's (with -building-pch-with-obj and the extra .o file)
with -fmodules-codegen -fmodules-debuginfo to allow emitting shared code
into the extra .o file, similarly to how it works with modules. A bit of
a misnomer, but the underlying functionality is the same. This saves up
to 20% of build time here.
Differential Revision: https://reviews.llvm.org/D69778
The file was addedclang/test/PCH/codegen.cpp
The file was modifiedclang/test/Modules/Inputs/codegen-flags/foo.h
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
Commit 20c6e0749461147df19a3b126d1a48106c63c351 by riverriddle
[mlir] Enable printing of FuncOp in the generic form.
Summary: This was previously disabled as FunctionType TypeAttrs could
not be roundtripped in the IR. This has been fixed, so we can now
generically print FuncOp.
Depends On D72429
Reviewed By: jpienaar, mehdi_amini
Differential Revision: https://reviews.llvm.org/D72642
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/test/IR/wrapping_op.mlir
Commit 23058f9dd4d7e18239fd63b6da52549514b45fda by a.bataev
[OPENMP]Do not use RTTI by default for NVPTX devices.
NVPTX does not support RTTI, so disable it by default.
The file was addedclang/test/Driver/openmp-offload-gpu.cpp
The file was modifiedclang/lib/Driver/ToolChain.cpp
Commit fa9dd8336bbd1167926f93fe2018d0c47839d5d6 by riverriddle
[mlir] Refactor ModuleState into AsmState and expose it to users.
Summary: This allows for users to cache printer state, which can be
costly to recompute. Each of the IR print methods gain a new overload
taking this new state class.
Depends On D72293
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D72294
The file was modifiedmlir/include/mlir/IR/Block.h
The file was modifiedmlir/include/mlir/IR/Module.h
The file was modifiedmlir/include/mlir/IR/Operation.h
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was addedmlir/include/mlir/IR/AsmState.h
The file was modifiedmlir/include/mlir/IR/Value.h
Commit 60d39479221d6bc09060f7816bcd7c54eb286603 by xur
[remark][diagnostics] Using clang diagnostic handler for IR input files
For IR input files, we currently use LLVM diagnostic handler even the
compilation is from clang. As a result, we are not able to use -Rpass to
get the transformation reports. Some warnings are not handled properly
either: We found many mysterious warnings in our ThinLTO backend
compilations in SamplePGO and CSPGO. An example of the warning:
"warning: net/proto2/public/metadata_lite.h:51:21: 0.02% (1 / 4999)"
This turns out to be a warning by Wmisexpect, which is supposed to be
filtered out by default. But since the filter is in clang's diagnostic
hander, we emit these incomplete warnings from LLVM's diagnostic
handler.
This patch uses clang diagnostic handler for IR input files. We create a
fake backendconsumer just to install the diagnostic handler.
With this change, we will have proper handling of all the warnings and
we can use -Rpass* options in IR input files compilation. Also note that
with is patch, LLVM's diagnostic options, like
"-mllvm -pass-remarks=*", are no longer be able to get optimization
remarks.
Differential Revision: https://reviews.llvm.org/D72523
The file was modifiedclang/lib/CodeGen/CodeGenAction.cpp
The file was addedclang/test/CodeGen/Inputs/thinlto_expect1.proftext
The file was addedclang/test/CodeGen/Inputs/thinlto_expect2.proftext
The file was addedclang/test/CodeGen/thinlto-clang-diagnostic-handler-in-be.c
The file was modifiedclang/test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll
Commit 47c6ab2b97773ee5fb360fc093a5824be64b8c68 by antiagainst
[mlir][spirv] Properly support SPIR-V conversion target
This commit defines a new SPIR-V dialect attribute for specifying a
SPIR-V target environment. It is a dictionary attribute containing the
SPIR-V version, supported extension list, and allowed capability list. A
SPIRVConversionTarget subclass is created to take in the target
environment and sets proper dynmaically legal ops by querying the op
availability interface of SPIR-V ops to make sure they are available in
the specified target environment. All existing conversions targeting
SPIR-V is changed to use this SPIRVConversionTarget. It probes whether
the input IR has a `spv.target_env` attribute, otherwise, it uses the
default target environment: SPIR-V 1.0 with Shader capability and no
extra extensions.
Differential Revision: https://reviews.llvm.org/D72256
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVLowering.h
The file was modifiedmlir/test/Dialect/SPIRV/TestAvailability.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/TargetAndABI.h
The file was addedmlir/test/Dialect/SPIRV/target-env.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
The file was modifiedmlir/docs/Dialects/SPIR-V.md
The file was modifiedmlir/include/mlir/Dialect/SPIRV/TargetAndABI.td
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/LowerABIAttributesPass.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRVPass.cpp
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
The file was modifiedmlir/test/Dialect/SPIRV/target-and-abi.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/TargetAndABI.cpp
Commit 01a4b83154760ea286117ac4de9576b8a215cb8d by michael.hliao
[codegen,amdgpu] Enhance MIR DIE and re-arrange it for AMDGPU.
Summary:
- `dead-mi-elimination` assumes MIR in the SSA form and cannot be
arranged after phi elimination or DeSSA. It's enhanced to handle the
dead register definition by skipping use check on it. Once a register
def is `dead`, all its uses, if any, should be `undef`.
- Re-arrange the DIE in RA phase for AMDGPU by placing it directly after
`detect-dead-lanes`.
- Many relevant tests are refined due to different register assignment.
Reviewers: rampitec, qcolombet, sunfish
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72709
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_elt.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.ordered.swap.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot8u.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/loop_break.ll
The file was addedllvm/test/CodeGen/AMDGPU/dead-machine-elim-after-dead-lane.ll
The file was removedllvm/test/CodeGen/AMDGPU/dead-mi-use-same-intr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-vgpr-to-agpr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/select.f16.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.round.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/bswap.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/copy-illegal-type.ll
The file was modifiedllvm/lib/CodeGen/DeadMachineInstructionElim.cpp
Commit e244145ab08ae79ea3d22c2fe479ec084dbd7742 by georgios.rokos
[LIBOMPTARGET] Do not increment/decrement the refcount for "declare
target" objects
The reference counter for global objects marked with declare target is
INF. This patch prevents the runtime from incrementing /decrementing INF
refcounts. Without it, the map(delete: global_object) directive actually
deallocates the global on the device. With this patch, such a directive
becomes a no-op.
Differential Revision: https://reviews.llvm.org/D72525
The file was modifiedopenmp/libomptarget/src/device.cpp
The file was addedopenmp/libomptarget/test/mapping/delete_inf_refcount.c
The file was modifiedopenmp/libomptarget/src/device.h
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
Commit c9ee5e996e3c89a751a35e8b771870e0ec24f3c0 by xur
Fix windows bot failures in c410adb092c9cb51ddb0b55862b70f2aa8c5b16f
(clang diagnostic handler for IR input files)
The file was modifiedclang/test/CodeGen/thinlto-clang-diagnostic-handler-in-be.c
Commit ab9aefee9fa09957d1a3e76fcc47abda0d002255 by phosek
[libcxx] Use C11 thread API on Fuchsia
On Fuchsia, pthread API is emulated on top of C11 thread API. Using C11
thread API directly is more efficient.
While this implementation is only used by Fuchsia at the moment, it's
not Fuchsia specific, and could be used by other platforms that use C11
threads rather than pthreads in the future.
Differential Revision: https://reviews.llvm.org/D64378
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/include/__threading_support
Commit ab035647061272b7efa39364c42e48972cebc0ab by ataei
[mlir] : Fix ViewOp shape folder for identity affine maps
Summary: Fix the ViewOpShapeFolder in case of no affine mapping
associated with a Memref construct identity mapping.
Reviewers: nicolasvasilache
Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen,
antiagainst, arpith-jacob, mgester, lucyrfox, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72735
The file was modifiedmlir/lib/Dialect/StandardOps/Ops.cpp
The file was modifiedmlir/test/Transforms/canonicalize.mlir
Commit 57eb56b83926675dd8a554fc8a8e28ee57278f90 by craig.topper
[X86] Swap the 0 and the fudge factor in the constant pool for the
32-bit mode i64->f32/f64/f80 uint_to_fp algorithm.
This allows us to generate better code for selecting the fixup to load.
Previously when the sign was set we had to load offset 0. And when it
was clear we had to load offset 4. This required a testl, setns, zero
extend, and finally a mul by 4. By switching the offsets we can just
shift the sign bit into the lsb and multiply it by 4.
The file was modifiedllvm/test/CodeGen/X86/fp-strict-scalar-inttofp.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-256.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-128.ll
The file was modifiedllvm/test/CodeGen/X86/scalar-int-to-fp.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics-fast-isel.ll
The file was modifiedllvm/test/CodeGen/X86/fp-cvt.ll
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/uint64-to-float.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/fildll.ll
The file was modifiedllvm/test/CodeGen/X86/pr15309.ll
The file was modifiedllvm/test/CodeGen/X86/pr44396.ll
The file was modifiedllvm/test/CodeGen/X86/fp80-strict-scalar.ll
The file was modifiedllvm/test/CodeGen/X86/half.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-512.ll
Commit 76291e1158c2aedddfe0be0ea69452ea6dc2db24 by craig.topper
[X86] Drop an unneeded FIXME. NFC
The extload on X87 is free.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 65c8abb14e77b28d8357c52dddb8e0a6b12b4ba2 by michael.hliao
[amdgpu] Fix typos in a test case.
- There are typos introduced due to merge.
The file was modifiedllvm/test/CodeGen/AMDGPU/insert_vector_elt.ll
Commit 40cd26c7008183e01d8276396339aea2a99d83d7 by rnk
[Win64] Handle FP arguments more gracefully under -mno-sse
Pass small FP values in GPRs or stack memory according the the normal
convention. This is what gcc -mno-sse does on Win64.
I adjusted the conditions under which we emit an error to check if the
argument or return value would be passed in an XMM register when SSE is
disabled. This has a side effect of no longer emitting an error for FP
arguments marked 'inreg' when targetting x86 with SSE disabled. Our
calling convention logic was already assigning it to FP0/FP1, and then
we emitted this error. That seems unnecessary, we can ignore 'inreg' and
compile it without SSE.
Reviewers: jyknight, aemerson
Differential Revision: https://reviews.llvm.org/D70465
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was addedllvm/test/CodeGen/X86/no-sse-win64.ll
The file was modifiedllvm/lib/Target/X86/X86CallingConv.td
The file was addedllvm/test/CodeGen/X86/no-sse-x86.ll
The file was removedllvm/test/CodeGen/X86/nosse-error2.ll
Commit 0f9cf42facaf9eff47dc0b9eb7e6ed8803d3bc3b by rnk
Allow /D flags absent during PCH creation under msvc-compat
Summary: Before this patch adding a new /D flag when compiling a source
file that consumed a PCH with clang-cl would issue a diagnostic and then
fail.  With the patch, the diagnostic is still issued but the definition
is accepted.  This matches the msvc behavior.  The fuzzy-pch-msvc.c is a
clone of the existing fuzzy-pch.c tests with some msvc specific rework.
msvc diagnostic:
warning C4605: '/DBAR=int' specified on current command line, but was
not specified when precompiled header was built
Output of the CHECK-BAR test prior to the code change:
<built-in>(1,9): warning: definition of macro 'BAR' does not match
definition in precompiled header [-Wclang-cl-pch]
#define BAR int
         ^
D:\repos\llvm\llvm-project\clang\test\PCH\fuzzy-pch-msvc.c(12,1):
error: unknown type name 'BAR'
BAR bar = 17;
^
D:\repos\llvm\llvm-project\clang\test\PCH\fuzzy-pch-msvc.c(23,4):
error: BAR was not defined
#  error BAR was not defined
    ^
1 warning and 2 errors generated.
Reviewers: rnk, thakis, hans, zturner
Subscribers: mikerice, aganea, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72405
The file was modifiedclang/lib/Lex/PPDirectives.cpp
The file was addedclang/test/PCH/ms-pch-macro.c
Commit 8e780252a7284be45cf1ba224cabd884847e8e92 by rnk
[X86] ABI compat bugfix for MSVC vectorcall
Summary: Before this change, X86_32ABIInfo::classifyArgument would be
called twice on vector arguments to vectorcall functions. This function
has side effects to track GPR register usage, and this would lead to
incorrect GPR usage in some cases.  The specific case I noticed is from
running out of XMM registers with mixed FP and vector arguments and no
aggregates of any kind. Consider this prototype:
  void __vectorcall vectorcall_indirect_vec(
     double xmm0, double xmm1, double xmm2, double xmm3, double xmm4,
     __m128 xmm5,
     __m128 ecx,
     int edx,
     __m128 mem);
classifyArgument has no effects when called on a plain FP type, but when
called on a vector type, it modifies FreeRegs to model GPR consumption.
However, this should not happen during the vector call first pass.
I refactored the code to unify vectorcall HVA logic with regcall HVA
logic. The conventions pass HVAs in registers differently (expanded vs.
not expanded), but if they do not fit in registers, they both pass them
indirectly by address.
Reviewers: erichkeane, craig.topper
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72110
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/include/clang/CodeGen/CGFunctionInfo.h
The file was modifiedclang/test/CodeGen/vectorcall.c
Commit ff1e0fce817e01f0288fad6a2607dd173180aabd by saar
[Concepts] Type Constraints
Add support for type-constraints in template type parameters. Also add
support for template type parameters as pack expansions (where the type
constraint can now contain an unexpanded parameter pack).
Differential Revision: https://reviews.llvm.org/D44352
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was addedclang/test/CXX/temp/temp.arg/temp.arg.template/p3-2a.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/include/clang/AST/ASTConcept.h
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
The file was modifiedclang/include/clang/Basic/TokenKinds.def
The file was modifiedclang/lib/Parse/ParseExprCXX.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/include/clang/AST/ASTNodeTraverser.h
The file was modifiedclang/lib/AST/DeclTemplate.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/include/clang/AST/DeclTemplate.h
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/include/clang/Sema/ParsedTemplate.h
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/test/SemaTemplate/ms-delayed-default-template-args.cpp
The file was addedclang/test/CXX/temp/temp.param/p10-2a.cpp
The file was addedclang/test/SemaTemplate/instantiate-expanded-type-constraint.cpp
The file was addedclang/test/CXX/temp/temp.constr/temp.constr.decl/p3.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Parse/ParseTemplate.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was addedclang/test/Parser/cxx2a-constrained-template-param.cpp
The file was modifiedclang/lib/AST/DeclPrinter.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp
The file was addedclang/test/Parser/cxx2a-constrained-template-param-with-partial-id.cpp
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/AST/ODRHash.cpp
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
Commit 1a7398eca2040d232149f18a75b5d78a6521941c by listmail
[BranchAlign] Add master --x86-branches-within-32B-boundaries flag
This flag was originally part of D70157, but was removed as we carved
away pieces of the review. Since we have the nop support checked in, and
it appears mature(*), I think it's time to add the master flag. For now,
it will default to nop padding, but once the prefix padding support
lands, we'll update the defaults.
(*) I can now confirm that downstream testing of the changes which have
landed to date - nop padding and compiler support for suppressions - is
passing all of the functional testing we've thrown at it. There might
still be something lurking, but we've gotten enough coverage to be
confident of the basic approach.
Note that the new flag can be used either when assembling an .s file, or
when using the integrated assembler directly from the compiler. The
later will use all of the suppression mechanism and should always
generate correct code. We don't yet have assembly syntax for the
suppressions, so passing this directly to the assembler w/a raw .s file
may result in broken code. Use at your own risk.
Also note that this isn't the wiring for the clang option. I think the
most recent review for that is D72227, but I've lost track, so that
might be off.
Differential Revision: https://reviews.llvm.org/D72738
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
The file was modifiedllvm/test/MC/X86/align-branch-64-1a.s
Commit aca3e70d2bc0dd89b7d486c2a8eac70d8a89e790 by hstong
DWARFDebugLine.cpp: Restore LF line endings
rG7e02406f6cf180a8c89ce64665660e7cc9dbc23e switched the file to CRLF
line endings.
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
Commit c6e69880ae4d9ce4d27bf046292a0a20c3ab3540 by douglas.yung
Modify test to use -S instead of -c so that it works when an external
assembler is used that is not present.
The file was modifiedclang/test/Driver/cc1-spawnprocess.c
Commit 1b5404aff37953ce4c10191d04872ed7c2dc6548 by richard
PR44540: Prefer an inherited default constructor over an initializer
list constructor when initializing from {}.
We would previously pick between calling an initializer list constructor
and calling a default constructor unstably in this situation, depending
on whether the inherited default constructor had already been used
elsewhere in the program.
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/test/CXX/dcl.decl/dcl.init/dcl.init.list/p3.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
Commit 0dbcb3639451a7c20e2d5133b459552281e64455 by tstellar
CMake: Make most target symbols hidden by default
Summary: For builds with LLVM_BUILD_LLVM_DYLIB=ON and
BUILD_SHARED_LIBS=OFF this change makes all symbols in the target
specific libraries hidden by default.
A new macro called LLVM_EXTERNAL_VISIBILITY has been added to mark
symbols in these libraries public, which is mainly needed for the
definitions of the LLVMInitialize* functions.
This patch reduces the number of public symbols in libLLVM.so by about
25%.  This should improve load times for the dynamic library and also
make abi checker tools, like abidiff require less memory when analyzing
libLLVM.so
One side-effect of this change is that for builds with
LLVM_BUILD_LLVM_DYLIB=ON and LLVM_LINK_LLVM_DYLIB=ON some unittests that
access symbols that are no longer public will need to be statically
linked.
Before and after public symbol counts (using gcc 8.2.1, ld.bfd 2.31.1):
nm before/libLLVM-9svn.so | grep ' [A-Zuvw] ' | wc -l 36221 nm
after/libLLVM-9svn.so | grep ' [A-Zuvw] ' | wc -l 26278
Reviewers: chandlerc, beanz, mgorny, rnk, hans
Reviewed By: rnk, hans
Subscribers: merge_guards_bot, luismarques, smeenai, ldionne, lenary,
s.egerton, pzheng, sameer.abuasal, MaskRay, wuzish, echristo, Jim,
hiraditya, michaelplatings, chapuni, jholewinski, arsenm, dschuff,
jyknight, dylanmckay, sdardis, nemanjai, jvesely, javed.absar, sbc100,
jgravelle-google, aheejin, kbarton, fedor.sergeev, asb, rbar, johnrusso,
simoncook, apazos, sabuasal, niosHD, jrtc27, zzheng, edward-jones,
mgrang, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX,
jocewei, kristina, jsji, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D54439
The file was modifiedllvm/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
The file was modifiedllvm/lib/Target/NVPTX/TargetInfo/NVPTXTargetInfo.cpp
The file was modifiedllvm/lib/Target/ARC/TargetInfo/ARCTargetInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
The file was modifiedllvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
The file was modifiedllvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
The file was modifiedllvm/unittests/tools/llvm-exegesis/X86/CMakeLists.txt
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was modifiedllvm/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
The file was modifiedllvm/lib/Target/XCore/TargetInfo/XCoreTargetInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/TargetInfo/ARMTargetInfo.cpp
The file was modifiedllvm/lib/Target/AVR/AVRTargetMachine.cpp
The file was modifiedllvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp
The file was modifiedllvm/unittests/Target/WebAssembly/CMakeLists.txt
The file was modifiedllvm/lib/Target/BPF/BPFTargetMachine.cpp
The file was modifiedllvm/unittests/tools/llvm-exegesis/AArch64/CMakeLists.txt
The file was modifiedllvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
The file was modifiedllvm/lib/Target/WebAssembly/TargetInfo/WebAssemblyTargetInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
The file was modifiedllvm/lib/Target/ARC/MCTargetDesc/ARCMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
The file was modifiedllvm/lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/Lanai/Disassembler/LanaiDisassembler.cpp
The file was modifiedllvm/unittests/Target/AArch64/CMakeLists.txt
The file was modifiedllvm/lib/Target/XCore/Disassembler/XCoreDisassembler.cpp
The file was modifiedllvm/utils/unittest/CMakeLists.txt
The file was modifiedllvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
The file was modifiedllvm/lib/Target/AVR/Disassembler/AVRDisassembler.cpp
The file was modifiedllvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
The file was modifiedllvm/lib/Target/Sparc/TargetInfo/SparcTargetInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MipsTargetMachine.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp
The file was modifiedllvm/lib/Target/ARC/ARCTargetMachine.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcTargetMachine.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp
The file was modifiedllvm/unittests/tools/llvm-exegesis/PowerPC/CMakeLists.txt
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
The file was modifiedllvm/lib/Target/BPF/AsmParser/BPFAsmParser.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430AsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARC/ARCAsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARC/Disassembler/ARCDisassembler.cpp
The file was modifiedllvm/lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetMachine.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVTargetMachine.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/include/llvm/Support/Compiler.h
The file was modifiedllvm/lib/Target/Lanai/MCTargetDesc/LanaiMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
The file was modifiedllvm/unittests/tools/llvm-exegesis/ARM/CMakeLists.txt
The file was modifiedllvm/lib/Target/XCore/XCoreAsmPrinter.cpp
The file was modifiedllvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcAsmPrinter.cpp
The file was modifiedllvm/unittests/tools/llvm-exegesis/Mips/CMakeLists.txt
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.cpp
The file was modifiedllvm/unittests/Target/ARM/CMakeLists.txt
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/lib/Target/Mips/MipsAsmPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonAsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreTargetMachine.cpp
The file was modifiedllvm/lib/Target/BPF/BPFAsmPrinter.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.cpp
The file was modifiedllvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp
The file was modifiedllvm/lib/Target/AMDGPU/TargetInfo/AMDGPUTargetInfo.cpp
The file was modifiedllvm/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/AVR/AsmParser/AVRAsmParser.cpp
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
The file was modifiedllvm/lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp
The file was modifiedllvm/lib/Target/MSP430/Disassembler/MSP430Disassembler.cpp
The file was modifiedllvm/lib/Target/Lanai/TargetInfo/LanaiTargetInfo.cpp
The file was modifiedllvm/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
The file was modifiedllvm/lib/Target/CMakeLists.txt
The file was modifiedllvm/lib/Target/BPF/Disassembler/BPFDisassembler.cpp
The file was modifiedllvm/lib/Target/Hexagon/TargetInfo/HexagonTargetInfo.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430TargetMachine.cpp
The file was modifiedllvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
The file was modifiedllvm/lib/Target/AVR/AVRAsmPrinter.cpp
The file was modifiedllvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
The file was modifiedllvm/lib/Target/MSP430/TargetInfo/MSP430TargetInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
The file was modifiedllvm/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
The file was modifiedllvm/lib/Target/Lanai/LanaiAsmPrinter.cpp
The file was modifiedllvm/lib/Target/Lanai/LanaiTargetMachine.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/lib/Target/X86/TargetInfo/X86TargetInfo.cpp
The file was modifiedllvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
The file was modifiedllvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
The file was modifiedllvm/lib/Target/ARM/ARMTargetMachine.cpp
The file was modifiedllvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was modifiedllvm/unittests/CMakeLists.txt
The file was modifiedllvm/lib/Target/BPF/TargetInfo/BPFTargetInfo.cpp
Commit d18fbfc09720009c0dc6a1ddf315402ee0a7751d by phabouzit
Relax the rules around objc_alloc and objc_alloc_init optimizations.
Today the optimization is limited to:
- `[ClassName alloc]`
- `[self alloc]` when within a class method
However it means that when code is written this way:
```
   @interface MyObject
   - (id)copyWithZone:(NSZone *)zone
   {
       return [[self.class alloc] _initWith...];
   }
    @end
```
... then the optimization doesn't kick in and `+[NSObject alloc]` ends
up in IMP caches where it could have been avoided. It turns out that
`+alloc` -> `+[NSObject alloc]` is the most cached SEL/IMP pair in the
entire platform which is rather silly).
There's two theoretical risks allowing this optimization:
1. if the receiver is nil (which it can't be today), but it turns out
  that `objc_alloc()`/`objc_alloc_init()` cope with a nil receiver,
2. if the `Clas` type for the receiver is a lie. However, for such a
  code to work today (and not fail witn an unrecognized selector
  anyway) you'd have to have implemented the `-alloc` **instance
  method**.
   Fortunately, `objc_alloc()` doesn't assume that the receiver is a
  Class, it basically starts with a test that is similar to
       `if (receiver->isa->bits & hasDefaultAWZ) { /* fastpath */ }`.
   This bit is only set on metaclasses by the runtime, so if an instance
  is passed to this function by accident, its isa will fail this test,
  and `objc_alloc()` will gracefully fallback to `objc_msgSend()`.
   The one thing `objc_alloc()` doesn't support is tagged pointer
  instances. None of the tagged pointer classes implement an instance
  method called `'alloc'` (actually there's a single class in the
  entire Apple codebase that has such a method).
Differential Revision: https://reviews.llvm.org/D71682 Radar-Id:
rdar://problem/58058316 Reviewed-By: Akira Hatanaka Signed-off-by:
Pierre Habouzit <phabouzit@apple.com>
The file was modifiedclang/test/CodeGenObjC/objc-alloc-init.m
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
Commit 36eedfcb3cea6d4fb0c5998e63596502eb7d32f0 by chmeeedalf
[PowerPC] Fix powerpcspe subtarget enablement in llvm backend
Summary: As currently written, -target powerpcspe will enable SPE
regardless of disabling the feature later on in the command line.
Instead, change this to just set a default CPU to 'e500' instead of a
generic CPU.
As part of this, add FeatureSPE to the e500 definition.
Reviewed By: MaskRay Differential Revision:
https://reviews.llvm.org/D72673
The file was modifiedllvm/lib/Target/PowerPC/PPC.td
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.cpp
Commit a60e8927297005898b10a46300d929ba5cf7833c by rtrieu
[ODRHash] Fix wrong error message with bitfields and mutable.
Add a check to bitfield mismatches that may have caused Clang to give an
error about the bitfield instead of being mutable.
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/test/Modules/odr_hash.cpp
Commit 5ca24d09aefaedf8e4148c7fce4b4ab0c4ecc72a by maskray
[Driver][X86] Add -malign-branch* and -mbranches-within-32B-boundaries
These driver options perform some checking and delegate to MC options
-x86-align-branch* and -x86-branches-within-32B-boundaries.
Reviewed By: skan
Differential Revision: https://reviews.llvm.org/D72463
The file was addedclang/test/Driver/x86-malign-branch.c
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedclang/test/Driver/x86-malign-branch.s
Commit c42116cc653ae1618cc49dab367d9f6addd8cfd9 by rnk
Fix up ms-pch-macro.c test to pass on non-Windows
The file was modifiedclang/test/PCH/ms-pch-macro.c
Commit a6faf851f49c7d50e92b16ff9d2e7c02790dd0f8 by Jonas Devlieghere
[lldb/CommandInterpreter] Remove flag that's always true (NFC)
The 'asynchronously' argument to both GetLLDBCommandsFromIOHandler and
GetPythonCommandsFromIOHandler is true for all call sites. This commit
simplifies the API by dropping it and giving the baton a default
argument.
The file was modifiedlldb/source/Commands/CommandObjectBreakpointCommand.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/Commands/CommandObjectCommands.cpp
The file was modifiedlldb/source/Commands/CommandObjectWatchpointCommand.cpp
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandInterpreter.h
The file was modifiedlldb/source/Commands/CommandObjectType.cpp
Commit 914b551eeed159ba6051852c0aa63a1311ac4e40 by Jonas Devlieghere
[lldb/test] Add test for CMTime data formatter
Add a test for the CMTime data formatter. The coverage report showed
that this code path was untested.
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/cmtime/TestDataFormatterCMTime.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/cmtime/main.m
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/cmtime/Makefile
Commit b891490ceb390b9c9ccc93abf08c2c1bec50e340 by david.green
[Scheduler] Adjust interface of CreateTargetMIHazardRecognizer to use
ScheduleDAGMI. NFC
All the callers of this function will be ScheduleDAGMI from the
MachineScheduler. This allows us to use the extra info available in
ScheduleDAGMI without resorting to awkward casts.
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
Commit 188f9a348dc545bf9a420d998ad37761bddd7285 by uenoku.tokotoko
[Attributor] AAValueConstantRange: Value range analysis using constant
range
Summary: This patch introduces `AAValueConstantRange`, which answers a
possible range for integer value in a specific program point. One of the
motivations is propagating existing `range` metadata. (I think we need
to change the situation that `range` metadata cannot be put to
Argument).
The state is a tuple of `ConstantRange` and it is initialized to (known,
assumed) = ([-∞, +∞], empty).
Currently, AAValueConstantRange is created in `getAssumedConstant`
method when `AAValueSimplify` returns `nullptr`(worst state).
Supported
- BinaryOperator(add, sub, ...)
- CmpInst(icmp eq, ...)
- !range metadata
`AAValueConstantRange` is not intended to extend to polyhedral range
value analysis.
Reviewers: jdoerfert, sstefan1
Reviewed By: jdoerfert
Subscribers: phosek, davezarzycki, baziotis, hiraditya, javed.absar,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71620
The file was addedllvm/test/Transforms/Attributor/lvi-for-ashr.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/return-constant.ll
The file was addedllvm/test/Transforms/Attributor/lvi-after-jumpthreading.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/solve-after-each-resolving-undefs-for-function.ll
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-1.ll
The file was addedllvm/test/Transforms/Attributor/range.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
Commit 1b264a8263f8656bd9c09c471af9b43422429ef6 by david.green
[ARM] Reegenerate MVE tests. NFC
The mve-phireg.ll test no longer really tests what it was added for, but
the original case was fairly complex. I've left the test in as a general
codegen test.
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-2-blocks-1-pred.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block-fold-vcmp.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-stacksplot.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block-optnone.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-2-blocks-non-consecutive-ins.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-phireg.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-from-intrinsics.ll
Commit be8f217b180e134d568ff491b045d05c137b6234 by craig.topper
[X86] Don't call LowerUINT_TO_FP_i32 for i32->f80 on 32-bit targets with
sse2.
We were performing an emulated i32->f64 in the SSE registers, then
storing that value to memory and doing a extload into the X87 domain.
After this patch we'll now just store the i32 to memory along with an
i32 0. Then do a 64-bit FILD to f80 completely in the X87 unit. This
matches what we do without SSE.
The file was modifiedllvm/test/CodeGen/X86/scalar-int-to-fp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 064859bde79ccd221fd5196fd2d889014c5435c4 by simon.moll
[VE] Minimal codegen for empty functions
Summary: This patch implements minimal VE code generation for empty
function bodies (no args, no value return).
Contents
* empty function code generation test.
* Minimal function prologue & epilogue emission
* Instruction formats and instruction definitions as far as required for
the empty function prologue & epilogue.
* I64 register class definitions.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D72598
The file was addedllvm/lib/Target/VE/MCTargetDesc/VEMCAsmInfo.h
The file was modifiedllvm/lib/Target/VE/VETargetMachine.h
The file was addedllvm/lib/Target/VE/InstPrinter/LLVMBuild.txt
The file was addedllvm/lib/Target/VE/VEAsmPrinter.cpp
The file was modifiedllvm/lib/Target/VE/VETargetMachine.cpp
The file was addedllvm/lib/Target/VE/VEFrameLowering.h
The file was addedllvm/lib/Target/VE/VEISelLowering.cpp
The file was modifiedllvm/lib/Target/VE/CMakeLists.txt
The file was addedllvm/lib/Target/VE/VESubtarget.h
The file was addedllvm/lib/Target/VE/VECallingConv.td
The file was addedllvm/lib/Target/VE/VERegisterInfo.td
The file was addedllvm/lib/Target/VE/InstPrinter/VEInstPrinter.h
The file was addedllvm/lib/Target/VE/VEISelLowering.h
The file was modifiedllvm/lib/Target/VE/MCTargetDesc/VEMCTargetDesc.cpp
The file was addedllvm/lib/Target/VE/MCTargetDesc/VETargetStreamer.h
The file was addedllvm/lib/Target/VE/VEInstrInfo.td
The file was modifiedllvm/lib/Target/VE/MCTargetDesc/CMakeLists.txt
The file was modifiedllvm/lib/Target/VE/VE.h
The file was addedllvm/lib/Target/VE/VEInstrInfo.h
The file was addedllvm/lib/Target/VE/InstPrinter/VEInstPrinter.cpp
The file was addedllvm/lib/Target/VE/VEISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/VE/MCTargetDesc/LLVMBuild.txt
The file was addedllvm/lib/Target/VE/VETargetTransformInfo.h
The file was modifiedllvm/lib/Target/VE/MCTargetDesc/VEMCTargetDesc.h
The file was addedllvm/lib/Target/VE/VEMCInstLower.cpp
The file was modifiedllvm/lib/Target/VE/LLVMBuild.txt
The file was addedllvm/lib/Target/VE/MCTargetDesc/VEMCAsmInfo.cpp
The file was addedllvm/lib/Target/VE/VERegisterInfo.cpp
The file was addedllvm/lib/Target/VE/InstPrinter/CMakeLists.txt
The file was addedllvm/lib/Target/VE/MCTargetDesc/VETargetStreamer.cpp
The file was addedllvm/lib/Target/VE/VEInstrFormats.td
The file was addedllvm/lib/Target/VE/VERegisterInfo.h
The file was addedllvm/lib/Target/VE/VESubtarget.cpp
The file was addedllvm/lib/Target/VE/VE.td
The file was addedllvm/lib/Target/VE/VEFrameLowering.cpp
The file was addedllvm/test/CodeGen/VE/simple_prologue_epilogue.ll
The file was addedllvm/lib/Target/VE/VEInstrInfo.cpp
Commit 0dc6c249bffac9f23a605ce4e42a84341da3ddbd by cdevadas
[AMDGPU] Invert the handling of skip insertion.
The current implementation of skip insertion (SIInsertSkip) makes it a
mandatory pass required for correctness. Initially, the idea was to have
an optional pass. This patch inserts the s_cbranch_execz upfront during
SILowerControlFlow to skip over the sections of code when no lanes are
active. Later, SIRemoveShortExecBranches removes the skips for short
branches, unless there is a sideeffect and the skip branch is really
necessary.
This new pass will replace the handling of skip insertion in the
existing SIInsertSkip Pass.
Differential revision: https://reviews.llvm.org/D68092
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-branch-taildup-ret.mir
The file was addedllvm/lib/Target/AMDGPU/SIRemoveShortExecBranches.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/collapse-endcf.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-skips-flat-vmem.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/mubuf-legalize-operands.ll
The file was modifiedllvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-condition-and.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/cse-phi-incoming-val.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-skips-kill-uncond.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-if-dead.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cf-noloop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wave32.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertSkips.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/stack-pointer-offset-relative-frameindex.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/subreg-coalescer-undef-use.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/uniform-loop-inside-nonuniform.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wqm.ll
The file was modifiedllvm/lib/Target/AMDGPU/CMakeLists.txt
The file was modifiedllvm/test/CodeGen/AMDGPU/ret_jump.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/smrd_vmem_war.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/convergent-inlineasm.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-skips-ignored-insts.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/valu-i1.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/insert-skips-gws.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/si-lower-control-flow.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/uniform-cfg.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_pixelshader.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/call-skip.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/divergent-branch-uniform-condition.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-lower-control-flow-unreachable-block.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/hoist-cond.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/branch-relaxation.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-branch-trap.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/control-flow-fastregalloc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/else.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
Commit fcc08aa835de1e0c1f3e7e479917575e55433b68 by ikudrin
[MachO] Add a test for detecting reserved unit length.
This is a follow-up for D71546 to add a corresponding unit test.
Differential Revision: https://reviews.llvm.org/D72695
The file was modifiedlld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp
Commit 4b1d471fa61f2d390d4dd5f2e95862a3cb5a6ec0 by llvmgnsyncbot
[gn build] Port 0dc6c249bff
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
Commit 2142e20f50954b9b5085e9b9461efc318a3348c0 by ikudrin
[DWARF] Fix DWARFDebugAranges to support 64-bit CU offsets.
DWARFContext, the only user of this class, can already handle such
offsets.
Differential Revision: https://reviews.llvm.org/D71834
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
Commit 109e4d12edda07bdec139de36d9fdb6f73399f92 by zakk.chen
[RISCV] Support ABI checking with per function target-features
if users don't specific -mattr, the default target-feature come from IR
attribute.
The file was modifiedllvm/test/CodeGen/RISCV/subtarget-features-std-ext.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/Utils/RISCVBaseInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Commit a3ebc40644d7e93841d1f8c8994f1f22023960ad by djordje.todorovic
[llvm-locstats][NFC] Support OOP concept
Making these changes, the code becomes more robust and easier for adding
the new features.
  -Introduce the LocationStats class representing the statistics
-Add the pretty_print() method in the LocationStats class
-Add additional '-' for the program options
-Add the verify_program_inputs() function
-Add the parse_locstats() function
-Rename 'results' => 'opts'
-Add more comments
Differential Revision: https://reviews.llvm.org/D71868
The file was modifiedllvm/docs/CommandGuide/llvm-locstats.rst
The file was modifiedllvm/utils/llvm-locstats/llvm-locstats.py
Commit cbe681bd8339d3a018d25441a5f4ef9da2bd017d by scott.egerton
Revert "[RISCV] Add Clang frontend support for Bitmanip extension"
This reverts commit 57cf6ee9c84434161088c39a6f8dd2aae14eb12d.
The file was modifiedclang/test/Preprocessor/riscv-target-features.c
The file was modifiedclang/lib/Basic/Targets/RISCV.h
The file was modifiedclang/lib/Basic/Targets/RISCV.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.cpp
Commit 46d11e30ee807accefd14e0b7f306647963a39b5 by grimar
[yaml2obj/obj2yaml] - Add support for SHT_RELR sections.
The encoded sequence of Elf*_Relr entries in a SHT_RELR section looks
like [ AAAAAAAA BBBBBBB1 BBBBBBB1 ... AAAAAAAA BBBBBB1 ... ] i.e. start
with an address, followed by any number of bitmaps. The address entry
encodes 1 relocation. The subsequent bitmap entries encode up to 63(31)
relocations each, at subsequent offsets following the last address
entry.
More information is here:
https://github.com/llvm-mirror/llvm/blob/master/lib/Object/ELF.cpp#L272
This patch adds a support for these sections.
Differential revision: https://reviews.llvm.org/D71872
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was addedllvm/test/tools/yaml2obj/ELF/relr-section.yaml
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was addedllvm/test/tools/obj2yaml/relr-section.yaml
Commit ada964661e2b4d86b0753c99265c812029a3d1d2 by djordje.todorovic
[llvm-locstats] Add the --draw-plot option
When using the option, draw the histogram representing the debug
location buckets. The resulting histogram will be saved in a png file.
Differential Revision: https://reviews.llvm.org/D71869
The file was modifiedllvm/utils/llvm-locstats/llvm-locstats.py
The file was modifiedllvm/docs/CommandGuide/llvm-locstats.rst
Commit 93a4dede3a5ecb110dd7cdfd7faa48e3448844d8 by cullen.rhodes
[AArch64][SVE] Add ptest intrinsics
Summary: Implements the following intrinsics:
    * @llvm.aarch64.sve.ptest.any
   * @llvm.aarch64.sve.ptest.first
   * @llvm.aarch64.sve.ptest.last
Reviewers: sdesmalen, efriedma, dancgr, mgudim, cameron.mcinally,
rengolin
Reviewed By: efriedma
Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72398
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-pred-testing.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
The file was addedllvm/test/CodeGen/AArch64/sve-setcc.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Commit 884a65af5ceebce76519749ed6eb9a86d0596771 by russell.gallop
[Support] Replace Windows __declspec(thread) with thread_local for
LLVM_THREAD_LOCAL
Windows minimum host tools version is now VS2017, which supports C++11
thread_local so use this for LLVM_THREAD_LOCAL instead of
declspec(thread). According to [1], thread_local is implemented with
declspec(thread) so this should be NFC.
[1] https://docs.microsoft.com/en-us/cpp/cpp/thread?view=vs-2017
Differential Revision: https://reviews.llvm.org/D72399
The file was modifiedllvm/include/llvm/Support/Compiler.h
Commit ca6f616532780b236556fc129cda3243d31cb01a by grimar
Revert "[yaml2obj/obj2yaml] - Add support for SHT_RELR sections."
This reverts commit 46d11e30ee807accefd14e0b7f306647963a39b5.
It broke bots. E.g.
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/60744
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was removedllvm/test/tools/obj2yaml/relr-section.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was removedllvm/test/tools/yaml2obj/ELF/relr-section.yaml
Commit a90ea386981f4fa3c7cb7f62c6900069764b05a8 by scott.egerton
[Lexer] Allow UCN for dollar symbol '\u0024' in identifiers when using
-fdollars-in-identifiers flag.
Summary: Previously, the -fdollars-in-identifiers flag allows the '$'
symbol to be used in an identifier but the universal character name
equivalent '\u0024' is not allowed. This patch changes this, so that
\u0024 is valid in identifiers.
Reviewers: rsmith, jordan_rose
Reviewed By: rsmith
Subscribers: dexonsmith, simoncook, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71758
The file was modifiedclang/lib/Lex/Lexer.cpp
The file was modifiedclang/test/Preprocessor/ucn-pp-identifier.c
Commit ce8795eb6c054328173876fe3fb126fd0b0b8aba by djordje.todorovic
[llvm-locstats] Fix the docs
Add the missing picture for the documentation.
The file was addedllvm/docs/CommandGuide/locstats-draw-plot.png
Commit 019c8d9d1511a07d2004667d2240f3e47cb991ec by arkady.shlykov
[NFC] Adjust test cases numbering, test commit.
Summary: Test case test14 is missing, adjust the numbering to have a
consecutive range. Also a test commit to verify commit access.
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-conditions.ll
Commit 06cfcdcca7de9c88a1e885eff0d0c4c07090ad48 by benny.kra
[AArch64][SVE] Fold variable into assert to silence unused variable
warnings in Release builds
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 13f22f5d5958a46db1212a083a426e339204c783 by Raphael Isemann
[lldb] Add expect_expr function for testing expression evaluation in
dotests.
Summary: This patch adds a new function to lldbtest: `expect_expr`. This
function is supposed to replace the current approach of calling
`expect`/`runCmd` with `expr`, `p` etc.
`expect_expr` allows evaluating expressions and matching their
value/summary/type/error message without having to do any string
matching that might allow unintended passes (e.g., `self.expect("expr
3+4", substrs=["7"])` can unexpectedly pass for results like `(Class7)
$0 = 7`, `(int) $7 = 22`, `(int) $0 = 77` and so on).
This only uses the function in a few places to test and demonstrate it.
I'll migrate the tests in follow up commits.
Reviewers: JDevlieghere, shafik, labath
Reviewed By: labath
Subscribers: christof, abidh, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70314
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/call-function/TestCallBuiltinFunction.py
Commit 7570d387c21935b58afa67cb9ee17250e38721fa by grimar
[yaml2obj/obj2yaml] - Add support for SHT_RELR sections.
Note: this is a reland with a trivial 2 lines fix in
ELFState<ELFT>::writeSectionContent.
     It adds a check similar to ones we already have for other sections
to fix the case revealed
     by bots, like
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/60744.
The encoded sequence of Elf*_Relr entries in a SHT_RELR section looks
like [ AAAAAAAA BBBBBBB1 BBBBBBB1 ... AAAAAAAA BBBBBB1 ... ] i.e. start
with an address, followed by any number of bitmaps. The address entry
encodes 1 relocation. The subsequent bitmap entries encode up to 63(31)
relocations each, at subsequent offsets following the last address
entry.
More information is here:
https://github.com/llvm-mirror/llvm/blob/master/lib/Object/ELF.cpp#L272
This patch adds a support for these sections.
Differential revision: https://reviews.llvm.org/D71872
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
Commit 7b15865225103389150153d12904041fcc57fd0e by llvm-dev
Fix "pointer is null" static analyzer warning. NFCI.
Use cast<> instead of dyn_cast<> since the pointer is always
dereferenced and cast<> will perform the null assertion for us.
The file was modifiedllvm/lib/Target/NVPTX/NVPTXLowerAlloca.cpp
Commit 0b64400e0b3de18c99f77380e98da8e5e1a49832 by llvm-dev
RegisterClassInfo::computePSetLimit - assert that we actually find a
register.
Fixes "pointer is null" clang static analyzer warning.
The file was modifiedllvm/lib/CodeGen/RegisterClassInfo.cpp
Commit eb82226f33525c7332f8008c048b821f08d725fa by llvm-dev
Fix Wdocumentation warning. NFC.
The file was modifiedclang/include/clang/Sema/Sema.h
Commit 3bc2860e926b7e35c381ea41dd90caeb7ae400d2 by zakk.chen
Revert "[RISCV] Support ABI checking with per function target-features"
This reverts commit 109e4d12edda07bdec139de36d9fdb6f73399f92.
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/Utils/RISCVBaseInfo.cpp
The file was modifiedllvm/test/CodeGen/RISCV/subtarget-features-std-ext.ll
Commit 7bc58a779aaa1de56fad8b1bc8e46932d2f2f1e4 by zakk.chen
[RISCV] Support ABI checking with per function target-features
if users don't specific -mattr, the default target-feature come from IR
attribute.
Reviewers: lenary, asb
Reviewed By: lenary, asb
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70837
The file was modifiedllvm/lib/Target/RISCV/Utils/RISCVBaseInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
The file was modifiedllvm/test/CodeGen/RISCV/subtarget-features-std-ext.ll
Commit e26a78e70857273c83aaacd4aa0edb36effe70e3 by llvm-dev
Revert rG6078f2fedcac5797ac39ee5ef3fd7a35ef1202d5 -
"[AArch64][GlobalISel]: Support @llvm.{return,frame}address selection."
These intrinsics expand to a variable number of instructions so just
like in ISelLowering.cpp we use custom code to deal with them.
Committing Tim's original patch.
Differential Revision: https://reviews.llvm.org/D65656
---- Breaks EXPENSIVE_CHECKS builds.
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was removedllvm/test/CodeGen/AArch64/GlobalISel/select-frameaddr.ll
The file was removedllvm/test/CodeGen/AArch64/GlobalISel/select-returnaddr.ll
Commit 5852475e2c049ce29dcb1f0da3ac33035f8c9156 by hans
Bump the trunk major version to 11
and clear the release notes.
The file was modifiedlibcxx/include/__config
The file was modifiedllvm/utils/lit/lit/__init__.py
The file was modifiedpolly/docs/ReleaseNotes.rst
The file was modifiedpolly/docs/conf.py
The file was modifiedllvm/utils/gn/secondary/llvm/version.gni
The file was modifiedlibunwind/docs/conf.py
The file was modifiedlld/docs/conf.py
The file was modifiedllvm/utils/release/build_llvm_package.bat
The file was modifiedclang/docs/conf.py
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/docs/analyzer/conf.py
The file was modifiedpstl/test/pstl/version.pass.cpp
The file was modifiedllvm/CMakeLists.txt
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/docs/conf.py
The file was modifiedlibcxx/CMakeLists.txt
The file was modifiedlibcxx/docs/conf.py
The file was modifiedlibcxx/include/__libcpp_version
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedpstl/include/pstl/internal/pstl_config.h
The file was modifiedpstl/docs/ReleaseNotes.rst
The file was modifiedlibcxx/docs/ReleaseNotes.rst
The file was modifiedlibunwind/CMakeLists.txt
The file was modifiedlld/docs/ReleaseNotes.rst
Commit 9c64f04df8ecbcad2c527c33f5ef8a7993842001 by nemanja.i.ibm
[PowerPC] Legalize saturating vector add/sub
These intrinsics and the corresponding ISD nodes were recently added.
PPC has instructions that do this for vectors. Legalize them and add
patterns to emit the satuarting instructions.
Differential revision: https://reviews.llvm.org/D71940
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrAltivec.td
The file was addedllvm/test/CodeGen/PowerPC/saturating-intrinsics.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 3b8ef7876ec797a03569184264e7ba4e5e046b68 by djordje.todorovic
[llvm-locstats] Add the --compare option
Draw a plot showing the difference in debug loc coverage on two files
provided.
Differential Revision: https://reviews.llvm.org/D71870
The file was modifiedllvm/utils/llvm-locstats/llvm-locstats.py
The file was modifiedllvm/docs/CommandGuide/llvm-locstats.rst
The file was addedllvm/docs/CommandGuide/locstats-compare.png
Commit ee0f1f1edc3ec0d4e698d50cc3180217448802b7 by aaron
Further implement CWG 2292
The core issue is that simple-template-id is ambiguous between
class-name and type-name. This fixes PR43966.
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was addedclang/test/SemaCXX/pseudo-destructor-name.cpp
Commit 46e3edcc2c89e34b3ec198387b758a6998f5980b by luismarques
[RISCV] Fix test for inline asm z constraint modifier
Summary: Use an `i` constraint in the test, to correctly trigger the
code for handling the `z` constraint modifier.
Reviewers: asb, lenary, jrtc27 Reviewed By: lenary, jrtc27 Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72134
The file was modifiedllvm/test/CodeGen/RISCV/inline-asm.ll
Commit 3ab7b7f53552a0969bd89db3317eb5a3ddf31d8f by arsenm2
TableGen/GlobalISel: Don't reconstruct CodeGenRegBank
The maps for dealing with the relationships between different register
classes and subregister indexes rely on unique pointers for every
class/index. By constructing a second copy of CodeGenRegBank, two
different pointer values existed for a given subregister depending on
where you were querying.
Use the existing CodeGenRegBank owned by the CodeGenTarget instead of
constructing a second copy. This avoids incorrectly failing map lookups
in a future change.
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
Commit eafa8dbefe30c85e58efc5309793f2d7c2109e35 by arsenm2
TableGen/GlobalISel: Don't take reference to temporary values
These return temporary Optional<> values which are immediately
destroyed. I'm not sure why no sanitizers seem to have caught this, but
I encountered crashes on these in a future patch.
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
Commit 8931fde869c2787886a5f84c03f70cd32e2e8b1f by arsenm2
TableGen: Delete some copy constuctors
Some register related machinery relies on uniqued, static pointers for
register classes and subregisters, so try to make sure these are never
copied.
The file was modifiedllvm/utils/TableGen/CodeGenRegisters.h
The file was modifiedllvm/utils/TableGen/RISCVCompressInstEmitter.cpp
Commit 91715617ad601c6bd953e1c47ecaaf3610de233f by arsenm2
GlobalISel: Fix narrowScalar for G_ANYEXT results
This is nearly the same as G_ZEXT.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-anyext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit bd7658a212ebc27a8f7d69666820df33bc8d61f5 by arsenm2
AMDGPU: Partially directly select llvm.amdgcn.interp.p1.f16
The 16 bank LDS case is complicated due to using multiple instructions.
If I attempt to write a pattern for it, the generated selector
incorrectly places the copy to m0 after the first instruction, so that
needs to be separately addressed.
Also fix not gluing the copy to m0 to the second operation in the second
half of the 16 bank lowering.
The file was modifiedllvm/lib/Target/AMDGPU/VOP3Instructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/MC/AMDGPU/vop3.s
Commit 936483fb7dd2c8c6b014516ff3b3cd13740e0518 by arsenm2
GlobalISel: Implement lower for G_BITCAST
Bitcast only really applies between scalars and vectors. Implement as an
unmerge and remerge. The test needs to tolerate failure since one of the
unmerges currently fails to legalize.
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir
Commit dc553ce646cdbab32d72d263d3f289952648b920 by zinenko
[mlir] LLVM import: handle function-typed constants
The current implementation of the LLVM-to-MLIR translation could not
handle functions used as constant values in instructions. The handling
is added trivially as `llvm.mlir.constant` can define constants of
function type using SymbolRef attributes, which works even for functions
that have not been declared yet.
The file was modifiedmlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
The file was modifiedmlir/test/Target/import.ll
Commit 870137d207f7a5596206e2210183d911a9b06f9d by ulrich.weigand
[FPEnv] Address post-commit review comment for D71467
Remove a bit of code duplication between CreateFCmp and CreateFCmpS by
creating a shared helper function.
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
Commit 4d14bfaa2cb1610104db6b0818fc7d74fad1bd8f by kadircet
[clangd] Show hower info for expressions
Summary: This currently populates only the Name with the expression's
type and Value if expression is evaluatable.
Fixes https://github.com/clangd/clangd/issues/56
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72500
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
Commit 441410be471d5d0a5d1d47cf363de155e397a0c2 by Alexander.Richardson
[ELF] Avoid false-positive assert in getErrPlace()
This assertion was added as part of D70659 but did not account for .bss
input sections. I noticed that this assert was incorrectly triggering
while building FreeBSD for MIPS64. Fixed by relaxing the assert to also
account for SHT_NOBITS input sections and adjust the test
mips-jalr-non-function.s to link a file with a .bss section first.
Reviewed By: MaskRay, grimar Differential Revision:
https://reviews.llvm.org/D72567
The file was modifiedlld/ELF/Target.cpp
The file was modifiedlld/test/ELF/mips-jalr-non-functions.s
Commit 89b395fe793be6f3704ff8faaf6b55191431dc7a by ntv
[mlir][EDSC] Refactor dependencies involving EDSCs.
Summary: This diff removes the dependency of LinalgOps and VectorOps on
EDSCs.
Reviewers: jpienaar, ftynse
Reviewed By: ftynse
Subscribers: merge_guards_bot, mgorny, mehdi_amini, rriddle, burmako,
shauheen, antiagainst, csigg, arpith-jacob, mgester, lucyrfox, herhut,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72481
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/CMakeLists.txt
The file was addedmlir/lib/Dialect/Linalg/EDSC/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
The file was addedmlir/lib/Dialect/Linalg/Utils/CMakeLists.txt
The file was addedmlir/lib/Dialect/Linalg/IR/LinalgRegistration.cpp
The file was modifiedmlir/lib/Dialect/Linalg/CMakeLists.txt
The file was modifiedmlir/tools/mlir-opt/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Linalg/EDSC/Builders.h
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
The file was modifiedmlir/lib/Conversion/LoopsToGPU/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/VectorOps/VectorTransforms.cpp
The file was addedmlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
The file was modifiedmlir/test/EDSC/CMakeLists.txt
The file was addedmlir/lib/Dialect/Linalg/Analysis/CMakeLists.txt
The file was removedmlir/lib/Dialect/Linalg/LinalgRegistration.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was addedmlir/lib/Dialect/Linalg/IR/CMakeLists.txt
Commit 72b5989e0d15081d71d1838eec7f84ef3158fb26 by thakis
[gn build] (manually) port b4a99a061f51 better
The file was modifiedllvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
Commit d74a3d470c316f8fade90fe231fc0a51361c01e6 by kadircet
[clangd] Add a ruler after header in hover
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72622
The file was modifiedclang-tools-extra/clangd/unittests/FormattedStringTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/FormattedString.cpp
The file was modifiedclang-tools-extra/clangd/FormattedString.h
Commit 44f9c7a820c1e5fb949f441214a46b13588ff51a by kadircet
[clangd] Rearrange type, returntype and parameters in hover card
Summary: Moves type/returntype into its own line as it is more readable
in cases where the type is long.
Also gives parameter lists a heading, `Parameters:` to make them stand
out.
Leaves the `right arrow` instead of `Returns: ` before Return Type to
make output more symmetric.
``` function foo
Returns: ret_type Parameters:
- int x
```
vs
``` function foo
🡺 ret_type Parameters:
- int x
```
Reviewers: sammccall, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72623
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/test/hover.test
Commit ada01d1b869763f7d5d3438dcfce02066b06ab0a by simon.tatham
[clang] New __attribute__((__clang_arm_mve_strict_polymorphism)).
This is applied to the vector types defined in <arm_mve.h> for use with
the intrinsics for the ARM MVE vector architecture.
Its purpose is to inhibit lax vector conversions, but only in the
context of overload resolution of the MVE polymorphic intrinsic
functions. This solves an ambiguity problem with polymorphic MVE
intrinsics that take a vector and a scalar argument: the scalar argument
can often have the wrong integer type due to default integer promotions
or unsuffixed literals, and therefore, the type of the vector argument
should be considered trustworthy when resolving MVE polymorphism.
As part of the same change, I've added the new attribute to the
declarations generated by the MveEmitter Tablegen backend (and corrected
a namespace issue with the other attribute while I was there).
Reviewers: aaron.ballman, dmgreen
Reviewed By: aaron.ballman
Subscribers: kristof.beyls, JDevlieghere, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72518
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was addedclang/test/Sema/overload-arm-mve.c
The file was modifiedclang/utils/TableGen/MveEmitter.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaType.cpp
Commit 252c4dce618926311bcb4715eae6955f1bc71f13 by thakis
[gn build] find mistakes like the one fixed in 72b5989e0d1 at build time
The file was modifiedllvm/utils/gn/build/write_cmake_config.py
Commit 60adfb83cda883d9fc1079c89d2feaa681a41b90 by kadircet
[clangd] Fix windows buildbots
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
Commit 24a00ef2404104e9ca6fbd7eb523a8a340be9d99 by tejohnson
Restore "[ThinLTO] Add additional ThinLTO pipeline testing with new PM"
This restores 2af97be8027a0823b88d4b6a07fc5eedb440bc1f (reverted at
6288f86e870c7bb7fe47cc138320b9eb34c93941), with all the fixes I had
applied at the time, along with a new fix for non-determinism in the
ordering of a couple of passes due to being accessed as parameters on
the same call.
I've also added --dump-input=fail to the new tests so I can more
thoroughly fix any additional failures.
The file was addedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was addedllvm/test/Other/Inputs/new-pm-thinlto-prelink-pgo-defaults.proftext
The file was addedllvm/test/Other/Inputs/new-pm-thinlto-samplepgo-defaults.prof
The file was addedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was addedclang/test/CodeGen/thinlto-distributed-newpm.ll
The file was modifiedllvm/test/Other/new-pm-pgo.ll
The file was addedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was addedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
Commit 66a35d330b3d6d3009b332a41406414c5cbd17d7 by grimar
[llvm-readobj][test] - Cleanup SHT_RELR sections testing.
After recent changes (D71872) in yaml2obj, it is possible so cleanup
testing of the SHT_RELR sections.
Differential revision: https://reviews.llvm.org/D71874
The file was modifiedllvm/test/tools/llvm-readobj/ELF/relr-relocs.test
The file was removedllvm/test/tools/llvm-readobj/ELF/Inputs/elf-relr-relocs1.s
The file was removedllvm/test/tools/llvm-readobj/ELF/Inputs/elf-relr-relocs2.s
Commit ad7f4c11eb14a41205f4dadd08493aca0bf8f9ec by ntv
[mlir][Linalg] NFC - Hotfix for gcc-5 build
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
Commit e429f24ed8b16149ad668edd3fb000a3a56c8e40 by hubert.reinterpretcast
[CMake] Enable -qfuncsect when building with IBM XL
Summary: The IBM XL compiler uses `-qfuncsect` for
`-ffunction-sections`.
The comment about sanitizers and `-f[no-]function-sections` is corrected
also, as it is pertinent to this patch.
The sanitizer-related use of `-fno-function-sections` is associated with
powerpc64le, a target for which there is an IBM XL compiler, so that use
is updated in this patch to apply `-qnofuncsect` in case a build using
the XL compiler is viable on that platform.
This patch has been verified with the XL compiler on AIX only.
Reviewers: daltenty, stevewan
Reviewed By: daltenty
Subscribers: mgorny, steven.zhang, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D72335
The file was modifiedcompiler-rt/CMakeLists.txt
The file was modifiedllvm/cmake/modules/HandleLLVMOptions.cmake
Commit 63b428e3861bed666525b3af56cd50e14ab30495 by hubert.reinterpretcast
DWARFDebugLine.cpp: Format unknown line number standard opcodes
Summary: This patch implements `formatv()` formatting for
`dwarf::LineNumberOps` and makes use of it for the `llvm-dwarfdump
--debug-line` dump.
Previously, unknown line number standard opcodes would lead to undefined
behaviour. The code would attempt to format the data pointer of an empty
`StringRef` (a null pointer) using `%s`. According to the description
for `format()`, use of that interface carries the "risk of `printf`".
Passing a null pointer in place of an array to a C library function
results in undefined behaviour.
Reviewers: jhenderson, daltenty, stevewan
Reviewed By: jhenderson
Subscribers: aprantl, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72369
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.h
The file was modifiedllvm/lib/BinaryFormat/Dwarf.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug-line.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
Commit d2fabd70065edefacee0d8a3122c73bc15e0f848 by Lang Hames
[ORC] Update lazyReexports to support aliases with different symbol
names.
A bug in the existing implementation meant that lazyReexports would not
work if the aliased name differed from the alias's name, i.e. all lazy
reexports had to be of the form (lib1, name) -> (lib2, name). This patch
fixes the issue by capturing the alias's name in the NotifyResolved
callback. To simplify this capture, and the LazyCallThroughManager code
in general, the NotifyResolved callback is updated to use
llvm::unique_function rather than a custom class.
No test case yet: This can only be tested at runtime, and the only
in-tree client (lli) always uses aliases with matching names. I will add
a new LLJIT example shortly that will directly test the lazyReexports
API and the non-trivial alias use case.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LazyReexports.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/LazyCallThroughAndReexportsTest.cpp
Commit e9e26c01cd865da678b1af6ba5f417c713956a66 by Lang Hames
[ORC] Simplify use of lazyReexports with LLJIT.
This patch makes the target triple available via the LLJIT interface,
and moves the IRTransformLayer from LLLazyJIT down into LLJIT. Together
these changes make it easier to use the lazyReexports utility with
LLJIT, and to apply IR transforms to code as it is compiled in LLJIT
(rather than requiring transforms to be applied manually before code is
added). An code example is added in
llvm/examples/LLJITExamples/LLJITWithLazyReexports
The file was modifiedllvm/tools/lli/lli.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
The file was addedllvm/examples/LLJITExamples/LLJITWithLazyReexports/LLJITWithLazyReexports.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
The file was addedllvm/examples/LLJITExamples/LLJITWithLazyReexports/CMakeLists.txt
The file was modifiedllvm/examples/LLJITExamples/CMakeLists.txt
Commit 7741de94358b827086a4542202fdb2aac99687d4 by ntv
[mlir][Linalg] NFC - Cleanup Linalg Pass locations and namespacing
Summary: This diff moves the conversion pass declaration closer to its
definition and makes the namespacing of passes consistent with the rest
of the infrastructure (i.e. `mlir::linalg::createXXXPass` ->
`mlir::createXXXPass`).
Reviewers: ftynse, jpienaar, mehdi_amini
Subscribers: rriddle, burmako, shauheen, antiagainst, arpith-jacob,
mgester, lucyrfox, aartbik, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72766
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/include/mlir/Conversion/LinalgToLLVM/LinalgToLLVM.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h
Commit 88380b91c87e83fc8984c17d86017df0a3de62aa by ntv
[mlir][Linalg] NFC - Hotfix for gcc-5 build
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
Commit 3180af4362be22d416464f5f3700c456b2f124b9 by spatel
[InstCombine] reassociate fsub+fsub into fsub+fadd
As discussed in the motivating PR44509:
https://bugs.llvm.org/show_bug.cgi?id=44509
...we can end up with worse code using fast-math than without. This is
because the reassociate pass greedily transforms fsub into fneg/fadd and
apparently (based on the regression tests seen here) expects instcombine
to clean that up if it wasn't profitable. But we were missing this fold:
(X - Y) - Z --> X - (Y + Z)
There's another, more specific case that I think we should handle as
shown in the "fake" fneg test (but missed with a real fneg), but that's
another patch. That may be tricky to get right without conflicting with
existing transforms for fneg.
Differential Revision: https://reviews.llvm.org/D72521
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
The file was modifiedllvm/test/Transforms/InstCombine/fsub.ll
The file was modifiedllvm/test/Transforms/Reassociate/fast-SubReassociate.ll
The file was modifiedllvm/test/Transforms/Reassociate/fast-basictest.ll
Commit 3f3017e162ec4208399dcf633c99bdac788c06fd by arkady.shlykov
[Loop Peeling] Add possibility to enable peeling on loop nests.
Summary: Current peeling implementation bails out in case of loop nests.
The patch introduces a field in TargetTransformInfo structure that
certain targets can use to relax the constraints if it's profitable
(disabled by default). Also additional option is added to enable peeling
manually for experimenting and testing purposes.
Reviewers: fhahn, lebedev.ri, xbolva00
Reviewed By: xbolva00
Subscribers: xbolva00, hiraditya, zzheng, llvm-commits
Differential Revision: https://reviews.llvm.org/D70304
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was addedllvm/test/Transforms/LoopUnroll/peel-loop-nests.ll
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollPeel.cpp
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-conditions.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
Commit 10cadee5ce86e80d7486855199d329951f38af01 by evgeny
[ThinLTO] Always import constants
This patch imports constant variables even when they can't be
internalized
(which results in promotion). This offers some extra constant folding
opportunities.
Differential revision: https://reviews.llvm.org/D70404
The file was modifiedllvm/test/Bitcode/thinlto-function-summary-refgraph.ll
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/lib/Analysis/ModuleSummaryAnalysis.cpp
The file was modifiedllvm/test/Assembler/thinlto-summary.ll
The file was addedllvm/test/ThinLTO/X86/Inputs/import-ro-constant-bar.ll
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/ThinLTO/X86/dot-dumper.ll
The file was addedllvm/test/ThinLTO/X86/import-constant.ll
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/test/ThinLTO/X86/referenced_by_constant.ll
The file was addedllvm/test/ThinLTO/X86/import-ro-constant.ll
The file was modifiedllvm/test/Assembler/thinlto-vtable-summary.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/dot-dumper.ll
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/lib/IR/ModuleSummaryIndex.cpp
The file was addedllvm/test/ThinLTO/X86/Inputs/import-constant.ll
The file was addedllvm/test/ThinLTO/X86/Inputs/import-ro-constant-foo.ll
The file was modifiedllvm/test/ThinLTO/X86/load-store-caching.ll
Commit 76b92cc7c1fafeae2d9e4993e81838b8d9488e45 by tejohnson
Fix bot by adjusting wildcard matching
I noticed one bot failure due to
24a00ef2404104e9ca6fbd7eb523a8a340be9d99 because the wildcard matching
was not working as intended, fixed it to act similar to other checks of
CGSCCToFunctionPassAdaptor.
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedclang/test/CodeGen/thinlto-distributed-newpm.ll
Commit 0133cc60e4e230ee2c176c23eff5aa2f4ee17a75 by benny.kra
Revert "[mlir] Create a gpu.module operation for the GPU Dialect."
This reverts commit 4624a1e8ac8a3f69cc887403b976f538f587744a. Causing
problems downstream.
The file was modifiedmlir/include/mlir/Conversion/GPUToCUDA/GPUToCUDAPass.h
The file was modifiedmlir/test/Conversion/GPUToCUDA/lower-nvvm-kernel-to-cubin.mlir
The file was removedmlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.td
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUOps.td
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was modifiedmlir/test/Conversion/GPUToCUDA/lower-launch-func-to-cuda.mlir
The file was modifiedmlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
The file was modifiedmlir/test/Conversion/GPUToSPIRV/loop.mlir
The file was modifiedmlir/lib/Conversion/GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp
The file was modifiedmlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
The file was modifiedmlir/test/Dialect/GPU/invalid.mlir
The file was modifiedmlir/include/mlir/Conversion/GPUToNVVM/GPUToNVVMPass.h
The file was modifiedmlir/test/Conversion/GPUToSPIRV/load-store.mlir
The file was modifiedmlir/test/Dialect/GPU/outlining.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/builtins.mlir
The file was modifiedmlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
The file was modifiedmlir/test/Conversion/GPUToSPIRV/simple.mlir
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/lib/Conversion/GPUToCUDA/ConvertKernelFuncToCubin.cpp
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
The file was modifiedmlir/test/Dialect/GPU/ops.mlir
The file was modifiedmlir/test/Conversion/GPUToNVVM/memory-attrbution.mlir
Commit 041650da67051266eb92b5bb07223394fe1bdab1 by kadircet
[clangd] Extract string literals in macro arguments to unbreak gcc
buildbots
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
Commit da9d57d2c2dc821979490a425142afde5107066c by mark.murray
[ARM][MVE][Intrinsics] Add VMINAQ, VMINNMAQ, VMAXAQ, VMAXNMAQ
intrinsics.
Summary: Add VMINAQ, VMINNMAQ, VMAXAQ, VMAXNMAQ intrinsics and unit
tests.
Reviewers: simon_tatham, miyuki, dmgreen
Subscribers: kristof.beyls, hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D72761
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vminnmaq.c
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vmaxnmaq.c
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vminnmaq.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vminaq.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmaxaq.ll
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vminaq.c
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmaxnmaq.ll
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vmaxaq.c
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
Commit 8e5018e990b701391e6c33ba85b012343df67272 by thakis
Replace CLANG_SPAWN_CC1 env var with a driver mode flag
Flags are clang's default UI is flags.
We can have an env var in addition to that, but in D69825 nobody has yet
mentioned why this needs an env var, so omit it for now.  If someone
needs to set the flag via env var, the existing CCC_OVERRIDE_OPTIONS
mechanism works for it (set CCC_OVERRIDE_OPTIONS=+-fno-integrated-cc1
for example).
Also mention the cc1-in-process change in the release notes.
Also spruce up the test a bit so it actually tests something :)
Differential Revision: https://reviews.llvm.org/D72769
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/test/Driver/cc1-spawnprocess.c
The file was modifiedclang/tools/driver/driver.cpp
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
Commit 082962dec846a30fbf129388e4821b9018fd2876 by thakis
[gn build] Reformat all build files
Ran `git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format`.
The motivation is to reformat them with trunk gn again right after.
Trunk gn changed formatting of some single-element lists.
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/CodeGen/GlobalISel/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Frontend/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/benchmark/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Support/BUILD.gn
Commit 2e39ea726e9cee20060892705164760229e0cb0b by Amara Emerson
Revert "Revert rG6078f2fedcac5797ac39ee5ef3fd7a35ef1202d5 -
"[AArch64][GlobalISel]: Support @llvm.{return,frame}address selection.""
The original change wasn't constraining the operand regclasses which
broke EXPENSIVE_CHECKS.
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/select-returnaddr.ll
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/select-frameaddr.ll
Commit c75180258e6363a03fc036abaa4c79a14a3f952e by Lang Hames
[ORC] Set setCloneToNewContextOnEmit on LLJIT's transform layer when
needed.
Based on Don Hinton's patch in https://reviews.llvm.org/D72406. This
feature was accidentally left out of
e9e26c01cd865da678b1af6ba5f417c713956a66, and would have pessimized
concurrent compilation in the default case.
Thanks for spotting this Don!
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
Commit d6a9b7e58967f3d996cc4f9b136f02d99b0b8159 by craig.topper
[Mips] Add FileCheck to a test that just tested for a crash.
I believe the generated code here can suffer from double rounding. So I
wanted to capture the existing codegen so we can make decisions about
how to fix it.
The file was modifiedllvm/test/CodeGen/Mips/uitofp.ll
Commit aed52fd483744b74e979e18028a6f9bcb2c30a36 by thakis
[gn build] make "gn format" comment slightly more concise
The file was modifiedllvm/utils/gn/secondary/libcxx/src/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libunwind/src/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
Commit eadc28274b9529137d0f7f073f1a5f07d8d3d9f8 by thakis
[gn build] add multi-line forcing comments in more places
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/indexer/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/unittests/clang-change-namespace/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Hexagon/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AArch64/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-diff/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-format/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/tools/lld/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/lli/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-ar/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/PowerPC/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/BPF/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AVR/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Support/DynamicLibrary/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-lipo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-include-fixer/plugin/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/X86/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/lib/ReaderWriter/YAML/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Lanai/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-apply-replacements/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/libclang/CrashTests/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/yaml-bench/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/MCJIT/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Hexagon/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-cvtres/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/FileCheck/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/xpc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-cxxmap/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/Mips/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/IRReader/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Bitstream/Reader/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/c-arcmt-test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Hexagon/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-link/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/SystemZ/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AArch64/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AVR/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-symbolizer/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-lto/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-offload-bundler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Mips/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/benchmarks/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-extract/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/bugpoint-passes/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-as/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Mips/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-profdata/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/BPF/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/unittests/DriverTests/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/WindowsManifest/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-isel-fuzzer/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-strings/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-apply-replacements/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-rtdyld/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Sparc/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/RISCV/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-lto2/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-split/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/unittest/UnitTestMain/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Target/X86/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/libclang/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Serialization/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Passes/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-check/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/SystemZ/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/ARM/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-scan-deps/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/yaml2obj/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-cxxfilt/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Target/ARM/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ToolDrivers/llvm-dlltool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-change-namespace/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-bcanalyzer/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Option/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-ifs/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-size/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/LineEditor/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/CrossTU/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-import-test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/Tooling/ASTDiff/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/lli/ChildTarget/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/PowerPC/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Target/WebAssembly/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/CrossTU/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Linker/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/MI/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/DebugInfo/GSYM/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-rename/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/count/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/CFGuard/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AArch64/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/MinGW/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/index/dex/dexp/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/sanstats/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/lib/Driver/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libcxx/src/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-dis/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/RISCV/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/not/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-nm/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/JITLink/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Frontend/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-include-fixer/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-mt/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-opt-report/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/plugin/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/FrontendTool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/arcmt-test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-modextract/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-reorder-fields/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Mips/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-move/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/lib/ReaderWriter/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/test-client/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/AArch64/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-cat/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/RISCV/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-reorder-fields/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/NVPTX/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/LineEditor/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Lanai/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/AArch64/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-opt-fuzzer/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-change-namespace/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ToolDrivers/llvm-lib/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-query/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-offload-wrapper/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-cfi-verify/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/unittests/clang-apply-replacements/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/framework/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/unittests/clang-move/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Lanai/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Index/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/BPF/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/sancov/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AVR/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Hello/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Sparc/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Sparc/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-extdef-mapping/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/SystemZ/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-undname/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/verify-uselistorder/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/PowerPC/AsmParser/BUILD.gn
Commit 527281a8432f7592be84cd7e7073d133f8245343 by thakis
[gn build] re-run "gn format" with trunk gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/libclang/CrashTests/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AArch64/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AArch64/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/c-arcmt-test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/BinaryFormat/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-strings/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/include/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/interception/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libunwind/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-symbolizer/BUILD.gn
The file was modifiedllvm/utils/gn/build/write_vcsrevision.gni
The file was modifiedllvm/utils/gn/secondary/llvm/utils/TableGen/tablegen.gni
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/NVPTX/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/RISCV/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/build/write_cmake_config.gni
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/unittest/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/TableGen/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/driver/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/tools/lld/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Mips/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-nm/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/BinaryFormat/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AArch64/MCTargetDesc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/FileCheck/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/OrcError/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/BPF/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/RISCV/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/unittest/UnitTestMain/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-cxxfilt/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Option/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
The file was modifiedllvm/utils/gn/build/symlink_or_copy.gni
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Demangle/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/yaml-bench/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/DebugInfo/MSF/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Lanai/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Hexagon/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libcxx/src/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libcxxabi/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-ar/BUILD.gn
The file was modifiedllvm/utils/gn/build/toolchain/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Support/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/SystemZ/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/MCTargetDesc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Sparc/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/not/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-readobj/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Bitstream/Reader/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Bitstream/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libunwind/src/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-objdump/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-size/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Mips/MCTargetDesc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/utils/hmaptool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/RISCV/MCTargetDesc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/framework/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/libclang/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AVR/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libcxxabi/include/BUILD.gn
Commit d629525597ebe3533d110ea288c2640f0dc24bf7 by Lang Hames
[docs][ORC] Update the laziness section of the ORCv2 design doc.
This updates the discussion of lazy reexports, fixes a TBD for a usage
example, and adds a reference to the fully worked lazy reexports example
that was added in e9e26c01cd865da678b1af6ba5f417c713956a66.
The file was modifiedllvm/docs/ORCv2.rst
Commit f0120556c7e2ef14ff3da5bd7d5717cedf94b767 by Vedant Kumar
[DWARF] Emit DW_AT_call_return_pc as an address
This reverts D53469, which changed llvm's DWARF emission to emit
DW_AT_call_return_pc as a function-local offset. Such an encoding is not
compatible with post-link block re-ordering tools and isn't standards-
compliant.
In addition to reverting back to the original DW_AT_call_return_pc
encoding, teach lldb how to fix up DW_AT_call_return_pc when the address
comes from an object file pointed-to by a debug map. While doing this I
noticed that lldb's support for tail calls that cross a DSO/object file
boundary wasn't covered, so I added tests for that. This latter case
exercises the newly added return PC fixup.
The dsymutil changes in this patch were originally included in D49887:
the associated test should be sufficient to test DW_AT_call_return_pc
encoding purely on the llvm side.
Differential Revision: https://reviews.llvm.org/D72489
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/One/One.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_object/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_object/shared.h
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Two.mk
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile
The file was modifiedllvm/include/llvm/CodeGen/DebugHandlerBase.h
The file was modifiedllvm/tools/dsymutil/DwarfLinkerForBinary.cpp
The file was modifiedlldb/include/lldb/Symbol/Function.h
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_object/One.c
The file was addedllvm/test/tools/dsymutil/Inputs/call-site-entry.macho.x86_64
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/shared.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/test/DebugInfo/X86/debug_addr.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Two/Two.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/TestCrossDSOTailCalls.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_object/main.c
The file was addedllvm/test/tools/dsymutil/Inputs/call-site-entry.macho.x86_64.o
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/main.c
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_object/Two.c
The file was modifiedlldb/source/Symbol/Function.cpp
The file was addedllvm/test/tools/dsymutil/call-site-entry-linking.test
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/One.mk
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was addedllvm/test/tools/dsymutil/Inputs/call-site-entry.c
Commit a2cc80bc95703b99afefddb1d9d545c639ac4ff5 by Vedant Kumar
DebugInfo: Factor out logic to update locations in MD_loop metadata, NFC
Factor out the logic needed to update debug locations contained within
MD_loop metadata.
This refactor is preparation for a future change that also needs to
rewrite MD_loop metadata.
rdar://45507940
The file was modifiedllvm/include/llvm/IR/DebugInfo.h
The file was modifiedllvm/lib/IR/DebugInfo.cpp
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
Commit 388eaa1270c2762d61b756759b6db8cf15bd3a83 by richard
Work around PR43337: don't try to use the vec_sel overloads for vector
long long, since clang's <altivec.h> doesn't provide it yet!
The file was modifiedclang/lib/Headers/ppc_wrappers/emmintrin.h
Commit b72a8c65e4e34779b6bc9e466203f553f5294486 by richard
PR17164: Change clang's default behavior from
-flax-vector-conversions=all to -flax-vector-conversions=integer.
Summary: See proposal on cfe-dev:
http://lists.llvm.org/pipermail/cfe-dev/2019-April/062030.html
Reviewers: SjoerdMeijer, eli.friedman
Subscribers: kristof.beyls, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67678
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/test/Headers/x86-intrinsics-headers.c
The file was modifiedclang/docs/CommandGuide/clang.rst
The file was modifiedclang/test/Sema/vector-assign.c
The file was modifiedclang/test/Headers/x86intrin-2.c
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/test/Headers/altivec-header.c
The file was modifiedclang/test/Headers/x86intrin.c
The file was modifiedclang/test/Sema/vector-ops.c
The file was modifiedclang/test/Headers/arm-neon-header.c
The file was modifiedclang/test/Sema/vector-cast.c
Commit 34ba96a3d49e14abb2a36114a4ed6f97e1b9a9ee by danilo.carvalho.grael
[NFC][IndVarSimplify] remove duplicate code in
widenWithVariantLoadUseCodegen.
Summary: Duplicate code in widenWithVariantLoadUseCodegen is removed and
also use assert to check unknown extension type as it should be filtered
out by the pre condition check before calling this function.
Reviewers: az, sanjoy, sebpop, efriedma, javed.absar, sanjoy.google
Reviewed By: efriedma
Subscribers: hiraditya, llvm-commits, amehsan
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72652
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit fa26a37d36991dd19276c2112ae03e962debe0e4 by jpienaar
[mlir] Add shaped container component type interface
Summary:
* Add shaped container type interface which allows infering the shape,
element
type and attribute of shaped container type separately. Show usage by
way of
tensor type inference trait which combines the shape & element type in
infering a tensor type;
- All components need not be specified;
- Attribute is added to allow for layout attribute that was previously
   discussed;
* Expand the test driver to make it easier to test new creation
instances
(adding new operands or ops with attributes or regions would trigger
build
functions/type inference methods);
- The verification part will be moved out of the test and to verify
method
   instead of ops implementing the type inference interface in a follow
up;
* Add MLIRContext as arg to possible to create type for ops without
arguments,
region or location;
* Also move out the section in OpDefinitions doc to separate
ShapeInference doc
where the shape function requirements can be captured;
- Part of this would move to the shape dialect and/or shape dialect ops
be
   included as subsection of this doc;
* Update ODS's variable usage to match camelBack format for builder,
state and arg variables;
- I could have split this out, but I had to make some changes around
   these and the inconsistency bugged me :)
Differential Revision: https://reviews.llvm.org/D72432
The file was modifiedmlir/test/lib/TestDialect/TestOps.td
The file was modifiedmlir/test/mlir-tblgen/op-attribute.td
The file was modifiedmlir/test/mlir-tblgen/op-operand.td
The file was modifiedmlir/test/lib/TestDialect/TestDialect.cpp
The file was modifiedmlir/lib/Analysis/InferTypeOpInterface.cpp
The file was modifiedmlir/docs/OpDefinitions.md
The file was modifiedmlir/test/lib/TestDialect/TestPatterns.cpp
The file was modifiedmlir/test/mlir-tblgen/op-decl.td
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/test/mlir-tblgen/return-types.mlir
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/include/mlir/Analysis/InferTypeOpInterface.h
The file was modifiedmlir/include/mlir/Analysis/InferTypeOpInterface.td
The file was modifiedmlir/test/mlir-tblgen/op-result.td
The file was addedmlir/docs/ShapeInference.md
Commit 5466597fee379b44f643cee0e0632fdef8fb6b21 by mtrofin
[NFC] Refactor InlineResult for readability
Summary: InlineResult is used both in APIs assessing whether a call site
is inlinable (e.g. llvm::isInlineViable) as well as in the function
inlining utility (llvm::InlineFunction). It means slightly different
things (can/should inlining happen, vs did it happen), and the implicit
casting may introduce ambiguity (casting from 'false' in InlineFunction
will default a message about hight costs, which is incorrect here).
The change renames the type to a more generic name, and disables
implicit constructors.
Reviewers: eraman, davidxl
Reviewed By: davidxl
Subscribers: kerbowa, arsenm, jvesely, nhaehnle, eraman, hiraditya,
haicheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72744
The file was modifiedllvm/lib/CodeGen/SafeStack.cpp
The file was modifiedllvm/lib/Transforms/IPO/Inliner.cpp
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
The file was modifiedllvm/lib/Transforms/IPO/PartialInlining.cpp
The file was modifiedllvm/lib/Transforms/IPO/AlwaysInliner.cpp
The file was modifiedllvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInline.cpp
The file was modifiedllvm/include/llvm/Analysis/InlineCost.h
Commit c65ac2ba784dd1bb7778294bd04c143c0181542a by Jinsong Ji
[MachineScheduler][NFC] Don't swap when we can't cluster
https://reviews.llvm.org/D72706 tried to reduce reordering due to mem op
clustering. This patch avoid doing the swap when we can't cluster.
Reviewed By: rampitec
Differential Revision: https://reviews.llvm.org/D72800
The file was modifiedllvm/lib/CodeGen/MachineScheduler.cpp
Commit 8d2f252bb8e4d199be8498c4ee2245117ef08fd2 by Vedant Kumar
lldb: Run TestCrossDSOTailCalls.py and TestCrossObjectTailCalls.py on
Darwin only
See https://bugs.llvm.org/show_bug.cgi?id=44561, these tests are failing
on an aarch64/Linux bot:
http://lab.llvm.org:8011/builders/lldb-aarch64-ubuntu/builds/655
For some reason the backtrace the tests are expecting to find is
incomplete.
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/TestCrossDSOTailCalls.py
Commit 24d2a015eade6e71e7c684c69510f067bdd55892 by eric
[libc++] Make SFINAE'd member functions in string mutually exclusive.
This patch is needed in order to work around a GCC bug that fails to
explicitly instantiate a non-template function of a class template when
there is another overload that's a function template.
(See https://godbolt.org/z/4bUQ_b)
This patch SFINAE's away the function templates when the argument is a
basic_string.
The file was modifiedlibcxx/include/string
Commit 2d8f23f571635c1fb983b40c4c2548716a5b65b6 by eric
[libc++] Explicitly mark basic_string<...>::npos with default
visibility.
This ensures that the version compiled into the library isn't
accidentally hidden.
The file was modifiedlibcxx/include/string
Commit 288a1436392f1fbee2e647cb057086fe700f9c7e by eric
[libc++] Explicitly enumerate std::string external instantiations -
Attempt 2
  The GCC build failures have been addressed, and the LLDB failures were
fixed by LLDB.
   I have also verified that the apple-clang 9.0 segfault no longer
  occurs.
Original Message:
The external instantiation of std::string is a problem for libc++.
   Additions and removals of inline functions in string can cause ABI
   breakages, including introducing new symbols.
    This patch aims to:
     (1) Make clear which functions are explicitly instatiated.
     (2) Prevent new functions from being accidentally instantiated.
     (3) Allow a migration path for adding or removing functions from
the
     explicit instantiation over time.
    Although this new formulation is uglier, it is preferable from a
   maintainability and readability standpoint because it explicitly
   enumerates the functions we've chosen to expose in our ABI. Changing
   this list is non-trivial and requires thought and planning.
    (3) is achieved by making it possible to control the extern template
declaration
   separately from it's definition. Meaning we could add a new
definition to
   the dylib, wait for it to roll out, then add the extern template
   declaration to the header. Similarly, we could remove existing extern
   template declarations while still keeping the definition to prevent
ABI
   breakages.
The file was modifiedlibcxx/src/string.cpp
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/include/__string
The file was modifiedlibcxx/include/string
Commit 8a4d12ae5b3e6b2ef7c851c6865c04d5a84e05f1 by fedor.sergeev
[BasicBlock] add helper getPostdominatingDeoptimizeCall
It appears to be rather useful when analyzing Loops with multiple
deoptimizing exits, perhaps merged ones. For now it is used in
LoopPredication, will be adding more uses in other loop passes.
Reviewers: asbirlea, fhahn, skatkov, spatel, reames Reviewed By: reames
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72754
The file was modifiedllvm/lib/IR/BasicBlock.cpp
The file was modifiedllvm/include/llvm/IR/BasicBlock.h
The file was modifiedllvm/lib/Transforms/Scalar/LoopPredication.cpp
Commit 43464509fcedef667aee17b74c19cc08b65aa0ae by Vedant Kumar
DWARF: Simplify the way the return PC is attached to call site tags, NFC
This cleanup was suggested by Djordje in D72489.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
Commit 5aeb6798f268f74dc8b0bf5bb75b9c57ec938548 by Vedant Kumar
[test] Move call-site-entry-linking.test into test/tools/dsymutil/X86
This should fix a failure on the clang-cmake-armv7-quick bot.
The file was addedllvm/test/tools/dsymutil/X86/Inputs/call-site-entry.macho.x86_64
The file was addedllvm/test/tools/dsymutil/X86/Inputs/call-site-entry.c
The file was removedllvm/test/tools/dsymutil/call-site-entry-linking.test
The file was addedllvm/test/tools/dsymutil/X86/call-site-entry-linking.test
The file was removedllvm/test/tools/dsymutil/Inputs/call-site-entry.c
The file was removedllvm/test/tools/dsymutil/Inputs/call-site-entry.macho.x86_64
The file was removedllvm/test/tools/dsymutil/Inputs/call-site-entry.macho.x86_64.o
The file was addedllvm/test/tools/dsymutil/X86/Inputs/call-site-entry.macho.x86_64.o
Commit 58c7fa5adeb218737f10ffeaeed0d9eb21f4a2f0 by eric
[libc++] Optimize basic_string::operator=(const basic_string&) for SSO
assignments
This change optimizes the operator=() assignment for short strings by
direcly copying the raw data from the source into the current instance.
This creates an optimized / inlined mempcy up to over 2X faster for
short string assignments. With inlining enabled for operator=,
performance is up to 6X faster.
Benchmarks 'as is': name                                    old time/op
new time/op    delta BM_StringAssignStr_Empty_Opaque         6.05ns ±
2%   3.59ns ± 0%  -40.67% BM_StringAssignStr_Empty_Transparent    5.15ns
± 0%   3.08ns ± 0%  -40.12% BM_StringAssignStr_Small_Opaque       
7.71ns ± 0%   3.59ns ± 0%  -53.45% BM_StringAssignStr_Small_Transparent
  7.66ns ± 0%   3.09ns ± 0%  -59.66% BM_StringAssignStr_Large_Opaque   
    24.1ns ± 0%   24.9ns ± 0%   +3.22%
BM_StringAssignStr_Large_Transparent    22.2ns ± 0%   22.8ns ± 0% 
+2.77% BM_StringAssignStr_Huge_Opaque           315ns ± 6%    320ns ± 5%
    ~ BM_StringAssignStr_Huge_Transparent      318ns ± 5%    321ns ± 4%
   ~
Benchmarks with partial inlining operator=(): name                     
             old time/op   new time/op    delta
BM_StringAssignStr_Empty_Opaque         5.94ns ± 2%   1.95ns ± 0%
-67.21% BM_StringAssignStr_Empty_Transparent    5.14ns ± 0%   1.04ns ±
1%  -79.73% BM_StringAssignStr_Small_Opaque         7.69ns ± 0%   1.96ns
± 0%  -74.48% BM_StringAssignStr_Small_Transparent    7.65ns ± 0% 
1.04ns ± 0%  -86.40% BM_StringAssignStr_Large_Opaque         24.1ns ± 0%
  24.5ns ± 0%   +1.61% BM_StringAssignStr_Large_Transparent    22.2ns ±
0%   21.1ns ± 0%   -4.70% BM_StringAssignStr_Huge_Opaque           317ns
± 5%    323ns ± 4%     ~ BM_StringAssignStr_Huge_Transparent      318ns
± 5%    320ns ± 5%     ~
Patch by Martijn Vels (mvels@google.com) Reviewed as
https://reviews.llvm.org/D72704
The file was modifiedlibcxx/include/string
Commit 313d89724ce3ccf66c1c51849903e1e6d184dd85 by eric
[libc++] Fix parsing <string> in C++03.
Specifically, add a space between >> when closing templates.
The file was modifiedlibcxx/include/string
Commit 6b29aa21180cf14bfb619d38fc4826913cabfb66 by a.bataev
Revert "[OPENMP]Do not use RTTI by default for NVPTX devices."
This reverts commit 23058f9dd4d7e18239fd63b6da52549514b45fda. It breaks
builds of cuda code somehow in some cases.
The file was removedclang/test/Driver/openmp-offload-gpu.cpp
The file was modifiedclang/lib/Driver/ToolChain.cpp