AbortedChanges

Summary

  1. [AArch64][GlobalISel] Always fall back on tail calls with -tailcallopt (details)
  2. [ConstantFolding] Refactor function match for better speed (NFC) (details)
  3. [ARM] Add patterns for VMUL with q and r registers (details)
  4. [ARM] Add patterns for VADD with q and r registers (details)
  5. [ARM] Add patterns for VSUB with q and r registers (details)
  6. [Remarks] Add support for internalizing a remark in a string table (details)
  7. [lldb] Small optimization of FormatMap::Delete and FormatMap::Get (details)
  8. [FPEnv] Teach the IRBuilder about constrained FPToSI and FPToUI. (details)
  9. [ConstantFolding] Refactor functions not available before C99 (NFC) (details)
  10. [PowerPC][XCOFF] Verify symbol table in xcoff object files. [NFC] (details)
  11. [X86] Teach FixupBWInsts to turn (details)
  12. [LifetimeAnalysis] don't use raw string literals in macros (details)
  13. [X86] Use MOVZX16rr8/MOVZXrm8 when extending input for i8 udivrem. (details)
  14. [X86] Use MOVSX by default instead of CBW to extend i8 to AX for i8 (details)
  15. [llvm-jitlink] Add optional slab allocator for testing locality (details)
  16. [ORC] Make sure RPC channel-send is called in blocking calls and (details)
  17. [ConstantFolding] Add new test cases for transcendentals (NFC) (details)
  18. [PowerPC][XCOFF] Remove basic test. [NFC] (details)
  19. [llvm-ifs] Improving detection of PlatformKind from triple for TBD (details)
  20. AMDGPU: Fix typo (details)
  21. [clang][Index][NFC] Put IndexingOptions to a separate header (details)
  22. Remove dead .seh_stackalloc parsing method in X86AsmParser (details)
  23. Update comment for <template-param-decl> mangling to match extended (details)
  24. GlobalISel: Support physical register inputs in patterns (details)
  25. GlobalISel: Add G_FMAD instruction (details)
  26. [ORC] Add a missing #include atomic. (details)
  27. [analyzer] pr43179: Make CallDescription defensive against C variadic (details)
  28. [analyzer] Add minimal support for fix-it hints. (details)
  29. [Core] Remove use of ClangASTContext in DumpDataExtractor (details)
  30. [test] Add a FIXME test for stop-command-source-on-error (details)
  31. [X86] Replace -mcpu with -mattr on some tests. (details)
  32. [X86] Add a AVX512VBMI command line to min-legal-vector-width.ll. Always (details)
  33. [IR] CallBrInst: scan+update arg list when indirect dest list changes (details)
  34. [ORC][RPC] Join server thread before checking condition in unit test. (details)
  35. [InstCombine] Refactor substitution of instruction in the parent BB (details)
  36. [AArch64][GlobalISel] Enable the localizer for optimized builds. (details)
  37. Update lld tests dynamic-list.s and symbol-override.s to use llvm-nm (details)
  38. Use musttail for variadic method thunks when possible (details)
  39. Implement demangling support for C++20 lambda expression extensions. (details)
  40. Synchronize LLVM's copy of libc++abi's demangler with the libc++abi (details)
  41. [Sema] Diagnose default-initialization, destruction, and copying of (details)
  42. [Sema][ObjC] Mark C union fields that have non-trivial ObjC ownership (details)
  43. Fix thunks.cpp test, don't FileCheck for anon namespace id (details)
  44. [clang][DependencyFileGenerator] Fix missing -MT option handling (details)
  45. Long timeouts for the MacOSX SystemRuntime plugins under ASAN; else (details)
  46. [llvm-objcopy] Rename SHOffset (e_shoff) field to SHOff. NFC (details)
  47. [X86] Autogenerate fp128-libcalls.ll (details)
  48. [X86] Add tests for fp128 frem, sqrt, sin, and cos. (details)
  49. Change TargetLibraryInfo analysis passes to always require Function (details)
  50. Remove stale TLI Module level pass registration (details)
  51. [CodeGen] Fix typos to run tests. NFC. (details)
  52. Revert [CodeGen] Fix typos to run tests. NFC. (details)
  53. [git-llvm] Do not reinvent `@{upstream}` (details)
  54. [Attributor] ValueSimplify Abstract Attribute (details)
  55. [ELF][test] Improve LTO tests (details)
  56. Replicate the change "[Alignment][NFC] Use Align with (details)
  57. [SimplifyCFG] SpeculativelyExecuteBB(): It's SpeculatedInstructions, not (details)
  58. [SimplifyCFG][NFC] Regenerate merge-cond-stores* tests (details)
  59. [SimplifyCFG][NFC] Show that we don't consider the cost when merging (details)
  60. [Attributor] Make unimplemented method pure virtual. (details)
  61. [ELF][test] Improve tests (details)
  62. [SimplifyCFG][NFC] Make merge-cond-stores-cost.ll X86-specific, and (details)
  63. Fix MSVC "32-bit shift implicitly converted to 64 bits" warnings. NFCI. (details)
  64. [DebugInfo] Pre-commit of test case for DW_OP_breg/DW_OP_fbreg folds (details)
  65. [DwarfExpression] Disallow some rewrites to avoid undefined behavior (details)
  66. [X86] Add test for PR43230; NFC (details)
  67. [LVI] Look through extractvalue of insertvalue (details)
  68. [X86] Fix pshuflw formation from repeated shuffle mask (PR43230) (details)
  69. [Intrinsic] Add the llvm.umul.fix.sat intrinsic (details)
  70. [CodeGen] Handle SMULFIXSAT with scale zero in (details)
  71. [SimplifyCFG][NFC] Autogenerate two tests (details)
  72. [SimplifyCFG][NFC] Autogenerate PhiEliminate3.ll (details)
  73. [ELF][MC] Set types of aliases of IFunc to STT_GNU_IFUNC (details)
  74. [mips] Make another set of test cases more tolerant to exact symbol (details)
  75. [X86][AVX] Add 'f5' v4f64 shuffle test mentioned in D66004 (details)
  76. [X86] Avoid uses of getZextValue(). NFCI. (details)
  77. [mips] Follow-up to r371313 - fix failed test case. NFC (details)
  78. Fix typo. NFCI (details)
  79. [llvm-nm] - Fix a bug and unbreak ASan BB. (details)
  80. [X86] Add prefer-128-bit subtarget feature. (details)
  81. Fixes an assertion while instantiating a template with an incomplete (details)
  82. [aarch64] Add combine patterns for fp16 fmla (details)
  83. [X86] Add broadcast load unfolding tests for FMA instructions. (details)
  84. [X86] Add support for unfold broadcast loads from FMA instructions. (details)
  85. Remove ::gets for FreeBSD 13 and later (details)
  86. [X86] Make getZeroVector return floating point vectors in their native (details)
  87. [NewPM][Sancov] Create the Sancov Pass after building the pipelines (details)
  88. [StackMap] Current stackmap version should be 3. NFC. (details)
  89. [X86][SSE] Add support for <64 x i1> bool reduction (details)
  90. [X86] Add test case for PR32546 (details)
  91. [X86][SSE] Fix out of range shift introduced in D67070/rL371328 (details)
  92. [ARM] Remove declaration of unimplemented function. NFC. (details)
  93. [NFC] Make the describeLoadedValue() hook return machine operand objects (details)
  94. [DebugInfo][X86] Describe call site values for zero-valued imms (details)
  95. Do not intercept malloc_usable_size on NetBSD (details)
  96. Enable leak-detection for NetBSD/amd64 in test/asan (details)
  97. [ASan] Only run dlopen-mixed-c-cxx.c with static runtime (details)
  98. Stop marking 5 ASan tests as failing on NetBSD/i386 (details)
  99. Enable LSan tests for NetBSD/i386 (details)
  100. [NFC][InstSimplify] Some tests for dropping null check after (details)
  101. [InstCombine] fold extract+insert into identity shuffle (details)
  102. Move prop-sink branch to monorepo. (details)
  103. [X86] Teach materializeVectorConstant to not call (details)
  104. [DAGCombiner][X86][ARM] Teach visitMULO to fold multiplies with 0 to 0 (details)
  105. [X86] Use DAG.getConstant instead of getZeroVector in combinePMULDQ. (details)
  106. [X86] X86DAGToDAGISel::combineIncDecVector(): call getSplatBuildVector() (details)
  107. [InstCombine] add tests for icmp with srem operand; NFC (details)
  108. [InstSimplify] simplifyUnsignedRangeCheck(): if we know that X != 0, (details)
  109. [X86] Remove call to getZeroVector from materializeVectorConstant. Add (details)
  110. [X86] Add a hack to combineVSelectWithAllOnesOrZeros to turn selects (details)
  111. [InstCombine][NFC] Some tests for usub overflow+nonzero check (details)
  112. [X86][SSE] SimplifyDemandedVectorEltsForTargetNode - add faux shuffle (details)
  113. Enable LSan for NetBSD/i386 in test/asan/lit.cfg.py (details)
  114. Relax opcode checks in test to check for only a number instead of a (details)
  115. [X86] Add avx and avx512f RUN lines to fp128-cast.ll (details)
  116. [X86] Use xorps to create fp128 +0.0 constants. (details)
  117. [X86] Add test cases for fptoui/fptosi/sitofp/uitofp between fp128 and (details)
  118. [MachineCopyPropagation] Remove redundant copies after TailDup via (details)
  119. [X86] Add fp128 test cases for ceil/floor/trunc/nearbyint/rint/round (details)
  120. [ELF][test] Improve and reorganize another set of tests (details)
  121. [X86] Add broadcast load unfolding tests for vmaxps/pd and vminps/pd (details)
  122. [X86] Add broadcast load unfolding support for VMAXPS/PD and VMINPS/PD. (details)
  123. AMDGPU: Remove pointless wrapper nodes for init.exec intrinsics (details)
  124. [X86] Add broadcast load unfolding tests for smin/umin/smax/smin. (details)
  125. [X86] Add broadcast load unfold support for smin/umin/smax/umax. (details)
  126. [X86] Add broadcast load unfolding tests for (details)
  127. [X86] Add broadcast load unfolding support for (details)
  128. [SystemZ]  NFC: use clearRegisterDeads() in SystemZElimCompare.cpp (details)
  129. [ARM][ParallelDSP] Fix for sext input (details)
  130. [clangd] Improve output of semantic highlighting tests in case of (details)
  131. [ARM][MVE] Decoding of uqrshl and sqrshl accepts unpredictable encodings (details)
  132. [clangd] Replace HighlightingKind::NumKinds with LastKind. NFC (details)
  133. [clangd] Highlight typedefs to template parameters as template (details)
  134. [lib/ObjectYAML] - Improve and cleanup error reporting in ELFState<ELFT> (details)
  135. [yaml2obj] - Fix BB after r371380 (details)
  136. GlobalISel: add combiner to form indexed loads. (details)
  137. GlobalISel: fix unused warnings in release builds. (details)
  138. [ARM] Prevent generating NEON stack accesses under MVE. (details)
  139. [AArch64][SVE] Implement abs and neg intrinsics (details)
  140. [ELF][AArch64] Apply some NFC cleanups to AArch64ErrataFix.cpp (details)
  141. [clangd] Update clangd-vscode docs to be more user-focused. (details)
  142. [clangd] Support multifile edits as output of Tweaks (details)
  143. Revert rL371198 from llvm/trunk: [DFAPacketizer] Track resources for (details)
  144. [clang-doc] sys::fs::F_None -> OF_None. NFC (details)
  145. [ARM][MVE] VCTP instruction selection (details)
  146. [clang-tidy] Fix bug in bugprone-use-after-move check (details)
  147. [Inliner][NFC] Make test less brittle. (details)
  148. [ELF] nmagic or omagic: don't allocate PT_PHDR or PF_R PT_LOAD for the (details)
  149. [DFAPacketizer] Reapply: Track resources for packetized instructions (details)
  150. compiler-rt: use fp_t instead of long double, for consistency (details)
  151. [NFC][InstCombine] Fixup test i added in rL371352. (details)
  152. [clangd] Add a new highlighting kind for typedefs (details)
  153. Merge note_ovl_builtin_candidate diagnostics; NFC (details)
  154. AMDGPU/GlobalISel: Remove dead patterns (details)
  155. [ARM] Remove some spurious MVE reduction instructions. (details)
  156. AMDGPU/GlobalISel: Try generated matcher before add/sub code (details)
  157. AMDGPU/GlobalISel: Legalize wavefrontsize intrinsic (details)
  158. [clangd] Use pre-populated mappings for standard symbols (details)
  159. AMDGPU/GlobalISel: Use known bits for selection (details)
  160. [NFC] Add aacps bitfields access test (details)
  161. AMDGPU/GlobalISel: Fix reg bank for uniform LDS loads (details)
  162. AMDGPU/GlobalISel: Select G_PTR_MASK (details)
  163. AMDGPU: Remove code address space predicates (details)
  164. AMDGPU/GlobalISel: Fix regbankselect for uniform extloads (details)
  165. Fix typo in comment noticed in D60295. NFCI. (details)
  166. AMDGPU/GlobalISel: Fix RegBankSelect for unaligned, uniform constant (details)
  167. LLDB - Simplify GetProgramFileSpec (details)
  168. AMDGPU/GlobalISel: Select atomic loads (details)
  169. [ARM] Fix loads and stores for predicate vectors (details)
  170. [yaml2obj] Simplify p_filesz/p_memsz computing (details)
  171. Revert "[MachineCopyPropagation] Remove redundant copies after TailDup (details)
  172. [clangd] Attempt to fix failing Windows buildbots. (details)
  173. AMDGPU/GlobalISel: Legalize G_BUILD_VECTOR_TRUNC (details)
  174. AMDGPU/GlobalISel: Implement LDS G_GLOBAL_VALUE (details)
  175. [GlobalISel][AArch64] Handle tail calls with non-void return types (details)
  176. [SLP] add test for over-vectorization (PR33958); NFC (details)
  177. AMDGPU: Move MnemonicAlias out of instruction def hierarchy (details)
  178. [mips] Fix decoding of microMIPS JALX instruction (details)
  179. [Remarks] Add parser for bitstream remarks (details)
  180. [X86] Allow _MM_FROUND_CUR_DIRECTION and _MM_FROUND_NO_EXC to be used (details)
  181. [SelectionDAG] Remove ISD::FP_ROUND_INREG (details)
  182. AMDGPU: Use PatFrags to allow selecting custom nodes or intrinsics (details)
  183. [x86] add test for false dependency with minsize (PR43239); NFC (details)
  184. [IfConversion] Correctly handle cases where analyzeBranch fails. (details)
  185. AMDGPU/GlobalISel: Select fmed3 (details)
  186. AMDGPU/GlobalISel: Select llvm.amdgcn.class (details)
  187. [Driver] Add -static-openmp driver option (details)
  188. AMDGPU: Make VReg_1 size be 1 (details)
  189. [TSan] Add interceptors for mach_vm_[de]allocate (details)
  190. AMDGPU/GlobalISel: Legalize G_BUILD_VECTOR v2s16 (details)
  191. Introduce infrastructure for an incremental port of SelectionDAG atomic (details)
  192. [UBSan] Do not overwrite the default print_summary sanitizer option. (details)
  193. [Remarks] Fix warning for uint8_t < 0 comparison (details)
  194. [Driver] Handle default case in refactored addOpenMPRuntime (details)
  195. [SDAG] Add a isSimple cover functon to MemSDNode, just as we have in (details)
  196. [TSan] Add AnnotateIgnoreReadsBegin declaration to tsan/test.h (details)
  197. Relax opcode checks in test to check for only a number instead of a (details)
  198. [Tests] Add anyextend tests for unordered atomics (details)
  199. [analyzer] NFC: Introduce sub-classes for path-sensitive and basic (details)
  200. [analyzer] NFC: Simplify bug report equivalence classes to not be (details)
  201. [LoopVectorize] Leverage speculation safety to avoid masked.loads (details)
  202. [UBSan] Follow up fix for r371442. (details)
  203. Fix MSVC "not all control paths return a value" warning. NFCI. (details)
  204. [Tests] Precommit test case for D67372 (details)
  205. [Tests] Fix a typo in a test (details)
  206. Fix ELF core file memory reading for PT_LOAD program headers with no (details)
  207. [mips] Make another set of test cases more tolerant to exact symbol (details)
  208. [Reproducer] Disconnect when the replay server is out of packets. (details)
  209. Revert "[Reproducer] Add a `cont` to ModuleCXX.test" (details)
  210. LangRef: mention MSan's problem with speculative conditional branches. (details)
  211. Simplify demangler rule for lambda-expressions to match discussion on (details)
  212. [GlobalISel]: Fix a bug where we could dereference None (details)
  213. [Windows] Replace TrapUnreachable with an int3 insertion pass (details)
  214. AMDGPU/GlobalISel: Rename MIRBuilder to B. NFC (details)
  215. PR43242: Fix crash when typo-correcting to an operator() that should not (details)
  216. Fix incorrect demangling of call operator of lambda with explicit (details)
  217. [Symbol] Give ClangASTContext a PersistentExpressionState instead of a (details)
  218. AMDGPU/GlobalISel: Fix insert point when lowering fminnum/fmaxnum (details)
  219. [Expression] Remove unused header from LLVMUserExpression (details)
  220. Remove some unnecessary REQUIRES: shell lines (details)
  221. [Utility] Replace `lldb_private::CleanUp` by `llvm::scope_exit` (details)
  222. [llvm][ADT][NFC] Add test for makeArrayRef(std::array) (details)
  223. Fix crash mangling an explicit lambda non-type template parameter pack (details)
  224. gn build: (manually) merge r371429 (details)
  225. Remove REQUIRES:shell from tests that pass for me on Windows (details)
  226. gn build: Merge r371466 (details)
  227. Revert [git-llvm] Do not reinvent `@{upstream}` (details)
  228. [PowerPC][NFC] Update test assertions using update_llc_test_checks.py (details)
  229. clang-misexpect: Profile Guided Validation of Performance Annotations in (details)
  230. gn build: Merge r371484 (details)
  231. [X86] Add broadcast load unfold tests for VCMPPS/PD. (details)
  232. [X86] Add broadcast load unfolding support for VCMPPS/PD. (details)
  233. Revert "clang-misexpect: Profile Guided Validation of Performance (details)
  234. gn build: Merge r371488 (details)
  235. [LLDB] FreeBSD fix new SetFile call. (details)
  236. [RISCV] Move architecture parsing code into its own function (details)
  237. [LegalizeTypes] Teach SoftenFloatOp_SELECT_CC to handle operand 2 or 3 (details)
  238. [RISCV] Default to ilp32d/lp64d in RISC-V Linux (details)
  239. [clangd] some tweaks on the vscode readme, NFC (details)
  240. [RISCV] Make -march=rv{32,64}gc the default in RISC-V Linux (details)
  241. Revert Remove REQUIRES:shell from tests that pass for me on Windows (details)
  242. [Alignment] Use Align for TargetLowering::MinStackArgumentAlignment (details)
  243. [DWARF] Add a unit test for DWARFUnit::getLength(). (details)
  244. [yaml2obj] Set p_align to the maximum sh_addralign of contained sections (details)
  245. Reland "r364412 [ExpandMemCmp][MergeICmps] Move passes out of CodeGen (details)
  246. [ExpandMemCmp] Add lit.local.cfg (details)
  247. [clangd] Collect location of macro definition in the ParsedAST (details)
  248. Revert "[DWARF] Add a unit test for DWARFUnit::getLength()" because it (details)
  249. [llvm-dwarfdump] Add additional stats fields (details)
  250. Revert "Reland "r364412 [ExpandMemCmp][MergeICmps] Move passes out of (details)
  251. [AMDGPU]: PHI Elimination hooks added for custom COPY insertion. (details)
  252. [LLD][COFF] Add index to disambiguate archive members when using (details)
  253. Reland [DWARF] Add a unit test for DWARFUnit::getLength(). (details)
  254. [Alignment][NFC] Use llvm::Align for (details)
  255. [lldb] Readd missing functionalities/breakpoint tests (details)
  256. Fix the "git modified" issue on the preserve-comments-crlf.s. (details)
  257. [ELF][test] Make tests more tolerant to exact symbol addresses (details)
  258. [Object] Implement relocation resolver for COFF ARM/ARM64 (details)
  259. [BreakFalseDeps] fix typos/grammar in documentation comment; NFC (details)
  260. [InstCombine] Precommit tests for D67351. (details)
  261. [InstCombine] Use SimplifyFMulInst to simplify multiply in fma. (details)
  262. [NFC][InstCombine] PR43251 - valid for other predicates too (details)
  263. [utils] Implement the llvm-locstats tool (details)
  264. [CMake] Don't pass all LLVM_COMPILE_FLAGS to the C compiler (details)
  265. [clang][codegen][NFC] Make test patterns more permissive. (details)
  266. [VectorUtils] Remove unused include. [NFC] (details)
  267. [ARM] auto-generate complete test checks; NFC (details)
  268. [X86] Add AVX partial dependency tests as noted on D67363 (details)
  269. [ARM] add test for BreakFalseDeps with minsize attribute; NFC (details)
  270. Revert "[utils] Implement the llvm-locstats tool" (details)
  271. [x86] add a test for BreakFalseDeps; NFC (details)
  272. Don't emit .gnu_pubnames when tuning for LLDB. (details)
  273. [RISCV] Add Option for Printing Architectural Register Names (details)
  274. Implement DW_OP_convert (details)
  275. AMDGPU/GlobalISel: First pass at attempting to legalize load/stores (details)
  276. [RISCV] Support llvm-objdump -M no-aliases and -M numeric (details)
  277. AMDGPU/GlobalISel: Legalize constant 32-bit loads (details)
  278. AMDGPU/GlobalISel: RegBankSelect for G_ZEXTLOAD/G_SEXTLOAD (details)
  279. [NFC][InstCombine][InstSimplify] PR43251 - and some patterns with offset (details)
  280. AMDGPU/GlobalISel: Select llvm.amdgcn.sffbh (details)
  281. AMDGPU/GlobalISel: Select cvt pk intrinsics (details)
  282. AMDGPU/GlobalISel: Select G_FABS/G_FNEG (details)
  283. [BPI] Adjust the probability for floating point unordered comparison (details)
  284. GlobalISel/TableGen: Handle REG_SEQUENCE patterns (details)
  285. [Function] Factor out GetCallEdgeForReturnAddress, NFC (details)
  286. [lldbtest] Add an "expected_cmd_failure" option to the filecheck helper (details)
  287. [NFC][InstSimplify] rewrite test added in r371537 to use non-null (details)
  288. [X86] Updated target specific selection dag code to conservatively check (details)
  289. Fix for PR43175: compiler crash when trying to emit noncapturable (details)
  290. [NFC][InstCombine] rewrite test added in r371537 to use non-null pointer (details)
  291. [x86] add test for false dependency with AVX; NFC (details)
  292. Re-land Remove REQUIRES:shell from tests that pass for me on Windows (details)
  293. [OPENMP5.0]Allow teams directive outside of the target directives. (details)
  294. [mips] Allow PT_LOAD to have overlapping p_offset ranges on EM_MIPS (details)
  295. llvm-reduce: Simplify testing using -implicit-check-not (details)
  296. [ValueTracking] Factor our common speculation suppression logic [NFC] (details)
  297. When evaluating a __builtin_constant_p conditional, always enter (details)
  298. [Loads] Move generic code out of vectorizer into a location it might be (details)
  299. Actually reorder not and env in crash-recovery-modules.m (details)
  300. Fix a thinko in handling the QSetLogging packet. (details)
  301. Move LLVM_ENABLE_ABI_BREAKING_CHECKS variables to their own file so that (details)
  302. llvm-reduce: Add pass to reduce Metadata (details)
  303. llvm-remove: Remove "using namespace" in header. (details)
  304. llvm-reduce: Remove some unused headers/more narrowly include them (details)
  305. [MemorySSA] Do not create memoryaccesses for debug info intrinsics. (details)
  306. Adding support for overriding LLVM_ENABLE_RUNTIMES for runtimes builds. (details)
  307. llvm-reduce: Add pass to reduce parameters (details)
  308. Reland "Change the X86 datalayout to add three address spaces  for 32 (details)
  309. Update ReleaseNotes: add enabling of MemorySSA. (details)
  310. [AArch64][GlobalISel] Support sibling calls with mismatched calling (details)
  311. [clang-format] Apply BAS_AlwaysBreak to C++11 braced lists (details)
  312. [GlobalISel] When a tail call is emitted in a block, stop translating it (details)
  313. [MemorySSA] MemorySSA should not model debuginfo, and need not update (details)
  314. Remove xfail NetBSD mark from ignored-interceptors-mmap.cpp (details)
  315. Remove xfail i386 NetBSD mark in vptr-non-unique-typeinfo.cpp (details)
  316. [llvm-nm] Add tapi file support (details)
  317. [Object][TextAPI] NFC, fix tapi lit tests (details)
  318. [clang-scan-deps][NFC] Fix tests - prevent FileCheck matching test dir (details)
  319. Revert "Adding support for overriding LLVM_ENABLE_RUNTIMES for runtimes (details)
  320. Revert "llvm-reduce: Add pass to reduce parameters" (details)
  321. Emit -Wmicrosoft-enum-value warning instead of error in MS ABI (details)
  322. Skip a test in TestProcessIO.py when running against ios devices. (details)
  323. Ah, only skip this for embedded darwin targets. (details)
  324. clang-misexpect: Profile Guided Validation of Performance Annotations in (details)
  325. [llvm-nm] Fix -DBUILD_SHARED_LIBS=ON builds after D66160/r371576 (details)
  326. [CodeGen] Add alias for cpu_dispatch function with IFunc & Fix resolver (details)
  327. [Debuginfo][Instcombiner] Do not clone dbg.declare. (details)
  328. [ELF][test] Make tests more tolerant to exact symbol addresses (details)
  329. [Attributor][Fix] Manifest nocapture only in CSArgument or Argument (details)
  330. [Attributor] Implement "noalias" callsite argument deduction (details)
  331. [llvm-objcopy] Simplify --prefix-alloc-sections (details)
  332. [TLI][AMDGPU] AMDPAL does not have library functions (details)
  333. [LTO] Avoid calling GlobalValue::getGUID (MD5) twice (details)
  334. [NFC][ARM] Add and modify tests (details)
  335. [LoopInterchange] Properly move condition, induction increment and ops (details)
  336. [LLDB] Do not try to canonicalize gethostname() result (details)
  337. [ARM] Take into account -mcpu and -mfpu options while handling 'crypto' (details)
  338. Revert "clang-misexpect: Profile Guided Validation of Performance (details)
  339. [LLDB][ELF] Load both, .symtab and .dynsym sections (details)
  340. [LLDB][ELF] Fixup for comments in D67390 (details)
  341. [LoopInterchange] Drop unused splitInnerLoopHeader declaration. (details)
  342. [InstCombine] Fixed handling of isOpNewLike (PR11748) (details)
  343. [NFC] Fixed test (details)
  344. [NFC] Updated objsize-64.ll test (details)
  345. [Diagnostics] Add -Wsizeof-array-div (details)
  346. Fix -Wdocumentation warning - void function doesn't need a @returns. (details)
  347. [mips][msa] Fix infinite loop for mips.nori.b intrinsic (details)
  348. [Alignment] Use llvm::Align in MachineFunction and TargetLowering - (details)
  349. [InstCombine] fold sign-bit compares of srem (details)
  350. gn build: add include_dir that's necessary after r371564 (details)
  351. [LangRef] fix punctuation; NFC (details)
  352. [lldb][NFC] Sort files in unittests/Expression/CMakeLists.txt (details)
  353. [LangRef] add link for fma intrinsic (details)
  354. [Alignment][NFC] use llvm::Align for AsmPrinter::EmitAlignment (details)
  355. [InstSimplify] regenerate test CHECKs; NFC (details)
  356. [lldb][NFC] Remove dead code in SBAddress::GetDescription (details)
  357. [ConstProp] move test file from InstSimplify; NFC (details)
  358. [libFuzzer] Make -merge=1 to reuse coverage information from the control (details)
  359. [ConstProp] add tests for fma that produce NaN; NFC (details)
  360. LLVM: Optimization Pass: Remove conflicting attribute, if any, before (details)
  361. [lldb][NFC] Make include directories in Clang expression parser a (details)
  362. Revert "[LLDB][ELF] Fixup for comments in D67390" (details)
  363. Revert "[LLDB][ELF] Load both, .symtab and .dynsym sections" (details)
  364. gn build: Merge r371562 (details)
  365. [OPENMP]Updated status page, NFC. (details)
  366. [scudo][standalone] Android related improvements (details)
  367. [NFC][InstSimplify] Add extra test for D67411 with @llvm.assume (details)
  368. [InstSimplify] Pass SimplifyQuery into simplifyUnsignedRangeCheck() and (details)
  369. [OPENMP] Update the diagnosis message for canonical loop form, by Chi (details)
  370. [Clang][Bundler] Fix for a potential memory leak [NFC] (details)
  371. Revert [InstCombine] Use SimplifyFMulInst to simplify multiply in fma. (details)
  372. Reland "clang-misexpect: Profile Guided Validation of Performance (details)
  373. gn build: Merge r371635 (details)
  374. [Clang][Bundler] Replace std::vector by SmallVector [NFC] (details)
  375. [libc++] Add a CMake cache for Apple-specific configuration options (details)
  376. Consolidate swap, swap_ranges, and iter_swap in <type_traits>. (details)
  377. LiveIntervals: Split live intervals on multiple dead defs (details)
  378. [MS] Consder constexpr globals to be inline, as in C++17 (details)
  379. [IRMover] Don't map globals if their types are the same (details)
  380. [ConstantHoisting] Fix non-determinism. (details)
  381. Fix test failures after r371640 (details)
  382. [NFC] Added triple to test file to avoid arm buildbots failures (details)
  383. [libFuzzer] Remove hardcoded number of new features in (details)
  384. Update documentation. (details)
  385. [AMDGPU] Fix crash in phi-elimination hook. (details)
  386. Update link to the DWARF spec. (details)
  387. [llvm-reduce] Fix a bug, improve error handling when running test (details)
  388. [Plugins/Process] Remove direct use of ClangASTContext from (details)
  389. Fix -Wnonportable-include-path suppression for header maps with absolute (details)
  390. [clang-scan-deps] add skip excluded conditional preprocessor block (details)
  391. Add a LineTable class to GSYM and test it. (details)
  392. [analyzer] NFC: Re-implement stack hints as a side map in BugReport. (details)
  393. [analyzer] NFC: Move getStmt() and createEndOfPath() out of (details)
  394. [analyzer] NFC: Move resetDiagnosticLocationToMainFile() to BugReporter. (details)
  395. [analyzer] NFC: Move PathDiagnostic classes to libAnalysis. (details)
  396. All Errors must be checked (details)
  397. Start porting ivfsoverlay tests to Windows (details)
  398. [clang-scan-deps] cast Result to ErrorOr<unique_ptr<vfs::File>> (details)
  399. Fix up a test updated in r371655 - require case-insensitive file system. (details)
  400. [DWARF] Emit call site parameter info when tuning for lldb (details)
  401. [Status] Add a LLDB_ERRORF macro for error reporting (similar to (details)
  402. [DWARF] Evaluate DW_OP_entry_value (details)
  403. gn build: Merge r371657 (details)
  404. gn build: Merge r371661 (details)
  405. AMDGPU: Move m0 initializations earlier (details)
  406. [X86] Move x86_64 fp128 conversion to libcalls from type legalization to (details)
  407. [X86] Add test case for v16i64->v16i32 truncate on (details)
  408. Revert [Object][TextAPI] NFC, fix tapi lit tests (details)
  409. Update compiler-rt cpplint.py (details)
  410. Revert [llvm-nm] Add tapi file support (details)
  411. [ConstantFolding] Refactor math functions to use LLVM ones (NFC) (details)
  412. [X86] Fix latent bugs in 32-bit CMPXCHG8B inserter (details)
  413. PR43278: Temporarily disable llvm-reduce tests due to exhausting temp (details)
  414. Fix mac build (details)
  415. Add some missing changes to GSYM that was addressing a gcc compilation (details)
  416. [InstCombine] rename variable for readability; NFC (details)
  417. [TableGen] Skip CRLF conversion when writing output (details)
  418. [Reproducer] Move GDB Remote Provider into Reproducer (NFC) (details)
  419. Remove NOLINTs from compiler-rt (details)
  420. [NFC] Reformat SBDebugger before making changes (details)
  421. [Reproducer] Move the command loader into the reproducer (NFC) (details)
  422. [dfsan] Revert dfsan_set_label removal (details)
  423. [GlobalISel][AArch64] Check caller for swifterror params in tailcall (details)
  424. [AArch64][GlobalISel] Fall back on attempts to allocate split types on (details)
  425. [X86] Enable -mprefer-vector-width=256 by default for Skylake-avx512 and (details)
  426. PR43278: llvm-reduce: Use temporary file names (and ToolOutputFile) (details)
  427. [clang-scan-deps] Add dependency targets (details)
  428. Reapply llvm-reduce: Add pass to reduce parameters"" (details)
  429. gn build: Merge r371700 (details)
  430. [compiler-rt] Better lint output for .inc files (details)
  431. [compiler-rt] Run cpplint only for check-sanitizer (details)
  432. [compiler-rt] Remove some cpplint filters (details)
  433. [compiler-rt] cpplint of inc files in background (details)
  434. [clang-tidy] Fix build with -DBUILD_SHARED_LIB=ON (details)
  435. Make SwitchInstProfUpdateWrapper strict permanently (details)
  436. [WebAssembly] Add -fwasm-exceptions for wasm EH (details)
  437. [LegalizeTypes] Remove code for softening a float type to itself. (details)
  438. [WebAssembly] Add REQUIRES to test (details)
  439. [WebAssembly] Make wasm-eh.cpp requires WebAssembly (details)
  440. [WebAssembly] Delete duplicate REQUIRES line (details)
Commit 121d9114f5676f676095d5d6f1988abe870549c3 by Jessica Paquette
[AArch64][GlobalISel] Always fall back on tail calls with -tailcallopt
-tailcallopt requires that we perform different stack adjustments than
with sibling calls. For example, the `@caller_to0_from8` function in
test/CodeGen/AArch64/tail-call.ll requires that we adjust SP. Without
-tailcallopt, this adjustment does not happen. With it, however, it is
expected.
So, to ensure that adding sibling call support doesn't break
-tailcallopt, make CallLowering always fall back on possible tail calls
when -tailcallopt is passed in.
Update test/CodeGen/AArch64/tail-call.ll with a GlobalISel line to make
sure that we don't differ from the SDAG implementation at any point.
Differential Revision: https://reviews.llvm.org/D67245
llvm-svn: 371227
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/tail-call.ll
Commit 6f1369755dcd2feebf44fbfdbb7dbcad09de67c7 by e.menezes
[ConstantFolding] Refactor function match for better speed (NFC)
Use an `enum` instead of string comparison to match the candidate
function.
llvm-svn: 371228
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
Commit 9bf27928e17a5effe69cf7afd6297fb6c8ec4c7e by oliver.cruickshank
[ARM] Add patterns for VMUL with q and r registers
Added support for VMUL to use an r register, this reduces pressure on
the q registers.
llvm-svn: 371229
The file was addedllvm/test/CodeGen/Thumb2/mve-vmulqr.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
Commit 3aed95af4ecdaa9fd76cc9c617c55f4bfbc068b9 by oliver.cruickshank
[ARM] Add patterns for VADD with q and r registers
Added support for VADD to use q and r registers, which reduces pressure
on q registers.
llvm-svn: 371230
The file was addedllvm/test/CodeGen/Thumb2/mve-vaddqr.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
Commit a050307c0572213efa40ffe8a55cfd4b15387543 by oliver.cruickshank
[ARM] Add patterns for VSUB with q and r registers
Added patterns for VSUB to support q and r registers, which reduces
pressure on q registers.
llvm-svn: 371231
The file was addedllvm/test/CodeGen/Thumb2/mve-vsubqr.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
Commit e14c0c5ae0112e714c7f83a45753116b871fbfaf by francisvm
[Remarks] Add support for internalizing a remark in a string table
In order to keep remarks around, we need to make them tied to a string
table.
Users then can delete the parser and rely on the string table to keep
the memory of the strings alive and deduplicated.
llvm-svn: 371233
The file was modifiedllvm/unittests/Remarks/RemarksAPITest.cpp
The file was modifiedllvm/include/llvm/Remarks/RemarkStringTable.h
The file was modifiedllvm/lib/Remarks/RemarkStringTable.cpp
Commit b1dcbf1b164762018e82cb834bfaf9e0230155b7 by jan.kratochvil
[lldb] Small optimization of FormatMap::Delete and FormatMap::Get
llvm-svn: 371234
The file was modifiedlldb/include/lldb/DataFormatters/FormattersContainer.h
Commit fab40fce3ffecc3f93068a15e370c0a1abfdb8d0 by kevin.neal
[FPEnv] Teach the IRBuilder about constrained FPToSI and FPToUI.
The IRBuilder doesn't know that the two floating point to integer
instructions have constrained equivalents. This patch adds the support
by building on the strict FP mode now present in the IRBuilder.
Reviewed by: John McCall Approved by: John McCall
Differential Revision: https://reviews.llvm.org/D67291
llvm-svn: 371235
The file was modifiedllvm/unittests/IR/IRBuilderTest.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
Commit 7feb812ccde772bfe42434748dcc8ed4aca0ae60 by e.menezes
[ConstantFolding] Refactor functions not available before C99 (NFC)
Note the cases when calling a function at compile time may fail if the
host does not support the C99 run time library.
llvm-svn: 371236
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
Commit 74966aca3559869b8c5b08fb719e5947f5c84dbf by sfertile
[PowerPC][XCOFF] Verify symbol table in xcoff object files. [NFC]
Extend the common/local-common testing for object files to also verify
the symbol table now that the needed functionality has landed in
llvm-readobj.
Differential Revision: https://reviews.llvm.org/D66944
llvm-svn: 371237
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-common.ll
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-lcomm.ll
Commit 0364d89b6d60e305ffec8bae74e9564f4e9355f2 by craig.topper
[X86] Teach FixupBWInsts to turn
MOVSX16rr8/MOVZX16rr8/MOVSX16rm8/MOVZX16rm8 into their 32-bit dest
equivalents when the upper part of the register is dead.
llvm-svn: 371240
The file was modifiedllvm/test/CodeGen/X86/fast-isel-divrem.ll
The file was modifiedllvm/lib/Target/X86/X86FixupBWInsts.cpp
Commit 4934f013b12b1a8d35efa69165c17eed92c52ff9 by M.Gehre
[LifetimeAnalysis] don't use raw string literals in macros
They broke the AArch64 bots (gcc does not support it)
llvm-svn: 371241
The file was modifiedclang/unittests/Sema/GslOwnerPointerInference.cpp
Commit 22b35c4291d2d90db27cac4ccf5c21f619ff49af by craig.topper
[X86] Use MOVZX16rr8/MOVZXrm8 when extending input for i8 udivrem.
We can rely on X86FixupBWInsts to turn these into MOVZX32. This
simplifies a follow up commit to use MOVSX for i8 sdivrem with a late
optimization to use CBW when register allocation works out.
llvm-svn: 371242
The file was modifiedllvm/test/CodeGen/X86/divrem8_ext.ll
The file was modifiedllvm/test/CodeGen/X86/anyext.ll
The file was modifiedllvm/test/CodeGen/X86/bypass-slow-division-32.ll
The file was modifiedllvm/test/CodeGen/X86/divrem.ll
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/div-rem-pair-recomposition-unsigned.ll
The file was modifiedllvm/test/CodeGen/X86/scalar_widen_div.ll
The file was modifiedllvm/test/CodeGen/X86/2008-09-11-CoalescerBug2.ll
The file was modifiedllvm/test/CodeGen/X86/bypass-slow-division-tune.ll
The file was modifiedllvm/test/CodeGen/X86/urem-power-of-two.ll
Commit 7bb433c87b602a181a9e6ee08e38717a63b6f478 by craig.topper
[X86] Use MOVSX by default instead of CBW to extend i8 to AX for i8
sdivrem.
We can use a MOVSX16 here then rely on FixupBWInst to change to MOVSX32
if the upper bits are dead. With a special case to not promote if it
could be turned into CBW.
Then we can rely on X86MCInstLower to turn the MOVSX into CBW very late
if register allocation worked out.
Using MOVSX gives an opportunity to use the MOVSX as a both a copy and a
sign extend since the input and output register aren't tied together.
Differential Revision: https://reviews.llvm.org/D67192
llvm-svn: 371243
The file was modifiedllvm/test/CodeGen/X86/scalar_widen_div.ll
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/divrem8_ext.ll
The file was modifiedllvm/test/CodeGen/X86/divrem.ll
The file was modifiedllvm/test/CodeGen/X86/vector-idiv-sdiv-128.ll
The file was modifiedllvm/test/CodeGen/X86/2011-10-19-LegelizeLoad.ll
The file was modifiedllvm/test/CodeGen/X86/div-rem-pair-recomposition-signed.ll
Commit 335676ee62167c021c17b90489b49c1015116556 by Lang Hames
[llvm-jitlink] Add optional slab allocator for testing locality
optimizations.
The llvm-jitlink utility now accepts a '-slab-allocate <size>' option.
If given, llvm-jitlink will use a slab-based memory manager rather than
the default InProcessMemoryManager. Using a slab allocator will allow
reliable testing of future locality based optimizations (e.g. PLT and
GOT elimination) in JITLink.
The <size> argument is a number, optionally followed by a units
specifier (Kb, Mb, or Gb). If the units are not given then the number is
assumed to be in Kb.
llvm-svn: 371244
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.cpp
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.h
Commit c1105111b39384b959edee9c91ae543d57a5a795 by Lang Hames
[ORC] Make sure RPC channel-send is called in blocking calls and
responses.
ORC-RPC batches calls by default, and the channel's send method must be
called to transfer any buffered calls to the remote. The call to send
was missing on responses and blocking calls in the
SingleThreadedRPCEndpoint. This patch adds the necessary calls and
modifies the RPC unit test to check for them.
llvm-svn: 371245
The file was modifiedllvm/unittests/ExecutionEngine/Orc/QueueChannel.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
The file was modifiedllvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
Commit 88a98ea3f75c6578c7fff47b6e3f52b8eff13446 by e.menezes
[ConstantFolding] Add new test cases for transcendentals (NFC)
llvm-svn: 371246
The file was addedllvm/test/Analysis/ConstantFolding/math-2.ll
The file was addedllvm/test/Analysis/ConstantFolding/math-1.ll
Commit eaf34a983c71446a176edc781e6276bc3d922eb8 by sfertile
[PowerPC][XCOFF] Remove basic test. [NFC]
Test verified that we could compile an empty module and produce an XCOFF
object file. Newer tests superssed this coverage, its safe to remove.
llvm-svn: 371247
The file was removedllvm/test/CodeGen/PowerPC/aix-xcoff-basic.ll
Commit 5476bd943203096f52fd49b15638bbe1b48e012c by puyan
[llvm-ifs] Improving detection of PlatformKind from triple for TBD
generation.
It was pointed out that I had hard-coded PlatformKind. This is
rectifying that.
Differential Revision: https://reviews.llvm.org/D67255
llvm-svn: 371248
The file was modifiedllvm/tools/llvm-ifs/llvm-ifs.cpp
The file was addedllvm/test/tools/llvm-ifs/watchos-tbd.ifs
The file was addedllvm/test/tools/llvm-ifs/tvos-tbd.ifs
The file was addedllvm/test/tools/llvm-ifs/macos-tbd.ifs
The file was addedllvm/test/tools/llvm-ifs/ios-tbd.ifs
Commit 02eb6a44a87c0fad150078c1f6d0f99fe494b565 by Matthew.Arsenault
AMDGPU: Fix typo
llvm-svn: 371249
The file was modifiedllvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
Commit 4b5542f29d79ad4d0be244e5db82dbea129c2b3b by Jan Korous
[clang][Index][NFC] Put IndexingOptions to a separate header
llvm-svn: 371250
The file was modifiedclang-tools-extra/clangd/index/FileIndex.cpp
The file was modifiedclang-tools-extra/clangd/index/IndexAction.cpp
The file was addedclang/include/clang/Index/IndexingOptions.h
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang/include/clang/Index/IndexingAction.h
Commit e0df2dce4cf6ed3850432d7e27f96bfe900e701d by rnk
Remove dead .seh_stackalloc parsing method in X86AsmParser
The shared COFF asm parser code handles this directive, since it is
shared with AArch64. Spotted by Alexandre Ganea in review.
llvm-svn: 371251
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
Commit e8b3553992670e4581bf584ea87b72ff87e0848f by richard-llvm
Update comment for <template-param-decl> mangling to match extended
mangling rule in r371004.
llvm-svn: 371252
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
Commit 3e45c7028881a005dfb719b19248731dfe1d5369 by Matthew.Arsenault
GlobalISel: Support physical register inputs in patterns
llvm-svn: 371253
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.s.sendmsg.mir
The file was modifiedllvm/utils/TableGen/CodeGenRegisters.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.sendmsg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.sendmsghalt.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-constant.mir
The file was modifiedllvm/utils/TableGen/CodeGenRegisters.cpp
The file was addedllvm/test/TableGen/gisel-physreg-input.td
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
Commit cf10372119ca48ed0330d8225ca6165bf1dea801 by Matthew.Arsenault
GlobalISel: Add G_FMAD instruction
llvm-svn: 371254
The file was modifiedllvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
The file was modifiedllvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp
The file was modifiedllvm/include/llvm/Support/TargetOpcodes.def
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/include/llvm/Target/GenericOpcodes.td
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
Commit 7c848acf0a86f521ee432fd22d9583cd73193545 by Lang Hames
[ORC] Add a missing #include atomic.
Hopefully this will fix the bot build failures from r371245.
llvm-svn: 371255
The file was modifiedllvm/unittests/ExecutionEngine/Orc/QueueChannel.h
Commit 2b1b4cab9605a33a6c90079b44bdddf048104e08 by Artem Dergachev
[analyzer] pr43179: Make CallDescription defensive against C variadic
functions.
Most functions that our checkers react upon are not C-style variadic
functions, and therefore they have as many actual arguments as they have
formal parameters.
However, it's not impossible to define a variadic function with the same
name. This will crash any checker that relies on CallDescription to
check the number of arguments but silently assumes that the number of
parameters is the same.
Change CallDescription to check both the number of arguments and the
number of parameters by default.
If we're intentionally trying to match variadic functions, allow
specifying arguments and parameters separately (possibly omitting any of
them). For now we only have one CallDescription which would make use of
those, namely __builtin_va_start itself.
Differential Revision: https://reviews.llvm.org/D67019
llvm-svn: 371256
The file was modifiedclang/lib/StaticAnalyzer/Core/CallEvent.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp
The file was addedclang/test/Analysis/cast-value-weird.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
Commit 6cee434ed10ead6b7416ca5ee9592b2b207eeb0f by Artem Dergachev
[analyzer] Add minimal support for fix-it hints.
Allow attaching fixit hints to Static Analyzer BugReports.
Fixits are attached either to the bug report itself or to its notes
(path-sensitive event notes or path-insensitive extra notes).
Add support for fixits in text output (including the default text output
that goes without notes, as long as the fixit "belongs" to the warning).
Add support for fixits in the plist output mode.
Implement a fixit for the path-insensitive DeadStores checker. Only dead
initialization warning is currently covered.
Implement a fixit for the path-sensitive VirtualCall checker when the
virtual method is not pure virtual (in this case the "fix" is to
suppress the warning by qualifying the call).
Both fixits are under an off-by-default flag for now, because they
require more careful testing.
Differential Revision: https://reviews.llvm.org/D65182
llvm-svn: 371257
The file was modifiedclang/test/Analysis/edges-new.mm
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/Checkers.td
The file was modifiedclang/test/Analysis/objc-arc.m
The file was modifiedclang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
The file was modifiedclang/test/Analysis/dead-stores.c
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporter.cpp
The file was modifiedclang/test/Analysis/plist-output.m
The file was modifiedclang/test/Analysis/analyzer-config.c
The file was addedclang/test/Analysis/virtualcall-fixits.cpp
Commit b482db6dfeda8631afae3ca706ad3e3ccfd87d5d by apl
[Core] Remove use of ClangASTContext in DumpDataExtractor
Summary: DumpDataExtractor uses ClangASTContext in order to get the
proper llvm fltSemantics for the type it needs so that it can dump
floats in a more precise way. However, there's no reason that this
behavior needs to be specific ClangASTContext. Instead, I think it makes
sense to ask TypeSystems for the float semantics for a type of a given
size.
Differential Revision: https://reviews.llvm.org/D67239
llvm-svn: 371258
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/Core/DumpDataExtractor.cpp
Commit 92ada4ab0c7bbb2fbeb4ccec8b31e3bfcc3829b7 by Jonas Devlieghere
[test] Add a FIXME test for stop-command-source-on-error
Modifying the interpreter settings is tricky because they don't take
effect until we create a new command interpreter, which should be merely
an implementation detail. This leads to confusing and unexpected
scenarios.
This adds a test cases with FIXMEs for some of the odd scenarios I
encountered. I didn't XFAIL the test because I don't think there's a way
to get an unexpected PASS if any of the commands succeeds and splitting
up the file in multiple tests seems excessive.
llvm-svn: 371259
The file was addedlldb/lit/Settings/Inputs/StopCommandSource.in
The file was addedlldb/lit/Settings/TestStopCommandSourceOnError.test
The file was addedlldb/lit/Settings/Inputs/DontStopCommandSource.in
Commit a31112e3576a5ae0b0959dd20a66d3689d8d9014 by craig.topper
[X86] Replace -mcpu with -mattr on some tests.
llvm-svn: 371260
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/pr42674.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/sqrt.ll
Commit 03936cb0f942a9a78220ffc25d2849f29a1c4511 by craig.topper
[X86] Add a AVX512VBMI command line to min-legal-vector-width.ll. Always
enable fast-variable-shuffle
Trying to minimize the features we need to manipulate when this is
updated for D67259.
The VBMI is interesting because it enables some improved combining for
truncates.
I enabled fast-variable-shuffle because all the CPUs we're going to add
implicitly enable it. So they can share check lines.
llvm-svn: 371261
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
Commit 7a7bba289521e6d4da199565cf72dc9eaed3d671 by ndesaulniers
[IR] CallBrInst: scan+update arg list when indirect dest list changes
Summary: There's an unspoken invariant of callbr that the list of
BlockAddress Constants in the "function args" list match the BasicBlocks
in the
"other labels" list. (This invariant is being added to the LangRef in
https://reviews.llvm.org/D67196).
When modifying the any of the indirect destinations of a callbr
instruction (possible jump targets), we need to update the function
arguments if the argument is a BlockAddress whose BasicBlock refers to
the indirect destination BasicBlock being replaced.  Otherwise, many
transforms that modify successors will end up violating that invariant.
A recent change to the arm64 Linux kernel exposed this bug, which
prevents the kernel from booting.
I considered maintaining a mapping from indirect destination BasicBlock
to argument operand BlockAddress, but this ends up being a one to
potentially many (though usually one) mapping.  Also, the list of
arguments to a function (or more typically inline assembly) ends up
being less than 10.  The implementation is significantly simpler to just
rescan the full list of arguments. Because of the one to potentially
many relationship, the full arg list must be scanned (we can't stop at
the first instance).
Thanks to the following folks that reported the issue and helped debug
it:
* Nathan Chancellor
* Will Deacon
* Andrew Murray
* Craig Topper
Link: https://bugs.llvm.org/show_bug.cgi?id=43222 Link:
https://github.com/ClangBuiltLinux/linux/issues/649 Link:
https://lists.infradead.org/pipermail/linux-arm-kernel/2019-September/678330.html
Reviewers: craig.topper, chandlerc
Reviewed By: craig.topper
Subscribers: void, javed.absar, kristof.beyls, hiraditya, llvm-commits,
nathanchance, srhines
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67252
llvm-svn: 371262
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/unittests/IR/InstructionsTest.cpp
Commit 88cddb7a1c1700b9c57e58e08a24f76bc4dd1d4b by Lang Hames
[ORC][RPC] Join server thread before checking condition in unit test.
Otherwise we have a race on the sent-messages count.
llvm-svn: 371263
The file was modifiedllvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
Commit 7d677adf2df62aadb8401651ef81d7df2c954afc by e.menezes
[InstCombine] Refactor substitution of instruction in the parent BB
(NFC)
Add the new method `LibCallSimplifier::substituteInParent()` that calls
`LibCallSimplifier::replaceAllUsesWith()' and
`LibCallSimplifier::eraseFromParent()` back to back, simplifying the
resulting code.
llvm-svn: 371264
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
Commit a1cf4d9795f24745920d85ca779864cf538ff8ac by Amara Emerson
[AArch64][GlobalISel] Enable the localizer for optimized builds.
Despite the fact that the localizer's original motivation was to fix
horrendous constant spilling at -O0, shortening live ranges still has
net benefits even with optimizations enabled.
On an -Os build of CTMark, doing this improves code size by 0.5%
geomean.
There are a few regressions, bullet increasing in size by 0.5%. One
example from bullet where code size increased slightly was due to
GlobalISel actually now generating the same code as SelectionDAG. So we
actually have an opportunity in future to implement better heuristics
for localization and therefore be
*better* than SDAG in some cases. In relation to other optimizations
though that one is relatively minor.
Differential Revision: https://reviews.llvm.org/D67303
llvm-svn: 371266
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/gisel-commandline-option.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/swifterror.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/localizer-in-O0-pipeline.mir
Commit c1779194097f0553c292750195673ae65fdc4d32 by matthew.voss
Update lld tests dynamic-list.s and symbol-override.s to use llvm-nm
The following tests failed on Windows bots due to nm not being
available:
  lld/test/ELF/dynamic-list.s
lld/test/ELF/symbol-override.s
llvm-svn: 371267
The file was modifiedlld/test/ELF/symbol-override.s
The file was modifiedlld/test/ELF/dynamic-list.s
Commit 28328c3771e4241366ecb7aba8963dc92b3065d7 by rnk
Use musttail for variadic method thunks when possible
This avoids cloning variadic virtual methods when the target supports
musttail and the return type is not covariant. I think we never
implemented this previously because it doesn't handle the covariant
case. But, in the MS ABI, there are some cases where vtable thunks must
be emitted even when the variadic method defintion is not available, so
it looks like we need to implement this. Do it for both ABIs, since it's
a nice size improvement and simplification for Itanium.
Emit an error when emitting thunks for variadic methods with a covariant
return type. This case is essentially not implementable unless the ABI
provides a way to perfectly forward variadic arguments without a tail
call.
Fixes PR43173.
Differential Revision: https://reviews.llvm.org/D67028
llvm-svn: 371269
The file was modifiedclang/test/CodeGenCXX/linetable-virtual-variadic.cpp
The file was addedclang/test/CodeGenCXX/ms-thunks-variadic-return.cpp
The file was modifiedclang/test/CodeGenCXX/thunks.cpp
The file was modifiedclang/lib/CodeGen/CGVTables.cpp
Commit 4bbe85c5d4e7535a55e3455de310868067d0182a by richard-llvm
Implement demangling support for C++20 lambda expression extensions.
This implements demangling support for the mangling extensions specified
in https://github.com/itanium-cxx-abi/cxx-abi/pull/85, much of which is
implemented in Clang r359967 and r371004.
Specifically, this provides demangling for:
* <template-param-decl> in <lambda-sig>
* <template-param> with non-zero level
* lambda-expression literals (not emitted by Clang yet)
* nullptr literals
* string literals
(The final two seem unrelated, but handling them was necessary in order
to disambiguate between lambda expressions and the other forms of
literal for which we have a type but no value.)
When demangling a <lambda-sig>, we form template parameters with no
corresponding argument, so we cannot substitute in the argument in the
demangling. Instead we invent synthetic names for the template
parameters (eg, '[]<typename $T>($T *x)').
llvm-svn: 371273
The file was modifiedlibcxxabi/test/test_demangle.pass.cpp
The file was modifiedlibcxxabi/src/demangle/ItaniumDemangle.h
The file was modifiedlibcxxabi/src/cxa_demangle.cpp
Commit 0e881b9f5d1fd3c615f79860eacedaecad03daea by richard-llvm
Synchronize LLVM's copy of libc++abi's demangler with the libc++abi
version after r371273.
Also fix a minor issue in r371273 that only surfaced after template
instantiation from LLVM's use of the demangler.
llvm-svn: 371274
The file was modifiedllvm/include/llvm/Demangle/ItaniumDemangle.h
The file was modifiedllvm/lib/Demangle/ItaniumDemangle.cpp
The file was modifiedlibcxxabi/src/demangle/ItaniumDemangle.h
Commit 090510608da404a0e1c80fa29eb5fc18f2d91755 by Akira
[Sema] Diagnose default-initialization, destruction, and copying of
non-trivial C union types
This recommits r365985, which was reverted because it broke a few
projects using unions containing non-trivial ObjC pointer fields in
system headers. We now have a patch to fix the problem (see
https://reviews.llvm.org/D65256).
Original commit message:
This patch diagnoses uses of non-trivial C unions and structs/unions
containing non-trivial C unions in the following contexts, which require
default-initialization, destruction, or copying of the union objects,
instead of disallowing fields of non-trivial types in C unions, which is
what we currently do:
- function parameters.
- function returns.
- assignments.
- compound literals.
- block captures except capturing of `__block` variables by non-escaping
blocks.
- local and global variable definitions.
- lvalue-to-rvalue conversions of volatile types.
See the discussion in https://reviews.llvm.org/D62988 for more
background.
rdar://problem/50679094
Differential Revision: https://reviews.llvm.org/D63753
llvm-svn: 371275
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/include/clang/AST/DeclBase.h
The file was addedclang/test/PCH/non-trivial-c-union.m
The file was addedclang/test/SemaObjC/non-trivial-c-union.m
The file was modifiedclang/include/clang/AST/Decl.h
The file was removedclang/test/CodeGenObjC/Inputs/strong_in_union.h
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/SemaObjC/arc-decls.m
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/test/CodeGenObjC/strong-in-c-struct.m
Commit 3f2c9917a4310a2835ffcc5a7be6226d0d218682 by Akira
[Sema][ObjC] Mark C union fields that have non-trivial ObjC ownership
qualifications as unavailable if the union is declared in a system
header
r365985 stopped marking those fields as unavailable, which caused the
union's NonTrivialToPrimitive* bits to be set to true. This patch
restores the behavior prior to r365985, except that users can explicitly
specify the ownership qualification of the field to instruct the
compiler not to mark it as unavailable.
rdar://problem/53420753
Differential Revision: https://reviews.llvm.org/D65256
llvm-svn: 371276
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/test/SemaObjC/non-trivial-c-union.m
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was addedclang/test/SemaObjC/Inputs/non-trivial-c-union.h
Commit a8d3771a318fa9ac2519c6b3f2979ba735b65941 by rnk
Fix thunks.cpp test, don't FileCheck for anon namespace id
The anon namespace id is a hash of the main input path to the compiler,
which varies in the test suite because the input path is absolute.
llvm-svn: 371277
The file was modifiedclang/test/CodeGenCXX/thunks.cpp
Commit 0aee3873214682b0db7e9a876a8baedbb22a1039 by Jan Korous
[clang][DependencyFileGenerator] Fix missing -MT option handling
Targets in DependencyFileGenerator don't necessarily come from -MT
option.
Differential Revision: https://reviews.llvm.org/D67308
llvm-svn: 371279
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Frontend/DependencyFile.cpp
Commit 5b0a687d891e661432dc2a12637a9a956ad68f78 by Jason Molenda
Long timeouts for the MacOSX SystemRuntime plugins under ASAN; else
quick.
In April via r357829, Adrian unified timeouts across lldb and set the
default value high so that we wouldn't get timeouts on ASAN bots that
were running under load.
The library that the MacOSX SystemRuntime has functions that need to
take a lock, and if that lock is held already, those functions will
never complete; we're seeing the 15 second timeout being hit with
inferiors that are doing a lot of enqueuing and dequeuing of libdispatch
work items causing this deadlocking behavior.
This patch reverts to a very short timeout for these SystemRuntime
function calls, given the behavior of this library that they are 
calling into.  When lldb is built with AddressSanitizer enabled, they
will use the default 15 second timeout.
tl;dr: this reverts to the previous timeouts for these SystemRuntime inf
func calls.
<rdar://problem/54538149>
llvm-svn: 371280
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
The file was modifiedlldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp
Commit 78b6909fd545cb4b62d791a7be1b2412defcb966 by maskray
[llvm-objcopy] Rename SHOffset (e_shoff) field to SHOff. NFC
Similar to D67254.
`struct Elf*_Shdr` has a field `sh_offset`. Rename SHOffset to SHOff to
avoid confusion.
llvm-svn: 371281
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.cpp
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.h
Commit 2dd5a205e654cf5da41a3e50e62babd243481442 by craig.topper
[X86] Autogenerate fp128-libcalls.ll
llvm-svn: 371282
The file was modifiedllvm/test/CodeGen/X86/fp128-libcalls.ll
Commit dd507867efdc04a9d117cfe10bd291aa4b44ebbb by craig.topper
[X86] Add tests for fp128 frem, sqrt, sin, and cos.
llvm-svn: 371283
The file was modifiedllvm/test/CodeGen/X86/fp128-libcalls.ll
Commit 9c27b59cec76abea4f3f9261f3ffa73450f239c6 by tejohnson
Change TargetLibraryInfo analysis passes to always require Function
Summary: This is the first change to enable the TLI to be built
per-function so that -fno-builtin* handling can be migrated to use
function attributes. See discussion on D61634 for background. This is an
enabler for fixing handling of these options for LTO, for example.
This change should not affect behavior, as the provided function is not
yet used to build a specifically per-function TLI, but rather enables
that migration.
Most of the changes were very mechanical, e.g. passing a Function to the
legacy analysis pass's getTLI interface, or in Module level cases,
adding a callback. This is similar to the way the per-function TTI
analysis works.
There was one place where we were looking for builtins but not in the
context of a specific function. See FindCXAAtExit in
lib/Transforms/IPO/GlobalOpt.cpp. I'm somewhat concerned my workaround
could provide the wrong behavior in some corner cases. Suggestions
welcome.
Reviewers: chandlerc, hfinkel
Subscribers: arsenm, dschuff, jvesely, nhaehnle, mehdi_amini,
javed.absar, sbc100, jgravelle-google, eraman, aheejin, steven_wu,
george.burgess.iv, dexonsmith, jfb, asbirlea, gchatelet, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66428
llvm-svn: 371284
The file was modifiedllvm/include/llvm/Analysis/CFLAndersAliasAnalysis.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Analysis/AliasAnalysis.cpp
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopRerollPass.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopInstSimplify.cpp
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
The file was modifiedllvm/unittests/Analysis/CGSCCPassManagerTest.cpp
The file was modifiedllvm/lib/Transforms/IPO/Inliner.cpp
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/test/Other/new-pass-manager.ll
The file was modifiedllvm/lib/Analysis/MemoryDependenceAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Scalar/DCE.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
The file was modifiedllvm/include/llvm/Analysis/CFLSteensAliasAnalysis.h
The file was modifiedllvm/include/llvm/Analysis/LazyCallGraph.h
The file was modifiedllvm/lib/CodeGen/HardwareLoops.cpp
The file was modifiedllvm/lib/CodeGen/SafeStack.cpp
The file was modifiedllvm/unittests/IR/PassBuilderCallbacksTest.cpp
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/lib/Transforms/Scalar/InstSimplifyPass.cpp
The file was modifiedllvm/lib/Transforms/Scalar/NaryReassociate.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyMemIntrinsicResults.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SCCP.cpp
The file was modifiedllvm/test/Other/new-pm-lto-defaults.ll
The file was modifiedllvm/lib/Analysis/LazyCallGraph.cpp
The file was modifiedllvm/lib/Analysis/GlobalsModRef.cpp
The file was modifiedllvm/lib/Analysis/MemoryBuiltins.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
The file was modifiedllvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
The file was modifiedllvm/lib/Transforms/Scalar/NewGVN.cpp
The file was modifiedllvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
The file was modifiedllvm/lib/Analysis/CFLSteensAliasAnalysis.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
The file was modifiedllvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
The file was modifiedllvm/unittests/Analysis/LazyCallGraphTest.cpp
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h
The file was modifiedllvm/lib/Target/ARM/ARMParallelDSP.cpp
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
The file was modifiedllvm/lib/Analysis/LazyBranchProbabilityInfo.cpp
The file was modifiedllvm/lib/Transforms/IPO/SCCP.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetLibraryInfo.h
The file was modifiedllvm/lib/Transforms/Scalar/EarlyCSE.cpp
The file was modifiedllvm/test/Other/new-pm-defaults.ll
The file was modifiedllvm/lib/Transforms/IPO/InferFunctionAttrs.cpp
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/include/llvm/Analysis/MemoryBuiltins.h
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp
The file was modifiedllvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/lib/Analysis/Lint.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
The file was modifiedllvm/include/llvm/Transforms/Scalar/SCCP.h
The file was modifiedllvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/lib/Transforms/Utils/MetaRenamer.cpp
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
The file was modifiedllvm/unittests/Analysis/GlobalsModRefTest.cpp
The file was modifiedllvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MergeICmps.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Scalar/ConstantProp.cpp
The file was modifiedllvm/lib/Analysis/CFLAndersAliasAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Utils/LibCallsShrinkWrap.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
The file was modifiedllvm/include/llvm/Analysis/GlobalsModRef.h
The file was modifiedllvm/lib/CodeGen/ExpandMemCmp.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
Commit ea61fcc2e46adc99b39525b77c98b101708386f4 by tejohnson
Remove stale TLI Module level pass registration
Clang patch to adapt to LLVM changes in D66428 that make the TLI require
a Function. There is no longer a module-level TargetLibraryAnalysis, so
remove its registration
llvm-svn: 371285
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
Commit b38105bbd0f7dfef424a4f096aa6a6b7b467fe99 by Xing
[CodeGen] Fix typos to run tests. NFC.
llvm-svn: 371286
The file was modifiedllvm/test/CodeGen/PowerPC/store-combine.ll
Commit ed20dcb88b72fe6cec728c6bfd49f19d7f762840 by Xing
Revert [CodeGen] Fix typos to run tests. NFC.
This reverts r371286 (git commit
b38105bbd0f7dfef424a4f096aa6a6b7b467fe99)
r371286 caused build bots' failure. I'll check it.
llvm-svn: 371289
The file was modifiedllvm/test/CodeGen/PowerPC/store-combine.ll
Commit 7faffd544b16f851a632d6b8f93e3c8485ff34bb by dave
[git-llvm] Do not reinvent `@{upstream}`
Make `git-llvm` more robust when used with a nontrivial repository.
https://reviews.llvm.org/D67262
llvm-svn: 371290
The file was modifiedllvm/utils/git-svn/git-llvm
Commit f2b9dc4758e6265c55ad578a56e9a1b27c86e797 by uenoku.tokotoko
[Attributor] ValueSimplify Abstract Attribute
Summary: This patch introduces initial `AAValueSimplify` which
simplifies a value in a context.
example
- (for function returned) If all the return values are the same and
constant, then we can replace callsite returned with the constant.
- If an internal function takes the same value(constant) as an argument
in the callsite, then we can replace the argument with that constant.
Reviewers: jdoerfert, sstefan1
Reviewed By: jdoerfert
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66967
llvm-svn: 371291
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/FunctionAttrs/nounwind.ll
The file was addedllvm/test/Transforms/FunctionAttrs/value-simplify.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noreturn_sync.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
Commit 89f7859641f4ae799d869d077cb82e574b6238d6 by maskray
[ELF][test] Improve LTO tests
Add file-level comments Delete insignificant addresses to make them more
tolerant to layout changes Simplify test output
llvm-svn: 371292
The file was modifiedlld/test/ELF/lto/visibility.ll
The file was modifiedlld/test/ELF/lto/obj-path.ll
The file was modifiedlld/test/ELF/lto/dynamic-list.ll
The file was removedlld/test/ELF/lto/symbol-ordering-lto.s
The file was addedlld/test/ELF/lto/symbol-ordering-function.s
The file was modifiedlld/test/ELF/lto/parallel-internalize.ll
The file was modifiedlld/test/ELF/lto/weak.ll
The file was removedlld/test/ELF/lto/data-ordering-lto.s
The file was modifiedlld/test/ELF/lto/version-script.ll
The file was modifiedlld/test/ELF/lto/shlib-undefined.ll
The file was modifiedlld/test/ELF/lto/undefined-puts.ll
The file was addedlld/test/ELF/lto/symbol-ordering-data.s
The file was modifiedlld/test/ELF/lto/version-script2.ll
The file was modifiedlld/test/ELF/lto/comdat2.ll
The file was modifiedlld/test/ELF/lto/linker-script-symbols-ipo.ll
Commit 112f145306dadfc1aed545b59b7afa5db905b31e by sylvestre
Replicate the change "[Alignment][NFC] Use Align with
TargetLowering::setMinFunctionAlignment" on AVR to avoid a breakage. See
r371200 / https://reviews.llvm.org/D67229
llvm-svn: 371293
The file was modifiedllvm/lib/Target/AVR/AVRISelLowering.cpp
Commit 45ba26599bcc762224fefa60374a5594974260eb by lebedev.ri
[SimplifyCFG] SpeculativelyExecuteBB(): It's SpeculatedInstructions, not
SpeculationCost
It counts the number of instructions we are ok speculating
(at most 1 there), not their cost, so rename accordingly.
llvm-svn: 371294
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit 8d3e4d3a4d60ded0bdb26843536b3988ae15eecc by lebedev.ri
[SimplifyCFG][NFC] Regenerate merge-cond-stores* tests
llvm-svn: 371296
The file was modifiedllvm/test/Transforms/SimplifyCFG/merge-cond-stores-2.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/merge-cond-stores.ll
Commit 0ff6d7f305f2991c6dac22dabd21b562235c5520 by lebedev.ri
[SimplifyCFG][NFC] Show that we don't consider the cost when merging
cond stores
We count instruction count in each BB's separately, not their cost.
llvm-svn: 371297
The file was modifiedllvm/test/Transforms/SimplifyCFG/merge-cond-stores.ll
Commit 84c7904d62c643ffafa2874c126a92a38a58abdb by benny.kra
[Attributor] Make unimplemented method pure virtual.
Otherwise the compiler mistakes it for a vtable anchor.
llvm-svn: 371298
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit 0e79890d9b5aef4466d572458c0fbb6031b991f6 by maskray
[ELF][test] Improve tests
Add file-level comments Delete insignificant addresses to make them more
tolerant to layout changes Simplify test output
Delete weak-undef-val.s - covered by relocation-undefined-weak.s Delete
weak-undef-export.s - covered by additional test added to weak-undef.s
Delete version-undef-sym.s - covered by undefined-versioned-symbol.s =>
version-symbol-undef.s Delete symbol-ordering-file2.s - covered by
symbol-ordering-file.s Delete gotpcrelx.s - covered by
gotpc-relax-und-dso.s => x86-64-gotpc-relax-und-dso.s
llvm-svn: 371299
The file was modifiedlld/test/ELF/icf7.s
The file was modifiedlld/test/ELF/x86-64-tls-opt-noplt.s
The file was modifiedlld/test/ELF/x86-64-retpoline.s
The file was modifiedlld/test/ELF/weak-undef.s
The file was removedlld/test/ELF/undefined-versioned-symbol.s
The file was addedlld/test/ELF/end-dso-defined.s
The file was removedlld/test/ELF/got-plt-header.s
The file was addedlld/test/ELF/version-symbol-undef.s
The file was modifiedlld/test/ELF/x86-64-tls-ld-preemptable.s
The file was removedlld/test/ELF/gotpcrelx.s
The file was modifiedlld/test/ELF/icf-symbol-type.s
The file was modifiedlld/test/ELF/x86-64-relax-offset.s
The file was modifiedlld/test/ELF/emit-relocs-mergeable2.s
The file was removedlld/test/ELF/resolution-end.s
The file was addedlld/test/ELF/x86-64-got-plt-header.s
The file was modifiedlld/test/ELF/ehdr_start.s
The file was modifiedlld/test/ELF/pre_init_fini_array_missing.s
The file was modifiedlld/test/ELF/relative-dynamic-reloc.s
The file was modifiedlld/test/ELF/local-symbols-order.s
The file was removedlld/test/ELF/gotpc-relax.s
The file was addedlld/test/ELF/x86-64-gotpc-relax.s
The file was modifiedlld/test/ELF/progname.s
The file was removedlld/test/ELF/gotpc-relax-und-dso.s
The file was removedlld/test/ELF/weak-undef-val.s
The file was modifiedlld/test/ELF/writable-sec-plt-reloc.s
The file was modifiedlld/test/ELF/x86-64-relax-got-abs.s
The file was modifiedlld/test/ELF/noplt-pie.s
The file was modifiedlld/test/ELF/version-script-extern.s
The file was addedlld/test/ELF/x86-64-gotpc-relax-und-dso.s
The file was removedlld/test/ELF/Inputs/version-undef-sym.so
The file was modifiedlld/test/ELF/x86-64-retpoline-znow.s
The file was removedlld/test/ELF/weak-undef-export.s
The file was removedlld/test/ELF/Inputs/progname-ver.s
The file was removedlld/test/ELF/version-undef-sym.s
The file was modifiedlld/test/ELF/emit-relocs-icf2.s
The file was removedlld/test/ELF/symbol-ordering-file2.s
The file was removedlld/test/ELF/gotpc-relax-nopic.s
The file was addedlld/test/ELF/x86-64-gotpc-relax-nopic.s
The file was modifiedlld/test/ELF/x86-64-tls-dynamic.s
Commit 395f254bf0e53ee2e268a717d7f063fbff6a6cca by lebedev.ri
[SimplifyCFG][NFC] Make merge-cond-stores-cost.ll X86-specific, and
rewrite it
We clearly perform store-merging, even though div is really costly.
llvm-svn: 371300
The file was addedllvm/test/Transforms/SimplifyCFG/X86/merge-cond-stores-cost.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/merge-cond-stores.ll
Commit d7d8bb937ad0e27a95ae722826697fc449c77fde by llvm-dev
Fix MSVC "32-bit shift implicitly converted to 64 bits" warnings. NFCI.
llvm-svn: 371302
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit e85acf946d3b5bd62c97ac9d49e95e4b8a4cbe83 by bjorn.a.pettersson
[DebugInfo] Pre-commit of test case for DW_OP_breg/DW_OP_fbreg folds
This currently triggers undefined behavior if executed with an ubsan
build. It is just a precommit of the test case to show that we got a
problem.
Fix is proposed in https://reviews.llvm.org/D67263 and plan is to commit
the fix directly after this patch.
llvm-svn: 371303
The file was addedllvm/test/DebugInfo/X86/dw_op_constu.mir
Commit 2b698a13a11e0b007c9e1d71bc69fcf4a194eab1 by bjorn.a.pettersson
[DwarfExpression] Disallow some rewrites to avoid undefined behavior
Summary: The value operand in DW_OP_plus_uconst/DW_OP_constu value can
be large (it uses uint64_t as representation internally in LLVM). This
means that in the uint64_t to int conversions, previously done by
DwarfExpression::addMachineRegExpression, could lose information. Also,
the negation done in "-Offset" was undefined behavior in case Offset was
exactly INT_MIN.
To avoid the above problems, we now avoid transformation like
[Reg, DW_OP_plus_uconst, Offset] --> [DW_OP_breg, Offset] and
[Reg, DW_OP_constu, Offset, DW_OP_plus]  --> [DW_OP_breg, Offset] when
Offset > INT_MAX.
And we avoid to transform
[Reg, DW_OP_constu, Offset, DW_OP_minus] --> [DW_OP_breg,-Offset] when
Offset > INT_MAX+1.
The patch also adjusts DwarfCompileUnit::constructVariableDIEImpl to
make sure that "DW_OP_constu, Offset, DW_OP_minus" is used instead of
"DW_OP_plus_uconst, Offset" when creating DIExpressions with negative
frame index offsets.
Notice that this might just be the tip of the iceberg. There are lots of
fishy handling related to these constants. I think both
DIExpression::appendOffset and DIExpression::extractIfOffset may trigger
undefined behavior for certain values.
Reviewers: sdesmalen, rnk, JDevlieghere
Reviewed By: JDevlieghere
Subscribers: jholewinski, aprantl, hiraditya, ychen, uabelho,
llvm-commits
Tags: #debug-info, #llvm
Differential Revision: https://reviews.llvm.org/D67263
llvm-svn: 371304
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/test/DebugInfo/NVPTX/dbg-declare-alloca.ll
The file was modifiedllvm/test/DebugInfo/X86/dw_op_constu.mir
Commit 5d02f259c098a2c965f30803de3a53476309ab1f by nikita.ppv
[X86] Add test for PR43230; NFC
llvm-svn: 371305
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v16.ll
Commit fdc6977ff3c0cb6c729c38c86f96e1281cb3171c by nikita.ppv
[LVI] Look through extractvalue of insertvalue
This addresses the issue mentioned on D19867. When we simplify
with.overflow instructions in CVP, we leave behind extractvalue of
insertvalue sequences that LVI no longer understands. This means that we
can not simplify any instructions based on the with.overflow anymore
(until some over pass like InstCombine cleans them up).
This patch extends LVI extractvalue handling by calling
SimplifyExtractValueInst (which doesn't do anything more than constant
folding + looking through insertvalue) and using the block value of the
simplification.
A possible alternative would be to do something similar to
SimplifyIndVars, where we instead directly try to replace extractvalue
users of the with.overflow. This would need some additional structural
changes to CVP, as it's currently not legal to remove anything but the
current instruction -- we'd have to introduce a worklist with
instructions scheduled for deletion or similar.
Differential Revision: https://reviews.llvm.org/D67035
llvm-svn: 371306
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/overflows.ll
Commit 314893cc4ba05e65da4be26afb21b2fb50eab7b3 by nikita.ppv
[X86] Fix pshuflw formation from repeated shuffle mask (PR43230)
Fix for https://bugs.llvm.org/show_bug.cgi?id=43230.
When creating PSHUFLW from a repeated shuffle mask, we have to apply the
checks to the repeated mask, not the original one. For the test case
from PR43230 the inspected part of the original mask is all undef.
Differential Revision: https://reviews.llvm.org/D67314
llvm-svn: 371307
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v16.ll
Commit 5e331e4ce85ad37dca45739846c2a801f06ab573 by bjorn.a.pettersson
[Intrinsic] Add the llvm.umul.fix.sat intrinsic
Summary: Add an intrinsic that takes 2 unsigned integers with the scale
of them provided as the third argument and performs fixed point
multiplication on them. The result is saturated and clamped between the
largest and smallest representable values of the first 2 operands.
This is a part of implementing fixed point arithmetic in clang where
some of the more complex operations will be implemented as intrinsics.
Patch by: leonardchan, bjope
Reviewers: RKSimon, craig.topper, bevinh, leonardchan, lebedev.ri,
spatel
Reviewed By: leonardchan
Subscribers: ychen, wuzish, nemanjai, MaskRay, jsji, jdoerfert, Ka-Ka,
hiraditya, rjmccall, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D57836
llvm-svn: 371308
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was addedllvm/test/CodeGen/PowerPC/umulfixsat.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/test/Verifier/intrinsic-immarg.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-mulfix-legalize.ll
The file was modifiedllvm/test/Transforms/Scalarizer/intrinsics.ll
The file was modifiedllvm/docs/LangRef.rst
The file was addedllvm/test/CodeGen/X86/umul_fix_sat.ll
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/test/CodeGen/X86/mulfix_combine.ll
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Commit d065c811649f0d0df5429741a9a3dd643e88a9fe by bjorn.a.pettersson
[CodeGen] Handle SMULFIXSAT with scale zero in
TargetLowering::expandFixedPointMul
Summary: Normally TargetLowering::expandFixedPointMul would handle
SMULFIXSAT with scale zero by using an SMULO to compute the product and
determine if saturation is needed (if overflow happened). But if SMULO
isn't custom/legal it falls through and uses the same technique, using
MULHS/SMUL_LOHI, as used for non-zero scales.
Problem was that when checking for overflow (handling saturation) when
not using MULO we did not expect to find a zero scale. So we ended up in
an assertion when doing
APInt::getLowBitsSet(VTSize, Scale - 1)
This patch fixes the problem by adding a new special case for how
saturation is computed when scale is zero.
Reviewers: RKSimon, bevinh, leonardchan, spatel
Reviewed By: RKSimon
Subscribers: wuzish, nemanjai, hiraditya, MaskRay, jsji, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67071
llvm-svn: 371309
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was addedllvm/test/CodeGen/PowerPC/smulfixsat.ll
Commit 88bab08a886b46409a97297af3f25e8992b5ca83 by lebedev.ri
[SimplifyCFG][NFC] Autogenerate two tests
llvm-svn: 371310
The file was modifiedllvm/test/Transforms/SimplifyCFG/SpeculativeExec.ll
The file was modifiedllvm/test/Transforms/SimplifyCFG/speculate-math.ll
Commit 4e76f880723a4a1a25a94f556aea72f63da8f17a by lebedev.ri
[SimplifyCFG][NFC] Autogenerate PhiEliminate3.ll
llvm-svn: 371311
The file was modifiedllvm/test/Transforms/SimplifyCFG/PhiEliminate3.ll
Commit 72e99e63a2f9b51853cf74eddae37d7eaf106ca5 by maskray
[ELF][MC] Set types of aliases of IFunc to STT_GNU_IFUNC
```
.type  foo,@gnu_indirect_function
.set   foo,foo_resolver
.set foo2,foo
.set foo3,foo2
```
The types of foo2 and foo3 should be STT_GNU_IFUNC, but we currently
resolve them to the type of foo_resolver. This patch fixes it.
Differential Revision: https://reviews.llvm.org/D67206 Patch by Senran
Zhang
llvm-svn: 371312
The file was addedllvm/test/MC/ELF/ifunc-alias.s
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
Commit fcef13344db8883d2ba5adfca1499b605a136c5b by simon
[mips] Make another set of test cases more tolerant to exact symbol
addresses. NFC
llvm-svn: 371313
The file was modifiedlld/test/ELF/mips-mgot.s
The file was modifiedlld/test/ELF/mips-got-relocs.s
The file was modifiedlld/test/ELF/mips-got16-relocatable.s
The file was modifiedlld/test/ELF/mips-got16.s
The file was addedlld/test/ELF/mips-jalr.s
The file was modifiedlld/test/ELF/mips-hilo-gp-disp.s
The file was modifiedlld/test/ELF/mips-gprel32-relocs.s
The file was modifiedlld/test/ELF/mips-higher-highest.s
The file was modifiedlld/test/ELF/mips-hilo.s
The file was modifiedlld/test/ELF/mips-gprel-sec.s
The file was modifiedlld/test/ELF/mips-gp-local.s
The file was modifiedlld/test/ELF/mips-gp-disp.s
The file was modifiedlld/test/ELF/mips-gprel32-relocs-gp0.s
The file was modifiedlld/test/ELF/mips-got-weak.s
The file was modifiedlld/test/ELF/mips-hilo-hi-only.s
The file was removedlld/test/ELF/mips-jalr.test
Commit 31c98abda3f9459d946e2a44af0ad6c04f705d7b by llvm-dev
[X86][AVX] Add 'f5' v4f64 shuffle test mentioned in D66004
llvm-svn: 371314
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v4.ll
Commit 08692e5dd1f0c51a89980680004312a8a8cfc4eb by llvm-dev
[X86] Avoid uses of getZextValue(). NFCI.
Use getAPIntValue() directly - this is mainly a best practice style
issue to help prevent fuzz tests blowing up when a i12345 (or whatever)
is generated.
Use getConstantOperandVal/getConstantOperandAPInt wrappers where
possible.
llvm-svn: 371315
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 9443c18704ff4d54cb39ae0a3b9296f9dfcfd50c by simon
[mips] Follow-up to r371313 - fix failed test case. NFC
llvm-svn: 371316
The file was modifiedlld/test/ELF/mips-higher-highest.s
Commit 879ed20bde2277c2ae220f67a4abb5a54c521e72 by llvm-dev
Fix typo. NFCI
llvm-svn: 371317
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit bf1a23ad0e77b4f41c65b17731d443dc553f5911 by grimar
[llvm-nm] - Fix a bug and unbreak ASan BB.
BB:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/13820/steps/check-llvm%20asan/logs/stdio
rL371074 revealed a bug in llvm-nm.
This patch fixes it.
llvm-svn: 371318
The file was modifiedllvm/tools/llvm-nm/llvm-nm.cpp
Commit 8cfff1e1bc2e451af8f099e172dc63b4bcd9be5a by craig.topper
[X86] Add prefer-128-bit subtarget feature.
Summary: Similar to the previous prefer-256-bit flag. We might want to
enable this by default some CPUs. This just starts the initial work to
implement and prove that it effects TTI's vector width.
Reviewers: RKSimon, echristo, spatel, atdt
Reviewed By: RKSimon
Subscribers: lebedev.ri, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67311
llvm-svn: 371319
The file was modifiedllvm/lib/Target/X86/X86.td
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-add.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-fp.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-sub.ll
The file was modifiedllvm/lib/Target/X86/X86Subtarget.h
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/arith-mul.ll
The file was modifiedllvm/lib/Target/X86/X86Subtarget.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.h
Commit c4450437ec91334d81a28084c4cf637cfdd8bbcb by aaron
Fixes an assertion while instantiating a template with an incomplete
typo-corrected type.
Fixes PR35682. When a template in instantiated with an incomplete typo
corrected type an assertion can trigger if the -ferror-limit is used to
reduce the number of errors.
Patch by Mark de Wever.
llvm-svn: 371320
The file was addedclang/test/SemaTemplate/instantiate-incomplete-typo-suggested-error-limit.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
Commit eacb2c2c975cf88676a75d0835f85420c72cd46f by sebpop
[aarch64] Add combine patterns for fp16 fmla
This patch enables generation of fused multiply add/sub for instructions
operating on fp16. Tested on aarch64-linux.
Differential Revision: https://reviews.llvm.org/D67297
llvm-svn: 371321
The file was modifiedllvm/include/llvm/CodeGen/MachineCombinerPattern.h
The file was addedllvm/test/CodeGen/AArch64/fp16-fmla.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
Commit a461c26dd85e864385b4143390c20728e424dc95 by craig.topper
[X86] Add broadcast load unfolding tests for FMA instructions.
llvm-svn: 371322
The file was modifiedllvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
Commit 1829a09bea15d44053a1adc72e34fab367779c49 by craig.topper
[X86] Add support for unfold broadcast loads from FMA instructions.
llvm-svn: 371323
The file was modifiedllvm/lib/Target/X86/X86InstrFoldTables.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
Commit 5bd4a4806aafc31c67a55c7d8b2993c879dc5bc2 by dimitry
Remove ::gets for FreeBSD 13 and later
Summary: In https://svnweb.freebsd.org/changeset/base/351659 @emaste
removed gets() from FreeBSD 13's libc, and our copies of libc++ and
libstdc++.  In that change, the declarations were simply deleted, but I
would like to propose this conditional test instead.
Reviewers: EricWF, mclow.lists, emaste
Reviewed By: mclow.lists
Subscribers: krytarowski, christof, ldionne, emaste, libcxx-commits
Differential Revision: https://reviews.llvm.org/D67316
llvm-svn: 371324
The file was modifiedlibcxx/include/cstdio
The file was modifiedlibcxx/include/__config
Commit 37dd59298fd46e28ae2b2569465c5195d5708a0a by craig.topper
[X86] Make getZeroVector return floating point vectors in their native
type on SSE2 and later.
isel used to require zero vectors to be canonicalized to a single type
to minimize the number of patterns needed to match. This is
no longer required.
I plan to do this to integers too, but floating point was simpler to
start with. Integer has a complication where v32i16/v64i8 aren't legal
when the other 512-bit integer types are.
llvm-svn: 371325
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/test/CodeGen/X86/packss.ll
The file was modifiedllvm/test/CodeGen/X86/2012-04-26-sdglue.ll
The file was modifiedllvm/test/CodeGen/X86/avx-basic.ll
The file was modifiedllvm/test/CodeGen/X86/vec_ss_load_fold.ll
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
The file was modifiedllvm/test/CodeGen/X86/nontemporal-3.ll
The file was modifiedllvm/test/CodeGen/X86/avx2-gather.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 486b173cfeb5b30f6538dbcbd2eefdc1f70f81cf by leonardchan
[NewPM][Sancov] Create the Sancov Pass after building the pipelines
We're running into linker errors from missing sancov sections:
``` ld.lld: error: relocation refers to a discarded section:
__sancov_guards
>>> defined in
user-arm64-ubsan-sancov-full.shlib/obj/third_party/ulib/scudo/scudo.wrappers_c.cc.o
>>> referenced by common.h:26
(../../zircon/third_party/ulib/scudo/common.h:26)
... many other references
```
I believe this is due to a pass in the default pipeline that somehow
discards these sections. The ModuleSanitizerCoveragePass was initially
added at the start of the pipeline. This now adds it to the end of the
pipeline for optimized and unoptimized builds.
Differential Revision: https://reviews.llvm.org/D67323
llvm-svn: 371326
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
Commit acf81f4210cdc769c25ea41c8acf77666190767e by Xing
[StackMap] Current stackmap version should be 3. NFC.
llvm-svn: 371327
The file was modifiedllvm/include/llvm/Object/StackMapParser.h
Commit 3262084384c74c6dd8bf5908a2014081ec003e1d by llvm-dev
[X86][SSE] Add support for <64 x i1> bool reduction
This generalizes the existing <32 x i1> pre-AVX2 split code to support
reductions from <64 x i1> as well, we can probably generalize to any
larger pow2 case in the future if the (unlikely) need ever arises.
We still need to tweak combineBitcastvxi1 to improve AVX512F codegen as
its assumes vXi1 types should be handled on the mask registers even when
they aren't legal.
Differential Revision: https://reviews.llvm.org/D67070
llvm-svn: 371328
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-and-bool.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-or-bool.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-xor-bool.ll
Commit 9d570020708d633e9979030a5787034887426a7c by llvm-dev
[X86] Add test case for PR32546
llvm-svn: 371329
The file was addedllvm/test/CodeGen/X86/avx512-cmp-mask.ll
Commit 178cd2cd3a69046c88ade1b31796f3f90b7e86a0 by llvm-dev
[X86][SSE] Fix out of range shift introduced in D67070/rL371328
Use APInt to create the comparison mask instead.
llvm-svn: 371330
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-and-bool.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit df2501adcac7d7075c1c51a90fe9bcb1e4281619 by david.green
[ARM] Remove declaration of unimplemented function. NFC.
llvm-svn: 371331
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.h
Commit 8b70139e95963e699a428d5c9fc5f1956370f39c by david.stenberg
[NFC] Make the describeLoadedValue() hook return machine operand objects
Summary: This changes the ParamLoadedValue pair which the
describeLoadedValue() hook returns so that MachineOperand objects are
returned instead of pointers.
When describing call site values we may need to describe operands which
are not part of the instruction. One such example is zero-materializing
XORs on x86, which I have implemented support for in a child revision.
Instead of having to return a pointer to an operand stored somewhere
outside the instruction, start returning objects directly instead, as
that simplifies the code.
The MachineOperand class only holds POD members, and on x86-64 it is 32
bytes large. That combined with copy elision means that the overhead of
returning a machine operand object from the hook does not become very
large.
I benchmarked this on a 8-thread i7-8650U machine with 32 GB RAM. The
benchmark consisted of building a clang 8.0 binary configured with:
  -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLLVM_TARGETS_TO_BUILD=X86 \
-DLLVM_USE_SANITIZER=Address \
-DCMAKE_CXX_FLAGS="-Xclang -femit-debug-entry-values -stdlib=libc++"
The average wall clock time increased by 4 seconds, from 62:05 to 62:09,
which is an 0.1% increase.
Reviewers: aprantl, vsk, djtodoro, NikolaPrica
Reviewed By: vsk
Subscribers: hiraditya, ychen, llvm-commits
Tags: #debug-info, #llvm
Differential Revision: https://reviews.llvm.org/D67261
llvm-svn: 371332
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
Commit 5a583665f4cbb13f41badb8357e65c6de1a61ee0 by david.stenberg
[DebugInfo][X86] Describe call site values for zero-valued imms
Summary: Add zero-materializing XORs to X86's describeLoadedValue() hook
in order to produce call site values.
I have had to change the defs logic in collectCallSiteParameters() a bit
to be able to describe the XORs. The XORs implicitly define $eflags,
which would cause them to never be considered, due to a guard condition
that I->getNumDefs() is one. I have changed that condition so that we
now only consider instructions where a forwarded register overlaps with
the instruction's single explicit define. We still need to collect the
implicit defines of other forwarded registers to remove them from the
work list. I'm not sure how to move towards supporting instructions with
multiple explicit defines, cases where forwarded register are implicitly
defined, and/or cases where an instruction produces values for multiple
forwarded registers. Perhaps the describeLoadedValue() hook should take
a register argument, and we then leave it up to the hook to describe the
loaded value in that register? I have not yet encountered a situation
where that would be necessary though.
Reviewers: aprantl, vsk, djtodoro, NikolaPrica
Reviewed By: vsk
Subscribers: ychen, hiraditya, llvm-commits
Tags: #debug-info, #llvm
Differential Revision: https://reviews.llvm.org/D67225
llvm-svn: 371333
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was addedllvm/test/DebugInfo/X86/dbgcall-site-zero-valued-imms.ll
Commit c8afbf3d95d4b6758dd80fbe84ddb2204f18cc1a by n54
Do not intercept malloc_usable_size on NetBSD
llvm-svn: 371334
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
Commit 14f1990921f7d89b419a89c88587d1a282158d42 by n54
Enable leak-detection for NetBSD/amd64 in test/asan
llvm-svn: 371335
The file was modifiedcompiler-rt/test/asan/lit.cfg.py
Commit 307daa71a8f0bb258d4c89d5bad2579f468162ca by hahnjo
[ASan] Only run dlopen-mixed-c-cxx.c with static runtime
This is what the original bug (http://llvm.org/PR39641) and the fix in
https://reviews.llvm.org/D63877 have been about. With the dynamic
runtime the test only passes when the asan library is linked against
libstdc++: In contrast to libc++abi, it does not implement
__cxa_rethrow_primary_exception so the regex matches the line saying
that asan cannot intercept this function. Indeed, there is no message
that the runtime failed to intercept  __cxa_throw.
Differential Revision: https://reviews.llvm.org/D67298
llvm-svn: 371336
The file was modifiedcompiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c
Commit 90d2be0163e8f84dfc0b73128d873ac8d84c10f8 by n54
Stop marking 5 ASan tests as failing on NetBSD/i386
Unexpected Passing Tests (4):
   AddressSanitizer-i386-netbsd :: TestCases/Posix/coverage-reset.cpp
   AddressSanitizer-i386-netbsd :: TestCases/Posix/coverage.cpp
   AddressSanitizer-i386-netbsd ::
TestCases/Posix/interception-in-shared-lib-test.cpp
   AddressSanitizer-i386-netbsd :: TestCases/suppressions-library.cpp
llvm-svn: 371337
The file was modifiedcompiler-rt/test/asan/TestCases/Posix/coverage-reset.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/suppressions-library.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/Posix/coverage.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/Posix/interception-in-shared-lib-test.cpp
Commit def6ca8b330fc256e36cc8d08de78ac9b92d9165 by n54
Enable LSan tests for NetBSD/i386
llvm-svn: 371338
The file was modifiedcompiler-rt/test/lsan/lit.common.cfg.py
Commit 64965430db5706a0b235d52663f1fa466b53eed8 by lebedev.ri
[NFC][InstSimplify] Some tests for dropping null check after
uadd.with.overflow of non-null (PR43246)
https://rise4fun.com/Alive/WRzq
Name: C <= Y && Y != 0  -->  C <= Y  iff C != 0 Pre: C != 0
%y_is_nonnull = icmp ne i64 %y, 0
%no_overflow = icmp ule i64 C, %y
%r = and i1 %y_is_nonnull, %no_overflow
=>
%r = %no_overflow
Name: C <= Y || Y != 0  -->  Y != 0  iff C != 0 Pre: C != 0
%y_is_nonnull = icmp ne i64 %y, 0
%no_overflow = icmp ule i64 C, %y
%r = or i1 %y_is_nonnull, %no_overflow
=>
%r = %y_is_nonnull
Name: C > Y || Y == 0  -->  C > Y  iff C != 0 Pre: C != 0
%y_is_null = icmp eq i64 %y, 0
%overflow = icmp ugt i64 C, %y
%r = or i1 %y_is_null, %overflow
=>
%r = %overflow
Name: C > Y && Y == 0  -->  Y == 0  iff C != 0 Pre: C != 0
%y_is_null = icmp eq i64 %y, 0
%overflow = icmp ugt i64 C, %y
%r = and i1 %y_is_null, %overflow
=>
%r = %y_is_null
https://bugs.llvm.org/show_bug.cgi?id=43246
llvm-svn: 371339
The file was addedllvm/test/Transforms/InstSimplify/redundant-null-check-in-uadd_with_overflow-of-nonnull-ptr.ll
Commit aff5bee35fb36897dd5414a52c11c14d2f858822 by spatel
[InstCombine] fold extract+insert into identity shuffle
This is similar to the existing fold for splats added with: rL365379
If we can adjust the shuffle mask to include another element in an
identity mask (if it changes vector length, that's an extract/insert
subvector operation in the backend), then that can eliminate
extractelement/insertelement pairs in IR.
All targets are expected to lower shuffles with identity masks
efficiently.
llvm-svn: 371340
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/test/Transforms/InstCombine/insert-extract-shuffle.ll
Commit 080ecafdd8b3e990e5ad19202d089c91c9c9b164 by gabor.borsik
Move prop-sink branch to monorepo.
llvm-svn: 371342
The file was modifiedclang/test/Analysis/taint-generic.c
The file was modifiedclang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
Commit 30837abd9623bf2c8582627d2179828ecf361965 by craig.topper
[X86] Teach materializeVectorConstant to not call
getZeroVector/getOnesVector on the types we already have isel patterns
for.
llvm-svn: 371343
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/fold-load-vec.ll
Commit dac34f52d3f94b4b8716ee8f2cc0c086161d326d by craig.topper
[DAGCombiner][X86][ARM] Teach visitMULO to fold multiplies with 0 to 0
and no carry.
I modified the ARM test to use two inputs instead of 0 so the test
hopefully still tests what was intended.
llvm-svn: 371344
The file was modifiedllvm/test/CodeGen/ARM/select.ll
The file was modifiedllvm/test/CodeGen/X86/xmulo.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 97d41b8917438cb391d3c2c6fc7f5f9a01ff713a by craig.topper
[X86] Use DAG.getConstant instead of getZeroVector in combinePMULDQ.
getZeroVector canonicalizes the type to vXi32, but that's a legalization
action. We should use the most correct type if possible.
llvm-svn: 371345
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 94db67f0e1c3e082fd89a84fa79c6d84631227ba by lebedev.ri
[X86] X86DAGToDAGISel::combineIncDecVector(): call getSplatBuildVector()
manually
As reported in post-commit review of r370327, there is some case where
the code crashes.
As discussed with Craig Topper, the problem is that getConstant()
internally calls getSplatBuildVector(), so we don't insert the constant
itself.
If we do that manually we're good.
llvm-svn: 371346
The file was addedllvm/test/CodeGen/X86/combineIncDecVector-crash.ll
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit 354a46444ce92be73f3859d93a8c6fb237b9e7eb by spatel
[InstCombine] add tests for icmp with srem operand; NFC
llvm-svn: 371348
The file was modifiedllvm/test/Transforms/InstCombine/icmp-div-constant.ll
Commit 6e2c5c87103d76e03cd6f1c5d297bddcad4cf7e1 by lebedev.ri
[InstSimplify] simplifyUnsignedRangeCheck(): if we know that X != 0,
handle more cases (PR43246)
Summary: This is motivated by D67122 sanitizer check enhancement. That
patch seemingly worsens `-fsanitize=pointer-overflow` overhead from 25%
to 50%, which strongly implies missing folds.
In this particular case, given
``` char* test(char& base, unsigned long offset) {
return &base + offset;
}
``` it will end up producing something like https://godbolt.org/z/LK5-iH
which after optimizations reduces down to roughly
``` define i1 @t0(i8* nonnull %base, i64 %offset) {
%base_int = ptrtoint i8* %base to i64
%adjusted = add i64 %base_int, %offset
%non_null_after_adjustment = icmp ne i64 %adjusted, 0
%no_overflow_during_adjustment = icmp uge i64 %adjusted, %base_int
%res = and i1 %non_null_after_adjustment,
%no_overflow_during_adjustment
ret i1 %res
}
``` Without D67122 there was no `%non_null_after_adjustment`, and in
this particular case we can get rid of the overhead:
Here we add some offset to a non-null pointer, and check that the result
does not overflow and is not a null pointer. But since the base pointer
is already non-null, and we check for overflow, that overflow check will
already catch the null pointer, so the separate null check is redundant
and can be dropped.
Alive proofs: https://rise4fun.com/Alive/WRzq
There are more patterns of "unsigned-add-with-overflow", they are not
handled here, but this is the main pattern, that we currently consider
canonical, so it makes sense to handle it.
https://bugs.llvm.org/show_bug.cgi?id=43246
Reviewers: spatel, nikic, vsk
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits, reames
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67332
llvm-svn: 371349
The file was modifiedllvm/test/Transforms/InstSimplify/redundant-null-check-in-uadd_with_overflow-of-nonnull-ptr.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit 9c119012566c1272c6be2c1b141d6443d67cbc88 by craig.topper
[X86] Remove call to getZeroVector from materializeVectorConstant. Add
isel patterns for zero vectors with all types.
The change to avx512-vec-cmp.ll is a regression, but should be easy to
fix. It occurs because the getZeroVector call was canonicalizing both
sides to the same node, then SimplifySelect was able to simplify it. But
since only called getZeroVector on some VTs this isn't a robust way to
combine this.
The change to vector-shuffle-combining-ssse3.ll is more instructions,
but removes a constant pool load so its unclear if its a regression or
not.
llvm-svn: 371350
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-combining-ssse3.ll
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
The file was modifiedllvm/test/CodeGen/X86/avx512-vec-cmp.ll
Commit 77dd86ee4aaed1ffeedf18c7b8a862c465f415f9 by craig.topper
[X86] Add a hack to combineVSelectWithAllOnesOrZeros to turn selects
with two zero/undef vector inputs into an all zeroes vector.
If the two zero vectors have undefs in different places they won't get
combined by simplifySelect.
This fixes a regression from an earlier commit.
llvm-svn: 371351
The file was modifiedllvm/test/CodeGen/X86/avx512-vec-cmp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 139a9d6c0e0d872f0f41f94f621c616d8459817a by lebedev.ri
[InstCombine][NFC] Some tests for usub overflow+nonzero check
improvement (PR43251)
https://rise4fun.com/Alive/kHq
https://bugs.llvm.org/show_bug.cgi?id=43251
llvm-svn: 371352
The file was addedllvm/test/Transforms/InstCombine/result-of-usub-is-non-zero-and-no-overflow.ll
Commit e0ea746215c88a713680c32f4589a918e19f385d by llvm-dev
[X86][SSE] SimplifyDemandedVectorEltsForTargetNode - add faux shuffle
support.
This patch decodes target and faux shuffles with getTargetShuffleInputs
- a reduced version of resolveTargetShuffleInputs that doesn't resolve
SM_SentinelZero cases, so we can correctly remove zero vectors if they
aren't demanded.
llvm-svn: 371353
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-mul.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit dd0c00b5f8b303f78565ab407d37a643e99a9e75 by n54
Enable LSan for NetBSD/i386 in test/asan/lit.cfg.py
llvm-svn: 371354
The file was modifiedcompiler-rt/test/asan/lit.cfg.py
Commit debac75deae3718d4a7db0b6822fd1326ab22933 by douglas.yung
Relax opcode checks in test to check for only a number instead of a
specific number.
llvm-svn: 371355
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
Commit 861d3439493986f17e3b357565175c3ed8820d17 by craig.topper
[X86] Add avx and avx512f RUN lines to fp128-cast.ll
llvm-svn: 371356
The file was modifiedllvm/test/CodeGen/X86/fp128-cast.ll
Commit 72624b0e59d6174f03a19df01004665e85ecaa89 by craig.topper
[X86] Use xorps to create fp128 +0.0 constants.
This matches what we do for f32/f64. gcc also does this for fp128.
llvm-svn: 371357
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/test/CodeGen/X86/fp128-cast.ll
The file was modifiedllvm/lib/Target/X86/X86InstrFragmentsSIMD.td
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
Commit fb1e77505ae6d91a04cd22624b861b391c5f8b35 by craig.topper
[X86] Add test cases for fptoui/fptosi/sitofp/uitofp between fp128 and
i128.
llvm-svn: 371358
The file was modifiedllvm/test/CodeGen/X86/fp128-cast.ll
Commit 9115c477bb6e1b686f12941d150e992649646321 by lkail
[MachineCopyPropagation] Remove redundant copies after TailDup via
machine-cp
Summary: After tailduplication, we have redundant copies. We can remove
these copies in machine-cp if it's safe to, i.e.
```
$reg0 = OP ...
... <<< No read or clobber of $reg0 and $reg1
$reg1 = COPY $reg0 <<< $reg0 is killed
...
<RET>
``` will be transformed to
```
$reg1 = OP ...
...
<RET>
```
Differential Revision: https://reviews.llvm.org/D65267
llvm-svn: 371359
The file was modifiedllvm/test/CodeGen/PowerPC/redundant-copy-after-tail-dup.ll
The file was modifiedllvm/lib/CodeGen/MachineCopyPropagation.cpp
The file was modifiedllvm/test/CodeGen/X86/umulo-128-legalisation-lowering.ll
The file was modifiedllvm/test/CodeGen/X86/mul-i512.ll
Commit 197901081bc52061d7827df6b1959b940b0704e5 by craig.topper
[X86] Add fp128 test cases for ceil/floor/trunc/nearbyint/rint/round
libcalls.
llvm-svn: 371360
The file was modifiedllvm/test/CodeGen/X86/fp128-libcalls.ll
Commit 88796a798856abecbebf9de666562bf6df41a303 by maskray
[ELF][test] Improve and reorganize another set of tests
Add file-level comments Replace trivial Input/*.s with echo ... |
llvm-mc Delete insignificant addresses to make them more tolerant to
layout changes Simplify test output
Merge merge-section-types.s into compatible-section-types.s and add a
missed case Merge gnu-ifunc-gotpcrel.s (added in D19517) into
gnu-ifunc-dso.s (added in D35119) and add missed cases Delete
typed-undef.s - covered by executable-undefined-ignoreall.s Delete
emit-relocs-shared.s - covered by emit-relocs-merge.s
Replace copy-rel-pie.s and copy-rel-pie2.s with canonical-plt-pcrel.s,
canonical-plt-symbolic.s and copy-rel.s: add -no-pie cases. add a case
that a canonical PLT can be created for STT_GNU_IFUNC. The logic in
Symbols.h was untested:
  // ctor of SharedSymbol
if (this->type == llvm::ELF::STT_GNU_IFUNC)
   this->type = llvm::ELF::STT_FUNC;
llvm-svn: 371361
The file was removedlld/test/ELF/Inputs/copy-rel-pie.s
The file was modifiedlld/test/ELF/protected-function-access.s
The file was modifiedlld/test/ELF/symbol-ordering-file.s
The file was addedlld/test/ELF/version-script-local-preemptible.s
The file was removedlld/test/ELF/copy-rel-pie.s
The file was addedlld/test/ELF/canonical-plt-symbolic.s
The file was modifiedlld/test/ELF/gc-sections-local-sym.s
The file was modifiedlld/test/ELF/startstop-shared2.s
The file was removedlld/test/ELF/Inputs/startstop-shared2.s
The file was addedlld/test/ELF/Inputs/canonical-plt-pcrel.s
The file was modifiedlld/test/ELF/tls-opt.s
The file was removedlld/test/ELF/plt-aarch64.s
The file was modifiedlld/test/ELF/wrap-plt.s
The file was removedlld/test/ELF/typed-undef.s
The file was removedlld/test/ELF/Inputs/protected-function-access.s
The file was modifiedlld/test/ELF/protected-data-access.s
The file was modifiedlld/test/ELF/dynsym-pie.s
The file was removedlld/test/ELF/Inputs/gnu-ifunc-gotpcrel.s
The file was addedlld/test/ELF/weak-undef-got-pie.s
The file was modifiedlld/test/ELF/global-offset-table-position.s
The file was addedlld/test/ELF/canonical-plt-pcrel.s
The file was modifiedlld/test/ELF/wrap-entry.s
The file was modifiedlld/test/ELF/relro-tls.s
The file was removedlld/test/ELF/plt.s
The file was modifiedlld/test/ELF/x86-64-reloc-size-shared.s
The file was removedlld/test/ELF/plt-i686.s
The file was removedlld/test/ELF/merge-section-types.s
The file was removedlld/test/ELF/copy-rel-pie2.s
The file was removedlld/test/ELF/gnu-ifunc-gotpcrel.s
The file was addedlld/test/ELF/i386-plt.s
The file was removedlld/test/ELF/local-ver-preemptible.s
The file was modifiedlld/test/ELF/compatible-section-types.s
The file was removedlld/test/ELF/pie-weak.s
The file was addedlld/test/ELF/aarch64-plt.s
The file was modifiedlld/test/ELF/gnu-ifunc-dso.s
The file was addedlld/test/ELF/x86-64-plt.s
The file was removedlld/test/ELF/emit-relocs-shared.s
The file was modifiedlld/test/ELF/executable-undefined-ignoreall.s
The file was modifiedlld/test/ELF/Inputs/gnu-ifunc-dso.s
The file was modifiedlld/test/ELF/linkerscript/symbol-reserved.s
The file was modifiedlld/test/ELF/wrap-no-real.s
The file was modifiedlld/test/ELF/startstop-gccollect.s
The file was addedlld/test/ELF/copy-rel.s
The file was addedlld/test/ELF/Inputs/copy-rel.s
Commit 8d42a796c2ad278e1c50370b0961532472465128 by craig.topper
[X86] Add broadcast load unfolding tests for vmaxps/pd and vminps/pd
llvm-svn: 371362
The file was modifiedllvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
Commit ad7822329fd06201fba1a6ec451a3ee185b5a1b3 by craig.topper
[X86] Add broadcast load unfolding support for VMAXPS/PD and VMINPS/PD.
llvm-svn: 371363
The file was modifiedllvm/lib/Target/X86/X86InstrFoldTables.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
Commit acc95714062169115e06b105837949e43c1c3d01 by Matthew.Arsenault
AMDGPU: Remove pointless wrapper nodes for init.exec intrinsics
llvm-svn: 371364
The file was modifiedllvm/include/llvm/IR/IntrinsicsAMDGPU.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
Commit 68b2e1973fc5ff4e4fb5e0c662543490b2e01a48 by craig.topper
[X86] Add broadcast load unfolding tests for smin/umin/smax/smin.
llvm-svn: 371365
The file was modifiedllvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
Commit 8c2ab1c4cbce1a7551a26d28d3b21ad44455a5ee by craig.topper
[X86] Add broadcast load unfold support for smin/umin/smax/umax.
llvm-svn: 371366
The file was modifiedllvm/lib/Target/X86/X86InstrFoldTables.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
Commit 667f039c8ca74bd975b692902c020f7b7795421e by craig.topper
[X86] Add broadcast load unfolding tests for
vpcmpeq/vpcmpgt/vpcmp/vpcmpu.
llvm-svn: 371367
The file was modifiedllvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
Commit a88f58ff0e8bcd8407c073e32e2ce4b0878b02f4 by craig.topper
[X86] Add broadcast load unfolding support for
vpcmpeq/vpcmpgt/vpcmp/vpcmpu.
llvm-svn: 371368
The file was modifiedllvm/lib/Target/X86/X86InstrFoldTables.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
Commit ca6f4522992970964ae4dbb0465a2b191e2ac60e by paulsson
[SystemZ]  NFC: use clearRegisterDeads() in SystemZElimCompare.cpp
This is simpler than using findRegisterDefOperandIdx() + setIsDead().
Review: Ulrich Weigand. llvm-svn: 371369
The file was modifiedllvm/lib/Target/SystemZ/SystemZElimCompare.cpp
Commit c363deb575019c6cb28a6d1c92826e36ea8bb07c by sam.parker
[ARM][ParallelDSP] Fix for sext input
The incoming accumulator value can be discovered through a sext, in
which case there will be a mismatch between the input and the result. So
sign extend the accumulator input if we're performing a 64-bit mac.
Differential Revision: https://reviews.llvm.org/D67220
llvm-svn: 371370
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/blocks.ll
The file was addedllvm/test/CodeGen/ARM/ParallelDSP/sext-acc.ll
The file was modifiedllvm/lib/Target/ARM/ARMParallelDSP.cpp
Commit ad3841fcae6392cb315e2ab39e6d49887d5ef449 by ibiryukov
[clangd] Improve output of semantic highlighting tests in case of
failures
Summary: Instead of matching lists of highlightings, we annotate input
code with resulting highlightings and diff it against the expected
annotated input.
In case of failures, this produces much nicer output in form of
text-based diffs.
Reviewers: hokein
Reviewed By: hokein
Subscribers: nridge, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67274
llvm-svn: 371373
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.h
Commit 6b9aedaec6815b819c626c5ba8d6fbbff9c6028c by oliver.stannard
[ARM][MVE] Decoding of uqrshl and sqrshl accepts unpredictable encodings
Specify the Unpredictable bits, and return softfails when appropriate.
Patch by Mark Murray!
Differential revision: https://reviews.llvm.org/D66939
llvm-svn: 371374
The file was modifiedllvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
The file was addedllvm/test/MC/Disassembler/ARM/mve-scalar-shift-unpredictable.txt
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
Commit 63d5d162377e1290990221560c9cd2e571491d6a by ibiryukov
[clangd] Replace HighlightingKind::NumKinds with LastKind. NFC
Summary: The latter simplifies the client code by avoiding the need to
handle it as a separate case statement.
Reviewers: hokein
Reviewed By: hokein
Subscribers: nridge, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67277
llvm-svn: 371375
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.h
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
Commit d5588293a8c8093e0014229401e541edc7acf5d5 by ibiryukov
[clangd] Highlight typedefs to template parameters as template
parameters
Summary: Template parameters were handled outside `addType`, this led to
lack of highlightings for typedefs to template types.
This was never desirable, we want to highlight our typedefs as their
underlying type. Note that typedefs to more complicated types, like
pointers and references are still not highlighted.
Original patch by Johan Vikström.
Reviewers: hokein, jvikstrom
Reviewed By: hokein
Subscribers: nridge, javed.absar, kristof.beyls, MaskRay, jkorous,
arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66516
llvm-svn: 371379
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
Commit 3212ecfea8ca60dc0046b10da9e456e512ccea84 by grimar
[lib/ObjectYAML] - Improve and cleanup error reporting in ELFState<ELFT>
class.
The aim of this patch is to refactor how we handle and report error.
I suggest to use the same approach we use in LLD: delayed error
reporting. For that I introduced 'HasError' flag which triggers when we
report an error. Now we do not exit instantly on any error. The benefits
are:
1) There are no more 'exit(1)' calls in the library code. 2) Code was
simplified significantly in a few places. 3) It is now possible to print
multiple errors instead of only one.
Also, I changed the messages to be lower case and removed a full stop.
Differential revision: https://reviews.llvm.org/D67182
llvm-svn: 371380
The file was modifiedllvm/test/tools/yaml2obj/duplicate-symbol-names.test
The file was modifiedllvm/test/tools/yaml2obj/section-link.yaml
The file was modifiedllvm/test/tools/yaml2obj/relocation-missing-symbol.yaml
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/program-header.yaml
The file was modifiedllvm/test/tools/yaml2obj/symtab-implicit-sections-size-content.yaml
The file was modifiedllvm/test/tools/yaml2obj/reloc-sec-info.yaml
The file was modifiedllvm/test/tools/yaml2obj/elf-custom-null-section.yaml
The file was modifiedllvm/test/tools/yaml2obj/elf-comdat-broken-info.yaml
The file was addedllvm/test/tools/yaml2obj/elf-comdat-broken-members.yaml
The file was modifiedllvm/test/tools/yaml2obj/dynamic-symbols.yaml
The file was modifiedllvm/test/tools/yaml2obj/dynsymtab-implicit-sections-size-content.yaml
The file was modifiedllvm/test/tools/yaml2obj/dynamic-section-raw-content.yaml
The file was modifiedllvm/test/tools/yaml2obj/duplicate-section-names.test
Commit c11af417e0dd6c04d38bb48f0d77f0b849211ebb by grimar
[yaml2obj] - Fix BB after r371380
Just a fix for an input file name.
llvm-svn: 371383
The file was modifiedllvm/test/tools/yaml2obj/dynamic-symbols.yaml
Commit 36147adc0b14b455c6c1d738523f930d0793865c by Tim Northover
GlobalISel: add combiner to form indexed loads.
Loosely based on DAGCombiner version, but this part is slightly simpler
in GlobalIsel because all address calculation is performed by G_GEP.
That makes the inc/dec distinction moot so there's just pre/post to
think about.
No targets can handle it yet so testing is via a special flag that
overrides target hooks.
llvm-svn: 371384
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
The file was modifiedllvm/include/llvm/Support/TargetOpcodes.def
The file was modifiedllvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64.h
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/combiner-load-store-indexing.ll
The file was modifiedllvm/include/llvm/Target/GenericOpcodes.td
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/gisel-commandline-option.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Commit 06d93e0a25df040e6ee8727a4730898842274e31 by Tim Northover
GlobalISel: fix unused warnings in release builds.
llvm-svn: 371385
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Commit d936a6301bd34ef991ff5630d06607315f34e6e7 by david.green
[ARM] Prevent generating NEON stack accesses under MVE.
We should not be generating Neon stack loads/stores even for these large
registers.
No test here because my understanding is we will only generate these
QQPR regs for intrinsics and VLDn's. The tests will follow once those
are available.
Differential revision: https://reviews.llvm.org/D67169
llvm-svn: 371386
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
Commit 55244beeee8ad0fd21c0f6a98996ff11301e397c by cullen.rhodes
[AArch64][SVE] Implement abs and neg intrinsics
Summary: This patch implements two arithmetic intrinsics:
      * int_aarch64_sve_abs
     * int_aarch64_sve_neg
testing the support for scalable vector types in intrinsics added in
D65930.
Reviewed By: greened
Differential Revision: https://reviews.llvm.org/D65931
llvm-svn: 371388
The file was modifiedllvm/include/llvm/IR/IntrinsicsAArch64.td
The file was addedllvm/test/CodeGen/AArch64/sve-intrinsics-int-arith.ll
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Commit 298c7a09de33229e63cf35e5fed17bca10479a33 by maskray
[ELF][AArch64] Apply some NFC cleanups to AArch64ErrataFix.cpp
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D67310
llvm-svn: 371389
The file was modifiedlld/ELF/AArch64ErrataFix.cpp
Commit 7c5697c8b24c6a1288f9682ba627182bdfb914f7 by sam.mccall
[clangd] Update clangd-vscode docs to be more user-focused.
Summary: Relegate "updating the extension" docs to a separate file.
Reviewers: hokein, kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67092
llvm-svn: 371390
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/doc-assets/complete.png
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/DEVELOPING.md
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/README.md
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/doc-assets/symbolsearch.png
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/doc-assets/extract.png
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/doc-assets/format.png
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/doc-assets/xrefs.png
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/doc-assets/include.png
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/doc-assets/diagnostics.png
Commit 5b270932cc6ee39d977d397bafc363e9c5df040f by kadircet
[clangd] Support multifile edits as output of Tweaks
Summary: First patch for propogating multifile changes from tweak
outputs to LSP WorkspaceEdits.
Uses SM to convert tooling::Replacements to TextEdits. Errors out if
there are any inconsistencies between the draft version and the version
generated the edits.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66637
llvm-svn: 371392
The file was modifiedclang-tools-extra/clangd/SourceCode.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.h
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/SourceCode.h
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExtractVariable.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExpandMacro.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExtractFunction.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTesting.cpp
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
The file was modifiedclang-tools-extra/clangd/refactor/Tweak.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/AnnotateHighlightings.cpp
The file was modifiedclang-tools-extra/clangd/unittests/TweakTests.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/SwapIfBranches.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/RawStringLiteral.cpp
Commit 462e3d8050faf6442b678a9089933542b7c0e84c by llvm-dev
Revert rL371198 from llvm/trunk: [DFAPacketizer] Track resources for
packetized instructions
This patch allows the DFAPacketizer to be queried after a packet is
formed to work out which resources were allocated to the packetized
instructions.
This is particularly important for targets that do their own bundle
packing - it's not sufficient to know simply that instructions can share
a packet; which slots are used is also required for encoding.
This extends the emitter to emit a side-table containing resource usage
diffs for each state transition. The packetizer maintains a set of all
possible resource states in its current state. After packetization is
complete, all remaining resource states are possible packetization
strategies.
The sidetable is only ~500K for Hexagon, but the extra tracking is
disabled by default
(most uses of the packetizer like MachinePipeliner don't care and don't
need the extra maintained state).
Differential Revision: https://reviews.llvm.org/D66936
........ Reverted as this is causing "compiler out of heap space" errors
on MSVC 2017/19 NDEBUG builds
llvm-svn: 371393
The file was modifiedllvm/include/llvm/CodeGen/DFAPacketizer.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
The file was removedllvm/test/CodeGen/Hexagon/packetizer-resources.ll
The file was modifiedllvm/utils/TableGen/DFAPacketizerEmitter.cpp
The file was modifiedllvm/lib/CodeGen/DFAPacketizer.cpp
Commit ff354de2944e3082c5c2f1663c9b86c4ffabc3e3 by maskray
[clang-doc] sys::fs::F_None -> OF_None. NFC
F_None, F_Text and F_Append are kept for compatibility.
llvm-svn: 371394
The file was modifiedclang-tools-extra/clang-doc/HTMLGenerator.cpp
The file was modifiedclang-tools-extra/clang-doc/tool/ClangDocMain.cpp
Commit 1ad508e8e2d5036a6356a136ab0b02251091e2a6 by sam.parker
[ARM][MVE] VCTP instruction selection
Add codegen support for vctp{8,16,32}.
Differential Revision: https://reviews.llvm.org/D67344
llvm-svn: 371395
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was addedllvm/test/CodeGen/Thumb2/mve-vctp.ll
Commit f9ce864558ab4110233e86f6391ced320dd1e07b by yitzhakm
[clang-tidy] Fix bug in bugprone-use-after-move check
Summary: The bugprone-use-after-move check exhibits false positives for
certain uses of the C++17 if/switch init statements. These false
positives are caused by a bug in the ExprSequence calculations.
This revision adds tests for the false positives and fixes the
corresponding sequence calculation.
Reviewers: gribozavr
Subscribers: xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67292
llvm-svn: 371396
The file was modifiedclang-tools-extra/test/clang-tidy/bugprone-use-after-move.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/ExprSequence.cpp
Commit 388b9794b619141d4a3bba7d82b803a499d11540 by courbet
[Inliner][NFC] Make test less brittle.
Summary: This tests inlining size thresholds, but relies on the output
of running the full O2 pipeline, making it brittle against changes in
unrelated passes.
Only run the inlining pass and set thresholds on the test RUN line
instead.
Found while investigating D60318.
Reviewers: RKSimon, qcolombet
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67349
llvm-svn: 371397
The file was modifiedllvm/test/Transforms/Inline/inline_minisize.ll
Commit e8c0d933603a2ebfd535be454824219fb7b71001 by maskray
[ELF] nmagic or omagic: don't allocate PT_PHDR or PF_R PT_LOAD for the
!hasPhdrsCommands case
``` part.phdrs = script->hasPhdrsCommands() ? script->createPhdrs() :
createPhdrs(part);
```
createPhdrs() allocates a PT_PHDR and a PF_R PT_LOAD, which will be
deleted later in LinkerScript::allocateHeaders, but leave a gap between
the program headers and the first section. Don't allocate the segments
to avoid the gap. PT_INTERP is likely not needed as well.
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D67324
llvm-svn: 371398
The file was modifiedlld/test/ELF/nmagic.s
The file was modifiedlld/test/ELF/relro-omagic.s
The file was modifiedlld/test/ELF/segments.s
The file was modifiedlld/test/ELF/magic-page-combo-warn.s
The file was modifiedlld/ELF/Writer.cpp
Commit b6c7fce67add2769cb5f3e07d4a70ae09dc12836 by jmolloy
[DFAPacketizer] Reapply: Track resources for packetized instructions
Reapply with fix to reduce resources required by the compiler - use
unsigned[2] instead of std::pair. This causes clang and gcc to compile
the generated file multiple times faster, and hopefully will reduce the
resource requirements on Visual Studio also. This fix is a little ugly
but it's clearly the same issue the previous author of DFAPacketizer
faced (the previous tables use unsigned[2] rather uglily too).
This patch allows the DFAPacketizer to be queried after a packet is
formed to work out which resources were allocated to the packetized
instructions.
This is particularly important for targets that do their own bundle
packing - it's not sufficient to know simply that instructions can share
a packet; which slots are used is also required for encoding.
This extends the emitter to emit a side-table containing resource usage
diffs for each state transition. The packetizer maintains a set of all
possible resource states in its current state. After packetization is
complete, all remaining resource states are possible packetization
strategies.
The sidetable is only ~500K for Hexagon, but the extra tracking is
disabled by default
(most uses of the packetizer like MachinePipeliner don't care and don't
need the extra maintained state).
Differential Revision: https://reviews.llvm.org/D66936
llvm-svn: 371399
The file was modifiedllvm/lib/CodeGen/DFAPacketizer.cpp
The file was modifiedllvm/include/llvm/CodeGen/DFAPacketizer.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
The file was modifiedllvm/utils/TableGen/DFAPacketizerEmitter.cpp
The file was addedllvm/test/CodeGen/Hexagon/packetizer-resources.ll
Commit 1a3dd638c4a9173e53628b497a1aadc31c32eb50 by emaste
compiler-rt: use fp_t instead of long double, for consistency
Most builtins accepting or returning long double use the fp_t typedef.
Change the remaining few cases to do so.
Differential Revision: https://reviews.llvm.org/D35034
llvm-svn: 371400
The file was modifiedcompiler-rt/lib/builtins/divtf3.c
The file was modifiedcompiler-rt/lib/builtins/extenddftf2.c
The file was modifiedcompiler-rt/lib/builtins/extendsftf2.c
The file was modifiedcompiler-rt/lib/builtins/addtf3.c
Commit 59608c0049531758b9cbb3c400a68d597b797bf4 by lebedev.ri
[NFC][InstCombine] Fixup test i added in rL371352.
llvm-svn: 371401
The file was modifiedllvm/test/Transforms/InstCombine/result-of-usub-is-non-zero-and-no-overflow.ll
Commit e237520a8f5006692e25d7e5da7271f1c9832491 by ibiryukov
[clangd] Add a new highlighting kind for typedefs
Summary: We still attempt to highlight them as underlying types, but
fallback to the generic 'typedef' highlighting kind if the underlying
type is too complicated.
Reviewers: hokein
Reviewed By: hokein
Subscribers: nridge, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67290
llvm-svn: 371402
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
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
Commit 783fc95f3eedfb44acbfc1f3f100a5eca83e7359 by sven.vanhaastregt
Merge note_ovl_builtin_candidate diagnostics; NFC
There is no difference between the unary and binary case, so merge them.
llvm-svn: 371403
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaOverload.cpp
Commit 508dff2ce15412a6b9a10a27f16d8c10b6e88c6b by Matthew.Arsenault
AMDGPU/GlobalISel: Remove dead patterns
llvm-svn: 371404
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
Commit 0e48bd24e2120e0a9fbf2bc4896266b43496df3d by simon.tatham
[ARM] Remove some spurious MVE reduction instructions.
The family of 'dual-accumulating' vector multiply-add instructions
(VMLADAV, VMLALDAV and VRMLALDAVH) can all operate on both signed and
unsigned integer types, and they all have an 'exchange' variant (with an
X in the name) that modifies which pairs of vector lanes in the two
inputs are multiplied together. But there's a clause in the spec that
says that the X variants //don't// operate on unsigned integer types,
only signed. You can have X, or unsigned, or neither, but not both.
We didn't notice that clause when we implemented the MC support for
these instructions, so LLVM believes that things like VMLADAVX.U8 do
exist, contradicting the spec. Here I fix that by conditioning them out
in Tablegen.
In order to do that, I've reversed the nesting order of the Tablegen
multiclasses for those instructions. Previously, the innermost
multiclass generated the X and not-X variants, and the one outside that
generated the A and not-A variants. Now X is done by the outer
multiclass, which allows me to bypass that one when I only want the two
not-X variants.
Changing the multiclass nesting order also changes the names of the
instruction ids unless I make a special effort not to. I decided that
while I was changing them anyway I'd make them look nicer; so now the
instructions have names like MVE_VMLADAVs32 or MVE_VMLADAVaxs32, instead
of cumbersome _noacc_noexch suffixes.
The corresponding multiply-subtract instructions are unaffected. Those
don't accept unsigned types at all, either in the spec or in LLVM.
Reviewers: ostannard, dmgreen
Subscribers: javed.absar, kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67214
llvm-svn: 371405
The file was modifiedllvm/test/MC/ARM/mve-reductions.s
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/MC/Disassembler/ARM/mve-reductions.txt
Commit d50f937378c3cd0d763198c404687dea97e2734d by Matthew.Arsenault
AMDGPU/GlobalISel: Try generated matcher before add/sub code
This will allow optimization patterns which fold adds away to work.
llvm-svn: 371406
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit 8e3bc9b572224023eb8536fe934167524ef68ecd by Matthew.Arsenault
AMDGPU/GlobalISel: Legalize wavefrontsize intrinsic
llvm-svn: 371407
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-amdgcn.wavefrontsize.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit 8b76709bac33f7edf0764416b4e5874c29f23e70 by ibiryukov
[clangd] Use pre-populated mappings for standard symbols
Summary: This takes ~5% of time when running clangd unit tests.
To achieve this, move mapping of system includes out of
CanonicalIncludes and into a separate class
Reviewers: sammccall, hokein
Reviewed By: sammccall
Subscribers: MaskRay, jkorous, arphaman, kadircet, jfb, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67172
llvm-svn: 371408
The file was modifiedclang-tools-extra/clangd/ParsedAST.cpp
The file was modifiedclang-tools-extra/clangd/index/CanonicalIncludes.cpp
The file was modifiedclang-tools-extra/clangd/index/IndexAction.cpp
The file was modifiedclang-tools-extra/clangd/unittests/CanonicalIncludesTests.cpp
The file was modifiedclang-tools-extra/clangd/Preamble.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
The file was modifiedclang-tools-extra/clangd/index/CanonicalIncludes.h
Commit 2dd088ec7d8bf0804fc00e3583cb0bf10ae5c670 by Matthew.Arsenault
AMDGPU/GlobalISel: Use known bits for selection
llvm-svn: 371409
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-local.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-private.mir
Commit 3c8644666c496e983d725859af61624299da67f1 by diogo.sampaio
[NFC] Add aacps bitfields access test
llvm-svn: 371410
The file was addedclang/test/CodeGen/aapcs-bitfield.c
Commit fdb70301172025ee77d3c77c28e18fd02ba5503f by Matthew.Arsenault
AMDGPU/GlobalISel: Fix reg bank for uniform LDS loads
The pointer is always a VGPR. Also fix hardcoding the pointer size to
64.
llvm-svn: 371411
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-load.mir
Commit c34b4036ffe115c7cc03b9236922e98b78adb8b1 by Matthew.Arsenault
AMDGPU/GlobalISel: Select G_PTR_MASK
llvm-svn: 371412
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptr-mask.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit ebbd6e49768271297d17bcecd22eae2128e24e26 by Matthew.Arsenault
AMDGPU: Remove code address space predicates
Fixes 8-byte, 8-byte aligned LDS loads. 16-byte case still broken due to
not be reported as legal.
llvm-svn: 371413
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-local.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/DSInstructions.td
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
Commit 02eb308387d73de035492c0ae56ce167eaa97a5f by Matthew.Arsenault
AMDGPU/GlobalISel: Fix regbankselect for uniform extloads
There are no scalar extloads.
llvm-svn: 371414
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-load.mir
Commit 9ede7c03956376105130421c786e1360e948b290 by llvm-dev
Fix typo in comment noticed in D60295. NFCI.
llvm-svn: 371415
The file was modifiedllvm/include/llvm/CodeGen/SwitchLoweringUtils.h
Commit d8409b178ed4b5af52eb82190b5d1c846ed8b63c by Matthew.Arsenault
AMDGPU/GlobalISel: Fix RegBankSelect for unaligned, uniform constant
loads
llvm-svn: 371416
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-load.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit f707dac742f39774aef446f275cc70f43586312a by David CARLIER
LLDB - Simplify GetProgramFileSpec
Reviewers: zturner, emaste
Reviewed By: emaste
Differential Revision: https://reviews.llvm.org/D46518
llvm-svn: 371417
The file was modifiedlldb/source/Host/freebsd/HostInfoFreeBSD.cpp
Commit 63e6d8db1cbfe75142669c55819c655c600f00a5 by Matthew.Arsenault
AMDGPU/GlobalISel: Select atomic loads
A new check for an explicitly atomic MMO is needed to avoid incorrectly
matching pattern for non-atomic loads
llvm-svn: 371418
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-atomic-global.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-flat.mir
The file was modifiedllvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.mir
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-atomic-flat.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-atomic-local.mir
Commit 2b7089949eda508203eb23c835d6a295eb00b46b by david.green
[ARM] Fix loads and stores for predicate vectors
These predicate vectors can usually be loaded and stored with a single
instruction, a VSTR_P0. However this instruction will store the entire
P0 predicate, 16 bits, zeroextended to 32bits. Each lane of the the
v4i1/v8i1/v16i1 representing 4/2/1 bits.
As far as I understand, when llvm says "store this v4i1", it really does
need to store 4 bits (or 8, that being the size of a byte, with this
bottom 4 as the interesting bits). For example a bitcast from a v8i1 to
a i8 is defined as a store followed by a load, which is how the code is
expanded.
So this instead lowers the v4i1/v8i1 load/store through some shuffles to
get the bits into the correct positions. This, as you might imagine, is
not as efficient as a single instruction. But I believe it is needed for
correctness. v16i1 equally should not load/store 32bits, only storing
the 16bits of data. Stack loads/stores are still using the VSTR_P0 (as
can be seen by the test not changing). This is fine as they are
self-consistent, it is only "externally observable loads/stores" (from
our point of view) that need to be corrected.
Differential revision: https://reviews.llvm.org/D67085
llvm-svn: 371419
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-load.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-loadstore.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-ldst.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-pred-bitcast.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-store.ll
Commit c28f3e6e2c3ef1323ed18d4c485681bb4ff72ced by maskray
[yaml2obj] Simplify p_filesz/p_memsz computing
This fixes a bug as well. When "FileSize:" (p_filesz) is specified and
different from the actual value, the following code probably should not
use PHeader.p_filesz:
  if (SHeader->sh_offset == PHeader.p_offset + PHeader.p_filesz)
   PHeader.p_memsz += SHeader->sh_size;
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D67256
llvm-svn: 371420
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/program-header-size-offset.yaml
Commit d9c4060bd5c9e6c24a96cd7e4501be30301dad9d by gribozavr
Revert "[MachineCopyPropagation] Remove redundant copies after TailDup
via machine-cp"
This reverts commit 371359. I'm suspecting a miscompile, I posted a
reproducer to https://reviews.llvm.org/D65267.
llvm-svn: 371421
The file was modifiedllvm/lib/CodeGen/MachineCopyPropagation.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/redundant-copy-after-tail-dup.ll
The file was modifiedllvm/test/CodeGen/X86/mul-i512.ll
The file was modifiedllvm/test/CodeGen/X86/umulo-128-legalisation-lowering.ll
Commit 6d7fba6aae28e313ba3e457ad9eff13b5e541204 by ibiryukov
[clangd] Attempt to fix failing Windows buildbots.
The assertion is failing on Windows, probably because path separator is
different.
For the failure see:
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/28072/steps/test/logs/stdio
llvm-svn: 371422
The file was modifiedclang-tools-extra/clangd/index/CanonicalIncludes.cpp
Commit 182f9248e8f2c11e5aeeb08263c5b56dbf1ea9c6 by Matthew.Arsenault
AMDGPU/GlobalISel: Legalize G_BUILD_VECTOR_TRUNC
Treat this as legal on gfx9 since it can use S_PACK_* instructions for
this.
This isn't used by anything yet. The same will probably apply to 16-bit
G_BUILD_VECTOR without the trunc.
llvm-svn: 371423
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-build-vector-trunc.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-build-vector-trunc.mir
Commit 64ecca90d4290f670b58111cc46e63b3aa9b72f5 by Matthew.Arsenault
AMDGPU/GlobalISel: Implement LDS G_GLOBAL_VALUE
Handle the simple case that lowers to a constant.
llvm-svn: 371424
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/lds-global-non-entry-func.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/lds-zero-initializer.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/lds-global-value.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/lds-size.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
Commit bfb00e3d536e4a907f257684eba7836951677864 by Jessica Paquette
[GlobalISel][AArch64] Handle tail calls with non-void return types
Just return once you emit the call, which is exactly what SelectionDAG
does in this situation.
Update call-translator-tail-call.ll.
Also update dllimport.ll to show that we tail call here in GISel again.
Add
-verify-machineinstrs to the GISel line too, to defend against verifier
failures.
Differential revision: https://reviews.llvm.org/D67282
llvm-svn: 371425
The file was modifiedllvm/test/CodeGen/AArch64/dllimport.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/call-translator-tail-call.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
Commit c0728eac15b416206a715f4ee84e5956aa169c91 by spatel
[SLP] add test for over-vectorization (PR33958); NFC
llvm-svn: 371426
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/consecutive-access.ll
Commit d2a9516a6d08c3edd7c5484f4d10f4b38b48c9d6 by Matthew.Arsenault
AMDGPU: Move MnemonicAlias out of instruction def hierarchy
Unfortunately MnemonicAlias defines a "Predicates" field just like an
instruction or pattern, with a somewhat different interpretation.
This ends up overriding the intended Predicates set by PredicateControl
on the pseudoinstruction defintions with an empty list. This allowed
incorrectly selecting instructions that should have been rejected due to
the SubtargetPredicate from patterns on the instruction definition.
This does remove the divergent predicate from the 64-bit shift patterns,
which were already not used for the 32-bit shift, so I'm not sure what
the point was. This also removes a second, redundant copy of the 64-bit
divergent patterns.
llvm-svn: 371427
The file was modifiedllvm/lib/Target/AMDGPU/VOPInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/VOP1Instructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-lshr.mir
The file was modifiedllvm/lib/Target/AMDGPU/VOP3Instructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-shl.mir
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ashr.mir
Commit 56e4ea2bff9eb2f43b20a68951e6263ad3c9022f by simon
[mips] Fix decoding of microMIPS JALX instruction
microMIPS jump and link exchange instruction stores a target in a
26-bits field. Despite other microMIPS JAL instructions these bits are
target address shifted right 2 bits [1]. The patch fixes the JALX
instruction decoding and uses 2-bit shift.
[1] MIPS Architecture for Programmers Volume II-B: The microMIPS32
Instruction Set
Differential Revision: https://reviews.llvm.org/D67320
llvm-svn: 371428
The file was modifiedlld/test/ELF/mips-micro-cross-calls.s
The file was modifiedllvm/test/MC/Disassembler/Mips/micromips32r3/valid.txt
The file was modifiedllvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
The file was modifiedllvm/test/MC/Disassembler/Mips/micromips32r3/valid-el.txt
The file was modifiedllvm/lib/Target/Mips/MicroMipsInstrInfo.td
Commit a85d9ef11ae3dd5c840b1087555b04bedc304113 by francisvm
[Remarks] Add parser for bitstream remarks
The bitstream remark serializer landed in r367372.
This adds a bitstream remark parser that parser bitstream remark files
to llvm::remarks::Remark objects through the RemarkParser interface.
A few interesting things to point out:
* There are parsing helpers to parse the different types of blocks
* The main parsing helper allows us to parse remark metadata and open an
external file containing the encoded remarks
* This adds a dependency from the Remarks library to the BitstreamReader
library
* The testing strategy is to create a remark entry through YAML, parse
it, serialize it to bitstream, parse that back and compare the objects.
* There are close to no tests for malformed bitstream remarks, due to
the lack of textual format for the bitstream format.
* This adds a new C API for parsing bitstream remarks:
LLVMRemarkParserCreateBitstream.
* This bumps the REMARKS_API_VERSION to 1.
Differential Revision: https://reviews.llvm.org/D67134
llvm-svn: 371429
The file was addedllvm/unittests/Remarks/BitstreamRemarksParsingTest.cpp
The file was addedllvm/lib/Remarks/BitstreamRemarkParser.cpp
The file was addedllvm/include/llvm/Remarks/BitstreamRemarkParser.h
The file was addedllvm/lib/Remarks/BitstreamRemarkParser.h
The file was modifiedllvm/tools/remarks-shlib/Remarks.exports
The file was modifiedllvm/lib/Remarks/RemarkParser.cpp
The file was modifiedllvm/unittests/Remarks/CMakeLists.txt
The file was modifiedllvm/lib/Remarks/LLVMBuild.txt
The file was modifiedllvm/include/llvm-c/Remarks.h
The file was modifiedllvm/include/llvm/Bitstream/BitstreamReader.h
The file was modifiedllvm/lib/Remarks/CMakeLists.txt
Commit ce2cb0f09e7d66f34e5f2110bfcd9e3dff60feaa by craig.topper
[X86] Allow _MM_FROUND_CUR_DIRECTION and _MM_FROUND_NO_EXC to be used
together on instructions that only support SAE and not embedded
rounding.
Current for SAE instructions we only allow _MM_FROUND_CUR_DIRECTION(bit
2) or _MM_FROUND_NO_EXC(bit 3) to be used as the immediate passed to the
inrinsics. But these instructions don't perform rounding so
_MM_FROUND_CUR_DIRECTION is just sort of a default placeholder when you
don't want to suppress exceptions. Using _MM_FROUND_NO_EXC by itself is
really bit equivalent to (_MM_FROUND_NO_EXC | _MM_FROUND_TO_NEAREST_INT)
since _MM_FROUND_TO_NEAREST_INT is 0. Since we aren't rounding on these
instructions we should also accept (_MM_FROUND_CUR_DIRECTION |
_MM_FROUND_NO_EXC) as equivalent to (_MM_FROUND_NO_EXC). icc allows
this, but gcc does not.
Differential Revision: https://reviews.llvm.org/D67289
llvm-svn: 371430
The file was modifiedclang/test/Sema/builtins-x86.c
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics.ll
Commit 5ebd0a6e88a5c70805ec5077289e602c8e16a83f by craig.topper
[SelectionDAG] Remove ISD::FP_ROUND_INREG
I don't think anything in tree creates this node. So all of this code
appears to be dead.
Code coverage agrees
http://lab.llvm.org:8080/coverage/coverage-reports/llvm/coverage/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp.html
Differential Revision: https://reviews.llvm.org/D67312
llvm-svn: 371431
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/docs/ReleaseNotes.rst
Commit 6ebf605851db3627bdf51a89b0a36147729014c2 by Matthew.Arsenault
AMDGPU: Use PatFrags to allow selecting custom nodes or intrinsics
This enables GlobalISel to handle various intrinsics. The custom node
pattern will be ignored, and the intrinsic will work. This will also
allow SelectionDAG to directly select the intrinsics, but as they are
all custom lowered to the nodes, this ends up leaving dead code in the
table.
Eventually either GlobalISel should add the equivalent of custom nodes
equivalent, or intrinsics should be directly used. These each have
different tradeoffs.
There are a few more to handle, but these are easy to handle ones. Some
others fail for other reasons.
llvm-svn: 371432
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fract.s16.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.ldexp.s16.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.ldexp.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rcp.legacy.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.sin.s16.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fract.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cos.s16.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.clamp.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cos.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.s16.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.sin.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.legacy.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rcp.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rcp.s16.mir
Commit c195bde3d4db7bd5746aecd9cbdf6c386968e660 by spatel
[x86] add test for false dependency with minsize (PR43239); NFC
llvm-svn: 371433
The file was modifiedllvm/test/CodeGen/X86/sqrt-partial.ll
Commit 79f0d3a6e58b80e38040c9ef639431a268422058 by efriedma
[IfConversion] Correctly handle cases where analyzeBranch fails.
If analyzeBranch fails, on some targets, the out parameters point to
some blocks in the function. But we can't use that information, so make
sure to clear it out.  (In some places in IfConversion, we assume that
any block with a TrueBB is analyzable.)
The change to the testcase makes it trigger a bug on builds without this
fix: IfConvertDiamond tries to perform a followup "merge" operation,
which isn't legal, and we somehow end up with a branch to a deleted MBB.
I'm not sure how this doesn't crash the compiler.
Differential Revision: https://reviews.llvm.org/D67306
llvm-svn: 371434
The file was modifiedllvm/lib/CodeGen/IfConversion.cpp
The file was modifiedllvm/test/CodeGen/ARM/ifcvt-diamond-unanalyzable-common.mir
Commit d6c1f5bb154a0b524b92d15b99a882d654f906ce by Matthew.Arsenault
AMDGPU/GlobalISel: Select fmed3
llvm-svn: 371435
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fmed3.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fmed3.s16.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
Commit 77e3e9cafd9642375132e7bb0b13be415872b531 by Matthew.Arsenault
AMDGPU/GlobalISel: Select llvm.amdgcn.class
Also fixes missing SubtargetPredicate on f16 class instructions.
llvm-svn: 371436
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.class.s16.mir
The file was modifiedllvm/lib/Target/AMDGPU/VOPCInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.class.mir
Commit d60ff75b562b56177dfe9337f123637bf904f884 by pirama
[Driver] Add -static-openmp driver option
Summary: For Gnu, FreeBSD and NetBSD, this option forces linking with
the static OpenMP host runtime (similar to -static-libgcc and
-static-libstdcxx).
Android's NDK will start the shared OpenMP runtime in addition to the
static libomp.  In this scenario, the linker will prefer to use the
shared library by default.  Add this option to enable linking with the
static libomp.
Reviewers: Hahnfeld, danalbert, srhines, joerg, jdoerfert
Subscribers: guansong, cfe-commits
Tags: #clang
Fixes https://github.com/android-ndk/ndk/issues/1028
Differential Revision: https://reviews.llvm.org/D67200
llvm-svn: 371437
The file was modifiedclang/lib/Driver/ToolChains/NetBSD.cpp
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.h
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/ToolChains/FreeBSD.cpp
The file was modifiedclang/test/Driver/fopenmp.c
Commit 8bc05d7d603e3964c811fd65235f276858104fbb by Matthew.Arsenault
AMDGPU: Make VReg_1 size be 1
This was getting chosen as the preferred 32-bit register class based on
how TableGen selects subregister classes.
llvm-svn: 371438
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/SILowerI1Copies.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-extend-pruned-subrange.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-with-subregs-bad-identical.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-subranges-another-prune-error.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Commit fc910c507e447ae08ca8424ab16353f5371a2e1b by jlettner
[TSan] Add interceptors for mach_vm_[de]allocate
I verified that the test is red without the interceptors.
rdar://40334350
Reviewed By: kubamracek, vitalybuka
Differential Revision: https://reviews.llvm.org/D66616
llvm-svn: 371439
The file was addedcompiler-rt/lib/tsan/rtl/tsan_interceptors_mach_vm.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was addedcompiler-rt/test/tsan/Darwin/mach_vm_allocate.c
Commit a0933e6df759787ab7ce4622f693d9b8df774536 by Matthew.Arsenault
AMDGPU/GlobalISel: Legalize G_BUILD_VECTOR v2s16
Handle it the same way as G_BUILD_VECTOR_TRUNC. Arguably only
G_BUILD_VECTOR_TRUNC should be legal for this, but G_BUILD_VECTOR will
probably be more convenient in most cases.
llvm-svn: 371440
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-build-vector.v2s16.mir
Commit 20aafa31569b5157e792daa8860d71dd0df8a53a by listmail
Introduce infrastructure for an incremental port of SelectionDAG atomic
load/store handling
This is the first patch in a large sequence. The eventual goal is to
have unordered atomic loads and stores - and possibly ordered atomics as
well - handled through the normal ISEL codepaths for loads and stores.
Today, there handled w/instances of AtomicSDNodes. The result of which
is that all transforms need to be duplicated to work for unordered
atomics. The benefit of the current design is that it's harder to
introduce a silent miscompile by adding an transform which forgets about
atomicity.  See the thread on llvm-dev titled "FYI: proposed changes to
atomic load/store in SelectionDAG" for further context.
Note that this patch is NFC unless the experimental flag is set.
The basic strategy I plan on taking is:
    introduce infrastructure and a flag for testing (this patch)
   Audit uses of isVolatile, and apply isAtomic conservatively*
   piecemeal conservative* update generic code and x86 backedge code in
individual reviews w/tests for cases which didn't check volatile, but
can be found with inspection
   flip the flag at the end (with minimal diffs)
   Work through todo list identified in (2) and (3) exposing performance
ops
(*) The "conservative" bit here is aimed at minimizing the number of
diffs involved in (4). Ideally, there'd be none. In practice, getting it
down to something reviewable by a human is the actual goal. Note that
there are (currently) no paths which produce LoadSDNode or StoreSDNode
with atomic MMOs, so we don't need to worry about preserving any
behaviour there.
We've taken a very similar strategy twice before with success - once at
IR level, and once at the MI level (post ISEL).
Differential Revision: https://reviews.llvm.org/D66309
llvm-svn: 371441
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/atomic-unordered.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGNodes.h
Commit 9508738cd1d4ad179021314bfe54f2a02cb029cd by mmoroz
[UBSan] Do not overwrite the default print_summary sanitizer option.
Summary: This option is true by default in sanitizer common. The default
false value was added a while ago without any reasoning in
https://github.com/llvm-mirror/compiler-rt/commit/524e934112a593ac081bf2b05aa0d60a67987f05
so, presumably it's safe to remove for consistency.
Reviewers: hctim, samsonov, morehouse, kcc, vitalybuka
Reviewed By: hctim, samsonov, vitalybuka
Subscribers: delcypher, #sanitizers, llvm-commits, kcc
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D67193
llvm-svn: 371442
The file was addedcompiler-rt/test/ubsan/TestCases/Misc/print_summary.c
The file was modifiedcompiler-rt/lib/ubsan/ubsan_flags.cpp
Commit 3d85013b63ea391ea966358bd5cbd24a78170c94 by francisvm
[Remarks] Fix warning for uint8_t < 0 comparison
http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/19109/steps/build-stage1-compiler/logs/stdio
llvm-svn: 371443
The file was modifiedllvm/lib/Remarks/BitstreamRemarkParser.cpp
Commit ff49a52cf3dd785b7e93dd2c9a89b6cf8d3743d4 by pirama
[Driver] Handle default case in refactored addOpenMPRuntime
Summary: Appease failed builds (due to -Werror and -Wswitch) where
OMPRT_Unknown is not handled in the switch statement (even though it's
handled by the early exit).
This fixes -Wswitch triggered by r371442.
Reviewers: srhines, danalbert, jdoerfert
Subscribers: guansong, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67364
llvm-svn: 371444
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
Commit eae609e306e87cbc821265dfc9c6537813ced84c by listmail
[SDAG] Add a isSimple cover functon to MemSDNode, just as we have in
IR/MI [NFC]
Uses are in reviews D66322 and D66318.  Submitted separately to control
rebuild times.
llvm-svn: 371445
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGNodes.h
Commit 6d04ee0f86382a7af9a1063b5d47d146e5c70dda by jlettner
[TSan] Add AnnotateIgnoreReadsBegin declaration to tsan/test.h
Declare the family of AnnotateIgnore[Read,Write][Begin,End] TSan
annotations in compiler-rt/test/tsan/test.h so that we don't have to
declare them separately in every test that needs them.  Replace usages.
Leave usages that explicitly test the annotation mechanism:
thread_end_with_ignore.cpp
thread_end_with_ignore3.cpp
llvm-svn: 371446
The file was modifiedcompiler-rt/test/tsan/ignore_race.cpp
The file was modifiedcompiler-rt/test/tsan/ignore_free.cpp
The file was modifiedcompiler-rt/test/tsan/Darwin/mach_vm_allocate.c
The file was modifiedcompiler-rt/test/tsan/test.h
The file was modifiedcompiler-rt/test/tsan/ignore_malloc.cpp
The file was modifiedcompiler-rt/test/tsan/ignored-interceptors-mmap.cpp
Commit 4bd6eb8ff2015d5f5361810b32c19565b43166a2 by douglas.yung
Relax opcode checks in test to check for only a number instead of a
specific number.
llvm-svn: 371447
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
Commit 48453bb8eda3d25b50ab098ebdc33a08724b2e2f by listmail
[Tests] Add anyextend tests for unordered atomics
Motivated by work on changing our representation of unordered atomics in
SelectionDAG, but as an aside, all our lowerings for O3 are terrible.
Even the ones which ignore the atomicity. 
llvm-svn: 371449
The file was modifiedllvm/test/CodeGen/X86/atomic-unordered.ll
Commit 2f169e7cdd9973d2aa4cba6b0a09126a5e7268ec by Artem Dergachev
[analyzer] NFC: Introduce sub-classes for path-sensitive and basic
reports.
Checkers are now required to specify whether they're creating a
path-sensitive report or a path-insensitive report by constructing an
object of the respective type.
This makes BugReporter more independent from the rest of the Static
Analyzer because all Analyzer-specific code is now in sub-classes.
Differential Revision: https://reviews.llvm.org/D66572
llvm-svn: 371450
The file was modifiedclang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/TaintTesterChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporter.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/VforkChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/EnumCastOutOfRangeChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ConversionChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
The file was modifiedclang/lib/Analysis/plugins/SampleAnalyzer/MainCallChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MmapWriteExecChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CloneChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/Taint.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/UndefBranchChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/Taint.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DynamicTypeChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
Commit 589273bebd44c3fcc09d2ad87b259dcaff30d299 by Artem Dergachev
[analyzer] NFC: Simplify bug report equivalence classes to not be
ilists.
Use a vector of unique pointers instead.
Differential Revision: https://reviews.llvm.org/D67024
llvm-svn: 371451
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporter.cpp
Commit 7403569be75176c9bf76d65a4e97a66ebe01165a by listmail
[LoopVectorize] Leverage speculation safety to avoid masked.loads
If we're vectorizing a load in a predicated block, check to see if the
load can be speculated rather than predicated.  This allows us to
generate a normal vector load instead of a masked.load.
To do so, we must prove that all bytes accessed on any iteration of the
original loop are dereferenceable, and that all loads (across all
iterations) are properly aligned.  This is equivelent to proving that
hoisting the load into the loop header in the original scalar loop is
safe.
Note: There are a couple of code motion todos in the code.  My intention
is to wait about a day - to be sure this sticks - and then perform the
NFC motion without furthe review.
Differential Revision: https://reviews.llvm.org/D66688
llvm-svn: 371452
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/hoist-loads.ll
Commit ac3dce595c060fef21f924ecb5910d0d58c2d20e by mmoroz
[UBSan] Follow up fix for r371442.
Reviewers: vitalybuka, hctim, Dor1s
Reviewed By: Dor1s
Subscribers: delcypher, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D67371
llvm-svn: 371453
The file was modifiedcompiler-rt/test/sanitizer_common/TestCases/Posix/fpe.cpp
Commit 7f37d9a714d3035b95645ba9a0ed24ac2e94ecc3 by llvm-dev
Fix MSVC "not all control paths return a value" warning. NFCI.
llvm-svn: 371454
The file was modifiedllvm/lib/Remarks/BitstreamRemarkParser.cpp
Commit 847fbf7013def98e9595205633e89bcf2e7d5601 by listmail
[Tests] Precommit test case for D67372
llvm-svn: 371455
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
Commit b8cddb76114027dff1aa1374ccbd1f5fd2bb82c4 by listmail
[Tests] Fix a typo in a test
llvm-svn: 371456
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
Commit 4f68c226a561e2f1f3989b239c2d6b3616bb0f8e by clayborg
Fix ELF core file memory reading for PT_LOAD program headers with no
p_filesz
Prior to this fix, ELF files might contain PT_LOAD program headers that
had a valid p_vaddr, and a valid file p_offset, but the p_filesz would
be zero. For example in
llvm-project/lldb/test/testcases/functionalities/postmortem/elf-core/thread_crash/linux-i386.core
we see:
Program Headers: Index   p_type           p_flags    p_offset         
p_vaddr            p_paddr            p_filesz           p_memsz       
   p_align
======= ---------------- ---------- ------------------
------------------ ------------------ ------------------
------------------ ------------------
[    0] PT_NOTE          0x00000000 0x0000000000000474
0x0000000000000000 0x0000000000000000 0x0000000000001940
0x0000000000000000 0x0000000000000000
[    1] PT_LOAD          0x00000005 0x0000000000002000
0x0000000008048000 0x0000000000000000 0x0000000000000000
0x0000000000003000 0x0000000000001000
[    2] PT_LOAD          0x00000004 0x0000000000002000
0x000000000804b000 0x0000000000000000 0x0000000000000000
0x0000000000001000 0x0000000000001000
[    3] PT_LOAD          0x00000006 0x0000000000002000
0x000000000804c000 0x0000000000000000 0x0000000000000000
0x0000000000001000 0x0000000000001000
[    4] PT_LOAD          0x00000006 0x0000000000002000
0x0000000009036000 0x0000000000000000 0x0000000000000000
0x0000000000025000 0x0000000000001000
[    5] PT_LOAD          0x00000000 0x0000000000002000
0x00000000f63a1000 0x0000000000000000 0x0000000000000000
0x0000000000001000 0x0000000000001000
[    6] PT_LOAD          0x00000006 0x0000000000002000
0x00000000f63a2000 0x0000000000000000 0x0000000000000000
0x0000000000800000 0x0000000000001000
[    7] PT_LOAD          0x00000000 0x0000000000002000
0x00000000f6ba2000 0x0000000000000000 0x0000000000000000
0x0000000000001000 0x0000000000001000
[    8] PT_LOAD          0x00000006 0x0000000000002000
0x00000000f6ba3000 0x0000000000000000 0x0000000000000000
0x0000000000804000 0x0000000000001000
[    9] PT_LOAD          0x00000005 0x0000000000002000
0x00000000f73a7000 0x0000000000000000 0x0000000000000000
0x00000000001b1000 0x0000000000001000
[   10] PT_LOAD          0x00000004 0x0000000000002000
0x00000000f7558000 0x0000000000000000 0x0000000000000000
0x0000000000002000 0x0000000000001000
[   11] PT_LOAD          0x00000006 0x0000000000002000
0x00000000f755a000 0x0000000000000000 0x0000000000000000
0x0000000000001000 0x0000000000001000
[   12] PT_LOAD          0x00000006 0x0000000000002000
0x00000000f755b000 0x0000000000000000 0x0000000000000000
0x0000000000003000 0x0000000000001000
[   13] PT_LOAD          0x00000005 0x0000000000002000
0x00000000f755e000 0x0000000000000000 0x0000000000000000
0x0000000000019000 0x0000000000001000
[   14] PT_LOAD          0x00000004 0x0000000000002000
0x00000000f7577000 0x0000000000000000 0x0000000000000000
0x0000000000001000 0x0000000000001000
[   15] PT_LOAD          0x00000006 0x0000000000002000
0x00000000f7578000 0x0000000000000000 0x0000000000000000
0x0000000000001000 0x0000000000001000
[   16] PT_LOAD          0x00000006 0x0000000000002000
0x00000000f7579000 0x0000000000000000 0x0000000000000000
0x0000000000002000 0x0000000000001000
[   17] PT_LOAD          0x00000005 0x0000000000002000
0x00000000f757b000 0x0000000000000000 0x0000000000000000
0x000000000001c000 0x0000000000001000
[   18] PT_LOAD          0x00000004 0x0000000000002000
0x00000000f7597000 0x0000000000000000 0x0000000000000000
0x0000000000001000 0x0000000000001000
[   19] PT_LOAD          0x00000006 0x0000000000002000
0x00000000f7598000 0x0000000000000000 0x0000000000000000
0x0000000000001000 0x0000000000001000
[   20] PT_LOAD          0x00000005 0x0000000000002000
0x00000000f7599000 0x0000000000000000 0x0000000000000000
0x0000000000053000 0x0000000000001000
[   21] PT_LOAD          0x00000004 0x0000000000002000
0x00000000f75ec000 0x0000000000000000 0x0000000000000000
0x0000000000001000 0x0000000000001000
[   22] PT_LOAD          0x00000006 0x0000000000002000
0x00000000f75ed000 0x0000000000000000 0x0000000000000000
0x0000000000001000 0x0000000000001000
[   23] PT_LOAD          0x00000005 0x0000000000002000
0x00000000f75ee000 0x0000000000000000 0x0000000000000000
0x0000000000176000 0x0000000000001000
[   24] PT_LOAD          0x00000004 0x0000000000002000
0x00000000f7764000 0x0000000000000000 0x0000000000000000
0x0000000000006000 0x0000000000001000
[   25] PT_LOAD          0x00000006 0x0000000000002000
0x00000000f776a000 0x0000000000000000 0x0000000000000000
0x0000000000001000 0x0000000000001000
[   26] PT_LOAD          0x00000006 0x0000000000002000
0x00000000f776b000 0x0000000000000000 0x0000000000000000
0x0000000000003000 0x0000000000001000
[   27] PT_LOAD          0x00000006 0x0000000000002000
0x00000000f778a000 0x0000000000000000 0x0000000000000000
0x0000000000002000 0x0000000000001000
[   28] PT_LOAD          0x00000004 0x0000000000002000
0x00000000f778c000 0x0000000000000000 0x0000000000002000
0x0000000000002000 0x0000000000001000
[   29] PT_LOAD          0x00000005 0x0000000000004000
0x00000000f778e000 0x0000000000000000 0x0000000000002000
0x0000000000002000 0x0000000000001000
[   30] PT_LOAD          0x00000005 0x0000000000006000
0x00000000f7790000 0x0000000000000000 0x0000000000000000
0x0000000000022000 0x0000000000001000
[   31] PT_LOAD          0x00000004 0x0000000000006000
0x00000000f77b3000 0x0000000000000000 0x0000000000000000
0x0000000000001000 0x0000000000001000
[   32] PT_LOAD          0x00000006 0x0000000000006000
0x00000000f77b4000 0x0000000000000000 0x0000000000000000
0x0000000000001000 0x0000000000001000
[   33] PT_LOAD          0x00000006 0x0000000000006000
0x00000000ffa25000 0x0000000000000000 0x0000000000000000
0x0000000000022000 0x0000000000001000 Prior to this fix if users tried
to read memory from one of these addresses like 0x8048000, they would
end up incorrectly reading from the next memory region that actually had
a p_filesz which would be 0x00000000f778c000 in this case. This fix
correctly doesn't include program headers with zero p_filesz in the
ProcessELFCore::m_core_aranges that is used to read memory. I found two
cores files that have this same issue and added tests.
Differential Revision: https://reviews.llvm.org/D67370
llvm-svn: 371457
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/thread_crash/TestLinuxCoreThreads.py
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
Commit 2439b8b0c5f384561e005a64efe5c36b1007c6ff by simon
[mips] Make another set of test cases more tolerant to exact symbol
addresses. NFC
llvm-svn: 371458
The file was modifiedlld/test/ELF/mips-pc-relocs.s
The file was modifiedlld/test/ELF/mips-tls-static-64.s
The file was modifiedlld/test/ELF/mips-xgot-order.s
The file was modifiedlld/test/ELF/mips-micro-relocs.s
The file was modifiedlld/test/ELF/mips-tls-64-pic-local-variable.s
The file was modifiedlld/test/ELF/mips-tls-64.s
The file was modifiedlld/test/ELF/mips-n32-rels.s
The file was modifiedlld/test/ELF/mips-plt-r6.s
The file was modifiedlld/test/ELF/mips-npic-call-pic-os.s
The file was modifiedlld/test/ELF/mips-plt-n64.s
The file was modifiedlld/test/ELF/mips-micror6-relocs.s
The file was modifiedlld/test/ELF/mips-micro-thunks.s
The file was modifiedlld/test/ELF/mips-plt-n32.s
The file was modifiedlld/test/ELF/mips-tls-static.s
The file was modifiedlld/test/ELF/mips-micro-plt.s
The file was modifiedlld/test/ELF/mips-tls.s
The file was modifiedlld/test/ELF/mips-npic-call-pic.s
The file was modifiedlld/test/ELF/rel-addend-with-rela-input.s
The file was modifiedlld/test/ELF/mips-tls-hilo.s
The file was modifiedlld/test/ELF/mips-micro-jal.s
The file was modifiedlld/test/ELF/mips-micro-cross-calls.s
The file was modifiedlld/test/ELF/mips-nonalloc.s
The file was modifiedlld/test/ELF/mips-32.s
Commit 9b961cc6043a3b84195ae7d938d2816c96f76303 by Jonas Devlieghere
[Reproducer] Disconnect when the replay server is out of packets.
This is a fix for the issue described in r371144.
> On more than one occasion I've found this test got stuck during replay
> while waiting for a packet from debugserver when the debugger was in
> the process of being destroyed.
When the replay server is out of packets we should just disconnect so
the debugger doesn't have to do any cleanup that it wouldn't do during
capture.
llvm-svn: 371459
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
Commit e0bce4e1c2abf39b27f0f0d1e771f09fd5cfa8b8 by Jonas Devlieghere
Revert "[Reproducer] Add a `cont` to ModuleCXX.test"
This should no longer be necessary after r371459.
llvm-svn: 371460
The file was modifiedlldb/lit/Reproducer/Modules/Inputs/ModuleCXX.in
Commit f0e2755b45a42a3c3284c7a3cec82147065c36a2 by eugeni.stepanov
LangRef: mention MSan's problem with speculative conditional branches.
Summary: This short blurb aims to disallow optimizations like we had to
revert
(under MSan) in
https://reviews.llvm.org/D21165
https://bugs.llvm.org/show_bug.cgi?id=28054
https://reviews.llvm.org/D67205
Reviewers: vitalybuka, efriedma
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67244
llvm-svn: 371461
The file was modifiedllvm/docs/LangRef.rst
Commit 2ca7370183a104b7769202032e9d5a41c04ed070 by richard-llvm
Simplify demangler rule for lambda-expressions to match discussion on
cxx-abi list.
llvm-svn: 371462
The file was modifiedlibcxxabi/test/test_demangle.pass.cpp
The file was modifiedllvm/include/llvm/Demangle/ItaniumDemangle.h
The file was modifiedlibcxxabi/src/demangle/ItaniumDemangle.h
Commit 5112b71126a133b744b11b50d60fcb89d005513d by aditya_nandakumar
[GlobalISel]: Fix a bug where we could dereference None
getConstantVRegVal returns None when dealing with constants > 64 bits.
Don't assume we always have a value in GISelKnownBits.
llvm-svn: 371465
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
Commit bf02399a852e1ff06e074c353908147d9a22b1dc by rnk
[Windows] Replace TrapUnreachable with an int3 insertion pass
This is an alternative to D66980, which was reverted. Instead of
inserting a pseudo instruction that optionally expands to nothing, add a
pass that inserts int3 when appropriate after basic block layout.
Reviewers: hans
Differential Revision: https://reviews.llvm.org/D67201
llvm-svn: 371466
The file was modifiedllvm/test/CodeGen/X86/catchpad-lifetime.ll
The file was modifiedllvm/test/CodeGen/X86/win64_eh.ll
The file was modifiedllvm/lib/Target/X86/X86.h
The file was modifiedllvm/test/CodeGen/X86/unreachable-trap.ll
The file was modifiedllvm/test/CodeGen/X86/catchret-regmask.ll
The file was modifiedllvm/test/CodeGen/X86/wineh-coreclr.ll
The file was modifiedllvm/test/CodeGen/X86/funclet-layout.ll
The file was modifiedllvm/lib/Target/X86/CMakeLists.txt
The file was modifiedllvm/test/CodeGen/X86/trap.ll
The file was modifiedllvm/test/CodeGen/X86/pr24374.ll
The file was addedllvm/test/CodeGen/X86/win64-eh-empty-block.ll
The file was modifiedllvm/test/CodeGen/X86/br-fold.ll
The file was modifiedllvm/test/DebugInfo/COFF/local-variable-gap.ll
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.cpp
The file was modifiedllvm/test/CodeGen/WinEH/wineh-noret-cleanup.ll
The file was addedllvm/test/CodeGen/X86/noreturn-call-win64.ll
The file was addedllvm/lib/Target/X86/X86AvoidTrailingCall.cpp
The file was modifiedllvm/test/CodeGen/X86/empty-function.ll
The file was modifiedllvm/test/CodeGen/X86/win64_call_epi.ll
The file was modifiedllvm/test/CodeGen/X86/catchpad-regmask.ll
Commit 06c8cb03caee18241263168cf4405b629940ab84 by Austin.Kerbow
AMDGPU/GlobalISel: Rename MIRBuilder to B. NFC
Reviewers: arsenm
Reviewed By: arsenm
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, rovka,
dstuttard, tpr, t-tye, hiraditya, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67374
llvm-svn: 371467
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
Commit 245ba2c25fef704abe8caa662c02b147eab12eac by richard-llvm
PR43242: Fix crash when typo-correcting to an operator() that should not
have been visible.
llvm-svn: 371468
The file was modifiedclang/test/SemaCXX/lambda-expressions.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 865697f9b9add3030c1a2637aac6f755c573f781 by richard-llvm
Fix incorrect demangling of call operator of lambda with explicit
template parameters due to registering template parameters twice.
llvm-svn: 371469
The file was modifiedlibcxxabi/src/demangle/ItaniumDemangle.h
The file was modifiedllvm/include/llvm/Demangle/ItaniumDemangle.h
The file was modifiedlibcxxabi/test/test_demangle.pass.cpp
Commit 9e86561878dc470c4023cd627dd39cafc13fdc4d by apl
[Symbol] Give ClangASTContext a PersistentExpressionState instead of a
ClangPersistentVariables
ClangASTContext doesn't use m_persistent_variables in a way specific to
ClangPersistentVariables. Therefore, it should hold a unique pointer to
PersistentExpressionState instead of a ClangPersistentVariablesUP. This
also prevents you from pulling in a plugin header when including
ClangASTContext.h
Doing this exposed an implicit dependency in ObjCLanguage that was
corrected by including ClangModulesDeclVendor.h
llvm-svn: 371470
The file was modifiedlldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit a91f017ae31557d13b06eaf69b7ce65c57c6849f by Matthew.Arsenault
AMDGPU/GlobalISel: Fix insert point when lowering fminnum/fmaxnum
llvm-svn: 371471
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir
Commit 1dbee8f0437f0d6a5890c728e5847334644f8157 by apl
[Expression] Remove unused header from LLVMUserExpression
llvm-svn: 371472
The file was modifiedlldb/source/Expression/LLVMUserExpression.cpp
Commit 87d47cb7c4792cb4dbb6911b9d11e5bd9f2dc928 by rnk
Remove some unnecessary REQUIRES: shell lines
This means these tests will run on Windows. Replace one with
UNSUPPORTED: system-windows.
llvm-svn: 371473
The file was modifiedllvm/test/MC/AsmParser/preserve-comments-crlf.s
The file was modifiedllvm/test/tools/llvm-cov/gcov47_compatibility.cpp
The file was modifiedllvm/test/tools/llvm-cov/copy_block_helper.m
The file was modifiedllvm/test/Linker/datalayout.ll
The file was modifiedllvm/test/MC/ELF/comp-dir.s
The file was modifiedllvm/test/tools/llvm-cov/cov-comdat.test
The file was modifiedllvm/test/tools/llvm-cov/range_based_for.cpp
The file was modifiedllvm/test/tools/llvm-dwp/X86/dwos_list_from_exec_simple.test
The file was modifiedllvm/test/Other/lit-unicode.txt
Commit e0ea8d87eb943f89e32524d6386c4c9c4c9f1310 by Jonas Devlieghere
[Utility] Replace `lldb_private::CleanUp` by `llvm::scope_exit`
This removes the CleanUp class and replaces its usages with llvm's
ScopeExit, which has similar semantics.
Differential revision: https://reviews.llvm.org/D67378
llvm-svn: 371474
The file was modifiedlldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
The file was modifiedlldb/source/Symbol/LocateSymbolFileMacOSX.cpp
The file was removedlldb/unittests/Utility/CleanUpTest.cpp
The file was removedlldb/include/lldb/Utility/CleanUp.h
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp
The file was modifiedlldb/source/Host/macosx/objcxx/Host.mm
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/unittests/Utility/CMakeLists.txt
Commit 79707ecd7d9132517831dd00a896c877c1c3916b by Jan Korous
[llvm][ADT][NFC] Add test for makeArrayRef(std::array)
llvm-svn: 371475
The file was modifiedllvm/unittests/ADT/ArrayRefTest.cpp
Commit ae6f7bcb367465ba1b97cdcb27d528b49f7b238d by richard-llvm
Fix crash mangling an explicit lambda non-type template parameter pack
that is not a pack expansion.
llvm-svn: 371476
The file was modifiedclang/test/CodeGenCXX/mangle-lambda-explicit-template-params.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
Commit fcbc512f80a94516a6337a655ff1b13cbf67011e by nicolasweber
gn build: (manually) merge r371429
llvm-svn: 371477
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Remarks/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Remarks/BUILD.gn
Commit a9980f60ce083fa6d5fd03c12c58ca0b293e3d60 by rnk
Remove REQUIRES:shell from tests that pass for me on Windows
I see in the history for some of these tests REQUIRES:shell was used as
a way to disable tests on Windows because they are flaky there. I tried
not to re-enable such tests, but it's possible that I missed some and
this will re-enable flaky tests on Windows. If so, we should disable
them with UNSUPPORTED:system-windows and add a comment that they are
flaky there. So far as I can tell, the lit internal shell is capable of
running all of these tests, and we shouldn't use REQUIRES:shell as a
proxy for Windows.
llvm-svn: 371478
The file was modifiedclang/test/Parser/crash-report.c
The file was modifiedclang/test/OpenMP/taskloop_firstprivate_codegen.cpp
The file was modifiedclang/test/Modules/dependency-dump-dependent-module.m
The file was modifiedclang/test/Driver/clang-offload-bundler.c
The file was modifiedclang/test/Modules/builtins.m
The file was modifiedclang/test/Driver/rewrite-map-in-diagnostics.c
The file was modifiedclang/test/OpenMP/taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/Driver/check-time-trace-sections.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/Index/crash-recovery-modules.m
The file was modifiedclang/test/OpenMP/taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/PCH/modified-header-error.c
The file was modifiedclang/test/Format/style-on-command-line.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_private_codegen.cpp
The file was modifiedclang/test/Modules/at-import-in-framework-header.m
The file was modifiedclang/test/OpenMP/task_firstprivate_codegen.cpp
The file was modifiedclang/test/Driver/crash-report-crashfile.m
The file was modifiedclang/test/Frontend/dependency-gen-has-include.c
The file was modifiedclang/test/OpenMP/taskloop_private_codegen.cpp
The file was modifiedclang/test/Analysis/crash-trace.c
The file was modifiedclang/test/OpenMP/task_private_codegen.cpp
The file was modifiedclang/test/Modules/dependency-dump.m
The file was modifiedclang/test/Modules/implicit-invalidate-common.c
The file was modifiedclang/test/CodeGen/thinlto_backend.ll
The file was modifiedclang/test/Driver/check-time-trace.cpp
Commit 939614341227c0c2a65860520bb82ad832d3415b by nicolasweber
gn build: Merge r371466
llvm-svn: 371479
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn
Commit daa79c5338228a746a7eba0cf2f2f356e1d45a5b by joker.eph
Revert [git-llvm] Do not reinvent `@{upstream}`
This reverts r371290 (git commit
7faffd544b16f851a632d6b8f93e3c8485ff34bb)
The change wasnt NFC and broke some users' workflow. Reverting while
figuring out the best alternative to move forward.
llvm-svn: 371480
The file was modifiedllvm/utils/git-svn/git-llvm
Commit 73da43aeb3693e354e721899e75022919bdd5612 by lkail
[PowerPC][NFC] Update test assertions using update_llc_test_checks.py
Summary: This patch is made due to https://reviews.llvm.org/rL371289
where typo fixes failed.
Differential Revision: https://reviews.llvm.org/D67317
llvm-svn: 371483
The file was modifiedllvm/test/CodeGen/PowerPC/store-combine.ll
Commit a10802fd73f937cab8cfd448d9e9ff283f75b191 by phosek
clang-misexpect: Profile Guided Validation of Performance Annotations in
LLVM
This patch contains the basic functionality for reporting potentially
incorrect usage of __builtin_expect() by comparing the developer's
annotation against a collected PGO profile. A more detailed proposal and
discussion appears on the CFE-dev mailing list
(http://lists.llvm.org/pipermail/cfe-dev/2019-July/062971.html) and a
prototype of the initial frontend changes appear here in D65300
We revised the work in D65300 by moving the misexpect check into the
LLVM backend, and adding support for IR and sampling based profiles, in
addition to frontend instrumentation.
We add new misexpect metadata tags to those instructions directly
influenced by the llvm.expect intrinsic (branch, switch, and select)
when lowering the intrinsics. The misexpect metadata contains
information about the expected target of the intrinsic so that we can
check against the correct PGO counter when emitting diagnostics, and the
compiler's values for the LikelyBranchWeight and UnlikelyBranchWeight.
We use these branch weight values to determine when to emit the
diagnostic to the user.
A future patch should address the comment at the top of
LowerExpectIntrisic.cpp to hoist the LikelyBranchWeight and
UnlikelyBranchWeight values into a shared space that can be accessed
outside of the LowerExpectIntrinsic pass. Once that is done, the
misexpect metadata can be updated to be smaller.
In the long term, it is possible to reconstruct portions of the
misexpect metadata from the existing profile data. However, we have
avoided this to keep the code simple, and because some kind of metadata
tag will be required to identify which branch/switch/select instructions
are influenced by the use of llvm.expect
Patch By: paulkirth Differential Revision:
https://reviews.llvm.org/D66324
llvm-svn: 371484
The file was addedclang/test/Profile/Inputs/misexpect-branch.proftext
The file was addedllvm/test/Transforms/PGOProfile/misexpect-branch-stripped.ll
The file was modifiedllvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
The file was modifiedllvm/test/Transforms/LowerExpectIntrinsic/basic.ll
The file was addedclang/test/Profile/misexpect-switch.c
The file was addedllvm/include/llvm/Transforms/Utils/MisExpect.h
The file was addedllvm/test/Transforms/PGOProfile/misexpect-branch-correct.ll
The file was modifiedclang/lib/CodeGen/CodeGenAction.cpp
The file was addedclang/test/Profile/Inputs/misexpect-branch-nonconst-expect-arg.proftext
The file was addedllvm/test/Transforms/PGOProfile/Inputs/misexpect-branch.proftext
The file was addedclang/test/Profile/misexpect-branch-unpredictable.c
The file was addedllvm/test/Transforms/PGOProfile/misexpect-switch-default.ll
The file was addedllvm/test/Transforms/PGOProfile/Inputs/misexpect-switch-correct.proftext
The file was modifiedllvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
The file was addedllvm/test/Transforms/PGOProfile/Inputs/misexpect-branch-correct.proftext
The file was addedclang/test/Profile/Inputs/misexpect-switch-default-only.proftext
The file was modifiedllvm/include/llvm/IR/DiagnosticInfo.h
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/test/ThinLTO/X86/lazyload_metadata.ll
The file was modifiedllvm/lib/IR/DiagnosticInfo.cpp
The file was addedllvm/test/Transforms/PGOProfile/misexpect-branch.ll
The file was addedclang/test/Profile/misexpect-branch-cold.c
The file was addedllvm/test/Transforms/PGOProfile/misexpect-branch-unpredictable.ll
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was addedllvm/test/Transforms/PGOProfile/misexpect-switch.ll
The file was addedclang/test/Profile/misexpect-switch-nonconst.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was modifiedllvm/include/llvm/IR/MDBuilder.h
The file was addedllvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext
The file was addedclang/test/Profile/Inputs/misexpect-switch-default.proftext
The file was addedclang/test/Profile/Inputs/misexpect-switch.proftext
The file was addedclang/test/Profile/misexpect-switch-default.c
The file was addedllvm/lib/Transforms/Utils/MisExpect.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticFrontendKinds.td
The file was addedclang/test/Profile/misexpect-branch.c
The file was addedclang/test/Profile/misexpect-switch-only-default-case.c
The file was modifiedllvm/lib/IR/MDBuilder.cpp
The file was addedclang/test/Profile/misexpect-branch-nonconst-expected-val.c
The file was modifiedllvm/include/llvm/IR/FixedMetadataKinds.def
Commit a6e5a7b63747e27a30eaaed728c9e7859c1fd79a by nicolasweber
gn build: Merge r371484
llvm-svn: 371485
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
Commit 7c2fdf27795a3f6576395f0a8007e84d9f52e48b by craig.topper
[X86] Add broadcast load unfold tests for VCMPPS/PD.
llvm-svn: 371486
The file was modifiedllvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
Commit 0e533ca4bb82fee0b1c25853129a2f5f80dbf97b by craig.topper
[X86] Add broadcast load unfolding support for VCMPPS/PD.
llvm-svn: 371487
The file was modifiedllvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
The file was modifiedllvm/lib/Target/X86/X86InstrFoldTables.cpp
Commit 7d1757aba808db3d42362176862fe4e60bf3840d by phosek
Revert "clang-misexpect: Profile Guided Validation of Performance
Annotations in LLVM"
This reverts commit r371484: this broke sanitizer-x86_64-linux-fast bot.
llvm-svn: 371488
The file was removedclang/test/Profile/misexpect-branch-nonconst-expected-val.c
The file was removedclang/test/Profile/misexpect-branch-unpredictable.c
The file was removedllvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext
The file was removedllvm/test/Transforms/PGOProfile/misexpect-branch-unpredictable.ll
The file was removedllvm/test/Transforms/PGOProfile/misexpect-branch.ll
The file was removedclang/test/Profile/Inputs/misexpect-switch-default-only.proftext
The file was removedclang/test/Profile/misexpect-switch-only-default-case.c
The file was modifiedllvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
The file was modifiedllvm/include/llvm/IR/FixedMetadataKinds.def
The file was modifiedllvm/lib/IR/MDBuilder.cpp
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
The file was removedllvm/test/Transforms/PGOProfile/Inputs/misexpect-branch.proftext
The file was modifiedclang/include/clang/Basic/DiagnosticFrontendKinds.td
The file was removedclang/test/Profile/Inputs/misexpect-switch.proftext
The file was removedllvm/include/llvm/Transforms/Utils/MisExpect.h
The file was modifiedllvm/lib/IR/DiagnosticInfo.cpp
The file was removedllvm/test/Transforms/PGOProfile/misexpect-switch-default.ll
The file was modifiedllvm/include/llvm/IR/DiagnosticInfo.h
The file was modifiedllvm/test/Transforms/LowerExpectIntrinsic/basic.ll
The file was removedllvm/test/Transforms/PGOProfile/misexpect-branch-stripped.ll
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was removedclang/test/Profile/misexpect-branch.c
The file was removedllvm/lib/Transforms/Utils/MisExpect.cpp
The file was removedllvm/test/Transforms/PGOProfile/misexpect-branch-correct.ll
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was removedllvm/test/Transforms/PGOProfile/Inputs/misexpect-branch-correct.proftext
The file was removedclang/test/Profile/Inputs/misexpect-switch-default.proftext
The file was removedclang/test/Profile/misexpect-switch-nonconst.c
The file was modifiedllvm/include/llvm/IR/MDBuilder.h
The file was removedclang/test/Profile/misexpect-switch-default.c
The file was removedllvm/test/Transforms/PGOProfile/Inputs/misexpect-switch-correct.proftext
The file was modifiedclang/lib/CodeGen/CodeGenAction.cpp
The file was removedclang/test/Profile/misexpect-switch.c
The file was modifiedllvm/test/ThinLTO/X86/lazyload_metadata.ll
The file was removedllvm/test/Transforms/PGOProfile/misexpect-switch.ll
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was removedclang/test/Profile/Inputs/misexpect-branch-nonconst-expect-arg.proftext
The file was removedclang/test/Profile/Inputs/misexpect-branch.proftext
The file was removedclang/test/Profile/misexpect-branch-cold.c
Commit 88d6783f708ee13f4a1d24506d51ed15f9a2bb42 by nicolasweber
gn build: Merge r371488
llvm-svn: 371489
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
Commit c190890c29b96f36ea602f88e3e0deb5a94ad522 by David CARLIER
[LLDB] FreeBSD fix new SetFile call.
llvm-svn: 371491
The file was modifiedlldb/source/Host/freebsd/HostInfoFreeBSD.cpp
Commit 60f0a6f6ff99a748b1190ad85b0bbc00c36584a1 by rofirrim
[RISCV] Move architecture parsing code into its own function
I plan to reuse it in a later patch.
This is almost NFC except a small change in control flow when diagnosing
+d without +f.
Differential Revision: https://reviews.llvm.org/D66002
llvm-svn: 371492
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.cpp
Commit e8b432fa0e75430c03552b1d36e4ac468843ce57 by craig.topper
[LegalizeTypes] Teach SoftenFloatOp_SELECT_CC to handle operand 2 or 3
being softened.
This can only happen on X86 when fp128 is a legal type, but we go
through softening to generate libcalls. This causes fp128 to be softened
to fp128 instead of an integer type. This can be removed if D67128
lands.
llvm-svn: 371493
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
The file was modifiedllvm/test/CodeGen/X86/fp128-select.ll
Commit 8e87396307f0e395e75196707b8b2614035ff57c by rofirrim
[RISCV] Default to ilp32d/lp64d in RISC-V Linux
When running clang as a native compiler in RISC-V Linux the flag
-mabi=ilp32d / -mabi=lp64d is always mandatory. This change makes it the
default there.
Differential Revision: https://reviews.llvm.org/D65634
llvm-svn: 371494
The file was modifiedclang/test/Driver/riscv32-toolchain.c
The file was modifiedclang/test/Preprocessor/riscv-target-features.c
The file was modifiedclang/test/Driver/riscv64-toolchain.c
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.cpp
Commit 2fa2d45963580a95ea97f5b26f102a96c0eeee32 by hokein
[clangd] some tweaks on the vscode readme, NFC
llvm-svn: 371495
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/README.md
Commit 93c4d53b0a5751bbaae747879bcdb4a5413b52fb by rofirrim
[RISCV] Make -march=rv{32,64}gc the default in RISC-V Linux
This is the logical follow-up of D65634.
Differential Revision: https://reviews.llvm.org/D66003
llvm-svn: 371496
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.cpp
The file was modifiedclang/test/Driver/riscv-features.c
Commit 3d7e9ab7b9f8c53aa41420c54970f0fb421004a2 by jh7370
Revert Remove REQUIRES:shell from tests that pass for me on Windows
This reverts r371478 (git commit
a9980f60ce083fa6d5fd03c12c58ca0b293e3d60)
llvm-svn: 371497
The file was modifiedclang/test/Modules/dependency-dump.m
The file was modifiedclang/test/OpenMP/taskloop_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/Parser/crash-report.c
The file was modifiedclang/test/Driver/check-time-trace.cpp
The file was modifiedclang/test/Modules/at-import-in-framework-header.m
The file was modifiedclang/test/Driver/clang-offload-bundler.c
The file was modifiedclang/test/Driver/rewrite-map-in-diagnostics.c
The file was modifiedclang/test/Driver/check-time-trace-sections.cpp
The file was modifiedclang/test/Index/crash-recovery-modules.m
The file was modifiedclang/test/Modules/dependency-dump-dependent-module.m
The file was modifiedclang/test/OpenMP/taskloop_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGen/thinlto_backend.ll
The file was modifiedclang/test/OpenMP/task_private_codegen.cpp
The file was modifiedclang/test/Driver/crash-report-crashfile.m
The file was modifiedclang/test/OpenMP/taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/Frontend/dependency-gen-has-include.c
The file was modifiedclang/test/OpenMP/task_firstprivate_codegen.cpp
The file was modifiedclang/test/Analysis/crash-trace.c
The file was modifiedclang/test/Format/style-on-command-line.cpp
The file was modifiedclang/test/Modules/builtins.m
The file was modifiedclang/test/PCH/modified-header-error.c
The file was modifiedclang/test/OpenMP/taskloop_private_codegen.cpp
The file was modifiedclang/test/Modules/implicit-invalidate-common.c
The file was modifiedclang/test/OpenMP/taskloop_lastprivate_codegen.cpp
Commit b6722af06863b7133cf9e910ae0319b2a1c2ac78 by gchatelet
[Alignment] Use Align for TargetLowering::MinStackArgumentAlignment
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: sdardis, nemanjai, hiraditya, kbarton, jrtc27, MaskRay,
atanasyan, jsji, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67288
llvm-svn: 371498
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MipsISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 3565c6b15c5466d6945fe82eae3e2d8df29d6622 by ikudrin
[DWARF] Add a unit test for DWARFUnit::getLength().
This is a follow-up of rL369529, where the return value of
DWARFUnit::getLength() was changed from uint32_t to uint64_t. The test
checks that a unit header with Length > 4G can be successfully parsed
and the value of the Length field is not truncated.
Differential Revision: https://reviews.llvm.org/D67276
llvm-svn: 371499
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
Commit 1da4f47195c2e5e4faaaca265ae2f9d9149b85df by maskray
[yaml2obj] Set p_align to the maximum sh_addralign of contained sections
The address difference between two sections in a PT_LOAD is a constant.
Consider a hypothetical case (pagesize can be very small, say, 4).
```
.text     sh_addralign=4
.text.hot sh_addralign=16
```
If we set p_align to 4, the PT_LOAD will be loaded at an address which
is a multiple of 4. The address of .text.hot is guaranteed to be a
multiple of 4, but not necessarily a multiple of 16.
This patch deletes the constraint
  if (SHeader->sh_offset == PHeader.p_offset)
Reviewed By: grimar, jhenderson
Differential Revision: https://reviews.llvm.org/D67260
llvm-svn: 371501
The file was modifiedllvm/test/tools/yaml2obj/program-header-align.yaml
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
Commit 612c260ec3fe15cd2b661dead1aa8fef34906cf4 by courbet
Reland "r364412 [ExpandMemCmp][MergeICmps] Move passes out of CodeGen
into opt pipeline."
With a fix for sanitizer breakage (see explanation in D60318).
llvm-svn: 371502
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
The file was removedllvm/lib/CodeGen/ExpandMemCmp.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MergeICmps.cpp
The file was modifiedllvm/lib/Transforms/Scalar/CMakeLists.txt
The file was modifiedllvm/include/llvm/Transforms/IPO/PassManagerBuilder.h
The file was addedllvm/test/Transforms/PhaseOrdering/PowerPC/memCmpUsedInZeroEqualityComparison.ll
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll
The file was removedllvm/test/CodeGen/PowerPC/memcmp-mergeexpand.ll
The file was removedllvm/test/CodeGen/X86/memcmp-mergeexpand.ll
The file was addedllvm/lib/Transforms/Scalar/ExpandMemCmp.cpp
The file was modifiedllvm/test/CodeGen/Generic/llc-start-stop.ll
The file was addedllvm/test/Transforms/PhaseOrdering/X86/pr36421.ll
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was removedllvm/test/CodeGen/PowerPC/memCmpUsedInZeroEqualityComparison.ll
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
The file was modifiedllvm/include/llvm/Transforms/Scalar.h
The file was modifiedllvm/test/CodeGen/AArch64/O3-pipeline.ll
The file was modifiedllvm/lib/CodeGen/CodeGen.cpp
The file was modifiedllvm/lib/Transforms/Scalar/Scalar.cpp
The file was modifiedllvm/test/CodeGen/X86/O3-pipeline.ll
The file was modifiedllvm/tools/opt/opt.cpp
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn
The file was removedllvm/test/CodeGen/X86/memcmp.ll
The file was removedllvm/test/CodeGen/PowerPC/memcmp.ll
The file was addedllvm/test/Transforms/PhaseOrdering/PowerPC/memcmp.ll
The file was addedllvm/test/Transforms/PhaseOrdering/X86/memcmp.ll
The file was removedllvm/test/CodeGen/AArch64/bcmp-inline-small.ll
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was addedllvm/test/Transforms/ExpandMemCmp/PowerPC/lit.local.cfg
The file was addedllvm/test/Transforms/PhaseOrdering/X86/lit.local.cfg
The file was addedllvm/test/Transforms/ExpandMemCmp/AArch64/memcmp.ll
The file was removedllvm/test/CodeGen/PowerPC/memcmpIR.ll
The file was addedllvm/test/Transforms/PhaseOrdering/PowerPC/lit.local.cfg
The file was addedllvm/test/Transforms/PhaseOrdering/X86/memcmp-mergeexpand.ll
The file was addedllvm/test/Transforms/ExpandMemCmp/PowerPC/memcmpIR.ll
The file was addedllvm/test/Transforms/ExpandMemCmp/X86/pr36421.ll
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was modifiedllvm/test/Transforms/ExpandMemCmp/X86/memcmp.ll
The file was removedllvm/test/CodeGen/X86/memcmp-optsize.ll
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was addedllvm/test/Transforms/PhaseOrdering/PowerPC/memcmp-mergeexpand.ll
Commit 664d9d2da27d1e0f8df4790fc15b92e549270aa1 by courbet
[ExpandMemCmp] Add lit.local.cfg
To prevent AArch64 tests from running when the target is not compiled.
Fixes r371502:
/home/buildslave/ps4-buildslave4/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/llvm.src/test/Transforms/ExpandMemCmp/AArch64/memcmp.ll:11:15:
error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP0:%.*]] = bitcast i8* [[S1:%.*]] to i64*
llvm-svn: 371503
The file was addedllvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg
Commit 8dd26fd84e7c0cbb193e07961c57f6c895801f5e by hokein
[clangd] Collect location of macro definition in the ParsedAST
allows semantic hightlighting macro definition
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67264
llvm-svn: 371504
The file was modifiedclang-tools-extra/clangd/ParsedAST.cpp
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ParsedASTTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang-tools-extra/clangd/ParsedAST.h
Commit c27af19280acb6ea87ea46f9c821ed6ac516f8b8 by ikudrin
Revert "[DWARF] Add a unit test for DWARFUnit::getLength()" because it
broke ASAN bot.
llvm-svn: 371505
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
Commit c714a88a4dc4dadc16409986a7e275b86142622b by djordje.todorovic
[llvm-dwarfdump] Add additional stats fields
The additional fields will be parsed by the llvm-locstats tool in order
to produce more human readable output of the DWARF debug location
quality generated.
Differential Revision: https://reviews.llvm.org/D66525
llvm-svn: 371506
The file was modifiedllvm/tools/llvm-dwarfdump/Statistics.cpp
The file was addedllvm/test/tools/llvm-dwarfdump/X86/locstats.ll
Commit 2bf8d77453b32bad3aa7885146f96d1f6dc54b98 by gribozavr
Revert "Reland "r364412 [ExpandMemCmp][MergeICmps] Move passes out of
CodeGen into opt pipeline.""
This reverts commit r371502, it broke tests
(clang/test/CodeGenCXX/auto-var-init.cpp).
llvm-svn: 371507
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn
The file was modifiedllvm/include/llvm/Transforms/Scalar.h
The file was modifiedllvm/test/CodeGen/X86/O3-pipeline.ll
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
The file was addedllvm/test/CodeGen/PowerPC/memcmpIR.ll
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was removedllvm/test/Transforms/PhaseOrdering/PowerPC/lit.local.cfg
The file was removedllvm/lib/Transforms/Scalar/ExpandMemCmp.cpp
The file was removedllvm/test/Transforms/ExpandMemCmp/AArch64/memcmp.ll
The file was addedllvm/test/CodeGen/PowerPC/memcmp.ll
The file was removedllvm/test/Transforms/PhaseOrdering/X86/lit.local.cfg
The file was removedllvm/test/Transforms/PhaseOrdering/PowerPC/memcmp-mergeexpand.ll
The file was modifiedllvm/lib/Transforms/Scalar/MergeICmps.cpp
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
The file was modifiedllvm/tools/opt/opt.cpp
The file was addedllvm/test/CodeGen/AArch64/bcmp-inline-small.ll
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was removedllvm/test/Transforms/PhaseOrdering/X86/memcmp.ll
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was modifiedllvm/include/llvm/Transforms/IPO/PassManagerBuilder.h
The file was modifiedllvm/test/CodeGen/Generic/llc-start-stop.ll
The file was addedllvm/test/CodeGen/X86/memcmp-optsize.ll
The file was removedllvm/test/Transforms/ExpandMemCmp/X86/pr36421.ll
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll
The file was addedllvm/test/CodeGen/X86/memcmp.ll
The file was removedllvm/test/Transforms/ExpandMemCmp/PowerPC/memcmpIR.ll
The file was modifiedllvm/lib/Transforms/Scalar/Scalar.cpp
The file was removedllvm/test/Transforms/PhaseOrdering/PowerPC/memcmp.ll
The file was modifiedllvm/lib/CodeGen/CodeGen.cpp
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was removedllvm/test/Transforms/PhaseOrdering/X86/memcmp-mergeexpand.ll
The file was removedllvm/test/Transforms/PhaseOrdering/X86/pr36421.ll
The file was modifiedllvm/lib/Transforms/Scalar/CMakeLists.txt
The file was addedllvm/test/CodeGen/PowerPC/memcmp-mergeexpand.ll
The file was addedllvm/test/CodeGen/X86/memcmp-mergeexpand.ll
The file was modifiedllvm/test/CodeGen/AArch64/O3-pipeline.ll
The file was removedllvm/test/Transforms/ExpandMemCmp/PowerPC/lit.local.cfg
The file was addedllvm/test/CodeGen/PowerPC/memCmpUsedInZeroEqualityComparison.ll
The file was modifiedllvm/test/Transforms/ExpandMemCmp/X86/memcmp.ll
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
The file was removedllvm/test/Transforms/PhaseOrdering/PowerPC/memCmpUsedInZeroEqualityComparison.ll
The file was addedllvm/lib/CodeGen/ExpandMemCmp.cpp
Commit c2d292f839165bc91a40c1a59ef443e9b58d689f by Alexander.Timofeev
[AMDGPU]: PHI Elimination hooks added for custom COPY insertion.
  Reviewers: rampitec, vpykhtin
  Differential Revision: https://reviews.llvm.org/D67101
llvm-svn: 371508
The file was modifiedllvm/test/CodeGen/AMDGPU/phi-elimination-assertion.mir
The file was addedllvm/test/CodeGen/AMDGPU/phi-elimination-end-cf.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/CodeGen/PHIElimination.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
Commit 89efb03463eecc021e8613b79c43ea8ab135ca49 by ruiu
[LLD][COFF] Add index to disambiguate archive members when using
-wholearchive
Patch by Markus Böck.
PR42951: When linking an archive with members that have the same name
linking fails when using the -wholearchive option. This patch passes the
index of the member in the archive to the offset parameter to
disambiguate the member.
Differential Revision: https://reviews.llvm.org/D66239
llvm-svn: 371509
The file was addedlld/test/COFF/thinlto-whole-archives.ll
The file was modifiedlld/COFF/Driver.cpp
Commit bc48588f764a21b81a4cf16f878fbe98d4151819 by ikudrin
Reland [DWARF] Add a unit test for DWARFUnit::getLength().
This is a follow-up of rL369529, where the return value of
DWARFUnit::getLength() was changed from uint32_t to uint64_t. The test
checks that a unit header with Length > 4G can be successfully parsed
and the value of the Length field is not truncated.
Differential Revision: https://reviews.llvm.org/D67276
llvm-svn: 371510
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
Commit 3729b17cff53b536d2019b2d4c90e2a6f17754d1 by gchatelet
[Alignment][NFC] Use llvm::Align for
TargetLowering::getPrefLoopAlignment
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Reviewed By: courbet
Subscribers: wuzish, arsenm, nemanjai, jvesely, nhaehnle, hiraditya,
kbarton, MaskRay, jsji, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67386
llvm-svn: 371511
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was modifiedllvm/include/llvm/CodeGen/MachineBasicBlock.h
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
Commit d9442afba1bd65fd0b5c93b67922eaed923445e2 by Raphael Isemann
[lldb] Readd missing functionalities/breakpoint tests
It seems when I restructured the test folders the
functionalities/breakpoint was deleted. This just reverts this change
and re-adds the tests.
llvm-svn: 371512
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/scripted_bkpt/resolver.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/side_effect.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/a.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/auto_continue/TestBreakpointAutoContinue.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/int.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/step_over_breakpoint/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_in_delayslot/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/scripted_bkpt/TestScriptedResolver.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/source_regexp/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/foo.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/foo.h
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/TestBreakpointByLineAndColumn.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/TestConsecutiveBreakpoints.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/TestRequireHWBreakpoints.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/source_regexp/a.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/source_regexp/a.h
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/auto_continue/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/b.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/auto_continue/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/basic_type.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/main.m
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_names/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/scripted_bkpt/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestBadAddressBreakpoints.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/a.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/source_regexp/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/foo.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_in_delayslot/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/step_over_breakpoint/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/foo.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_names/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/b.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/foo.h
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/scripted_bkpt/Makefile
Commit 973bd3e974bcad9040a072995e20044820aae0fe by hokein
 Fix the "git modified" issue on the preserve-comments-crlf.s.
Summary:
rL371473 corrected the line ending (to crlf) in
preserve-comments-crlf.s, but it causes a wired issue on git
repository (I ran git pull today, it showed a local change of that file
even I did not change anything).
Reviewers: gribozavr
Reviewed By: gribozavr
Subscribers: llvm-commits, cfe-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67391
llvm-svn: 371513
The file was modifiedllvm/.gitattributes
Commit 1eda21e214f2fd5a7d54bec854e4cd83b2800d41 by maskray
[ELF][test] Make tests more tolerant to exact symbol addresses
Delete relocation-local.s and relocation-shared.s - covered by various
tests
llvm-svn: 371514
The file was modifiedlld/test/ELF/resolution.s
The file was modifiedlld/test/ELF/Inputs/copy-in-shared.s
The file was removedlld/test/ELF/relocation-local.s
The file was modifiedlld/test/ELF/x86-64-reloc-size.s
The file was modifiedlld/test/ELF/gc-sections-string.s
The file was modifiedlld/test/ELF/x86-64-retpoline-znow.s
The file was modifiedlld/test/ELF/discard-merge-unnamed.s
The file was modifiedlld/test/ELF/pre_init_fini_array.s
The file was modifiedlld/test/ELF/gnu-ifunc-shared.s
The file was modifiedlld/test/ELF/dynamic-list-weak-archive.s
The file was modifiedlld/test/ELF/relocation-copy-align-common.s
The file was modifiedlld/test/ELF/local-got.s
The file was modifiedlld/test/ELF/Inputs/relocation-copy-align-common.s
The file was modifiedlld/test/ELF/startstop.s
The file was modifiedlld/test/ELF/tls.s
The file was modifiedlld/test/ELF/local-got-shared.s
The file was modifiedlld/test/ELF/compressed-debug-input.s
The file was modifiedlld/test/ELF/x86-64-retpoline.s
The file was modifiedlld/test/ELF/gnu-ifunc-noplt.s
The file was removedlld/test/ELF/relocation-shared.s
The file was modifiedlld/test/ELF/relocation-copy-align.s
The file was modifiedlld/test/ELF/gnu-ifunc-plt.s
Commit 5d269590395229743b3c21f1d74dc3912dc680fa by martin
[Object] Implement relocation resolver for COFF ARM/ARM64
Adding testscases for this via llvm-dwarfdump.
Also add testcases for the existing resolver support for X86.
Differential Revision: https://reviews.llvm.org/D67340
llvm-svn: 371515
The file was addedllvm/test/tools/llvm-dwarfdump/coff-arm.yaml
The file was addedllvm/test/tools/llvm-dwarfdump/coff-arm64.yaml
The file was addedllvm/test/tools/llvm-dwarfdump/coff-x86_64.yaml
The file was addedllvm/test/tools/llvm-dwarfdump/coff-i386.yaml
The file was modifiedllvm/lib/Object/RelocationResolver.cpp
Commit df6a958dcb56daf59cbaeb7870d80f7a73854cda by spatel
[BreakFalseDeps] fix typos/grammar in documentation comment; NFC
llvm-svn: 371516
The file was modifiedllvm/lib/CodeGen/BreakFalseDeps.cpp
Commit 8886d0134eac27d9f4116bc39c7c4696321b9007 by flo
[InstCombine] Precommit tests for D67351.
llvm-svn: 371517
The file was modifiedllvm/test/Transforms/InstCombine/fma.ll
Commit 18a1f0818b659cee13865b4fad2648d85984a4ed by flo
[InstCombine] Use SimplifyFMulInst to simplify multiply in fma.
This allows us to fold fma's that multiply with 0.0. Also, the multiply
by 1.0 case is handled there as well. The fneg/fabs cases are not
handled by SimplifyFMulInst, so we need to keep them.
Reviewers: spatel, anemet, lebedev.ri
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D67351
llvm-svn: 371518
The file was modifiedllvm/test/Transforms/InstCombine/fma.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Commit 7dfd0fb7f1cda3525d9c2fbdf680391b73479031 by lebedev.ri
[NFC][InstCombine] PR43251 - valid for other predicates too
llvm-svn: 371519
The file was modifiedllvm/test/Transforms/InstCombine/result-of-usub-is-non-zero-and-no-overflow.ll
Commit 54008972d17bf82ae36ccda7a2b20985c8a2821e by djordje.todorovic
[utils] Implement the llvm-locstats tool
The tool reports verbose output for the DWARF debug location coverage.
The llvm-locstats for each variable or formal parameter DIE computes
what percentage from the code section bytes, where it is in scope, it
has location description. The line 0 shows the number (and the
percentage) of DIEs with no location information, but the line 100 shows
the number (and the percentage) of DIEs where there is location
information in all code section bytes (where the variable or parameter
is in the scope). The line 50..59 shows the number (and the percentage)
of DIEs where the location information is in between 50 and 59
percentage of its scope covered.
The tool will be very useful for tracking improvements regarding the
"debugging optimized code" support with LLVM ecosystem.
Differential Revision: https://reviews.llvm.org/D66526
llvm-svn: 371520
The file was modifiedllvm/docs/CommandGuide/index.rst
The file was modifiedllvm/CMakeLists.txt
The file was addedllvm/docs/CommandGuide/llvm-locstats.rst
The file was addedllvm/utils/llvm-locstats/llvm-locstats.py
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/locstats.ll
The file was addedllvm/utils/llvm-locstats/CMakeLists.txt
Commit fef1cb1c971e3d38386462fe9640b9ba35bb448f by dave
[CMake] Don't pass all LLVM_COMPILE_FLAGS to the C compiler
GCC (unlike clang!) warns about C++ flags when compiling C.
https://reviews.llvm.org/D67171
llvm-svn: 371521
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit 30b5331df8803aa9a634f84f94b0b411e94854fc by courbet
[clang][codegen][NFC] Make test patterns more permissive.
See the discussion in:
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20190909/692736.html
llvm-svn: 371522
The file was modifiedclang/test/CodeGenCXX/auto-var-init.cpp
Commit 1c3434543a0507b7e2078c931b2078a18d006d45 by flo
[VectorUtils] Remove unused include. [NFC]
Patch by Francesco Petrogalli <francesco.petrogalli@arm.com>
Reviewers: fhahn
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D67365
llvm-svn: 371523
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
Commit 3b0b3def86e5d53bfe23e52888ddebfda5ede1a6 by spatel
[ARM] auto-generate complete test checks; NFC
llvm-svn: 371524
The file was modifiedllvm/test/CodeGen/ARM/a15-partial-update.ll
Commit 937ca68157437df375838053ff0e58b0294df94e by llvm-dev
[X86] Add AVX partial dependency tests as noted on D67363
llvm-svn: 371525
The file was modifiedllvm/test/CodeGen/X86/sqrt-partial.ll
Commit d2434e65fa9638f945874b7a473296330e2648bc by spatel
[ARM] add test for BreakFalseDeps with minsize attribute; NFC
llvm-svn: 371526
The file was modifiedllvm/test/CodeGen/ARM/a15-partial-update.ll
Commit b21cc626c9a7207f23f5f005453c58182721cabd by djordje.todorovic
Revert "[utils] Implement the llvm-locstats tool"
This reverts commit rL371520.
llvm-svn: 371527
The file was removedllvm/docs/CommandGuide/llvm-locstats.rst
The file was modifiedllvm/CMakeLists.txt
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/locstats.ll
The file was removedllvm/utils/llvm-locstats/llvm-locstats.py
The file was modifiedllvm/docs/CommandGuide/index.rst
The file was removedllvm/utils/llvm-locstats/CMakeLists.txt
Commit 8812157b11eac4f8ed578bc9cad19cdd826b3339 by spatel
[x86] add a test for BreakFalseDeps; NFC
As discussed in D67363
llvm-svn: 371528
The file was modifiedllvm/test/CodeGen/X86/sqrt-partial.ll
Commit f987f561fadc35fb597ce821b2deeb005f40bd77 by Adrian Prantl
Don't emit .gnu_pubnames when tuning for LLDB.
LLDB reads the various .apple* accelerator tables (and in the near
future: the DWARF 5 accelerator tables) which should make
.gnu_pubnames redundant. This changes the Clang driver to no longer pass
-ggnu-pubnames when tuning for LLDB.
Thanks to David Blaikie for pointing this out!
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20190422/thread.html#646062
rdar://problem/50142073
Differential Revision: https://reviews.llvm.org/D67373
llvm-svn: 371530
The file was modifiedclang/test/Driver/debug-options.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 6b877f6aac3d8e569e74953f0310323c2882619c by selliott
[RISCV] Add Option for Printing Architectural Register Names
Summary: This is an option primarily to use during testing. Instead of
always printing registers using their ABI names, this allows a user to
request they are printed with their architectural name.
This is then used in the register constraint tests to ensure the mapping
between architectural and abi names is correct.
Reviewers: asb, luismarques
Reviewed By: asb
Subscribers: pzheng, hiraditya, rbar, johnrusso, simoncook, apazos,
sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng,
edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX,
jocewei, psnobl, benna, Jim, s.egerton, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65950
llvm-svn: 371531
The file was addedllvm/test/MC/RISCV/numeric-reg-names.s
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.h
The file was addedllvm/test/MC/RISCV/numeric-reg-names-d.s
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
The file was addedllvm/test/MC/RISCV/numeric-reg-names-f.s
Commit 9b23df63ecd9f23bb8877783d30d1a49e895cf7c by Adrian Prantl
Implement DW_OP_convert
This patch adds basic support for DW_OP_convert[1] for integer types.
Recent versions of LLVM's optimizer may insert this opcode into DWARF
expressions. DW_OP_convert is effectively a type cast operation that
takes a reference to a base type DIE (or zero) and then casts the value
at the top of the DWARF stack to that type. Internally this works by
changing the bit size of the APInt that is used as backing storage for
LLDB's DWARF stack.
I managed to write a unit test for this by implementing a mock YAML
object file / module that takes debug info sections in yaml2obj format.
[1] Typed DWARF stack.
http://www.dwarfstd.org/ShowIssue.php?issue=140425.1
<rdar://problem/48167864>
Differential Revision: https://reviews.llvm.org/D67369
llvm-svn: 371532
The file was modifiedlldb/unittests/Expression/DWARFExpressionTest.cpp
The file was modifiedlldb/unittests/Utility/ScalarTest.cpp
The file was modifiedlldb/source/Core/Section.cpp
The file was modifiedlldb/source/Expression/DWARFExpression.cpp
The file was modifiedlldb/include/lldb/Core/Section.h
The file was modifiedlldb/source/Utility/Scalar.cpp
The file was modifiedlldb/include/lldb/Utility/Scalar.h
Commit c0ceca5883060bfaf501007d76640821d825828b by Matthew.Arsenault
AMDGPU/GlobalISel: First pass at attempting to legalize load/stores
There's still a lot more to do, but this handles decomposing due to
alignment. I've gotten it to the point where nothing crashes or infinite
loops the legalizer.
llvm-svn: 371533
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-local.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-private.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-local-128.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
Commit d57de491be0ba4fea88566bc0803773c53dc8414 by selliott
[RISCV] Support llvm-objdump -M no-aliases and -M numeric
Summary: Now that llvm-objdump allows target-specific options, we match
the
`no-aliases` and `numeric` options for RISC-V, as supported by GNU
objdump.
This is done by overriding the variables used for the command-line
options, so that the command-line options are still supported.
This patch updates all tests using `llvm-objdump -riscv-no-aliases` to
use
`llvm-objdump -M no-aliases`.
Reviewers: luismarques, asb
Reviewed By: luismarques, asb
Subscribers: pzheng, hiraditya, rbar, johnrusso, simoncook, apazos,
sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng,
edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX,
jocewei, psnobl, benna, Jim, s.egerton, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66139
llvm-svn: 371534
The file was modifiedllvm/test/MC/RISCV/numeric-reg-names-f.s
The file was modifiedllvm/test/MC/RISCV/numeric-reg-names.s
The file was modifiedllvm/test/MC/RISCV/rv64a-aliases-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32e-invalid.s
The file was modifiedllvm/test/MC/RISCV/rv64i-aliases-valid.s
The file was modifiedllvm/test/MC/RISCV/rvi-aliases-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64m-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32fc-aliases-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32i-aliases-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32f-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32a-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64c-valid.s
The file was modifiedllvm/test/MC/RISCV/option-mix.s
The file was modifiedllvm/test/MC/RISCV/rv64f-aliases-valid.s
The file was modifiedllvm/test/MC/RISCV/rvc-aliases-valid.s
The file was modifiedllvm/test/MC/RISCV/rvd-aliases-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64-relaxation.s
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.h
The file was modifiedllvm/test/MC/RISCV/compress-rv32f.s
The file was modifiedllvm/test/MC/RISCV/rv32-relaxation.s
The file was modifiedllvm/test/MC/RISCV/rv32c-only-valid.s
The file was modifiedllvm/test/MC/RISCV/option-rvc.s
The file was modifiedllvm/test/MC/RISCV/rv32m-valid.s
The file was modifiedllvm/test/MC/RISCV/fixups-compressed.s
The file was modifiedllvm/test/MC/RISCV/csr-aliases.s
The file was modifiedllvm/test/MC/RISCV/rv32d-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64d-aliases-valid.s
The file was modifiedllvm/test/CodeGen/RISCV/compress-inline-asm.ll
The file was modifiedllvm/test/MC/RISCV/rv64a-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32e-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32fc-valid.s
The file was modifiedllvm/test/MC/RISCV/compress-cjal.s
The file was modifiedllvm/test/MC/RISCV/numeric-reg-names-d.s
The file was modifiedllvm/test/MC/RISCV/fixups.s
The file was modifiedllvm/test/CodeGen/RISCV/compress.ll
The file was modifiedllvm/test/CodeGen/RISCV/option-norvc.ll
The file was modifiedllvm/test/MC/RISCV/cnop.s
The file was modifiedllvm/test/MC/RISCV/rv32dc-valid.s
The file was modifiedllvm/test/MC/RISCV/compress-rv32d.s
The file was modifiedllvm/test/MC/RISCV/rv64c-hints-valid.s
The file was modifiedllvm/test/MC/RISCV/rvf-aliases-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32c-valid.s
The file was modifiedllvm/test/MC/RISCV/rv32c-aliases-valid.s
The file was modifiedllvm/test/MC/RISCV/align.s
The file was modifiedllvm/test/MC/RISCV/rv64c-aliases-valid.s
The file was modifiedllvm/test/MC/RISCV/compress-rv32i.s
The file was modifiedllvm/test/MC/RISCV/rva-aliases-valid.s
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
The file was modifiedllvm/test/CodeGen/RISCV/option-rvc.ll
The file was modifiedllvm/test/MC/RISCV/rv32i-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64f-valid.s
The file was modifiedllvm/test/MC/RISCV/rvdc-aliases-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64i-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64dc-valid.s
The file was modifiedllvm/test/MC/RISCV/rvc-hints-valid.s
The file was modifiedllvm/test/MC/RISCV/compress-rv64i.s
The file was modifiedllvm/test/MC/RISCV/priv-valid.s
The file was modifiedllvm/test/MC/RISCV/rv64d-valid.s
Commit ad6a8b83cdc35019cc0431286f3fbacf7d184781 by Matthew.Arsenault
AMDGPU/GlobalISel: Legalize constant 32-bit loads
Legalize by casting to a 64-bit constant address. This isn't how the DAG
implements it, but it should.
llvm-svn: 371535
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant-32bit.mir
Commit da027275c666183efb9434ece31ef0d92fcf9f2b by Matthew.Arsenault
AMDGPU/GlobalISel: RegBankSelect for G_ZEXTLOAD/G_SEXTLOAD
llvm-svn: 371536
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-sextload.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-zextload.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
Commit 880657c97c394eebd35c17db878c09f1180030fe by lebedev.ri
[NFC][InstCombine][InstSimplify] PR43251 - and some patterns with offset
!= 0
https://rise4fun.com/Alive/21b
llvm-svn: 371537
The file was modifiedllvm/test/Transforms/InstCombine/result-of-usub-is-non-zero-and-no-overflow.ll
The file was addedllvm/test/Transforms/InstSimplify/result-of-usub-by-nonzero-is-non-zero-and-no-overflow.ll
Commit 37d1bda4f6b59c38c35334a86fc8430343db7925 by Matthew.Arsenault
AMDGPU/GlobalISel: Select llvm.amdgcn.sffbh
llvm-svn: 371538
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.sffbh.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/VOP1Instructions.td
Commit 7df5b3fd26243a80d97382fdc09ce0374ab98d87 by Matthew.Arsenault
AMDGPU/GlobalISel: Select cvt pk intrinsics
llvm-svn: 371539
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pkrtz.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pk.u16.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pknorm.i16.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pknorm.u16.mir
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pk.i16.mir
Commit e1895aba3da01df442253bf048e38371377db15e by Matthew.Arsenault
AMDGPU/GlobalISel: Select G_FABS/G_FNEG
f64 doesn't work yet because tablegen currently doesn't handlde
REG_SEQUENCE.
This does regress some multi use VALU fneg cases since now the immediate
remains in an SGPR, and more moves are used for legalizing the xor. This
is a SIFixSGPRCopies deficiency.
llvm-svn: 371540
The file was modifiedllvm/test/CodeGen/AMDGPU/fneg.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fneg-combines.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fabs.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fneg.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcanonicalize.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsub.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fneg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fabs.mir
Commit b329e0728b3eda7a1c754931e5c174b2b7ae51b3 by carrot
[BPI] Adjust the probability for floating point unordered comparison
Since NaN is very rare in normal programs, so the probability for
floating point unordered comparison should be extremely small. Current
probability is 3/8, it is too large, this patch changes it to a tiny
number.
Differential Revision: https://reviews.llvm.org/D65303
llvm-svn: 371541
The file was modifiedllvm/test/CodeGen/SystemZ/call-05.ll
The file was addedllvm/test/Analysis/BranchProbabilityInfo/fcmp.ll
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp
Commit 4a23ae5e78798662c07c94cc708fd70fd5ae88f9 by Matthew.Arsenault
GlobalISel/TableGen: Handle REG_SEQUENCE patterns
The scalar f64 patterns don't work yet because they fail on multiple
results from the unused implicit def of scc in the result bit operation.
llvm-svn: 371542
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fabs.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fneg.mir
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
The file was addedllvm/test/TableGen/GlobalISelEmitterRegSequence.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
Commit ff02109ad47af387839f3163168382273fcec05b by Vedant Kumar
[Function] Factor out GetCallEdgeForReturnAddress, NFC
Finding the call edge in a function which corresponds to a particular
return address is a generic/useful operation.
llvm-svn: 371543
The file was modifiedlldb/source/Target/StackFrameList.cpp
The file was modifiedlldb/include/lldb/Symbol/Function.h
The file was modifiedlldb/source/Symbol/Function.cpp
Commit 3ef7dbd6650d53af79dedbfcd3c85a96b29c96bb by Vedant Kumar
[lldbtest] Add an "expected_cmd_failure" option to the filecheck helper
llvm-svn: 371544
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
Commit 870ffe3cee6398f5c576e230765424f6f89d2143 by lebedev.ri
[NFC][InstSimplify] rewrite test added in r371537 to use non-null
pointer instead
I only want to ensure that %offset is non-zero there, it doesn't matter
how that info is conveyed. As filed in PR43267, the assumption way does
not work.
llvm-svn: 371546
The file was modifiedllvm/test/Transforms/InstSimplify/result-of-usub-by-nonzero-is-non-zero-and-no-overflow.ll
Commit a9beacbac8d22f2b796130766ff7f8c93af131f2 by listmail
[X86] Updated target specific selection dag code to conservatively check
for isAtomic in addition to isVolatile
See D66309 for context.
This is the first sweep of x86 target specific code to add isAtomic
bailouts where appropriate. The intention here is to have the switch
from AtomicSDNode to LoadSDNode/StoreSDNode be close to NFC; that is,
I'm not looking to allow additional optimizations at this time.
Sorry for the lack of tests.  As discussed in the review, most of these
are vector tests (for which atomicity is not well defined) and I
couldn't figure out to exercise the anyextend cases which aren't vector
specific.
Differential Revision: https://reviews.llvm.org/D66322
llvm-svn: 371547
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
Commit b5890a329a08715f1974f5f46f1205f2ca1de41e by a.bataev
Fix for PR43175: compiler crash when trying to emit noncapturable
constant.
If the constexpr variable is partially initialized, the initializer can
be emitted as the structure, not as an array, because of some early
optimizations. The llvm variable gets the type from this constant and,
thus, gets the type which is pointer to struct rather than pointer to an
array. We need to convert this type to be truely array, otherwise it may
lead to the compiler crash when trying to emit array subscript
expression.
llvm-svn: 371548
The file was addedclang/test/OpenMP/constexpr_partial_array.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
Commit 16f5605382dd57cd0d0323a2ded5b1d4ad1abafe by lebedev.ri
[NFC][InstCombine] rewrite test added in r371537 to use non-null pointer
instead
I only want to ensure that %offset is non-zero there, it doesn't matter
how that info is conveyed. As filed in PR43267, the assumption way does
not work.
llvm-svn: 371550
The file was modifiedllvm/test/Transforms/InstCombine/result-of-usub-is-non-zero-and-no-overflow.ll
Commit 4d2b4077e7087b1b0476d9b3ef5fbcc7b0149990 by spatel
[x86] add test for false dependency with AVX; NFC
Goes with D67363
llvm-svn: 371551
The file was modifiedllvm/test/CodeGen/X86/stack-folding-fp-avx1.ll
Commit 38e033bf33e8a8261d1d4497524fe75ef3486a9a by rnk
Re-land Remove REQUIRES:shell from tests that pass for me on Windows
This reverts r371497 (git commit
3d7e9ab7b9f8c53aa41420c54970f0fb421004a2)
Reorder `not` with `env` in these two tests so they pass:
Driver/rewrite-map-in-diagnostics.c
Index/crash-recovery-modules.m.
This will not be necessary after D66531 lands.
llvm-svn: 371552
The file was modifiedclang/test/PCH/modified-header-error.c
The file was modifiedclang/test/OpenMP/taskloop_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/Frontend/dependency-gen-has-include.c
The file was modifiedclang/test/Driver/clang-offload-bundler.c
The file was modifiedclang/test/Modules/builtins.m
The file was modifiedclang/test/OpenMP/taskloop_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/task_private_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/Parser/crash-report.c
The file was modifiedclang/test/CodeGen/thinlto_backend.ll
The file was modifiedclang/test/Driver/rewrite-map-in-diagnostics.c
The file was modifiedclang/test/Driver/check-time-trace-sections.cpp
The file was modifiedclang/test/OpenMP/task_firstprivate_codegen.cpp
The file was modifiedclang/test/Driver/check-time-trace.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/Analysis/crash-trace.c
The file was modifiedclang/test/Modules/implicit-invalidate-common.c
The file was modifiedclang/test/Modules/at-import-in-framework-header.m
The file was modifiedclang/test/Format/style-on-command-line.cpp
The file was modifiedclang/test/Index/crash-recovery-modules.m
The file was modifiedclang/test/OpenMP/taskloop_private_codegen.cpp
The file was modifiedclang/test/Modules/dependency-dump-dependent-module.m
The file was modifiedclang/test/Driver/crash-report-crashfile.m
The file was modifiedclang/test/Modules/dependency-dump.m
Commit 7a54d76fa540f88ffe45f9e9eeca958dea369719 by a.bataev
[OPENMP5.0]Allow teams directive outside of the target directives.
According to OpenMP 5.0, teams directives are allowed not only in the
target context, but also in the implicit parallel regions.
llvm-svn: 371553
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/teams_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_ast_print.cpp
The file was modifiedclang/test/OpenMP/teams_messages.cpp
Commit 6c6f5a9984525a23229b26cc4527cc2cb90375d0 by simon
[mips] Allow PT_LOAD to have overlapping p_offset ranges on EM_MIPS
Port the D64906 <https://reviews.llvm.org/D64906> technique to MIPS.
Fix PR33131
llvm-svn: 371554
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/test/ELF/basic-mips.s
Commit 699bea494c01fffe351223d8064ed8a091b13957 by dblaikie
llvm-reduce: Simplify testing using -implicit-check-not
Also fix llvm-reduce to use the specified output file name directly,
without appending '.ll' to the name.
llvm-svn: 371555
The file was modifiedllvm/test/Reduce/remove-funcs.ll
The file was modifiedllvm/test/Reduce/remove-global-vars.ll
The file was modifiedllvm/tools/llvm-reduce/llvm-reduce.cpp
Commit 1e1db800487cbaf96e8f7809e3df42ba979c121d by listmail
[ValueTracking] Factor our common speculation suppression logic [NFC]
Expose a utility function so that all places which want to suppress
speculation (when otherwise legal) due to ordering and/or sanitizer
interaction can do so.
llvm-svn: 371556
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
The file was modifiedllvm/include/llvm/Analysis/ValueTracking.h
Commit 045b2270ceba0ad785cf27beb05dd59ce10372f6 by richard-llvm
When evaluating a __builtin_constant_p conditional, always enter
constant-folding mode regardless of the original evaluation mode.
In order for this to be correct, we need to track whether we're checking
for a potential constant expression or checking for undefined behavior
separately from the evaluation mode enum, since we don't want to clobber
those states when entering constant-folding mode.
llvm-svn: 371557
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/Sema/i-c-e.c
Commit cffa630c809f07f38334b8e5e03f8126387f997b by listmail
[Loads] Move generic code out of vectorizer into a location it might be
reused [NFC]
llvm-svn: 371558
The file was modifiedllvm/include/llvm/Analysis/Loads.h
The file was modifiedllvm/lib/Analysis/Loads.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
Commit c9f5aa99acbb89702b767831e56c549bbe5ad1d7 by rnk
Actually reorder not and env in crash-recovery-modules.m
llvm-svn: 371559
The file was modifiedclang/test/Index/crash-recovery-modules.m
Commit 6ca76ceb63bf91282d9bbcc2a1cad190455a3c5a by jingham
Fix a thinko in handling the QSetLogging packet.
The comparison against LOG_MEMORY shortcut all the LOG_MEMORY_* log
channels.  It has to come last.
llvm-svn: 371560
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
Commit 5fc4bee355a5fbafaa41318ce9b71d4df1e98055 by echristo
Move LLVM_ENABLE_ABI_BREAKING_CHECKS variables to their own file so that
you don't have to link Error.o and all of its dependencies.
In more detail: global initializers in Error.o can't be elided with
-ffunction-sections/-gc-sections since they always need to be run
causing a fairly significant binary bloat if all you want is the ABI
breaking checks code.
Differential Revision: https://reviews.llvm.org/D67387
llvm-svn: 371561
The file was modifiedllvm/lib/Support/Error.cpp
The file was addedllvm/lib/Support/ABIBreak.cpp
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
Commit 477c1df4b9d6add542f0ed922d47010999567560 by dblaikie
llvm-reduce: Add pass to reduce Metadata
Patch by Diego Treviño!
Differential Revision: https://reviews.llvm.org/D65026
llvm-svn: 371562
The file was addedllvm/test/Reduce/Inputs/remove-metadata.py
The file was modifiedllvm/tools/llvm-reduce/CMakeLists.txt
The file was modifiedllvm/tools/llvm-reduce/DeltaManager.h
The file was addedllvm/tools/llvm-reduce/deltas/ReduceMetadata.h
The file was addedllvm/test/Reduce/remove-metadata.ll
The file was addedllvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp
Commit 345fbfd7499254e5a4ecc4e83b3b8beb58c677b7 by dblaikie
llvm-remove: Remove "using namespace" in header.
llvm-svn: 371563
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
The file was modifiedllvm/tools/llvm-reduce/deltas/Delta.h
The file was modifiedllvm/tools/llvm-reduce/deltas/Delta.cpp
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp
Commit aac114ca140f323f17cf46d0c0d5319547f20f19 by dblaikie
llvm-reduce: Remove some unused headers/more narrowly include them
llvm-svn: 371564
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
The file was modifiedllvm/tools/llvm-reduce/deltas/Delta.h
The file was modifiedllvm/tools/llvm-reduce/deltas/Delta.cpp
Commit f7b4022db1746fb9b22114d83fe690755e7f0cf5 by asbirlea
[MemorySSA] Do not create memoryaccesses for debug info intrinsics.
Summary: Do not model debuginfo intrinsics in MemorySSA. Regularly these
are non-memory modifying instructions. With -disable-basicaa, they were
being modelled as Defs.
Reviewers: george.burgess.iv
Subscribers: aprantl, Prazek, sanjoy.google, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67307
llvm-svn: 371565
The file was addedllvm/test/Analysis/MemorySSA/debugvalue2.ll
The file was modifiedllvm/lib/Analysis/MemorySSA.cpp
Commit 244e738485445fa4b72bfef9b9b2f9625cee989e by puyan
Adding support for overriding LLVM_ENABLE_RUNTIMES for runtimes builds.
On some platforms, certain runtimes are not supported. For runtimes
builds of those platforms it would be nice if we could disable certain
runtimes (ie libunwind on Windows).

Differential Revision: https://reviews.llvm.org/D67195
llvm-svn: 371566
The file was modifiedllvm/runtimes/CMakeLists.txt
Commit 6a2603c063387d0ee36977db7b0ca0aa4225e6f3 by dblaikie
llvm-reduce: Add pass to reduce parameters
Patch by Diego Treviño!
Differential Revision: https://reviews.llvm.org/D65479
llvm-svn: 371567
The file was addedllvm/test/Reduce/remove-args.ll
The file was modifiedllvm/tools/llvm-reduce/DeltaManager.h
The file was addedllvm/tools/llvm-reduce/deltas/ReduceArguments.h
The file was addedllvm/test/Reduce/Inputs/remove-args.py
The file was modifiedllvm/tools/llvm-reduce/CMakeLists.txt
The file was addedllvm/tools/llvm-reduce/deltas/ReduceArguments.cpp
Commit 7b1d793713cf9ed9ab719f33b332f9c66a1fc5cc by akhuang
Reland "Change the X86 datalayout to add three address spaces  for 32
bit signed, 32 bit unsigned, and 64 bit pointers." This reverts
57076d3199fc2b0af4a3736b7749dd5462cacda5.
Original review at https://reviews.llvm.org/D64931. Review for added fix
at https://reviews.llvm.org/D66843.
llvm-svn: 371568
The file was modifiedlld/test/ELF/lto/Inputs/libcall-archive.ll
The file was modifiedllvm/test/LTO/Resolution/X86/comdat-mixed-lto.ll
The file was modifiedllvm/test/Transforms/PGOProfile/select1.ll
The file was modifiedllvm/test/tools/llvm-lto2/X86/pipeline.ll
The file was modifiedllvm/test/ThinLTO/X86/cfi-devirt.ll
The file was modifiedllvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp.ll
The file was modifiedllvm/test/LTO/Resolution/X86/load-sample-prof-icp.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-dead.ll
The file was modifiedllvm/test/Transforms/PGOProfile/select2.ll
The file was modifiedllvm/test/ThinLTO/X86/local_name_conflict.ll
The file was modifiedlld/test/COFF/lto-new-symbol.ll
The file was modifiedlld/test/ELF/lto/comdat.ll
The file was modifiedllvm/test/Transforms/PGOProfile/diag_no_profile.ll
The file was modifiedclang/test/CodeGen/thinlto-multi-module.ll
The file was modifiedlld/test/ELF/lto/type-merge2.ll
The file was modifiedclang/test/CodeGen/Inputs/thinlto_backend_local_name_conflict2.ll
The file was modifiedlld/test/ELF/lto/mix-platforms.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/cache-import-lists1.ll
The file was modifiedllvm/test/ThinLTO/X86/debuginfo-cu-import.ll
The file was modifiedlld/test/ELF/lto/Inputs/internalize-undef.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/local_name_conflict_var2.ll
The file was modifiedlld/test/ELF/lto/combined-lto-object-name.ll
The file was modifiedlld/test/ELF/lto/obj-path.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/mod-asm-used.ll
The file was modifiedlld/test/ELF/lto/wrap-1.ll
The file was modifiedlld/test/ELF/lto/archive-3.ll
The file was modifiedlld/test/COFF/Inputs/thinlto-empty.ll
The file was modifiedlld/test/ELF/lto/Inputs/i386-empty.ll
The file was modifiedllvm/test/LTO/X86/triple-init2.ll
The file was modifiedlld/test/ELF/lto/resolution.ll
The file was modifiedllvm/test/ThinLTO/X86/autoupgrade.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/alias-1.ll
The file was modifiedlld/test/ELF/lto/opt-remarks.ll
The file was modifiedlld/test/ELF/lto/internalize-exportdyn.ll
The file was modifiedlld/test/ELF/lto/undef-mixed.ll
The file was modifiedlld/test/COFF/thinlto.ll
The file was modifiedllvm/test/LTO/Resolution/X86/lto-unit-check.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/merge-triple.ll
The file was modifiedllvm/test/LTO/X86/remangle_intrinsics_tbaa.ll
The file was modifiedllvm/test/LTO/Resolution/X86/intrinsic.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/export.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/comdat-mixed-lto.ll
The file was modifiedllvm/test/LTO/X86/symver-asm3.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/local_name_conflict2.ll
The file was modifiedllvm/test/ThinLTO/X86/dot-dumper-full-lto.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/commons.ll
The file was modifiedllvm/test/LTO/Resolution/X86/linker-redef-thin.ll
The file was modifiedlld/test/ELF/lto/drop-linkage.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/link-odr-availextern-ae.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop.ll
The file was modifiedlld/test/ELF/lto/lazy-internal.ll
The file was modifiedllvm/test/Transforms/PGOProfile/thinlto_cspgo_gen.ll
The file was modifiedllvm/test/ThinLTO/X86/cache-config.ll
The file was modifiedllvm/test/LTO/Resolution/X86/mixed_lto.ll
The file was modifiedllvm/test/LTO/Resolution/X86/dead-strip-alias.ll
The file was modifiedllvm/test/ThinLTO/X86/callees-metadata.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/function_entry_count.ll
The file was modifiedlld/test/COFF/thinlto-emit-imports.ll
The file was modifiedlld/test/ELF/lto/irmover-error.ll
The file was modifiedllvm/test/Transforms/PGOProfile/thinlto_indirect_call_promotion.ll
The file was modifiedclang/test/CodeGen/target-data.c
The file was modifiedllvm/test/LTO/Resolution/X86/cache-prevailing.ll
The file was modifiedlld/test/ELF/lto/Inputs/type-merge2.ll
The file was modifiedllvm/test/Transforms/PGOProfile/memop_size_opt.ll
The file was modifiedllvm/test/Transforms/PGOProfile/single_bb.ll
The file was modifiedllvm/test/Transforms/PGOProfile/loop2.ll
The file was modifiedllvm/test/LTO/Resolution/X86/symtab-elf.ll
The file was modifiedlld/test/COFF/Inputs/conflict.ll
The file was modifiedlld/test/ELF/lto/Inputs/common3.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/index-const-prop-linkage.ll
The file was modifiedllvm/test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_gen.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/index-const-prop-comdat.ll
The file was modifiedlld/test/ELF/lto/common3.ll
The file was modifiedlld/test/ELF/lto/timepasses.ll
The file was modifiedllvm/test/ThinLTO/X86/cache.ll
The file was modifiedlld/test/ELF/lto/thinlto-no-index.ll
The file was modifiedclang/test/CodeGen/thinlto-distributed-cfi.ll
The file was modifiedllvm/test/Transforms/PGOProfile/switch.ll
The file was modifiedlld/test/ELF/lto/internalize-version-script.ll
The file was modifiedclang/test/CodeGen/thinlto-distributed-backend-skip.ll
The file was modifiedllvm/test/Transforms/PGOProfile/icp_mismatch_msg.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-full-lto.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/cfi-distributed.ll
The file was modifiedllvm/test/ThinLTO/X86/writeonly2.ll
The file was modifiedlld/test/ELF/lto/Inputs/defsym-bar.ll
The file was modifiedlld/test/ELF/lto/lto-start.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop2.ll
The file was modifiedllvm/test/LTO/Resolution/X86/local-def-dllimport.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/globals-import-blockaddr.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/linkonce_odr_unnamed_addr.ll
The file was modifiedlld/test/ELF/lto/Inputs/relocation-model-pic.ll
The file was modifiedllvm/test/Transforms/PGOProfile/remap.ll
The file was modifiedllvm/test/ThinLTO/X86/devirt2.ll
The file was modifiedclang/test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll
The file was modifiedlld/test/ELF/lto/dynamic-list.ll
The file was modifiedlld/test/COFF/thinlto-archivecollision.ll
The file was modifiedlld/test/ELF/lto/thinlto-debug-fission.ll
The file was modifiedlld/test/ELF/lto/relocatable.ll
The file was modifiedlld/test/COFF/lto-lazy-reference.ll
The file was modifiedllvm/test/ThinLTO/X86/writeonly.ll
The file was modifiedllvm/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2a.ll
The file was modifiedllvm/test/Transforms/PGOProfile/preinline.ll
The file was modifiedllvm/test/LTO/Resolution/X86/ifunc.ll
The file was modifiedlld/test/ELF/lto/cpu-string.ll
The file was modifiedlld/test/ELF/lto/thin-archivecollision.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/funcimport.ll
The file was modifiedlld/test/COFF/Inputs/lto-dep.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/index-const-prop-define-g.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/mixed_lto.ll
The file was modifiedllvm/test/ThinLTO/X86/dicompositetype-unique-alias.ll
The file was modifiedllvm/test/LTO/Resolution/X86/load-sample-prof.ll
The file was modifiedllvm/test/LTO/X86/objc-detection.ll
The file was modifiedlld/test/COFF/guardcf-lto.ll
The file was modifiedlld/test/ELF/lto/type-merge.ll
The file was modifiedllvm/test/Transforms/PGOProfile/Inputs/thinlto_cspgo_bar_use.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/dicompositetype-unique2.ll
The file was modifiedlld/test/ELF/lto/Inputs/archive.ll
The file was modifiedllvm/test/LTO/X86/strip-debug-info.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/linkonce_aliasee_ref_import.ll
The file was modifiedllvm/test/ThinLTO/X86/dicompositetype-unique2.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/llvm.used.ll
The file was modifiedllvm/test/LTO/X86/codemodel-1.ll
The file was modifiedlld/test/COFF/Inputs/entry-mangled.ll
The file was modifiedlld/test/ELF/lto/Inputs/save-temps.ll
The file was modifiedlld/test/COFF/lto-debug-pass-arguments.ll
The file was modifiedlld/test/ELF/lto/debugger-tune.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/module_asm.ll
The file was modifiedlld/test/ELF/lto/linkonce.ll
The file was modifiedllvm/test/Transforms/PGOProfile/icp_invoke.ll
The file was modifiedlld/test/COFF/thinlto-object-suffix-replace.ll
The file was modifiedllvm/test/Transforms/PGOProfile/Inputs/thinlto_indirect_call_promotion.ll
The file was modifiedllvm/test/ThinLTO/X86/debuginfo-compositetype-import.ll
The file was modifiedllvm/test/ThinLTO/X86/dicompositetype-unique.ll
The file was modifiedlld/test/ELF/lto/Inputs/duplicated-name.ll
The file was modifiedlld/test/COFF/Inputs/lto-cache.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/index-const-prop-full-lto.ll
The file was modifiedlld/test/ELF/lto/codemodel.ll
The file was modifiedllvm/test/LTO/Resolution/X86/dead-strip-fulllto.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/referenced_by_constant.ll
The file was modifiedllvm/test/ThinLTO/X86/local_name_conflict_var.ll
The file was modifiedlld/test/ELF/lto/emit-llvm.ll
The file was modifiedllvm/test/LTO/X86/Inputs/dllimport.ll
The file was modifiedllvm/test/Transforms/PGOProfile/statics_counter_naming.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/index-const-prop-alias.ll
The file was modifiedllvm/test/ThinLTO/X86/funcimport.ll
The file was modifiedlld/test/COFF/lto-opt-level.ll
The file was modifiedlld/test/ELF/lto/ltopasses-custom.ll
The file was modifiedllvm/test/ThinLTO/X86/merge-triple.ll
The file was modifiedllvm/test/ThinLTO/X86/module_asm_glob.ll
The file was modifiedlld/test/COFF/lto-linker-opts.ll
The file was modifiedlld/test/COFF/lto.ll
The file was modifiedlld/test/COFF/Inputs/weak-external2.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/cache-typeid-resolutions2.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-comdat.ll
The file was modifiedlld/test/COFF/Inputs/constant-export.ll
The file was modifiedlld/test/ELF/lto/Inputs/unnamed-addr-drop.ll
The file was modifiedllvm/test/LTO/Resolution/X86/mod-asm-used.ll
The file was modifiedlld/test/ELF/lto/abs-resol.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/cache-typeid-resolutions-import.ll
The file was modifiedllvm/test/ThinLTO/X86/funcimport-debug.ll
The file was modifiedllvm/test/Transforms/PGOProfile/memop_size_annotation.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/appending-var-2.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/noinline.ll
The file was modifiedllvm/test/ThinLTO/X86/cfi-icall-only-defuse.ll
The file was modifiedllvm/test/ThinLTO/X86/llvm.used.ll
The file was modifiedllvm/test/LTO/X86/internalize.ll
The file was modifiedlld/test/ELF/lto/Inputs/thin1.ll
The file was modifiedllvm/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp.ll
The file was modifiedllvm/test/Transforms/PGOProfile/memop_size_opt_zero.ll
The file was modifiedllvm/test/LTO/X86/tailcallelim.ll
The file was modifiedlld/test/COFF/Inputs/msvclto-order-a.ll
The file was modifiedlld/test/COFF/lto-comdat.ll
The file was modifiedlld/test/ELF/lto/available-externally.ll
The file was modifiedllvm/test/ThinLTO/X86/noinline.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/empty.ll
The file was modifiedllvm/test/LTO/X86/strip-debug-info-no-call-loc.ll
The file was modifiedllvm/test/ThinLTO/X86/save_objects.ll
The file was modifiedllvm/test/Transforms/FunctionImport/Inputs/comdat.ll
The file was modifiedllvm/test/Transforms/PGOProfile/criticaledge.ll
The file was modifiedlld/test/ELF/lto/Inputs/linkonce-odr.ll
The file was modifiedllvm/test/LTO/Resolution/X86/linkonce.ll
The file was modifiedclang/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll
The file was modifiedlld/test/ELF/lto/linkonce-odr.ll
The file was modifiedllvm/test/ThinLTO/X86/cfi.ll
The file was modifiedllvm/include/llvm/Target/TargetMachine.h
The file was modifiedllvm/test/ThinLTO/X86/Inputs/index-const-prop-gvref.ll
The file was modifiedlld/test/ELF/lto/dynsym.ll
The file was modifiedllvm/test/tools/llvm-lto2/X86/stats-file-option.ll
The file was modifiedllvm/test/ThinLTO/X86/import_opaque_type.ll
The file was modifiedlld/test/ELF/lto/keep-undefined.ll
The file was modifiedllvm/test/Transforms/PGOProfile/unreachable_bb.ll
The file was modifiedlld/test/ELF/lto/save-temps.ll
The file was modifiedllvm/test/LTO/Resolution/X86/not-prevailing-variables.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/cache-typeid-resolutions3.ll
The file was modifiedllvm/test/ThinLTO/X86/newpm-basic.ll
The file was modifiedllvm/test/LTO/Resolution/X86/diagnostic-handler-remarks.ll
The file was modifiedllvm/test/Transforms/PGOProfile/icp_vararg.ll
The file was modifiedlld/test/ELF/lto/thinlto-object-suffix-replace.ll
The file was modifiedllvm/test/LTO/X86/private-symbol.ll
The file was modifiedlld/test/ELF/lto/common4.ll
The file was modifiedlld/test/ELF/lto/Inputs/available-externally.ll
The file was modifiedlld/test/ELF/lto/setting-dso-local.ll
The file was modifiedlld/test/ELF/lto/parallel-internalize.ll
The file was modifiedlld/test/COFF/loadcfg.ll
The file was modifiedllvm/test/LTO/Resolution/X86/load-sample-prof-lto.ll
The file was modifiedlld/test/COFF/thinlto-prefix-replace.ll
The file was modifiedllvm/test/Transforms/FunctionImport/Inputs/hotness_based_import.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/emit_imports.ll
The file was modifiedllvm/test/Transforms/FunctionImport/funcimport_resolved.ll
The file was modifiedllvm/test/Transforms/PGOProfile/branch1.ll
The file was modifiedllvm/test/ThinLTO/X86/dot-dumper2.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-cache.ll
The file was modifiedlld/test/COFF/lto-parallel.ll
The file was modifiedclang/test/CodeGen/thinlto_backend_local_name_conflict.ll
The file was modifiedllvm/test/Transforms/FunctionImport/hotness_based_import.ll
The file was modifiedlld/test/ELF/lto/Inputs/archive-3.ll
The file was modifiedllvm/test/ThinLTO/X86/drop-debug-info.ll
The file was modifiedlld/test/ELF/lto/Inputs/linker-script-symbols-ipo.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/dsolocal_dllimport.ll
The file was modifiedlld/test/ELF/lto/Inputs/data-ordering-lto.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-gvref.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/deadstrip.ll
The file was modifiedllvm/test/ThinLTO/X86/crash_debuginfo.ll
The file was modifiedlld/test/ELF/lto/internalize-undef.ll
The file was modifiedllvm/test/LTO/X86/diagnostic-handler-remarks.ll
The file was modifiedllvm/test/Transforms/PGOProfile/icp_covariant_call_return.ll
The file was modifiedlld/test/ELF/lto/Inputs/start-lib2.ll
The file was modifiedllvm/test/LTO/Resolution/X86/alias-alias.ll
The file was modifiedllvm/test/ThinLTO/X86/weak_resolution.ll
The file was modifiedllvm/test/LTO/Resolution/X86/cache-dso-local.ll
The file was modifiedllvm/test/Transforms/FunctionImport/import_stats.ll
The file was modifiedllvm/test/LTO/X86/no-undefined-puts-when-implemented.ll
The file was modifiedlld/test/ELF/lto/metadata.ll
The file was modifiedlld/test/ELF/lto/pic.ll
The file was modifiedlld/test/ELF/lto/thinlto.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/intrinsic.ll
The file was modifiedllvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll
The file was modifiedllvm/test/Transforms/PGOProfile/indirect_call_promotion.ll
The file was modifiedlld/test/ELF/lto/opt-level.ll
The file was modifiedllvm/test/LTO/X86/Inputs/strip-debug-info-bar.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/debuginfo-cu-import.ll
The file was modifiedllvm/test/Transforms/PGOProfile/indirect_call_promotion_vla.ll
The file was modifiedllvm/test/LTO/Resolution/X86/multi-thinlto.ll
The file was modifiedllvm/test/LTO/X86/Inputs/type-mapping-bug2.ll
The file was modifiedllvm/test/ThinLTO/X86/globals-import-const-fold.ll
The file was modifiedllvm/test/LTO/X86/dllimport.ll
The file was modifiedlld/test/ELF/lto/ctors.ll
The file was modifiedlld/test/ELF/lto/shlib-undefined.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/local_name_conflict_var1.ll
The file was modifiedlld/test/ELF/lto/Inputs/drop-linkage.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/diagnostic-handler-remarks.ll
The file was modifiedllvm/test/LTO/X86/Inputs/codemodel-3.ll
The file was modifiedlld/test/ELF/lto/weak.ll
The file was modifiedllvm/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2b.ll
The file was modifiedllvm/test/LTO/Resolution/X86/lowertypetests.ll
The file was modifiedlld/test/ELF/lto/section-name.ll
The file was modifiedlld/test/ELF/lto/Inputs/start-lib1.ll
The file was modifiedlld/test/ELF/lto/unnamed-addr-comdat.ll
The file was modifiedllvm/test/LTO/Resolution/X86/common2.ll
The file was modifiedlld/test/ELF/lto/thinlto-prefix-replace.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/personality.ll
The file was modifiedlld/test/ELF/lto/linker-script-symbols.ll
The file was modifiedllvm/test/ThinLTO/X86/deadstrip.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/dead-strip-fulllto.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/reference_non_importable.ll
The file was modifiedllvm/test/ThinLTO/X86/thinlto-internalize-used.ll
The file was modifiedllvm/test/LTO/Resolution/X86/linker-redef.ll
The file was modifiedllvm/test/LTO/X86/codemodel-3.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/index-const-prop.ll
The file was modifiedlld/test/ELF/lto/relax-relocs.ll
The file was modifiedlld/test/ELF/lto/libcall-archive.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/empty_module_with_cache.ll
The file was modifiedlld/test/ELF/lto/archive-no-index.ll
The file was modifiedlld/test/COFF/Inputs/thinlto.ll
The file was modifiedllvm/test/Transforms/PGOProfile/select_hash_conflict.ll
The file was modifiedlld/test/ELF/lto/thinlto-emit-imports.ll
The file was modifiedllvm/test/LTO/Resolution/X86/export-jumptable.ll
The file was modifiedllvm/test/Transforms/PGOProfile/landingpad.ll
The file was modifiedllvm/test/LTO/Resolution/X86/setting-dso-local.ll
The file was modifiedllvm/test/ThinLTO/X86/lazyload_metadata.ll
The file was modifiedllvm/test/LTO/Resolution/X86/asm-output.ll
The file was modifiedllvm/test/ThinLTO/X86/internalize.ll
The file was modifiedlld/test/ELF/lto/archive.ll
The file was modifiedllvm/test/ThinLTO/X86/cfi-icall.ll
The file was modifiedllvm/test/LTO/Resolution/X86/appending-var.ll
The file was modifiedllvm/test/LTO/Resolution/X86/not-prevailing.ll
The file was modifiedlld/test/ELF/lto/archive-2.ll
The file was modifiedlld/test/ELF/lto/common.ll
The file was modifiedllvm/test/Transforms/PGOProfile/diag_FE_profile.ll
The file was modifiedlld/test/COFF/lto-icf.ll
The file was modifiedlld/test/ELF/lto/verify-invalid.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/crash_debuginfo.ll
The file was modifiedllvm/test/ThinLTO/X86/empty-module.ll
The file was modifiedllvm/test/ThinLTO/X86/funcimport-tbaa.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/emit_imports2.ll
The file was modifiedllvm/test/LTO/Resolution/X86/comdat.ll
The file was modifiedllvm/test/ThinLTO/X86/cache-import-lists.ll
The file was modifiedlld/test/wasm/lto/incompatible.ll
The file was modifiedllvm/test/ThinLTO/X86/cfi-distributed.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/lazyload_metadata.ll
The file was modifiedlld/test/ELF/lto/version-script.ll
The file was modifiedllvm/test/Transforms/PGOProfile/large_count_remarks.ll
The file was modifiedlld/test/COFF/Inputs/weak-external.ll
The file was modifiedlld/test/COFF/lto-cache.ll
The file was modifiedllvm/test/Transforms/PGOProfile/branch2.ll
The file was modifiedllvm/test/Transforms/PGOProfile/cspgo_profile_summary.ll
The file was modifiedlld/test/ELF/lto/thinlto-index-file.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/comdat.ll
The file was modifiedllvm/test/Transforms/PGOProfile/loop1.ll
The file was modifiedlld/test/ELF/lto/sample-profile.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/linkonce_resolution_comdat.ll
The file was modifiedlld/test/ELF/lto/mix-platforms2.ll
The file was modifiedlld/test/ELF/lto/wrap-2.ll
The file was modifiedllvm/test/Transforms/FunctionImport/Inputs/funcimport_resolved2.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/dot-dumper2.ll
The file was modifiedlld/test/ELF/lto/visibility.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-ldst.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/strong_non_prevailing.ll
The file was modifiedllvm/test/ThinLTO/X86/cache-icall.ll
The file was modifiedllvm/test/Transforms/FunctionImport/not-prevailing.ll
The file was modifiedllvm/test/Transforms/PGOProfile/func_entry.ll
The file was modifiedllvm/test/Transforms/PGOProfile/icp_invoke_nouse.ll
The file was modifiedlld/test/ELF/lto/irmover-warning.ll
The file was modifiedllvm/test/Transforms/PGOProfile/do-not-instrument.ll
The file was modifiedlld/test/COFF/thinlto-archives.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/dead-strip-alias.ll
The file was modifiedllvm/test/ThinLTO/X86/reference_non_importable.ll
The file was modifiedlld/test/ELF/lto/parallel.ll
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedllvm/test/ThinLTO/X86/Inputs/globals-import.ll
The file was modifiedllvm/test/ThinLTO/X86/function_entry_count.ll
The file was modifiedllvm/test/ThinLTO/X86/alias_internal.ll
The file was modifiedllvm/test/LTO/Resolution/X86/alias.ll
The file was modifiedlld/test/COFF/Inputs/bar.ll
The file was modifiedllvm/test/ThinLTO/X86/globals-import-blockaddr.ll
The file was modifiedllvm/test/ThinLTO/X86/tli-nobuiltin.ll
The file was modifiedlld/test/COFF/entrylib.ll
The file was modifiedlld/test/ELF/lto/Inputs/asmundef.ll
The file was modifiedllvm/test/Transforms/FunctionImport/funcimport_var.ll
The file was modifiedllvm/test/ThinLTO/X86/cache-typeid-resolutions.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/callees-metadata.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/not-prevailing.ll
The file was modifiedllvm/test/ThinLTO/X86/diagnostic-handler-remarks-with-hotness.ll
The file was modifiedllvm/test/ThinLTO/X86/load-store-caching.ll
The file was modifiedlld/test/ELF/lto/tls-mixed.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/index-const-prop-cache-foo.ll
The file was modifiedlld/test/COFF/lto-cpu-string.ll
The file was modifiedlld/test/ELF/lto/unnamed-addr.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/import_opaque_type.ll
The file was modifiedlld/test/COFF/lto-reloc-model.ll
The file was modifiedlld/test/ELF/lto/linkage.ll
The file was modifiedlld/test/ELF/lto/inline-asm.ll
The file was modifiedllvm/test/Transforms/PGOProfile/multiple_hash_profile.ll
The file was modifiedllvm/test/ThinLTO/X86/strong_non_prevailing.ll
The file was modifiedlld/test/ELF/lto/Inputs/thinlto_empty.ll
The file was modifiedlld/test/ELF/lto/internalize-llvmused.ll
The file was modifiedllvm/test/Transforms/PGOProfile/comdat_internal.ll
The file was modifiedllvm/test/LTO/Resolution/X86/link-odr-availextern.ll
The file was modifiedllvm/test/ThinLTO/X86/empty_module_with_cache.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/common2.ll
The file was modifiedlld/test/COFF/unresolved-lto.ll
The file was modifiedllvm/test/Transforms/PGOProfile/icp_covariant_invoke_return.ll
The file was modifiedlld/test/ELF/lto/Inputs/lazy-internal.ll
The file was modifiedlld/test/COFF/used-lto.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/dot-dumper.ll
The file was modifiedllvm/test/ThinLTO/X86/dot-dumper.ll
The file was modifiedlld/test/COFF/Inputs/libcall-archive.ll
The file was modifiedlld/test/COFF/lto-obj-path.ll
The file was modifiedllvm/test/Transforms/PGOProfile/indirect_call_annotation.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/debuginfo-compositetype-import.ll
The file was modifiedllvm/test/Transforms/FunctionImport/Inputs/funcimport_resolved1.ll
The file was modifiedllvm/test/Transforms/PGOProfile/X86/macho.ll
The file was modifiedlld/test/ELF/lto/Inputs/symbol-ordering-lto.ll
The file was modifiedclang/test/CodeGen/Inputs/thinlto_backend.ll
The file was modifiedllvm/test/ThinLTO/X86/module_asm2.ll
The file was modifiedlld/test/COFF/thinlto-mangled.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/devirt2.ll
The file was modifiedlld/test/COFF/Inputs/lto-lazy-reference-dummy.ll
The file was modifiedlld/test/COFF/thinlto-index-only.ll
The file was modifiedlld/test/ELF/lto/weakodr-visibility.ll
The file was modifiedclang/test/CodeGen/iamcu-abi.c
The file was modifiedllvm/test/ThinLTO/X86/devirt.ll
The file was modifiedllvm/test/ThinLTO/X86/emit_imports.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/personality-local.ll
The file was modifiedllvm/test/ThinLTO/X86/diagnostic-handler-remarks.ll
The file was modifiedllvm/test/LTO/X86/symver-asm2.ll
The file was modifiedllvm/test/Transforms/PGOProfile/thinlto_cspgo_use.ll
The file was modifiedlld/test/COFF/savetemps.ll
The file was modifiedllvm/test/LTO/Resolution/X86/type-checked-load.ll
The file was modifiedllvm/test/Transforms/FunctionImport/Inputs/funcimport_debug.ll
The file was modifiedlld/test/ELF/lto/common2.ll
The file was modifiedlld/test/ELF/lto/discard-value-names.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/alias_internal.ll
The file was modifiedlld/test/ELF/lto/ltopasses-basic.ll
The file was modifiedllvm/test/ThinLTO/X86/builtin-nostrip.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/dicompositetype-unique.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/cache-typeid-resolutions1.ll
The file was modifiedllvm/test/Transforms/PGOProfile/indirect_call_profile.ll
The file was modifiedlld/test/ELF/lto/Inputs/linkonce.ll
The file was modifiedlld/test/ELF/lto/undef-weak.ll
The file was modifiedllvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp_droppeddead.ll
The file was modifiedclang/test/CodeGen/thinlto-distributed.ll
The file was modifiedllvm/test/LTO/Resolution/X86/commons.ll
The file was modifiedllvm/test/Transforms/PGOProfile/noreturncall.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/pr35472.ll
The file was modifiedlld/test/COFF/unresolved-lto-bitcode.ll
The file was modifiedlld/test/ELF/lto/Inputs/thinlto.ll
The file was modifiedlld/test/COFF/Inputs/undefined-symbol-lto-b.ll
The file was modifiedllvm/test/ThinLTO/X86/pr35472.ll
The file was modifiedlld/test/COFF/lto-chkstk.ll
The file was modifiedllvm/test/Transforms/PGOProfile/memcpy.ll
The file was modifiedllvm/test/ThinLTO/X86/personality-local.ll
The file was modifiedlld/test/ELF/lto/unnamed-addr-lib.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/globals-import-cf-baz.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/index-const-prop-cache-test1.ll
The file was modifiedllvm/test/LTO/X86/symver-asm.ll
The file was modifiedllvm/test/ThinLTO/X86/nodevirt-nonpromoted-typeid.ll
The file was modifiedclang/test/CodeGen/thinlto_backend.ll
The file was modifiedlld/test/COFF/Inputs/weak-external3.ll
The file was modifiedlld/test/ELF/lto/linker-script-symbols-assign.ll
The file was modifiedllvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp2.ll
The file was modifiedlld/test/COFF/Inputs/lto-comdat2.ll
The file was modifiedllvm/test/Transforms/PGOProfile/diag_mismatch.ll
The file was modifiedlld/test/ELF/lto/Inputs/irmover-warning.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-linkage.ll
The file was modifiedllvm/test/ThinLTO/X86/personality.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/funcimport2.ll
The file was modifiedllvm/test/Transforms/FunctionImport/Inputs/import_stats.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/local_name_conflict1.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/dicompositetype-unique-alias.ll
The file was modifiedllvm/test/ThinLTO/X86/globals-import.ll
The file was modifiedlld/test/COFF/Inputs/lto-comdat1.ll
The file was modifiedlld/test/COFF/Inputs/thinlto-mangled-qux.ll
The file was modifiedlld/test/ELF/lto/Inputs/archive-2.ll
The file was modifiedlld/test/ELF/lto/cache.ll
The file was modifiedclang/test/CodeGen/Inputs/thinlto-multi-module.ll
The file was modifiedllvm/test/LTO/Resolution/X86/available-externally.ll
The file was modifiedllvm/test/Transforms/FunctionImport/comdat.ll
The file was modifiedlld/test/COFF/libcall-archive.ll
The file was modifiedlld/test/ELF/lto/Inputs/internalize-exportdyn.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/module_asm2.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/funcimport-tbaa.ll
The file was modifiedllvm/test/ThinLTO/X86/distributed_import.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/funcimport-debug.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/link-odr-availextern-odr.ll
The file was modifiedllvm/test/Transforms/PGOProfile/diag_no_value_sites.ll
The file was modifiedlld/test/ELF/lto/linker-script-symbols-ipo.ll
The file was modifiedllvm/test/LTO/Resolution/X86/cache-dso-local2.ll
The file was modifiedlld/test/ELF/lto/duplicated-name.ll
The file was modifiedllvm/test/Transforms/FunctionImport/Inputs/funcimport_var2.ll
The file was modifiedllvm/test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll
The file was modifiedlld/test/ELF/lto/thinlto-index-only.ll
The file was modifiedllvm/test/LTO/X86/pr38046.ll
The file was modifiedlld/test/ELF/lto/tls-preserve.ll
The file was modifiedllvm/test/LTO/X86/Inputs/remangle_intrinsics_tbaa.ll
The file was modifiedllvm/test/ThinLTO/X86/devirt-after-icp.ll
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.cpp
The file was modifiedllvm/test/LTO/Resolution/X86/function-alias-non-prevailing.ll
The file was modifiedlld/test/COFF/Inputs/msvclto-order-b.ll
The file was modifiedlld/test/ELF/lto/Inputs/cache.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/cfi-icall-only-bazqux.ll
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.h
The file was modifiedllvm/test/ThinLTO/X86/Inputs/cache-icall.ll
The file was modifiedllvm/test/Transforms/FunctionImport/funcimport_debug.ll
The file was modifiedlld/test/ELF/lto/relocation-model.ll
The file was modifiedlld/test/COFF/lib-module-asm.ll
The file was modifiedlld/test/ELF/lto/thinlto-cant-write-index.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/weak_resolution.ll
The file was modifiedllvm/test/ThinLTO/X86/referenced_by_constant.ll
The file was modifiedllvm/test/Transforms/FunctionImport/Inputs/not-prevailing.ll
The file was modifiedlld/test/COFF/Inputs/lto-lazy-reference-quadruple.ll
The file was modifiedlld/test/ELF/lto/asmundef.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/cache-import-lists2.ll
The file was modifiedllvm/test/ThinLTO/X86/linkonce_odr_unnamed_addr.ll
The file was modifiedclang/lib/Basic/Targets/OSTargets.h
The file was modifiedclang/test/CodeGen/thinlto-distributed-cfi-devirt.ll
The file was modifiedlld/test/ELF/lto/Inputs/irmover-error.ll
The file was modifiedlld/test/ELF/lto/Inputs/obj-path.ll
The file was modifiedlld/test/ELF/lto/start-lib.ll
The file was modifiedlld/test/ELF/lto/Inputs/weakodr-visibility.ll
The file was modifiedllvm/test/LTO/Resolution/X86/not-prevailing-alias.ll
The file was modifiedllvm/test/LTO/X86/codemodel-2.ll
The file was modifiedlld/test/ELF/lto/new-pass-manager.ll
The file was modifiedllvm/test/ThinLTO/X86/linkonce_aliasee_ref_import.ll
The file was modifiedllvm/test/LTO/X86/disable-verify.ll
The file was modifiedllvm/test/ThinLTO/X86/funcimport2.ll
The file was modifiedllvm/test/ThinLTO/X86/module_summary_graph_traits.ll
The file was modifiedllvm/test/Transforms/PGOProfile/indirectbr.ll
The file was modifiedllvm/test/Transforms/PGOProfile/diag_no_funcprofdata.ll
The file was modifiedlld/test/ELF/lto/module-asm.ll
The file was modifiedlld/test/ELF/lto/thinlto-obj-path.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/drop-debug-info.ll
The file was modifiedlld/test/ELF/lto/Inputs/thin2.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-alias.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/index-const-prop-cache-test2.ll
The file was modifiedlld/test/ELF/lto/Inputs/type-merge.ll
The file was modifiedlld/test/ELF/lto/unnamed-addr-drop.ll
The file was modifiedlld/test/COFF/include-lto.ll
The file was modifiedllvm/test/ThinLTO/X86/export.ll
The file was modifiedllvm/test/ThinLTO/X86/index-const-prop-O0.ll
The file was modifiedllvm/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp3.ll
The file was modifiedlld/test/ELF/lto/defsym.ll
The file was modifiedllvm/test/ThinLTO/X86/dsolocal_dllimport.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/cache.ll
The file was modifiedlld/test/ELF/lto/duplicated.ll
The file was modifiedllvm/test/LTO/X86/type-mapping-bug2.ll
The file was modifiedlld/test/ELF/lto/comdat2.ll
The file was modifiedllvm/test/ThinLTO/X86/Inputs/thinlto-internalize-used2.ll
The file was modifiedlld/test/COFF/Inputs/undefined-symbol-lto-a.ll
The file was modifiedlld/test/ELF/lto/undefined-puts.ll
The file was modifiedlld/test/COFF/Inputs/export.ll
The file was modifiedllvm/test/LTO/Resolution/X86/diagnostic-handler-remarks-with-hotness.ll
The file was modifiedllvm/test/LTO/X86/set-merged.ll
The file was modifiedlld/test/ELF/lto/version-script2.ll
The file was modifiedllvm/test/LTO/X86/triple-init.ll
The file was modifiedlld/test/ELF/lto/undef.ll
The file was modifiedllvm/test/LTO/Resolution/X86/Inputs/alias-alias-1.ll
The file was modifiedlld/test/ELF/lto/internalize-basic.ll
The file was modifiedllvm/test/ThinLTO/X86/weak_externals.ll
The file was modifiedllvm/test/LTO/X86/current-section.ll
The file was modifiedllvm/test/ThinLTO/X86/linkonce_resolution_comdat.ll
The file was modifiedlld/test/ELF/lto/Inputs/wrap-bar.ll
Commit a6e0bef3124ba72d6631a99bbafb3da8ba17e8de by asbirlea
Update ReleaseNotes: add enabling of MemorySSA.
llvm-svn: 371569
The file was modifiedllvm/docs/ReleaseNotes.rst
Commit 2af5b193d5e51409e20b85b62efdf743069ebb31 by Jessica Paquette
[AArch64][GlobalISel] Support sibling calls with mismatched calling
conventions
Add support for sibcalling calls whose calling convention differs from
the caller's.
- Port over `CCState::resultsCombatible` from CallingConvLower.cpp into
CallLowering. This is used to verify that the way the caller and callee
CC
handle incoming arguments matches up.
- Add `CallLowering::analyzeCallResult`. This is basically a port of
`CCState::AnalyzeCallResult`, but using `ArgInfo` rather than
`ISD::InputArg`.
- Add `AArch64CallLowering::doCallerAndCalleePassArgsTheSameWay`. This
checks
that the calling conventions are compatible, and that the caller and
callee
preserve the same registers.
For testing:
- Update call-translator-tail-call.ll to show that we can now handle
this.
- Add a GISel line to tailcall-ccmismatch.ll to show that we will not
tail call
when the regmasks don't line up.
Differential Revision: https://reviews.llvm.org/D67361
llvm-svn: 371570
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.h
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/call-translator-tail-call.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/CallLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/tailcall-ccmismatch.ll
Commit d40ddb9df26b4a8b5cf8ad7c920a9acccb98a13c by owenpiano
[clang-format] Apply BAS_AlwaysBreak to C++11 braced lists
See PR18455.
Differential Revision: https://reviews.llvm.org/D67395
llvm-svn: 371571
The file was modifiedclang/lib/Format/ContinuationIndenter.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit 469d42fcf6b674137c2406c506b6ab4141abcb44 by Jessica Paquette
[GlobalISel] When a tail call is emitted in a block, stop translating it
This fixes a crash in tail call translation caused by assume and
lifetime_end intrinsics.
It's possible to have instructions other than a return after a tail call
which will still have `Analysis::isInTailCallPosition` return true.
(Namely, lifetime_end and assume intrinsics.)
If we emit a tail call, we should stop translating instructions in the
block. Otherwise, we can end up emitting an extra return, or dead
instructions in general. This makes the verifier unhappy, and is
generally unfortunate for codegen.
This also removes the code from AArch64CallLowering that checks if we
have a tail call when lowering a return. This is covered by the new code
now.
Also update call-translator-tail-call.ll to show that we now properly
tail call in the presence of lifetime_end and assume.
Differential Revision: https://reviews.llvm.org/D67415
llvm-svn: 371572
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/call-translator-tail-call.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
Commit f9cc0393b341220656bcb085de51247f2bec6692 by asbirlea
[MemorySSA] MemorySSA should not model debuginfo, and need not update
it.
Reverts the change in r371084, but keeps the test. After r371565,
debuginfo cannot be modelled in MemorySSA, even with a non-standard AA
pipeline.
llvm-svn: 371573
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
Commit 0910a03bc25e72edf7bdc1e477419fcd366c4c4c by n54
Remove xfail NetBSD mark from ignored-interceptors-mmap.cpp
This test now passes.
llvm-svn: 371574
The file was modifiedcompiler-rt/test/tsan/ignored-interceptors-mmap.cpp
Commit 8b83f50c034d1a48785e233874f621106c6f22a3 by n54
Remove xfail i386 NetBSD mark in vptr-non-unique-typeinfo.cpp
This test passes now.
llvm-svn: 371575
The file was modifiedcompiler-rt/test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp
Commit f88f46358dbffa20af3b054a9346e5154789d50f by cyndy_ishida
[llvm-nm] Add tapi file support
Summary: This commit is the final one for adding tapi support to the
llvm-nm implementation. This commit also has accompanying tests the
additions to lib/Object
Reviewers: ributzka, steven_wu
Reviewed By: ributzka
Subscribers: hiraditya, plotfi, dexonsmith, rupprecht, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66160
llvm-svn: 371576
The file was modifiedllvm/include/llvm/TextAPI/MachO/Architecture.def
The file was modifiedllvm/lib/Object/TapiFile.cpp
The file was modifiedllvm/lib/TextAPI/MachO/Architecture.cpp
The file was addedllvm/test/Object/Inputs/tapi-v2.tbd
The file was modifiedllvm/lib/TextAPI/MachO/TextStubCommon.cpp
The file was modifiedllvm/include/llvm/TextAPI/MachO/Architecture.h
The file was addedllvm/test/Object/nm-tapi-invalids.test
The file was addedllvm/test/Object/nm-tapi.test
The file was addedllvm/test/Object/Inputs/tapi-invalid-v3.tbd
The file was addedllvm/test/Object/Inputs/tapi-v3.tbd
The file was addedllvm/test/Object/Inputs/tapi-invalid-v2.tbd
The file was modifiedllvm/include/llvm/Object/TapiFile.h
The file was modifiedllvm/tools/llvm-nm/llvm-nm.cpp
The file was addedllvm/test/Object/Inputs/tapi-v1.tbd
The file was addedllvm/test/Object/Inputs/tapi-invalid-v1.tbd
Commit b2b0ccab2f76733679eeceecf31b21ebc1fe23ac by cyndy_ishida
[Object][TextAPI] NFC, fix tapi lit tests
FileCheck command had wrong casing, which works fine on macOS, repairs
the linux build bots
llvm-svn: 371577
The file was modifiedllvm/test/Object/nm-tapi-invalids.test
The file was modifiedllvm/test/Object/nm-tapi.test
Commit 9607f5d8020228eb90065eb6d0fb81bb0b98698e by Jan Korous
[clang-scan-deps][NFC] Fix tests - prevent FileCheck matching test dir
path
Differential Revision: https://reviews.llvm.org/D67379
llvm-svn: 371578
The file was modifiedclang/test/ClangScanDeps/Inputs/subframework_header_dir_symlink_cdb.json
The file was modifiedclang/test/ClangScanDeps/Inputs/vfsoverlay_cdb.json
The file was modifiedclang/test/ClangScanDeps/vfsoverlay.cpp
The file was modifiedclang/test/ClangScanDeps/Inputs/regular_cdb.json
The file was modifiedclang/test/ClangScanDeps/regular_cdb.cpp
The file was modifiedclang/test/ClangScanDeps/subframework_header_dir_symlink.m
The file was modifiedclang/test/ClangScanDeps/Inputs/symlink_cdb.json
The file was modifiedclang/test/ClangScanDeps/error.cpp
The file was modifiedclang/test/ClangScanDeps/no-werror.cpp
The file was modifiedclang/test/ClangScanDeps/header_stat_before_open.m
The file was modifiedclang/test/ClangScanDeps/Inputs/header_stat_before_open_cdb.json
The file was modifiedclang/test/ClangScanDeps/symlink.cpp
The file was modifiedclang/test/ClangScanDeps/Inputs/no-werror.json
Commit c856eb0b76b46efba6602f6fc8229ad2bf37ec1d by phosek
Revert "Adding support for overriding LLVM_ENABLE_RUNTIMES for runtimes
builds."
This reverts commit r371566: this doesn't correctly handle the case
where LLVM_ENABLE_RUNTIMES contains a list of values.
llvm-svn: 371579
The file was modifiedllvm/runtimes/CMakeLists.txt
Commit 068b3628149884ba3cbf98a843ac7b7297423d21 by dblaikie
Revert "llvm-reduce: Add pass to reduce parameters"
Looks to be failing on asan buildbots
This reverts commit r371567.
llvm-svn: 371580
The file was modifiedllvm/tools/llvm-reduce/CMakeLists.txt
The file was removedllvm/test/Reduce/remove-args.ll
The file was removedllvm/tools/llvm-reduce/deltas/ReduceArguments.h
The file was removedllvm/test/Reduce/Inputs/remove-args.py
The file was removedllvm/tools/llvm-reduce/deltas/ReduceArguments.cpp
The file was modifiedllvm/tools/llvm-reduce/DeltaManager.h
Commit 7b4237d3ccb6bb84d2d6d411b6bd654f1c932b52 by rnk
Emit -Wmicrosoft-enum-value warning instead of error in MS ABI
Summary: The first NFC change is to replace a getCXXABI().isMicrosoft()
check with getTriple().isWindowsMSVCEnvironment(). This code takes
effect in non-C++ compilations, so it doesn't make sense to check the
C++ ABI. In the MS ABI, enums are always considered to be "complete"
because the underlying type of an unfixed enum will always be 'int'.
This behavior was moved from -fms-compatibility to MS ABI back in
r249656.
The second change is functional, and it downgrades an error to a warning
when the MS ABI is used rather than only under -fms-compatibility. The
reasoning is that it's unreasonable for the following code to reject the
following code for all MS ABI targets with -fno-ms-compatibility:
enum Foo { Foo_Val = 0xDEADBEEF }; This is valid code for any other
target, but in the MS ABI, Foo_Val just happens to be negative. With
this change, clang emits a
-Wmicrosoft-enum-value warning on this code, but compiles it without
error.
Fixes PR38478
Reviewers: hans, rsmith, STL_MSFT
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67304
llvm-svn: 371581
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/Sema/MicrosoftCompatibility.c
Commit f0321c094d952ca10a18752d7ce5ae8946f53cb2 by Jason Molenda
Skip a test in TestProcessIO.py when running against ios devices.
llvm-svn: 371582
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py
Commit 9b27586e83476dca7d1f9a2179c23fc72ff6911f by Jason Molenda
Ah, only skip this for embedded darwin targets.
llvm-svn: 371583
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py
Commit 394a8ed8f1adb405b55eb5189620da4f62127ac7 by phosek
clang-misexpect: Profile Guided Validation of Performance Annotations in
LLVM
This patch contains the basic functionality for reporting potentially
incorrect usage of __builtin_expect() by comparing the developer's
annotation against a collected PGO profile. A more detailed proposal and
discussion appears on the CFE-dev mailing list
(http://lists.llvm.org/pipermail/cfe-dev/2019-July/062971.html) and a
prototype of the initial frontend changes appear here in D65300
We revised the work in D65300 by moving the misexpect check into the
LLVM backend, and adding support for IR and sampling based profiles, in
addition to frontend instrumentation.
We add new misexpect metadata tags to those instructions directly
influenced by the llvm.expect intrinsic (branch, switch, and select)
when lowering the intrinsics. The misexpect metadata contains
information about the expected target of the intrinsic so that we can
check against the correct PGO counter when emitting diagnostics, and the
compiler's values for the LikelyBranchWeight and UnlikelyBranchWeight.
We use these branch weight values to determine when to emit the
diagnostic to the user.
A future patch should address the comment at the top of
LowerExpectIntrisic.cpp to hoist the LikelyBranchWeight and
UnlikelyBranchWeight values into a shared space that can be accessed
outside of the LowerExpectIntrinsic pass. Once that is done, the
misexpect metadata can be updated to be smaller.
In the long term, it is possible to reconstruct portions of the
misexpect metadata from the existing profile data. However, we have
avoided this to keep the code simple, and because some kind of metadata
tag will be required to identify which branch/switch/select instructions
are influenced by the use of llvm.expect
Patch By: paulkirth Differential Revision:
https://reviews.llvm.org/D66324
llvm-svn: 371584
The file was addedcompiler-rt/lib/profile/xxhash.h
The file was addedllvm/test/Transforms/PGOProfile/Inputs/misexpect-switch-correct.proftext
The file was addedcompiler-rt/lib/profile/xxhash.c
The file was addedllvm/test/Transforms/PGOProfile/misexpect-branch-correct.ll
The file was modifiedclang/lib/CodeGen/CodeGenAction.cpp
The file was modifiedllvm/test/Transforms/LowerExpectIntrinsic/basic.ll
The file was addedllvm/test/Transforms/PGOProfile/misexpect-branch-unpredictable.ll
The file was addedclang/test/Profile/Inputs/misexpect-branch-nonconst-expect-arg.proftext
The file was addedllvm/test/Transforms/PGOProfile/Inputs/misexpect-branch-correct.proftext
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was addedclang/test/Profile/misexpect-branch-cold.c
The file was addedclang/test/Profile/misexpect-branch.c
The file was addedllvm/test/Transforms/PGOProfile/misexpect-switch.ll
The file was addedclang/test/Profile/Inputs/misexpect-switch-default.proftext
The file was addedclang/test/Profile/misexpect-switch.c
The file was modifiedclang/include/clang/Basic/DiagnosticFrontendKinds.td
The file was modifiedllvm/test/ThinLTO/X86/lazyload_metadata.ll
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was addedllvm/test/Transforms/PGOProfile/misexpect-switch-default.ll
The file was addedllvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext
The file was addedllvm/test/Transforms/PGOProfile/misexpect-branch-stripped.ll
The file was addedclang/test/Profile/Inputs/misexpect-switch.proftext
The file was modifiedllvm/include/llvm/IR/DiagnosticInfo.h
The file was modifiedllvm/lib/IR/DiagnosticInfo.cpp
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was addedclang/test/Profile/misexpect-switch-default.c
The file was addedclang/test/Profile/misexpect-switch-only-default-case.c
The file was addedclang/test/Profile/Inputs/misexpect-switch-nonconst.proftext
The file was modifiedllvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
The file was modifiedllvm/include/llvm/IR/FixedMetadataKinds.def
The file was addedllvm/test/Transforms/PGOProfile/misexpect-branch.ll
The file was addedllvm/lib/Transforms/Utils/MisExpect.cpp
The file was addedclang/test/Profile/misexpect-branch-nonconst-expected-val.c
The file was modifiedllvm/lib/IR/MDBuilder.cpp
The file was addedclang/test/Profile/misexpect-switch-nonconst.c
The file was addedllvm/include/llvm/Transforms/Utils/MisExpect.h
The file was modifiedllvm/include/llvm/IR/MDBuilder.h
The file was addedclang/test/Profile/misexpect-branch-unpredictable.c
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was addedclang/test/Profile/Inputs/misexpect-switch-default-only.proftext
The file was addedclang/test/Profile/Inputs/misexpect-branch.proftext
The file was addedllvm/test/Transforms/PGOProfile/Inputs/misexpect-branch.proftext
The file was modifiedllvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
Commit 56a34f4541cb6ca70f41f6229911894db18ff113 by maskray
[llvm-nm] Fix -DBUILD_SHARED_LIBS=ON builds after D66160/r371576
llvm-svn: 371585
The file was modifiedllvm/tools/llvm-nm/CMakeLists.txt
Commit 9ca1b94a6d3f491f26ccbeacf910342e6861fc7f by maskray
[CodeGen] Add alias for cpu_dispatch function with IFunc & Fix resolver
linkage type
Multi-versioned functions defined by cpu_dispatch and implemented with
IFunc can not be called outside the translation units where they are
defined due to lack of symbols. This patch add function aliases for
these functions and thus make them visible outside.
Differential Revision: https://reviews.llvm.org/D67058 Patch by Senran
Zhang
llvm-svn: 371586
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-diff-ns.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-inalloca.cpp
The file was modifiedclang/test/CodeGen/attr-cpuspecific.c
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-member-funcs.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-out-of-line-defs.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-modules.cpp
The file was modifiedclang/test/CodeGen/attr-target-mv.c
The file was modifiedclang/test/CodeGenCXX/attr-cpuspecific.cpp
The file was modifiedclang/test/CodeGen/attr-target-mv-va-args.c
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-overloads.cpp
The file was modifiedclang/test/CodeGen/attr-target-mv-func-ptrs.c
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
Commit 6b1c6c1287dc1bb4511687d2795d00046a804572 by a.v.lapshin
[Debuginfo][Instcombiner] Do not clone dbg.declare.
TryToSinkInstruction() has a bug: While updating debug info for sunk
instruction, it could clone dbg.declare intrinsic. That is wrong. There
could be only one dbg.declare. The fix is to not clone dbg.declare
intrinsic and to update it`s arguments, to not to point to sunk
instruction.
Differential Revision: https://reviews.llvm.org/D67217
llvm-svn: 371587
The file was addedllvm/test/Transforms/InstCombine/do-not-clone-dbg-declare.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 2aace1ea226eb0517f48890066c7851c8f03e3c8 by maskray
[ELF][test] Make tests more tolerant to exact symbol addresses
llvm-svn: 371588
The file was modifiedlld/test/ELF/relocation-copy-relro.s
The file was modifiedlld/test/ELF/x86-64-gotpc-relax-nopic.s
The file was modifiedlld/test/ELF/x86-64-plt-high-addr.s
The file was modifiedlld/test/ELF/tls-opt.s
The file was modifiedlld/test/ELF/undef-with-plt-addr.s
The file was modifiedlld/test/ELF/relocation-copy-flags.s
The file was modifiedlld/test/ELF/x86-64-tls-gdie.s
The file was modifiedlld/test/ELF/x86-64-plt.s
The file was modifiedlld/test/ELF/ztext.s
Commit 37367646578735c1bd453f959dd7696e2a41d621 by uenoku.tokotoko
[Attributor][Fix] Manifest nocapture only in CSArgument or Argument
Summary: We can query to Attributor whether the value is captured in the
scope or not on the following way:
```
   const auto & NoCapAA = A.getAAFor<AANoCapture>(*this,
IRPosition::value(V));
``` And if V is CallSiteReturned then `getDeducedAttribute` will add
`nocatpure` to the callsite returned value. It is not valid. This patch
checks the position is an argument or call site argument.
This is tested in D67286.
Reviewers: jdoerfert, sstefan1
Reviewed By: jdoerfert
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67342
llvm-svn: 371589
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 1d68ed8c24e34231ba495c6ea2823c3eb1d90e85 by uenoku.tokotoko
[Attributor] Implement "noalias" callsite argument deduction
Summary: Now, `nocapture` is deduced in Attributor therefore, this patch
introduces deduction for `noalias` callsite argument using `nocapture`.
Reviewers: jdoerfert, sstefan1
Reviewed By: jdoerfert
Subscribers: lebedev.ri, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67286
llvm-svn: 371590
The file was modifiedllvm/test/Transforms/FunctionAttrs/noalias_returned.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 27f2b81b6b72e10b7534abfcbf3249f99fab3bd4 by maskray
[llvm-objcopy] Simplify --prefix-alloc-sections
Handle --prefix-alloc-sections after --rename-sections so that
--prefix-alloc-sections code does not have to check if renaming has been
performed.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D66931
llvm-svn: 371591
The file was modifiedllvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
Commit c26b3940c3207597b98bbe5331b886155b4441a9 by tpr.llvm
[TLI][AMDGPU] AMDPAL does not have library functions
Configure TLI to say that r600/amdgpu does not have any library
functions, such that InstCombine does not do anything like turn sin/cos
into the library function @tan with sufficient fast math flags.
Differential Revision: https://reviews.llvm.org/D67406
Change-Id: I02f907d3e64832117ea9800e9f9285282856e5df llvm-svn: 371592
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
The file was addedllvm/test/Transforms/InstCombine/AMDGPU/tan.ll
Commit 6b9df910d04fae62dacc22c1c84f66c0f126cde0 by maskray
[LTO] Avoid calling GlobalValue::getGUID (MD5) twice
llvm-svn: 371593
The file was modifiedllvm/lib/LTO/LTO.cpp
Commit 17ea9b463c66a6a9e978e87b9363c24e8e7e6e42 by sam.parker
[NFC][ARM] Add and modify tests
Add test for ParallelDSP.
llvm-svn: 371594
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/unroll-n-jam-smlad.ll
The file was addedllvm/test/CodeGen/ARM/ParallelDSP/complex_dot_prod.ll
Commit e4961218fd5b9bb36810b8dc05481f29068dbbdd by flo
[LoopInterchange] Properly move condition, induction increment and ops
to latch.
Currently we only rely on the induction increment to come before the
condition to ensure the required instructions get moved to the new
latch.
This patch duplicates and moves the required instructions to the newly
created latch. We move the condition to the end of the new block, then
process its operands. We stop at operands that are defined outside the
loop, or are the induction PHI.
We duplicate the instructions and update the uses in the moved
instructions, to ensure other users remain intact. See the added test2
for such an example.
Reviewers: efriedma, mcrosier
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D67367
llvm-svn: 371595
The file was modifiedllvm/lib/Transforms/Scalar/LoopInterchange.cpp
The file was modifiedllvm/test/Transforms/LoopInterchange/phi-ordering.ll
The file was modifiedllvm/test/Transforms/LoopInterchange/perserve-lcssa.ll
The file was addedllvm/test/Transforms/LoopInterchange/pr43176-move-to-new-latch.ll
The file was modifiedllvm/test/Transforms/LoopInterchange/interchangeable.ll
The file was modifiedllvm/test/Transforms/LoopInterchange/reductions-across-inner-and-outer-loop.ll
Commit b250d5ff5e7c5ebd9f3f5da6776ffc91cd01c614 by dave
[LLDB] Do not try to canonicalize gethostname() result
This code is trying too hard and failing. Either the result of
gethostname() is canonical or it is not. If it is not, then trying to
canonicalize it is – for various reasons – a lost cause. For example, a
given machine might have multiple network interfaces with multiple
addresses per interface, each with a different canonical name.
Separably, the result of HostInfoPosix::GetHostname() and latency
thereof shouldn't depend on whether networking is up or down or what
network the machine happened to be attached to at any given moment (like
a laptop that travels between work and home).
https://reviews.llvm.org/D67230
llvm-svn: 371596
The file was modifiedlldb/source/Host/posix/HostInfoPosix.cpp
Commit 73ec745793acdddc505610ae6a1087ada3140ef2 by diogo.sampaio
[ARM] Take into account -mcpu and -mfpu options while handling 'crypto'
feature
Submittin in behalf of krisb (Kristina Bessonova)
<ch.bessonova@gmail.com>
Summary:
'+crypto' means '+aes' and '+sha2' for arch >= ARMv8 when they were not
disabled explicitly. But this is correctly handled only in case of
'-march' option, though the feature may also be specified through the
'-mcpu' or '-mfpu' options. In the following example:
  $ clang -mcpu=cortex-a57 -mfpu=crypto-neon-fp-armv8
'aes' and 'sha2' are disabled that is quite unexpected:
  $ clang -cc1 -triple armv8--- -target-cpu cortex-a57
   <...> -target-feature -sha2 -target-feature -aes -target-feature
+crypto
This exposed by https://reviews.llvm.org/D63936 that makes the 'aes' and
'sha2' features disabled by default.
So, while handling the 'crypto' feature we need to take into account:
- a CPU name, as it provides the information about architecture
   (if no '-march' option specified),
- features, specified by the '-mcpu' and '-mfpu' options.
Reviewers: SjoerdMeijer, ostannard, labrinea, dnsampaio
Reviewed By: dnsampaio
Subscribers: ikudrin, javed.absar, kristof.beyls, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66018
Author: krisb llvm-svn: 371597
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.cpp
The file was modifiedclang/test/Driver/arm-features.c
Commit 57256af307ab7bdf42c47da019a1a288b9f9451a by gribozavr
Revert "clang-misexpect: Profile Guided Validation of Performance
Annotations in LLVM"
This reverts commit r371584. It introduced a dependency from compiler-rt
to llvm/include/ADT, which is problematic for multiple reasons.
One is that it is a novel dependency edge, which needs cross-compliation
machinery for llvm/include/ADT (yes, it is true that right now
compiler-rt included only header-only libraries, however, if we allow
compiler-rt to depend on anything from ADT, other libraries will
eventually get used).
Secondly, depending on ADT from compiler-rt exposes ADT symbols from
compiler-rt, which would cause ODR violations when Clang is built with
the profile library.
llvm-svn: 371598
The file was modifiedllvm/include/llvm/IR/FixedMetadataKinds.def
The file was removedclang/test/Profile/Inputs/misexpect-branch-nonconst-expect-arg.proftext
The file was removedclang/test/Profile/Inputs/misexpect-switch-default-only.proftext
The file was removedclang/test/Profile/misexpect-switch-default.c
The file was removedllvm/lib/Transforms/Utils/MisExpect.cpp
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was removedclang/test/Profile/misexpect-branch-cold.c
The file was modifiedllvm/lib/IR/DiagnosticInfo.cpp
The file was modifiedllvm/test/ThinLTO/X86/lazyload_metadata.ll
The file was modifiedclang/include/clang/Basic/DiagnosticFrontendKinds.td
The file was removedclang/test/Profile/misexpect-switch-nonconst.c
The file was removedcompiler-rt/lib/profile/xxhash.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was removedclang/test/Profile/Inputs/misexpect-switch-default.proftext
The file was removedclang/test/Profile/Inputs/misexpect-switch.proftext
The file was modifiedllvm/include/llvm/IR/MDBuilder.h
The file was removedclang/test/Profile/misexpect-branch-nonconst-expected-val.c
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was removedclang/test/Profile/misexpect-branch-unpredictable.c
The file was modifiedllvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
The file was removedllvm/test/Transforms/PGOProfile/misexpect-switch.ll
The file was removedllvm/test/Transforms/PGOProfile/misexpect-branch-unpredictable.ll
The file was modifiedllvm/include/llvm/IR/DiagnosticInfo.h
The file was modifiedllvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
The file was removedllvm/test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext
The file was removedclang/test/Profile/misexpect-switch.c
The file was removedllvm/test/Transforms/PGOProfile/misexpect-branch.ll
The file was removedllvm/test/Transforms/PGOProfile/misexpect-switch-default.ll
The file was removedclang/test/Profile/Inputs/misexpect-branch.proftext
The file was removedclang/test/Profile/misexpect-branch.c
The file was removedllvm/test/Transforms/PGOProfile/misexpect-branch-correct.ll
The file was removedllvm/test/Transforms/PGOProfile/misexpect-branch-stripped.ll
The file was removedllvm/test/Transforms/PGOProfile/Inputs/misexpect-branch-correct.proftext
The file was removedllvm/include/llvm/Transforms/Utils/MisExpect.h
The file was removedcompiler-rt/lib/profile/xxhash.c
The file was removedclang/test/Profile/misexpect-switch-only-default-case.c
The file was removedllvm/test/Transforms/PGOProfile/Inputs/misexpect-branch.proftext
The file was removedclang/test/Profile/Inputs/misexpect-switch-nonconst.proftext
The file was removedllvm/test/Transforms/PGOProfile/Inputs/misexpect-switch-correct.proftext
The file was modifiedllvm/test/Transforms/LowerExpectIntrinsic/basic.ll
The file was modifiedclang/lib/CodeGen/CodeGenAction.cpp
The file was modifiedllvm/lib/IR/MDBuilder.cpp
Commit 3a4781bbf4f39a25562b4c61c9a9ab2483a96b41 by kkleine
[LLDB][ELF] Load both, .symtab and .dynsym sections
Summary: This change ensures that the .dynsym section will be parsed
even when there's already is a .symtab.
It is motivated because of minidebuginfo
(https://sourceware.org/gdb/current/onlinedocs/gdb/MiniDebugInfo.html#MiniDebugInfo).
There it says:
    Keep all the function symbols not already in the dynamic symbol
table.
That means the .symtab embedded inside the .gnu_debugdata does NOT
contain the symbols from .dynsym. But in order to put a breakpoint on
all symbols we need to load both. I hope this makes sense.
My other patch D66791 implements support for minidebuginfo, that's why I
need this change.
Reviewers: labath, espindola, alexshap
Subscribers: JDevlieghere, emaste, arichardson, MaskRay, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D67390
llvm-svn: 371599
The file was addedlldb/lit/Modules/ELF/Inputs/load-from-dynsym-alone.c
The file was addedlldb/lit/Modules/ELF/Inputs/load-symtab-and-dynsym.c
The file was modifiedlldb/lit/helper/toolchain.py
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
The file was addedlldb/lit/Modules/ELF/load-symtab-and-dynsym.test
The file was addedlldb/lit/Modules/ELF/load-from-dynsym-alone.test
Commit 813f05915d29904878d926f9849ca3dbe78096af by kkleine
[LLDB][ELF] Fixup for comments in D67390
llvm-svn: 371600
The file was modifiedlldb/lit/Modules/ELF/load-symtab-and-dynsym.test
The file was modifiedlldb/lit/Modules/ELF/load-from-dynsym-alone.test
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
Commit e79381c3f7a6da15dc632ecf02ab38805bf2761a by flo
[LoopInterchange] Drop unused splitInnerLoopHeader declaration.
llvm-svn: 371601
The file was modifiedllvm/lib/Transforms/Scalar/LoopInterchange.cpp
Commit 4dae283cd3e74f0ccacac14b3080a321cee740b3 by david.bolvansky
[InstCombine] Fixed handling of isOpNewLike (PR11748)
llvm-svn: 371602
The file was modifiedllvm/test/Transforms/InstCombine/deref-alloc-fns.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Commit 57ebb50a0ad4585976b55a81e76657cad5d27bef by david.bolvansky
[NFC] Fixed test
llvm-svn: 371603
The file was modifiedllvm/test/Transforms/InstCombine/malloc-free-delete.ll
Commit af5ba2873f5e9cd5c64d59fd3f13546815ab7fc1 by david.bolvansky
[NFC] Updated objsize-64.ll test
llvm-svn: 371604
The file was modifiedllvm/test/Transforms/InstCombine/objsize-64.ll
Commit 3240ad4ced0d3223149b72a4fc2a4d9b67589427 by david.bolvansky
[Diagnostics] Add -Wsizeof-array-div
Summary: Clang version of https://www.viva64.com/en/examples/v706/
Reviewers: rsmith
Differential Revision: https://reviews.llvm.org/D67287
llvm-svn: 371605
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was addedclang/test/Sema/div-sizeof-array.cpp
Commit e0d9a0bd59d8ece9662c4ad618398ddcfec8d93f by llvm-dev
Fix -Wdocumentation warning - void function doesn't need a @returns.
NFCI.
llvm-svn: 371606
The file was modifiedllvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp
Commit d811d9115b0b2d004a568e8ebdb37ba0ea6397d1 by simon
[mips][msa] Fix infinite loop for mips.nori.b intrinsic
When value of immediate in `mips.nori.b` is 255 (which has all ones in
binary form as 8bit integer) DAGCombiner and Legalizer would fall in an
infinite loop. DAGCombiner would try to simplify `or %value, -1` by
turning `%value` into UNDEF. Legalizer will turn it back into
`Constant<0>` which would then be again turned into UNDEF by
DAGCombiner. To avoid this loop we make UNDEF legal for MSA int types on
Mips.
Patch by Mirko Brkusanin.
Differential Revision: https://reviews.llvm.org/D67280
llvm-svn: 371607
The file was addedllvm/test/CodeGen/Mips/msa/nori.b.ll
The file was modifiedllvm/lib/Target/Mips/MipsSEISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Mips/cconv/vector.ll
The file was modifiedllvm/test/CodeGen/Mips/msa/2r_vector_scalar.ll
Commit 48904e9452de81375bd55d830d08e51cc8f2ec7e by gchatelet
[Alignment] Use llvm::Align in MachineFunction and TargetLowering -
fixes mir parsing
Summary: This catches malformed mir files which specify alignment as
log2 instead of pow2. See https://reviews.llvm.org/D65945 for reference,
This is patch is part of a series to introduce an Alignment type. See
this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: MatzeB, qcolombet, dschuff, arsenm, sdardis, nemanjai,
jvesely, nhaehnle, hiraditya, kbarton, asb, rbar, johnrusso, simoncook,
apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones,
atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei,
jsji, Petar.Avramovic, asbirlea, s.egerton, pzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67433
llvm-svn: 371608
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-load-store-vector-of-ptr.mir
The file was modifiedllvm/test/CodeGen/X86/domain-reassignment.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/observer-change-crash.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-select.mir
The file was modifiedllvm/test/CodeGen/Mips/longbranch/branch-limits-int-micromipsr6.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/icmp.mir
The file was modifiedllvm/test/CodeGen/X86/avx512f-256-set0.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/add.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-sub-v256.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-blsi.mir
The file was modifiedllvm/test/CodeGen/X86/pre-coalesce.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/memory-legalizer-multiple-mem-operands-nontemporal-1.mir
The file was modifiedllvm/test/CodeGen/Mips/instverify/dextu-pos.mir
The file was modifiedllvm/test/CodeGen/Mips/instverify/ext-size.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/revert-non-header.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/global_address_pic.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/zextLoad_and_sextLoad.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-ldaxr-intrin.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/constants.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-mul-v512.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-or-scalar.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/regbank-fma.mir
The file was modifiedllvm/test/CodeGen/ARM/fp16-litpool2-arm.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/jump_table_and_brjt.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/load.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/fp16-copy-gpr.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/stack_args.mir
The file was modifiedllvm/test/CodeGen/MIR/AArch64/return-address-signing.mir
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WinException.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-block-addr.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86_64-select-ptrtoint.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/multiple-param-dbg-value-entry.mir
The file was modifiedllvm/test/CodeGen/Thumb/PR36658.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-add-v256.mir
The file was modifiedllvm/test/CodeGen/Mips/instverify/dextu-size.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-unmerge-vec256.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/long_ambiguous_chain_s64.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/truncStore_and_aExtLoad.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/flat-load-clustering.mir
The file was modifiedllvm/test/CodeGen/PowerPC/remove-redundant-load-imm.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/store.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-blockaddress.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-constant.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/live-debug-vars-unused-arg-debugonly.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/fcmp.mir
The file was modifiedllvm/test/CodeGen/PowerPC/collapse-rotates.mir
The file was modifiedllvm/test/CodeGen/PowerPC/block-placement.mir
The file was modifiedllvm/test/CodeGen/Mips/instverify/ext-pos-size.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-xor-scalar.mir
The file was modifiedllvm/test/CodeGen/X86/avoid-sfb-kill-flags.mir
The file was modifiedllvm/test/CodeGen/X86/dbg-changes-codegen-branch-folding2.mir
The file was modifiedllvm/test/CodeGen/X86/sjlj-shadow-stack-liveness.mir
The file was modifiedllvm/test/CodeGen/AArch64/spill-undef.mir
The file was modifiedllvm/test/CodeGen/X86/avoid-sfb-offset.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/inttoptr_and_ptrtoint.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/regbankselect-AVX2.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-brcond.mir
The file was modifiedllvm/test/CodeGen/SystemZ/debuginstr-02.mir
The file was modifiedllvm/test/CodeGen/PowerPC/setcr_bc3.mir
The file was modifiedllvm/test/CodeGen/MIR/X86/diexpr-win32.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-fptrunc-scalar.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-add.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-cos.mir
The file was modifiedllvm/test/CodeGen/Hexagon/bank-conflict.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-ext.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/localizer-in-O0-pipeline.mir
The file was modifiedllvm/test/CodeGen/ARM/cmp2-peephole-thumb.mir
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/multiblock-massive.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/store.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/fold-fp-select.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/float_constants.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-fdiv-scalar.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-load-store.mir
The file was modifiedllvm/test/CodeGen/PowerPC/tls_get_addr_fence2.mir
The file was modifiedllvm/test/CodeGen/Mips/longbranch/branch-limits-int-microMIPS.mir
The file was modifiedllvm/test/CodeGen/AArch64/wineh2.mir
The file was modifiedllvm/test/CodeGen/MIR/AArch64/swp.mir
The file was modifiedllvm/test/CodeGen/Mips/instverify/dext-pos.mir
The file was modifiedllvm/lib/Target/Mips/MipsAsmPrinter.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-store.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-add.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/fabs.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-vector-icmp.mir
The file was modifiedllvm/test/CodeGen/AArch64/branch-relax-block-size.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-memcpy.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/opt-fold-compare.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-log2.mir
The file was modifiedllvm/test/CodeGen/Mips/longbranch/branch-limits-fp-micromips.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/fold-imm-f16-f32.mir
The file was modifiedllvm/test/CodeGen/AArch64/wineh-frame4.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/global_address.mir
The file was modifiedllvm/test/CodeGen/PowerPC/tls_get_addr_fence1.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86-legalize-srem.mir
The file was modifiedllvm/test/CodeGen/X86/leaFixup32.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86-select-udiv.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-unmerge-vec512.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/sub.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-or-scalar.mir
The file was modifiedllvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-frint-nofp16.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/live-debug-values-spill.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/fptosi_and_fptoui.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-ext-x86-64.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86-select-sdiv.mir
The file was modifiedllvm/test/CodeGen/Lanai/peephole-compare.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-intrinsic-trunc.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/hazard.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/regbankselect-X32.mir
The file was modifiedllvm/test/CodeGen/X86/avoid-sfb-g-no-change3.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-add-v256.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-fadd-scalar.mir
The file was modifiedllvm/test/CodeGen/ARM/vldmia-sched.mir
The file was modifiedllvm/test/CodeGen/AArch64/wineh-frame1.mir
The file was modifiedllvm/test/CodeGen/PowerPC/setcr_bc.mir
The file was modifiedllvm/test/CodeGen/X86/stack-folding-adx.mir
The file was modifiedllvm/test/DebugInfo/ARM/cfi-eof-prologue.mir
The file was modifiedllvm/test/CodeGen/ARM/fp16-litpool-arm.mir
The file was modifiedllvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-uaddo.mir
The file was modifiedllvm/test/CodeGen/ARM/fp16-litpool3-arm.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/bitwise.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-insert-vec256.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86-legalize-sdiv.mir
The file was modifiedllvm/test/CodeGen/AArch64/wineh-frame7.mir
The file was modifiedllvm/test/CodeGen/Mips/instverify/dextm-pos-size.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-atomic-load-store.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/shrink-vop3-carry-out.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-jump-table-brjt.mir
The file was modifiedllvm/test/CodeGen/ARM/dbg-range-extension.mir
The file was modifiedllvm/test/CodeGen/AArch64/dont-shrink-wrap-stack-mayloadorstore.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/fix-vgpr-copies.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/inttoptr_and_ptrtoint.mir
The file was modifiedllvm/test/CodeGen/ARM/ifcvt-diamond-unanalyzable-common.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-GV-64.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbg-stack-value-range.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/ceil_and_floor.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/jump_table_and_brjt.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/gloal_address_pic.mir
The file was modifiedllvm/lib/CodeGen/BranchRelaxation.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-vector-shift.mir
The file was modifiedllvm/test/CodeGen/PowerPC/shrink-wrap.mir
The file was modifiedllvm/test/CodeGen/X86/pr30821.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/regbankselect-AVX512.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/add.mir
The file was modifiedllvm/test/CodeGen/Mips/mirparser/target-flags-static-tls.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/branch.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86_64-legalize-fcmp.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/avoid-matchtable-crash.mir
The file was modifiedllvm/test/DebugInfo/X86/live-debug-values-constprop.mir
The file was modifiedllvm/test/CodeGen/AArch64/movimm-wzr.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/truncStore_and_aExtLoad.mir
The file was modifiedllvm/test/CodeGen/Mips/instverify/ins-size.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86_64-legalize-fptosi.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-frint.mir
The file was modifiedllvm/test/DebugInfo/MIR/Mips/live-debug-values-reg-copy.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86_64-select-sdiv.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/wqm.mir
The file was modifiedllvm/test/CodeGen/ARM/vldm-liveness.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/bitwise.mir
The file was modifiedllvm/test/CodeGen/AArch64/wineh-frame5.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-ext.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/float_constants.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-frint.mir
The file was modifiedllvm/test/CodeGen/ARM/fp16-litpool-thumb.mir
The file was modifiedllvm/test/CodeGen/ARM/single-issue-r52.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-sub-v256.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/mips-prelegalizer-combiner/zextLoad_and_sextLoad.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/livedebugvars-crossbb-interval.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-cmp.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-sub.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/regbank-intrinsic-trunc.mir
The file was modifiedllvm/test/CodeGen/Thumb2/tbb-removeadd.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-mul-v128.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-block-addr.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/float_args.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/store-addressing-modes.mir
The file was modifiedllvm/test/CodeGen/AArch64/jump-table-compress.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-memop-scalar-unordered.mir
The file was modifiedllvm/test/CodeGen/SystemZ/postra-sched-expandedops.mir
The file was modifiedllvm/test/CodeGen/Mips/instverify/dinsm-pos.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-inttoptr-xfail-1.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/sitofp_and_uitofp.mir
The file was modifiedllvm/test/CodeGen/Mips/mirparser/target-flags-pic-o32.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/trunc.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/phi.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/rem_and_div.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-trap.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-log.mir
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vpt-block7.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-intrinsic-trunc.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-int-ext.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-shufflevec-undef-mask-elt.mir