AbortedChanges

Summary

  1. [Gardening] Remove more dead code from IOHandler (details)
  2. Added Tool as Dependency to tests & fixed warnings (details)
  3. Upstream a few small Apple changes to debugserver - arm64_32, Catalyst (details)
  4. [yaml2obj] Move core yaml2obj code into lib and include for use in unit (details)
  5. Fixes failing test cases on Windows for rL368119 (details)
  6. Append an executable suffix to the toolchain tool paths on Windows (details)
  7. Reverts commit r368117, r368115 and r368112 (details)
  8. [X86] Limit vpermil2pd/vpermil2ps immediates to 4 bits in the assembly (details)
  9. [MachineCSE][NFC] Use 'profitable' rather than 'beneficial' to name (details)
  10. Detect HAVE_SYS_TYPES_H in lldb (details)
  11. [X86] Use isInt<8> to simplify some code. NFC (details)
  12. [X86] Allow any 8-bit immediate to be used with bt/btc/btr/bts memory (details)
  13. [RISCV] Remove duplicated logic when determining the target ABI (details)
  14. Force check prof branch_weights consistency in (details)
  15. [ARM][LowOverheadLoops] Revert after read/write (details)
  16. Re-submit r367649: Improve raw_ostream so that you can "write" colors (details)
  17. Remove inclusion of a private gmock header from a test (details)
  18. [unittests] Mark private gmock headers with IWYU pragmas. NFC (details)
  19. [clangd] Added a TextMate theme parser to the vscode extension. (details)
  20. [llvm-readelf] --notes: move 'Data size' column left by 1 (details)
  21. [ELF.h] - Check the case when e_shstrndx=SHN_XINDEX, but the (details)
  22. [obj2yaml] - MIPS: move and improve testing of the e_flags (details)
  23. [InstCombine] Recommit: Shift amount reassociation: shl-trunc-shl (details)
  24. [ELF][X86] Add --no-show-raw-insn and -soname to some i386 tests (details)
  25. [lldb][NFC] Fix typo in 368066 (details)
  26. Simplify error message output. NFC. (details)
  27. Handle /align option. (details)
  28. [ARM] Generate MVE VHADDs/VHSUBs (details)
  29. gsl::Owner/gsl::Pointer: Add implicit annotations for some std types (details)
  30. [lldb][CMake] Fix one more detail in r368066 (details)
  31. Replace llvm::MutexGuard/UniqueLock with their standard equivalents (details)
  32. [lldb][NFC] Remove commented out code in (details)
  33. [lldb][CMake] Workaround debugserver code-signing issue in generated (details)
  34. [clang] Fix mismatched args constructing AddressSpaceAttr. (details)
  35. [ELF] Fix splitting messages for duplicate symbols. (details)
  36. A more robust way of testing debug_line parser near the end of module (details)
  37. [TargetLowering] SimplifyDemandedBits - call (details)
  38. Remove support for 32-bit offsets in utility classes (5/5) (details)
  39. Replace non-recursive sys::Mutex users with std::mutex (details)
  40. [Support] Base SmartMutex on std::recursive_mutex (details)
  41. ObjectFileELF: Remove NT_*** constants (details)
  42. [Mips] Instruction `sc` now accepts symbol as an argument (details)
  43. [mips] Use isMicroMips() function to check enabled feature flag. NFC (details)
  44. [mips] Make a couple of class methods plain static functions. NFC (details)
  45. [ASTImporter] Do not import FunctionTemplateDecl in record twice. (details)
  46. [AArch64][WinCFI] Do not pair callee-save instructions in (details)
  47. [X86] EltsFromConsecutiveLoads - early out for non-byte sized memory (details)
  48. GlobalISel: factor common code from translateCall and translateInvoke. (details)
  49. [RISCV][NFC] Document RISC-V-specific assembly constraints (details)
  50. ProcessElfCore: Remove linux and freebsd NT_*** constants (details)
  51. Try to fix windows build bots after r368153. (details)
  52. [OPENMP]Add standard macro value _OPENMP for OpenMP 5.0. (details)
  53. [EarlyCSE] Add support for unary FNeg to EarlyCSE (details)
  54. [OPENMP]Set default version to OpenMP 4.5. (details)
  55. Remove LLVM mutexes from clang in favor of std::mutex (details)
  56. [UpdateTestChecks] Update tests option (details)
  57. [InstCombine] Propagate fast math flags through selects (details)
  58. [InstCombine] Add a TODO comment (details)
  59. Use forceinline. Necessary for nvcc to inline small functions within the (details)
  60. gn build: Merge r368119 (details)
  61. gn build: Merge r368158 (details)
  62. [ARM] Expand CTPOP intrinsic for MVE (details)
  63. [ExecutionContext] Return the target/process byte order. (details)
  64. [Driver] Expand the executable path in the target create output (details)
  65. Recommit r367901 "[X86] Enable (details)
  66. Recommit r368079 "[X86] Remove uses of the (details)
  67. Recommit r368081 "[X86] Add more extract subvector cost model tests for (details)
  68. Code completion should not ignore default parameters in functions. (details)
  69. Support: Remove needless allocation when getMainExecutable() calls (details)
  70. [clang][NFC] Fix typo in matcher comment (details)
  71. DebugInfo/DWARF: Normalize DWARFObject members on the DWARF spec section (details)
  72. API update for change to LLVM's lib/DebugInfo/DWARF (details)
  73. [DataLayout] Check StackNatural and FunctionPtr alignments. (details)
  74. [OpenMP][libomptarget] Add support for unified memory for regular maps (details)
  75. [SCEV] Return zero from computeConstantDifference(X, X) (details)
  76. [Attributor] Introduce checkForAllReadWriteInstructions(...). (details)
  77. [ValueTracking] When calculating known bits for integer abs, make sure (details)
  78. [Tooling] Expose ExecutorConcurrency option. (details)
  79. [LoopVectorize][X86] Add test case for missed vectorization from (details)
  80. Fix indentation (details)
  81. Add support for deterministically linked binaries on macOS to lldb. (details)
  82. [NFC] Added tests for x/fabs(X) fold (details)
  83. [NFC] Fixed newly added tests (details)
  84. Add target requirements for those bots which don't handle x86. (details)
  85. [pstl] Make sure we install all of PSTL's include/ directory (details)
  86. Revert r367501 "Create unique, but identically-named ELF sections..." (details)
  87. [Symbol] Remove commented out code from CompileUnit (details)
  88. [clang-doc] Parallelize reducing phase (details)
  89. [X86] Add test cases for missed opportunities to use pack instructions (details)
  90. [CommandObject] Remove unused function (details)
  91. [clang-doc] Add second index for sections within info's content (details)
  92. [X86] Allow pack instructions to be used for 512->256 truncates when (details)
  93. [NFC][LICM] Pre-commit test for unary FNeg support in LICM. (details)
  94. DebugInfo/DWARF: Remove unused return type from (details)
  95. [libc++] Take 3: Do not cleverly link against libc++abi just because it (details)
  96. Added Delta IR Reduction Tool (details)
  97. [LoopVectorize][X86] Clamp interleave factor if we have a known constant (details)
  98. [libc++] Remove temporary hack for D63883 (details)
  99. Revert Added Delta IR Reduction Tool (details)
  100. [HWASan] Use LLD for check-hwasan. (details)
  101. Restrict the NetBSD ASan TSD fallback to !ASAN_DYNAMIC (details)
  102. Add a test demonstrating DWARF parse failures are not causing lld to (details)
  103. [llvm-readobj][test] Add baseline tests for FreeBSD/AMD/AMDGPU note (details)
  104. [Attributor] Provide easier checkForallReturnedValues functionality (details)
  105. [Attributor][NFC] Avoid unnecessary liveness queries (details)
  106. [Attributor] Introduce a state wrapper class (details)
  107. [Attributor][NFC] Code simplification and style normalization (details)
  108. Adjust a ValueObjectChild's offset when the child is a bitfield (details)
  109. [Attributor][Stats] Locate statistics tracking with the attributes (details)
  110. [Attributor][NFC] remove leftover and format code (details)
  111. gdb-index: Wire up str_offsets section to avoid incorrect error message (details)
  112. Recommit "[MS] Emit S_HEAPALLOCSITE debug info in Selection DAG" with a (details)
  113. [Docs] Fix (incorrect) code highlighting (details)
  114. [ScalarizeMaskedMemIntrin] Add test case for expanding scatter. (details)
  115. [llvm-lipo] Update llvm-lipo docs for -info -thin -create -replace (details)
  116. Update fix-it hints for std::move warnings. (details)
  117. Revert "[libc++] Take 3: Do not cleverly link against libc++abi just (details)
  118. [llvm-strip] Support --strip-sections (details)
  119. Add LLD as a requirement for hwasan tests because of change in r368111. (details)
  120. [Utility] Remove unused function 'GetMatchSpanningIndices' (details)
  121. Inline diagnostic text into .td file.  NFC. (details)
  122. [Driver] Move LIBRARY_PATH before user inputs (details)
  123. Update generate_netbsd_ioctls.awk for NetBSD 9.99.3 (details)
  124. Sync ioctl(2) list with NetBSD 9.99.3 (details)
  125. [GISel][NFC]: Make members of CombinerHelper accessible in derived (details)
  126. [Materializer] Remove wrong SetSizeAndAlignmentFromType(). (details)
  127. [X86] Add CMOV_FR32X and CMOV_FR64X to the isCMOVPseudo function. (details)
  128. [Driver] Delete XFAIL: windows-msvc after D65880/r368245 (details)
  129. Temporarily bump minimum compiler version (details)
  130. Revert "Temporarily bump minimum compiler version" (details)
  131. [ARM] Rejig MVE load store tests. NFC (details)
  132. [ARM] Tighten up VLDRH.32 with low alignments (details)
  133. [X86] Remove -x86-experimental-vector-widening-legalization command line (details)
  134. [diagtool] Use `operator<<(Colors)` to print out colored output. (details)
  135. [llvm-readobj/libObject] - Introduce a custom warning handler for (details)
  136. [clangd] Fix implicit template instatiations appearing as topLevelDecls. (details)
  137. [ELF] - An attemp to fix builld bit after r368260 (details)
  138. Remove Module::GetSymbolVendor (details)
  139. [ARM] Select VFMA (details)
  140. Fix PDB unit tests for the GetSymbolVendor deletion (details)
  141. Remove xcode-specific Config.h (details)
  142. [Extract] Fixed SemicolonExtractionPolicy for SwitchStmt and SwitchCase (details)
  143. Add a missing include to SymbolFilePDBTests.cpp (details)
  144. [yaml2obj/obj2yaml] - Add a basic support for extended section indexes. (details)
  145. [llcm-readobj] - Fix BB after t368272. (details)
  146. [MIPS GlobalISel] Select jump_table and brjt (details)
  147. [MCA] Remove dependency from InstrBuilder in mca::Context. NFC (details)
  148. [TargetLowering] SimplifyDemandedBits - call (details)
  149. [clangd] Correct the documentation, NFC. (details)
  150. [X86][SSE] Add x64 load use test case (details)
  151. Fix LLDB_CONFIGURATION_DEBUG builds for the GetSymbolVendor removal (details)
  152. [clang-format] fix crash involving invalid preprocessor line (details)
  153. Fix check in tools/gold/X86/strip_names.ll regarding unnamed args (details)
  154. [clangd] Remove a function accidently being added in rL368261. (details)
  155. [clangd] Don't include internal gtest header. (details)
  156. [pstl] Add a __pstl_config_site header to record the CMake configuration (details)
  157. [pstl] Error out when the backend is left unspecified (details)
  158. [libc++abi] Fix tests when pstl is enabled (details)
  159. [clangd] Added an early return from VisitMemberExpr in (details)
  160. [ARM] Set default alignment to 64bits (details)
  161. ObjectFileELF: Convert a unit test to a lit test (details)
  162. [Reassociate] add more tests with negative FP constants; NFC (details)
  163. [clangd] Added semantic highlighting support for primitives. (details)
  164. [X86][SSE] matchBinaryPermuteShuffle - split INSERTPS combines (details)
  165. [ELF][AArch64] Support for movz, movk tprel relocations (details)
  166. [lldb][CMake] Disable modules in Xcode projects (details)
  167. [OPENMP]Add support for analysis of linear variables and step. (details)
  168. Add llvm.licm.disable metadata (details)
  169. [FileCheck] Add missing includes in header (details)
  170. [ELF][AArch64] Delete two unused RUN lines from aarch64-movw-tprel.s (details)
  171. Implement hh_mm_ss from P1466R3. Reviewed as (details)
  172. [RISCV] Minimal stack realignment support (details)
  173. [FIX][NFC] Update clang sema test (details)
  174. [pstl] Remove stray semicolon (details)
  175. [RISCV] Allow ABI Names in Inline Assembly Constraints (details)
  176. [ARM] MVE big endian loads/stores (details)
  177. [ARM] Add support for MVE pre and post inc loads and stores (details)
  178. Enable assembly output of local commons for AIX (details)
  179. [X86] SimplifyDemandedVectorElts - attempt to recombine target shuffle (details)
  180. [X86] XFormVExtractWithShuffleIntoLoad - handle shuffle mask scaling (details)
  181. [lldb][NFC] Simplify return in MaybeHandleVariable (details)
  182. [lld][WebAssembly] Add optional symbols after input file handling (details)
  183. [ObjC][ARC] Upgrade calls to ARC runtime functions to intrinsic calls if (details)
  184. [NFC][pstl] Run clang-format (details)
  185. [clang-doc] Protect Index with mutex during reducing and generation (details)
  186. lit: Use a License classifier that pypi will accept (details)
  187. [libc++] Fix environment variable passing in libc++'s `SSHExecutor` (details)
  188. Re-commit "[PowerPC][NFC][MachinePipeliner] Add some regression (details)
  189. [clang] Update `ignoringElidableConstructorCall` matcher to ignore (details)
  190. [AArch64] Do not emit '#' before immediates in inline asm (details)
  191. [globalisel][legalizer] Attempt to write down the minimal legalization (details)
  192. clang: Diag running out of file handles while looking for files (details)
  193. Recommit Devirtualize destructor of final class. (details)
  194. [X86] Make CMPXCHG16B feature imply CMPXCHG8B feature. (details)
  195. [lld][WebAssembly] Use createGlobalVariable helper function. NFC. (details)
  196. [clang][NFC] Move matcher ignoringElidableConstructorCall's tests to (details)
  197. [llvm-mc] Add reportWarning() to MCContext (details)
  198. [clang] Add no-warn support for Wa (details)
  199. lit: Bump version to 0.10.0 (details)
  200. Remove unused and undocumented data_offset parameter (NFC) (details)
  201. [compiler-rt] Add ConsumeProbability and ConsumeFloatingPoint methods to (details)
  202. [clang] add REQUIRES to driver test case (details)
  203. gn build: Merge r368331. (details)
  204. [clang] add REQUIRES: linux to driver test case (details)
  205. [analyzer] Fix scan-build's plist output in plist-html mode. (details)
  206. [MBP] Disable aggressive loop rotate in plain mode (details)
  207. Fix a comment which was incorrect. (details)
  208. [Attributor][NFC] Include only what is needed (details)
  209. [LegalizeTypes] Remove SplitVSETCC helper and just call (details)
  210. [SelectionDAG][X86] Move setcc mask splitting for (details)
  211. SymbolFileDWARF: Unconditionally scan through clang modules. NFCish (details)
  212. [lldb][NFC] Directly use StringRef instead of temporary std::string (details)
  213. Fix up fd limit diagnosis code (details)
  214. [X86] Improve codegen of v8i64->v8i16 and v16i32->v16i8 truncate with (details)
  215. [LICM] Support unary FNeg in LICM (details)
  216. hwasan: Add a code model check for tagged globals. (details)
  217. [lldb] Fix HAVE_LIBCOMPRESSION (details)
  218. [lldb][NFC] Move to StringRef in some places in IRForTarget (details)
  219. Mark clang-scan-deps test as requiring thread support (details)
  220. Linker: Add support for GlobalIFunc. (details)
  221. Added Delta IR Reduction Tool (details)
  222. [lldb][NFC] Modernize IRForTarget::CreateResultVariable (details)
  223. [InstCombine][NFC] Added comments about constants in tests for pow->exp2 (details)
  224. [WebAssembly][lld] control __data_end export with config->shared (details)
  225. Fix llvm.aarch64.irg properties. (details)
  226. Fix -DBUILD_SHARED_LIBS=ON build after rL368358 (details)
  227. Remove else-after-return (details)
  228. Change the return type of UpgradeARCRuntimeCalls to void (details)
  229. [lld][WebAssembly] Don't create optional symbols when outputing an (details)
  230. [asan_symbolize] Fix bug where the frame counter was not incremented. (details)
  231. ELF: Move sections referred to by __start_/__stop_ symbols into the main (details)
  232. DebugInfo/DWARF: Provide some (pretty half-hearted) error handling (details)
  233. DebugInfo: Explicitly handle errors when parsing unit DIEs (details)
  234. [ELF] Expand regions for gaps due to explicit address (details)
  235. [clang-scan-deps] Add minimizer support for C++20 modules. (details)
  236. [analyzer] ConditionBRVisitor: Fix HTML PathDiagnosticPopUpPieces (details)
  237. [analyzer] CastValueChecker: Model castAs(), getAs() (details)
  238. [X86] Remove vector promotion handling from the ReplaceNodeResults (details)
  239. [X86] Simplify ReplaceNodeResults handling for UDIV/UREM/SDIV/SREM for (details)
  240. [X86] Simplify ReplaceNodeResults handling for (details)
  241. [X86] Simplify ReplaceNodeResults handling for FP_TO_SINT/UINT for (details)
  242. [X86] Now unreachable handling for f64->v2i32/v4i16/v8i8 bitcasts from (details)
  243. [X86] Merge v2f32 and v2i32 gather/scatter handling in (details)
  244. [X86] Simplify ISD::LOAD handling in ReplaceNodeResults and ISD::STORE (details)
  245. [PowerPC] [Clang] Port SSE3, SSSE3 and SSE4 intrinsics to PowerPC (details)
  246. [clang][NFC] Consolidating usage of "FinalPhase" in (details)
  247. [X86] Remove ISD::SETCC handling from ReplaceNodeResults. (details)
  248. [X86] Remove handler for (U/S)(ADD/SUB)SAT from ReplaceNodeResults. (details)
  249. [X86] Remove DAG combine expansion of extending masked load and (details)
  250. [X86] Remove stale FIXME from combineMaskedStore. NFC (details)
  251. Fix rpath for MacOS/iOS (details)
  252. Use ASSERT_THAT_ERROR instead of logAllUnhandledErrors/exit (details)
  253. [X86] Remove code that expands truncating stores from combineStore. (details)
  254. [InstSimplify] Report "Changed" also when only deleting dead (details)
  255. [AST] No longer visiting CXXMethodDecl bodies created by compiler when (details)
  256. [clangd] Fixed printTemplateSpecializationArgs not printing partial (details)
  257. [ARM][ParallelDSP] Replace SExt uses (details)
  258. [lldb][NFC] Use range-based for-loops in IRForTarget (details)
  259. [lldb][NFC] Remove last C string uses from IRForTarget (details)
  260. GlobalISel: pack various parameters for lowerCall into a struct. (details)
  261. [ELF] For VS-style diagnostics, prefer printing full paths in the (details)
  262. [llvm-readobj] - Remove unwrapOrError(ErrorOr<T> EO) helper. (details)
  263. Add SVE opaque built-in types (details)
  264. [lldb][NFC] Clean up logging in IRForTarget (details)
  265. Minidump/Windows: Fix module lookup (details)
  266. [lldb] Refactor guard variable checks in IRForTarget (details)
  267. AArch64: support TLS on Darwin platforms in GlobalISel. (details)
  268. [lldb][NFC] Fix warning about missing switch cases (details)
  269. [lldb][NFC] Unify InstrList typedef in IRForTarget (details)
  270. [llvm-readobj] - Remove deprecated unwrapOrError(Expected<T> EO). (details)
  271. [clangd] Use raw rename functions to implement the rename. (details)
  272. [llvm-readobj] - Remove `error(llvm::Expected<T> &&E)` (details)
  273. [AArch64] Set pref. func. align to 8 bytes on Neoverse E1 & Cortex-A65 (details)
  274. [MCA] Add flag -show-encoding to llvm-mca. (details)
  275. [Mips][Codegen] Fix fast-isel mixing of FGR64 and AFGR64 registers (details)
  276. [clangd] Added highlighting for constructor initializers. (details)
  277. [llvm-readelf]Print filename for multiple inputs and fix formatting (details)
  278. [MCA] Fix MSVC 19.16 build with libc++ (details)
  279. [GlobalOpt] prevent crashing on large integer types (PR42932) (details)
  280. [X86][SSE] Swap X86ISD::BLENDV inputs with an inverted selection mask (details)
  281. Title: Loop Cache Analysis Summary: Implement a new analysis to estimate (details)
  282. [sanitizer] Update symbolizer/scripts/global_symbols.txt (details)
  283. [MachinePipeliner] Avoid indeterminate order in FuncUnitSorter (details)
  284. [lldb][NFC] Remove unused IRForTarget::BuildRelocation (details)
  285. [DAGCombiner] remove redundant fold for X*1.0; NFC (details)
  286. [lldb][NFC] Assert on invalid cursors positions when creating (details)
  287. [AArch64][x86] add tests for pessimization of expression with X*2.0 (details)
  288. More warnings regarding gsl::Pointer and gsl::Owner attributes (details)
  289. [NFC] Added tests for D65898 (details)
  290. [compiler-rt] FuzzedDataProvider: use C++ headers only instead of a (details)
  291. [Transforms] Rename hasUnaryFloatFn() and getUnaryFloatFn() (NFC) (details)
  292. Title: Improve Loop Cache Analysis LIT tests. Summary: Make LIT tests (details)
  293. Print reasonable representations of type names in llvm-nm, readelf and (details)
  294. [Transforms] Fix comments for hasFloatFn() and getFloatFnName() (NFC) (details)
  295. [Transforms] Add a emitBinaryFloatFnCall() version that fetches the (details)
  296. Even more warnings utilizing gsl::Owner/gsl::Pointer annotations (details)
  297. Rename PCH/leakfiles test so it runs on bots. (details)
  298. [InstCombine] Refactor optimizeExp2() (NFC) (details)
  299. [TableGen] Add "InitValue": Handle operands with set bit values in (details)
  300. Fix a build bot failure and multiple warnings instances for range base (details)
  301. [clang-format] Add link to source code in file definitions (details)
  302. [libFuzzer] Merge: print stats after reading the output corpus dir. (details)
  303. Revert Fix a build bot failure and multiple warnings instances for range (details)
  304. Revert Even more warnings utilizing gsl::Owner/gsl::Pointer annotations (details)
  305. [Docs][llvm-strip] Add help text to llvm-strip rst doc (details)
  306. [libomptarget] Remove duplicate RTLRequiresFlags per device (details)
  307. gn build: Merge r368358. (details)
  308. gn build: Merge r368392. (details)
  309. gn build: Merge r368402. (details)
  310. gn build: Merge r368439. (details)
  311. gn build: Merge r368432. (details)
  312. CodeGen: ensure 8-byte aligned String Swift CF ABI (details)
  313. Revert "[asan_symbolize] Fix bug where the frame counter was not (details)
  314. [Docs][llvm-strip] Fix an indentation issue. (details)
  315. Update test to explicity test with -fintegrated-as and (details)
  316. Don't diagnose errors when a file matches an include component (details)
  317. [sanitizers] MSVC warning disable for clean build     - (details)
  318. [MC] Don't recreate a label if it's already used (details)
  319. [CodeGen] Require a name for a block addr target (details)
  320. [X86] Remove custom handling for extloads from LowerLoad. (details)
  321. Fix compilation after SVN r368476 (details)
  322. Revert "[sanitizers] MSVC warning disable for clean build" and follow-up (details)
  323. [clangd] Give absolute path to clang-tidy and include-fixer. HintPath (details)
  324. Test commit. (details)
  325. [clang-doc] Generate an HTML index file (details)
  326. Revert the test commit (details)
  327. Remove variable only used in an assert. (details)
  328. [globalisel] Add G_SEXT_INREG (details)
  329. [OpenMP][libomptarget] Add support for close map modifier (details)
  330. Remove leftover MF->dump()'s from r368487 that break release builds (details)
  331. [DAGCombiner] exclude x*2.0 from normal negation profitability rules (details)
  332. [OpenMP] Add support for close map modifier in Clang (details)
  333. [Sanitizer][Darwin] Add interceptor for malloc_zone_from_ptr (details)
  334. [Bugpoint redesign] Fix nonlocal URI link in doc (details)
  335. Add missing REQUIRES to r368487 (details)
  336. cfi-icall: Allow the jump table to be optionally made non-canonical. (details)
  337. Detects whether RESOURCE_TYPE_IO is defined. (details)
  338. Small format fix (details)
  339. clangd: use -j for background index pool (details)
  340. Attempt to reapply "Even more warnings utilizing gsl::Owner/gsl::Pointer (details)
  341. [clangd] Disallow extraction of expression-statements. (details)
  342. Fix a false positive warning when initializing members with gsl::Owners. (details)
  343. [MemDep] allow to select block-scan-limit when constructing (details)
  344. [X86] Fix stack probe issue on windows32. (details)
  345. [Sanitizer] Reenable getusershell interception (details)
  346. [X86] Improve the diagnostic for larger than 4-bit immediate for (details)
  347. [X86] Match the IR pattern form movmsk on SSE1 only targets where v4i32 (details)
  348. [clang-format] Add SpaceInEmptyBlock option for WebKit (details)
  349. [modulemap] Add AArch64SVEACLETypes.def (details)
  350. [CodeGen] Do the Simple Early Return in block-placement pass to optimize (details)
  351. [clang] Fixed x86 cpuid NSC signature (details)
  352. [lldb] Fix dynamic_cast by no longer failing on variable without (details)
  353. [Reassociate] try harder to convert negative FP constants to positive (details)
  354. [TableGen] Correct the shift to the proper bit width. (details)
  355. [NFC][CodeGen] Modify the PI++ to ++PI in (details)
  356. [X86][SSE] Lower shuffle as ANY_EXTEND_VECTOR_INREG (details)
  357. Add support for FreeBSD's LD_32_LIBRARY_PATH (details)
  358. [NFC][InstCombine] Tests for shift amount reassociation in bittest with (details)
  359. [InstCombine] Shift amount reassociation in bittest: drop pointless (details)
  360. [InstCombine] Shift amount reassociation in bittest: relax one-use check (details)
  361. [NFC][InstCombine] Tests for shift amount reassociation in bittest with (details)
  362. [InstCombine][NFC] Use SimplifyAddInst() instead of (details)
  363. [X86] Remove some code from combineShuffle that seems largely (details)
  364. [X86] Remove some more code from combineShuffle that is no longer needed (details)
  365. test commit (details)
  366. Revert "test commit" (details)
  367. [LICM] Make Loop ICM profile aware (details)
  368. Fix __clang_call_termiante's argument for foreign exceptions (details)
  369. Properly handle reference initialization when detecting gsl::Pointer (details)
  370. [ARM] Permit auto-vectorization using MVE (details)
  371. [MVE] Don't try to unroll vectorised MVE loops (details)
  372. [ARM] MVE spill vector test. NFC (details)
  373. [NFC][CodeGen] Use while loop instead for loop in (details)
  374. [ELF] Remove unnecessary assignment to `used` in replaceWithDefined (details)
  375. Properly detect temporary gsl::Owners through reference initialization (details)
  376. [ELF] Remove redundant !isPreemptible in Symbol::computeBinding() (details)
  377. [ELF] Remove redundant isDefined() in Symbol::computeBinding() and (details)
  378. [X86] Don't use SplitOpsAndApply for ISD::USUBSAT. (details)
  379. [X86] Simplify some of the type checks in combineSubToSubus. (details)
  380. [clang-format] Expand AllowShortBlocksOnASingleLine for WebKit (details)
  381. [SelectionDAG] Widen vector results of SMULFIX/UMULFIX/SMULFIXSAT (details)
  382. [X86] Remove redundant ';' chars ending IR lines in lit tests. NFC (details)
  383. Fix pass dependency for LICM (details)
  384. [X86] Support -march=tigerlake (details)
  385. [X86] Add some reduction add test cases that show sub-optimal code on (details)
  386. [CrossTU] Fix problem with CrossTU AST load limit and progress messages. (details)
  387. [clangd] Highlighting auto variables as the deduced type. (details)
  388. Improve codegen for deque. (details)
  389. [CostModel][X86][AArch64] Add some tests for extractvalue (details)
  390. [clangd] Drop diags from non-written #include. (details)
  391. [ELF] Remove unnecessary assignment to `isPreemptible` in (details)
  392. [ASTImporter] Fix for import of friend class template with definition. (details)
  393. [OpenCL] Fix lang mode predefined macros for C++ mode. (details)
  394. [TargetLowering] SimplifyDemandedBits - call (details)
  395. [InstCombine] foldShiftIntoShiftInAnotherHandOfAndInICmp(): avoid (details)
  396. [llvm-strings] Improve testing of llvm-strings (details)
  397. NFC. Remove trailing whitespace in test (details)
  398. [X86][SSE] Add test showing missing compute known bits PSADBW handling (details)
  399. [X86][SSE] ComputeKnownBits - add basic PSADBW handling (details)
  400. Cleanup unused variable. (details)
  401. Revert r368509 "[CodeGen] Do the Simple Early Return in block-placement (details)
  402. [OpenCL] Ignore parentheses for sampler initialization (details)
  403. [CrossTU] User docs: remove temporary limiation with macro expansion (details)
  404. [clangd] Remove highlightings coming from non topLevelDecls from (details)
  405. [llvm-ar][test] Correct tests marked as expected fails (details)
  406. [CodeGen] Do the Simple Early Return in block-placement pass to optimize (details)
  407. [DebugInfo] Remove call sites when eliminating unreachable blocks (details)
  408. [lldb][NFC] Add unit test for lldb_private::DiagnosticManager (details)
  409. [clangd] Added the vscode SemanticHighlighting feature code but did not (details)
  410. [InstCombine] x /c fabs(x) -> copysign(1.0, x) (details)
  411. [RISCV] Fix ICE in isDesirableToCommuteWithShift (details)
  412. [llvm-ar] Accept file paths with windows format slashes (details)
  413. Revert r368565: [CodeGen] Do the Simple Early Return in block-placement (details)
  414. [X86][SSE] Add test showing missing demanded elts PSADBW handling (details)
  415. [llvm-readobj] Downgrade 'PT_DYNAMIC segment offset + size exceeds the (details)
  416. [lldb] Remove undocumented return value from (details)
  417. [llvm-ar][NFC] Fix buildbot (details)
  418. Revert r368339 "[MBP] Disable aggressive loop rotate in plain mode" (details)
  419. Remove outdated comment about clang not populating src2dst_offset (details)
  420. [clangd] Separate chunks with a space when rendering markdown (details)
  421. [lldb][NFC] Minor fixes for lldb_private::DiagnosticManager (details)
  422. [InstCombine] add tests for scalar-select-of-vectors; NFC (details)
  423. [XCOFF] Use a single symbolic constant for the size of an embeded name. (details)
  424. [scudo][standalone] Minor corrections (details)
  425. [ARM] Add or update a number of costmodel tests. NFC (details)
  426. [ARM] Put some of the TTI costmodel behind hasNeon calls. (details)
  427. Fix multiple lifetime warning messages for range based for loop (details)
  428. [ARM] MVE shuffle broadcast costs (details)
  429. [clangd] Refactor computation of extracted expr in ExtractVariable (details)
  430. [ASTDump] Add is_anonymous to VisitCXXRecordDecl (details)
  431. [AMDGPU] Printf runtime binding pass (details)
  432. [ARM] sext of a load is free (details)
  433. [X86] Disable use of zmm registers for varargs musttail calls under (details)
  434. [CostModel][X86][AArch64] Check all 3 cost kinds in aggregates.ll (details)
  435. [ThinLTO][AutoFDO] Fix memory corruption due to race condition from thin (details)
  436. [NFC][PowerPC] Add the test case shrink-wrap.mir and shrink-wrap.ll for (details)
  437. [builtins] MSVC warning disable for clean build     - (details)
  438. [libc++] Implement CTAD for std::tuple (details)
  439. [Sema] Require a complete type for __builtin_bit_cast operands (details)
  440. gn build: Merge r368592 (details)
  441. [clang-doc] Generate HTML links for children namespaces/records (details)
  442. [asan_symbolize] Fix bug where the frame counter was not incremented. (details)
  443. libcxxabi: Rename .hpp files to .h (details)
  444. small follow-up to r368604 (details)
  445. [X86] Replace call to isTruncStoreLegalOrCustom with isTruncStoreLegal. (details)
  446. [X86] Simplify creation of saturating truncating stores. (details)
  447. [X86] Add a paranoia type check to the code that detects AVG patterns (details)
  448. [X86] Remove unreachable code from LowerTRUNCATE. NFC (details)
  449. [Sema] Check __builtin_bit_cast operand for completeness before (details)
  450. Revert "Disable MachO TBD write tests for Windows." (details)
  451. Fix Wnewline-eof after r368598 (details)
  452. [Symbol] GetTypeBitAlign() should return None in case of failure. (details)
  453. Revert "[lldb] Fix dynamic_cast by no longer failing on variable without (details)
  454. Revert "[lldb] Refactor guard variable checks in IRForTarget" (details)
  455. [libFuzzer] Merge: print feature coverage number as well. (details)
  456. [GISel]: Fix a bug in KnownBits where we should have been using (details)
  457. [GWP-ASan] Update backtrace function signature. (details)
  458. [CompilerType] Pass an ExecutionContextScope to GetTypeBitAlign. (details)
  459. [Attributor] Make the InformationCache an Attributor member (details)
  460. [Attributor][NFC] Add IntegerState raw_ostream << operator (details)
  461. [X86] Allow combineTruncateWithSat to use pack instructions for i16->i8 (details)
  462. Title: Fix build warning for operator<< when using GCC 7. Authored By: (details)
  463. [Attributor] Use the cached data layout directly (details)
  464. [AMDGPU] Use PredicateControl in MIMGBaseOpcode. NFC. (details)
  465. [webassembly] Apply llvm-prefer-register-over-unsigned from clang-tidy (details)
  466. [aarch64] Apply llvm-prefer-register-over-unsigned from clang-tidy to (details)
  467. [risc-v] Apply llvm-prefer-register-over-unsigned from clang-tidy to (details)
  468. [TextAPI] Fix & Add tests for tbd files version 3. (details)
  469. [WinEH] Fix catch block parent frame pointer offset (details)
  470. [clang] Update isDerivedFrom to support Objective-C classes 🔍 (details)
  471. [AMDGPU] removed unused functions from printf lowering (details)
  472. Do not call replaceAllUsesWith to upgrade calls to ARC runtime functions (details)
  473. [X86] Remove 'Server' from Tigerlake description comments. (details)
  474. Move findBBwithCalls to the file it's used in to avoid unused function (details)
  475. Revert "Do not call replaceAllUsesWith to upgrade calls to ARC runtime (details)
  476. [Symbol] Remove redundant include (details)
  477. clang-scan-deps: do not spawn threads when LLVM_ENABLE_THREADS is (details)
  478. [TSan] Fix test failing on Linux (details)
  479. Eliminate implicit Register->unsigned conversions in VirtRegMap. NFC (details)
  480. [lld] Remove unnecessary "class Lazy" (details)
  481. [AMDGPU] Fix msan failure in printf lowering (details)
  482. Do not call replaceAllUsesWith to upgrade calls to ARC runtime functions (details)
  483. Verifier: check prof branch_weights (details)
  484. [GlobalISel]: Add KnownBits for G_XOR (details)
  485. [ELF][test] Add dynamic-list-preempt2.s (details)
  486. Added unit tests to check supported rounding modes (details)
  487. [ELF] Rename odd variable names "New" after r365730. NFC (details)
  488. [GlobalISel] Make the InstructionSelector instance non-const, allowing (details)
  489. [AArch64][GlobalISel] Replace explicit vreg creation with implicit using (details)
  490. [PowerPC] Fix ICE when truncating some vectors (details)
  491. [ASTImporter] Import additional flags for functions. (details)
  492. [NFC][InstCombine] Non-canonical clamp pattern: non-canonical predicate (details)
  493. [SimplifyLibCalls] Add dereferenceable bytes from known callsites (details)
  494. [NFC] Updated tests after r368657 (details)
  495. [ELF] Simplify handling of exportDynamic and isPreemptible (details)
  496. Revert r368276 "[TargetLowering] SimplifyDemandedBits - call (details)
  497. [ELF] Don't special case symbolic relocations with 0 addend to ifunc in (details)
  498. [X86] SimplifyDemandedVectorElts - attempt to recombine target shuffle (details)
  499. [X86] XFormVExtractWithShuffleIntoLoad - handle shuffle mask scaling (details)
  500. [libc++] Use [[nodiscard]] for lock_guard, as an extension (details)
  501. gn build: Make sync script group output by revision (details)
  502. [libc++] Fix incorrect UNSUPPORTED annotation (details)
  503. gn build: Give cmake sync script an opt-in --write flag (details)
  504. gn build: Merge r368630 (details)
  505. gn build: Extract git() and git_out() functions in sync script (details)
  506. [pstl] Rename PARALLELSTL_BACKEND to PSTL_PARALLEL_BACKEND (details)
  507. [CodeGen] Disable UBSan for coroutine functions (details)
  508. [llvm-readobj] - Remove 'error(Error EC)' helper. (details)
  509. [lldb][NFC] Add basic IOHandler completion test (details)
  510. [libTooling] In Transformer, generalize `applyFirst` to admit rules with (details)
  511. [pstl] Allow customizing whether per-TU insulation is provided (details)
  512. [InstCombine] foldXorOfICmps(): don't give up on non-single-use ICmp's (details)
  513. [InstCombine][NFC] Rename IsFreeToInvert() -> isFreeToInvert() for (details)
  514. [InstCombine] Non-canonical clamp-like pattern handling (details)
  515. [lldb] Reland "Refactor guard variable checks in IRForTarget" (details)
  516. [analyzer][NFC] Refactoring BugReporter.cpp P1.: Store interesting (details)
  517. [AIX][test/Index] Set/propagate AIXTHREAD_STK for AIX (details)
  518. [AIX] Implement LR prolog/epilog save/restore (details)
  519. Fix -Wdocumentation typo. NFCI. (details)
  520. Fix -Wdocumentation warning (@returns used in void function). NFCI. (details)
  521. [analyzer][NFC] Refactoring BugReporter.cpp P2.: Clean up the (details)
  522. [lldb] Fix Microsoft guard variable detection (details)
  523. [AArch64] Make the memtag sanitizer require the memtag extension (details)
  524. Enable memtag sanitizer in all AArch64 toolchains (details)
  525. [llvm-readelf] Implement note parsing for NT_FILE and unknown (details)
  526. Revert r368691; test checked in without changes by accident (details)
  527. [clang-tidy] Update `TransformerClangTidyCheck` to use new (details)
  528. [TargetLowering][NFC] prepareUREMEqFold(): fixup comment (details)
  529. [CodeGen][SelectionDAG] More efficient code for X % C == 0 (SREM case) (details)
  530. [libc++] Always build with -fvisibility=hidden (details)
  531. GlobalISel: Change representation of shuffle masks (details)
  532. GlobalISel: Add more verifier checks for G_SHUFFLE_VECTOR (details)
  533. Fix crash on switch conditions of non-integer types in templates (details)
  534. [ORC] Refactor definition-generation, add a generator for static (details)
  535. GlobalISel: Implement lower for G_SHUFFLE_VECTOR (details)
  536. [lld][test] Update test to print ELF note description data (details)
  537. [ARM] Fix encoding of APSR in CLRM instruction (details)
  538. [ARM] Fix detection of duplicates when parsing reg list operands (details)
  539. GlobalISel: Partially implement fewerElementsVector G_UNMERGE_VALUES (details)
  540. [SLC] Improve dereferenceable bytes annotation (details)
  541. [X86] Add some vXi8 extract subvector cost model tests (details)
  542. [analyzer][NFC] Refactoring BugReporter.cpp P3.: (details)
  543. [Dwarf] Complete the list of type tags. (details)
  544. [lld][WebAssembly] Allow linking of pic code into static binaries (details)
  545. [NFC][AIX] Use assert instead of llvm_unreachable (details)
  546. Reland r368691: "[AIX] Implement LR prolog/epilog save/restore" (details)
  547. [NFC] Revisited/updated tests (details)
  548. [ValueTracking] Improve reverse assumption inference (details)
  549. [SimplifyLibCalls] Add noalias from known callsites (details)
  550. [NFC] Updated tests after r368724 (details)
  551. [util] Allow callsigns when running git llvm revert (details)
  552. Use Register over unsigned in LateEHPrepare (NFC) (details)
  553. clang: Don't warn on unused momit-leaf-frame-pointer when frame pointers (details)
  554. [NFC] Fixed test (details)
  555. [AutoUpgrader] Make ArcRuntime Autoupgrader more conservative (details)
  556. [llvm-profdata] Profile dump for compact binary format (details)
  557. [clang] Refactor doc comments to Decls attribution (details)
  558. [ARM] Add MVE beats vector cost model (details)
  559. [NFC][clang] Adding argument based Phase list filtering to (details)
  560. [analyzer][NFC] Refactoring BugReporter.cpp P4.: If it can be const, (details)
  561. [AMDGPU] Fix to 'Fold readlane from copy of SGPR or imm' (details)
  562. [analyzer][NFC] Refactoring BugReporter.cpp P5.: Compact mile long (details)
  563. Revert "Fix crash on switch conditions of non-integer types in (details)
  564. Don't use std::errc (details)
  565. [ORC] Fix BuildingAJIT tutorial code broken by r368707. (details)
  566. [Symbol] Decouple clang from CompilerType (details)
  567. [DWARF} Use LLVM's debug line parser in LLDB. (details)
  568. [Refactor] Moving SourceExtraction header from lib to include (details)
  569.     [AIX]Lowering global address for 32/64bit small/large code models (details)
  570. [analyzer][NFC] Address inlines of D65484 (details)
  571. [DWARF] Guess the path style (details)
  572. [GISel] Pass MachineRegisterInfo by const reference to matcher. (details)
  573. Remove the extra `;`. (details)
  574. [libc++] Mark two <chrono> tests as unsupported on AppleClang 11 (details)
  575. [WebAssembly] Make clang emit correct va_arg code for structs (details)
  576. Factor architecture dependent code out of loop.cu (details)
  577. [analyzer][NFC] Refactoring BugReporter.cpp P6.: Completely get rid of (details)
  578. [GlobalISel]: Fix lowering of G_SHUFFLE_VECTOR with scalar sources (details)
  579. Add a missing header comment, NFC (details)
  580. [analyzer][NFC] Make sure that the BugReport is not modified during the (details)
  581. Relax opcode checks in test to check for only a number instead of a (details)
  582. [GlobalISel][NFC] Factor out common target code from (details)
  583. [NFCI] Explicitly provide user-defined constructor for SectionRef (details)
  584. Initial support for native debugging of x86/x64 Windows processes (details)
  585. Attempt to fix issue with unresolved lit test in TableGen (details)
  586. [clang] DirectoryWatcher for Windows stubs (to fix build break). (details)
  587. [clang][DirectoryWatcher] Fix Windows stub after LLVM change (details)
  588. [Polly-ACC] Fix test after IR-printer change. (details)
  589. [ORC] Fix SpeculativeJIT example code broken by r368707. (details)
  590. [analyzer] Disable the checker-plugins test on Darwin. (details)
  591. [analyzer] exploded-graph-rewriter: Open the converted graph (details)
  592. [analyzer] exploded-graph-rewriter: NFC: Refactor explorers into (details)
  593. [analyzer] exploded-graph-rewriter: Implement manual graph trimming. (details)
  594. [analyzer] exploded-graph-rewriter: Implement displaying Store pointers. (details)
  595. [AArch64] Remove incorrect usage of MONonTemporal. (details)
  596. [analyzer] Prune calls to functions with linear CFGs that return a (details)
  597. [DebugLine] Be more robust in geussing the path style (details)
  598. [analyzer] Track the right hand side of the last store regardless of its (details)
  599. Enable lldb-server on Windows (details)
  600. [AArch64][GlobalISel] RBS: Treat s128s like vectors when unmerging. (details)
  601. Update Python tests for lldb-server on Windows (details)
  602. [analyzer][NFC] Prepare visitors for different tracking kinds (details)
  603. [ORC] Fix clang-interpreter example code broken by r368707. (details)
  604. [analyzer] Don't delete TaintConfig copy constructor (details)
  605. [GlobalISel]: Fix lowering of G_Shuffle_vector where we pick up the (details)
  606. Fix warning: suggest braces around initialization of subobject (details)
  607. [libcxxabi] Define _LIBCXXABI_GUARD_ABI_ARM on WebAssembly (details)
  608. [ELF] Initialize 2 fields of Symbol in SymbolTable::insert (details)
  609. Add __has_builtin support for builtin function-like type traits. (details)
  610. [FileCheck] Move -dump-input diagnostic to first line (details)
  611. [FileCheck] Document FILECHECK_OPTS in -help (details)
  612. Extend coroutines to support a "returned continuation" lowering. (details)
  613. Generalize llvm.coro.suspend.retcon to allow an arbitrary number of (details)
  614. Guard dumps in the coro intrinsic validation logic behind NDEBUG checks. (details)
  615. Add intrinsics for doing frame-bound dynamic allocations within a (details)
  616. Fix a use-after-free in the coro.alloca treatment. (details)
  617. In coro.retcon lowering, don't explode if the optimizer messes around (details)
  618. Update for optimizer changes. (details)
  619. Support swifterror in coroutine lowering. (details)
  620. Remove unreachable blocks before splitting a coroutine. (details)
  621. Don't run a full verifier pass in coro-splitting's private pipeline. (details)
  622. Coroutines: adjust for SVN r358739 (details)
  623. Remove minimum toolchain soft-error (details)
  624. Revert '[LICM] Make Loop ICM profile aware' and 'Fix pass dependency for (details)
  625. [LV] Fold-tail flag (details)
  626. [lldb] Reinstate original guard variable check (details)
  627. [NewPM][PassInstrumentation] IR printing support from clang driver (details)
  628. Removed dead code from clang/tools/libclang/CXIndexDataConsumer.{cpp,h} (details)
  629. [API] Have SBCommandReturnObject::GetOutput/Error return "" instead of (details)
  630. [InstCombine][NFC] Autogenerate checks in adjust-for-minmax.ll (details)
  631. Fix the -Wunused-variable warning. (details)
  632. [Codegen] Updated test for D66158 (details)
  633. [Intrinsics] Add a 'NoAlias' intrinsic property; annotate llvm.memcpy (details)
  634. [llvm-objdump] - Add a relocation-xindex-symbol.test test case. (details)
  635. [llvm/Object] - Convert SectionRef::getName() to return Expected<> (details)
  636. Revert r368812 "[llvm/Object] - Convert SectionRef::getName() to return (details)
  637. [MinGW] Remove stray/inconsistent comment chars in test file. NFC. (details)
  638. [MinGW] Restructure Options.td to use multiclass where sensible. NFC. (details)
  639. [MinGW] Correct handling different forms of a few options (details)
  640. [analyzer] Note last writes to a condition only in a nested stackframe (details)
  641. [ASTImporter] Import default expression of param before creating the (details)
  642. [InstCombine] Refactor getFlippedStrictnessPredicateAndConstant() out of (details)
  643. [llvm-size][test] Improve llvm-size testing (details)
  644. Fix _WIN32 / _WIN64 Wundef warnings (details)
  645. [AsmPrinter] Delete redundant .type foo, @function when emitting an (details)
  646. [clangd] Fix typos and grammar in a comment. NFC (details)
  647. [clang] - An update after LLVM change. (details)
  648. Recommit r368812 "[llvm/Object] - Convert SectionRef::getName() to (details)
  649. Improved the doc comment for getCommentsInFile (details)
  650. [NFC] Make test more robust (details)
  651. Fix "not all control paths return a value" MSVC warnings. NFCI. (details)
  652. Fix "not all control paths return a value" MSVC warning. NFCI. (details)
  653. Fix "not all control paths return a value" MSVC warnings. NFCI. (details)
  654. Removed ToolExecutor::isSingleProcess, it is not used by anything (details)
  655. [IR] Simplify removeDeadConstantUsers. NFC (details)
  656. [clangd] Loading TokenColorRules as a class mapping the rules to their (details)
  657. [DebugInfo] MCP: collect and update DBG_VALUEs encountered in local (details)
  658. [analyzer][CFG] Don't track the condition of asserts (details)
  659. [ELF][test] Update silent-ignore.test (details)
  660. Revert "Minidump/Windows: Fix module lookup" (details)
  661. [X86] Add missing regular 512-bit vXi8 extract subvector cost model (details)
  662. gn build: Pre-merge https://reviews.llvm.org/D66195 (details)
  663. [Clangd] NFC: Fixed comment typo (details)
  664. [clangd] Print qualifiers of out-of-line definitions in document outline (details)
  665. [ELF] --gdb-index: fix odd variable name cUs after r365730 and replace (details)
  666. [SimplifyCFG] Add "safe abs" test from CMSIS DSP 'abs_with_clamp()' (details)
  667. raw_ostream: add operator<< overload for std::error_code (details)
  668. [Tooling] Added DeclStmtClass to ExtractionSemicolonPolicy (details)
  669. [clangd][vscode] Surface the error when applying tweaks fails (details)
  670. Add missing SetID method to fix Windows build (details)
  671. [analyzer][NFC] Prove that we only track the evaluated part of the (details)
  672. Revert "raw_ostream: add operator<< overload for std::error_code" (details)
  673. [AIX] Add call lowering for parameters that could pass onto FPRs (details)
  674. [PowerPC][NFC] Consolidate duplicate XX3Form_SetZero and XX3Form_Zero. (details)
  675. [X86] Add llvm_unreachable to a switch that covers all expected values. (details)
  676. [X86][CostModel] Adjust the costs of ZERO_EXTEND/SIGN_EXTEND with less (details)
  677. [PowerPC][NFC] Add test for build all one vector with different types. (details)
  678. [NFC][AIX] Change assertion (details)
  679. [LangRef] Remove opening [ that was missing a closing ] from (details)
  680. [libTooling] Fix code to avoid unused-function warning after r368681. (details)
  681. [NFC] Fix testcase for ARMs (details)
  682. [X86] Use PSADBW for v8i8 addition reductions. (details)
  683. Fix cppcheck + MSVC analyzer uninitialized member variable warning. (details)
  684. [scudo][standalone] Add more stats to mallinfo (details)
  685. Rework recursive_timed_mutex so that it uses __thread_id instead of (details)
  686. [WebAssembly] Stop unrolling SIMD shifts since they are fixed in V8 (details)
  687. [mips] Split long lines in the test case file. NFC (details)
  688. [mips] Remove redundant case in the test. NFC (details)
  689. [LifetimeAnalysis] Fix false negatives of statement local lifetime (details)
  690. Add missing NativeProcessFactory for lldb-server on Windows (details)
  691. Ignore indirect branches from callbr. (details)
  692. Document clang-cpp in the release notes for clang (details)
  693. [BuildLibCalls] Noalias annotation (details)
  694. [NFC] Updated tests after r368875 (details)
  695. Fix cppcheck + MSVC analyzer uninitialized member variable warning. (details)
  696. [Sema][ObjC] Fix a -Wformat false positive with localizedStringForKey (details)
  697. [DebugLine] Improve path handling. (details)
  698. [libc++] Do not define _LIBCPP_CLANG_VER for non-LLVM Clang (details)
  699. [NFC][clang] Moving argument handling: Driver::BuildActions -> (details)
  700. [libc++] Enable <chrono> ""d and ""y literals for AppleClang 10 and up (details)
  701. [CFG] Introduce CFGElementRef, a wrapper that knows it's position in a (details)
  702. [SLC] Dereferenceable annonation - handle valid null pointers (details)
  703. This commit removes std::shared_ptr::make_shared and (details)
  704. [InstCombine][NFC] Tests for 'try to reuse constant from select in (details)
  705. Move to C++14 (details)
  706. Fix cppcheck + MSVC analyzer uninitialized member variable warning. (details)
  707. Don't explicitly check for C++14 (details)
  708. Remove now useless C++1y flag (details)
  709. [DebugInfo] Consider debug label scope has an extra lexical block file (details)
  710. Match if / elseif properly (details)
  711. InferAddressSpaces: Remove unnecessary check for ConstantInt (details)
  712. InferAddressSpaces: Move target intrinsic handling to TTI (details)
  713. Un-break the bots (details)
  714. [CMake] Fix cache invalidation of LLVM_CXX_STD (details)
  715. [RLEV] Rewrite loop exit values for multiple exit loops w/o overall loop (details)
  716. [Support][NFC] Fix error message for posix_spawn_file_actions_addopen (details)
  717. [PowerPC][NFC] Remove duplicate tests in build-vector-test.ll (details)
  718. AMDGPU: Reduce number of registers in test (details)
  719. Revert "Un-break the bots" (details)
  720. [OPENMP]Support for non-rectangular loops. (details)
  721. [lldb][NFC] Remove unused function (details)
  722. [SDAG] move variable closer to use; NFC (details)
  723. [SLP][NFC] Use pointers to address to ScalarToTreeEntry elements, (details)
  724. Add support in CMake to statically link the C++ standard library. (details)
  725. MathExtras.h: don't check for unsupported GCC versions (details)
  726. SwapByteOrder.h: don't check for unsupported GCC versions (details)
  727. Use std::is_final directly (details)
  728. [libc++] Mark std::tuple CTAD test as failing on AppleClang 9 (details)
  729. [clang-doc] Add missing check in tests (details)
  730. [x86] add tests for fadd reduction; NFC (details)
  731. [libc++] Mark <chrono> test as unsupported on AppleClang 9 (details)
  732. [Bugpoint redesign] Reduced scope of variables in Delta implementation (details)
  733. Fix thread comparison by making sure we never pass our special 'not a (details)
  734. [AMDGPU] Do not assume a default GCN target (details)
  735. [Bugpoint redesign] Added Pass to Remove Global Variables (details)
  736. [Attributor] Use IRPosition consistently (details)
  737. Revert "[lldb] Reinstate original guard variable check" (details)
  738. [Attributor] Do not update or manifest dead attributes (details)
  739. [Attributor] Use liveness during the creation of AAReturnedValues (details)
  740. [AArch64][GlobalISel] Custom selection for s8 load acquire. (details)
  741. [Attributor] Use the AANoNull attribute directly in AADereferenceable (details)
  742. [Attributor][NFC] Add merge/join/clamp operators to the IntegerState (details)
  743. [SelectionDAGBuilder] Teach gather/scatter getUniformBase to look (details)
  744. [Attributor][NFC] Introduce statistics macros for new positions (details)
  745. [Attributor][NFC] Try to eliminate warnings (debug build + fall through) (details)
  746. [LifetimeAnalysis] Support std::stack::top() and std::optional::value() (details)
  747. [SCEV] Rename getMaxBackedgeTakenCount to (details)
  748. [Attributor][NFC] Make debug output consistent (details)
  749. [docs] Fix sphinx doc generation errors (details)
  750. [LLDB] Migrate llvm::make_unique to std::make_unique (details)
  751. [Bugpoint redesign] Modified Functions pass to consider declarations (details)
  752. [Polly] Migrate llvm::make_unique to std::make_unique (details)
  753. [LLD] Migrate llvm::make_unique to std::make_unique (details)
  754. Improve anonymous class heuristic in ClangASTContext::CreateRecordType (details)
  755. [Attributor] Try to fix "missing field 'RetInsts' initializer" warning (details)
  756. Remove LVALUE / RVALUE workarounds (details)
  757. Fix handling of class member access into a vector type. (details)
  758. [www] Update DR status page to match latest version of CWG issues list. (details)
  759. [Clang] Migrate llvm::make_unique to std::make_unique (details)
  760. [clang-tools-extra] Migrate llvm::make_unique to std::make_unique (details)
  761. Expose TailCallKind via the LLVM C API (details)
  762. [compiler-rt] Migrate llvm::make_unique to std::make_unique (details)
  763. [sanitizer_common] Replace forkpty with posix_spawn on Darwin (details)
  764. [coroutine] Fixes "cannot move instruction since its users are not (details)
  765. [NFCI] Always initialize BugReport const fields (details)
  766. gn build: Merge r368918 (details)
  767. Revert "[compiler-rt] Migrate llvm::make_unique to std::make_unique" (details)
  768. Revert "Expose TailCallKind via the LLVM C API" (details)
  769. [NFC] Update doc comment to fix warning. (details)
  770. [X86] Remove some dead code and combine some repeated code that's left. (details)
  771. [NFC] Remove documentation comment to fix warning. (details)
  772. [Tooling] Add a hack to work around issues with matcher binding in (details)
  773. [NFC] Fix documentation for some utility classes. (details)
  774. [CMake] Check for C++14 instead of C++11 (details)
  775. [llvm-objcopy] Move duplicate tablegen from objcopy and strip into one (details)
  776. Fix variable mismatch between signature and body (details)
  777. [llvm-objdump] Add warning messages if disassembly + source for (details)
  778. [ELF][PPC] Improve error message for unknown relocations (details)
  779. [X86] Remove some unreachable code from LowerBITCAST. (details)
  780. [X86] Disable custom type legalization for v2i32/v4i16/v8i8->f64 (details)
  781. [X86] Disable custom type legalization for v2i32/v4i16/v8i8->i64. (details)
  782. [X86] Remove unneeded isel pattern for v4f32->v4i32 fp_to_sint and (details)
  783. [X86] Add test cases for _mm_movepi64_pi64 and _mm_movpi64_epi64. (details)
  784. [Clang] Pragma vectorize_predicate implies vectorize (details)
  785. [X86] Make sure load is non-volatile in the MMX_X86movdq2q (loadv2i64) (details)
  786. [X86] Add isel pattern to match VZEXT_MOVL and a v2i64 scalar_to_vector (details)
  787. [LV] fold-tail predication should be respected even with assume_safety (details)
  788. [llvm-readobj][MachO] Fix section type printing (details)
  789. [lldb] Let LLDB depend on intrinsics_gen to fix non-deterministic module (details)
  790. [clang] Loop pragma parsing. NFC. (details)
  791. MemoryBuffer: Add a missing error-check to getOpenFileImpl (details)
  792. [InstCombine] Precommit test case for D66216 (details)
  793. [analyzer] Add docs for cplusplus.InnerPointer (details)
  794. [analyzer] Warn about -analyzer-configs being meant for development (details)
  795. [ARM] MVE trunc to i1 vectors (details)
  796. [llvm-objcopy] Allow 'protected' visibility to be set when using (details)
  797. [ELF][AArch64] Improve error message for unknown relocations (details)
  798. [Support] Fix Wundef warning (details)
  799. Revert rL368939 "Remove LVALUE / RVALUE workarounds" (details)
  800. Add ptrmask intrinsic (details)
  801. [AArch64] Change location of frame-record within callee-save area. (details)
  802. [ARM] MVE predicate store patterns (details)
  803. Bump llvm-go to C++14 (details)
  804. Replace llvm::integer_sequence and friends with the C++14 standard (details)
  805. [clangd] llvm::integer_sequence -> std::integer_sequence. (details)
  806. [ADT] PointerUnion: Use C++14 constexpr std::min (details)
  807. [ValueTracking] Add MustPreserveNullness arg to functions analyzing (details)
  808. [MCA] Slightly refactor the logic in ResourceManager. NFCI (details)
  809. [SDAG][x86] check for relaxed math when matching an FP reduction (details)
  810. [ARM] Fix alignment checks for BE VLDRH (details)
  811. [CodeGen] Do the Simple Early Return in block-placement pass to optimize (details)
  812. [DAGCombine] MergeConsecutiveStores - fix cppcheck/MSVC extension (details)
  813. [OpenMP] Turn on -Wall compiler warnings by default (details)
  814. [lldb][NFC] Refactor remaining completion logic to use (details)
  815. [OMPT] Resolve warnings because of ints in if conditions (details)
  816. [OpenMP] Remove 'unnecessary parentheses' (details)
  817. [OpenMP] Enable warning about "implicit fallthrough" (details)
  818. [lib/Object] - Remove objdump-file-header.test (details)
  819. [clangd] Don't use Bind() where C++14 move capture works (details)
Commit 171dd2e6e5c9e17f0d06a790a5f4bf98aafd4919 by Jonas Devlieghere
[Gardening] Remove more dead code from IOHandler
Remove more dead code and reformat the file.
llvm-svn: 368116
The file was modifiedlldb/source/Core/IOHandler.cpp
Commit 5dbfca85419bda9d432ec43f7ea54d64ee2aab55 by diegof30
Added Tool as Dependency to tests & fixed warnings
Summary: Fixes
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-msan/builds/14002
and
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/35392/steps/build_Lld/logs/stdio
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65843
llvm-svn: 368117
The file was modifiedllvm/tools/llvm-reduce/deltas/Delta.cpp
The file was modifiedllvm/tools/llvm-reduce/deltas/RemoveFunctions.cpp
The file was modifiedllvm/tools/llvm-reduce/deltas/RemoveGlobalVars.cpp
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedllvm/tools/llvm-reduce/deltas/Delta.h
Commit 6cebeafac31ceb500494bb301e365363c3d5992a by Jason Molenda
Upstream a few small Apple changes to debugserver - arm64_32, Catalyst
Adrian's changes to support Catalyst processes and my changes to support
debugserver running on an arm64_32 device (Apple Watch Series 4, which
uses an IPL32 model on arm64 cpus).
llvm-svn: 368118
The file was modifiedlldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachThreadList.cpp
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachProcess.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachProcess.mm
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachException.cpp
The file was modifiedlldb/tools/debugserver/source/DNB.cpp
The file was modifiedlldb/tools/debugserver/source/DNBDefs.h
The file was modifiedlldb/source/Target/TargetProperties.td
The file was modifiedlldb/tools/debugserver/source/DNB.h
Commit c22d9666fc3e132de3ed121eaf42c3e7e00c7440 by alexbrachetmialot
[yaml2obj] Move core yaml2obj code into lib and include for use in unit
tests
Reviewers: jhenderson, rupprecht, MaskRay, grimar, labath
Reviewed By: rupprecht
Subscribers: gribozavr, mgrang, seiya, mgorny, sbc100, hiraditya,
aheejin, jakehehrlich, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65255
llvm-svn: 368119
The file was removedllvm/tools/yaml2obj/yaml2elf.cpp
The file was removedllvm/tools/yaml2obj/yaml2wasm.cpp
The file was modifiedllvm/test/tools/yaml2obj/multi-doc.test
The file was removedllvm/tools/yaml2obj/yaml2coff.cpp
The file was addedllvm/lib/ObjectYAML/COFFEmitter.cpp
The file was modifiedllvm/tools/yaml2obj/yaml2obj.cpp
The file was addedllvm/test/tools/yaml2obj/invalid-docnum.test
The file was addedllvm/lib/ObjectYAML/yaml2obj.cpp
The file was addedllvm/unittests/ObjectYAML/YAML2ObjTest.cpp
The file was addedllvm/lib/ObjectYAML/MinidumpEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/LLVMBuild.txt
The file was removedllvm/tools/yaml2obj/yaml2macho.cpp
The file was modifiedllvm/tools/yaml2obj/CMakeLists.txt
The file was modifiedllvm/unittests/ObjectYAML/CMakeLists.txt
The file was addedllvm/include/llvm/ObjectYAML/yaml2obj.h
The file was modifiedllvm/test/tools/yaml2obj/section-size-content.yaml
The file was removedllvm/tools/yaml2obj/yaml2obj.h
The file was modifiedllvm/test/tools/yaml2obj/missing_document_tag.yaml
The file was addedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was addedllvm/lib/ObjectYAML/MachOEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/CMakeLists.txt
The file was modifiedllvm/test/tools/yaml2obj/empty-or-invalid-doc.yaml
The file was addedllvm/lib/ObjectYAML/WasmEmitter.cpp
The file was removedllvm/tools/yaml2obj/yaml2minidump.cpp
Commit f5589508d3432495bc2773260306b58812ffe451 by alexbrachetmialot
Fixes failing test cases on Windows for rL368119
Windows test cases were failing because the executable is called
yaml2obj.exe not just yaml2obj. I removed FileCheck patterns including
yaml2obj so they start matching at the error message not the program
name.
llvm-svn: 368120
The file was modifiedllvm/test/tools/yaml2obj/invalid-docnum.test
The file was modifiedllvm/test/tools/yaml2obj/section-size-content.yaml
The file was modifiedllvm/test/tools/yaml2obj/multi-doc.test
The file was modifiedllvm/test/tools/yaml2obj/empty-or-invalid-doc.yaml
The file was modifiedllvm/test/tools/yaml2obj/missing_document_tag.yaml
Commit b4e5f016c47f85fdb9ffc9c3b5ca9e96575458b2 by gkistanova
Append an executable suffix to the toolchain tool paths on Windows
platform.
Append a default CMake suffix (CMAKE_EXECUTABLE_SUFFIX) for the build
host to the toolchain tool path when adding a LLVM external project. The
tool binary files should contain .exe suffix to run them properly on
Windows platform when building the projects.
Patch by Vlad Vereschaka.
Differential Revision: https://reviews.llvm.org/D65824
llvm-svn: 368121
The file was modifiedllvm/cmake/modules/LLVMExternalProjectUtils.cmake
Commit 989679c3711a239c73057fb5446eef937935f4ba by phosek
Reverts commit r368117, r368115 and r368112
This reverts commits:
  "Added Delta IR Reduction Tool"
"[Bugpoint redesign] Added Pass to Remove Global Variables"
"Added Tool as Dependency to tests & fixed warnings"
Reduce/remove-funcs.ll is failing on bots.
llvm-svn: 368122
The file was removedllvm/tools/llvm-reduce/TestRunner.h
The file was removedllvm/tools/llvm-reduce/TestRunner.cpp
The file was removedllvm/tools/llvm-reduce/deltas/Delta.cpp
The file was removedllvm/tools/llvm-reduce/deltas/RemoveGlobalVars.h
The file was removedllvm/tools/llvm-reduce/deltas/Delta.h
The file was removedllvm/tools/llvm-reduce/DeltaManager.h
The file was removedllvm/tools/llvm-reduce/LLVMBuild.txt
The file was removedllvm/tools/llvm-reduce/deltas/RemoveFunctions.h
The file was removedllvm/tools/llvm-reduce/CMakeLists.txt
The file was removedllvm/tools/llvm-reduce/deltas/RemoveFunctions.cpp
The file was removedllvm/tools/llvm-reduce/deltas/RemoveGlobalVars.cpp
The file was removedllvm/test/Reduce/Inputs/remove-funcs.sh
The file was modifiedllvm/tools/LLVMBuild.txt
The file was removedllvm/docs/BugpointRedesign.md
The file was removedllvm/test/Reduce/Inputs/remove-global-vars.sh
The file was removedllvm/test/Reduce/remove-global-vars.ll
The file was removedllvm/tools/llvm-reduce/llvm-reduce.cpp
The file was removedllvm/test/Reduce/remove-funcs.ll
The file was modifiedllvm/test/CMakeLists.txt
Commit 29688f4da0b62e760dcd65d607aa9a56cb1557e0 by craig.topper
[X86] Limit vpermil2pd/vpermil2ps immediates to 4 bits in the assembly
parser.
The upper 4 bits of the immediate byte are used to encode a register. We
need to limit the explicit immediate to fit in the remaining 4 bits.
Fixes PR42899.
llvm-svn: 368123
The file was modifiedllvm/utils/TableGen/X86RecognizableInstr.cpp
The file was modifiedllvm/test/MC/X86/x86_errors.s
The file was modifiedllvm/lib/Target/X86/X86InstrXOP.td
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParserCommon.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/lib/Target/X86/AsmParser/X86Operand.h
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/xop-super-registers-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/xop-super-registers-2.s
Commit 02b8056cc1ace66ddc8c00c064838d11ab2f9742 by lkail
[MachineCSE][NFC] Use 'profitable' rather than 'beneficial' to name
method.
llvm-svn: 368124
The file was modifiedllvm/lib/CodeGen/MachineCSE.cpp
Commit c6551bf0133303570a9ac1d625ca3ddd0051cf1c by hhb
Detect HAVE_SYS_TYPES_H in lldb
Summary: After rL368069 I noticed that HAVE_SYS_TYPES_H is not defined
in Platform.h, or anywhere else in lldb. This change fixes that.
Reviewers: labath
Subscribers: mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D65822
llvm-svn: 368125
The file was modifiedlldb/include/lldb/Host/Config.h.cmake
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
The file was modifiedlldb/include/lldb/Host/windows/PosixApi.h
The file was modifiedlldb/source/Expression/UserExpression.cpp
The file was modifiedlldb/source/Expression/UtilityFunction.cpp
The file was modifiedlldb/cmake/modules/LLDBGenerateConfig.cmake
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
The file was modifiedlldb/tools/driver/Platform.h
Commit 624980037d1a77f9227d7da9de6073c27c4473d5 by craig.topper
[X86] Use isInt<8> to simplify some code. NFC
llvm-svn: 368126
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Commit f192cc587ccc314509e84f4b5fe5496daa80752f by craig.topper
[X86] Allow any 8-bit immediate to be used with bt/btc/btr/bts memory
aliases.
We have aliases that disambiguate memory forms of bt/btc/btr/bts without
suffixes to the 32-bit form. These aliases should have been updated when
the instructions were updated in r356413.
llvm-svn: 368127
The file was modifiedllvm/test/MC/X86/x86-32-coverage.s
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
Commit 371bdc9b7f25e6cde1d24c4e290eab3a973831e4 by rofirrim
[RISCV] Remove duplicated logic when determining the target ABI
We were calculating twice ilp32/lp64. Do this in one place instead.
Differential Revision: https://reviews.llvm.org/D48357
llvm-svn: 368128
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit cb87f3734b0a554a7d3d3b2d47eb885a6d1a9bf8 by yevgeny.rouban
Force check prof branch_weights consistency in
SwitchInstProfUpdateWrapper
This patch turns on the prof branch_weights metadata consistency check
in SwitchInstProfUpdateWrapper.
If this patch causes a failure then please before reverting do report
the IR that hits the assertion and try identifying the pass that
introduces the inconsistency. We have to fix all such passes.
See also the upcoming change https://reviews.llvm.org/D61179 in the
Verifier.
Reviewers: davidx, nikic, eraman, reames, chandlerc Reviewed By: davidx
Differential Revision: https://reviews.llvm.org/D64061
llvm-svn: 368129
The file was modifiedllvm/lib/IR/Instructions.cpp
Commit 173de037404936593a88a9235a3b4783bddef9df by sam.parker
[ARM][LowOverheadLoops] Revert after read/write
Currently we check whether LR is stored/loaded to/from inbetween the
loop decrement and loop end pseudo instructions. There's two problems
here:
- It relies on all load/store instructions being labelled as such in
tablegen.
- Actually any use of loop decrement is troublesome because the value
doesn't exist!
    So we need to check for any read/write of LR that occurs between the
two instructions and revert if we find anything.
Differential Revision: https://reviews.llvm.org/D65792
llvm-svn: 368130
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/revert-after-read.mir
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/revert-after-write.mir
Commit cac8df1ab9521d8f432013e4d348ba24e405e6e9 by ruiu
Re-submit r367649: Improve raw_ostream so that you can "write" colors
using operator<<
The original patch broke buildbots, perhaps because it changed the
default setting whether colors are enabled or not.
llvm-svn: 368131
The file was modifiedlld/Common/ErrorHandler.cpp
The file was modifiedlld/include/lld/Common/ErrorHandler.h
The file was modifiedllvm/include/llvm/Support/raw_ostream.h
The file was modifiedclang/tools/diagtool/TreeView.cpp
The file was modifiedlld/test/COFF/color-diagnostics.test
The file was modifiedllvm/lib/Support/raw_ostream.cpp
The file was modifiedlld/wasm/Driver.cpp
The file was modifiedlld/COFF/DriverUtils.cpp
The file was modifiedlld/test/ELF/color-diagnostics.test
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/lib/Driver/DarwinLdDriver.cpp
The file was modifiedlld/ELF/DriverUtils.cpp
The file was modifiedlld/COFF/Driver.cpp
Commit 8840cd31414bf719b5605b12a14bdc32f6e91aa3 by gribozavr
Remove inclusion of a private gmock header from a test
llvm-svn: 368132
The file was modifiedclang/unittests/AST/RecursiveASTVisitorTest.cpp
Commit 843280bfe30e1b784d4a84d16c85b68d4430fab5 by ibiryukov
[unittests] Mark private gmock headers with IWYU pragmas. NFC
Summary: To prevent clangd from adding #include of those headers.
Reviewers: gribozavr
Reviewed By: gribozavr
Subscribers: kadircet, llvm-commits, cfe-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65849
llvm-svn: 368135
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-cardinalities.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-spec-builders.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-generated-nice-strict.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-actions.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-more-actions.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/internal/gmock-port.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-generated-function-mockers.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-generated-actions.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-generated-matchers.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-more-matchers.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/internal/gmock-internal-utils.h
Commit 57ced1e1551757a8da3aa30ef662fc4bc776dc63 by jvikstrom
[clangd] Added a TextMate theme parser to the vscode extension.
Summary: Adds a TextMate parser module to the vscode extension. It
parses a theme into an array of a pair of TextMate scopes and text
colors.
Reviewers: hokein, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65738
llvm-svn: 368136
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/test/semantic-highlighting.test.ts
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/test/assets/includeTheme.jsonc
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/package.json
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/test/assets/simpleTheme.jsonc
Commit c310992186bd3be12fe6f93522f8124d2a413cf8 by maskray
[llvm-readelf] --notes: move 'Data size' column left by 1
readelf -n:
```
// "Data size" is not left justified
Owner                 Data size       Description
GNU                  0x00000010       NT_GNU_ABI_TAG (ABI version tag)
```
llvm-readelf -n (before):
```
// "Data size" column shifted by 1
Owner                 Data size        Description
GNU                   0x00000010       NT_GNU_ABI_TAG (ABI version tag)
```
llvm-readelf -n (after):
```
Owner                Data size        Description
GNU                  0x00000010       NT_GNU_ABI_TAG (ABI version tag)
```
This change is made to reduce the diff with readelf -n, so that it is
slightly easier to check what features readelf implements but we don't.
Reviewed By: grimar, jhenderson
Differential Revision: https://reviews.llvm.org/D65847
llvm-svn: 368138
The file was modifiedllvm/test/tools/llvm-readobj/gnu-notes.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit a74aa23065cc456673f2910b3d7d65e5db6da718 by grimar
[ELF.h] - Check the case when e_shstrndx=SHN_XINDEX, but the
corresponding sh_link is broken.
When e_shstrndx is equal to SHN_XINDEX, the index of the section string
table section should be taken from the sh_link field of the section
header at index 0.
If sh_link is broken, e.g. contains an index that is larger than number
of sections, then error is reported.
This error message was untested before.
Differential revision: https://reviews.llvm.org/D65391
llvm-svn: 368139
The file was modifiedllvm/include/llvm/Object/ELF.h
The file was modifiedllvm/test/Object/invalid.test
Commit 12d21fc1284560c533d5a92c0966742d2a252a5b by grimar
[obj2yaml] - MIPS: move and improve testing of the e_flags
Mips/elf-flags.yaml and Mips/elf-abi.yaml are tests that intention was
to show that yaml2obj/obj2yaml are able to read/dump MIPS specific
e_flags.
They were not complete, contained an excessive YAML parts and were
placed at a wrong location.
I removed them and created the obj2yaml/elf-mips-eflags.yaml instead.
Differential revision: https://reviews.llvm.org/D65807
llvm-svn: 368140
The file was removedllvm/test/Object/Mips/elf-abi.yaml
The file was removedllvm/test/Object/Mips/elf-flags.yaml
The file was addedllvm/test/tools/obj2yaml/elf-mips-eflags.yaml
Commit 9bece444dd5056ba437623d4d2baa5b237c9980c by lebedev.ri
[InstCombine] Recommit: Shift amount reassociation: shl-trunc-shl
pattern
This was initially committed in r368059 but got reverted in r368084
because there was a faulty logic in how the shift amounts type mismatch
was being handled (it simply wasn't).
I've added an explicit bailout before we SimplifyAddInst() - i don't
think it's designed in general to handle differently-typed values, even
though the actual problem only comes from ConstantExpr's.
I have also changed the common type deduction, to not just blindly look
past zext, but try to do that so that in the end types match.
Differential Revision: https://reviews.llvm.org/D65380
llvm-svn: 368141
The file was modifiedllvm/include/llvm/IR/PatternMatch.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll
Commit 5ebee2558bd82511b8c2cb56f5f35113f94bb0c9 by maskray
[ELF][X86] Add --no-show-raw-insn and -soname to some i386 tests
llvm-svn: 368142
The file was modifiedlld/test/ELF/gnu-ifunc-plt-i386.s
The file was modifiedlld/test/ELF/i386-gotoff-shared.s
The file was modifiedlld/test/ELF/relocation-i686.s
The file was modifiedlld/test/ELF/i386-tls-gdiele.s
The file was modifiedlld/test/ELF/plt-i686.s
The file was modifiedlld/test/ELF/gnu-ifunc-i386.s
The file was modifiedlld/test/ELF/relocation-copy-i686.s
Commit efd0e11b26de2a8273f4248f10c017355d435c02 by stefan.graenitz
[lldb][NFC] Fix typo in 368066
Differential Revision: https://reviews.llvm.org/D65797
llvm-svn: 368143
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
Commit 6c5fc94093d382494ca8e87627559517edf761e4 by ruiu
Simplify error message output. NFC.
Differential Revision: https://reviews.llvm.org/D65855
llvm-svn: 368144
The file was modifiedlld/Common/ErrorHandler.cpp
Commit e6a33e1f11bfd0cdedcd6ea71c378d6611b3922c by ruiu
Handle /align option.
Differential Revision: https://reviews.llvm.org/D65736
llvm-svn: 368145
The file was modifiedlld/COFF/Config.h
The file was addedlld/test/COFF/align.s
The file was modifiedlld/COFF/Writer.cpp
The file was modifiedlld/COFF/Driver.cpp
Commit 30dcae0956112f2333747347650b76405c30a499 by oliver.cruickshank
[ARM] Generate MVE VHADDs/VHSUBs
llvm-svn: 368146
The file was addedllvm/test/CodeGen/Thumb2/mve-vhaddsub.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
Commit 23092ca9bac2b0569ce800dab5c428e1378b6017 by M.Gehre
gsl::Owner/gsl::Pointer: Add implicit annotations for some std types
Summary: Hard code gsl::Owner/gsl::Pointer for std types. The paper
mentions some types explicitly. Generally, all containers and their
iterators are covered. For iterators, we cover both the case that they
are defined as an nested class or as an typedef/using. I have started to
test this implementation against some real standard library
implementations, namely libc++ 7.1.0, libc++ 8.0.1rc2, libstdc++ 4.6.4,
libstdc++ 4.8.5, libstdc++ 4.9.4, libstdc++ 5.4.0, libstdc++ 6.5.0,
libstdc++ 7.3.0, libstdc++ 8.3.0 and libstdc++ 9.1.0.
The tests are currently here

https://github.com/mgehre/llvm-project/blob/lifetime-ci/lifetime-attr-test.sh

https://github.com/mgehre/llvm-project/blob/lifetime-ci/lifetime-attr-test.cpp
I think due to their dependency on a standard library, they are not a
good fit for clang/test/. Where else could I put them?
Reviewers: gribozavr, xazax.hun
Subscribers: rnkovacs, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D64448
llvm-svn: 368147
The file was addedclang/test/SemaCXX/attr-gsl-owner-pointer-std.cpp
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/include/clang/Basic/AttrDocs.td
Commit befde45a6f606429cadd1ea5d57679c1955ef2a8 by stefan.graenitz
[lldb][CMake] Fix one more detail in r368066
Differential Revision: https://reviews.llvm.org/D65797
llvm-svn: 368148
The file was modifiedlldb/cmake/caches/Apple-lldb-Xcode.cmake
Commit 3d5360a4398bfa6878f94ca9ac55bc568692c765 by benny.kra
Replace llvm::MutexGuard/UniqueLock with their standard equivalents
All supported platforms have <mutex> now, so we don't need our own
copies any longer. No functionality change intended.
llvm-svn: 368149
The file was removedllvm/include/llvm/Support/UniqueLock.h
The file was modifiedclang/lib/Frontend/PrecompiledPreamble.cpp
The file was modifiedllvm/lib/ExecutionEngine/GDBRegistrationListener.cpp
The file was modifiedllvm/lib/Support/Unix/Process.inc
The file was modifiedclang/tools/libclang/CIndexer.cpp
The file was modifiedclang/tools/libclang/Indexing.cpp
The file was modifiedllvm/include/llvm/IR/ValueMap.h
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
The file was removedllvm/include/llvm/Support/MutexGuard.h
The file was modifiedllvm/include/llvm/Support/UnicodeCharRanges.h
The file was modifiedllvm/lib/ExecutionEngine/ExecutionEngine.cpp
The file was modifiedllvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
The file was modifiedllvm/lib/Support/ManagedStatic.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXUtilities.cpp
The file was modifiedllvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp
The file was modifiedllvm/lib/Support/Unix/Signals.inc
The file was modifiedllvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
The file was modifiedllvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
Commit 44b8e5f4a6d8d45f4d56d7f9b4c8a342cc546b72 by Raphael Isemann
[lldb][NFC] Remove commented out code in
ClangASTContext::AddMethodToCXXRecordType
llvm-svn: 368150
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit f2410017930651c2eabf62506c10f50986a561bc by stefan.graenitz
[lldb][CMake] Workaround debugserver code-signing issue in generated
Xcode project
Summary: Explicitly code-sign the LLDB.framework copy of debugserver in
the build-tree. This is necessary, because the Xcode-specific logic in
`llvm_codesign` [1] has the side-effect that Xcode code-signs after
post-build steps (here: after copying debugserver over into the
framework). The special case for Xcode was necessary to avoid
double-signing errors in the past (see D55116 and D55816).
[1]
https://github.com/llvm/llvm-project/blob/36fb93982f0e/llvm/cmake/modules/AddLLVM.cmake#L1676
Reviewers: jingham, davide, JDevlieghere, teemperor
Reviewed By: JDevlieghere
Subscribers: beanz, mgorny, lldb-commits, #lldb
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D65566
llvm-svn: 368151
The file was modifiedlldb/tools/debugserver/source/CMakeLists.txt
Commit 45f721ff059455239bdf54a23ede28ff8db94c14 by bikineev
[clang] Fix mismatched args constructing AddressSpaceAttr.
Differential Revision: https://reviews.llvm.org/D65589
llvm-svn: 368152
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/unittests/AST/ASTTraverserTest.cpp
Commit da41e2107e3f6d954885c5f4e68b7410879c4443 by ikudrin
[ELF] Fix splitting messages for duplicate symbols.
D65213 (rL367536) does not work for the case when a source file path
includes subdirectories.
Differential Revision: https://reviews.llvm.org/D65810
llvm-svn: 368153
The file was addedlld/test/ELF/vs-diagnostics-duplicate-split.s
The file was modifiedlld/Common/ErrorHandler.cpp
Commit b53203ec1f1bffb36933f407a87d5350b4190a43 by pavel
A more robust way of testing debug_line parser near the end of module
Summary: While removing -z separate-code makes lld produce place the
code at the end of a segment right now, it's possible that future
changes to the linker will change that, thereby removing the coverage
for the changes in r367983. This patch adds a linker script to one of
the line table tests, which ensures that the code (and its line table)
will be placed at the very end of a module.
Reviewers: MaskRay
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D65789
llvm-svn: 368154
The file was modifiedlldb/lit/SymbolFile/DWARF/debug-line-basic.s
The file was addedlldb/lit/SymbolFile/DWARF/Inputs/debug-line-basic.script
Commit 0eafe011cab843adeecc3363bfc4acb37fcd2960 by llvm-dev
[TargetLowering] SimplifyDemandedBits - call
SimplifyMultipleUseDemandedBits for ISD::VECTOR_SHUFFLE
In particular this helps the SSE vector shift cvttps2dq+add+shl pattern
by avoiding the need for zeros in shuffle style extensions to vXi32
types as we'll be shifting out those bits anyway
llvm-svn: 368155
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-128.ll
The file was modifiedllvm/test/CodeGen/X86/pmul.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-shl-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-rot-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-128.ll
The file was modifiedllvm/test/CodeGen/X86/urem-seteq-vec-nonsplat.ll
The file was modifiedllvm/test/CodeGen/X86/packss.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-shl-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-shl-sub128-widen.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-rot-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-shl-sub128.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-rot-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-rot-128.ll
Commit 45ee93323ba69b3ad01e9a9a70c6e61d5f9d2df5 by ikudrin
Remove support for 32-bit offsets in utility classes (5/5)
Differential Revision: https://reviews.llvm.org/D65641
llvm-svn: 368156
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/unittests/Support/DataExtractorTest.cpp
The file was modifiedllvm/include/llvm/Support/DataExtractor.h
The file was modifiedllvm/lib/Support/DataExtractor.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
Commit e57b60f321024064353b46489cfb25ee01fd55d7 by benny.kra
Replace non-recursive sys::Mutex users with std::mutex
Also remove a use of sys::MutexImpl, that's just evil. No functionality
change intended.
llvm-svn: 368157
The file was modifiedclang/lib/Frontend/ASTUnit.cpp
The file was modifiedclang/tools/libclang/Indexing.cpp
The file was modifiedllvm/unittests/IR/ValueMapTest.cpp
The file was modifiedclang/include/clang/Frontend/ASTUnit.h
Commit ea134f221f2a5c075b7539876a444b4a07362912 by benny.kra
[Support] Base SmartMutex on std::recursive_mutex
- Remove support for non-recursive mutexes. This was unused.
- The std::recursive_mutex is now created/destroyed unconditionally.
Locking is still only done if threading is enabled.
- Alias SmartScopedLock to std::lock_guard.
This should make no semantic difference on the existing APIs.
llvm-svn: 368158
The file was modifiedllvm/include/llvm/Support/Mutex.h
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was removedllvm/lib/Support/Windows/Mutex.inc
The file was removedllvm/lib/Support/Mutex.cpp
The file was removedllvm/lib/Support/Unix/Mutex.inc
Commit 8280730f96cf4869b6b3dfd2f5b27abf4f9a81a0 by pavel
ObjectFileELF: Remove NT_*** constants
llvm now has definitions of those in BinaryFormat/ELF.h. Use those
instead.
llvm-svn: 368159
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
Commit 9f2e076f2730e9f855ef06bcdd47013ad70420b8 by simon
[Mips] Instruction `sc` now accepts symbol as an argument
Function MipsAsmParser::expandMemInst() did not properly handle
instruction `sc` with a symbol as an argument because first argument
would be counted twice. We add additional checks and handle this case
separately.
Patch by Mirko Brkusanin.
Differential Revision: https://reviews.llvm.org/D64252
llvm-svn: 368160
The file was addedllvm/test/MC/Mips/sym-sc.s
The file was modifiedllvm/lib/Target/Mips/MipsTargetStreamer.h
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
Commit 8a7c0e7c0a5686d789d2157d741e8ef7bfd8a912 by simon
[mips] Use isMicroMips() function to check enabled feature flag. NFC
llvm-svn: 368161
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
Commit e5fa049efaf331cb3175703da59c2875bb652cca by simon
[mips] Make a couple of class methods plain static functions. NFC
llvm-svn: 368162
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
The file was modifiedllvm/lib/Target/Mips/MipsTargetStreamer.h
Commit e9719f9e9e96c8822acdefc3dfaf73a6b8fe5a15 by 1.int32
[ASTImporter] Do not import FunctionTemplateDecl in record twice.
Summary: For functions there is a check to not duplicate the declaration
if it is in a record (class). For function templates there was no
similar check, if a template (in the same class) was imported multiple
times the FunctionTemplateDecl was created multiple times with the same
templated FunctionDecl. This can result in problems with the declaration
chain.
Reviewers: martong, a.sidorin, shafik, a_sidorin
Reviewed By: a_sidorin
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65203
llvm-svn: 368163
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit 1d2bfa4a868b52aa19a597427947eb508e8da791 by sander.desmalen
[AArch64][WinCFI] Do not pair callee-save instructions in
LoadStoreOptimizer
Prevent the LoadStoreOptimizer from pairing any load/store instructions
with instructions from the prologue/epilogue if the CFI information has
encoded the operations as separate instructions.  This would otherwise
lead to a mismatch of the actual prologue size from the size as recorded
in the Windows CFI.
Reviewers: efriedma, mstorsjo, ssijaric
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D65817
llvm-svn: 368164
The file was modifiedllvm/test/CodeGen/AArch64/wineh1.mir
The file was modifiedllvm/test/CodeGen/AArch64/wineh2.mir
The file was modifiedllvm/test/DebugInfo/COFF/AArch64/arm64-register-variables.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
Commit d52bc482a50ca8821cab69173a44b7ae170f70ba by llvm-dev
[X86] EltsFromConsecutiveLoads - early out for non-byte sized memory
(PR42909)
Don't attempt to merge loads for types that aren't modulo 8-bits.
llvm-svn: 368165
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was addedllvm/test/CodeGen/X86/pr42909.ll
Commit 3c10f346dcd407b65f9ce4b82f3fbbc9ed43d7a2 by Tim Northover
GlobalISel: factor common code from translateCall and translateInvoke.
NFC.
llvm-svn: 368166
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
Commit 4f6737565b3194c8133b2c92b07563d1eb7ba84e by selliott
[RISCV][NFC] Document RISC-V-specific assembly constraints
llvm-svn: 368167
The file was modifiedllvm/docs/LangRef.rst
Commit b9f31b6f4e46f5c7471b32c3b1b1e11aa2ec880c by pavel
ProcessElfCore: Remove linux and freebsd NT_*** constants
These are already defined in llvm/BinaryFormat/ELF.h. Leaving the NetBSD
and OpenBSD constants as-is, as they have no llvm counterparts.
llvm-svn: 368168
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterUtilities.h
Commit 0e1fea675407c2d34096b109e9a460f23fbd59d7 by ikudrin
Try to fix windows build bots after r368153.
llvm-svn: 368169
The file was modifiedlld/test/ELF/vs-diagnostics-duplicate-split.s
Commit 2e3a07fcb87e44140ff1a203da4d77eff1a78e77 by a.bataev
[OPENMP]Add standard macro value _OPENMP for OpenMP 5.0.
According to the OpenMP standard, compiler must define _OPENMP macro,
which has value in format yyyymm, where yyyy is the year of the standard
and mm is the month of the standard. For OpenMP 5.0 this value must be
set to 201811.
llvm-svn: 368170
The file was modifiedclang/test/OpenMP/predefined_macro.c
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
The file was modifiedclang/test/OpenMP/driver.c
Commit 303b6dbfb47c6e7cc346468aeb0710c2877150e8 by cameron.mcinally
[EarlyCSE] Add support for unary FNeg to EarlyCSE
Differential Revision: https://reviews.llvm.org/D65815
llvm-svn: 368171
The file was modifiedllvm/lib/Transforms/Scalar/EarlyCSE.cpp
The file was modifiedllvm/test/Transforms/EarlyCSE/floatingpoint.ll
Commit a06155ddc4edb22f44425f2cf6a2038f4e4c4546 by a.bataev
[OPENMP]Set default version to OpenMP 4.5.
Since clang fully supports OpenMP 4.5, set the default version to 4.5
instead of 3.1.
llvm-svn: 368172
The file was modifiedclang/test/OpenMP/parallel_default_messages.cpp
The file was modifiedclang/test/OpenMP/driver.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
Commit 762bc3351f29b5a71dca31ddd114034a383ff0bd by benny.kra
Remove LLVM mutexes from clang in favor of std::mutex
None of those need to be recursive mutexes. No functionality change
intended.
llvm-svn: 368173
The file was modifiedclang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
The file was modifiedclang/tools/libclang/CIndexer.h
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/lib/Frontend/PrecompiledPreamble.cpp
The file was modifiedclang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
Commit 7169ea391a7cc21da171e1c8acb5731e390d6852 by david.bolvansky
[UpdateTestChecks] Update tests option
Summary: Port of new feature introduced https://reviews.llvm.org/D65610
to other update scripts.
- update_*_checks.py: add an alias -u for --update-only
- port --update-only to other update_*_test_checks.py scripts
- update script aborts if the test file was generated by another
update_*_test_checks.py utility
Reviewers: lebedev.ri, RKSimon, MaskRay, reames, gbedwell
Reviewed By: MaskRay
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65793
llvm-svn: 368174
The file was modifiedllvm/utils/update_analyze_test_checks.py
The file was modifiedllvm/utils/update_cc_test_checks.py
The file was modifiedllvm/utils/UpdateTestChecks/common.py
The file was modifiedllvm/utils/update_mir_test_checks.py
The file was modifiedllvm/utils/update_llc_test_checks.py
The file was modifiedllvm/utils/update_test_checks.py
Commit 8e8b295835593dc2f3a5d56f91a0e6436dad104b by jay.foad
[InstCombine] Propagate fast math flags through selects
Summary: In SimplifySelectsFeedingBinaryOp, propagate fast math flags
from the outer op into both arms of the new select, to take advantage of
simplifications that require fast math flags.
Reviewers: mcberg2017, majnemer, spatel, arsenm, xbolva00
Subscribers: wdng, javed.absar, kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65658
llvm-svn: 368175
The file was modifiedllvm/test/Transforms/InstCombine/select_arithmetic.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 7d4ab7751d6c99f0bf34503ea83ac6189103e421 by jay.foad
[InstCombine] Add a TODO comment
llvm-svn: 368176
The file was modifiedllvm/test/Transforms/InstCombine/select_arithmetic.ll
Commit ae0178bee72c201ba3b834adae6bffedec6ec04e by jonathanchesterfield
Use forceinline. Necessary for nvcc to inline small functions within the
bitcode library
Summary:
[libomptarget] Use forceinline. Necessary for nvcc to inline small
functions within the bitcode library Suggested in D65836
Reviewers: ABataev, jdoerfert, grokos, gregrodgers
Subscribers: openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D65876
llvm-svn: 368177
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/option.h
Commit 3a7c85a8d4242ba535c7b90ee81bb4a404e61556 by nicolasweber
gn build: Merge r368119
llvm-svn: 368178
The file was modifiedllvm/utils/gn/secondary/llvm/tools/yaml2obj/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ObjectYAML/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ObjectYAML/BUILD.gn
Commit e75ccf85fe8a04e59e72613bc3d93c88f82b6d24 by nicolasweber
gn build: Merge r368158
llvm-svn: 368179
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
Commit 4d4eefda6c215f4b41aede55d50073c7a3bbeb64 by oliver.cruickshank
[ARM] Expand CTPOP intrinsic for MVE
llvm-svn: 368180
The file was addedllvm/test/CodeGen/Thumb2/mve-ctpop.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit af0c828a1ef2a85e8e98d97e8f72d985ed08fe6f by Jonas Devlieghere
[ExecutionContext] Return the target/process byte order.
Currently ExecutionContext::GetByteOrder() always returns the host byte
order. This seems like a simple mistake: the return keyword appears to
have been omitted by accident. This patch fixes that and adds a unit
test.
Bugreport: https://llvm.org/PR37950
Differential revision: https://reviews.llvm.org/D48704
llvm-svn: 368181
The file was modifiedlldb/unittests/Target/CMakeLists.txt
The file was addedlldb/unittests/Target/ExecutionContextTest.cpp
The file was modifiedlldb/source/Target/ExecutionContext.cpp
Commit 9f75418e1a7edf8f4951e8d86d42bcf97ca64671 by Jonas Devlieghere
[Driver] Expand the executable path in the target create output
Resolve the path in the target create output. This is nice when passing
relative paths to the lldb command line driver.
  $ lldb ./binary
(lldb) target create "./binary"
Current executable set to '/absolute/path/to/binary' (x86_64).
This change only affects the target create output and does not change
the debugger's behavior. It doesn't resolve symbolic links so it won't
cause confusing when debugging something like clang++ that's symlinked
to clang.
Differential revision: https://reviews.llvm.org/D65611
llvm-svn: 368182
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was addedlldb/lit/Driver/TestTarget.test
Commit 8b5f2ab2a40c60518d7de4a76879572247fac540 by craig.topper
Recommit r367901 "[X86] Enable
-x86-experimental-vector-widening-legalization by default."
The assert that caused this to be reverted should be fixed now.
Original commit message:
This patch changes our defualt legalization behavior for 16, 32, and 64
bit vectors with i8/i16/i32/i64 scalar types from promotion to widening.
For example, v8i8 will now be widened to v16i8 instead of promoted to
v8i16. This keeps the elements widths the same and pads with undef
elements. We believe this is a better legalization strategy. But it
carries some issues due to the fragmented vector ISA. For example, i8
shifts and multiplies get widened and then later have to be
promoted/split into vXi16 vectors.
This has the potential to cause regressions so we wanted to get it in
early in the 10.0 cycle so we have plenty of time to address them.
Next steps will be to merge tests that explicitly test the command line
option. And then we can remove the option and its associated code.
llvm-svn: 368183
The file was modifiedllvm/test/CodeGen/X86/widen_cast-6.ll
The file was modifiedllvm/test/CodeGen/X86/vec_umulo.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-trunc.ll
The file was modifiedllvm/test/CodeGen/X86/avx2-masked-gather.ll
The file was modifiedllvm/test/CodeGen/X86/vector-ext-logic.ll
The file was modifiedllvm/test/CodeGen/X86/pointer-vector.ll
The file was modifiedllvm/test/CodeGen/X86/bitcast-and-setcc-128.ll
The file was modifiedllvm/test/CodeGen/X86/2012-03-15-build_vector_wl.ll
The file was modifiedllvm/test/CodeGen/X86/avx2-conversions.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-umax.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/arith.ll
The file was modifiedllvm/test/CodeGen/X86/vector-gep.ll
The file was modifiedllvm/test/CodeGen/X86/widen_cast-2.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-and-bool.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/blending-shuffle.ll
The file was modifiedllvm/test/CodeGen/X86/vec_saddo.ll
The file was modifiedllvm/test/CodeGen/X86/sse2-vector-shifts.ll
The file was modifiedllvm/test/CodeGen/X86/combine-64bit-vec-binop.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-mul.ll
The file was modifiedllvm/test/CodeGen/X86/vector-half-conversions.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/cast.ll
The file was modifiedllvm/test/CodeGen/X86/vselect-avx.ll
The file was modifiedllvm/test/CodeGen/X86/cvtv2f32.ll
The file was modifiedllvm/test/CodeGen/X86/vector-sext.ll
The file was modifiedllvm/test/CodeGen/X86/widen_compare-1.ll
The file was modifiedllvm/test/CodeGen/X86/promote.ll
The file was modifiedllvm/test/CodeGen/X86/sse2-intrinsics-canonical.ll
The file was modifiedllvm/test/CodeGen/X86/x86-interleaved-access.ll
The file was modifiedllvm/test/CodeGen/X86/mmx-arg-passing-x86-64.ll
The file was modifiedllvm/test/CodeGen/X86/masked_gather_scatter_widen.ll
The file was modifiedllvm/test/CodeGen/X86/slow-pmulld.ll
The file was modifiedllvm/test/CodeGen/X86/2011-12-28-vselecti8.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-mul.ll
The file was modifiedllvm/test/CodeGen/X86/oddshuffles.ll
The file was modifiedllvm/test/CodeGen/X86/mmx-cvt.ll
The file was modifiedllvm/test/CodeGen/X86/2012-01-18-vbitcast.ll
The file was modifiedllvm/test/CodeGen/X86/widen_bitops-0.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or-bool.ll
The file was modifiedllvm/test/CodeGen/X86/widen_cast-3.ll
The file was modifiedllvm/test/CodeGen/X86/shift-combine.ll
The file was modifiedllvm/test/CodeGen/X86/2012-07-10-extload64.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-mask-op.ll
The file was modifiedllvm/test/CodeGen/X86/shuffle-vs-trunc-128.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics-upgrade.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-or.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-smin.ll
The file was modifiedllvm/test/CodeGen/X86/vector-truncate-combine.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-smin.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-and.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-transpose.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-and.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/sitofp.ll
The file was modifiedllvm/test/CodeGen/X86/usub_sat_vec.ll
The file was modifiedllvm/test/CodeGen/X86/2011-10-19-LegelizeLoad.ll
The file was modifiedllvm/test/CodeGen/X86/widen_cast-1.ll
The file was modifiedllvm/test/CodeGen/X86/x86-shifts.ll
The file was modifiedllvm/test/CodeGen/X86/widen_conv-2.ll
The file was modifiedllvm/test/CodeGen/X86/widen_conv-1.ll
The file was modifiedllvm/test/CodeGen/X86/bitcast-vector-bool.ll
The file was modifiedllvm/test/CodeGen/X86/2008-09-05-sinttofp-2xi32.ll
The file was removedllvm/test/Analysis/CostModel/X86/reduce-add-widen.ll
The file was modifiedllvm/test/CodeGen/X86/complex-fastmath.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/ret-mmx.ll
The file was modifiedllvm/test/CodeGen/X86/masked_gather_scatter.ll
The file was modifiedllvm/test/CodeGen/X86/vec_usubo.ll
The file was modifiedllvm/test/CodeGen/X86/2009-06-05-VZextByteShort.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-ssat.ll
The file was modifiedllvm/test/CodeGen/X86/extract-insert.ll
The file was modifiedllvm/test/CodeGen/X86/pmulh.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-ashr-sub128.ll
The file was modifiedllvm/test/CodeGen/X86/avx2-vbroadcast.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-any_extend_load.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-vec-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/shrink_vmul.ll
The file was modifiedllvm/test/CodeGen/X86/4char-promote.ll
The file was modifiedllvm/test/CodeGen/X86/bitreverse.ll
The file was modifiedllvm/test/CodeGen/X86/masked_compressstore.ll
The file was modifiedllvm/test/CodeGen/X86/shuffle-strided-with-offset-128.ll
The file was modifiedllvm/test/CodeGen/X86/vec_ssubo.ll
The file was modifiedllvm/test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-1.ll
The file was modifiedllvm/test/CodeGen/X86/widen_conv-3.ll
The file was modifiedllvm/test/CodeGen/X86/vec_insert-mmx.ll
The file was modifiedllvm/test/CodeGen/X86/vector-idiv-v2i32.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-add.ll
The file was modifiedllvm/test/CodeGen/X86/masked_store_trunc_usat.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-xor.ll
The file was modifiedllvm/test/CodeGen/X86/shuffle-strided-with-offset-256.ll
The file was modifiedllvm/test/CodeGen/X86/vec_uaddo.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-ext.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/fptoui.ll
The file was modifiedllvm/test/CodeGen/X86/masked_store_trunc_ssat.ll
The file was modifiedllvm/test/CodeGen/X86/widen_cast-5.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v16.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-umin.ll
The file was modifiedllvm/test/CodeGen/X86/lower-bitcast.ll
The file was modifiedllvm/test/CodeGen/X86/mmx-arith.ll
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-xor.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-combining.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/masked-intrinsic-cost.ll
The file was modifiedllvm/test/CodeGen/X86/vec_cast2.ll
The file was modifiedllvm/test/CodeGen/X86/vec_cast3.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/sitofp.ll
The file was modifiedllvm/test/CodeGen/X86/vselect.ll
The file was modifiedllvm/test/CodeGen/X86/vec_ctbits.ll
The file was modifiedllvm/test/CodeGen/X86/vec_fp_to_int.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-umin.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc.ll
The file was modifiedllvm/test/CodeGen/X86/vec_insert-5.ll
The file was modifiedllvm/test/CodeGen/X86/3dnow-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-shl-sub128.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/testshiftshl.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-umax.ll
The file was modifiedllvm/test/CodeGen/X86/select.ll
The file was modifiedllvm/test/CodeGen/X86/sad.ll
The file was modifiedllvm/test/CodeGen/X86/avx-cvt-2.ll
The file was modifiedllvm/test/CodeGen/X86/merge-consecutive-loads-256.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/slm-arith-costs.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-2.ll
The file was modifiedllvm/test/CodeGen/X86/vsel-cmp-load.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/uitofp.ll
The file was modifiedllvm/test/CodeGen/X86/vec_insert-7.ll
The file was modifiedllvm/test/CodeGen/X86/widen_conv-4.ll
The file was modifiedllvm/test/CodeGen/X86/vec_int_to_fp.ll
The file was modifiedllvm/test/CodeGen/X86/bswap-vector.ll
The file was modifiedllvm/test/CodeGen/X86/pr35918.ll
The file was modifiedllvm/test/CodeGen/X86/avx-fp2int.ll
The file was modifiedllvm/test/CodeGen/X86/masked_expandload.ll
The file was modifiedllvm/test/CodeGen/X86/promote-vec3.ll
The file was modifiedllvm/test/CodeGen/X86/2011-12-8-bitcastintprom.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-add.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-smax.ll
The file was modifiedllvm/test/CodeGen/X86/trunc-ext-ld-st.ll
The file was modifiedllvm/test/CodeGen/X86/buildvec-insertvec.ll
The file was modifiedllvm/test/CodeGen/X86/vshift-4.ll
The file was modifiedllvm/test/CodeGen/X86/test-shrink-bug.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/fptoui.ll
The file was modifiedllvm/test/CodeGen/X86/and-load-fold.ll
The file was modifiedllvm/test/CodeGen/X86/bitcast-setcc-128.ll
The file was modifiedllvm/test/CodeGen/X86/masked_store.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/fptosi.ll
The file was modifiedllvm/test/CodeGen/X86/known-bits.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/testshiftlshr.ll
The file was modifiedllvm/test/CodeGen/X86/avx512bwvl-intrinsics-upgrade.ll
The file was modifiedllvm/test/CodeGen/X86/widen_shuffle-1.ll
The file was modifiedllvm/test/CodeGen/X86/extract-concat.ll
The file was modifiedllvm/test/CodeGen/X86/ssub_sat_vec.ll
The file was modifiedllvm/test/CodeGen/X86/vector-narrow-binop.ll
The file was modifiedllvm/test/CodeGen/X86/widen_load-2.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-by-select-loop.ll
The file was modifiedllvm/test/CodeGen/X86/shuffle-strided-with-offset-512.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/testshiftashr.ll
The file was modifiedllvm/test/CodeGen/X86/combine-or.ll
The file was modifiedllvm/test/CodeGen/X86/uadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-lshr-sub128.ll
The file was modifiedllvm/test/CodeGen/X86/atomic-unordered.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-vec3-crash.ll
The file was modifiedllvm/test/CodeGen/X86/vec_smulo.ll
The file was modifiedllvm/test/CodeGen/X86/mulvi32.ll
The file was modifiedllvm/test/CodeGen/X86/avx512vl-intrinsics-fast-isel.ll
The file was modifiedllvm/test/CodeGen/X86/load-partial.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-smax.ll
The file was modifiedllvm/test/CodeGen/X86/pmaddubsw.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/uitofp.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/fptosi.ll
The file was modifiedllvm/test/CodeGen/X86/shuffle-vs-trunc-256.ll
The file was modifiedllvm/test/CodeGen/X86/shuffle-vs-trunc-512.ll
The file was modifiedllvm/test/CodeGen/X86/sadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/X86/oddsubvector.ll
The file was modifiedllvm/test/CodeGen/X86/unfold-masked-merge-vector-variablemask.ll
The file was modifiedllvm/test/CodeGen/X86/trunc-subvector.ll
The file was modifiedllvm/test/CodeGen/X86/fold-vector-sext-zext.ll
The file was modifiedllvm/test/CodeGen/X86/masked_store_trunc.ll
The file was modifiedllvm/test/CodeGen/X86/masked_load.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-cvt.ll
The file was modifiedllvm/test/CodeGen/X86/pr14161.ll
The file was modifiedllvm/test/CodeGen/X86/f16c-intrinsics.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/insert-element-build-vector.ll
The file was modifiedllvm/test/CodeGen/X86/pr40994.ll
The file was modifiedllvm/test/CodeGen/X86/scalar_widen_div.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-xor-bool.ll
The file was modifiedllvm/test/CodeGen/X86/psubus.ll
The file was modifiedllvm/test/CodeGen/X86/widen_cast-4.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/alternate-shuffle-cost.ll
The file was modifiedllvm/test/CodeGen/X86/insertelement-shuffle.ll
The file was modifiedllvm/test/CodeGen/X86/madd.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-usat.ll
The file was modifiedllvm/test/CodeGen/X86/vector-blend.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-3.ll
The file was modifiedllvm/test/CodeGen/X86/vector-zext.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-packus.ll
The file was modifiedllvm/test/CodeGen/X86/vec_extract-mmx.ll
The file was modifiedllvm/test/CodeGen/X86/avg.ll
Commit 3dae6347da3a8f3c015910de5099d11b409def32 by craig.topper
Recommit r368079 "[X86] Remove uses of the
-x86-experimental-vector-widening-legalization flag from
test/CodeGen/X86/"
llvm-svn: 368184
The file was removedllvm/test/CodeGen/X86/shuffle-vs-trunc-256-widen.ll
The file was removedllvm/test/CodeGen/X86/shuffle-vs-trunc-512-widen.ll
The file was modifiedllvm/test/CodeGen/X86/SwizzleShuff.ll
The file was modifiedllvm/test/CodeGen/X86/vec_cast2.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-and-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-trunc-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-shift-shl-sub128-widen.ll
The file was removedllvm/test/CodeGen/X86/avx512-trunc-widen.ll
The file was modifiedllvm/test/CodeGen/X86/lower-bitcast.ll
The file was removedllvm/test/CodeGen/X86/vec_fp_to_int-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-sext-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-trunc-math-widen.ll
The file was removedllvm/test/CodeGen/X86/avx512-cvt-widen.ll
The file was removedllvm/test/CodeGen/X86/shrink_vmul-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-xor-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-shift-ashr-sub128-widen.ll
The file was modifiedllvm/test/CodeGen/X86/vec_cast3.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc.ll
The file was modifiedllvm/test/CodeGen/X86/widen_mul.ll
The file was modifiedllvm/test/CodeGen/X86/widen_conversions.ll
The file was removedllvm/test/CodeGen/X86/vec_clz.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-umax-widen.ll
The file was modifiedllvm/test/CodeGen/X86/pmulh.ll
The file was modifiedllvm/test/CodeGen/X86/widen_cast-4.ll
The file was modifiedllvm/test/CodeGen/X86/masked_gather_scatter_widen.ll
The file was addedllvm/test/CodeGen/X86/vector-lzcnt-sub128.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-add-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-mul-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-trunc-packus-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-zext-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-trunc-usat-widen.ll
The file was removedllvm/test/CodeGen/X86/shuffle-vs-trunc-128-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-shift-lshr-sub128-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-or-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-trunc-ssat-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-smax-widen.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-smin-widen.ll
The file was modifiedllvm/test/CodeGen/X86/bswap-vector.ll
The file was removedllvm/test/CodeGen/X86/vec_int_to_fp-widen.ll
The file was modifiedllvm/test/CodeGen/X86/vector-idiv-v2i32.ll
The file was removedllvm/test/CodeGen/X86/vector-reduce-umin-widen.ll
Commit 396f6c7e903f37211b281e580522220ae5dfc025 by craig.topper
Recommit r368081 "[X86] Add more extract subvector cost model tests for
smaller element sizes and smaller than 128-bit vectors."
llvm-svn: 368185
The file was modifiedllvm/test/Analysis/CostModel/X86/shuffle-extract_subvector.ll
Commit 0e8dd4a80e74e9989fee27bdf13ea6d3589255f9 by sam.mccall
Code completion should not ignore default parameters in functions.
Summary: Inorder to display the default arguments we must process the
CK_Optional chunks of CodeCompletionString while creating the Signature.
We do not create placeholders for default arguments.
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65866
llvm-svn: 368186
The file was modifiedclang-tools-extra/clangd/CodeCompletionStrings.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompletionStringsTests.cpp
Commit 1919317929a0f623f1bcfe1721e480556c9fdc62 by nicolasweber
Support: Remove needless allocation when getMainExecutable() calls
readlink()
We built a StringRef from a string literal which we then converted to a
std::string to call c_str().  Just use a pointer to the string literal
instead of a StringRef.
No behavior change.
Differential Revision: https://reviews.llvm.org/D65890
llvm-svn: 368187
The file was modifiedllvm/lib/Support/Unix/Path.inc
Commit fb991596e34aa7403a417205526f47c22b199c11 by yitzhakm
[clang][NFC] Fix typo in matcher comment
Also updates corresponding html doc.
llvm-svn: 368188
The file was modifiedclang/docs/LibASTMatchersReference.html
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
Commit 90146cd8b955b03bc1a31f6e652d5b76b432536c by dblaikie
DebugInfo/DWARF: Normalize DWARFObject members on the DWARF spec section
names
Some of these names were abbreviated, some were not, some pluralised,
some not. Made the API difficult to use - since it's an exact 1:1
mapping to the DWARF sections - use those names (changing underscore
separation for camel casing).
llvm-svn: 368189
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
The file was modifiedllvm/tools/obj2yaml/dwarf2yaml.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFObject.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
The file was modifiedllvm/tools/dsymutil/DwarfLinker.cpp
Commit fa2f4395e901df27b77daa0b708c788d4b8d4316 by dblaikie
API update for change to LLVM's lib/DebugInfo/DWARF
llvm-svn: 368190
The file was modifiedlld/ELF/DWARF.cpp
The file was modifiedlld/ELF/DWARF.h
The file was modifiedlld/ELF/SyntheticSections.cpp
Commit d8c3c173945e7653b76e0326868464bad2130482 by flo
[DataLayout] Check StackNatural and FunctionPtr alignments.
MaybeAlignment asserts that the passed in value is == 0 or a power of 2.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16272
Reviewers: michaelplatings, gchatelet, jakehehrlich, jfb
Reviewed By: gchatelet
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65858
llvm-svn: 368191
The file was addedllvm/test/Bitcode/invalid-functionptr-align.ll.bc
The file was addedllvm/test/Assembler/datalayout-invalid-stack-natural-alignment.ll
The file was modifiedllvm/lib/IR/DataLayout.cpp
The file was addedllvm/test/Assembler/datalayout-invalid-function-ptr-alignment.ll
The file was addedllvm/test/Bitcode/invalid-functionptr-align.ll
Commit a1d20506e771a376e293a61e26842a906487d7ef by gheorghe-teod.bercea
[OpenMP][libomptarget] Add support for unified memory for regular maps
Summary: This patch adds support for using unified memory in the case of
regular maps that happen when a target region is offloaded to the
device.
For cases where only a single version of the data is required then the
host address can be used. When variables need to be privatized in any
way or globalized, then the copy to the device is still required for
correctness.
Reviewers: ABataev, jdoerfert, Hahnfeld, AlexEichenberger, caomhin,
grokos
Reviewed By: Hahnfeld
Subscribers: mgorny, guansong, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D65001
llvm-svn: 368192
The file was modifiedopenmp/libomptarget/src/api.cpp
The file was modifiedopenmp/libomptarget/src/device.cpp
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
The file was addedopenmp/libomptarget/test/unified_shared_memory/api.c
The file was addedopenmp/libomptarget/test/unified_shared_memory/shared_update.c
The file was modifiedopenmp/libomptarget/test/offloading/requires.c
The file was modifiedopenmp/libomptarget/src/device.h
Commit 03edcd68dd739cce53256f8573a141b09ea49ae3 by nikolai.bozhenov
[SCEV] Return zero from computeConstantDifference(X, X)
Without this patch computeConstantDifference returns None for cases like
these:
  computeConstantDifference(%x, %x)
computeConstantDifference({%x,+,16}, {%x,+,16})
Differential Revision: https://reviews.llvm.org/D65474
llvm-svn: 368193
The file was modifiedllvm/unittests/Analysis/ScalarEvolutionTest.cpp
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit aaa5270c5362c60402ecc3e64e647b79791ea468 by sstipanovic
[Attributor] Introduce checkForAllReadWriteInstructions(...).
Summary: Similarly to D65731
`Attributor::checkForAllReadWriteInstructions` is introduced.
Reviewers: jdoerfert, uenoku
Subscribers: hiraditya, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65825
llvm-svn: 368194
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit 66c08430f6dd80b87d46ce627f9141e5bdbecc60 by craig.topper
[ValueTracking] When calculating known bits for integer abs, make sure
we're looking at a negate and not just any instruction with the nsw flag
set.
The matchSelectPattern code can match patterns like (x >= 0) ? x : -x
for absolute value. But it can also match ((x-y) >= 0) ? (x-y) : (y-x).
If the latter form was matched we can only use the nsw flag if its set
on both subtracts.
This match makes sure we're looking at the former case only.
Differential Revision: https://reviews.llvm.org/D65692
llvm-svn: 368195
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/icmp-abs-nabs.ll
Commit ba55970c150b781adcd401e6ea77a061e9aed14b by diegoaat97
[Tooling] Expose ExecutorConcurrency option.
D65628 requires a flag to specify the number of threads for a clang-doc
step. It would be good to use ExecutorConcurrency after exposing it
instead of creating a new one that has the same purpose.
Differential Revision: https://reviews.llvm.org/D65833
llvm-svn: 368196
The file was modifiedclang/include/clang/Tooling/AllTUsExecution.h
The file was modifiedclang/lib/Tooling/AllTUsExecution.cpp
Commit 0a05a04e5bdd2e93a88c9dbc8ff59dcee0de399c by craig.topper
[LoopVectorize][X86] Add test case for missed vectorization from
PR42674.
We do end vectorizing the code, but use an interleave factor that is too
high and causes the vector code to be dead.
llvm-svn: 368197
The file was addedllvm/test/Transforms/LoopVectorize/X86/pr42674.ll
Commit 353938ec687cf93a3cd0b567ee1d040230b7c9f8 by dblaikie
Fix indentation
llvm-svn: 368198
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
Commit 8883ec7da2e9d010c1355d90fc2f0c543826f355 by nicolasweber
Add support for deterministically linked binaries on macOS to lldb.
When ld64 links a binary deterministically using the flag ZERO_AR_DATE,
it sets a timestamp of 0 for N_OSO members in the symtab section, rather
than the usual last modified date of the object file. Prior to this
patch, lldb would compare the timestamp from the N_OSO member against
the last modified date of the object file, and skip loading the object
file if there was a mismatch. This patch updates the logic to ignore the
timestamp check if the N_OSO member has timestamp 0.
The original logic was added in https://reviews.llvm.org/rL181631 as a
safety check to avoid problems when debugging if the object file was out
of date. This was prior to the introduction of deterministic build in
ld64. lld still doesn't support deterministic build.
Other code in llvm already relies on and uses the assumption that a
timestamp of 0 means deterministic build. For example, commit
9ccfddc39d4d27f9b16fcc72ab30d483151d6d08 adds similar timestamp checking
logic to dsymutil, but special cases timestamp 0. Likewise, commit
0d1bb79a0413f221432a7b1d0d2d10c84c4bbb99 adds a long comment describing
deterministic archive, which mostly uses timestamp 0 for determinism.
Patch from Erik Chen <erikchen@chromium.org>!
Differential Revision: https://reviews.llvm.org/D65826
llvm-svn: 368199
The file was addedlldb/lit/SymbolFile/DWARF/deterministic-build.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
Commit f8183d64de95a88d4ba92b4db438c5c9477906f8 by david.bolvansky
[NFC] Added tests for x/fabs(X) fold
llvm-svn: 368200
The file was addedllvm/test/Transforms/InstCombine/fabs-copysign.ll
Commit ae154d00b44a941d162e620161cb1ab38a75eb15 by david.bolvansky
[NFC] Fixed newly added tests
llvm-svn: 368201
The file was modifiedllvm/test/Transforms/InstCombine/fabs-copysign.ll
Commit 85f07cbb547c74aa8a0100e846c510d72a42184f by isanbard
Add target requirements for those bots which don't handle x86.
llvm-svn: 368202
The file was modifiedclang/test/CodeGen/pr41027.c
Commit 762e662582dd9258626ee922b2852b5e44701004 by Louis Dionne
[pstl] Make sure we install all of PSTL's include/ directory
We want to install files directly in include/, not only in include/pstl.
llvm-svn: 368203
The file was modifiedpstl/CMakeLists.txt
Commit 885fa02da97a9f4d15f05fd7ec9c1358c47dd125 by llvm
Revert r367501 "Create unique, but identically-named ELF sections..."
This reverts commit fbc563e2cb6c5f1d0200b390513506b6aca4d2e9 "Create
unique, but identically-named ELF sections for explicitly-sectioned
functions and globals when using -function-sections and
-data-sections."
Reason for revert: sections are created with potentially wrong
attributes.
llvm-svn: 368204
The file was removedllvm/test/CodeGen/X86/explicit-elf-sections.ll
The file was modifiedllvm/test/CodeGen/X86/elf-associated.ll
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Commit 4cd04547f52e5e31eb04a29b66ca847ca7fc17d5 by apl
[Symbol] Remove commented out code from CompileUnit
llvm-svn: 368205
The file was modifiedlldb/source/Symbol/CompileUnit.cpp
Commit 6ab28e8cbae103ff137f1bd86b4888cb3e61a4be by diegoaat97
[clang-doc] Parallelize reducing phase
Reduce phase has been parallelized and a execution time was reduced by
60% with this. The reading of bitcode (bitcode -> Info) was moved to
this segment of code parallelized so it now happens just before
reducing.
Differential Revision: https://reviews.llvm.org/D65628
llvm-svn: 368206
The file was modifiedclang-tools-extra/clang-doc/tool/ClangDocMain.cpp
Commit 4f018a3290d3f93893ae995c1c22a21dc699de81 by craig.topper
[X86] Add test cases for missed opportunities to use pack instructions
for 512->256 truncates with prefer-vector-width=256
If the 512-bit vectors are going to be split anyway, then we are better
off using pack to implicitly concatenate the 256 bit pieces.
llvm-svn: 368207
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
Commit 333f14d52d11da764ecadba00fe340d513f2d57d by Jonas Devlieghere
[CommandObject] Remove unused function
llvm-svn: 368208
The file was modifiedlldb/source/Commands/CommandObjectCommands.cpp
Commit d47be4da5ab2dd68e89701b2f3c9b355ab95ef36 by diegoaat97
[clang-doc] Add second index for sections within info's content
This new index contains links to the main section of infos: Namespaces,
Records, Functions, Enums, Members. Also to each child function or enum.
Index is currently rendered on top of the info content, this will be
fixed later with CSS.
Depends on D65690.
Differential Revision: https://reviews.llvm.org/D65030
llvm-svn: 368209
The file was modifiedclang-tools-extra/clang-doc/HTMLGenerator.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.h
The file was modifiedclang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
Commit 7f7ef0208b57a4d253cd8b07053460f40ad7cbc8 by craig.topper
[X86] Allow pack instructions to be used for 512->256 truncates when
-mprefer-vector-width=256 is causing 512-bit vectors to be split
If we're splitting the 512-bit vector anyway and we have zero/sign bits,
then we might as well use pack instructions to concat and truncate at
once.
Differential Revision: https://reviews.llvm.org/D65904
llvm-svn: 368210
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
Commit 0091621e0c454382e85b43213342875b0025f84f by cameron.mcinally
[NFC][LICM] Pre-commit test for unary FNeg support in LICM.
llvm-svn: 368211
The file was modifiedllvm/test/Transforms/LICM/hoisting.ll
Commit 1b1f1d66778b6428e31fb25a90c5beeaaee77c96 by dblaikie
DebugInfo/DWARF: Remove unused return type from
DWARFUnit::extractDIEsIfNeeded
llvm-svn: 368212
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
Commit e0eed65e068ea053ab6a394c07c2a6da96ab7796 by Louis Dionne
[libc++] Take 3: Do not cleverly link against libc++abi just because it
happens to be there
Summary: Otherwise, when libcxxabi is not an enabled project in the
monorepo, we get a link error because we try to link against
non-existent cxxabi_shared.
More generally, we shouldn't change the behavior of the build based on
implicit things like whether a file happens to be at a specific path or
not.
This is a re-application of r365222 that had been reverted in r365233
and then r365359 because it broke the build bots. The build bots should
now specify explicitly what ABI library they want to use
(libc++abi), so this commit should now be OK to merge. It takes a while
for build bots to pick up configuration changes, which is why this
failed the last time around.
Differential Revision: https://reviews.llvm.org/D63883
llvm-svn: 368213
The file was modifiedlibcxx/cmake/Modules/HandleLibCXXABI.cmake
The file was modifiedlibcxx/CMakeLists.txt
Commit b80c4c82d6d4682d2cb177cdffd1aa951322d26b by diegof30
Added Delta IR Reduction Tool
Summary: Tool parses input IR file, and runs the delta debugging
algorithm to reduce the functions inside the input file.
Reviewers: alexshap, chandlerc
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D63672
> llvm-svn: 368071
llvm-svn: 368214
The file was addedllvm/tools/llvm-reduce/LLVMBuild.txt
The file was addedllvm/tools/llvm-reduce/CMakeLists.txt
The file was addedllvm/tools/llvm-reduce/TestRunner.h
The file was addedllvm/tools/llvm-reduce/deltas/Delta.h
The file was addedllvm/tools/llvm-reduce/DeltaManager.h
The file was modifiedllvm/tools/LLVMBuild.txt
The file was addedllvm/test/Reduce/remove-funcs.ll
The file was addedllvm/tools/llvm-reduce/deltas/Delta.cpp
The file was addedllvm/tools/llvm-reduce/TestRunner.cpp
The file was addedllvm/tools/llvm-reduce/llvm-reduce.cpp
The file was addedllvm/docs/BugpointRedesign.md
The file was addedllvm/tools/llvm-reduce/deltas/ReduceFunctions.h
The file was addedllvm/test/Reduce/Inputs/remove-funcs.sh
The file was addedllvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp
Commit 005b22855e6678e5e0e5ab8a324ff3f8fa4c5cd8 by craig.topper
[LoopVectorize][X86] Clamp interleave factor if we have a known constant
trip count that is less than VF*interleave
If we know the trip count, we should make sure the interleave factor
won't cause the vectorized loop to exceed it.
Improves one of the cases from PR42674
Differential Revision: https://reviews.llvm.org/D65896
llvm-svn: 368215
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/pr42674.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 127af283abee88774c45bccdaafc4a0b52d59d5d by Louis Dionne
[libc++] Remove temporary hack for D63883
This should fix the build bots, who now specify explicitly that they're
building against libc++abi.
llvm-svn: 368216
The file was modifiedlibcxx/CMakeLists.txt
Commit d4d00ae6a254f6ee42a044cf5c7b804fd1ec60b2 by diegof30
Revert Added Delta IR Reduction Tool
This reverts r368071 (git commit
a2584978f5bb41973d65a145b0d9459b81e3ac6d)
llvm-svn: 368217
The file was removedllvm/docs/BugpointRedesign.md
The file was removedllvm/tools/llvm-reduce/deltas/Delta.cpp
The file was removedllvm/tools/llvm-reduce/TestRunner.h
The file was removedllvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp
The file was removedllvm/tools/llvm-reduce/CMakeLists.txt
The file was removedllvm/tools/llvm-reduce/DeltaManager.h
The file was removedllvm/tools/llvm-reduce/deltas/Delta.h
The file was removedllvm/tools/llvm-reduce/deltas/ReduceFunctions.h
The file was removedllvm/test/Reduce/remove-funcs.ll
The file was removedllvm/tools/llvm-reduce/llvm-reduce.cpp
The file was removedllvm/tools/llvm-reduce/TestRunner.cpp
The file was removedllvm/tools/llvm-reduce/LLVMBuild.txt
The file was removedllvm/test/Reduce/Inputs/remove-funcs.sh
The file was modifiedllvm/tools/LLVMBuild.txt
Commit c96387fce36bf8807fec1edc9eca18c78f99f455 by mitchphillips
[HWASan] Use LLD for check-hwasan.
HWASan+globals build fix in rL368111 unfortunately didn't fix the
problem when clang_cflags specified -fuse-ld=ld.gold. Change the order
to force lld in an attempt to fix the Android sanitizer bot.
llvm-svn: 368218
The file was modifiedcompiler-rt/test/hwasan/lit.cfg.py
Commit 72c940417aa56bbdc08d6f731b22dfa85d32b630 by n54
Restrict the NetBSD ASan TSD fallback to !ASAN_DYNAMIC
The fallback to the alternative implementation of TSD with TLS is only
needed for the static version of ASan for NetBSD.
The same code cannot be reused for the dynamic version of ASan as TLS
breaks and TSD code works.
llvm-svn: 368219
The file was modifiedcompiler-rt/lib/asan/asan_posix.cpp
Commit 77ddf6af2b20105bffaabe93a7ecff40dc0707ee by dblaikie
Add a test demonstrating DWARF parse failures are not causing lld to
exit non-zero
This bug was/is masking other issues - committing this to demonstrate
the problem/track fixing it.
llvm-svn: 368220
The file was addedlld/test/ELF/gdb-index-parse-fail.s
Commit 80a8ae2dfea637f03841e076f557f39b33a9c12e by rupprecht
[llvm-readobj][test] Add baseline tests for FreeBSD/AMD/AMDGPU note
printing
llvm-svn: 368221
The file was addedllvm/test/tools/llvm-readobj/note-freebsd.s
The file was addedllvm/test/tools/llvm-readobj/note-amd.s
The file was addedllvm/test/tools/llvm-readobj/note-amdgpu.test
Commit 14a0493a88e8314b03d7d32bb995a675f6499e33 by jdoerfert
[Attributor] Provide easier checkForallReturnedValues functionality
Summary: So far, whenever one wants to look at returned values, one had
to deal with the AAReturnedValues and potentially with the AAIsDead
attribute. In the same spirit as other checkForAllXXX methods, we add
this functionality now to the Attributor. By adopting the use sites we
got better results when return instructions were dead.
Reviewers: sstefan1, uenoku
Subscribers: hiraditya, bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65733
llvm-svn: 368222
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
Commit d620781872245952ac6e25392815caa096310b6f by jdoerfert
[Attributor][NFC] Avoid unnecessary liveness queries
If we know everything is live there is no need to query for liveness.
Indicating a pessimistic fixpoint will cause the state to be "invalid"
which will cause the Attributor to not return the AAIsDead on request,
which will prevent us from querying isAssumedDead().
llvm-svn: 368223
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 344d038960c4e5f7a6898586dfe9cf9cad614a87 by jdoerfert
[Attributor] Introduce a state wrapper class
Summary: The wrapper reduces boilerplate code and also provide a nice
way to determine the state type used by an abstract attributes
statically via AAType::StateType.
This was already discussed as part of the review of D65711.
Reviewers: sstefan1, uenoku
Subscribers: hiraditya, bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65786
llvm-svn: 368224
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit beb5150f478d4b9f25bb300430f21dedc0c3b9e4 by jdoerfert
[Attributor][NFC] Code simplification and style normalization
llvm-svn: 368225
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit f81d6fe75ca17bd3a5153a0d7bae853b977c5ea2 by Adrian Prantl
Adjust a ValueObjectChild's offset when the child is a bitfield
If a bitfield doesn't fit into the child_byte_size'd window at
child_byte_offset, move the window forward until it fits.  The problem
here is that Value has no notion of bitfields and thus the Value's
DataExtractor is sized like the bitfields CompilerType; a sequence of
bitfields, however, can be larger than their underlying type.
This was not in the big-endian-derived DWARF 2 bitfield attributes
because their offsets were counted from the end of the window, so they
always fit.
rdar://problem/53132189
Differential Revision: https://reviews.llvm.org/D65492
llvm-svn: 368226
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/c/bitfields/main.c
The file was modifiedlldb/source/Core/ValueObjectChild.cpp
Commit d1b79e0774354604bdc086453ec677617cf42dce by jdoerfert
[Attributor][Stats] Locate statistics tracking with the attributes
Summary: The ever growing switch required Attribute::AttrKind values but
they might not be available for all abstract attributes we deduce. With
the new method we track statistics at the abstract attribute level. The
provided macros simplify the usage and make the messages uniform.
Reviewers: sstefan1, uenoku
Subscribers: hiraditya, bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65732
llvm-svn: 368227
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit ac136fc51f8f320628d550ed534aa9d30df760df by jdoerfert
[Attributor][NFC] remove leftover and format code
llvm-svn: 368228
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit 8a480d2cbf8b779ce8bdac27ea1c84cbe7dda04e by dblaikie
gdb-index: Wire up str_offsets section to avoid incorrect error message
about offsets_base
There's still a need for a deeper fix to the way libDebugInfoDWARF error
messages are propagated up to lld - if lld had exited non-zero on this
error message we would've found the issue sooner.
llvm-svn: 368229
The file was modifiedlld/ELF/DWARF.h
The file was modifiedlld/test/ELF/gdb-index-rng-lists.s
The file was modifiedlld/ELF/DWARF.cpp
Commit 0b870b969fcb7f3c4425eb7aebe88605bd2b417c by akhuang
Recommit "[MS] Emit S_HEAPALLOCSITE debug info in Selection DAG" with a
fix to clear the SDNode map when SelectionDAG is cleared.
llvm-svn: 368230
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/test/CodeGen/X86/label-heapallocsite.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 30703de3a75de797d7f3d57d0199253714836d7e by Jonas Devlieghere
[Docs] Fix (incorrect) code highlighting
llvm-svn: 368233
The file was modifiedlldb/docs/use/symbolication.rst
Commit 2921abc35736a27708298fd08ac88b0cd240f696 by craig.topper
[ScalarizeMaskedMemIntrin] Add test case for expanding scatter.
This pass expands 6 intrinsics, but we only had test for 5 of them.
llvm-svn: 368234
The file was addedllvm/test/Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-scatter.ll
Commit a87f856f2d9db0c72c3e59e581527f1cb3a9118a by anusha.basana
[llvm-lipo] Update llvm-lipo docs for -info -thin -create -replace
-segalign flags
Summary: The information for -info -thin -create -replace and -segalign
flags are added to llvm-lipo.rst
Test Plan:
Reviewers: smeenai, alexshap, compnerd, mtrent
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65676
llvm-svn: 368235
The file was modifiedllvm/docs/CommandGuide/llvm-lipo.rst
Commit 155b8d02c36354c13f2c9a8ec012a95ae0e283b3 by rtrieu
Update fix-it hints for std::move warnings.
Fix -Wpessimizing-move and -Wredundant-move when warning on initializer
lists. The new fix-it hints for removing the std::move call will now
also suggest removing the braces for the initializer list so that the
resulting code will still be compilable.
This fixes PR42832
llvm-svn: 368237
The file was modifiedclang/test/SemaCXX/warn-redundant-move.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/test/SemaCXX/warn-pessmizing-move.cpp
Commit 80ef2f05d878fd6b00bbfb2ed1c04e2657d241cc by Louis Dionne
Revert "[libc++] Take 3: Do not cleverly link against libc++abi just
because it happens to be there"
This also reverts "[libc++] Remove temporary hack for D63883". Clearly,
I don't understand how the Linux build bots are configured.
Differential Revision: https://reviews.llvm.org/D63883
llvm-svn: 368238
The file was modifiedlibcxx/CMakeLists.txt
The file was modifiedlibcxx/cmake/Modules/HandleLibCXXABI.cmake
Commit ab751a7c8b9b469c6a1fbeb7e5e62ba0b99fd3b9 by Wolfgang.Pieb
[llvm-strip] Support --strip-sections
llvm-objcopy already supports --strip-sections. It is a good fit for its
alias llvm-strip to support it as well.
Reviewers: rupprecht, jhenderson
Differential Revision: https://reviews.llvm.org/D65787
llvm-svn: 368241
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/strip-sections.test
The file was modifiedllvm/tools/llvm-objcopy/StripOpts.td
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
Commit 11538f0afabfa23fecf5cb2f0d345ed15b49e1f3 by douglas.yung
Add LLD as a requirement for hwasan tests because of change in r368111.
llvm-svn: 368242
The file was modifiedcompiler-rt/test/hwasan/lit.cfg.py
Commit b78c8a0a35bc2797ba0d25a2140bc8fb8b3b9764 by Jonas Devlieghere
[Utility] Remove unused function 'GetMatchSpanningIndices'
llvm-svn: 368243
The file was modifiedlldb/source/Utility/RegularExpression.cpp
The file was modifiedlldb/include/lldb/Utility/RegularExpression.h
Commit 07e6798baf9aee653168fbb281311358eb483928 by rtrieu
Inline diagnostic text into .td file.  NFC.
llvm-svn: 368244
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
Commit 7dbdc8de183e7aa2dc0a9c3a4f473142ddd460bf by maskray
[Driver] Move LIBRARY_PATH before user inputs
Fixes PR16786
Currently, library paths specified by LIBRARY_PATH are placed after
inputs: `inputs LIBRARY_PATH stdlib` In gcc, the order is: `LIBRARY_PATH
inputs stdlib` if not cross compiling.
(On Darwin targets, isCrossCompiling() always returns false.)
This patch changes the behavior to match gcc.
Reviewed By: hfinkel
Differential Revision: https://reviews.llvm.org/D65880
llvm-svn: 368245
The file was modifiedclang/test/Driver/linker-opts.c
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
Commit 9d161896a16c424d51871e074752babf8743b9a7 by n54
Update generate_netbsd_ioctls.awk for NetBSD 9.99.3
Register new ioctl argument types passed in ioctl(2) calls.
llvm-svn: 368246
The file was modifiedcompiler-rt/utils/generate_netbsd_ioctls.awk
Commit 42ae6fecd405a858415636d1406e47f9b903facd by n54
Sync ioctl(2) list with NetBSD 9.99.3
Register 36 new ioctl(2) calls.
Enable NVMM for amd64 as the API has been stabilized.
llvm-svn: 368247
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc
Commit 277583ec0ab2d411a3df06d3207ece9b18655d83 by aditya_nandakumar
[GISel][NFC]: Make members of CombinerHelper accessible in derived
classes
https://reviews.llvm.org/D65842
Make some members protected to enable access in derived classes.
llvm-svn: 368248
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
Commit e04c62bb23625a2baccb5c52d1d1f372c41ce5c7 by davide
[Materializer] Remove wrong SetSizeAndAlignmentFromType().
This function is unused.  It's also wrong, because it computes the size
and the alignment of the type without asking the runtime, so it doesn't
work for any language that has one (e.g. swift).
One could consider re-implementing this passing an execution scope
context, and modifying GetTypeBitAlign() to do the right thing, but
given there are no uses, it's not really useful.
llvm-svn: 368249
The file was modifiedlldb/source/Expression/Materializer.cpp
The file was modifiedlldb/include/lldb/Expression/Materializer.h
Commit 0aacc7da8b9843a9e6654fff994bf474837551fe by craig.topper
[X86] Add CMOV_FR32X and CMOV_FR64X to the isCMOVPseudo function.
llvm-svn: 368250
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 2a0ae1c2e4951ba49914021604662f5f3482ca19 by maskray
[Driver] Delete XFAIL: windows-msvc after D65880/r368245
`-target %itanium_abi_triple` fixed the problem.
llvm-svn: 368251
The file was modifiedclang/test/Driver/linker-opts.c
Commit 82ac3acadeb5cae3bcd9f7231589ebf42fdc6162 by JF Bastien
Temporarily bump minimum compiler version
It's pretty hard to find a reliable list of which bots use which
compiler version... so I'm going to commit this change which allows us
to mandate the compilers required for C++14. This bump is what we've
already agreed to do, so I'll use the list of failures to figure out
which bots need to bump their compiler version. I'll revert the change
in a few minutes.
The last discussion of this is here:
http://lists.llvm.org/pipermail/llvm-dev/2019-August/134360.html
llvm-svn: 368252
The file was modifiedllvm/cmake/modules/CheckCompilerVersion.cmake
Commit 0c0457ebcb597ef98790bccb4bbd8c3959a9cc05 by JF Bastien
Revert "Temporarily bump minimum compiler version"
It's been in for more than 30 min and no bots have complained. Let's see
if some slow ones catch up. I'll do another manual pass on bots later
(in case some that were down are back up), and then turn this on
permanently through a regular review.
llvm-svn: 368253
The file was modifiedllvm/cmake/modules/CheckCompilerVersion.cmake
Commit 2908c5d6ca7c892f33fe1d16e778a1bfaa21695b by david.green
[ARM] Rejig MVE load store tests. NFC
This adjusts the load/store tests for better testing of alignments. It
also adds some extra alignment 1 tests, useful for future commits.
llvm-svn: 368255
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ldst-regimm.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ldst-offset.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ldst-postinc.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ldst-preinc.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-loadstore.ll
Commit 1becefd3f796249955332bd6270719006e7de650 by david.green
[ARM] Tighten up VLDRH.32 with low alignments
VLDRH needs to have an alignment of at least 2, including the
widening/narrowing versions. This tightens up the ISel patterns for it
and alters allowsMisalignedMemoryAccesses so that unaligned accesses are
expanded through the stack. It also fixed some incorrect shift amounts,
which seemed to be passing a multiple not a shift.
Differential Revision: https://reviews.llvm.org/D65580
llvm-svn: 368256
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ldst-postinc.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ldst-preinc.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-widen-narrow.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ldst-offset.ll
Commit 724c6053acd69bbaab52365c016624f489e7b2d5 by craig.topper
[X86] Remove -x86-experimental-vector-widening-legalization command line
option and all its uses.
This option is now defaulted to true and we don't want to support
turning it off so remove the option.
llvm-svn: 368258
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/pr42909.ll
Commit 6fd13f0849573aeec26f28ab0927eea0b5a7ccb9 by ruiu
[diagtool] Use `operator<<(Colors)` to print out colored output.
r368131 introduced this new API to print out messages in colors. If the
colored output is disabled, `operator<<(Colors)` becomes nop. No
functionality change intended.
Differential Revision: https://reviews.llvm.org/D65854
llvm-svn: 368259
The file was modifiedclang/tools/diagtool/TreeView.cpp
Commit 67ea32a00709f5f2d999002d747c58ac357223fd by grimar
[llvm-readobj/libObject] - Introduce a custom warning handler for
`ELFFile<ELFT>` methods.
Currently, we have a code duplication in llvm-readobj which was
introduced in D63266. The duplication was introduced to allow
llvm-readobj to dump the partially broken object. Methods in
ELFFile<ELFT> perform a strict validation of the inputs, what is itself
good, but not for dumper tools, that might want to dump the information,
even if some pieces are broken/unexpected.
This patch introduces a warning handler which can be passed to
ELFFile<ELFT> methods and can allow skipping the non-critical errors
when needed/possible.
For demonstration, I removed the duplication from llvm-readobj and
implemented a warning using the new custom warning handler. It also
deduplicates the strings printed, making the output less verbose.
Differential revision: https://reviews.llvm.org/D65515
llvm-svn: 368260
The file was modifiedllvm/test/Object/invalid.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/include/llvm/Object/ELF.h
The file was modifiedllvm/test/tools/llvm-readobj/elf-wrong-shstrtab-type.test
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.cpp
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.h
Commit 720d19b175c48e27dd56d111d7cb8b43451cae69 by jvikstrom
[clangd] Fix implicit template instatiations appearing as topLevelDecls.
Summary: The parser gives implicit template instantiations to the
action's HandleTopLevelDecls callback. This makes semantic highlighting
highlight these templated functions multiple times. Fixed by filtering
on if a Decl is an implicit function/variable/class instantiation. Also
added a testcase to semantic highlighting on this.
Reviewers: hokein, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65510
llvm-svn: 368261
The file was modifiedclang-tools-extra/clangd/CodeComplete.cpp
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang-tools-extra/clangd/AST.h
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ClangdUnitTests.cpp
The file was modifiedclang-tools-extra/clangd/ClangdUnit.cpp
Commit 53c5ea44ceab8a33addae979df9942413860f409 by grimar
[ELF] - An attemp to fix builld bit after r368260
BB:
http://lab.llvm.org:8011/builders/lld-perf-testsuite/builds/17577/steps/build-bin%2Flld/logs/stdio
The error is:
/home/buildslave/slave_as-bldslv8/lld-perf-testsuite/llvm/include/llvm/Object/ELF.h:67:14:
error: 'static' function 'defaultWarningHandler' declared in header file
should be declared 'static inline'
[-Werror,-Wunneeded-internal-declaration] static Error
defaultWarningHandler(const Twine &Msg) { return createError(Msg); }
            ^
llvm-svn: 368262
The file was modifiedllvm/include/llvm/Object/ELF.h
Commit 579d6d1aa5974ce7a2a10e41c871507784308499 by pavel
Remove Module::GetSymbolVendor
Summary: This patch removes the GetSymbolVendor function, and the
various mentions of the SymbolVendor in the Module class. The
implementation of GetSymbolVendor is "inlined" into the GetSymbolFile
class which I created earlier.
After this patch, the SymbolVendor class still exists inside the Module
object, but only as an implementation detail -- a fancy holder for the
SymbolFile. That will be removed in the next patch.
Reviewers: clayborg, JDevlieghere, jingham, jdoerfert
Subscribers: jfb, lldb-commits
Differential Revision: https://reviews.llvm.org/D65864
llvm-svn: 368263
The file was modifiedlldb/source/Core/Module.cpp
The file was modifiedlldb/include/lldb/Core/Module.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
Commit 7ca980edcd76a83320306bafe07978e5db1bed3b by sam.tebbs
[ARM] Select VFMA
llvm-svn: 368264
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was addedllvm/test/CodeGen/Thumb2/mve-vfma.ll
Commit 959e603456f910a7179d54493651ea3ebe740bdd by pavel
Fix PDB unit tests for the GetSymbolVendor deletion
llvm-svn: 368265
The file was modifiedlldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
Commit bac7862c008e9807f1a78cb0f1823adc4120eaae by pavel
Remove xcode-specific Config.h
Summary: Now that the xcode project is removed, we no longer need/use
the hand-maintained Config.h file, as everything is configured through
cmake.
This patch deletes that file and reverts some of the changes from
r300372, which were made to support this use case.
Reviewers: sgraenitz, beanz
Subscribers: mgorny, lldb-commits
Differential Revision: https://reviews.llvm.org/D65862
llvm-svn: 368266
The file was removedlldb/include/lldb/Host/Config.h
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
Commit 7137736e49ce533930dd043b79f4c97f239c56f3 by shauryab98
[Extract] Fixed SemicolonExtractionPolicy for SwitchStmt and SwitchCase
Reviewers: arphaman, sammccall
Subscribers: dexonsmith, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65883
llvm-svn: 368267
The file was modifiedclang/lib/Tooling/Refactoring/Extract/SourceExtraction.cpp
The file was modifiedclang/test/Refactor/Extract/ExtractionSemicolonPolicy.cpp
Commit 6db975b7b89df9d4b27fa40411963f8f8891c349 by pavel
Add a missing include to SymbolFilePDBTests.cpp
This should _really_ fix the pdb unit tests.
llvm-svn: 368271
The file was modifiedlldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
Commit d3963051c49037b1ce6edace90f59056d3bddffa by grimar
[yaml2obj/obj2yaml] - Add a basic support for extended section indexes.
In some cases a symbol might have section index == SHN_XINDEX. This is
an escape value indicating that the actual section header index is too
large to fit in the containing field. Then the SHT_SYMTAB_SHNDX section
is used. It contains the 32bit values that stores section indexes.
ELF gABI says that there can be multiple SHT_SYMTAB_SHNDX sections, i.e.
for example one for .symtab and one for .dynsym
(1) https://groups.google.com/forum/#!topic/generic-abi/-XJAV5d8PRg
(2) DT_SYMTAB_SHNDX:
http://www.sco.com/developers/gabi/latest/ch5.dynamic.html
In this patch I am only supporting a single SHT_SYMTAB_SHNDX associated
with a .symtab. This is a more or less common case which is used a few
tests I saw in LLVM.
I decided not to create the SHT_SYMTAB_SHNDX section as "implicit", but
implement is like a kind of regular section for now. i.e. tools do not
recreate this section or its content, like they do for symbol table
sections, for example. That should allow to write all kind of possible
broken test cases for our needs and keep the output closer to requested.
Differential revision: https://reviews.llvm.org/D65446
llvm-svn: 368272
The file was modifiedllvm/test/tools/llvm-readobj/elf-section-types.test
The file was removedllvm/test/tools/obj2yaml/Inputs/shn_xindex.o
The file was modifiedllvm/test/tools/obj2yaml/special-symbol-indices.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was addedllvm/test/tools/yaml2obj/elf-sht-symtab-shndx.yaml
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/include/llvm/Object/ELF.h
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/Object/invalid.test
The file was addedllvm/test/tools/obj2yaml/elf-sht-symtab-shndx.yaml
Commit 7f4dba0d429d3782691da6aace2638d2a6d05fcb by grimar
[llcm-readobj] - Fix BB after t368272.
Seems I forgot to update this test case.
llvm-svn: 368273
The file was modifiedllvm/test/tools/llvm-readobj/elf-symbol-shndx.test
Commit caef93069956682d5751335024e2a89135fecd9c by petar.avramovic
[MIPS GlobalISel] Select jump_table and brjt
G_JUMP_TABLE and G_BRJT appear from translation of switch statement.
Select these two instructions for MIPS32, both pic and non-pic.
Differential Revision: https://reviews.llvm.org/D65861
llvm-svn: 368274
The file was modifiedllvm/lib/Target/Mips/MipsInstructionSelector.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/jump_table_and_brjt.mir
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/jump_table_and_brjt.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/jump_table_and_brjt.ll
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/jump_table_and_brjt.mir
Commit 987331671f02d66dec825e662f07deb507d90a36 by Andrea_DiBiagio
[MCA] Remove dependency from InstrBuilder in mca::Context. NFC
InstrBuilder is not required to construct the default pipeline.
llvm-svn: 368275
The file was modifiedllvm/tools/llvm-mca/llvm-mca.cpp
The file was modifiedllvm/include/llvm/MCA/Context.h
The file was modifiedllvm/lib/MCA/Context.cpp
Commit e2e366797ed51599c57e64417e616ccbd39c9901 by llvm-dev
[TargetLowering] SimplifyDemandedBits - call
SimplifyMultipleUseDemandedBits for ISD::EXTRACT_VECTOR_ELT
This patch attempts to peek through vectors based on the demanded
bits/elt of a particular ISD::EXTRACT_VECTOR_ELT node, allowing us to
avoid dependencies on ops that have no impact on the extract.
In particular this helps remove some unnecessary scalar->vector->scalar
patterns.
The wasm shift patterns are annoying - @tlively has indicated that the
wasm vector shift codegen are to be refactored in the near-term and
isn't considered a major issue.
Differential Revision: https://reviews.llvm.org/D65887
llvm-svn: 368276
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-arith.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-extended-extract.ll
The file was modifiedllvm/test/CodeGen/X86/promote-vec3.ll
The file was modifiedllvm/test/CodeGen/ARM/dagcombine-anyexttozeroext.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-mul.ll
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-and-legalization.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vec_umulo.ll
The file was modifiedllvm/test/CodeGen/X86/vec_smulo.ll
The file was modifiedllvm/test/CodeGen/X86/xor.ll
Commit 1c0c7ed6af81ca10453a9f4bf008b5da9e5fcb12 by hokein
[clangd] Correct the documentation, NFC.
llvm-svn: 368277
The file was modifiedclang-tools-extra/clangd/unittests/TweakTesting.h
Commit a7f7d852d04895363e22d7f2cdd970887461c0f5 by llvm-dev
[X86][SSE] Add x64 load use test case
llvm-svn: 368278
The file was modifiedllvm/test/CodeGen/X86/2011-05-09-loaduse.ll
Commit 0de33de81338304492526053d0c1cfa616e58992 by pavel
Fix LLDB_CONFIGURATION_DEBUG builds for the GetSymbolVendor removal
fix one usage that is ifdefed-out in non-debug builds.
llvm-svn: 368279
The file was modifiedlldb/source/Symbol/SymbolContext.cpp
Commit 9ab051bdda8de83df9abbaf00e76500875c3669e by krasimir
[clang-format] fix crash involving invalid preprocessor line
Summary: This (invalid) fragment is crashing clang-format:
```
#if 1 int x;
#elif int y;
#endif
```
The reason being that the parser expects a token after `#elif`, and the
subsequent parsing of the next line does not check if `CurrentToken` is
null.
Reviewers: gribozavr
Reviewed By: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65940
llvm-svn: 368280
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit 4dbbb734848b43ff0116cafb9a1f74d3114d3ca0 by bjorn.a.pettersson
Fix check in tools/gold/X86/strip_names.ll regarding unnamed args
After r367755 value numbers are printed for unnamed function arguments.
The tools/gold/X86/strip_names.ll was not updated in that commit, so
this patch can be seen as a follow up to r367755.
llvm-svn: 368281
The file was modifiedllvm/test/tools/gold/X86/strip_names.ll
Commit 34166ec80bca7b247ed25e38ed85c30806bc9078 by hokein
[clangd] Remove a function accidently being added in rL368261.
llvm-svn: 368282
The file was modifiedclang-tools-extra/clangd/AST.cpp
Commit bdc022a695e0f09638219e1be6ebcce793cb9d2b by hokein
[clangd] Don't include internal gtest header.
llvm-svn: 368283
The file was modifiedclang-tools-extra/clangd/unittests/PrintASTTests.cpp
Commit bf4808439f10d270b34cdb82765b74cecc1be191 by Louis Dionne
[pstl] Add a __pstl_config_site header to record the CMake configuration
This commit adds a __pstl_config_site header that contains the value of
macros specified at CMake configuration time. It works similarly to
libc++'s __config_site header, except we always include it as a separate
file instead of concatenating it to the main configuration header.
It is necessary to thread the includes for that header into libc++'s lit
configuration, otherwise we'd be requiring an installation step prior to
running the test suite.
llvm-svn: 368284
The file was addedpstl/include/__pstl_config_site.in
The file was modifiedlibcxx/utils/libcxx/test/config.py
The file was modifiedpstl/CMakeLists.txt
The file was modifiedpstl/include/pstl/internal/pstl_config.h
The file was modifiedlibcxx/test/lit.site.cfg.in
Commit a8a436ef95908a560ddca8c5f7c5349d2dc2f977 by Louis Dionne
[pstl] Error out when the backend is left unspecified
Instead of silently falling back to the serial backend, it's better if
we fail loudly when the parallel backend is left unspecified. Since we
have a __pstl_config_site header, a backend should always be specified.
llvm-svn: 368285
The file was modifiedpstl/include/pstl/internal/pstl_config.h
Commit df13b9393de6583dfa3102be7fee5c8a47c0c570 by Louis Dionne
[libc++abi] Fix tests when pstl is enabled
llvm-svn: 368286
The file was modifiedlibcxxabi/test/lit.site.cfg.in
The file was modifiedlibcxxabi/test/CMakeLists.txt
Commit b865d5a425ec17403eb77ea8175863a310ad6668 by jvikstrom
[clangd] Added an early return from VisitMemberExpr in
SemanticHighlighting if underlying MemberDecl is a CXXConversionDecl.
Summary: Conversion operators contain invalid MemberLocs which caused
SemanticHighlighting to emit a lot of error logs in large files as they
can occur fairly often (for example converting StringRef to std string).
As the only thing happening was a lot of error logs being emited there
doesn't really seem to be any way to test this
(no erroneous tokens are added). But emiting as many logs as were being
emited is not wanted.
This also adds a test to guard against regressions for highlightings
disapearing from places where the conversion operators are used as their
behaviour differ from the other CXXMethodDecls.
Reviewers: hokein, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65928
llvm-svn: 368287
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
Commit 9427aa2d543ba281f816e6ce7107d6467acf6794 by diogo.sampaio
[ARM] Set default alignment to 64bits
Summary: The maximum alignment used by ARM arch is 64bits, not 128.
This could cause overaligned memory access for 128 bit neon vector that
have unpredictable behaviour.
This fixes: https://bugs.llvm.org/show_bug.cgi?id=42668
Reviewers: ostannard, dmgreen, srhines, danalbert, pirama, peter.smith
Reviewed By: pirama, peter.smith
Subscribers: phosek, thegameg, thakis, llvm-commits, carwil,
peter.smith, javed.absar, kristof.beyls, cfe-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D65000
llvm-svn: 368288
The file was modifiedclang/test/SemaCXX/warn-overaligned-type-thrown.cpp
The file was addedclang/test/CodeGenCXX/ARM/exception-alignment.cpp
The file was modifiedclang/lib/Basic/Targets/ARM.cpp
Commit 88c77d6752ca6b50f69392d05b13bf1ef0dcb724 by pavel
ObjectFileELF: Convert a unit test to a lit test
It is much easier to test this functionality via lldb-test.
llvm-svn: 368289
The file was modifiedlldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp
The file was modifiedlldb/unittests/ObjectFile/ELF/CMakeLists.txt
The file was addedlldb/lit/Modules/ELF/aarch64-relocations.yaml
The file was removedlldb/unittests/ObjectFile/ELF/Inputs/debug-info-relocations.pcm.yaml
Commit e1e749d86a61b98564b5cc439d8f737fba9008c8 by spatel
[Reassociate] add more tests with negative FP constants; NFC
llvm-svn: 368290
The file was modifiedllvm/test/Transforms/Reassociate/canonicalize-neg-const.ll
Commit d73d9947466f02a77b87c620eb237ac7b5d96ea3 by jvikstrom
[clangd] Added semantic highlighting support for primitives.
Summary: Adds a new HighlightingKind "Primitive". Adds a special case
for TypeLocs that have an underlying TypePtr that is are builtin types,
adding them as primitives. The primary reason for this change is because
otherwise typedefs that typedef primitives `typedef int A` would not get
highlighted (so in the example `A` would not get any highlightings.)
Reviewers: hokein, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65943
llvm-svn: 368291
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.h
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
The file was modifiedclang-tools-extra/clangd/test/semantic-highlighting.test
Commit 59fabf9c606ecc69342463e514faefdfa2361be6 by llvm-dev
[X86][SSE] matchBinaryPermuteShuffle - split INSERTPS combines
We need to prefer INSERTPS with zeros over SHUFPS, but fallback to
INSERTPS if that fails.
llvm-svn: 368292
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/pr29112.ll
The file was modifiedllvm/test/CodeGen/X86/oddshuffles.ll
Commit d4695e1d75a358d3161b5a81c9754c410c1ed2bc by peter.smith
[ELF][AArch64] Support for movz, movk tprel relocations
This patch Implements the R_AARCH64_TLSLE_MOVW_TPREL_G*[_NC]. These are
logically the same calculation as the existing TLSLE relocations with
the result written back to mov[nz] and movk instructions. A typical code
sequence is: movz x0, #:tprel_g2:foo    // bits [47:32] of R_TLS with
overflow check movk x0, #:tprel_g1_nc:foo // bits [31:16] of R_TLS with
no overflow check movk x0, #:tprel_g0_nc:foo // bits [15:0] of R_TLS
with no overflow check
This type of code sequence is usually used with a large code model.
Differential Revision: https://reviews.llvm.org/D65882
Fixes: PR42853 llvm-svn: 368293
The file was modifiedlld/test/ELF/aarch64-movw-error.s
The file was modifiedlld/ELF/Arch/AArch64.cpp
The file was addedlld/test/ELF/aarch64-movw-tprel.s
Commit c822ab8f9accc63e5a4fa01273f257653360dacc by stefan.graenitz
[lldb][CMake] Disable modules in Xcode projects
Summary: Apparently, module-enabled builds clash with Xcode's analysis.
Reviewers: aprantl, jingham, davide, teemperor
Reviewed By: davide
Subscribers: mgorny, lldb-commits, #lldb
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D65874
llvm-svn: 368294
The file was modifiedlldb/cmake/caches/Apple-lldb-Xcode.cmake
Commit 195ae90307bdbfcb7393da5dfbbb2bb38ff24107 by a.bataev
[OPENMP]Add support for analysis of linear variables and step.
Summary: Added support for basic analysis of the linear variables and
linear step expression. Linear loop iteration variables must be excluded
from this analysis, only non-loop iteration variables must be analyzed.
Reviewers: NoQ
Subscribers: guansong, cfe-commits, caomhin, kkwli0
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65461
llvm-svn: 368295
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_linear_messages.cpp
The file was modifiedclang/include/clang/AST/OpenMPClause.h
The file was modifiedclang/test/OpenMP/teams_distribute_simd_linear_messages.cpp
The file was modifiedclang/test/Analysis/cfg-openmp.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_linear_messages.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_linear_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_for_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/for_linear_messages.cpp
The file was modifiedclang/test/OpenMP/for_simd_linear_messages.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/simd_linear_messages.cpp
The file was modifiedclang/lib/AST/OpenMPClause.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_linear_messages.cpp
The file was modifiedclang/test/OpenMP/parallel_for_linear_messages.cpp
Commit 4f64f1ba3c540cddbcf3f7f5e5b8a2fd9ebbb416 by tcorring
Add llvm.licm.disable metadata
For some targets the LICM pass can result in sub-optimal code in some
cases where it would be better not to run the pass, but it isn't always
possible to suppress the transformations heuristically.
Where the front-end has insight into such cases it is beneficial to
attach loop metadata to disable the pass - this change adds the
llvm.licm.disable metadata to enable that.
Differential Revision: https://reviews.llvm.org/D64557
llvm-svn: 368296
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/include/llvm/Transforms/Utils/LoopUtils.h
The file was addedllvm/test/Transforms/LICM/pragma-licm-disable.ll
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
Commit b1add2b7748d742bc7064cf3cd9fd41199952944 by thomasp
[FileCheck] Add missing includes in header
Reviewers: jhenderson, chandlerc, jdenny, probinson, grimar,
arichardson, rnk
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65778
llvm-svn: 368297
The file was modifiedllvm/include/llvm/Support/FileCheck.h
The file was modifiedllvm/lib/Support/FileCheck.cpp
Commit ba4bda657e13e7942a205a733548c124bb656c32 by maskray
[ELF][AArch64] Delete two unused RUN lines from aarch64-movw-tprel.s
after D65882
llvm-svn: 368298
The file was modifiedlld/test/ELF/aarch64-movw-tprel.s
Commit fde236b1f719b3a366af4cd5810e847cdb18e480 by mclow.lists
Implement hh_mm_ss from P1466R3. Reviewed as
https://reviews.llvm.org/D65365.
llvm-svn: 368299
The file was addedlibcxx/test/std/utilities/time/time.hms/time.12/make24.pass.cpp
The file was addedlibcxx/test/std/utilities/time/time.hms/time.hms.members/to_duration.pass.cpp
The file was addedlibcxx/test/std/utilities/time/time.hms/time.hms.members/subseconds.pass.cpp
The file was addedlibcxx/test/std/utilities/time/time.hms/time.12/make12.pass.cpp
The file was addedlibcxx/test/std/utilities/time/time.hms/time.hms.members/minutes.pass.cpp
The file was addedlibcxx/test/std/utilities/time/time.hms/time.hms.members/precision_type.pass.cpp
The file was addedlibcxx/test/std/utilities/time/time.hms/time.hms.members/is_negative.pass.cpp
The file was addedlibcxx/test/std/utilities/time/time.hms/time.hms.members/hours.pass.cpp
The file was addedlibcxx/test/std/utilities/time/time.hms/time.hms.members/width.pass.cpp
The file was addedlibcxx/test/std/utilities/time/time.hms/time.12/is_pm.pass.cpp
The file was addedlibcxx/test/std/utilities/time/time.hms/time.hms.members/precision.pass.cpp
The file was addedlibcxx/test/std/utilities/time/time.hms/time.hms.members/seconds.pass.cpp
The file was addedlibcxx/test/std/utilities/time/time.hms/time.hms.nonmembers/nothing.to.do.pass.cpp
The file was addedlibcxx/test/std/utilities/time/time.hms/hhmmss.fail.cpp
The file was modifiedlibcxx/include/chrono
The file was addedlibcxx/test/std/utilities/time/time.hms/time.12/is_am.pass.cpp
Commit cd44aee3da22f9a618f2e63c226bebf615fa8cf8 by selliott
[RISCV] Minimal stack realignment support
Summary: Currently the RISC-V backend does not realign the stack. This
can be an issue even for the RV32I/RV64I ABIs (where the stack is
16-byte aligned), though is rare. It will be much more comment with
RV32E (though the alignment requirements for common data types remain
under-documented...).
This patch adds minimal support for stack realignment. It should cope
with large realignments. It will error out if the stack needs
realignment and variable sized objects are present.
It feels like a lot of the code like getFrameIndexReference and
determineFrameLayout could be refactored somehow, as right now it feels
fiddly and brittle. We also seem to allocate a lot more memory than GCC
does for equivalent C code.
Reviewers: asb
Reviewed By: asb
Subscribers: wwei, jrtc27, s.egerton, MaskRay, Jim, lenary, hiraditya,
rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, kito-cheng,
shiva0217, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult,
the_o, rkruppe, PkmX, jocewei, psnobl, benna, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D62007
llvm-svn: 368300
The file was addedllvm/test/CodeGen/RISCV/stack-realignment-unsupported.ll
The file was addedllvm/test/CodeGen/RISCV/stack-realignment.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
Commit dd591977e0fef0179146cae757170ba529e099a1 by diogo.sampaio
[FIX][NFC] Update clang sema test
Try to fix Sema test for default alignment for when compiling to ARM,
but not to android, due r9427aa2d543b
llvm-svn: 368301
The file was modifiedclang/test/Sema/struct-packed-align.c
Commit 215360737941c4c13fcdcb87128752a19363f13d by Louis Dionne
[pstl] Remove stray semicolon
llvm-svn: 368302
The file was modifiedpstl/include/pstl/internal/execution_impl.h
Commit 856d5c581783a31fea3099829099b0012e86ada7 by selliott
[RISCV] Allow ABI Names in Inline Assembly Constraints
Summary: Clang will replace references to registers using ABI names in
inline assembly constraints with references to architecture names, but
other frontends do not. LLVM uses the regular assembly parser to parse
inline asm, so inline assembly strings can contain references to
registers using their ABI names.
This patch adds support for parsing constraints using either the ABI
name or the architectural register name. This means we do not need to
implement the ABI name replacement code in every single frontend,
especially those like Rust which are a very thin shim on top of LLVM
IR's inline asm, and that constraints can more closely match the
assembly strings they refer to.
Reviewers: asb, simoncook
Reviewed By: simoncook
Subscribers: hiraditya, rbar, johnrusso, JDevlieghere, apazos, sabuasal,
niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones,
rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei,
psnobl, benna, Jim, s.egerton, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65947
llvm-svn: 368303
The file was addedllvm/test/CodeGen/RISCV/inline-asm-d-abi-names.ll
The file was modifiedllvm/test/CodeGen/RISCV/inline-asm-f-constraint-f.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was addedllvm/test/CodeGen/RISCV/inline-asm-abi-names.ll
The file was addedllvm/test/CodeGen/RISCV/inline-asm-f-abi-names.ll
The file was modifiedllvm/test/CodeGen/RISCV/inline-asm-d-constraint-f.ll
Commit 824ffd8b1265d69eba089d8c3dcce3983089a9cd by david.green
[ARM] MVE big endian loads/stores
This adds some missing patterns for big endian loads/stores, allowing
unaligned loads/stores to also be selected with an extra VREV, which
produces better code than aligning through a stack. Also moves VLDR_P0
to not be LE only, and adjusts some of the tests to show all that
working.
Differential Revision: https://reviews.llvm.org/D65583
llvm-svn: 368304
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-spill.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-loadstore.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-be.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-widen-narrow.ll
Commit 27ca82f32a35f305a48487f6cf80155d25197cfd by david.green
[ARM] Add support for MVE pre and post inc loads and stores
This adds pre- and post- increment and decrements for MVE loads and
stores. It uses the builtin pre and post load/store detection, unlike
Neon. Loads are selected with the code in tryT2IndexedLoad, stores are
selected with tablegen patterns. The immediates have a +/-7bit range,
multiplied by the size of the element.
Differential Revision: https://reviews.llvm.org/D63840
llvm-svn: 368305
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ldst-preinc.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ldst-postinc.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-ldst-regimm.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit 8558aac82cd2329bdf2a2e887f42ba7bd246e746 by daltenty
Enable assembly output of local commons for AIX
Summary: This patch enable assembly output of local commons for AIX
using .lcomm directives. Adds a EmitXCOFFLocalCommonSymbol to MCStreamer
so we can emit the AIX version of .lcomm assembly directives which
include a csect name. Handle the case of BSS locals in PPCAIXAsmPrinter
by using EmitXCOFFLocalCommonSymbol. Adds a test for generating .lcomm
on AIX Targets.
Reviewers: cebowleratibm, hubert.reinterpretcast, Xiangling_L, jasonliu,
sfertile
Reviewed By: sfertile
Subscribers: wuzish, nemanjai, hiraditya, kbarton, MaskRay, jsji,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64825
llvm-svn: 368306
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/lib/MC/MCSectionXCOFF.cpp
The file was modifiedllvm/include/llvm/MC/MCXCOFFStreamer.h
The file was modifiedllvm/lib/MC/MCAsmInfoXCOFF.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was addedllvm/test/CodeGen/PowerPC/aix-xcoff-lcomm.ll
The file was modifiedllvm/lib/MC/MCXCOFFStreamer.cpp
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
Commit 67c246bbe6a8042f1f8ce103303eedb4b06946f7 by llvm-dev
[X86] SimplifyDemandedVectorElts - attempt to recombine target shuffle
using DemandedElts mask
If we don't demand all elements, then attempt to combine to a simpler
shuffle.
At the moment we can only do this if Depth == 0 as
combineX86ShufflesRecursively uses Depth to track whether the shuffle
has really changed or not - we'll need to change this before we can
properly start merging combineX86ShufflesRecursively into
SimplifyDemandedVectorElts.
The insertps-combine.ll regression is because
XFormVExtractWithShuffleIntoLoad can't see through shuffles of different
widths - this will be fixed in a follow-up commit.
llvm-svn: 368307
The file was modifiedllvm/test/CodeGen/X86/insertps-combine.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vec_smulo.ll
The file was modifiedllvm/test/CodeGen/X86/vec_umulo.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics-fast-isel.ll
The file was modifiedllvm/test/CodeGen/X86/shrink_vmul.ll
Commit eb7a553db86f5e1b0b8e67c77f94cab81bb54fe8 by llvm-dev
[X86] XFormVExtractWithShuffleIntoLoad - handle shuffle mask scaling
If the target shuffle mask is from a wider type, attempt to scale the
mask so that the extraction can attempt to peek through.
Fixes the regression mentioned in rL368307
llvm-svn: 368308
The file was modifiedllvm/test/CodeGen/X86/insertps-combine.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 0e5eef5c8f47e4715e8ef694fb1e28c0a825a57f by Raphael Isemann
[lldb][NFC] Simplify return in MaybeHandleVariable
This function anyway returns true, no need to do this extra work.
llvm-svn: 368309
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
Commit caa0db13181e97b1c62a65168227b80cbdc2ac5e by sbc
[lld][WebAssembly] Add optional symbols after input file handling
This allows undefined references in input files be resolved by the
optional symbols.  Previously we were doing this before input file
reading which means it was working only for command line symbols
references (i.e. -u or --export).
Also use addOptionalDataSymbol for __dso_handle and make all optional
symbols hidden by default.
Differential Revision: https://reviews.llvm.org/D65920
llvm-svn: 368310
The file was modifiedlld/wasm/SymbolTable.h
The file was modifiedlld/wasm/Driver.cpp
The file was modifiedlld/wasm/SymbolTable.cpp
The file was addedlld/test/wasm/optional-symbol.ll
The file was modifiedlld/test/wasm/stack-first.test
The file was modifiedlld/test/wasm/global-base.test
Commit ecde8c7ad47447c5bd02f4bb084843ae20bdbb34 by Akira
[ObjC][ARC] Upgrade calls to ARC runtime functions to intrinsic calls if
the bitcode has the arm64 retainAutoreleasedReturnValue marker
The ARC middle-end passes stopped optimizing or transforming bitcode
that has been compiled with old compilers after we started emitting
calls to ARC runtime functions as intrinsic calls instead of normal
function calls in the front-end and made changes to teach the ARC
middle-end passes about those intrinsics (see r349534). This patch
converts calls to ARC runtime functions that are not intrinsic functions
to intrinsic function calls if the bitcode has the arm64
retainAutoreleasedReturnValue marker. Checking for the presence of the
marker is necessary to make sure we aren't changing ARC function calls
that were originally MRR message sends (see r349952).
rdar://problem/53280660
Differential Revision: https://reviews.llvm.org/D65902
llvm-svn: 368311
The file was modifiedllvm/include/llvm/IR/AutoUpgrade.h
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
The file was addedllvm/test/Bitcode/upgrade-arc-runtime-calls.bc
The file was addedllvm/test/Bitcode/upgrade-arc-runtime-calls.ll
The file was addedllvm/test/Bitcode/upgrade-mrr-runtime-calls.bc
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/test/Bitcode/upgrade-clang-arc-use.ll
Commit 09a7a627af08f00722aa3eeb20ee7530a178c61c by Louis Dionne
[NFC][pstl] Run clang-format
We really need to do that consistently when applying patches.
llvm-svn: 368312
The file was modifiedpstl/include/pstl/internal/glue_memory_impl.h
Commit e2d4577075f67cd4cb0776c2d14d399e5d147666 by diegoaat97
[clang-doc] Protect Index with mutex during reducing and generation
stage
Idx in ClangDocContext instance was being modified by multiple threads
causing a seg fault. A mutex is added to avoid this.
Differential Revision: https://reviews.llvm.org/D65915
llvm-svn: 368313
The file was modifiedclang-tools-extra/clang-doc/tool/ClangDocMain.cpp
Commit e77eb50f6d66a08dce527aa0c014fd950f56717d by tstellar
lit: Use a License classifier that pypi will accept
Summary:
'OSI Approved :: Apache-2.0 with LLVM exception' is not a valid
classifier.  'OSI Approved :: Apache Software License' is the closest
fit for the new license, so we've decided to use this one.
The classifiers seem to only be used for searching on the pypi website,
so this does not actually change the license of the code. We still pass
'Apache-2.0 with LLVM exception' as the license to setup(), and this
appears alongside the classifier on the pypi webpage for lit.
Reviewers: chandlerc, ddunbar, joerg
Reviewed By: joerg
Subscribers: delcypher, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65762
llvm-svn: 368315
The file was modifiedllvm/utils/lit/setup.py
Commit 5f92cb70149c567c28b77be5723c5e20e882882f by Louis Dionne
[libc++] Fix environment variable passing in libc++'s `SSHExecutor`
`lit` utility
Summary: Quote the value of environment variables when passing them to
the SSH client in SSHExecutor in libc++'s lit utilities. Without the
quotes, an environment variable like FOO="buzz bar" gets passed
incorrectly like this, ssh env FOO=buzz bar, which causes bar to be
treated as a command to run, not part of the environment variable value.
We ran into this when using SSHExecutor to do bringup of our CUDA
libcu++ port on an embedded aarch64 system.
Patch by Bryce Adelstein Lelbach.
Differential Revision: https://reviews.llvm.org/D65960
llvm-svn: 368317
The file was modifiedlibcxx/utils/libcxx/test/executor.py
Commit 8faf2f3c406329323d04513a53c91ea07be80ac2 by Jinsong Ji
Re-commit "[PowerPC][NFC][MachinePipeliner] Add some regression
testcases""
Remove sms-cpy1.ll first while I investigate the problem.
llvm-svn: 368318
The file was addedllvm/test/CodeGen/PowerPC/sms-phi-5.ll
The file was addedllvm/test/CodeGen/PowerPC/sms-phi-3.ll
The file was addedllvm/test/CodeGen/PowerPC/sms-phi-1.ll
The file was addedllvm/test/CodeGen/PowerPC/sms-phi-2.ll
Commit 57f471f4ff431cfc29ea0849a42829cc52e5f40a by yitzhakm
[clang] Update `ignoringElidableConstructorCall` matcher to ignore
`ExprWithCleanups`.
Summary: The `ExprWithCleanups` node is added to the AST along with the
elidable CXXConstructExpr.  If it is the outermost node of the node
being matched, ignore it as well.
Reviewers: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65944
llvm-svn: 368319
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/docs/LibASTMatchersReference.html
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
Commit 0cb2a33dfd3e87a01d5eab3effbe033db10300eb by pirama
[AArch64] Do not emit '#' before immediates in inline asm
Summary: The A64 assembly language does not require the '#' character to
introduce constant immediate operands.  Avoid the '#' since the AArch64
asm parser does not accept '#' before the lane specifier and rejects the
following:
__asm__ ("fmla v2.4s, v0.4s, v1.s[%0]" :: "I"(0x1))
Fix a test to not expect the '#' and add a new test case with the above
asm.
Fixes: https://github.com/android-ndk/ndk/issues/1036
Reviewers: peter.smith, kristof.beyls
Subscribers: javed.absar, hiraditya, llvm-commits, srhines
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65550
llvm-svn: 368320
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
Commit 5b40eb0572256d8f9606ac17397dafa6137e96fc by daniel_l_sanders
[globalisel][legalizer] Attempt to write down the minimal legalization
rules
Summary: There aren't very many requirements on the legalization rules
but we should document them.
Reviewers: aditya_nandakumar, volkan, bogner, paquette, aemerson, rovka,
arsenm, Petar.Avramovic
Subscribers: wdng, kristof.beyls, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D62423
# Conflicts:
# llvm/docs/GlobalISel.rst
llvm-svn: 368321
The file was modifiedllvm/docs/GlobalISel.rst
Commit babdfdec90bb978799bcccf1ee0c856678b0ef7b by nicolasweber
clang: Diag running out of file handles while looking for files
clang would only print "file not found" when it's unable to find a
header file.  If the reason for that is a file handle leak, that's not a
very useful error message.  For errors that aren't in a small whitelist
("file not found", "file is directory"), print an error with the
strerror() output.
This changes behavior in corner cases: If clang was out of file handles
while looking in one -I dir but then suddenly wasn't when looking in the
next -I dir, and both directories contained a file with the desired
name, previously we'd silently return the file from the second
directory. For this reason, it's important to ignore "is a directory"
for this new diag: if a file foo/foo exists and -I -Ifoo are passed, an
include of "foo" should successfully open file "foo" in directory "foo/"
instead of complaining that "./foo" is a directory.
No test since we mostly hit this when there's a handle leak somewhere,
and currently there isn't one. I manually tested this with the repro
steps in comment 2 on the bug below.
Fixes PR42524.
Differential Revision: https://reviews.llvm.org/D65956
llvm-svn: 368322
The file was modifiedclang/lib/Lex/HeaderSearch.cpp
Commit cb30590da10ba80a133222588efedab7e5fc9bdd by yamauchi
Recommit Devirtualize destructor of final class.
Original patch commited as r364100, reverted as r364359, recommitted as
r365509, reverted as r365850.
llvm-svn: 368323
The file was modifiedclang/lib/CodeGen/CGExprCXX.cpp
The file was addedclang/test/CodeGenCXX/devirtualize-dtor-final.cpp
Commit 9d55e2c85e6636898f58487aea8832d858e7e682 by craig.topper
[X86] Make CMPXCHG16B feature imply CMPXCHG8B feature.
This fixes znver1 so that it properly enables CMPXHG8B. We can probably
remove explicit CMPXCHG8B from CPUs that also have CMPXCHG16B, but
keeping this simple to allow cherry pick to 9.0.
Fixes PR42935.
llvm-svn: 368324
The file was modifiedllvm/lib/Target/X86/X86.td
The file was modifiedllvm/test/CodeGen/X86/cmpxchg8b.ll
Commit ad1cc145e8bb34666a7efad55e5972799eb7ca20 by sbc
[lld][WebAssembly] Use createGlobalVariable helper function. NFC.
Differential Revision: https://reviews.llvm.org/D65911
llvm-svn: 368325
The file was modifiedlld/wasm/Driver.cpp
Commit a3c35309583fe3062cc1142d718a123aa676564d by yitzhakm
[clang][NFC] Move matcher ignoringElidableConstructorCall's tests to
appropriate file.
Summary:
`ignoringElidableConstructorCall` is a traversal matcher, but its tests
are grouped with narrowing-matcher tests. This revision moves them to
the correct file.
Reviewers: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65963
llvm-svn: 368326
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Commit 6dbbd0f3432606748c23af9d677d73ca8372a11e by bcain
[llvm-mc] Add reportWarning() to MCContext
Adding reportWarning() to MCContext, so that it can be used from the
Hexagon assembler backend.
llvm-svn: 368327
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp
The file was modifiedllvm/tools/llvm-mc/llvm-mc.cpp
The file was modifiedllvm/include/llvm/MC/MCContext.h
The file was modifiedllvm/lib/MC/MCContext.cpp
The file was addedllvm/test/MC/Hexagon/nowarn.s
The file was modifiedclang/tools/driver/cc1as_main.cpp
The file was modifiedllvm/lib/CodeGen/MachineModuleInfo.cpp
Commit 7b953b6455bb3da664deb2ba4bc47a37935c592e by bcain
[clang] Add no-warn support for Wa
llvm-svn: 368328
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedclang/tools/driver/cc1as_main.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was addedclang/test/Driver/as-no-warnings.c
Commit 87e2c9147e6d2ce0edda68db56ff7f3b3b701d4a by tstellar
lit: Bump version to 0.10.0
Reviewers: hans
Subscribers: hans, delcypher, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65763
llvm-svn: 368329
The file was modifiedllvm/utils/lit/lit/__init__.py
Commit d9cbd2acfa7d205788c43abdc66f6ee9680748ce by Adrian Prantl
Remove unused and undocumented data_offset parameter (NFC)
Value::GetValueAsData() takes an undocumented parameter called
data_offset that is always 0.
Differential Revision: https://reviews.llvm.org/D65910
llvm-svn: 368330
The file was modifiedlldb/source/Core/Value.cpp
The file was modifiedlldb/source/Core/ValueObjectCast.cpp
The file was modifiedlldb/source/Core/ValueObjectConstResult.cpp
The file was modifiedlldb/source/Core/ValueObjectDynamicValue.cpp
The file was modifiedlldb/source/Core/ValueObjectChild.cpp
The file was modifiedlldb/include/lldb/Core/Value.h
The file was modifiedlldb/source/Core/ValueObjectMemory.cpp
The file was modifiedlldb/source/Core/ValueObjectSyntheticFilter.cpp
The file was modifiedlldb/source/Core/ValueObject.cpp
The file was modifiedlldb/source/Core/ValueObjectVariable.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
Commit df3b465c9c4fed5045470d3eb5b65c14e6de71e6 by mmoroz
[compiler-rt] Add ConsumeProbability and ConsumeFloatingPoint methods to
FDP.
Summary: Also slightly cleaned up the comments and changed the header's
extension back to `.h` as per comments on
https://reviews.llvm.org/D65812.
New methods added:
* `ConsumeProbability` returns [0.0, 1.0] by consuming an unsigned
integer value
  from the input data and dividing that value by the integer's max
value.
* `ConsumeFloatingPointInRange` returns a floating point value in the
given
  range. Relies on `ConsumeProbability` method. This method does not
have the
  limitation of `std::uniform_real_distribution` that requires the given
range
  to be <= the floating point type's max. If the range is too large,
this
  implementation will additionally call `ConsumeBool` to decide whether
the
  result will be in the first or the second half of the range.
* `ConsumeFloatingPoint` returns a floating point value in the range
`[std::numeric_limits<T>::lowest(), std::numeric_limits<T>::min()]`.
Tested on Linux, Mac, Windows.
Reviewers: morehouse
Reviewed By: morehouse
Subscribers: kubamracek, mgorny, dberris, delcypher, #sanitizers,
llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D65905
llvm-svn: 368331
The file was removedcompiler-rt/include/fuzzer/FuzzedDataProvider.hpp
The file was modifiedcompiler-rt/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp
The file was modifiedcompiler-rt/lib/fuzzer/utils/FuzzedDataProvider.h
The file was modifiedcompiler-rt/lib/sanitizer_common/scripts/check_lint.sh
The file was addedcompiler-rt/include/fuzzer/FuzzedDataProvider.h
The file was modifiedcompiler-rt/lib/fuzzer/tests/CMakeLists.txt
The file was modifiedcompiler-rt/include/CMakeLists.txt
Commit 37a1aa7eb761050294b82a3f4f1e3c0b25b2f9e7 by bcain
[clang] add REQUIRES to driver test case
The test case explicitly leverages x86, so should include it as a test
requirement.
llvm-svn: 368332
The file was modifiedclang/test/Driver/as-no-warnings.c
Commit 01048033d20a91e3bbcbec05f88cbe283ef064ac by peter
gn build: Merge r368331.
llvm-svn: 368333
The file was modifiedllvm/utils/gn/secondary/compiler-rt/include/BUILD.gn
Commit 83df122039d18cf709e97e6fd8f9d56333ed4b58 by bcain
[clang] add REQUIRES: linux to driver test case
The test case explicitly leverages linux, so should include it as a test
requirement.
llvm-svn: 368334
The file was modifiedclang/test/Driver/as-no-warnings.c
Commit 8b49e0fd39f946d0d2e6e3979a893b89dec1d9e0 by Artem Dergachev
[analyzer] Fix scan-build's plist output in plist-html mode.
r366941 accidentally made it delete all plist files as soon as they're
produced.
llvm-svn: 368338
The file was modifiedclang/tools/scan-build/libexec/ccc-analyzer
Commit 80347c3acc08a653cb4dd64411d86c35ac73011e by carrot
[MBP] Disable aggressive loop rotate in plain mode
Patch https://reviews.llvm.org/D43256 introduced more aggressive loop
layout optimization which depends on profile information. If profile
information is not available, the statically estimated profile
information(generated by BranchProbabilityInfo.cpp) is used. If user
program doesn't behave as BranchProbabilityInfo.cpp expected, the layout
may be worse.
To be conservative this patch restores the original layout algorithm in
plain mode. But user can still try the aggressive layout optimization
with -force-precise-rotation-cost=true.
Differential Revision: https://reviews.llvm.org/D65673
llvm-svn: 368339
The file was modifiedllvm/test/CodeGen/AMDGPU/wave32.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-1.ll
The file was modifiedllvm/test/CodeGen/PowerPC/atomics-regression.ll
The file was modifiedllvm/test/CodeGen/Thumb/consthoist-physical-addr.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-by-select-loop.ll
The file was modifiedllvm/test/CodeGen/X86/code_placement.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wqm.ll
The file was modifiedllvm/test/CodeGen/Hexagon/prof-early-if.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/optimize-negated-cond.ll
The file was modifiedllvm/test/CodeGen/X86/lsr-loop-exit-cond.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-6.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/multilevel-break.ll
The file was modifiedllvm/test/CodeGen/ARM/2011-03-23-PeepholeBug.ll
The file was modifiedllvm/test/DebugInfo/X86/PR37234.ll
The file was modifiedllvm/test/CodeGen/Hexagon/early-if-merge-loop.ll
The file was modifiedllvm/test/CodeGen/AArch64/tailmerging_in_mbp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll
The file was modifiedllvm/test/CodeGen/X86/ragreedy-hoist-spill.ll
The file was modifiedllvm/test/CodeGen/X86/reverse_branches.ll
The file was modifiedllvm/test/CodeGen/PowerPC/cmp_elimination.ll
The file was modifiedllvm/test/CodeGen/Thumb/pr42760.ll
The file was modifiedllvm/test/CodeGen/X86/code_placement_no_header_change.ll
The file was modifiedllvm/test/CodeGen/AArch64/cmpxchg-idioms.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-2.ll
The file was modifiedllvm/test/CodeGen/PowerPC/licm-remat.ll
The file was modifiedllvm/test/CodeGen/RISCV/remat.ll
The file was modifiedllvm/test/CodeGen/Hexagon/redundant-branching2.ll
The file was modifiedllvm/test/CodeGen/X86/tail-dup-repeat.ll
The file was modifiedllvm/test/CodeGen/X86/speculative-load-hardening.ll
The file was modifiedllvm/test/CodeGen/X86/tail-dup-merge-loop-headers.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cf.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/collapse-endcf.ll
The file was modifiedllvm/test/CodeGen/PowerPC/block-placement-1.mir
The file was modifiedllvm/test/CodeGen/ARM/code-placement.ll
The file was removedllvm/test/CodeGen/X86/loop-rotate.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/i1-copy-from-loop.ll
The file was modifiedllvm/test/CodeGen/PowerPC/machine-pre.ll
The file was modifiedllvm/test/CodeGen/X86/move_latch_to_loop_top.ll
The file was modifiedllvm/test/CodeGen/X86/code_placement_ignore_succ_in_inner_loop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/global_smrd_cfg.ll
The file was modifiedllvm/test/DebugInfo/X86/dbg-value-transfer-order.ll
The file was modifiedllvm/test/CodeGen/Hexagon/bug6757-endloop.ll
The file was modifiedllvm/test/CodeGen/X86/block-placement.ll
The file was modifiedllvm/test/CodeGen/X86/loop-blocks.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-5.ll
The file was modifiedllvm/test/CodeGen/ARM/atomic-cmp.ll
The file was modifiedllvm/test/CodeGen/ARM/arm-and-tst-peephole.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/loop_exit_with_xor.ll
The file was modifiedllvm/test/CodeGen/X86/pr38185.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-4.ll
The file was modifiedllvm/test/CodeGen/ARM/atomic-cmpxchg.ll
The file was modifiedllvm/test/CodeGen/X86/widen_cast-4.ll
The file was modifiedllvm/test/CodeGen/ARM/pr32578.ll
The file was modifiedllvm/test/CodeGen/X86/code_placement_loop_rotation2.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/divergent-branch-uniform-condition.ll
The file was modifiedllvm/test/CodeGen/RISCV/atomic-rmw.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-3.ll
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
The file was modifiedllvm/test/CodeGen/X86/conditional-tailcall.ll
Commit 8240b0d7fe316deb0c8a28388578dfd69e02cdc1 by jingham
Fix a comment which was incorrect.
llvm-svn: 368340
The file was modifiedlldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
Commit 4a08a6794f6b7069c8a1ed98797bb05a8d78d582 by jdoerfert
[Attributor][NFC] Include only what is needed
llvm-svn: 368341
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit bce4d79f375beae05d0d8b52972f05a4883ebe4c by craig.topper
[LegalizeTypes] Remove SplitVSETCC helper and just call
SplitVecRes_SETCC.
llvm-svn: 368343
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
Commit 9158e5427000372faea8b114f17ce61cfb152184 by craig.topper
[SelectionDAG][X86] Move setcc mask splitting for
mload/mstore/mgather/mscatter from DAGCombiner to the type legalizer.
We may be able to look to how VSELECT is handled to further improve
this, but this appears to be neutral or an improvement on the test cases
we have.
llvm-svn: 368344
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/test/CodeGen/X86/masked_gather_scatter.ll
The file was modifiedllvm/test/CodeGen/X86/masked_load.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
Commit fe9eaadd68307347d97698fd0a1646827eafd290 by Adrian Prantl
SymbolFileDWARF: Unconditionally scan through clang modules. NFCish
When looking up a type by name, also scan through any referenced Clang
modules regardsless of whether a type with this name has been found.
This is NFCish (= a potential performance regression) for Clang
projects, but necessary in mixed Swift and Objective-C projects (and
tested in swift-lldb).
This only affects projects compiled with -gmodules that were not run
through dsymutil.
llvm-svn: 368345
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Commit 7491f36494e75a0dfe0f9e2c8c45821eec818f6e by Raphael Isemann
[lldb][NFC] Directly use StringRef instead of temporary std::string
llvm-svn: 368346
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
Commit 1d63b02f5305d18beca8945492b3775dc21ac0c7 by rnk
Fix up fd limit diagnosis code
Apparently Windows returns the "invalid argument" error code when the
path contains invalid characters such as '<'. The
test/Preprocessor/include-likely-typo.c test does this, so it was
failing after r368322.
Also, the diagnostic requires two arguments, so add the filename.
llvm-svn: 368348
The file was modifiedclang/lib/Lex/HeaderSearch.cpp
Commit c49d3e6c4d3b921227be32f20c2e5aeca1829917 by craig.topper
[X86] Improve codegen of v8i64->v8i16 and v16i32->v16i8 truncate with
avx512vl, avx512bw, min-legal-vector-width<=256 and
prefer-vector-width=256
Under this configuration we'll want to split the v8i64 or v16i32 into
two vectors. The default legalization will try to truncate each of those
256-bit pieces one step to 128-bit, concatenate those, then truncate one
more time from the new 256 to 128 bits.
With this patch we now truncate the two splits to 64-bits then
concatenate those. We have to do this two different ways depending on
whether have widening legalization enabled. Without widening
legalization we have to manually construct X86ISD::VTRUNC to prevent the
ISD::TRUNCATE with a narrow result being promoted to 128 bits with a
larger element type than what we want followed by something like a
pshufb to grab the lower half of each element to finish the job. With
widening legalization we just get the right thing. When we switch to
widening by default we can just delete the other code path.
Differential Revision: https://reviews.llvm.org/D65626
llvm-svn: 368349
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
Commit 8416f20f2f5581cf1710f8c6f96f100683777fc6 by cameron.mcinally
[LICM] Support unary FNeg in LICM
Differential Revision: https://reviews.llvm.org/D65908
llvm-svn: 368350
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was modifiedllvm/test/Transforms/LICM/hoisting.ll
Commit 3a9059effb1c6ec79c6edde44d10690c43c3f52e by peter
hwasan: Add a code model check for tagged globals.
See D65364 for the code model requirements for tagged globals. Because
of the relocations used these requirements cannot be checked at link
time so they must be checked at runtime.
Differential Revision: https://reviews.llvm.org/D65968
llvm-svn: 368351
The file was modifiedcompiler-rt/lib/hwasan/hwasan.cpp
Commit 7debc93afc1829e366340fe1438a041a34c26829 by hhb
[lldb] Fix HAVE_LIBCOMPRESSION
Summary: This test doesn't make sense. Change to be consistent with what
we did in GDBRemoteCommunication.cpp.
Reviewers: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D65965
llvm-svn: 368352
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
Commit a7040525ce4ebf4c4d3a3c6308443ed12879cff7 by Raphael Isemann
[lldb][NFC] Move to StringRef in some places in IRForTarget
llvm-svn: 368353
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
Commit 7859fed6eaff162a995bbcc58b142a5358a882ee by rnk
Mark clang-scan-deps test as requiring thread support
Otherwise the test calls a pure virtual method and crashes. Perhaps this
could be improved.
llvm-svn: 368354
The file was modifiedclang/test/ClangScanDeps/regular_cdb.cpp
Commit bb17e46644bbebdc665ccdee941aab48a9ee0bd4 by peter
Linker: Add support for GlobalIFunc.
GlobalAlias and GlobalIFunc ought to be treated the same by the IR
linker, so we can generalize the code to be in terms of their common
base class GlobalIndirectSymbol.
Differential Revision: https://reviews.llvm.org/D55046
llvm-svn: 368357
The file was modifiedllvm/lib/Linker/IRMover.cpp
The file was modifiedllvm/include/llvm/IR/GlobalIndirectSymbol.h
The file was modifiedllvm/include/llvm/Transforms/Utils/ValueMapper.h
The file was addedllvm/test/LTO/Resolution/X86/ifunc2.ll
The file was modifiedllvm/include/llvm/IR/GlobalIFunc.h
The file was modifiedllvm/lib/Transforms/Utils/ValueMapper.cpp
The file was modifiedllvm/include/llvm/IR/GlobalAlias.h
The file was addedllvm/test/LTO/Resolution/X86/Inputs/ifunc2.ll
Commit ddc64eb948c7e71039325f21bc4e1cc763494da5 by diegof30
Added Delta IR Reduction Tool
Summary: Tool parses input IR file, and runs the delta debugging
algorithm to reduce the functions inside the input file.
Reviewers: alexshap, chandlerc
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D63672
> llvm-svn: 368071
llvm-svn: 368358
The file was modifiedllvm/test/CMakeLists.txt
The file was addedllvm/test/Reduce/remove-funcs.ll
The file was addedllvm/tools/llvm-reduce/deltas/Delta.h
The file was addedllvm/test/Reduce/Inputs/remove-funcs.py
The file was addedllvm/tools/llvm-reduce/LLVMBuild.txt
The file was addedllvm/tools/llvm-reduce/llvm-reduce.cpp
The file was addedllvm/tools/llvm-reduce/DeltaManager.h
The file was addedllvm/docs/BugpointRedesign.md
The file was addedllvm/tools/llvm-reduce/CMakeLists.txt
The file was addedllvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp
The file was addedllvm/tools/llvm-reduce/TestRunner.cpp
The file was modifiedllvm/tools/LLVMBuild.txt
The file was addedllvm/tools/llvm-reduce/deltas/ReduceFunctions.h
The file was addedllvm/tools/llvm-reduce/TestRunner.h
The file was addedllvm/tools/llvm-reduce/deltas/Delta.cpp
Commit 50f7e945eebfbea51592af39539f5d61c6d45c99 by Raphael Isemann
[lldb][NFC] Modernize IRForTarget::CreateResultVariable
llvm-svn: 368359
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
Commit 2689ed0f9de6972cc7b858810c432f03605cc6e1 by david.bolvansky
[InstCombine][NFC] Added comments about constants in tests for pow->exp2
fold
llvm-svn: 368360
The file was modifiedllvm/test/Transforms/InstCombine/pow_fp_int.ll
The file was modifiedllvm/test/Transforms/InstCombine/pow-exp.ll
Commit c5ccbf52ad9343da6768a6390de71b13f948defc by gzchen
[WebAssembly][lld] control __data_end export with config->shared
Summary: Emscripten expects `__data_end` to show up in PIC code as long
as it's not linked with `--shared`.
Currently, Emscripten breaks with latest LLVM because `__data_end` is
controlled by `config->isPic` instead of `config->shared`.`
Reviewers: tlively, sbc100
Reviewed By: sbc100
Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65980
llvm-svn: 368361
The file was modifiedlld/wasm/Driver.cpp
Commit db0e1a9197ed35acbadb39470221858ae3819364 by eugeni.stepanov
Fix llvm.aarch64.irg properties.
Summary: IRG does not access any memory. Replace IntrInaccessibleMemOnly
with IntrNoMem | IntrHasSideEffects.
Reviewers: chill
Subscribers: javed.absar, kristof.beyls, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64447
llvm-svn: 368362
The file was addedllvm/test/CodeGen/AArch64/irg-nomem.mir
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
Commit b865f88dc55d376b99678be1de3c27bbf98c458d by sbc
Fix -DBUILD_SHARED_LIBS=ON build after rL368358
Differential Revision: https://reviews.llvm.org/D65982
llvm-svn: 368363
The file was modifiedllvm/tools/llvm-reduce/CMakeLists.txt
Commit 5b9508396c83d4ac58a15ae6d92735fe538757dc by dblaikie
Remove else-after-return
llvm-svn: 368364
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
Commit 3e61ed02993ef1d0a534b682605475d3f4ce59b9 by Akira
Change the return type of UpgradeARCRuntimeCalls to void
Nothing is using the function return.
llvm-svn: 368367
The file was modifiedllvm/include/llvm/IR/AutoUpgrade.h
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
Commit dbfea28219b65ae278b92c65fc6a7c768478ad85 by sbc
[lld][WebAssembly] Don't create optional symbols when outputing an
object file
Summary: This was a bug in rL368310.  I'm working on a test case now.
Differential Revision: https://reviews.llvm.org/D65985
llvm-svn: 368369
The file was modifiedlld/wasm/Driver.cpp
Commit 52a36fae2a3f8560a5be690a67304db5edafc3fe by dan
[asan_symbolize] Fix bug where the frame counter was not incremented.
Summary: This bug occurred when a plug-in requested that a binary not be
symbolized while the script is trying to symbolize a stack frame. In
this case `self.frame_no` would not be incremented. This would cause
subsequent stack frames that are symbolized to be incorrectly numbered.
To fix this `get_symbolized_lines()` has been modified to take an
argument that indicates whether the stack frame counter should
incremented. In `process_line_posix()` `get_symbolized_lines(None, ...)`
is now used in in the case where we don't want to symbolize a line so
that we can keep the frame counter increment in a single function.
A test case is included. The test uses a dummy plugin that always asks
`asan_symbolize.py` script to not symbolize the first binary that the
script asks about. Prior to the patch this would cause the output to
script to look something like
```
#0 0x0
#0 0x0 in do_access
#1 0x0 in main
```
rdar://problem/49476995
Reviewers: kubamracek, yln, samsonov, dvyukov, vitalybuka
Subscribers: #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D65495
llvm-svn: 368373
The file was modifiedcompiler-rt/lib/asan/scripts/asan_symbolize.py
The file was addedcompiler-rt/test/asan/TestCases/Posix/asan_symbolize_script/plugin_wrong_frame_number_bug.cpp
The file was addedcompiler-rt/test/asan/TestCases/Posix/asan_symbolize_script/plugin_wrong_frame_number_bug.py
Commit 1fa1cd200b9a005629ca4793a99dd970c7a14371 by peter
ELF: Move sections referred to by __start_/__stop_ symbols into the main
partition.
In the case where C identifier sections have SHF_LINK_ORDER they will
most likely be placed in the same partition as the section that they are
associated with. But unless this happens to be the main partition, this
will cause them to be excluded from the range covered by the __start_
and __stop_ symbols, which may lead to incorrect program behaviour. So
we need to move them all into the main partition so that they will be
covered by the __start_ and __stop_ symbols.
We may want to refine this approach later and allow different
__start_/__stop_ symbol values for different partitions. This would only
make sense for relocations from SHT_NOTE sections since they are
duplicated into each partition.
Differential Revision: https://reviews.llvm.org/D65909
llvm-svn: 368375
The file was addedlld/test/ELF/partition-move-to-main-startstop.s
The file was modifiedlld/ELF/MarkLive.cpp
Commit 0fcc1f7bac6e70331039e39b743a1e46faa64951 by dblaikie
DebugInfo/DWARF: Provide some (pretty half-hearted) error handling
access when parsing units
This isn't the most robust error handling API, but does allow clients to
opt-in to getting Errors they can handle. I suspect the long-term
solution would be to move away from the lazy unit parsing and have an
explicit step that parses the unit and then allows access to the other
APIs that require a parsed unit.
llvm-dwarfdump could be expanded to use this (or newer/better API) to
demonstrate the benefit of it - but for now lld will use this in a
follow-up cl which ensures lld can exit non-zero on errors like this (&
provide more descriptive diagnostics including which object file the
error came from).
(error access to later errors when parsing nested DIEs would be good too
- but, again, exposing that without it being a hassle for every consumer
may be tricky)
llvm-svn: 368377
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-str-offsets-invalid.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
Commit 84b55e61ddd1c69fee68eb5ce47a89acee2b42b7 by dblaikie
DebugInfo: Explicitly handle errors when parsing unit DIEs
This ensures these errors produce a non-zero exit and improves the
context (providing the name of the input object and section being
parsed).
llvm-svn: 368378
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/test/ELF/gdb-index-parse-fail.s
Commit 179dc276ebc1e592fb831bb4716e1b70c7f13cd4 by maskray
[ELF] Expand regions for gaps due to explicit address
If the dot gets moved by an explicit section address, an empty gap
between sections could be created. The encompassing region for the
section being parsed needs to be expanded to include the gap.
Differential Revision: https://reviews.llvm.org/D65722
Patch by Gabriel Smith!
llvm-svn: 368379
The file was modifiedlld/ELF/LinkerScript.cpp
The file was addedlld/test/ELF/linkerscript/memory-gap-explicit-expr.test
Commit 1861f4ea25844a1a6b2f940e9f12acbaa5d63f4d by bigcheesegs
[clang-scan-deps] Add minimizer support for C++20 modules.
This only adds support to the minimizer, it doesn't actually capture the
dependencies yet.
llvm-svn: 368381
The file was modifiedclang/include/clang/Lex/DependencyDirectivesSourceMinimizer.h
The file was modifiedclang/lib/Lex/DependencyDirectivesSourceMinimizer.cpp
The file was modifiedclang/unittests/Lex/DependencyDirectivesSourceMinimizerTest.cpp
Commit 124ef7fce40369a176a2d354a214bf62460b5446 by dabis.csaba98
[analyzer] ConditionBRVisitor: Fix HTML PathDiagnosticPopUpPieces
Summary: A condition could be a multi-line expression where we create
the highlight in separated chunks. PathDiagnosticPopUpPiece is not made
for that purpose, it cannot be added to multiple lines because we have
only one ending part which contains all the notes. So that it cannot
have multiple endings and therefore this patch narrows down the ranges
of the highlight to the given interesting variable of the condition. It
prevents HTML-breaking injections.
Reviewed By: NoQ
Differential Revision: https://reviews.llvm.org/D65663
llvm-svn: 368382
The file was modifiedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
The file was modifiedclang/test/Analysis/Inputs/expected-plists/inline-plist.c.plist
The file was modifiedclang/test/Analysis/Inputs/expected-plists/plist-output.m.plist
The file was modifiedclang/test/Analysis/Inputs/expected-plists/cxx-for-range.cpp.plist
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was modifiedclang/test/Analysis/Inputs/expected-plists/edges-new.mm.plist
The file was modifiedclang/test/Analysis/Inputs/expected-plists/objc-radar17039661.m.plist
Commit cf229d575226ccae2742cda0708a9f981f71fdfb by dabis.csaba98
[analyzer] CastValueChecker: Model castAs(), getAs()
Summary: Thanks to Kristóf Umann for the great idea!
Reviewed By: NoQ
Differential Revision: https://reviews.llvm.org/D65889
llvm-svn: 368383
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
The file was modifiedclang/test/Analysis/cast-value.cpp
Commit 35848345f077cb7985b676606be37d15767c05fb by craig.topper
[X86] Remove vector promotion handling from the ReplaceNodeResults
ISD::MUL handling code.
We now widen illegal vector types so we don't need this anymore.
llvm-svn: 368384
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit cdb9a8ebd80638f2e67f3803cbafdc75308ecfe1 by craig.topper
[X86] Simplify ReplaceNodeResults handling for UDIV/UREM/SDIV/SREM for
vectors to only handle widening.
llvm-svn: 368385
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 0bd44d59dba1c9fbb8fcd62912e83929a5d43a43 by craig.topper
[X86] Simplify ReplaceNodeResults handling for
SIGN_EXTEND/ZERO_EXTEND/TRUNCATE for vectors to only handle widening.
llvm-svn: 368386
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit d871f638d71ff980b6fb54ec86527bcb5bffa7e7 by craig.topper
[X86] Simplify ReplaceNodeResults handling for FP_TO_SINT/UINT for
vectors to only handle widening.
llvm-svn: 368387
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 6f81db0f68bb6c4c3c1d47188d8ec8d593b4f3fc by craig.topper
[X86] Now unreachable handling for f64->v2i32/v4i16/v8i8 bitcasts from
ReplaceNodeResults.
We rely on the generic type legalizer for this now.
llvm-svn: 368388
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 0da681a2be5c0d6222781c97eac9214ed1bef07d by craig.topper
[X86] Merge v2f32 and v2i32 gather/scatter handling in
ReplaceNodeResults/LowerMSCATTER now that v2i32 is also widened like
v2f32.
llvm-svn: 368389
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit ef5b435b003093493f4659050f36d76659d59581 by craig.topper
[X86] Simplify ISD::LOAD handling in ReplaceNodeResults and ISD::STORE
handling in LowerStore now that v2i32 is widened to v4i32.
llvm-svn: 368390
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e9efaf35292da8f461ef46ce8eeb1c7bd70574a2 by qiucf
[PowerPC] [Clang] Port SSE3, SSSE3 and SSE4 intrinsics to PowerPC
Port existing headers which include x86 intrinsics implementation to
PowerPC platform (using Altivec), along with tests. Also, tests about
including these intrinsic headers are combined.
The headers are mainly developed by Steven Munroe, with contributions
from Paul Clarke, Bill Schmidt, Jinsong Ji and Zixuan Wu.
Reviewed By: Jinsong Ji
Differential Revision: https://reviews.llvm.org/D65630
llvm-svn: 368392
The file was addedclang/lib/Headers/ppc_wrappers/pmmintrin.h
The file was addedclang/lib/Headers/ppc_wrappers/smmintrin.h
The file was removedclang/test/Headers/ppc-sse2-intrinsics.c
The file was modifiedclang/lib/Headers/CMakeLists.txt
The file was addedclang/test/CodeGen/ppc-pmmintrin.c
The file was addedclang/test/CodeGen/ppc-tmmintrin.c
The file was addedclang/test/Headers/ppc-intrinsics.c
The file was addedclang/test/CodeGen/ppc-smmintrin.c
The file was addedclang/lib/Headers/ppc_wrappers/tmmintrin.h
The file was removedclang/test/Headers/ppc-mmx-intrinsics.c
The file was removedclang/test/Headers/ppc-sse-intrinsics.c
Commit 82c51b18e48a2a7062c3340b66496c04bb5aecc0 by puyan
[clang][NFC] Consolidating usage of "FinalPhase" in
Driver::BuildActions.
I am working to remove this concept of the "FinalPhase" in the clang
driver, but it is used in a lot of different places to do argument
handling for different combinations of phase pipelines and arguments. I
am trying to consolidate most of the uses of "FinalPhase" into its own
separate scope. Eventually, in a subsequent patch I will move all of
this stuff to a separate function, and have more of the complication
phase list construction setup into types::getComplicationPhases.
Differential Revision: https://reviews.llvm.org/D65969
llvm-svn: 368393
The file was modifiedclang/lib/Driver/Driver.cpp
Commit 824961824f34da04a31c788b3440049ae9cc66d2 by craig.topper
[X86] Remove ISD::SETCC handling from ReplaceNodeResults.
This is no longer needed since we widen v2i32 instead of promoting.
llvm-svn: 368394
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 509c8774fa358d07c7a639326c105e4301f93bf5 by craig.topper
[X86] Remove handler for (U/S)(ADD/SUB)SAT from ReplaceNodeResults.
Remove TypeWidenVector check from code that handles X86ISD::VPMADDWD and
X86ISD::AVG.
More unneeded code since we now legalize narrow vectors by widening.
llvm-svn: 368395
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 8c5c09780d4981995927ca06572e833b1b8116f6 by craig.topper
[X86] Remove DAG combine expansion of extending masked load and
truncating masked store.
The only way to generate these was through promoting legalization of
narrow vectors, but we widen those types now. So we shouldn't produce
these nodes.
llvm-svn: 368396
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 7e33f11ba7056918ad9e0a3c4aed0334f5029bd2 by craig.topper
[X86] Remove stale FIXME from combineMaskedStore. NFC
I believe PR34584 was tracking that FIXME, but its since been closed and
a test case was added.
llvm-svn: 368397
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 5bb45181169169982ecc3adefaa47b67863faaf8 by hhb
Fix rpath for MacOS/iOS
Summary: libs can be installed to ../lib64.
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65972
llvm-svn: 368398
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit e187336374c1b47d84af008e06cf6a2c7ff5c57b by gribozavr
Use ASSERT_THAT_ERROR instead of logAllUnhandledErrors/exit
Summary: ASSERT_THAT_ERROR looks like the intended helper for use in
tests.
Reviewers: plotfi, jkorous, compnerd
Subscribers: mgorny, dexonsmith, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65853
llvm-svn: 368399
The file was modifiedclang/unittests/DirectoryWatcher/CMakeLists.txt
The file was modifiedclang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
Commit 6179175551c04877cc580e2973b239e9d2e7d394 by craig.topper
[X86] Remove code that expands truncating stores from combineStore.
We shouldn't form trunc stores that need to be expanded now that we are
using widening legalization.
llvm-svn: 368400
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit d218a3326e7152469f0c6837f682645ffff0fcbc by bjorn.a.pettersson
[InstSimplify] Report "Changed" also when only deleting dead
instructions
Summary: Make sure that we report that changes has been made by
InstSimplify also in situations when only trivially dead instructions
has been removed. If for example a call is removed the call graph must
be updated.
Bug seem to have been introduced by llvm-svn r367173
(commit 02b9e45a7e4b81), since the code in question was rewritten in
that commit.
Reviewers: spatel, chandlerc, foad
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65973
llvm-svn: 368401
The file was modifiedllvm/lib/Transforms/Scalar/InstSimplifyPass.cpp
The file was addedllvm/test/Transforms/InstSimplify/remove-dead-call.ll
Commit d639f6dff1b38459355df7e944fe77ea541fff03 by jvikstrom
[AST] No longer visiting CXXMethodDecl bodies created by compiler when
method was default created.
Summary: Clang generates function bodies and puts them in the AST for
default methods if it is defaulted outside the class definition.
` struct A {
  A &operator=(A &&O);
};
A &A::operator=(A &&O) = default;
`
This will generate a function body for the `A &A::operator=(A &&O)` and
put it in the AST. This body should not be visited if implicit code is
not visited as it is implicit.
This was causing SemanticHighlighting in clangd to generate duplicate
tokens and putting them in weird places.
Reviewers: hokein, ilya-biryukov, gribozavr
Subscribers: mgorny, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65938
llvm-svn: 368402
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang/unittests/Tooling/CMakeLists.txt
The file was addedclang/unittests/Tooling/RecursiveASTVisitorTests/CXXMethodDecl.cpp
Commit ef0c3ddc7f4b240461c4ee701dd6712b8068dbd7 by jvikstrom
[clangd] Fixed printTemplateSpecializationArgs not printing partial
variable specialization arguments.
Summary: printTemplateSpecializationArgs was not printing partial
variable specialization args. This adds an additional If clause where we
check if it's a VariableTemplatePartialSpecializationDecl and returns
the ArgumentLocs if that's the case. Also adds tests for
printTemplateSpecializationArgs in ASTTests.cpp.
Reviewers: hokein, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65926
llvm-svn: 368403
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang-tools-extra/clangd/unittests/PrintASTTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ClangdUnitTests.cpp
Commit 0dba791a25e7e520760e0c5127434a0377bc50db by sam.parker
[ARM][ParallelDSP] Replace SExt uses
As loads are combined and widened, we replaced their sext users operands
whereas we should have been replacing the uses of the sext. I've added a
load of tests, with only a few of them originally causing assertion
failures, the rest improve pattern coverage.
Differential Revision: https://reviews.llvm.org/D65740
llvm-svn: 368404
The file was addedllvm/test/CodeGen/ARM/ParallelDSP/exchange.ll
The file was addedllvm/test/CodeGen/ARM/ParallelDSP/overlapping.ll
The file was modifiedllvm/lib/Target/ARM/ARMParallelDSP.cpp
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/blocks.ll
Commit dced445b24a3b40243f8aaf7ade104cf167afb9d by Raphael Isemann
[lldb][NFC] Use range-based for-loops in IRForTarget
llvm-svn: 368405
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
Commit 474d70b2204ee082854049ad691ccf435863709a by Raphael Isemann
[lldb][NFC] Remove last C string uses from IRForTarget
llvm-svn: 368406
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
Commit e1a5f668b3b517cea34b389c505264510b45ecf9 by Tim Northover
GlobalISel: pack various parameters for lowerCall into a struct.
I've now needed to add an extra parameter to this call twice recently.
Not only is the signature getting extremely unwieldy, but just updating
all of the callsites and implementations is a pain. Putting the
parameters in a struct sidesteps both issues.
llvm-svn: 368408
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMCallLowering.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/X86/X86CallLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MipsCallLowering.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/CallLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMCallLowering.h
The file was modifiedllvm/lib/Target/Mips/MipsCallLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
The file was modifiedllvm/lib/Target/X86/X86CallLowering.h
Commit b65016ddac32dbfbdae8e3afb292275ddf7bd1a7 by ikudrin
[ELF] For VS-style diagnostics, prefer printing full paths in the
header.
The filename part in the message header is used by Visual Studio to fill
Error List so that a user can click on an item and jump to the mentioned
location. If we use only the name of a source file and not the full
path, Visual Studio might be unable to find the right file or, even
worse, show a wrong one.
Differential Revision: https://reviews.llvm.org/D65875
llvm-svn: 368409
The file was modifiedlld/test/ELF/vs-diagnostics-dynamic-relocation.s
The file was modifiedlld/Common/ErrorHandler.cpp
The file was modifiedlld/test/ELF/vs-diagnostics-duplicate-split.s
The file was modifiedlld/test/ELF/Inputs/vs-diagnostics-duplicate3.s
The file was modifiedlld/test/ELF/vs-diagnostics-undefined-hidden.s
The file was modifiedlld/test/ELF/vs-diagnostics-duplicate.s
The file was modifiedlld/test/ELF/vs-diagnostics-undefined-symbol-3.s
Commit 9693d28da8758de36adcf95614447f8ee3943ab1 by grimar
[llvm-readobj] - Remove unwrapOrError(ErrorOr<T> EO) helper.
It is outdated. Using of Expected<> is preferred, also it does not
provide a way to report a file name.
I updated the code to use the modern version of unwrapOrError instead.
Differential revision: https://reviews.llvm.org/D65951
llvm-svn: 368410
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.h
The file was modifiedllvm/tools/llvm-readobj/COFFDumper.cpp
Commit eb485fbc712861e37813ff93d2711c631d162f68 by richard.sandiford
Add SVE opaque built-in types
This patch adds the SVE built-in types defined by the Procedure Call
Standard for the Arm Architecture:
   https://developer.arm.com/docs/100986/0000
It handles the types in all relevant places that deal with built-in
types. At the moment, some of these places bail out with an error,
including:
   (1) trying to generate LLVM IR for the types
  (2) trying to generate debug info for the types
  (3) trying to mangle the types using the Microsoft C++ ABI
  (4) trying to @encode the types in Objective C
(1) and (2) are fixed by follow-on patches but (unlike this patch) they
deal mostly with target-specific LLVM details, so seemed like a
logically separate change.  There is currently no spec for (3) and
(4), so reporting an error seems like the correct behaviour for now.
The intention is that the types will become sizeless types:
   http://lists.llvm.org/pipermail/cfe-dev/2019-June/062523.html
The main purpose of the sizeless type extension is to diagnose
impossible or dangerous uses of the types, such as any that would
require sizeof to have a meaningful defined value.
Until then, the patch sets the alignments of the types to the values
specified in the link above.  It also sets the sizes of the types to
zero, which is chosen to be consistently wrong and shouldn't affect
correctly-written code (i.e. code that would compile even with the
sizeless type extension).
The patch adds the common subset of functionality needed to test the
sizeless type extension on the one hand and to provide SVE intrinsic
functions on the other.  After this patch, the two pieces of work are
essentially independent.
The patch is based on one by Graham Hunter:
   https://reviews.llvm.org/D59245
Differential Revision: https://reviews.llvm.org/D62960
llvm-svn: 368413
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was addedclang/test/CodeGen/aarch64-sve.c
The file was addedclang/test/SemaObjC/aarch64-sve-types.m
The file was addedclang/test/CodeGenObjC/aarch64-sve-types.m
The file was modifiedclang/lib/Serialization/ASTCommon.cpp
The file was addedclang/test/AST/ast-dump-aarch64-sve-types.c
The file was addedclang/test/CodeGenCXX/aarch64-mangle-sve-vectors.cpp
The file was modifiedclang/lib/AST/MicrosoftMangle.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/AST/TypeLoc.cpp
The file was addedclang/test/CodeGenCXX/aarch64-mangle-sve-vectors-msvc.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/AST/NSAPI.cpp
The file was modifiedclang/lib/Basic/Targets/AArch64.cpp
The file was modifiedclang/lib/AST/PrintfFormatString.cpp
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
The file was addedclang/test/CodeGenCXX/aarch64-sve-typeinfo.cpp
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/lib/CodeGen/CodeGenTypes.cpp
The file was addedclang/include/clang/Basic/AArch64SVEACLETypes.def
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/lib/Index/USRGeneration.cpp
The file was addedclang/test/PCH/aarch64-sve-types.c
The file was addedclang/test/Sema/aarch64-sve-types.c
Commit 4ef50a33b12825593a82ca8ea97158b7b71b348e by Raphael Isemann
[lldb][NFC] Clean up logging in IRForTarget
llvm-svn: 368415
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
Commit af1744cd6e8a1435cfc68e99da22bb2d95f37de1 by pavel
Minidump/Windows: Fix module lookup
Summary: When opening a minidump, we were failing to find an executable
because we were searching for i386-unknown-windows, whereas we recognize
the pe/coff files as i386-pc-windows. This fixes the triple computation
code in the minidump parser to match pe/coff, and adds an appropriate
test.
NB: I'm not sure setting the vendor to "pc" is really correct for
arm(64) windows, but right now that seems to match what we do in the
pe/coff case (ArchSpec.cpp:935).
Reviewers: clayborg, amccarth
Subscribers: javed.absar, kristof.beyls, rnk, markmentovai, lldb-commits
Differential Revision: https://reviews.llvm.org/D65955
llvm-svn: 368416
The file was addedlldb/lit/Minidump/Windows/find-module.test
The file was addedlldb/lit/Minidump/Windows/Inputs/find-module.dmp.yaml
The file was addedlldb/lit/Minidump/Windows/Inputs/find-module.exe.yaml
The file was modifiedlldb/source/Plugins/Process/minidump/MinidumpParser.cpp
Commit 94fbbf712e906464f5f3abbeabcfcbc05d5352ec by Raphael Isemann
[lldb] Refactor guard variable checks in IRForTarget
Not NFC as this will probably fix a wrong guard variable check on
Windows. Not sure though what Windows test can now be safely enabled.
llvm-svn: 368417
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
Commit 01eb869114bd307e879cdbf7607e7fb546c7d31a by Tim Northover
AArch64: support TLS on Darwin platforms in GlobalISel.
All TLS access on Darwin is in the "general dynamic" form where we call
a function to resolve the address, so implementation is pretty simple.
llvm-svn: 368418
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-tls-darwin.ll
Commit 339b5d1ac2ed525f51681517f84a925fdc9bf92e by Raphael Isemann
[lldb][NFC] Fix warning about missing switch cases
These types were recently added in D62960 but it seems the patch didn't
consider LLDB which causes a bunch of compiler warnings about missing
enum values. It seems this feature isn't fully implemented yet, so I
don't think we can write any test for this. For now lets just add the
missing types to our usual list of unsupported types.
llvm-svn: 368424
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit ac42e741e01b0c2d91c3ae1d92a5b9685a05baf7 by Raphael Isemann
[lldb][NFC] Unify InstrList typedef in IRForTarget
llvm-svn: 368425
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
Commit e3d81fdf6f019c4774f8f513d880fcdd4f3a0239 by grimar
[llvm-readobj] - Remove deprecated unwrapOrError(Expected<T> EO).
This patch changes the code to use a modern unwrapOrError(StringRef
Input, Expected<T> EO) version that contains the input source name and
removes the deprecated version.
Differential revision: https://reviews.llvm.org/D65946
llvm-svn: 368428
The file was modifiedllvm/test/tools/llvm-readobj/elf-packed-relocs-error3.s
The file was modifiedllvm/tools/llvm-readobj/ARMEHABIPrinter.h
The file was modifiedllvm/test/tools/llvm-readobj/elf-packed-relocs-error4.s
The file was modifiedllvm/test/tools/llvm-readobj/elf-packed-relocs-error1.s
The file was modifiedllvm/test/tools/llvm-readobj/elf-packed-relocs-error2.s
The file was modifiedllvm/test/Object/invalid.test
The file was modifiedllvm/tools/llvm-readobj/MachODumper.cpp
The file was modifiedllvm/tools/llvm-readobj/ObjDumper.cpp
The file was modifiedllvm/test/tools/llvm-readobj/elf-packed-relocs-error5.s
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.h
The file was modifiedllvm/test/tools/yaml2obj/elf-sht-symtab-shndx.yaml
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/tools/llvm-readobj/COFFDumper.cpp
Commit 8b49173a8232cd20db01d4701bdaac3bcef3bcfe by hokein
[clangd] Use raw rename functions to implement the rename.
Summary: The API provided by refactoring lib doesn't provide enough
flexibility to get clangd's rename to behave as we expect. Instead, we
replace it with the low-level rename functions, which give us more
control.
Bonus:
- performance, previously we visit the TU to find all occurrences,
now we just visit top-level decls from main file;
- fix a bug where we wrongly filter out the main file replacement due to
the
different relative/absolute file path;
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, jfb, kadircet,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65936
llvm-svn: 368429
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/test/rename.test
Commit 5640860171e400fe4eb01816dc2a1a7d12afd1e2 by grimar
[llvm-readobj] - Remove `error(llvm::Expected<T> &&E)`
This is a bit strange method. It works like a unwrapOrError, but named
error. It does not report an Input name. I removed it.
Differential revision: https://reviews.llvm.org/D66000
llvm-svn: 368430
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.h
The file was modifiedllvm/tools/llvm-readobj/WasmDumper.cpp
The file was modifiedllvm/tools/llvm-readobj/COFFDumper.cpp
Commit 3cdd586be28f7dfe400f1186d1e3d8c31c625fb8 by pablo.barrio
[AArch64] Set pref. func. align to 8 bytes on Neoverse E1 & Cortex-A65
Summary: The Arm Neoverse E1 and Cortex-A65 Software Optimization Guide
[1][2], Section "4.7 Branch instruction alignment" state:
"It is preferable for branch targets, including subroutine entry points,
to be placed on aligned 64-bit boundaries to maximize instruction fetch
efficiency."
This patch sets the preferred function alignment on Neoverse E1 and
Cortex-A65 to 2^3=8B. This was already the case in some Cortex-A CPUs
such as Cortex-A53.
[1]
https://developer.arm.com/docs/swog466751/latest/arm-neoversetm-e1-core-software-optimization-guide
[2]
https://developer.arm.com/docs/swog010045/latest/arm-cortex-a65-core-software-optimization-guide
Reviewers: dmgreen, fhahn, samparker
Subscribers: javed.absar, kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65937
llvm-svn: 368431
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.cpp
The file was modifiedllvm/test/CodeGen/AArch64/preferred-function-alignment.ll
Commit cbec9af6bfb0df5ff19e914f83cc744e0ff5e466 by Andrea_DiBiagio
[MCA] Add flag -show-encoding to llvm-mca.
Flag -show-encoding enables the printing of instruction encodings as
part of the the instruction info view.
Example (with flags -mtriple=x86_64--  -mcpu=btver2):
Instruction Info:
[1]: #uOps
[2]: Latency
[3]: RThroughput
[4]: MayLoad
[5]: MayStore
[6]: HasSideEffects (U)
[7]: Encoding Size
[1]    [2]    [3]    [4]    [5]    [6]    [7]    Encodings:   
Instructions:
1      2     1.00                         4     c5 f0 59 d0    vmulps 
%xmm0, %xmm1, %xmm2
1      4     1.00                         4     c5 eb 7c da    vhaddps
%xmm2, %xmm2, %xmm3
1      4     1.00                         4     c5 e3 7c e3    vhaddps
%xmm3, %xmm3, %xmm4
In this example, column Encoding Size is the size in bytes of the
instruction encoding. Column Encodings reports the actual instruction
encodings as byte sequences in hex (objdump style).
The computation of encodings is done by a utility class named
mca::CodeEmitter.
In future, I plan to expose the CodeEmitter to the instruction builder,
so that information about instruction encoding sizes can be used by the
simulator. That would be a first step towards simulating the throughput
from the decoders in the hardware frontend.
Differential Revision: https://reviews.llvm.org/D65948
llvm-svn: 368432
The file was modifiedllvm/docs/CommandGuide/llvm-mca.rst
The file was addedllvm/lib/MCA/CodeEmitter.cpp
The file was modifiedllvm/lib/MCA/CMakeLists.txt
The file was modifiedllvm/tools/llvm-mca/Views/InstructionInfoView.cpp
The file was modifiedllvm/tools/llvm-mca/llvm-mca.cpp
The file was addedllvm/include/llvm/MCA/CodeEmitter.h
The file was modifiedllvm/tools/llvm-mca/Views/InstructionInfoView.h
The file was addedllvm/test/tools/llvm-mca/X86/show-encoding.s
Commit 242c5a70d48805b34cd301433e4d739763ad15de by simon
[Mips][Codegen] Fix fast-isel mixing of FGR64 and AFGR64 registers
Fast-isel was picking AFGR64 register class for processing call
arguments when +fp64 options was used. We simply check is option +fp64
is used and pick appropriate register.
Patch by Mirko Brkusanin.
Differential Revision: https://reviews.llvm.org/D65886
llvm-svn: 368433
The file was modifiedllvm/lib/Target/Mips/MipsFastISel.cpp
The file was addedllvm/test/CodeGen/Mips/copy-fp64.ll
Commit 1429b7ed9e106d8e281ba83fd8bd6a7c0fbefd0d by jvikstrom
[clangd] Added highlighting for constructor initializers.
Summary: Constructor initializers were not being highlighted. This adds
highlighting for them by using TraverseConstructorInitializer. Uses the
Traverse* because there is no visit for CXXCtorInitializer.
Reviewers: hokein, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66001
llvm-svn: 368434
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
Commit be39e398e98da62a3e88e480a5f2db54eaaa6175 by jh7370
[llvm-readelf]Print filename for multiple inputs and fix formatting
regression
This patch addresses two closely related bugs:
https://bugs.llvm.org/show_bug.cgi?id=42930 and
https://bugs.llvm.org/show_bug.cgi?id=42931.
GNU readelf prints the file name for every input unless there is only
one input and that input is not an archive. This patch adds the printing
for multiple inputs. A previous change did it for archives, but
introduced a regression with GNU compatibility for single-output
formatting, resulting in a spurious initial blank line. This is fixed in
this patch too.
Reviewed by: grimar, MaskRay
Differential Revision: https://reviews.llvm.org/D65953
llvm-svn: 368435
The file was modifiedllvm/test/tools/llvm-readobj/stack-sizes.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-dynamic-malformed.test
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.cpp
The file was addedllvm/test/tools/llvm-readobj/file-name.test
Commit 8616a7702636b17deebf182146a84d3f2458b94d by Andrea_DiBiagio
[MCA] Fix MSVC 19.16 build with libc++
MSVC (19.16) wants to see the definition of Instruction in
`std::pair<unsigned, const Instruction &> SourceRef` to decide if it is
assignable.
Patch by Orivej Desh.
Differential Revision: https://reviews.llvm.org/D65844
llvm-svn: 368436
The file was modifiedllvm/include/llvm/MCA/SourceMgr.h
Commit 991834a51616799456a5e65cefde2f41c350aca2 by spatel
[GlobalOpt] prevent crashing on large integer types (PR42932)
This is a minimal fix (copy the predicate for the assert) to prevent the
crashing seen in: https://bugs.llvm.org/show_bug.cgi?id=42932
...when converting a constant integer of arbitrary width to uint64_t.
Differential Revision: https://reviews.llvm.org/D65970
llvm-svn: 368437
The file was addedllvm/test/Transforms/GlobalOpt/large-int-crash.ll
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
Commit 60394f47b0cc5b7c1dc6c059118c576148578672 by llvm-dev
[X86][SSE] Swap X86ISD::BLENDV inputs with an inverted selection mask
(PR42825)
As discussed on PR42825, if we are inverting the selection mask we can
just swap the inputs and avoid the inversion.
Differential Revision: https://reviews.llvm.org/D65522
llvm-svn: 368438
The file was modifiedllvm/test/CodeGen/X86/nontemporal-loads.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/combine-sse41-intrinsics.ll
Commit dd3b6498b016833c48513efbfdd19a5fa43aa07e by whitney.uwaterloo
Title: Loop Cache Analysis Summary: Implement a new analysis to estimate
the number of cache lines required by a loop nest. The analysis is
largely based on the following paper:
Compiler Optimizations for Improving Data Locality By: Steve Carr,
Katherine S. McKinley, Chau-Wen Tseng
http://www.cs.utexas.edu/users/mckinley/papers/asplos-1994.pdf The
analysis considers temporal reuse (accesses to the same memory location)
and spatial reuse (accesses to memory locations within a cache line).
For simplicity the analysis considers memory accesses in the innermost
loop in a loop nest, and thus determines the number of cache lines used
when the loop L in loop nest LN is placed in the innermost position.
The result of the analysis can be used to drive several transformations.
As an example, loop interchange could use it determine which loops in a
perfect loop nest should be interchanged to maximize cache reuse.
Similarly, loop distribution could be enhanced to take into
consideration cache reuse between arrays when distributing a loop to
eliminate vectorization inhibiting dependencies.
The general approach taken to estimate the number of cache lines used by
the memory references in the inner loop of a loop nest is:
Partition memory references that exhibit temporal or spatial reuse into
reference groups. For each loop L in the a loop nest LN: a. Compute the
cost of the reference group b. Compute the 'cache cost' of the loop nest
by summing up the reference groups costs For further details of the
algorithm please refer to the paper. Authored By: etiotto Reviewers:
hfinkel, Meinersbur, jdoerfert, kbarton, bmahjour, anemet, fhahn
Reviewed By: Meinersbur Subscribers: reames, nemanjai, MaskRay, wuzish,
Hahnfeld, xusx595, venkataramanan.kumar.llvm, greened, dmgreen,
steleman, fhahn, xblvaOO, Whitney, mgorny, hiraditya, mgrang, jsji,
llvm-commits Tag: LLVM Differential Revision:
https://reviews.llvm.org/D63459
llvm-svn: 368439
The file was addedllvm/test/Analysis/LoopCacheAnalysis/PowerPC/matvecmul.ll
The file was addedllvm/test/Analysis/LoopCacheAnalysis/PowerPC/single-store.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was addedllvm/include/llvm/Analysis/LoopCacheAnalysis.h
The file was addedllvm/test/Analysis/LoopCacheAnalysis/PowerPC/stencil.ll
The file was addedllvm/lib/Analysis/LoopCacheAnalysis.cpp
The file was modifiedllvm/lib/Analysis/CMakeLists.txt
The file was addedllvm/test/Analysis/LoopCacheAnalysis/PowerPC/loads-store.ll
The file was addedllvm/test/Analysis/LoopCacheAnalysis/PowerPC/matmul.ll
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was addedllvm/test/Analysis/LoopCacheAnalysis/PowerPC/lit.local.cfg
Commit 8819a734ae51de245dd73515b25d7159275e06e6 by benny.kra
[sanitizer] Update symbolizer/scripts/global_symbols.txt
llvm-svn: 368440
The file was modifiedcompiler-rt/lib/sanitizer_common/symbolizer/scripts/global_symbols.txt
Commit 6349ce5ca52790ed98a7fee4fda8e8d71afa7a01 by Jinsong Ji
[MachinePipeliner] Avoid indeterminate order in FuncUnitSorter
Summary: This is exposed by adding a new testcase in PowerPC in
https://reviews.llvm.org/rL367732
The testcase got different output on different platform, hence breaking
buildbots.
The problem is that we get differnt FuncUnitOrder when calculateResMII.
The root cause is: 1. Two MachineInstr might get SAME priority(MFUsx)
from minFuncUnits. 2. Current comparison operator() will return `MFUs1 >
MFUs2`. 3. We use iterators for MachineInstr, so the input to
FuncUnitSorter
  might be different on differnt platform due to the iterator nature.
So for two MI with same MFU, their order is actually depends on the
iterator order, which is platform (implemtation) dependent.
This is risky, and may cause cross-compiling problems.
The fix is to check make sure we assign a determine order when they are
equal.
Reviewers: bcahoon, hfinkel, jmolloy
Subscribers: nemanjai, hiraditya, MaskRay, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65992
llvm-svn: 368441
The file was addedllvm/test/CodeGen/PowerPC/sms-cpy-1.ll
The file was modifiedllvm/lib/CodeGen/MachinePipeliner.cpp
Commit db7d874b712d173b50b5644bd3c5648de1bb39ca by Raphael Isemann
[lldb][NFC] Remove unused IRForTarget::BuildRelocation
llvm-svn: 368442
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
Commit 0b4ae34c2f347014169fe772a783d2342358cb8b by spatel
[DAGCombiner] remove redundant fold for X*1.0; NFC
This is handled at node creation time (similar to X/1.0) after: rL357029
(no fast-math-flags needed)
llvm-svn: 368443
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 19351b24caec581476102d35c061a4e4a516c60c by Raphael Isemann
[lldb][NFC] Assert on invalid cursors positions when creating
CompletionRequest
Before we just triggered undefined behavior on invalid positions.
llvm-svn: 368444
The file was modifiedlldb/source/Utility/CompletionRequest.cpp
Commit 69ab7a0e4552bd7e475b990bd4c8a75f3b2671c9 by spatel
[AArch64][x86] add tests for pessimization of expression with X*2.0
(PR32939); NFC
llvm-svn: 368445
The file was modifiedllvm/test/CodeGen/AArch64/fadd-combines.ll
The file was modifiedllvm/test/CodeGen/X86/fadd-combines.ll
Commit c1dafd7b534c07b4609ff326e0b7e9cf7176a93a by xazax.hun
More warnings regarding gsl::Pointer and gsl::Owner attributes
Differential Revision: https://reviews.llvm.org/D65120
llvm-svn: 368446
The file was modifiedclang/test/Sema/warn-lifetime-analysis-nocfg.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/test/Analysis/inner-pointer.cpp
Commit f6a5699392d834930c83979d9dba6cf621afa2f3 by david.bolvansky
[NFC] Added tests for D65898
llvm-svn: 368447
The file was modifiedllvm/test/Transforms/InstCombine/fabs-copysign.ll
Commit f8744ab57a79d2ae71efcdba8c2c8ae35577d268 by mmoroz
[compiler-rt] FuzzedDataProvider: use C++ headers only instead of a
C/C++ mix.
Reviewers: Dor1s
Reviewed By: Dor1s
Subscribers: dberris, delcypher, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D66017
llvm-svn: 368448
The file was modifiedcompiler-rt/include/fuzzer/FuzzedDataProvider.h
Commit c6c00cdf2e7e9e25bcfb876d2424d3e6dcfacd90 by e.menezes
[Transforms] Rename hasUnaryFloatFn() and getUnaryFloatFn() (NFC)
Rename `hasUnaryFloatFn()` to `hasFloatFn()` and `getUnaryFloatFn()` to
`getFloatFnName()`.
llvm-svn: 368449
The file was modifiedllvm/include/llvm/Transforms/Utils/BuildLibCalls.h
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
The file was modifiedllvm/lib/Transforms/Utils/BuildLibCalls.cpp
Commit 3caf9af6c6fcb2f6ddf05de34d4809326e8dd90f by whitney.uwaterloo
Title: Improve Loop Cache Analysis LIT tests. Summary: Make LIT tests
unsensitive to analysis output order. Authored By: etiotto
llvm-svn: 368450
The file was modifiedllvm/test/Analysis/LoopCacheAnalysis/PowerPC/matmul.ll
The file was modifiedllvm/test/Analysis/LoopCacheAnalysis/PowerPC/single-store.ll
The file was modifiedllvm/test/Analysis/LoopCacheAnalysis/PowerPC/matvecmul.ll
The file was modifiedllvm/test/Analysis/LoopCacheAnalysis/PowerPC/stencil.ll
The file was modifiedllvm/test/Analysis/LoopCacheAnalysis/PowerPC/loads-store.ll
Commit 27f6f2f88bf90d987a32e43cd93b88e5a71fb498 by sunil_srivastava
Print reasonable representations of type names in llvm-nm, readelf and
readobj
For type values that do not have proper names, print reasonable
representation in llvm-nm, llvm-readobj and llvm-readelf, matching GNU
tools.s
Fixes PR41713.
Differential Revision: https://reviews.llvm.org/D65537
llvm-svn: 368451
The file was modifiedllvm/include/llvm/Object/ELFObjectFile.h
The file was modifiedllvm/lib/Object/ELFObjectFile.cpp
The file was modifiedllvm/test/tools/llvm-readobj/elf-symbol-types.test
The file was modifiedllvm/test/tools/yaml2obj/symbol-type.yaml
The file was modifiedllvm/test/tools/llvm-nm/format-sysv-type.test
Commit 04c0862aa1bc139c1ebeadc925dd7b1f8ff07910 by e.menezes
[Transforms] Fix comments for hasFloatFn() and getFloatFnName() (NFC)
llvm-svn: 368452
The file was modifiedllvm/include/llvm/Transforms/Utils/BuildLibCalls.h
Commit 8a2121417486f6d58ad6f5e459028c1644678141 by e.menezes
[Transforms] Add a emitBinaryFloatFnCall() version that fetches the
function name from TLI
Add the counterpart to a similar function for single operands.
Differential revision: https://reviews.llvm.org/D65976
llvm-svn: 368453
The file was modifiedllvm/include/llvm/Transforms/Utils/BuildLibCalls.h
The file was modifiedllvm/lib/Transforms/Utils/BuildLibCalls.cpp
Commit 7c3c8ba8daf40534e09f6fe8701b723e25e4e2dc by xazax.hun
Even more warnings utilizing gsl::Owner/gsl::Pointer annotations
Differential Revision: https://reviews.llvm.org/D65127
llvm-svn: 368454
The file was modifiedclang/test/Sema/warn-lifetime-analysis-nocfg.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
Commit 0c1da4a796904c164233e2a5d685f676a731e922 by sam.mccall
Rename PCH/leakfiles test so it runs on bots.
llvm-svn: 368455
The file was removedclang/test/PCH/leakfiles
The file was addedclang/test/PCH/leakfiles.test
Commit 59fbe516bd036e224b622295ab57bac728a7d8e5 by e.menezes
[InstCombine] Refactor optimizeExp2() (NFC)
Refactor `LibCallSimplifier::optimizeExp2()` to use the new
`emitBinaryFloatFnCall()` version that fetches the function name from
TLI.
llvm-svn: 368457
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Commit 1c5542aa9d65dbc345e90802ba6966ba31a98f45 by daniel_l_sanders
[TableGen] Add "InitValue": Handle operands with set bit values in
decoder methods
Summary: The problem:
When an operand had bits explicitly set to "1" (as in the InitValue.td
test case attached), the decoder was ignoring those bits, and the
DecoderMethod was receiving an input where the bits were still zero.
The solution:
We added an "InitValue" variable that stores the initial value of the
operand based on what bits were explicitly initialized to 1 in TableGen
code. The generated decoder code then uses that initial value to
initialize the "tmp" variable, then calls fieldFromInstruction to read
the values for the remaining bits that were left unknown in TableGen.
This is mainly useful when there are variations of an instruction that
differ based on what bits are set in the operands, since this change
makes it possible to access those bits in a DecoderMethod. The
DecoderMethod can use those bits to know how to handle the input.
Patch by Nicolas Guillemot
Reviewers: craig.topper, dsanders, fhahn
Reviewed By: dsanders
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D63741
llvm-svn: 368458
The file was addedllvm/test/TableGen/FixedLenDecoderEmitter/InitValue.td
The file was modifiedllvm/utils/TableGen/FixedLenDecoderEmitter.cpp
Commit 2bf522aea62e4fb653cacb68072167d25149099e by xazax.hun
Fix a build bot failure and multiple warnings instances for range base
for loops
llvm-svn: 368459
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/test/Sema/warn-lifetime-analysis-nocfg.cpp
Commit 665e9676c257124b97a469b98a05c42df9b99d1d by diegoaat97
[clang-format] Add link to source code in file definitions
Two command line options have been added to clang-doc.
--repository=<string>       - URL of repository that hosts code; used
for links to definition locations.
--source-root=<string>      - Directory where processed files are
stored. Links to definition locations will only be generated if the file
is in this dir.
If the file is in the source-root and a repository options is passed; a
link to the source code will be rendered by the HTML generator.
Differential Revision: https://reviews.llvm.org/D65483
llvm-svn: 368460
The file was modifiedclang-tools-extra/clang-doc/Mapper.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.cpp
The file was modifiedclang-tools-extra/clang-doc/Mapper.h
The file was modifiedclang-tools-extra/clang-doc/Serialize.cpp
The file was modifiedclang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
The file was modifiedclang-tools-extra/unittests/clang-doc/SerializeTest.cpp
The file was modifiedclang-tools-extra/clang-doc/BitcodeWriter.cpp
The file was modifiedclang-tools-extra/docs/clang-doc.rst
The file was modifiedclang-tools-extra/clang-doc/tool/ClangDocMain.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.h
The file was modifiedclang-tools-extra/clang-doc/HTMLGenerator.cpp
The file was modifiedclang-tools-extra/clang-doc/BitcodeReader.cpp
The file was modifiedclang-tools-extra/clang-doc/Serialize.h
Commit 3653aeeffa199dd4c22e38424ea5cdfb4aa01349 by mmoroz
[libFuzzer] Merge: print stats after reading the output corpus dir.
Summary: The purpose is to be able to extract the number of new edges
added to the original (i.e. output) corpus directory after doing the
merge. Use case example: in ClusterFuzz, we do merge after every fuzzing
session, to avoid uploading too many corpus files, and we also record
coverage stats at that point. Having a separate line indicating stats
after reading the initial output corpus directory would make the stats
extraction easier for both humans and parsing scripts.
Context: https://github.com/google/clusterfuzz/issues/802.
Reviewers: morehouse, hctim
Reviewed By: hctim
Subscribers: delcypher, #sanitizers, llvm-commits, kcc
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D66020
llvm-svn: 368461
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerMerge.cpp
Commit fd85c894eb6889f2a1d1a175fc7d89e91ae1c9e1 by xazax.hun
Revert Fix a build bot failure and multiple warnings instances for range
base for loops
This reverts r368459 (git commit
2bf522aea62e4fb653cacb68072167d25149099e)
llvm-svn: 368462
The file was modifiedclang/test/Sema/warn-lifetime-analysis-nocfg.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
Commit 67a7530b472763a3a56c100f3a0c12fe26b0fabb by xazax.hun
Revert Even more warnings utilizing gsl::Owner/gsl::Pointer annotations
This reverts r368454 (git commit
7c3c8ba8daf40534e09f6fe8701b723e25e4e2dc)
llvm-svn: 368463
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/test/Sema/warn-lifetime-analysis-nocfg.cpp
Commit 4fe911d9dd3740aeace63125489eb59eee0ad17e by pozulp.llvm
[Docs][llvm-strip] Add help text to llvm-strip rst doc
Summary: Addresses https://bugs.llvm.org/show_bug.cgi?id=42383
Reviewers: jhenderson, alexshap, rupprecht
Reviewed By: jhenderson
Subscribers: wolfgangp, jakehehrlich, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65384
llvm-svn: 368464
The file was removedllvm/docs/CommandGuide/llvm-strip.md
The file was addedllvm/docs/CommandGuide/llvm-strip.rst
Commit 7a0f2dc5a4c0c5a5b801d8d1669fc1aa43121d70 by hahnjo
[libomptarget] Remove duplicate RTLRequiresFlags per device
We have one global RTLs.RequiresFlags, I don't see a need to make a copy
per device that the runtime manages. This was problematic anyway because
the copy happened during the first __tgt_register_lib(). This made it
impossible to call __tgt_register_requires() from normal user funtions
for testing. Hence, this change also fixes
unified_shared_memory/shared_update.c for older versions of Clang that
don't call __tgt_register_requires() before
__tgt_register_lib().
Differential Revision: https://reviews.llvm.org/D66019
llvm-svn: 368465
The file was modifiedopenmp/libomptarget/src/device.h
The file was modifiedopenmp/libomptarget/src/device.cpp
The file was modifiedopenmp/libomptarget/src/api.cpp
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
The file was modifiedopenmp/libomptarget/src/rtl.cpp
Commit 353aa77a57491e2bfbebd55378940b1003e5bc72 by peter
gn build: Merge r368358.
llvm-svn: 368466
The file was addedllvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
Commit 13dc20ddaed1b9d71ef904e6f736449fc73a5f0b by peter
gn build: Merge r368392.
llvm-svn: 368467
The file was modifiedllvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
Commit 66ad48e97d32e9e4f6883975e82ce44017af5cd0 by peter
gn build: Merge r368402.
llvm-svn: 368468
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Tooling/BUILD.gn
Commit 57e2d74729f255ca1b23f0c70ad373fea27373bc by peter
gn build: Merge r368439.
llvm-svn: 368469
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn
Commit 41ac83de6aded1daf983f86a9bf0409d4e383d84 by peter
gn build: Merge r368432.
llvm-svn: 368470
The file was modifiedllvm/utils/gn/secondary/llvm/lib/MCA/BUILD.gn
Commit a5af238343e77f405cbed7b751f24fe6c3b101b7 by Saleem Abdulrasool
CodeGen: ensure 8-byte aligned String Swift CF ABI
CFStrings should be 8-byte aligned when built for the Swift CF runtime
ABI as the atomic CF info field must be properly aligned.  This is a
problem on 32-bit platforms which would give the structure 4-byte
alignment rather than 8-byte alignment.
llvm-svn: 368471
The file was modifiedclang/test/CodeGen/cf-runtime-abi.c
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
Commit cace571c91ce64e42c09f350dfa7c328b89c9862 by mitchphillips
Revert "[asan_symbolize] Fix bug where the frame counter was not
incremented."
This reverts commit 52a36fae2a3f8560a5be690a67304db5edafc3fe.
This commit broke the sanitizer_android buildbot. See comments at
https://reviews.llvm.org/rL368373 for more details.
llvm-svn: 368472
The file was removedcompiler-rt/test/asan/TestCases/Posix/asan_symbolize_script/plugin_wrong_frame_number_bug.py
The file was removedcompiler-rt/test/asan/TestCases/Posix/asan_symbolize_script/plugin_wrong_frame_number_bug.cpp
The file was modifiedcompiler-rt/lib/asan/scripts/asan_symbolize.py
Commit 3de981313c9b18c69203391a0789ba792545d58d by pozulp.llvm
[Docs][llvm-strip] Fix an indentation issue.
llvm-svn: 368473
The file was modifiedllvm/docs/CommandGuide/llvm-strip.rst
Commit 867dbf288309b30ff0d3301c7f717c2a28ca1808 by douglas.yung
Update test to explicity test with -fintegrated-as and
-fno-integrated-as and to expect warnings when appropriate.
Reviewed by: thakis
Differential Revision: https://reviews.llvm.org/D65974
llvm-svn: 368474
The file was modifiedclang/test/Driver/as-options.s
Commit 50fcf7285eeb001d751eadac5d001a0e216fd701 by rnk
Don't diagnose errors when a file matches an include component
This regressed in r368322, and was reported as PR42948 and on the
mailing list. The fix is to ignore the specific error code for this
case. The problem doesn't seem to reproduce on Windows, where a
different error code is used instead.
llvm-svn: 368475
The file was addedclang/test/Preprocessor/Inputs/include-file-and-dir/incdir/file-and-dir/foo.h
The file was addedclang/test/Preprocessor/Inputs/include-file-and-dir/file-and-dir
The file was modifiedclang/lib/Lex/HeaderSearch.cpp
The file was addedclang/test/Preprocessor/include-header-file-and-dir.c
Commit 8e2842cc859b0557e14955b78abe214bc1a0c3b0 by matthew.mcgovern
[sanitizers] MSVC warning disable for clean build     -
https://reviews.llvm.org/D66023
llvm-svn: 368476
The file was modifiedcompiler-rt/lib/builtins/fixunsxfsi.c
The file was modifiedcompiler-rt/lib/builtins/udivmoddi4.c
The file was modifiedcompiler-rt/lib/builtins/fixxfdi.c
The file was modifiedcompiler-rt/lib/builtins/emutls.c
The file was modifiedcompiler-rt/lib/builtins/fixunsxfdi.c
Commit 1b104388752f66191c867380efde7bbf1f13ca80 by isanbard
[MC] Don't recreate a label if it's already used
Summary: This patch keeps track of MCSymbols created for blocks that
were referenced in inline asm. It prevents creating a new symbol which
doesn't refer to the block.
Inline asm may have a reference to a label. The asm parser however
doesn't recognize it as a label and tries to create a new symbol. The
result being that instead of the original symbol (e.g. ".Ltmp0") the
parser replaces it in the inline asm with the new one (e.g. ".Ltmp00")
without updating it in the symbol table. So the machine basic block
retains the "old" symbol (".Ltmp0"), but the inline asm uses the new one
(".Ltmp00").
Reviewers: nickdesaulniers, craig.topper
Subscribers: nathanchance, javed.absar, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65304
llvm-svn: 368477
The file was modifiedllvm/include/llvm/MC/MCContext.h
The file was addedllvm/test/CodeGen/X86/callbr-asm-label-addr.ll
The file was modifiedllvm/test/CodeGen/X86/callbr-asm.ll
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was addedllvm/test/CodeGen/AArch64/callbr-asm-label.ll
The file was modifiedllvm/lib/MC/MCContext.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
Commit 79176a2542d03107b90613c84f18ccba41ad8fa8 by isanbard
[CodeGen] Require a name for a block addr target
Summary: A block address may be used in inline assembly. In which case
it requires a name so that the asm parser has something to parse.
Creating a name for every block address is a large hammer, but is
necessary because at the point when a temp symbol is created we don't
necessarily know if it's used in inline asm. This ensures that it exists
regardless.
Reviewers: nickdesaulniers, craig.topper
Subscribers: nathanchance, javed.absar, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65352
llvm-svn: 368478
The file was modifiedllvm/lib/CodeGen/MachineModuleInfo.cpp
The file was addedllvm/test/CodeGen/X86/callbr-asm-obj-file.ll
The file was addedllvm/test/CodeGen/AArch64/callbr-asm-obj-file.ll
Commit 6cb05ca04444061616bae1897cdba1655ef77c19 by craig.topper
[X86] Remove custom handling for extloads from LowerLoad.
We don't appear to need this with widening legalization.
llvm-svn: 368479
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 96a2b25bcb6eff1f8a5b406dbeba88c9b579c3ef by martin
Fix compilation after SVN r368476
That revision broke compilation with this error:
lib/builtins/fixunsxfdi.c:13:2: error: unterminated conditional
directive
#if !_ARCH_PPC
llvm-svn: 368480
The file was modifiedcompiler-rt/lib/builtins/fixunsxfdi.c
Commit 11c1847237ce4977225ddae4bf33f2acb9af41f7 by echristo
Revert "[sanitizers] MSVC warning disable for clean build" and follow-up
that tried to fix the build as it's still broken.
This reverts commit 368476 and 368480.
llvm-svn: 368481
The file was modifiedcompiler-rt/lib/builtins/fixxfdi.c
The file was modifiedcompiler-rt/lib/builtins/udivmoddi4.c
The file was modifiedcompiler-rt/lib/builtins/emutls.c
The file was modifiedcompiler-rt/lib/builtins/fixunsxfsi.c
The file was modifiedcompiler-rt/lib/builtins/fixunsxfdi.c
Commit 06431b2b047a8f135dd4f33cabe612d8858fab18 by sam.mccall
[clangd] Give absolute path to clang-tidy and include-fixer. HintPath
should always be absolute, some URI schemes care.
llvm-svn: 368482
The file was modifiedclang-tools-extra/clangd/ClangdUnit.cpp
Commit 20ead38653f0b872e85fcd58fbeb9e88647018c8 by twoh
Test commit.
llvm-svn: 368483
The file was modifiedllvm/CMakeLists.txt
Commit dc30049cb36089e80901e49815a8d51f470246b6 by diegoaat97
[clang-doc] Generate an HTML index file
clang-doc now generates a file that contains only an index to all the
infos that can be used as the landing page for the generated website.
Differential Revision: https://reviews.llvm.org/D65918
llvm-svn: 368484
The file was modifiedclang-tools-extra/clang-doc/HTMLGenerator.cpp
Commit 6c99bb2d9a421d49473621501275bb8f01460b7b by twoh
Revert the test commit
llvm-svn: 368485
The file was modifiedllvm/CMakeLists.txt
Commit db2f17d3628375629d9e6d0e92fde0f2ba3f6bdb by echristo
Remove variable only used in an assert.
llvm-svn: 368486
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e9a57c2b23c22a4cc14e858987bfb0533f85a0cb by daniel_l_sanders
[globalisel] Add G_SEXT_INREG
Summary: Targets often have instructions that can sign-extend certain
cases faster than the equivalent shift-left/arithmetic-shift-right. Such
cases can be identified by matching a shift-left/shift-right pair but
there are some issues with this in the context of combines. For example,
suppose you can sign-extend 8-bit up to 32-bit with a target extend
instruction.
%1:_(s32) = G_SHL %0:_(s32), i32 24 # (I've inlined the G_CONSTANT for
brevity)
%2:_(s32) = G_ASHR %1:_(s32), i32 24
%3:_(s32) = G_ASHR %2:_(s32), i32 1 would reasonably combine to:
%1:_(s32) = G_SHL %0:_(s32), i32 24
%2:_(s32) = G_ASHR %1:_(s32), i32 25 which no longer matches the
special case. If your shifts and extend are equal cost, this would break
even as a pair of shifts but if your shift is more expensive than the
extend then it's cheaper as:
%2:_(s32) = G_SEXT_INREG %0:_(s32), i32 8
%3:_(s32) = G_ASHR %2:_(s32), i32 1 It's possible to match the
shift-pair in ISel and emit an extend and ashr. However, this is far
from the only way to break this shift pair and make it hard to match the
extends. Another example is that with the right known-zeros, this:
%1:_(s32) = G_SHL %0:_(s32), i32 24
%2:_(s32) = G_ASHR %1:_(s32), i32 24
%3:_(s32) = G_MUL %2:_(s32), i32 2 can become:
%1:_(s32) = G_SHL %0:_(s32), i32 24
%2:_(s32) = G_ASHR %1:_(s32), i32 23
All upstream targets have been configured to lower it to the current
G_SHL,G_ASHR pair but will likely want to make it legal in some cases to
handle their faster cases.
To follow-up: Provide a way to legalize based on the constant. At the
moment, I'm thinking that the best way to achieve this is to provide the
MI in LegalityQuery but that opens the door to breaking core principles
of the legalizer (legality is not context sensitive). That said, it's
worth noting that looking at other instructions and acting on that
information doesn't violate this principle in itself. It's only a
violation if, at the end of legalization, a pass that checks legality
without being able to see the context would say an instruction might not
be legal. That's a fairly subtle distinction so to give a concrete
example, saying %2 in:
%1 = G_CONSTANT 16
%2 = G_SEXT_INREG %0, %1 is legal is in violation of that principle if
the legality of %2 depends on %1 being constant and/or being 16.
However, legalizing to either:
%2 = G_SEXT_INREG %0, 16 or:
%1 = G_CONSTANT 16
%2:_(s32) = G_SHL %0, %1
%3:_(s32) = G_ASHR %2, %1 depending on whether %1 is constant and 16
does not violate that principle since both outputs are genuinely legal.
Reviewers: bogner, aditya_nandakumar, volkan, aemerson, paquette, arsenm
Subscribers: sdardis, jvesely, wdng, nhaehnle, rovka, kristof.beyls,
javed.absar, hiraditya, jrtc27, atanasyan, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D61289
llvm-svn: 368487
The file was modifiedllvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
The file was modifiedllvm/include/llvm/MC/MCInstrDesc.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/fptosi_and_fptoui.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-ext-x86-64.mir
The file was addedllvm/test/MachineVerifier/test_g_sext_inreg.mir
The file was modifiedllvm/include/llvm/Target/Target.td
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-legalize-exts.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-undef.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-icmp.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-rem.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/sitofp_and_uitofp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-legalize-divmod.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/Utils.h
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/irtranslator-extends.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-itofp.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-shift.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smax.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/rem_and_div.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/combine-ext-legalizer.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
The file was modifiedllvm/include/llvm/Support/TargetOpcodes.def
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-ext.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-gep.mir
The file was modifiedllvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/icmp.mir
The file was modifiedllvm/include/llvm/Target/GenericOpcodes.td
The file was modifiedllvm/lib/Target/X86/X86LegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/constants.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/mul.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/ConstantFoldingMIRBuilder.h
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMLegalizerInfo.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/sub.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sextload-flat.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-div.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/legalize-sext.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/add.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86_64-legalize-sitofp.mir
Commit 6c7b882e525d8f1f2cd8eb6ed06a8abf12727a0b by gheorghe-teod.bercea
[OpenMP][libomptarget] Add support for close map modifier
Summary: This patch adds support for the close map modifier.
The close map modifier will overwrite the unified shared memory
requirement and create a device copy of the data.
Reviewers: ABataev, Hahnfeld, caomhin, grokos, jdoerfert,
AlexEichenberger
Reviewed By: Hahnfeld, AlexEichenberger
Subscribers: guansong, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D65340
llvm-svn: 368488
The file was addedopenmp/libomptarget/test/unified_shared_memory/close_manual.c
The file was modifiedopenmp/libomptarget/include/omptarget.h
The file was modifiedopenmp/libomptarget/src/device.cpp
The file was addedopenmp/libomptarget/test/unified_shared_memory/close_modifier.c
The file was modifiedopenmp/libomptarget/src/device.h
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
The file was addedopenmp/libomptarget/test/unified_shared_memory/close_enter_exit.c
Commit 0a317df59f2392a2f1ba84e5def398e109d2e47f by daniel_l_sanders
Remove leftover MF->dump()'s from r368487 that break release builds
llvm-svn: 368489
The file was modifiedllvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
Commit 26b2c114515a8d011a952fe414ac92417298ea00 by spatel
[DAGCombiner] exclude x*2.0 from normal negation profitability rules
This is the codegen part of fixing:
https://bugs.llvm.org/show_bug.cgi?id=32939
Even with the optimal/canonical IR that is ideally created by D65954, we
would reverse that transform in DAGCombiner and end up with the same asm
on AArch64 or x86.
I see 2 options for trying to correct this:
  1. Limit isNegatibleForFree() by special-casing the fmul pattern (this
patch).
2. Avoid creating (fmul X, 2.0) in the 1st place by adding a
special-case
    transform to SelectionDAG::getNode() and/or
SelectionDAGBuilder::visitFMul()
    that matches the transform done by DAGCombiner.
This seems like the less intrusive patch, but if there's some other
reason to prefer 1 option over the other, we can change to the other
option.
Differential Revision: https://reviews.llvm.org/D66016
llvm-svn: 368490
The file was modifiedllvm/test/CodeGen/AArch64/fadd-combines.ll
The file was modifiedllvm/test/CodeGen/X86/fadd-combines.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 0fd073b1bff8a92a0e911773255354b6f6fd8e88 by gheorghe-teod.bercea
[OpenMP] Add support for close map modifier in Clang
Summary: This patch adds support for the close map modifier in Clang.
This ensures that the new map type is marked and passed to the OpenMP
runtime appropriately.
Additional regression tests have been merged from patch D55892 (author
@saghir).
Reviewers: ABataev, caomhin, jdoerfert, kkwli0
Reviewed By: ABataev
Subscribers: kkwli0, Hahnfeld, saghir, guansong, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65341
llvm-svn: 368491
The file was modifiedclang/test/OpenMP/target_map_codegen.cpp
The file was modifiedclang/test/OpenMP/target_data_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/target_enter_data_codegen.cpp
The file was modifiedclang/test/OpenMP/target_exit_data_codegen.cpp
Commit 5ef4b190d9910fa6bfbd7406ea6629b53e4e8d79 by jlettner
[Sanitizer][Darwin] Add interceptor for malloc_zone_from_ptr
Ensure that malloc_default_zone and malloc_zone_from_ptr return the
sanitizer-installed malloc zone even when MallocStackLogging (MSL) is
requested. This prevents crashes in certain situations. Note that the
sanitizers and MSL cannot be used together. If both are enabled, MSL
functionality is essentially deactivated since it only hooks the default
allocator which is replaced by a custom sanitizer allocator.
rdar://53686175
Reviewed By: kubamracek
Differential Revision: https://reviews.llvm.org/D65990
llvm-svn: 368492
The file was addedcompiler-rt/test/sanitizer_common/TestCases/Darwin/malloc_zone.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_malloc_mac.inc
Commit 72f996e4d90c9a10065386bdf79d2f100fd2bf2c by diegof30
[Bugpoint redesign] Fix nonlocal URI link in doc
Summary: Fixes documentation bot build
http://lab.llvm.org:8011/builders/llvm-sphinx-docs
Reviewers: JDevlieghere
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66022
llvm-svn: 368493
The file was modifiedllvm/docs/BugpointRedesign.md
Commit 2a190c5dde656d8e4dac4a8dd688045ecb134049 by daniel_l_sanders
Add missing REQUIRES to r368487
llvm-svn: 368494
The file was modifiedllvm/test/MachineVerifier/test_g_sext_inreg.mir
Commit 0e497d1554a915ace538dc08f03f1661aab8bdf7 by peter
cfi-icall: Allow the jump table to be optionally made non-canonical.
The default behavior of Clang's indirect function call checker will
replace the address of each CFI-checked function in the output file's
symbol table with the address of a jump table entry which will pass CFI
checks. We refer to this as making the jump table `canonical`. This
property allows code that was not compiled with ``-fsanitize=cfi-icall``
to take a CFI-valid address of a function, but it comes with a couple of
caveats that are especially relevant for users of cross-DSO CFI:
- There is a performance and code size overhead associated with each
exported function, because each such function must have an associated
jump table entry, which must be emitted even in the common case where
the
function is never address-taken anywhere in the program, and must be
used
even for direct calls between DSOs, in addition to the PLT overhead.
- There is no good way to take a CFI-valid address of a function written
in
assembly or a language not supported by Clang. The reason is that the
code
generator would need to insert a jump table in order to form a
CFI-valid
address for assembly functions, but there is no way in general for the
code generator to determine the language of the function. This may be
possible with LTO in the intra-DSO case, but in the cross-DSO case the
only
information available is the function declaration. One possible
solution
is to add a C wrapper for each assembly function, but these wrappers
can
present a significant maintenance burden for heavy users of assembly in
addition to adding runtime overhead.
For these reasons, we provide the option of making the jump table
non-canonical with the flag ``-fno-sanitize-cfi-canonical-jump-tables``.
When the jump table is made non-canonical, symbol table entries point
directly to the function body. Any instances of a function's address
being taken in C will be replaced with a jump table address.
This scheme does have its own caveats, however. It does end up breaking
function address equality more aggressively than the default behavior,
especially in cross-DSO mode which normally preserves function address
equality entirely.
Furthermore, it is occasionally necessary for code not compiled with
``-fsanitize=cfi-icall`` to take a function address that is valid for
CFI. For example, this is necessary when a function's address is taken
by assembly code and then called by CFI-checking C code. The
``__attribute__((cfi_jump_table_canonical))`` attribute may be used to
make the jump table entry of a specific function canonical so that the
external code will end up taking a address for the function that will
pass CFI checks.
Fixes PR41972.
Differential Revision: https://reviews.llvm.org/D65629
llvm-svn: 368495
The file was modifiedclang/test/Misc/pragma-attribute-supported-attributes-list.test
The file was modifiedllvm/lib/Transforms/IPO/CrossDSOCFI.cpp
The file was modifiedclang/lib/Driver/SanitizerArgs.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was addedclang/test/SemaCXX/attr-cfi-canonical-jump-table.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/LowerTypeTests.h
The file was modifiedllvm/test/Transforms/LowerTypeTests/import-icall.ll
The file was modifiedclang/test/Driver/fsanitize.c
The file was addedllvm/test/Transforms/ThinLTOBitcodeWriter/cfi-functions-canonical-jump-tables.ll
The file was modifiedllvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
The file was modifiedclang/docs/ControlFlowIntegrity.rst
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedllvm/lib/Transforms/IPO/LowerTypeTests.cpp
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/include/clang/Driver/SanitizerArgs.h
The file was modifiedclang/test/CodeGen/cfi-icall-cross-dso.c
The file was addedclang/test/CodeGen/cfi-icall-canonical-jump-tables.c
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
Commit a20a59d87ab6410eb4a4fb7eec04a561bb8f3f12 by hhb
Detects whether RESOURCE_TYPE_IO is defined.
Summary: This fixes lldb build on macOS SDK prior to 10.12.
Reviewers: JDevlieghere
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D66034
llvm-svn: 368496
The file was modifiedlldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
Commit 575ce5da7d557c4df194fc7419d9c878058f9002 by hhb
Small format fix
Differential Revision: https://reviews.llvm.org/D66034
llvm-svn: 368497
The file was modifiedlldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
Commit 4bd6ebb49584cff4d364d8586caa35f37e967147 by sam.mccall
clangd: use -j for background index pool
Summary: clangd supports a -j option to limit the amount of threads to
use for parsing TUs. However, when using -background-index (the default
in later versions of clangd), the parallelism used by clangd defaults to
the hardware_parallelisn, i.e. number of physical cores.
On shared hardware environments, with large projects, this can
significantly affect performance with no way to tune it down.
This change makes the -j parameter apply equally to parsing and
background index. It's not perfect, because the total number of threads
is 2x the -j value, which may still be unexpected. But at least this
change allows users to prevent clangd using all CPU cores.
Reviewers: kadircet, sammccall
Reviewed By: sammccall
Subscribers: javed.absar, jfb, sammccall, ilya-biryukov, MaskRay,
jkorous, arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66031
llvm-svn: 368498
The file was modifiedclang-tools-extra/clangd/tool/ClangdMain.cpp
The file was modifiedclang-tools-extra/clangd/TUScheduler.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
Commit 795c3667d91010c486877563014092db1313644b by xazax.hun
Attempt to reapply "Even more warnings utilizing gsl::Owner/gsl::Pointer
annotations"
llvm-svn: 368499
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/test/Sema/warn-lifetime-analysis-nocfg.cpp
Commit 1aaef90c2aab94407b047ee82b8ed9d3aecd532f by sam.mccall
[clangd] Disallow extraction of expression-statements.
Summary: I split out the "extract parent instead of this" logic from the
"this isn't worth extracting" logic (now in eligibleForExtraction()),
because I found it hard to reason about.
While here, handle overloaded as well as builtin assignment operators.
Also this uncovered a bug in getCallExpr() which I fixed.
Reviewers: SureYeaah
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65337
llvm-svn: 368500
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExtractVariable.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
The file was modifiedclang-tools-extra/clangd/Selection.h
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was modifiedclang-tools-extra/clangd/Selection.cpp
Commit eb563af70b54c9ef758393f863bdca00116be421 by xazax.hun
Fix a false positive warning when initializing members with gsl::Owners.
llvm-svn: 368501
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/test/Sema/warn-lifetime-analysis-nocfg.cpp
Commit 92e160ababd1e9e976fa1c573bbe906997bb206d by fedor.sergeev
[MemDep] allow to select block-scan-limit when constructing
MemoryDependenceAnalysis
Introducing non-global control for default block-scan-limit in MemDep
analysis. Useful when there are many compilations per initialized LLVM
instance (e.g. JIT).
Reviewed By: asbirlea Tags: #llvm Differential Revision:
https://reviews.llvm.org/D65806
llvm-svn: 368502
The file was modifiedllvm/lib/Analysis/MemoryDependenceAnalysis.cpp
The file was modifiedllvm/include/llvm/Analysis/MemoryDependenceAnalysis.h
Commit c6c86f4f81fb9130499f2b75764b8227cddc2375 by yuanke.luo
[X86] Fix stack probe issue on windows32.
Summary: On windows if the frame size exceed 4096 bytes, compiler need
to generate a call to _alloca_probe. X86CallFrameOptimization pass
changes the reserved stack size and cause of stack probe function not be
inserted. This patch fix the issue by detecting the call frame size, if
the size exceed 4096 bytes, drop X86CallFrameOptimization.
Reviewers: craig.topper, wxiao3, annita.zhang, rnk, RKSimon
Reviewed By: rnk
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65923
llvm-svn: 368503
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was addedllvm/test/CodeGen/X86/nomovtopush.ll
The file was modifiedllvm/lib/Target/X86/X86CallFrameOptimization.cpp
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 8d1646bf6670a0ce59ff3431383e86fec293baeb by David CARLIER
[Sanitizer] Reenable getusershell interception
and disabling it forAndroid.
Reviewers: krytarowski, vitalybuka
Reviewed By: krytarowski
Differential Revision: https://reviews.llvm.org/D66027
llvm-svn: 368504
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
Commit a8e5e7371173cd13813bdefef537d502c0ecbe58 by craig.topper
[X86] Improve the diagnostic for larger than 4-bit immediate for
vpermil2pd/ps. Only allow MCConstantExprs.
llvm-svn: 368505
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was modifiedllvm/lib/Target/X86/AsmParser/X86Operand.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/test/MC/X86/x86_errors.s
Commit 74c43a2277f6327a65d4b237473ac7be4f0585dd by craig.topper
[X86] Match the IR pattern form movmsk on SSE1 only targets where v4i32
isn't legal
Summary: This patch adds a special DAG combine for SSE1 to recognize the
IR pattern InstCombine gives us for movmsk. This only does the
recognition for a few cases where its obvious the input won't be
scalarized resulting in building a vector just do to the movmsk. I've
made it separate from our existing matching for movmsk since that's
called in multiple places and I didn't spend time to see if the other
callers would make sense here. Plus the restrictions and additional
checks would complicate that.
This fixes the case from PR42870. Buts its probably still broken the
presence of logic ops feeding the movmsk pattern which would further
hide the v4f32 type.
Reviewers: spatel, RKSimon, xbolva00
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65689
llvm-svn: 368506
The file was addedllvm/test/CodeGen/X86/pr42870.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit db4ad3603ac9bc2f118aa5f176dc04979f836c25 by owenpiano
[clang-format] Add SpaceInEmptyBlock option for WebKit
See PR40840
Differential Revision: https://reviews.llvm.org/D65925
llvm-svn: 368507
The file was modifiedclang/lib/Format/Format.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/docs/ClangFormatStyleOptions.rst
The file was modifiedclang/include/clang/Format/Format.h
The file was modifiedclang/lib/Format/UnwrappedLineFormatter.cpp
Commit 3ab587df82c8f917a7048e7797b90267694ad938 by Kristina Brooks
[modulemap] Add AArch64SVEACLETypes.def
Update modulemap with a new textual header.
llvm-svn: 368508
The file was modifiedclang/include/clang/module.modulemap
Commit 36cd84bdd9a7bca22b04341aa6abbf4d6b6e86d2 by shkzhang
[CodeGen] Do the Simple Early Return in block-placement pass to optimize
the blocks
Summary:
In `block-placement` pass, it will create some patterns for
unconditional we can do the simple early retrun. But the `early-ret`
pass is before `block-placement`, we don't want to run it again. This
patch is to do the simple early return to optimize the blocks at the
last of `block-placement`.
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D63972
llvm-svn: 368509
The file was modifiedllvm/test/CodeGen/PowerPC/block-placement.mir
The file was modifiedllvm/test/CodeGen/PowerPC/block-placement-1.mir
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
Commit c4b5b66a05bbf53573e4b2f1355b455bc7a37c64 by Raphael Isemann
[clang] Fixed x86 cpuid NSC signature
Summary: The signature "Geode by NSC" for NSC vendor is wrong. In
lib/Headers/cpuid.h, signature_NSC_edx and signature_NSC_ecx constants
are inverted (cpuid signature order is ebx # edx # ecx).
Reviewers: teemperor, rsmith, craig.topper
Reviewed By: teemperor, craig.topper
Subscribers: craig.topper, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65978
llvm-svn: 368510
The file was modifiedclang/lib/Headers/cpuid.h
Commit b448d1bf212219febbb182d00c210bad1bd25e7f by Raphael Isemann
[lldb] Fix dynamic_cast by no longer failing on variable without
metadata
Summary: Our IR rewriting infrastructure currently fails when it
encounters a variable which has no metadata associated. This causes
dynamic_cast to fail as in this case IRForTarget considers the type info
pointers ('@_ZTI...') to be variables without associated metadata. As
there are no variables for these internal variables, this is actually
not an error and dynamic_cast would work fine if we didn't throw this
error.
This patch fixes this by removing this diagnostics code. In case we
would actually hit a variable that has no metadata (but is supposed to
have), we still have the error in the expression log so this shouldn't
make it harder to diagnose any missing metadata errors.
This patch should fix dynamic_cast and also adds a bunch of test
coverage to that language feature.
Fixes rdar://10813639
Reviewers: davide, labath
Reviewed By: labath
Subscribers: friss, labath, abidh, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D65932
llvm-svn: 368511
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/dynamic_cast/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/dynamic_cast/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/dynamic_cast/ExtBase.h
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/dynamic_cast/TestDynamicCast.py
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/dynamic_cast/ExtBase.cpp
Commit 21c15ef38487ee91eea898dbe80bfc5f8d6c5252 by spatel
[Reassociate] try harder to convert negative FP constants to positive
This is an extension of a transform that tries to produce positive
floating-point constants to improve canonicalization (and hopefully lead
to more reassociation and CSE).
The original patches were: D4904 D5363 (rL221721)
But as the test diffs show, these were limited to basic patterns by
walking from an instruction to its single user rather than recursively
moving up the def-use sequence. No fast-math is required here because
we're only rearranging implicit FP negations in intermediate ops.
A motivating bug is: https://bugs.llvm.org/show_bug.cgi?id=32939
Differential Revision: https://reviews.llvm.org/D65954
llvm-svn: 368512
The file was modifiedllvm/test/Transforms/Reassociate/canonicalize-neg-const.ll
The file was modifiedllvm/lib/Transforms/Scalar/Reassociate.cpp
The file was modifiedllvm/test/Transforms/Reassociate/reassoc-intermediate-fnegs.ll
The file was modifiedllvm/test/Transforms/Reassociate/fast-ReassociateVector.ll
The file was modifiedllvm/include/llvm/Transforms/Scalar/Reassociate.h
Commit 8a25eabd42780616954f10e135effbd95edec847 by michael.hliao
[TableGen] Correct the shift to the proper bit width.
- Replace the previous 32-bit shift with 64-bit one matching `OpInit`.
llvm-svn: 368513
The file was modifiedllvm/utils/TableGen/FixedLenDecoderEmitter.cpp
The file was modifiedllvm/test/TableGen/FixedLenDecoderEmitter/InitValue.td
Commit 555f7495df1c466dcc3e759fe8b8eccd8ef94770 by shkzhang
[NFC][CodeGen] Modify the PI++ to ++PI in
MachineBlockPlacement::optimizeBranches()
llvm-svn: 368514
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
Commit ec128709f0ad35282d2e009dd333b1d8ca434c80 by llvm-dev
[X86][SSE] Lower shuffle as ANY_EXTEND_VECTOR_INREG
On SSE41+ targets we always lower vector shuffles to
ZERO_EXTEND_VECTOR_INREG, even if we don't need the extended bits.
This patch relaxes this so that we lower to ANY_EXTEND_VECTOR_INREG if
we can, meaning that shuffle combines have a better idea of what
elements need to be kept zero. This helps the multiple reduction code as
we can now combine away a lot more of the pack+extend codes.
Differential Revision: https://reviews.llvm.org/D65741
llvm-svn: 368515
The file was modifiedllvm/test/CodeGen/X86/vector-idiv-udiv-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v8.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-mul.ll
Commit c09d88863284d88e01f90829ebe3fec2bc477c6c by dimitry
Add support for FreeBSD's LD_32_LIBRARY_PATH
Summary: Because the dynamic linker for 32-bit executables on 64-bit
FreeBSD uses the environment variable `LD_32_LIBRARY_PATH` instead of
`LD_LIBRARY_PATH` to find needed dynamic libraries, running the 32-bit
parts of the dynamic ASan tests will fail with errors similar to:
``` ld-elf32.so.1: Shared object "libclang_rt.asan-i386.so" not found,
required by "Asan-i386-inline-Dynamic-Test"
```
This adds support for setting up `LD_32_LIBRARY_PATH` for the unit and
regression tests.  It will likely also require a minor change to the
`TestingConfig` class in `llvm/utils/lit/lit`.
Reviewers: emaste, kcc, rnk, arichardson
Reviewed By: arichardson
Subscribers: kubamracek, krytarowski, fedor.sergeev, delcypher,
#sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D65772
llvm-svn: 368516
The file was modifiedcompiler-rt/test/asan/Unit/lit.site.cfg.py.in
The file was modifiedcompiler-rt/test/xray/Unit/lit.site.cfg.py.in
The file was modifiedcompiler-rt/test/asan/lit.cfg.py
Commit 45e9990c02c33e76e67754b70770d8d803569ebc by lebedev.ri
[NFC][InstCombine] Tests for shift amount reassociation in bittest with
shift of const
llvm-svn: 368517
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest.ll
Commit 64fe806c4e11d90d8abaed65b659673be677b856 by lebedev.ri
[InstCombine] Shift amount reassociation in bittest: drop pointless
one-use restriction
That one-use restriction is not needed for correctness - we have already
ensured that one of the shifts will go away, so we know we won't
increase the instruction count. So there is no need for that
restriction.
llvm-svn: 368518
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit a8d20b446766d8dd1cdbd0332daf646294f6ea77 by lebedev.ri
[InstCombine] Shift amount reassociation in bittest: relax one-use check
when shifting constant
If one of the values being shifted is a constant, since the new shift
amount is known-constant, the new shift will end up being
constant-folded so, we don't need that one-use restriction then.
llvm-svn: 368519
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit 404e978f2721eb77894881d60a6175f4018182a2 by lebedev.ri
[NFC][InstCombine] Tests for shift amount reassociation in bittest with
truncated shl (PR42399)
trunc-of-shl:
https://rise4fun.com/Alive/zGx
https://rise4fun.com/Alive/sl0L I.e. no extra legality check needed.
https://bugs.llvm.org/show_bug.cgi?id=42399
llvm-svn: 368520
The file was addedllvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest-with-truncation-shl.ll
Commit 96474d17c618348487760893cfeb7199fd4a3c7c by lebedev.ri
[InstCombine][NFC] Use SimplifyAddInst() instead of
SimplifyBinOp(Instruction::BinaryOps::Add, )
llvm-svn: 368521
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit 0f74b82ef12daac04200b1e9e60ea9d3f8c24880 by craig.topper
[X86] Remove some code from combineShuffle that seems largely
unnecessary with widening legalization.
The test case that changed is probably better served through allowing
combineTruncatedArithmetic to create narrow vectors. It also appears
InstCombine would have simplified this test case to remove the zext and
trunc anyway.
llvm-svn: 368522
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-any_extend_load.ll
Commit 9758e0e1bf8545d27a10616fb85e2967a084e2db by craig.topper
[X86] Remove some more code from combineShuffle that is no longer needed
with widening legalization.
llvm-svn: 368523
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 7bd327da0098d9eeb5241f369329ac83c53c0348 by aktoon
test commit
llvm-svn: 368524
The file was modifiedllvm/lib/ProfileData/CMakeLists.txt
Commit d664072dd5ec60a7ef944ad1de90b5b8761f003e by aktoon
Revert "test commit"
This reverts commit ad92a4a2769425ad0d39ac1dbb6282f6f51a1af7.
llvm-svn: 368525
The file was modifiedllvm/lib/ProfileData/CMakeLists.txt
Commit 7e71aa24bc0788690fea7f0d7eab400c6a784deb by aktoon
[LICM] Make Loop ICM profile aware
Summary: Hoisting/sinking instruction out of a loop isn't always
beneficial. Hoisting an instruction from a cold block inside a loop body
out of the loop could hurt performance. This change makes Loop ICM
profile aware - it now checks block frequency to make sure
hoisting/sinking anly moves instruction to colder block.
Test Plan:
ninja check
Reviewers: asbirlea, sanjoy, reames, nikic, hfinkel, vsk
Reviewed By: asbirlea
Subscribers: fhahn, vsk, davidxl, xbolva00, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65060
llvm-svn: 368526
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was modifiedllvm/test/Transforms/LICM/sink.ll
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/LoopUtils.h
The file was modifiedllvm/test/Other/pass-pipelines.ll
Commit 831efe0e0f0ce56b63fb6a07e2cc4844e7c47a34 by aheejin
Fix __clang_call_termiante's argument for foreign exceptions
Summary: When exceptions are repeatedly thrown in the middle of handling
another exception, we call `__clang_call_terminate` with the exception
pointer
(i32) as an argument. But in case of foreign exceptions, we don't have
the pointer, so we call the function with 0. (This requires
`__clang_call_terminate` can deal with 0 argument, which will be done
later)
But previously the 0 argument was not added as a `i32.const 0` but an
immediate by mistake, causing the `call` instruction to take not an i32
but rather an exnref, because an `exnref` is left on top of the value
stack if `br_on_exn` is not taken.
``` block i32
br_on_exn 0, __cpp_exception
                              ;; exnref is on top of stack now
i32.const 0                  ;; This was missing!
call __clang_call_terminate
unreachable end call __clang_call_terminate    ;; This takes i32
extracted by br_on_exn
```
Reviewers: dschuff
Subscribers: sbc100, jgravelle-google, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65475
llvm-svn: 368527
The file was modifiedllvm/test/CodeGen/WebAssembly/exception.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
Commit 3560ed052354940756e87a3372be819b765b3c45 by xazax.hun
Properly handle reference initialization when detecting gsl::Pointer
initialization chains
llvm-svn: 368528
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/test/Sema/warn-lifetime-analysis-nocfg.cpp
Commit 44f8d635e20429365782b831ef59ee0903982d02 by david.green
[ARM] Permit auto-vectorization using MVE
With enough codegen complete, we can now correctly report the number and
size of vector registers for MVE, allowing auto vectorisation. This also
allows FP auto-vectorization for MVE without -Ofast/-ffast-math, due to
support for IEEE FP arithmetic and parity between scalar and vector FP
behaviour.
Patch by David Sherwood.
Differential Revision: https://reviews.llvm.org/D63728
llvm-svn: 368529
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.h
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/arm-ieee-vectorize.ll
Commit 11c4602fce16c22858de764bff21be4160d323af by david.green
[MVE] Don't try to unroll vectorised MVE loops
Due to the nature of the beat system in the MVE architecture, along with
tail predication and low-overhead loops, unrolling has less benefit
compared to normal loops. You can not, for example, hide the latency of
a load with other instructions as you can for scalar code. Preventing
unrolling also makes the code easier to read and reason about.
So if a loop contains vector code, don't enable the runtime unrolling.
At least for the time being.
Differential Revision: https://reviews.llvm.org/D65803
llvm-svn: 368530
The file was addedllvm/test/Transforms/LoopUnroll/ARM/mve-nounroll.ll
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
Commit 089aef45a5ec02ec80594d83ce110d8bb698df5e by david.green
[ARM] MVE spill vector test. NFC
llvm-svn: 368531
The file was addedllvm/test/CodeGen/Thumb2/mve-vector-spill.ll
Commit b1a62d168f8cc639a03b0a53a7a3bd09a395069e by shkzhang
[NFC][CodeGen] Use while loop instead for loop in
MachineBlockPlacement::optimizeBranches() This will pass EXPENSIVE
check.
llvm-svn: 368532
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
Commit 38c578854801fd9bda1eee44e6a8afcdc6ae6ce0 by maskray
[ELF] Remove unnecessary assignment to `used` in replaceWithDefined
`Symbol::used` is used by Undefined and SharedSymbol to record if a
.symtab entry is needed. It is of no use for Defined.
llvm-svn: 368533
The file was modifiedlld/ELF/Relocations.cpp
Commit e812bf5530872e4b33c8f205da81acccc2a41413 by xazax.hun
Properly detect temporary gsl::Owners through reference initialization
chains.
llvm-svn: 368534
The file was modifiedclang/test/Sema/warn-lifetime-analysis-nocfg.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
Commit 635eda8bb0fde5eae101f98586146125dbbf550c by maskray
[ELF] Remove redundant !isPreemptible in Symbol::computeBinding()
!isPreemptible was added in r343668 to fix PR39104: symbols redefined by
replaceWithDefined() might be incorrectly considered STB_LOCAL if a
version script specified `local: *;`.
After r367869 (`config->defaultSymbolVersion` was removed), we will
assign VER_NDX_LOCAL to only regular Defined and CommonSymbol, not
Defined created by replaceWithDefined() (because scanVersionScript() is
called before scanRelocations()). The !isPreemptible is thus redundant
and can be deleted.
llvm-svn: 368535
The file was modifiedlld/ELF/Symbols.cpp
Commit cfdd4589f144448381212922c0def4374926d70c by maskray
[ELF] Remove redundant isDefined() in Symbol::computeBinding() and
delete one redundant call site
After r367869, VER_NDX_LOCAL can only be assigned to Defined and
CommonSymbol.  CommonSymbol becomes Defined after
replaceCommonSymbols(), thus `versionId == VER_NDX_LOCAL` will imply
`isDefined()`.
In maybeReportUndefined(), computeBinding() is called when the symbol is
unknown to be Undefined. computeBinding() != STB_LOCAL will always be
true.
llvm-svn: 368536
The file was modifiedlld/ELF/Symbols.cpp
The file was modifiedlld/ELF/Relocations.cpp
Commit 637964bfd830e2ff6a8838536ba6583b45e9336f by craig.topper
[X86] Don't use SplitOpsAndApply for ISD::USUBSAT.
Target independent type legalization and custom lowering should be able
to handle it.
llvm-svn: 368537
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit ce6a2cf96656679defbe7049c07062e5a2940cbe by craig.topper
[X86] Simplify some of the type checks in combineSubToSubus.
If we have SSE2 we can handle any i8/i16 type and let type legalization
deal with it.
llvm-svn: 368538
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 10234da71d6aab25c82b1913829fed6ae3b408cc by owenpiano
[clang-format] Expand AllowShortBlocksOnASingleLine for WebKit
See PR40840
Differential Revision: https://reviews.llvm.org/D66059
llvm-svn: 368539
The file was modifiedclang/docs/ClangFormatStyleOptions.rst
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/include/clang/Format/Format.h
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/lib/Format/UnwrappedLineFormatter.cpp
The file was modifiedclang/lib/Format/Format.cpp
Commit 27038a3780606cd6b7a0f122586643f21506c38f by bjorn.a.pettersson
[SelectionDAG] Widen vector results of SMULFIX/UMULFIX/SMULFIXSAT
Summary: After the commits that changed x86 backend to widen vectors
instead of using promotion some of our downstream tests started to fail.
It was noticed that WidenVectorResult has been missing support for
SMULFIX/UMULFIX/SMULFIXSAT. This patch adds the missing functionality.
Reviewers: craig.topper, RKSimon
Reviewed By: craig.topper
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66051
llvm-svn: 368540
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was addedllvm/test/CodeGen/X86/vector-mulfix-legalize.ll
Commit cf9fa0b382d560b604d73d27373590f000df4ea8 by bjorn.a.pettersson
[X86] Remove redundant ';' chars ending IR lines in lit tests. NFC
Reviewers: RKSimon, craig.topper
Reviewed By: craig.topper
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66053
llvm-svn: 368541
The file was modifiedllvm/test/CodeGen/X86/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/umul_fix.ll
The file was modifiedllvm/test/CodeGen/X86/smul_fix_sat.ll
The file was modifiedllvm/test/CodeGen/X86/smul_fix.ll
The file was modifiedllvm/test/CodeGen/X86/smul_fix_sat_constants.ll
The file was modifiedllvm/test/CodeGen/X86/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/X86/usub_sat.ll
Commit cb5a90fd314a7914cf293797bb4fd7a6841052cf by aktoon
Fix pass dependency for LICM
Expected to address buildbot failure
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/16285
caused by D65060.
llvm-svn: 368542
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
Commit e28cbbd5d49f69385a859d1628d3661627af81e7 by pengfei.wang
[X86] Support -march=tigerlake
Support -march=tigerlake for x86. Compare with Icelake Client, It
include 4 more new features ,they are avx512vp2intersect, movdiri,
movdir64b, shstk.
Patch by Xiang Zhang (xiangzhangllvm)
Differential Revision: https://reviews.llvm.org/D65840
llvm-svn: 368543
The file was modifiedllvm/include/llvm/Support/X86TargetParser.def
The file was modifiedclang/test/Preprocessor/predefined-arch-macros.c
The file was modifiedllvm/lib/Support/Host.cpp
The file was modifiedllvm/test/CodeGen/X86/cpus-intel.ll
The file was modifiedclang/test/Driver/x86-march.c
The file was modifiedllvm/lib/Target/X86/X86.td
The file was modifiedclang/include/clang/Basic/X86Target.def
The file was modifiedclang/test/Misc/target-invalid-cpu-note.c
The file was modifiedclang/lib/Basic/Targets/X86.cpp
Commit 8750c77df4cdf8c39065f3053491b645576da93b by craig.topper
[X86] Add some reduction add test cases that show sub-optimal code on
avx2 and later.
For v4i8 and v8i8 when the reduction starts with a load we end up
shifting the data in the scalar domain and copying to the vector domain
a second time using a broadcast.
We already copied it to the vector domain once. It's better to just
shuffle it there.
llvm-svn: 368544
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-add.ll
Commit 4b9d20008bbcc3cc4a36dca73e7ccec16779abd6 by 1.int32
[CrossTU] Fix problem with CrossTU AST load limit and progress messages.
Summary: Number of loaded ASTs is to be incremented only if the AST was
really loaded but not if it was returned from cache. At the same place
the message about a loaded AST is displayed.
Reviewers: martong, gamesh411
Reviewed By: martong
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66054
llvm-svn: 368545
The file was modifiedclang/lib/CrossTU/CrossTranslationUnit.cpp
The file was modifiedclang/include/clang/CrossTU/CrossTranslationUnit.h
Commit fd5ea1b0d904dc8f9793fcdf7699d10009f6a45f by jvikstrom
[clangd] Highlighting auto variables as the deduced type.
Summary: Done in VisitDeclaratorDecl as the AutoTypeLoc is not deduced.
Scoped to only work for variables. auto function return values need to
be handled in a special way (separate patch for that). auto's that are
in lambdas ar enot highlighted as we don't highlight their underlying
type (it's a RecordDecl, but the name is not an identifier so it returns
in addToken).
Reviewers: hokein, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65996
llvm-svn: 368546
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
Commit b0945e1bd2e2d7ac6dd8152e479a56db302d981e by eric
Improve codegen for deque.
This patch rewrites a few loops in deque and split_buffer to better
optimize the codegen. For constructors like
`deque<unsigned char> d(500000, 0);` this patch results in a 2x speedup.
The patch improves the codegen  in roughly three ways:
1. Changes do { ... } while (...) loops into more typical for loops.
The optimizer can reason about normal looking loops better.
2. Split the iteration over a range into (A) iteration over the blocks,
then (B) iteration within the block. This nested structure helps LLVM
lower the inner loop to `memset`.
3. Do fewer things each iteration. Some of these loops were incrementing
or changing 4-5 variables every loop (in addition to the
construction). Previously most loops would increment the end pointer,
the size, and decrement the count of remaining items to construct.
Now we only increment a single pointer for most iterations.
llvm-svn: 368547
The file was modifiedlibcxx/benchmarks/ContainerBenchmarks.hpp
The file was modifiedlibcxx/include/deque
The file was addedlibcxx/benchmarks/Utilities.hpp
The file was modifiedlibcxx/include/__split_buffer
The file was addedlibcxx/benchmarks/deque.bench.cpp
Commit d68a277f2329138b14b7faf3d871f08ecd6fc79d by lebedev.ri
[CostModel][X86][AArch64] Add some tests for extractvalue
In https://reviews.llvm.org/D65148 it is suggested that it should have
zero cost, always.
llvm-svn: 368548
The file was addedllvm/test/Analysis/CostModel/AArch64/aggregates.ll
The file was addedllvm/test/Analysis/CostModel/X86/aggregates.ll
Commit d614a65d85c14dfc7dc19b45b049c38897481ae1 by hokein
[clangd] Drop diags from non-written #include.
Summary: This would fix that we show weird diagnostics on random lines
of the main file.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66074
llvm-svn: 368549
The file was modifiedclang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
The file was modifiedclang-tools-extra/clangd/Diagnostics.cpp
Commit 3cafdfddcbcd077325622dd0869b409f4664769e by maskray
[ELF] Remove unnecessary assignment to `isPreemptible` in
replaceWithDefined()
After r368535, it is no longer used in the handling of VER_NDX_LOCAL.
Drop it.
llvm-svn: 368550
The file was modifiedlld/ELF/Relocations.cpp
Commit 2e16060a8bbbd82f4637ddb5e58533a614ef529e by 1.int32
[ASTImporter] Fix for import of friend class template with definition.
Summary: If there is a friend class template "prototype" (forward
declaration) and later a definition for it in the existing code, this
existing definition may be not found by ASTImporter because it is not
linked to the prototype (under the friend AST node). The problem is
fixed by looping over all found matching decls instead of break after
the first found one.
Reviewers: martong, a.sidorin, shafik, a_sidorin
Reviewed By: a_sidorin
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65269
llvm-svn: 368551
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
Commit ef58804ebc196fe54731e31d7db817471038084c by anastasia.stulova
[OpenCL] Fix lang mode predefined macros for C++ mode.
In C++ mode we should only avoid adding __OPENCL_C_VERSION__, all other
predefined macros about the language mode are still valid.
This change also fixes the language version check in the headers
accordingly.
Differential Revision: https://reviews.llvm.org/D65941
llvm-svn: 368552
The file was modifiedclang/lib/Headers/opencl-c-base.h
The file was modifiedclang/lib/Headers/opencl-c.h
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
Commit 05e8209e3347f636e93af9182c913259ec2bbffa by llvm-dev
[TargetLowering] SimplifyDemandedBits - call
SimplifyMultipleUseDemandedBits for ISD::TRUNCATE
llvm-svn: 368553
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/bitcast-vector-bool.ll
Commit ccdad6ef486a00ed815ead642d2f62d87d86ee90 by lebedev.ri
[InstCombine] foldShiftIntoShiftInAnotherHandOfAndInICmp(): avoid
constantexpr pitfail (PR42962)
Instead of matching value and then blindly casting to BinaryOperator
just to get the opcode, just match instruction and do no cast.
Fixes https://bugs.llvm.org/show_bug.cgi?id=42962
llvm-svn: 368554
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit f23ce128fd614d5ed7b5c70038c5db8b257c5127 by jh7370
[llvm-strings] Improve testing of llvm-strings
This patch tidies up the llvm-strings testing by:
1. Adding comments to every test. 2. Getting rid of canned input files,
and having the tests generate
  them on the fly (this makes the tests self-contained). 3. Adding
missing test coverage. 4. Renaming some tests that weren't clear as to
their purpose. 5. Adding extra checking of various cases, formatting
etc. 6. Removing a test that didn't seem to have any useful purpose for
  testing llvm-strings.
Reviewed by: rupprecht, grimar, MaskRay
Differential Revision: https://reviews.llvm.org/D66015
llvm-svn: 368555
The file was addedllvm/test/tools/llvm-strings/eof.test
The file was addedllvm/test/tools/llvm-strings/multiple-inputs.test
The file was addedllvm/test/tools/llvm-strings/version.test
The file was modifiedllvm/test/tools/llvm-strings/stdin-filename.test
The file was addedllvm/test/tools/llvm-strings/response-file.test
The file was modifiedllvm/test/tools/llvm-strings/whitespace.test
The file was removedllvm/test/tools/llvm-strings/terminator.test
The file was modifiedllvm/test/tools/llvm-strings/file-filename.test
The file was addedllvm/test/tools/llvm-strings/eof-no-string.test
The file was modifiedllvm/test/tools/llvm-strings/radix-filename.test
The file was addedllvm/test/tools/llvm-strings/option-grouping.test
The file was removedllvm/test/tools/llvm-strings/Inputs/numbers
The file was addedllvm/test/tools/llvm-strings/stdin.test
The file was removedllvm/test/tools/llvm-strings/nested-archives.test
The file was modifiedllvm/test/tools/llvm-strings/all-sections.test
The file was removedllvm/test/tools/llvm-strings/Inputs/variable-length
The file was removedllvm/test/tools/llvm-strings/Inputs/abcd
The file was removedllvm/test/tools/llvm-strings/terminator-neg.test
The file was modifiedllvm/test/tools/llvm-strings/radix.test
The file was modifiedllvm/test/tools/llvm-strings/archive-filename.test
The file was modifiedllvm/test/tools/llvm-strings/help.test
The file was modifiedllvm/test/tools/llvm-strings/negative-char.test
The file was modifiedllvm/test/tools/llvm-strings/length.test
Commit 3819316040abe2a7f30a385e5f4f773cefc8d2b9 by jh7370
NFC. Remove trailing whitespace in test
llvm-svn: 368556
The file was modifiedllvm/test/tools/llvm-strings/stdin.test
Commit 143a2b88ba66cf70ab667b90bc2a846f14464bd6 by llvm-dev
[X86][SSE] Add test showing missing compute known bits PSADBW handling
The upper 48-bits of each i64 element is guaranteed to be zero.
llvm-svn: 368557
The file was addedllvm/test/CodeGen/X86/psadbw.ll
Commit 182249daee8ad8e12a492c3fa60559275650263a by llvm-dev
[X86][SSE] ComputeKnownBits - add basic PSADBW handling
llvm-svn: 368558
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/psadbw.ll
Commit 5eec1a9d324f3380602cd4e4e355347701916659 by Andrey.Churbanov
Cleanup unused variable.
This patch fixes problem raised in post-review comments of the
https://reviews.llvm.org/D65285. Developers of ittnotify confirmed that
dll_path_ptr field of the __itt_global structure is never used by
ittnotify library, so it is safe to remove the dll_path array.
Differential Revision: https://reviews.llvm.org/D65885
llvm-svn: 368559
The file was modifiedopenmp/runtime/src/thirdparty/ittnotify/ittnotify_static.cpp
Commit 5b96d4655c868ce5a4df4b472b90b543344b5386 by hans
Revert r368509 "[CodeGen] Do the Simple Early Return in block-placement
pass to optimize the blocks"
> In `block-placement` pass, it will create some patterns for
unconditional we can do the simple early retrun.
> But the `early-ret` pass is before `block-placement`, we don't want to
run it again.
> This patch is to do the simple early return to optimize the blocks at
the last of `block-placement`.
>
> Reviewed By: efriedma
>
> Differential Revision: https://reviews.llvm.org/D63972
This also revertes follow-ups r368514 and r368532.
llvm-svn: 368560
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/block-placement-1.mir
The file was modifiedllvm/test/CodeGen/PowerPC/block-placement.mir
Commit 06385d013d08b47008983567bf52bdb909801b4f by sven.vanhaastregt
[OpenCL] Ignore parentheses for sampler initialization
The sampler handling logic in SemaInit.cpp would inadvertently treat
parentheses around sampler arguments as an implicit cast, leading to an
unreachable "can't implicitly cast lvalue to rvalue with this cast
kind".  Fix by ignoring parentheses once we are in the sampler
initializer case.
Differential Revision: https://reviews.llvm.org/D66080
llvm-svn: 368561
The file was modifiedclang/test/SemaOpenCL/sampler_t.cl
The file was modifiedclang/lib/Sema/SemaInit.cpp
Commit 7b4b3305fff358e54a8ed927fd3711a2e1786608 by gabor.marton
[CrossTU] User docs: remove temporary limiation with macro expansion
D65064, D64635, D64638 pathces solve the issue with macor expansion.
llvm-svn: 368562
The file was modifiedclang/docs/analyzer/user-docs/CrossTranslationUnit.rst
Commit cbe3ed552fa8295f3858b9cd2db4639fc671b82b by jvikstrom
[clangd] Remove highlightings coming from non topLevelDecls from
included files.
Summary: It is possible to write include code from other files so that
the decls from there do not become topLevelDecls (For example by
including methods for a class). These Decls are not filtered by
topLevelDecls and therefore SemanticHighlighting must manually check
that every SLoc belongs in the main file. Otherwise there can be
highlightings appearing in places where they should not.
Reviewers: hokein, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66083
llvm-svn: 368563
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
Commit 20b2cd3c0bfe8f732bb135edb7f3c8436d005fe9 by gbreynoo
[llvm-ar][test] Correct tests marked as expected fails
In diff D64802 I marked three tests as expected failures for darwin but
James Nagurne saw these fail on his downstream embedded ARM cross
compiler. I believe XFAIL: system-darwin should be used instead of using
XFAIL: darwin due to the problem being related to the darwin host and
not the target.
Differential Revision: https://reviews.llvm.org/D65745
llvm-svn: 368564
The file was modifiedllvm/test/tools/llvm-ar/mri-utf8.test
The file was modifiedllvm/test/tools/llvm-ar/print.test
The file was modifiedllvm/test/tools/llvm-ar/extract.test
Commit 342fb0db6d98d43252cbaeb6123cd154976c42aa by shkzhang
[CodeGen] Do the Simple Early Return in block-placement pass to optimize
the blocks
Summary:
In `block-placement` pass, it will create some patterns for
unconditional we can do the simple early retrun. But the `early-ret`
pass is before `block-placement`, we don't want to run it again. This
patch is to do the simple early return to optimize the blocks at the
last of `block-placement`.
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D63972
llvm-svn: 368565
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/block-placement.mir
Commit 9b29ec58b70e988e12be03044ef71e30895608f2 by david.stenberg
[DebugInfo] Remove call sites when eliminating unreachable blocks
Summary: When eliminating an unreachable block we must remove any call
site information for calls residing in the block.
This was originally found on a downstream target, and the attached x86
test case was produced by hand-modifying some MIR.
Reviewers: aprantl, asowda, NikolaPrica, djtodoro, ivanbaev, vsk
Reviewed By: NikolaPrica, vsk
Subscribers: vsk, hiraditya, llvm-commits
Tags: #debug-info, #llvm
Differential Revision: https://reviews.llvm.org/D64500
llvm-svn: 368566
The file was modifiedllvm/lib/CodeGen/UnreachableBlockElim.cpp
The file was addedllvm/test/DebugInfo/MIR/X86/unreachable-block-call-site.mir
Commit 50286542143a7aa68ff51c06243cd244fa392f37 by Raphael Isemann
[lldb][NFC] Add unit test for lldb_private::DiagnosticManager
llvm-svn: 368567
The file was modifiedlldb/unittests/Expression/CMakeLists.txt
The file was addedlldb/unittests/Expression/DiagnosticManagerTest.cpp
Commit 020eea0c16a2cd0a09704640a83a710c8e92c502 by jvikstrom
[clangd] Added the vscode SemanticHighlighting feature code but did not
enable it in the client.
Summary: Added the code for the StaticFeature that must be registered to
the client. Also decoding the notification data into objects. Did not
register it to the client yet.
Reviewers: hokein, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65998
llvm-svn: 368568
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/package.json
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/test/semantic-highlighting.test.ts
Commit 20d37fab82968d45c00f85023bb329aa836221ad by david.bolvansky
[InstCombine] x /c fabs(x) -> copysign(1.0, x)
Summary: x / fabs(x) -> copysign(1.0, x) fabs(x) / x -> copysign(1.0, x)
Reviewers: spatel, foad, RKSimon, efriedma
Reviewed By: spatel
Subscribers: lebedev.ri, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65898
llvm-svn: 368570
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
The file was modifiedllvm/test/Transforms/InstCombine/fabs-copysign.ll
Commit fee242aed415458fa89eaaa0e4ae8a887bd8c874 by selliott
[RISCV] Fix ICE in isDesirableToCommuteWithShift
Summary: Ana Pazos reported a bug where we were not checking that an
APInt would fit into 64-bits before calling `getSExtValue()`. This
caused asserts when compiling large constants, such as i128s, as happens
when compiling compiler-rt.
This patch adds a testcase and makes the callback less error-prone.
Reviewers: apazos, asb, luismarques
Reviewed By: luismarques
Subscribers: hiraditya, rbar, johnrusso, simoncook, sabuasal, niosHD,
kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones, rogfer01,
MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna,
Jim, s.egerton, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66081
llvm-svn: 368572
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/add-before-shl.ll
Commit 47298393d2e4d35480d37b0afdea3e899dc798e2 by gbreynoo
[llvm-ar] Accept file paths with windows format slashes
The internal representation of llvm-ar archives uses linux style slashes
for paths, no matter the OS. In the case of windows this meant file
paths input intending to match existing members would only match if
linux style slashes where used. This change allows either slash
direction to be input by the user.
This change includes removing an unnecessary call to normalisePath and
moving the call of another.
Differential Revision: https://reviews.llvm.org/D65743
llvm-svn: 368573
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
The file was addedllvm/test/tools/llvm-ar/windows-path.test
Commit 489efc68a572c42f71590dd6bc0ea21d82d727b3 by shkzhang
Revert r368565: [CodeGen] Do the Simple Early Return in block-placement
pass to optimize the blocks
llvm-svn: 368574
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/block-placement.mir
Commit 9a452740ec89f856492841af3f9c616f5be96c7c by llvm-dev
[X86][SSE] Add test showing missing demanded elts PSADBW handling
llvm-svn: 368575
The file was modifiedllvm/test/CodeGen/X86/psadbw.ll
Commit f927b34a148b27b24f37f062d5a0620b76430ade by rupprecht
[llvm-readobj] Downgrade 'PT_DYNAMIC segment offset + size exceeds the
size of the file' from an error to a warning
Summary: This allows llvm-readobj to print other useful information for
truncated files instead of giving up.
Reviewers: jhenderson, grimar, MaskRay
Reviewed By: jhenderson, grimar, MaskRay
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66036
llvm-svn: 368576
The file was modifiedllvm/test/Object/invalid.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/llvm-readobj/elf-malformed-pt-dynamic.test
Commit 8940687c6dcbf439f8437ca8f0cdd7158d87c3dd by Raphael Isemann
[lldb] Remove undocumented return value from
DiagnosticManager::PutString
The returned value is currently unused. It also seems to imply that it
somehow represents 'printf-style' the number of characters/bytes written
to some output stream (which is incorrect, as we only know the actual
size of the written message when we have rendered it, e.g. via GetString
and DiagnosticManagers have no associated output stream).
llvm-svn: 368577
The file was modifiedlldb/include/lldb/Expression/DiagnosticManager.h
The file was modifiedlldb/source/Expression/DiagnosticManager.cpp
Commit e011a5b4edf828dcaaa4ab5552b71d2bacaaecab by rupprecht
[llvm-ar][NFC] Fix buildbot
llvm-svn: 368578
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
Commit a45f301f7a5d0f62910d0ed93c96d221555697c9 by hans
Revert r368339 "[MBP] Disable aggressive loop rotate in plain mode"
It caused assertions to fire when building Chromium:
  lib/CodeGen/LiveDebugValues.cpp:331: bool
{anonymous}::LiveDebugValues::OpenRangesSet::empty() const: Assertion
`Vars.empty() == VarLocs.empty() && "open ranges are inconsistent"'
failed.
See https://crbug.com/992871#c3 for how to reproduce.
> Patch https://reviews.llvm.org/D43256 introduced more aggressive loop
layout optimization which depends on profile information. If profile
information is not available, the statically estimated profile
information(generated by BranchProbabilityInfo.cpp) is used. If user
program doesn't behave as BranchProbabilityInfo.cpp expected, the layout
may be worse.
>
> To be conservative this patch restores the original layout algorithm
in plain mode. But user can still try the aggressive layout optimization
with -force-precise-rotation-cost=true.
>
> Differential Revision: https://reviews.llvm.org/D65673
llvm-svn: 368579
The file was modifiedllvm/test/CodeGen/AMDGPU/wave32.ll
The file was modifiedllvm/test/CodeGen/RISCV/remat.ll
The file was modifiedllvm/test/CodeGen/ARM/atomic-cmp.ll
The file was modifiedllvm/test/CodeGen/Hexagon/early-if-merge-loop.ll
The file was modifiedllvm/test/CodeGen/X86/ragreedy-hoist-spill.ll
The file was modifiedllvm/test/CodeGen/Hexagon/bug6757-endloop.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-6.ll
The file was modifiedllvm/test/CodeGen/X86/code_placement_no_header_change.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/optimize-negated-cond.ll
The file was modifiedllvm/test/CodeGen/X86/code_placement_ignore_succ_in_inner_loop.ll
The file was modifiedllvm/test/CodeGen/AArch64/cmpxchg-idioms.ll
The file was modifiedllvm/test/CodeGen/Thumb/consthoist-physical-addr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cf.ll
The file was modifiedllvm/test/CodeGen/X86/block-placement.ll
The file was modifiedllvm/test/CodeGen/PowerPC/atomics-regression.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-1.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/i1-copy-from-loop.ll
The file was modifiedllvm/test/CodeGen/X86/conditional-tailcall.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/multilevel-break.ll
The file was modifiedllvm/test/CodeGen/AArch64/tailmerging_in_mbp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/loop_exit_with_xor.ll
The file was modifiedllvm/test/CodeGen/X86/tail-dup-merge-loop-headers.ll
The file was modifiedllvm/test/CodeGen/ARM/pr32578.ll
The file was modifiedllvm/test/CodeGen/X86/code_placement_loop_rotation2.ll
The file was modifiedllvm/test/DebugInfo/X86/PR37234.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/global_smrd_cfg.ll
The file was modifiedllvm/test/CodeGen/X86/tail-dup-repeat.ll
The file was modifiedllvm/test/CodeGen/X86/loop-blocks.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-3.ll
The file was modifiedllvm/test/CodeGen/PowerPC/machine-pre.ll
The file was modifiedllvm/test/CodeGen/PowerPC/block-placement-1.mir
The file was modifiedllvm/test/CodeGen/X86/pr38185.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-2.ll
The file was modifiedllvm/test/DebugInfo/X86/dbg-value-transfer-order.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/collapse-endcf.ll
The file was modifiedllvm/test/CodeGen/ARM/arm-and-tst-peephole.ll
The file was addedllvm/test/CodeGen/X86/loop-rotate.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/divergent-branch-uniform-condition.ll
The file was modifiedllvm/test/CodeGen/X86/speculative-load-hardening.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-4.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wqm.ll
The file was modifiedllvm/test/CodeGen/X86/widen_cast-4.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-5.ll
The file was modifiedllvm/test/CodeGen/Thumb/pr42760.ll
The file was modifiedllvm/test/CodeGen/X86/move_latch_to_loop_top.ll
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
The file was modifiedllvm/test/CodeGen/ARM/atomic-cmpxchg.ll
The file was modifiedllvm/test/CodeGen/PowerPC/cmp_elimination.ll
The file was modifiedllvm/test/CodeGen/Hexagon/prof-early-if.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-by-select-loop.ll
The file was modifiedllvm/test/CodeGen/RISCV/atomic-rmw.ll
The file was modifiedllvm/test/CodeGen/Hexagon/redundant-branching2.ll
The file was modifiedllvm/test/CodeGen/ARM/code-placement.ll
The file was modifiedllvm/test/CodeGen/ARM/2011-03-23-PeepholeBug.ll
The file was modifiedllvm/test/CodeGen/X86/code_placement.ll
The file was modifiedllvm/test/CodeGen/PowerPC/licm-remat.ll
The file was modifiedllvm/test/CodeGen/X86/lsr-loop-exit-cond.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll
The file was modifiedllvm/test/CodeGen/X86/reverse_branches.ll
Commit 3bd2b513403aa93defcb6287b73b885d6fcc7ca1 by benny.kra
Remove outdated comment about clang not populating src2dst_offset
Clang has been setting this since r174293 (of 2013 vintage).
llvm-svn: 368580
The file was modifiedlibcxxabi/src/private_typeinfo.cpp
Commit 119d1c278cf862db2e6dab809516cadde927c4a9 by ibiryukov
[clangd] Separate chunks with a space when rendering markdown
Summary: This results in better rendering of resulting markdown.
Especially noticeable in coc.nvim that does not have a visible
horizontal spaces around inline code blocks. More details and a
screenshot from coc.nvim can be found in
https://github.com/clangd/clangd/issues/95.
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66086
llvm-svn: 368581
The file was modifiedclang-tools-extra/clangd/FormattedString.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FormattedStringTests.cpp
Commit df8bdcadf95ef8f7c7593765101cb1f0f5dea87f by Raphael Isemann
[lldb][NFC] Minor fixes for lldb_private::DiagnosticManager
llvm-svn: 368582
The file was modifiedlldb/include/lldb/Expression/DiagnosticManager.h
Commit 24a9e86849ff0c88ed67b72e08da58ce6ffe5a6f by spatel
[InstCombine] add tests for scalar-select-of-vectors; NFC
llvm-svn: 368583
The file was modifiedllvm/test/Transforms/InstCombine/select-extractelement.ll
Commit 29141da75ed940723af43131cb5566dfe3aae9e5 by sfertile
[XCOFF] Use a single symbolic constant for the size of an embeded name.
[NFC]
Convert SymbolNameSize and SectionNameSize into just `NameSize`. The
length of a name embeded in a symbol table entry or section header table
entry is length 8 for Sections, Symbols and Files. No need to have a
distinct constant for each one. Also removes the Size argument to
'generateStringRef' as the size is always 'XCOFF::NameSize'.
llvm-svn: 368584
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
The file was modifiedllvm/include/llvm/Object/XCOFFObjectFile.h
The file was modifiedllvm/include/llvm/BinaryFormat/XCOFF.h
Commit 8095449e6832e5d4636e245e11e9e4af2c56055b by kostyak
[scudo][standalone] Minor corrections
Summary: Few corrections with no functional change:
- replacing `%zd` with `%zu` all around: the values are unsigned
- prefer `MAP_ANONYMOUS` to `MAP_ANON` (it's deprecated)
- remove the unused `enum LinkerInitialized`
- mark a parameter as `UNUSED` in Fuchsia's `getRandom`
- correct the casing of a variable and use `nullptr` instead of 0 for
pointers in `list.h`
- reorder some `typedef` to be consistent between `signed` and
`unsigned`
Reviewers: eugenis, vitalybuka, morehouse, hctim
Reviewed By: vitalybuka, morehouse
Subscribers: delcypher, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D65660
llvm-svn: 368585
The file was modifiedcompiler-rt/lib/scudo/standalone/list.h
The file was modifiedcompiler-rt/lib/scudo/standalone/quarantine.h
The file was modifiedcompiler-rt/lib/scudo/standalone/linux.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/secondary.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/fuchsia.cpp
The file was modifiedcompiler-rt/lib/scudo/standalone/internal_defs.h
Commit 84cb4b2b533c9b662707ad3f6500b39370923e0d by david.green
[ARM] Add or update a number of costmodel tests. NFC
This adds a number of cost model tests for ARM, useful for MVE. It also
re-jigs some of the existing tests to make them easier to update and
read.
llvm-svn: 368586
The file was addedllvm/test/Analysis/CostModel/ARM/arith.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/cast.ll
The file was addedllvm/test/Analysis/CostModel/ARM/load_store.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/select.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/divrem.ll
The file was addedllvm/test/Analysis/CostModel/ARM/fparith.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/shuffle.ll
Commit 83bbfaa5e4f89942bb62f318fc9e1ef3b70296c9 by david.green
[ARM] Put some of the TTI costmodel behind hasNeon calls.
This puts some of the calls in ARMTargetTransformInfo.cpp behind
hasNeon() checks, now that we have MVE, and updates all the tests
accordingly.
Differential Revision: https://reviews.llvm.org/D63447
llvm-svn: 368587
The file was modifiedllvm/test/Analysis/CostModel/ARM/fparith.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/cast.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/load_store.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/arith.ll
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/ARM/divrem.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/select.ll
The file was modifiedllvm/test/Analysis/CostModel/ARM/shuffle.ll
Commit c6802b231f9c156162d9394052a56a06f16a930f by xazax.hun
Fix multiple lifetime warning messages for range based for loop
llvm-svn: 368588
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/test/Sema/warn-lifetime-analysis-nocfg.cpp
Commit 3e39f39ad929f0b6630ecb59b717fd6ae0702c76 by david.green
[ARM] MVE shuffle broadcast costs
A VDUP will perform a vector broadcast in a single instruction. Update
the cost model for MVE accordingly.
Code originally by David Sherwood.
Differential Revision: https://reviews.llvm.org/D63448
llvm-svn: 368589
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/ARM/shuffle.ll
Commit 6a3c2c84be2b319e4aa893e6b3440eedc27ab3a6 by sam.mccall
[clangd] Refactor computation of extracted expr in ExtractVariable
tweak. NFC
Summary: This takes this logic out of the Tweak class, and simplifies
the signature of the function where the main logic is.
The goal is to make it easier to turn into a loop like:
  for (current = N; current and current->parent are both expr; current =
current->parent)
   if (suitable(current))
     return current;
return null;
Reviewers: SureYeaah
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65333
llvm-svn: 368590
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExtractVariable.cpp
Commit cb282b4ebcc6dfdad55581464cd72abb0fec9cc4 by syaghmour
[ASTDump] Add is_anonymous to VisitCXXRecordDecl
Summary: Adding is_anonymous the ASTDump for CXXRecordDecl. This turned
out to be useful when debugging some problems with how LLDB creates ASTs
from DWARF.
Differential Revision: https://reviews.llvm.org/D66028
llvm-svn: 368591
The file was modifiedclang/test/AST/ast-dump-records.cpp
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
Commit 4c9c98f36b64f35d271a1dc9d31baa9fa441878c by Stanislav.Mekhanoshin
[AMDGPU] Printf runtime binding pass
This pass is a port of the according pass from the HSAIL compiler. It
parses printf calls and setup runtime printf buffer. After that it
copies printf arguments to the buffer and fills in module metadata for
runtime.
Differential Revision: https://reviews.llvm.org/D24035
llvm-svn: 368592
The file was addedllvm/test/CodeGen/AMDGPU/opencl-printf.ll
The file was addedllvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
The file was modifiedllvm/lib/Target/AMDGPU/CMakeLists.txt
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Commit 86876422ef086c9b98da61eee7d917dfe0fc404d by david.green
[ARM] sext of a load is free
This teaches the cost model that the sext or zext of a load is going to
be free.
Differential Revision: https://reviews.llvm.org/D66006
llvm-svn: 368593
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/ARM/cast.ll
Commit 09d5d1533910aee67eff44b5d407b76ccdb4a048 by craig.topper
[X86] Disable use of zmm registers for varargs musttail calls under
prefer-vector-width=256 and min-legal-vector-width=256.
Under this config, the v16f32 type we try to use isn't to a register
class so the getRegClassFor call will fail.
llvm-svn: 368594
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/musttail-fastcall.ll
Commit 31ba61bb0d3998bff03dcc30cb24deb3f72ab9ad by lebedev.ri
[CostModel][X86][AArch64] Check all 3 cost kinds in aggregates.ll
llvm-svn: 368595
The file was modifiedllvm/test/Analysis/CostModel/AArch64/aggregates.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/aggregates.ll
Commit 4b99b58a847c8424d9992a1e92a9f8ae7e4d7b51 by aktoon
[ThinLTO][AutoFDO] Fix memory corruption due to race condition from thin
backends
Summary: This commit fixed a race condition from multi-threaded thinLTO
backends that causes non-deterministic memory corruption for a data
structure used only by AutoFDO with compact binary profile.
GUIDToFuncNameMap, a static data member of type DenseMap in
FunctionSamples is used as a per-module mapping from function name MD5
to name string when input AutoFDO profile is in compact binary format.
However with ThinLTO, we can have parallel backends modifying and
accessing the class static map concurrently. The fix is to make
GUIDToFuncNameMap a member of SampleProfileLoader instead of a file
static data.
Reviewers: wmi, davidxl, danielcdh
Subscribers: mehdi_amini, inglorion, hiraditya, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65848
llvm-svn: 368596
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
The file was modifiedllvm/lib/ProfileData/SampleProf.cpp
Commit 2a9efbf2484d554f7e63c8f83be0c861e160d251 by shkzhang
[NFC][PowerPC] Add the test case shrink-wrap.mir and shrink-wrap.ll for
PPC
llvm-svn: 368597
The file was addedllvm/test/CodeGen/PowerPC/shrink-wrap.ll
The file was addedllvm/test/CodeGen/PowerPC/shrink-wrap.mir
Commit 38a1aa117f3d1974ab6653b692e9946e3d11db4a by matthew.mcgovern
[builtins] MSVC warning disable for clean build     -
https://reviews.llvm.org/D66023     - amended for ifdef/if gcc errors in
previous verison
llvm-svn: 368598
The file was modifiedcompiler-rt/lib/builtins/emutls.c
The file was modifiedcompiler-rt/lib/builtins/fixunsxfdi.c
The file was modifiedcompiler-rt/lib/builtins/fixxfdi.c
The file was modifiedcompiler-rt/lib/builtins/fixunsxfsi.c
The file was modifiedcompiler-rt/lib/builtins/udivmoddi4.c
Commit 1308011e1b5c5382281a63dd4191a1784f8d2295 by Louis Dionne
[libc++] Implement CTAD for std::tuple
Summary: We were using implicit deduction guides instead of explicit
ones, however the implicit ones don't do work anymore when changing the
constructors.
This commit adds the actual guides specified in the Standard to make
libc++ (1) closer to the Standard and (2) more resistent to changes in
std::tuple's constructors.
Reviewers: Quuxplusone
Subscribers: christof, jkorous, dexonsmith, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D65225
llvm-svn: 368599
The file was removedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/implicit_deduction_guides.pass.cpp
The file was modifiedlibcxx/include/tuple
The file was addedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp
Commit 0a223d981e6d57a051c77a65cdee9f7024e1bc35 by erik.pilkington
[Sema] Require a complete type for __builtin_bit_cast operands
Fixes llvm.org/PR42936
llvm-svn: 368600
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was modifiedclang/test/SemaCXX/builtin-bit-cast.cpp
Commit c9f476a503b5a8b053475ee6ae125814fd928342 by nicolasweber
gn build: Merge r368592
llvm-svn: 368601
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
Commit e27f778a1992177cdd19130a7148dab9e343b747 by diegoaat97
[clang-doc] Generate HTML links for children namespaces/records
Path is now stored in the references to the child while serializing,
then this path is used to generate the relative path in the HTML
generator. Now some references have paths and some don't so in the
reducing phase, references are now properly merged checking for empty
attributes. Tests added for HTML and YAML generators, merging and
serializing. computeRelativePath function had a bug when the filepath is
part of the given directory; it returned a path that starts with a
separator. This has been fixed.
Differential Revision: https://reviews.llvm.org/D65987
llvm-svn: 368602
The file was modifiedclang-tools-extra/clang-doc/HTMLGenerator.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.cpp
The file was modifiedclang-tools-extra/clang-doc/Serialize.cpp
The file was modifiedclang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
The file was modifiedclang-tools-extra/unittests/clang-doc/MergeTest.cpp
The file was modifiedclang-tools-extra/unittests/clang-doc/SerializeTest.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.h
The file was modifiedclang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp
Commit c3b93bed2992f4f25c04daff962e0ee802acc438 by dan
[asan_symbolize] Fix bug where the frame counter was not incremented.
Summary: This bug occurred when a plug-in requested that a binary not be
symbolized while the script is trying to symbolize a stack frame. In
this case `self.frame_no` would not be incremented. This would cause
subsequent stack frames that are symbolized to be incorrectly numbered.
To fix this `get_symbolized_lines()` has been modified to take an
argument that indicates whether the stack frame counter should
incremented. In `process_line_posix()` `get_symbolized_lines(None, ...)`
is now used in in the case where we don't want to symbolize a line so
that we can keep the frame counter increment in a single function.
A test case is included. The test uses a dummy plugin that always asks
`asan_symbolize.py` script to not symbolize the first binary that the
script asks about. Prior to the patch this would cause the output to
script to look something like
```
#0 0x0
#0 0x0 in do_access
#1 0x0 in main
```
This is the second attempt at landing this patch. The first (r368373)
failed due to failing some android bots and so was reverted in r368472.
The new test is now disabled for Android. It turns out that the patch
also fails for iOS too so it is also disabled for that family of
platforms too.
rdar://problem/49476995
Reviewers: kubamracek, yln, samsonov, dvyukov, vitalybuka
Subscribers: #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D65495
llvm-svn: 368603
The file was modifiedcompiler-rt/lib/asan/scripts/asan_symbolize.py
The file was addedcompiler-rt/test/asan/TestCases/Posix/asan_symbolize_script/plugin_wrong_frame_number_bug.cpp
The file was addedcompiler-rt/test/asan/TestCases/Posix/asan_symbolize_script/plugin_wrong_frame_number_bug.py
Commit 086048df04f7fa44ba0bcb057260bffc746879fc by nicolasweber
libcxxabi: Rename .hpp files to .h
LLVM uses .h as its extension for header files.
Differential Revision: https://reviews.llvm.org/D65981
llvm-svn: 368604
The file was removedlibcxxabi/test/support/timer.hpp
The file was modifiedlibcxxabi/test/test_demangle.pass.cpp
The file was addedlibcxxabi/src/cxa_handlers.h
The file was addedlibcxxabi/test/support/timer.h
The file was modifiedlibcxxabi/src/cxa_noexception.cpp
The file was modifiedlibcxxabi/src/cxa_exception.cpp
The file was modifiedlibcxxabi/src/cxa_exception_storage.cpp
The file was modifiedlibcxxabi/test/dynamic_cast5.pass.cpp
The file was modifiedlibcxxabi/src/cxa_unexpected.cpp
The file was modifiedlibcxxabi/src/cxa_personality.cpp
The file was addedlibcxxabi/src/cxa_exception.h
The file was modifiedlibcxxabi/test/test_exception_storage.pass.cpp
The file was modifiedlibcxxabi/src/cxa_default_handlers.cpp
The file was modifiedlibcxxabi/test/dynamic_cast_stress.pass.cpp
The file was modifiedlibcxxabi/src/cxa_handlers.cpp
The file was modifiedlibcxxabi/test/dynamic_cast14.pass.cpp
The file was removedlibcxxabi/src/cxa_handlers.hpp
The file was modifiedlibcxxabi/test/dynamic_cast3.pass.cpp
The file was removedlibcxxabi/src/cxa_exception.hpp
Commit dd8580f437b5c3f69721b3953ad79d620d9de24d by nicolasweber
 small follow-up to r368604
llvm-svn: 368605
The file was modifiedlibcxxabi/test/support/timer.h
Commit 3f4e9b156d37fe91599bb5d6ec24709d8fc78ec2 by craig.topper
[X86] Replace call to isTruncStoreLegalOrCustom with isTruncStoreLegal.
NFC
We have no custom trunc stores on X86.
llvm-svn: 368606
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 1b02909847ce3b82b1c3a0b6313b3076a4901f14 by craig.topper
[X86] Simplify creation of saturating truncating stores.
We just need to check if the truncating store is legal instead of going
through isSATValidOnAVX512Subtarget.
llvm-svn: 368607
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit a3605baaffa630f7cf9c9bafd44765da72587333 by craig.topper
[X86] Add a paranoia type check to the code that detects AVG patterns
from truncating stores.
If we're after type legalize, we should make sure we won't create a
store with an illegal type when we separate the AVG pattern from the
truncating store.
I don't know of a way to fail for this today. Just noticed while I was
in the vicinity.
llvm-svn: 368608
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 0761a38e8af5bddaf8d7622501c56988bea86af3 by craig.topper
[X86] Remove unreachable code from LowerTRUNCATE. NFC
All three 256->128 bit cases were already handled above.
Noticed while looking at the coverage report.
llvm-svn: 368609
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 055fcec78cf6026719af4966c7568e39c1229d2d by erik.pilkington
[Sema] Check __builtin_bit_cast operand for completeness before
materializing it.
This shouldn't be observable, but it doesn't make sense to materialize
an incomplete type.
llvm-svn: 368610
The file was modifiedclang/lib/Sema/SemaCast.cpp
Commit d9bc9c81611705c121135fb7449ebcbba74fae33 by Juergen Ributzka
Revert "Disable MachO TBD write tests for Windows."
The underlying issue was fixed in r357759.
llvm-svn: 368611
The file was modifiedllvm/unittests/TextAPI/TextStubV2Tests.cpp
The file was modifiedllvm/unittests/TextAPI/TextStubV1Tests.cpp
Commit d2e493c3378b4b61e16109c67568f5d642f3c3a1 by nicolasweber
Fix Wnewline-eof after r368598
llvm-svn: 368613
The file was modifiedcompiler-rt/lib/builtins/udivmoddi4.c
The file was modifiedcompiler-rt/lib/builtins/fixunsxfdi.c
Commit 36f13e49127e56d6db4aeb76c0bbfacab1988157 by davide
[Symbol] GetTypeBitAlign() should return None in case of failure.
Summary: And not `zero`. This is the last API needed to be converted to
an Optional<T>.
Reviewers: xiaobai, compnerd
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D66093
llvm-svn: 368614
The file was modifiedlldb/include/lldb/Symbol/CompilerType.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
The file was modifiedlldb/source/Symbol/CompilerType.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/include/lldb/Symbol/TypeSystem.h
The file was modifiedlldb/source/Expression/Materializer.cpp
Commit e7daf78e05d2d72d4f49069ab3c39f4598d437dd by stilis
Revert "[lldb] Fix dynamic_cast by no longer failing on variable without
metadata"
This reverts commit b448d1bf212219febbb182d00c210bad1bd25e7f.
llvm-svn: 368615
The file was removedlldb/packages/Python/lldbsuite/test/lang/cpp/dynamic_cast/ExtBase.cpp
The file was removedlldb/packages/Python/lldbsuite/test/lang/cpp/dynamic_cast/ExtBase.h
The file was removedlldb/packages/Python/lldbsuite/test/lang/cpp/dynamic_cast/TestDynamicCast.py
The file was removedlldb/packages/Python/lldbsuite/test/lang/cpp/dynamic_cast/Makefile
The file was removedlldb/packages/Python/lldbsuite/test/lang/cpp/dynamic_cast/main.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
Commit 532e724992393415c5deaf7f71fa1f46fca60932 by stilis
Revert "[lldb] Refactor guard variable checks in IRForTarget"
This reverts commit 94fbbf712e906464f5f3abbeabcfcbc05d5352ec.
llvm-svn: 368616
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
Commit 74cec618f304e88ca83875e84978acfa1b8cc1ec by mmoroz
[libFuzzer] Merge: print feature coverage number as well.
Summary: feature coverage is a useful signal that is available during
the merge process, but was not printed previously.
Output example:
```
$ ./fuzzer -use_value_profile=1 -merge=1 new_corpus/ seed_corpus/ INFO:
Seed: 1676551929 INFO: Loaded 1 modules   (2380 inline 8-bit counters):
2380 [0x90d180, 0x90dacc),  INFO: Loaded 1 PC tables (2380 PCs): 2380
[0x684018,0x68d4d8),  MERGE-OUTER: 180 files, 78 in the initial corpus
MERGE-OUTER: attempt 1 INFO: Seed: 1676574577 INFO: Loaded 1 modules 
(2380 inline 8-bit counters): 2380 [0x90d180, 0x90dacc),  INFO: Loaded 1
PC tables (2380 PCs): 2380 [0x684018,0x68d4d8),  INFO: -max_len is not
provided; libFuzzer will not generate inputs larger than 1048576 bytes
MERGE-INNER: using the control file '/tmp/libFuzzerTemp.111754.txt'
MERGE-INNER: 180 total files; 0 processed earlier; will process 180
files now
#1 pulse  cov: 134 ft: 330 exec/s: 0 rss: 37Mb
#2 pulse  cov: 142 ft: 462 exec/s: 0 rss: 38Mb
#4 pulse  cov: 152 ft: 651 exec/s: 0 rss: 38Mb
#8 pulse  cov: 152 ft: 943 exec/s: 0 rss: 38Mb
#16 pulse  cov: 520 ft: 2783 exec/s: 0 rss: 39Mb
#32 pulse  cov: 552 ft: 3280 exec/s: 0 rss: 41Mb
#64 pulse  cov: 576 ft: 3641 exec/s: 0 rss: 50Mb
#78 LOADED cov: 602 ft: 3936 exec/s: 0 rss: 88Mb
#128 pulse  cov: 611 ft: 3996 exec/s: 0 rss: 93Mb
#180 DONE   cov: 611 ft: 4016 exec/s: 0 rss: 155Mb MERGE-OUTER:
succesfull in 1 attempt(s) MERGE-OUTER: the control file has 39741 bytes
MERGE-OUTER: consumed 0Mb (37Mb rss) to parse the control file
MERGE-OUTER: 9 new files with 80 new features added; 9 new coverage
edges
```
Reviewers: hctim, morehouse
Reviewed By: morehouse
Subscribers: delcypher, #sanitizers, llvm-commits, kcc
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D66030
llvm-svn: 368617
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerInternal.h
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerMerge.cpp
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerLoop.cpp
Commit 55371e697cd41cc1c282aa9a7bc3baa6164659a9 by aditya_nandakumar
[GISel]: Fix a bug in KnownBits where we should have been using
SizeInBits
https://reviews.llvm.org/D66039
We were using getIndexSize instead of getIndexSizeInBits(). Added test
case for G_PTRTOINT and G_INTTOPTR.
llvm-svn: 368618
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
The file was modifiedllvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
Commit 352d1b59c0c892f4d642a7355e0dee664bb19479 by mitchphillips
[GWP-ASan] Update backtrace function signature.
Summary: Updates the function signature and comments for backtracing
(and printing backtraces). This update brings GWP-ASan in line with
future requirements for stack frame compression, wherein the length of
the trace is provided explicitly, rather than relying on
nullptr-termination.
Reviewers: vlad.tsyrklevich
Reviewed By: vlad.tsyrklevich
Subscribers: #sanitizers, llvm-commits, morehouse
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D66099
llvm-svn: 368619
The file was modifiedcompiler-rt/lib/gwp_asan/optional/backtrace_sanitizer_common.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/optional/backtrace.h
The file was modifiedcompiler-rt/lib/gwp_asan/guarded_pool_allocator.h
The file was modifiedcompiler-rt/lib/gwp_asan/optional/backtrace_linux_libc.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/options.h
Commit 7f9bbe0599779846c56cd305cd1279ffd623f38e by davide
[CompilerType] Pass an ExecutionContextScope to GetTypeBitAlign.
llvm-svn: 368620
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/include/lldb/Symbol/TypeSystem.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/include/lldb/Symbol/CompilerType.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
The file was modifiedlldb/source/Expression/Materializer.cpp
The file was modifiedlldb/source/Symbol/CompilerType.cpp
Commit ece81904977259da86b7a52f2c2081bacbbd61a2 by jdoerfert
[Attributor] Make the InformationCache an Attributor member
The functionality is not changed but the interfaces are simplified and
repetition is removed.
llvm-svn: 368621
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit acc8079f8e6ff19fca4db46706d4b334a9094eba by jdoerfert
[Attributor][NFC] Add IntegerState raw_ostream << operator
llvm-svn: 368622
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit e07e593782b2d165ebfef3cac2999e74e42d20a6 by craig.topper
[X86] Allow combineTruncateWithSat to use pack instructions for i16->i8
without AVX512BW.
We need AVX512BW to be able to truncate an i16 vector. If we don't have
that we have to extend i16->i32, then trunc, i32->i8. But we won't be
able to remove the min/max if we do that. At least not without more
special handling.
llvm-svn: 368623
The file was modifiedllvm/test/CodeGen/X86/masked_store_trunc_ssat.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-ssat.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-packus.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-trunc.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit a7165c088e11a9b244d9efde95291fa79692e2c9 by whitney.uwaterloo
Title: Fix build warning for operator<< when using GCC 7. Authored By:
etiotto Differential Revision: https://reviews.llvm.org/D63459
llvm-svn: 368624
The file was modifiedllvm/include/llvm/Analysis/LoopCacheAnalysis.h
Commit 26e58466de615adb36c79a4212287e9e8a4ac303 by jdoerfert
[Attributor] Use the cached data layout directly
This removes the warning by using the new DL member. It also simplifies
the code.
llvm-svn: 368625
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit ef8f1c473a8259798f720f7b617abee962557b3f by Stanislav.Mekhanoshin
[AMDGPU] Use PredicateControl in MIMGBaseOpcode. NFC.
This is infrastructural, will be needed for future work. For some reason
it was only used in MIMG_NoSampler, while needed everywere we use
MIMGBaseOpcode if we want to use predicates.
Differential Revision: https://reviews.llvm.org/D66115
llvm-svn: 368626
The file was modifiedllvm/lib/Target/AMDGPU/MIMGInstructions.td
Commit 05c145d694f2b55d2b56b7049fffe90978af7b65 by daniel_l_sanders
[webassembly] Apply llvm-prefer-register-over-unsigned from clang-tidy
to LLVM
Summary: This clang-tidy check is looking for unsigned integer variables
whose initializer starts with an implicit cast from llvm::Register and
changes the type of the variable to llvm::Register (dropping the llvm::
where possible).
Reviewers: aheejin
Subscribers: jholewinski, MatzeB, qcolombet, dschuff, jyknight,
dylanmckay, sdardis, nemanjai, jvesely, wdng, nhaehnle, sbc100,
jgravelle-google, kristof.beyls, hiraditya, aheejin, kbarton,
fedor.sergeev, javed.absar, asb, rbar, johnrusso, simoncook, apazos,
sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan,
rogfer01, MartinMosbeck, brucehoult, the_o, tpr, PkmX, jocewei, jsji,
Petar.Avramovic, asbirlea, Jim, s.egerton, llvm-commits
Tags: #llvm
Differential Revision for whole review: https://reviews.llvm.org/D65962
llvm-svn: 368627
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLowerBrUnless.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyUtilities.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyMemIntrinsicResults.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
Commit 5ae66e56cf0cff4e8cc8b4341767740521c77f6c by daniel_l_sanders
[aarch64] Apply llvm-prefer-register-over-unsigned from clang-tidy to
LLVM
Summary: This clang-tidy check is looking for unsigned integer variables
whose initializer starts with an implicit cast from llvm::Register and
changes the type of the variable to llvm::Register (dropping the llvm::
where possible).
Manual fixups in: AArch64InstrInfo.cpp - genFusedMultiply() now takes a
Register* instead of unsigned* AArch64LoadStoreOptimizer.cpp - Ternary
operator was ambiguous between Register/MCRegister. Settled on Register
Depends on D65919
Reviewers: aemerson
Subscribers: jholewinski, MatzeB, qcolombet, dschuff, jyknight,
dylanmckay, sdardis, nemanjai, jvesely, wdng, nhaehnle, sbc100,
jgravelle-google, kristof.beyls, hiraditya, aheejin, kbarton,
fedor.sergeev, javed.absar, asb, rbar, johnrusso, simoncook, apazos,
sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan,
rogfer01, MartinMosbeck, brucehoult, the_o, tpr, PkmX, jocewei, jsji,
Petar.Avramovic, asbirlea, Jim, s.egerton, llvm-commits
Tags: #llvm
Differential Revision for full review was:
https://reviews.llvm.org/D65962
llvm-svn: 368628
The file was modifiedllvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64StorePairSuppress.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FastISel.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SIMDInstrOpt.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CondBrTuning.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64AdvSIMDScalarPass.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64PBQPRegAlloc.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
Commit 3836874dbbf3840fb5286ae4336b29093eb0115e by daniel_l_sanders
[risc-v] Apply llvm-prefer-register-over-unsigned from clang-tidy to
LLVM
Summary: This clang-tidy check is looking for unsigned integer variables
whose initializer starts with an implicit cast from llvm::Register and
changes the type of the variable to llvm::Register (dropping the llvm::
where possible).
Depends on D65919
Reviewers: lenary
Subscribers: jholewinski, MatzeB, qcolombet, dschuff, jyknight,
dylanmckay, sdardis, nemanjai, jvesely, wdng, nhaehnle, sbc100,
jgravelle-google, kristof.beyls, hiraditya, aheejin, kbarton,
fedor.sergeev, javed.absar, asb, rbar, johnrusso, simoncook, apazos,
sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan,
rogfer01, MartinMosbeck, brucehoult, the_o, tpr, PkmX, jocewei, jsji,
Petar.Avramovic, asbirlea, Jim, s.egerton, llvm-commits
Tags: #llvm
Differential Revision for full review was:
https://reviews.llvm.org/D65962
llvm-svn: 368629
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
Commit b978c51ce4e99978ba526e7a5b69fe110dba396b by Juergen Ributzka
[TextAPI] Fix & Add tests for tbd files version 3.
- There was a simple typo in TextStub code that prevented version 3
files to be read.
- Included a version 3 unit test to handle the differences in the
format.
- Also a typo in Error.h inside the comments.
https://reviews.llvm.org/D66041
This patch is from Cyndy Ishida <cyndy_ishida@apple.com>.
llvm-svn: 368630
The file was modifiedllvm/include/llvm/Support/Error.h
The file was modifiedllvm/lib/TextAPI/MachO/TextStub.cpp
The file was modifiedllvm/unittests/TextAPI/CMakeLists.txt
The file was addedllvm/unittests/TextAPI/TextStubV3Tests.cpp
Commit e9865b9b31bb2e6bc742dc6fca8f9f9517c3c43e by rnk
[WinEH] Fix catch block parent frame pointer offset
r367088 made it so that funclets store XMM registers into their local
frame instead of storing them to the parent frame. However, that change
forgot to update the parent frame pointer offset for catch blocks. This
change does that.
Fixes crashes when an exception is rethrown in a catch block that saves
XMMs, as described in https://crbug.com/992860.
llvm-svn: 368631
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/win64-funclet-savexmm.ll
Commit a0a47d8ac113b1e959288698deef847f562921d3 by mog
[clang] Update isDerivedFrom to support Objective-C classes 🔍
Summary: This change updates `isDerivedFrom` to support Objective-C
classes by converting it to a polymorphic matcher.
Notes: The matching behavior for Objective-C classes is modeled to match
the behavior of `isDerivedFrom` with C++ classes. To that effect,
`isDerivedFrom` matches aliased types of derived Objective-C classes,
including compatibility aliases. To achieve this, the AST visitor has
been updated to map compatibility aliases to their underlying
Objective-C class.
`isSameOrDerivedFrom` also provides similar behaviors for C++ and
Objective-C classes. The behavior that
`cxxRecordDecl(isSameOrDerivedFrom("X"))` does not match
`class Y {}; typedef Y X;` is mirrored for Objective-C in that
`objcInterfaceDecl(isSameOrDerivedFrom("X"))` does not match either
`@interface Y @end typedef Y X;` or
`@interface Y @end @compatibility_alias X Y;`.
Test Notes: Ran clang unit tests.
Reviewers: aaron.ballman, jordan_rose, rjmccall, klimek, alexfh,
gribozavr
Reviewed By: aaron.ballman, gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D60543
llvm-svn: 368632
The file was modifiedclang/lib/ASTMatchers/ASTMatchFinder.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
The file was modifiedclang/docs/LibASTMatchersReference.html
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp
Commit 5b32752d107aec1dbe8676a080c4ae9866a2607c by Stanislav.Mekhanoshin
[AMDGPU] removed unused functions from printf lowering
Differential Revision: https://reviews.llvm.org/D66117
llvm-svn: 368633
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
Commit 6817ce24c17261a8c9ec52d0dfd211ec89483962 by Akira
Do not call replaceAllUsesWith to upgrade calls to ARC runtime functions
to intrinsic calls
This fixes a bug in r368311.
It turns out that the ARC runtime functions in the IR can have pointer
parameter types that are not i8* or i8**. Instead of RAUWing normal
functions with intrinsics, manually bitcast the arguments before passing
them to the intrinsic functions and bitcast the return value back to the
type of the original call instruction.
rdar://problem/54125406
llvm-svn: 368634
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
The file was modifiedllvm/test/Bitcode/upgrade-arc-runtime-calls.bc
The file was modifiedllvm/test/Bitcode/upgrade-mrr-runtime-calls.bc
The file was modifiedllvm/test/Bitcode/upgrade-arc-runtime-calls.ll
Commit b2cff5e50f880df795db6c3dc382bf10014dd7a7 by craig.topper
[X86] Remove 'Server' from Tigerlake description comments.
Tigerlake is a client CPU not a server CPU.
llvm-svn: 368635
The file was modifiedclang/include/clang/Basic/X86Target.def
Commit 4acb4ee767d0f450f6b87a68e6c9e483ee0744b6 by echristo
Move findBBwithCalls to the file it's used in to avoid unused function
warnings.
llvm-svn: 368636
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/SpeculateAnalyses.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp
Commit c1098089825654f7f1ab669cb3f6359904df85fb by Akira
Revert "Do not call replaceAllUsesWith to upgrade calls to ARC runtime
functions"
This reverts commit r368634 because it broke a bot.
llvm-svn: 368637
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
The file was modifiedllvm/test/Bitcode/upgrade-arc-runtime-calls.ll
The file was modifiedllvm/test/Bitcode/upgrade-arc-runtime-calls.bc
The file was modifiedllvm/test/Bitcode/upgrade-mrr-runtime-calls.bc
Commit f4446f177505d5bd94f843a6d6a74f71e7320f22 by apl
[Symbol] Remove redundant include
llvm-svn: 368638
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit 3ffa688dfca4983655d1c9f79e60c70a6404da34 by Alex Lorenz
clang-scan-deps: do not spawn threads when LLVM_ENABLE_THREADS is
disabled
llvm-svn: 368640
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp
The file was modifiedclang/test/ClangScanDeps/regular_cdb.cpp
Commit d8c47d52da518e9c3c3c9053419ef36dbfbd441b by jlettner
[TSan] Fix test failing on Linux
llvm-svn: 368641
The file was modifiedcompiler-rt/test/tsan/libdispatch/dispatch_once_deadlock.c
Commit a58a27513ba94b458d6481fdbdfca61e08331cc2 by daniel_l_sanders
Eliminate implicit Register->unsigned conversions in VirtRegMap. NFC
Summary: This was mostly an experiment to assess the feasibility of
completely eliminating a problematic implicit conversion case in D61321
in advance of landing that* but it also happens to align with the goal
of propagating the use of Register/MCRegister instead of unsigned so I
believe it makes sense to commit it.
The overall process for eliminating the implicit conversions from
Register/MCRegister -> unsigned was to: 1. Add an explicit conversion to
support genuinely required conversions to
  unsigned. For example, using them as an index for IndexedMap. Sadly
it's
  not possible to have an explicit and implicit conversion to the same
  type and only deprecate the implicit one so I called the explicit
  conversion get(). 2. Temporarily annotate the implicit conversion to
unsigned with
  LLVM_ATTRIBUTE_DEPRECATED to make them visible 3. Eliminate implicit
conversions by propagating Register/MCRegister/
  explicit-conversions appropriately 4. Remove the deprecation added in
2.
* My conclusion is that it isn't feasible as there's too much code to
update in one go.
Depends on D65678
Reviewers: arsenm
Subscribers: MatzeB, wdng, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65685
llvm-svn: 368643
The file was modifiedllvm/lib/CodeGen/VirtRegMap.cpp
The file was modifiedllvm/include/llvm/CodeGen/LiveIntervals.h
The file was modifiedllvm/include/llvm/MC/MCRegister.h
The file was modifiedllvm/include/llvm/CodeGen/VirtRegMap.h
The file was modifiedllvm/include/llvm/CodeGen/LiveRegUnits.h
The file was modifiedllvm/include/llvm/CodeGen/MachineRegisterInfo.h
The file was modifiedllvm/lib/CodeGen/MachineBasicBlock.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetRegisterInfo.h
The file was modifiedllvm/include/llvm/CodeGen/Register.h
The file was modifiedllvm/include/llvm/CodeGen/MachineBasicBlock.h
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/CodeGen/TargetRegisterInfo.cpp
Commit 6e18c7f8d4b5d9b4ea1c9590289489ab9115bff0 by llvm
[lld] Remove unnecessary "class Lazy"
llvm-svn: 368644
The file was modifiedlld/COFF/InputFiles.h
Commit 438315bf69c7dae68edd5c99f9672fffdc442a79 by Stanislav.Mekhanoshin
[AMDGPU] Fix msan failure in printf lowering
llvm-svn: 368645
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
Commit 3c7c053145fa98a017d426b475a9cf9c001c9da1 by Akira
Do not call replaceAllUsesWith to upgrade calls to ARC runtime functions
to intrinsic calls
This fixes a bug in r368311.
It turns out that the ARC runtime functions in the IR can have pointer
parameter types that are not i8* or i8**. Instead of RAUWing normal
functions with intrinsics, manually bitcast the arguments before passing
them to the intrinsic functions and bitcast the return value back to the
type of the original call instruction.
This recommits r368634, which was reverted in r368637. The loop in the
patch was iterating over uses of a function and deleting function calls
inside it, which caused bots to crash.
rdar://problem/54125406
Differential Revision: https://reviews.llvm.org/D66047
llvm-svn: 368646
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
The file was modifiedllvm/test/Bitcode/upgrade-arc-runtime-calls.bc
The file was modifiedllvm/test/Bitcode/upgrade-mrr-runtime-calls.bc
The file was modifiedllvm/test/Bitcode/upgrade-arc-runtime-calls.ll
Commit 8b996dc16ee4ed16922b33c616b3c21911438d5f by yevgeny.rouban
Verifier: check prof branch_weights
This patch is to check some of constraints on
!pro branch_weights metadata:
https://llvm.org/docs/BranchWeightMetadata.html
Reviewers: asbirlea, reames, chandlerc Reviewed By: reames Differential
Revision: https://reviews.llvm.org/D61179
llvm-svn: 368647
The file was modifiedllvm/lib/IR/Verifier.cpp
Commit 70fdfed45f040bf27787a0fc4ebc8f483298bde3 by aditya_nandakumar
[GlobalISel]: Add KnownBits for G_XOR
https://reviews.llvm.org/D66119
llvm-svn: 368648
The file was modifiedllvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
Commit 892cdc73be231c0148ca092260644c30b1dd4e16 by maskray
[ELF][test] Add dynamic-list-preempt2.s
When producing a DSO, the isPreemptible property of a Defined with
default or protected visibility is affected by the --dynamic-list file,
but not by interposable symbols in other DSOs.
llvm-svn: 368649
The file was addedlld/test/ELF/dynamic-list-preempt2.s
Commit 2a09b9acfb6fa14bbb08df3c13fb9fb0d09069d1 by sepavloff
Added unit tests to check supported rounding modes
Also added fixed misspelled metadata name.
Differential Revision: https://reviews.llvm.org/D66073
llvm-svn: 368650
The file was modifiedllvm/unittests/IR/IRBuilderTest.cpp
The file was modifiedllvm/lib/IR/IntrinsicInst.cpp
Commit ab04ad6af760a203eda7624e97fcb7bbca9fceab by maskray
[ELF] Rename odd variable names "New" after r365730. NFC
New -> newSym or newFlags
Reviewed By: atanasyan
Differential Revision: https://reviews.llvm.org/D66127
llvm-svn: 368651
The file was modifiedlld/ELF/Symbols.h
The file was modifiedlld/ELF/SymbolTable.cpp
The file was modifiedlld/ELF/SymbolTable.h
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedlld/ELF/Arch/MipsArchTree.cpp
The file was modifiedlld/ELF/LinkerScript.cpp
Commit e14c91b71aedcf494f495189fc0ccae608ecb7fd by aemerson
[GlobalISel] Make the InstructionSelector instance non-const, allowing
state to be maintained.
Currently we can't keep any state in the selector object that we get
from subtarget. As a result we have to plumb through all our variables
through multiple functions. This change makes it non-const and adds a
virtual init() method to allow further state to be captured for each
target.
AArch64 makes use of this in this patch to cache a call to
hasFnAttribute() which is expensive to call, and is used on each
selection of G_BRCOND.
Differential Revision: https://reviews.llvm.org/D65984
llvm-svn: 368652
The file was modifiedllvm/lib/Target/Mips/MipsSubtarget.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.h
The file was modifiedllvm/lib/Target/X86/X86Subtarget.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/X86/X86InstructionSelector.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetSubtargetInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.cpp
The file was modifiedllvm/lib/Target/Mips/MipsInstructionSelector.cpp
The file was modifiedllvm/lib/Target/X86/X86Subtarget.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.h
The file was modifiedllvm/lib/Target/Mips/MipsSubtarget.h
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.cpp
Commit 72c81b94cb3aed05516a872c294899d304e27fc8 by aemerson
[AArch64][GlobalISel] Replace explicit vreg creation with implicit using
SrcOp. NFC.
llvm-svn: 368653
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit 4fb99a3330e9a8b1ab967bdb3c04ed2f8b5e1f5e by qiucofan
[PowerPC] Fix ICE when truncating some vectors
The legalizer would hit an assertion on PowerPC platform when truncating
a vector whose size is not power of 2.  This patch is to add a check to
prevent vectors with such odd-size elements from being custom lowered.
Reviewed By: Hal Finkel
Differential Revision: https://reviews.llvm.org/D65261
llvm-svn: 368654
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was addedllvm/test/CodeGen/PowerPC/pr25080.ll
Commit b427c061ad10a2e111ec2e3a63776c4b126faf30 by 1.int32
[ASTImporter] Import additional flags for functions.
Summary: At AST import of function delcarations import the flags for
defaulted and deleted.
Reviewers: martong, a.sidorin, shafik, a_sidorin
Reviewed By: a_sidorin
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65999
llvm-svn: 368655
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
Commit 09eb71ced3b80211f3997bd7bc2844c61cd265c7 by lebedev.ri
[NFC][InstCombine] Non-canonical clamp pattern: non-canonical predicate
tests
We can't handle 'uge' case because we can't ever get it, there needs to
be extra use on that compare or else it will be canonicalized, but
because of extra use we can't handle it.
'sge' case we can have.
llvm-svn: 368656
The file was modifiedllvm/test/Transforms/InstCombine/canonicalize-clamp-like-pattern-between-negative-and-positive-thresholds.ll
Commit 39130314feeda2d3e0f8966c3809e9cd73ff6b22 by david.bolvansky
[SimplifyLibCalls] Add dereferenceable bytes from known callsites
Summary: int mm(char *a, char *b) {
   return memcmp(a,b,16);
}
Currently: define dso_local i32 @mm(i8* nocapture readonly %a, i8*
nocapture readonly %b) local_unnamed_addr #1 { entry:
%call = tail call i32 @memcmp(i8* %a, i8* %b, i64 16)
ret i32 %call
}
After patch: define dso_local i32 @mm(i8* nocapture readonly %a, i8*
nocapture readonly %b) local_unnamed_addr #1 { entry:
%call = tail call i32 @memcmp(i8* dereferenceable(16)  %a, i8*
dereferenceable(16)  %b, i64 16)
ret i32 %call
}

Reviewers: jdoerfert, efriedma
Reviewed By: jdoerfert
Subscribers: javed.absar, spatel, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66079
llvm-svn: 368657
The file was modifiedllvm/test/Analysis/TypeBasedAliasAnalysis/memcpyopt.ll
The file was modifiedllvm/test/Transforms/InstCombine/strncpy_chk-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/ARM/strcmp.ll
The file was modifiedllvm/test/Transforms/InstCombine/strcmp-memcmp.ll
The file was modifiedllvm/test/Transforms/InstCombine/memcpy-to-load.ll
The file was modifiedllvm/test/Transforms/InstCombine/strcmp-1.ll
The file was addedllvm/test/Transforms/InstCombine/mem-deref-bytes.ll
The file was modifiedllvm/test/Transforms/InstCombine/objsize.ll
The file was modifiedllvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modifiedllvm/test/Transforms/InstCombine/memcpy_chk-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/sprintf-1.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/memcpy-to-memset-with-lifetimes.ll
The file was modifiedllvm/test/Transforms/InstCombine/memset_chk-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/strcpy_chk-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/align-addr.ll
The file was modifiedllvm/test/Transforms/InstCombine/memcpy.ll
The file was modifiedllvm/test/Transforms/InstCombine/memcmp-constant-fold.ll
The file was modifiedllvm/test/Transforms/InstCombine/memchr.ll
The file was modifiedllvm/test/Transforms/InstCombine/memcpy-from-global.ll
The file was modifiedllvm/test/Transforms/InstCombine/stpcpy_chk-1.ll
The file was modifiedllvm/test/Transforms/InstCombine/memmove_chk-1.ll
Commit c3012b2c26b05de4fe770ce6971162eff1aabeb7 by david.bolvansky
[NFC] Updated tests after r368657
llvm-svn: 368658
The file was modifiedclang/test/CodeGen/tbaa-struct.cpp
The file was modifiedclang/test/CodeGenCXX/auto-var-init.cpp
Commit c6cd62352cc15110c7a7389721560046a6635cde by maskray
[ELF] Simplify handling of exportDynamic and isPreemptible
In Writer::includeInDynSym(), exportDynamic is used by a Defined with
protected or default visibility, to record whether it is required to be
exported into .dynsym. It is set when any of the following conditions
hold:
1) There is an interposable symbol from a DSO (Undefined or SharedSymbol
with default visibility) 2) If -shared or --export-dynamic is specified,
any symbol in an object file/bitcode sets this property, unless
suppressed by canBeOmittedFromSymbolTable(). 3) --dynamic-list when
producing an executable
4) protected symbol from a DSO preempted by copy relocation/canonical
PLT when
--ignore-{data,function}-address-equality is specified 5) ifunc is
exported when -z ifunc-noplt is specified
Bullet points 4) and 5) are irrelevant in this patch.
Bullet 3) does not play well with 1) and 2). When -shared is specified,
exportDynamic of most symbols is true. This makes it incapable to record
--dynamic-list marked symbols. We thus have obscure:
    if (!config->shared)
     b->exportDynamic = true;
   else if (b->includeInDynsym())
     b->isPreemptible = true;
This patch adds another bit `Symbol::inDynamicList` to record 3). We can
thus simplify handleDynamicList() by unifying the DSO and
executable cases. It also allows us to simplify isPreemptible - now the
field is only used in finalizeSections() and later stages.
Reviewed By: peter.smith
Differential Revision: https://reviews.llvm.org/D66091
llvm-svn: 368659
The file was modifiedlld/ELF/Symbols.h
The file was modifiedlld/ELF/SymbolTable.cpp
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/ELF/Symbols.cpp
Commit 5390d25f2b5cd6a9b234e30269661d7019a9850e by hans
Revert r368276 "[TargetLowering] SimplifyDemandedBits - call
SimplifyMultipleUseDemandedBits for ISD::EXTRACT_VECTOR_ELT"
This introduced a false positive MemorySanitizer warning about use of
uninitialized memory in a vectorized crc function in Chromium. That
suggests maybe something is not right with this transformation. See
https://crbug.com/992853#c7 for a reproducer.
This also reverts the follow-up commits r368307 and r368308 which
depended on this.
> This patch attempts to peek through vectors based on the demanded
bits/elt of a particular ISD::EXTRACT_VECTOR_ELT node, allowing us to
avoid dependencies on ops that have no impact on the extract.
>
> In particular this helps remove some unnecessary
scalar->vector->scalar patterns.
>
> The wasm shift patterns are annoying - @tlively has indicated that the
wasm vector shift codegen are to be refactored in the near-term and
isn't considered a major issue.
>
> Differential Revision: https://reviews.llvm.org/D65887
llvm-svn: 368660
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-extended-extract.ll
The file was modifiedllvm/test/CodeGen/ARM/dagcombine-anyexttozeroext.ll
The file was modifiedllvm/test/CodeGen/X86/shrink_vmul.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-arith.ll
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-and-legalization.ll
The file was modifiedllvm/test/CodeGen/X86/promote-vec3.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics-fast-isel.ll
The file was modifiedllvm/test/CodeGen/X86/xor.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-mul.ll
The file was modifiedllvm/test/CodeGen/X86/vec_smulo.ll
The file was modifiedllvm/test/CodeGen/X86/vec_umulo.ll
Commit dc06b0bc9ad055d06535462d91bfc2a744b2f589 by maskray
[ELF] Don't special case symbolic relocations with 0 addend to ifunc in
writable locations
Currently the following 3 relocation types do not trigger the creation
of a canonical PLT (which changes STT_GNU_IFUNC to STT_FUNC and
redirects all references):
1) GOT-generating (`needsGot`) 2) PLT-generating (`needsPlt`) 3) R_ABS
with 0 addend in a writable location. This is used for
for ifunc function pointers in writable sections such as .data and
.toc.
This patch deletes case 3) to simplify the R_*_IRELATIVE generating
logic added in D57371. Other advantages:
* It is guaranteed no more than 1 R_*_IRELATIVE is created for an ifunc.
* PPC64: no need to special case ifunc in toc-indirect to toc-relative
relaxation. See D65755
The deleted elf::addIRelativeRelocs demonstrates that one-pass scan
through relocations makes several optimizations difficult. This is
something we can think about in the future.
Reviewed By: peter.smith
Differential Revision: https://reviews.llvm.org/D65995
llvm-svn: 368661
The file was modifiedlld/test/ELF/gnu-ifunc-canon.s
The file was modifiedlld/ELF/Relocations.cpp
The file was modifiedlld/ELF/Writer.cpp
The file was addedlld/test/ELF/aarch64-gnu-ifunc-nonpreemptable2.s
The file was modifiedlld/ELF/Arch/PPC64.cpp
The file was modifiedlld/test/ELF/ppc64-toc-relax-ifunc.s
Commit 1a8d790cf5f89c1df718844f13e934e39bef6ef5 by llvm-dev
[X86] SimplifyDemandedVectorElts - attempt to recombine target shuffle
using DemandedElts mask (reapplied)
If we don't demand all elements, then attempt to combine to a simpler
shuffle.
At the moment we can only do this if Depth == 0 as
combineX86ShufflesRecursively uses Depth to track whether the shuffle
has really changed or not - we'll need to change this before we can
properly start merging combineX86ShufflesRecursively into
SimplifyDemandedVectorElts.
The insertps-combine.ll regression is because
XFormVExtractWithShuffleIntoLoad can't see through shuffles of different
widths - this will be fixed in a follow-up commit.
Reapplying this as rL368307 had to be reverted as part of rL368660 to
revert rL368276
llvm-svn: 368662
The file was modifiedllvm/test/CodeGen/X86/vec_smulo.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics-fast-isel.ll
The file was modifiedllvm/test/CodeGen/X86/insertps-combine.ll
The file was modifiedllvm/test/CodeGen/X86/vec_umulo.ll
The file was modifiedllvm/test/CodeGen/X86/shrink_vmul.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e7b350a5d11bce823fc3254ab6a084186e15d4f0 by llvm-dev
[X86] XFormVExtractWithShuffleIntoLoad - handle shuffle mask scaling
If the target shuffle mask is from a wider type, attempt to scale the
mask so that the extraction can attempt to peek through.
Fixes the regression mentioned in rL368662
Reapplying this as rL368308 had to be reverted as part of rL368660 to
revert rL368276
llvm-svn: 368663
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/insertps-combine.ll
Commit 86dd28a5471480cd7a8cb5ad4801599ac0a0ac20 by Louis Dionne
[libc++] Use [[nodiscard]] for lock_guard, as an extension
Summary: D64914 added support for applying [[nodiscard]] to
constructors. This commit uses that capability to flag incorrect uses of
std::lock_guard where one forgets to actually create a variable for the
lock_guard.
rdar://45790820
Reviewers: mclow.lists, EricWF
Subscribers: christof, jkorous, dexonsmith, libcxx-commits, Quuxplusone,
lebedev.ri
Tags: #libc
Differential Revision: https://reviews.llvm.org/D65900
llvm-svn: 368664
The file was modifiedlibcxx/docs/UsingLibcxx.rst
The file was modifiedlibcxx/include/__mutex_base
The file was addedlibcxx/test/libcxx/thread/thread.lock/thread.lock.guard/nodiscard.fail.cpp
The file was modifiedlibcxx/test/libcxx/diagnostics/nodiscard_extensions.fail.cpp
Commit 01dab0ed9750471ee722fe9d943b66391f8b3c5e by nicolasweber
gn build: Make sync script group output by revision
Differential Revision: https://reviews.llvm.org/D66090
llvm-svn: 368665
The file was modifiedllvm/utils/gn/build/sync_source_lists_from_cmake.py
Commit fa8cb90e6f1f4abfb54cba02109abd10c879c3f8 by Louis Dionne
[libc++] Fix incorrect UNSUPPORTED annotation
The test was marked as UNSUPPORTED for clang-6 and clang-6, instead of
clang-6 and clang-7.
llvm-svn: 368666
The file was modifiedlibcxx/test/libcxx/thread/thread.lock/thread.lock.guard/nodiscard.fail.cpp
Commit d5f873e6a0459cdecf223bffd311dc3badbfdad3 by nicolasweber
gn build: Give cmake sync script an opt-in --write flag
Differential Revision: https://reviews.llvm.org/D66101
llvm-svn: 368667
The file was modifiedllvm/utils/gn/build/sync_source_lists_from_cmake.py
Commit 7ed816badeba39ce4e1c025482969876880f3dfc by nicolasweber
gn build: Merge r368630
llvm-svn: 368668
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/TextAPI/BUILD.gn
Commit 58f03f21286cc408f8bcf03fda1e197f9b6df0fc by nicolasweber
gn build: Extract git() and git_out() functions in sync script
llvm-svn: 368671
The file was modifiedllvm/utils/gn/build/sync_source_lists_from_cmake.py
Commit 5065e7817393d9acf2689d3f666a1c375238a7e2 by Louis Dionne
[pstl] Rename PARALLELSTL_BACKEND to PSTL_PARALLEL_BACKEND
It makes more sense to name configuration options as PSTL_XXX. Also, I'm
naming it PSTL_PARALLEL_BACKEND because we might introduce the ability
to customize the vectorization backend, in which case PSTL_BACKEND would
become ambiguous.
llvm-svn: 368672
The file was modifiedpstl/cmake/ParallelSTLConfig.cmake.in
The file was modifiedpstl/CMakeLists.txt
Commit f8d6836f7a69564193bff27a135f476e1716f5ee by modocache
[CodeGen] Disable UBSan for coroutine functions
Summary: As explained in
http://lists.llvm.org/pipermail/llvm-dev/2018-March/121924.html, the
LLVM coroutines transforms are not yet able to move the instructions for
UBSan null checking past coroutine suspend boundaries. For now, disable
all UBSan checks when generating code for coroutines functions.
I also considered an approach where only '-