profile
viewpoint

push eventapple/llvm-project

Jonas Devlieghere

commit sha e6aba2ffcc757c682a109bcf1591b8e1a578d08c

[llvm] Make obj2yaml and yaml2obj LLVM utilities instead of tools For testing purposes I need a way to build and install FileCheck and yaml2obj. I had to choose between making FileCheck an LLVM tool and making obj2yaml and yaml2obj utilities. I think the distinction is rather arbitrary but my understanding is that tools are things meant for the toolchain while utilities are more used for things like testing, which is the case here. The functional difference is that these tools now end up in the ${LLVM_UTILS_INSTALL_DIR}, which defaults to the ${LLVM_TOOLS_INSTALL_DIR}. Unless you specified a different value or you added obj2yaml and yaml2obj to ${LLVM_TOOLCHAIN_TOOLS}, this patch shouldn't change anything. Differential revision: https://reviews.llvm.org/D89357 (cherry picked from commit 97b8e2c1f063529125a8d1604d2745878c016061)

view details

Jonas Devlieghere

commit sha 5ec381467b187c060595442dfb1756e38c6b1d9d

Merge pull request #1998 from JDevlieghere/🍒/bastille/97b8e2c1f063 [llvm] Make obj2yaml and yaml2obj LLVM utilities instead of tools

view details

git apple-llvm automerger

commit sha e0ff7577a5ca2dfc5b95cc1d7b8e6144e48de878

Merge commit '5ec381467b18' from apple/stable/20200714 into swift/main

view details

push time in a minute

push eventapple/llvm-project

Fangrui Song

commit sha 38b632c16e0fdfd5f5a69bcfd4aecf6f69ea0186

[ELF] --gdb-index: support --icf={safe,all} The combination has not been tested before. In the case of ICF, `e.section->getVA(0)` equals the start address of the output section. This can cause incorrect overlapping with the actual function at the start of the output section and potentially trigger a GDB internal error in `dw2_find_pc_sect_compunit_symtab` (presumably because: if a short address range incorrectly starts at the start address of the output section, GDB may pick it instead of the correct longer address range. When mapping an address within the long address range but out of the scope of the short address range, the routine may find nothing - while the code asserts that it can find something). Note that in the case of ICF there may be duplicate address range entries, but GDB appears to be fine with them. Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D89751

view details

Martin Storsjö

commit sha b30e42922aeaeb70efbfcf7c2132dae21239a023

[libcxx] [test] Avoid conflicting definitions of _CRT_SECURE_NO_WARNINGS This is defined both by libcxx/utils/libcxx/test/config.py (for any windows target) and msvc_stdlib_force_include.h (when testing specifically the MSVC C++ library). The command line define (-D_CRT_SECURE_NO_WARNINGS) defines it to the value 1; change the header define to match that. Keeping both instances, to keep the fix for cases when not building in cases that don't use config.py. Also remove a comment about whether this can be removed; it can't at least be removed altogether - doing that breaks a number of tests that otherwise succeed. Differential Revision: https://reviews.llvm.org/D89588

view details

Martin Storsjö

commit sha 87d7c0009265951f988ea551203500ccfa141b15

[libcxx] [test] Fix path.modifiers/make_preferred for windows Use p.string() instead of p.native() for comparing with the expected value. Explicitly list the expected values for both posix and windos, even if the operation is an identity operation on posix. Differential Revision: https://reviews.llvm.org/D89532

view details

push time in 4 minutes

push eventapple/llvm-project

Jianzhou Zhao

commit sha cc07fbe37dc82eeb3e6261a4c54f44b22cbb531d

Release pages to OS when setting 0 label This is a follow up patch of https://reviews.llvm.org/D88755. When set 0 label for an address range, we can release pages within the corresponding shadow address range to OS, and set only addresses outside the pages to be 0. Reviewed-by: morehouse, eugenis Differential Revision: https://reviews.llvm.org/D89199

view details

push time in 23 minutes

push eventapple/llvm-project

Sean Silva

commit sha f4abd3ed6d95e66470a0c8cc132e61782896527a

[mlir] Add std.dynamic_tensor_from_elements bufferization. It's unfortunate that this requires adding a dependency on scf dialect to std bufferization (and hence all of std transforms). This is a bit perilous. We might want a lib/Transforms/Bufferize/ with a separate bufferization library per dialect? Differential Revision: https://reviews.llvm.org/D89667

view details

git apple-llvm automerger

commit sha 9eab42ac1485d04c24ee95ebbece661506d2da6b

Merge commit 'f4abd3ed6d95' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 011393f6720fd814d820dd6ed7757aca89a0938a

Merge commit '9eab42ac1485' from apple/main into swift/next

view details

Sean Silva

commit sha 7885bf8b78e21a29e27c598e0aed602de8f15260

[mlir][DialectConversion] Fix recursive `clone` calls. The framework was not tracking ops created in any regions of the cloned op. Differential Revision: https://reviews.llvm.org/D89668

view details

Sean Silva

commit sha 57211fd239a3a3efe89f0b7091f86a167f8301ff

[mlir] Use dynamic_tensor_from_elements in shape.broadcast conversion Now, convert-shape-to-std doesn't internally create memrefs, which was previously a bit of a layering violation. The conversion to memrefs should logically happen as part of bufferization. Differential Revision: https://reviews.llvm.org/D89669

view details

git apple-llvm automerger

commit sha c330fc8bbddf2f7b42ba5bc1fe97c8fc0c6e8b13

Merge commit '7885bf8b78e2' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 39fc79a04796b384ec81a3638f7c7fd0fd1d66ad

Merge commit '57211fd239a3' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha fd907e25eb07628450df846eb0b5c2761f40864d

Merge commit 'c330fc8bbddf' from apple/main into swift/next

view details

git apple-llvm automerger

commit sha 1a2bc543165edfdfaaeb88d5e81bd13c35474a0a

Merge commit '39fc79a04796' from apple/main into swift/next

view details

push time in 26 minutes

push eventapple/llvm-project

Yaxun (Sam) Liu

commit sha 7e561b62d2f2140fcacfcdf78c42f01181fe0df5

[NFC] Refactor DiagnosticBuilder and PartialDiagnostic PartialDiagnostic misses some functions compared to DiagnosticBuilder. This patch refactors DiagnosticBuilder and PartialDiagnostic, extracts the common functionality so that the streaming << operators are shared. Differential Revision: https://reviews.llvm.org/D84362

view details

Yaxun (Sam) Liu

commit sha 52bcd691cb1992187d022161e95977a9db371f51

Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" This recommits 7f1f89ec8d9944559042bb6d3b1132eabe3409de and 40df06cdafc010002fc9cfe1dda73d689b7d27a6 with bug fixes for memory sanitizer failure and Tensile build failure.

view details

git apple-llvm automerger

commit sha b211a67e16939d821c2858885db2541950cd1d9d

Merge commit '7e561b62d2f2' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 0115c94ceb5c78e92ce14a520f2627dbb619c704

Merge commit 'b211a67e1693' from apple/main into swift/next

view details

Sergei Trofimovich

commit sha 1eb812e06d0f02382f4e91bbc9b74029a7635bd6

[VE] Fix initializer visibility Before the change attempt to link libLTO.so against shared LLVM library failed as: ``` [ 76%] Linking CXX shared library ../../lib/libLTO.so ... /usr/bin/cmake -E cmake_link_script CMakeFiles/LTO.dir/link.txt --verbose=1 c++ -o ...libLTO.so.12git ...ibLLVM-12git.so ld: CMakeFiles/LTO.dir/lto.cpp.o: in function `llvm::InitializeAllTargetInfos()': include/llvm/Config/Targets.def:31: undefined reference to `LLVMInitializeVETargetInfo' ``` It happens because on linux llvm build system sets default symbol visibility to "hidden". The fix is to set visibility back to "default" for exported APIs with LLVM_EXTERNAL_VISIBILITY. Bug: https://bugs.llvm.org/show_bug.cgi?id=47847 Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D89633

view details

git apple-llvm automerger

commit sha b1d2562124ab4c79f397593e496b5c657cd9bdfc

Merge commit '1eb812e06d0f' from llvm.org/master into apple/main

view details

Alex Lorenz

commit sha bc9ec17528a8d5b8af2e0db83bd245642297c8f7

Merge commit '52bcd691cb19' from llvm.org/master into apple/main Conflicts: clang/lib/Sema/SemaStmt.cpp

view details

git apple-llvm automerger

commit sha b4aac86c839569f6e83bc91937c3482594257873

Merge commit '52bcd691cb19' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 3ad4dde05ce82d18d885385fdffb122815a62472

Merge commit 'b4aac86c8395' from apple/main into swift/next

view details

git apple-llvm automerger

commit sha 5f4a38288e9d2d60f88d1cb5ff522df5bded0d0e

Merge commit 'b1d2562124ab' from apple/main into swift/next

view details

Jordan Rupprecht

commit sha 8a377f1e3cf4c26f609b1204f9ce1a340f7fb8d4

[NFC] Inline assertion-only variable

view details

git apple-llvm automerger

commit sha f3ddea338a55c256d936b3aa968d4cb97369882b

Merge commit '8a377f1e3cf4' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 6f23fcac124ae6d017aaffc5b0b48a6cdd20d193

Merge commit 'f3ddea338a55' from apple/main into swift/next

view details

Walter Erquinigo

commit sha 8a203bb22d161d23c6b1195f85ae025e87f03bae

[trace] rename ThreadIntelPT into TraceTrace Renamed ThreadIntelPT to TreaceThread, making it a top-level class. I noticed that this class can and shuld work for any trace plugin and there's nothing intel-pt specific in it. With that TraceThread change, I was able to move most of the json file parsing logic to the base class TraceSessionFileParser, which makes adding new plug-ins easier. This originally was part of https://reviews.llvm.org/D89283 Differential Revision: https://reviews.llvm.org/D89408

view details

git apple-llvm automerger

commit sha c46fe353ff87562238b0690f61be850f970b9445

Merge commit '8a203bb22d16' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha d915cec3d7c346167b2145058c99b8abd4734089

Merge commit 'c46fe353ff87' from apple/main into swift/next

view details

Stanislav Mekhanoshin

commit sha 6ddadf99018bc5ef91dc57173eb0b8b42a7c6213

[AMDGPU] flat scratch ST addressing mode on gfx10 GFX10 enables third addressing mode for flat scratch instructions, an ST mode. In that mode both register operands are omitted and only swizzled offset is used in addition to flat_scratch base. Differential Revision: https://reviews.llvm.org/D89501

view details

git apple-llvm automerger

commit sha 6943d46cc07b90b69783341c9c844c4f701bf807

Merge commit '6ddadf99018b' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 058e667578ca47cc8f66f450ce28df8818dfa49c

Merge commit '6943d46cc07b' from apple/main into swift/next

view details

Volodymyr Sapsai

commit sha 4000c9ee18ecebe3ff0f197af8c1fb434ad986e5

Reland "[Modules] Add stats to measure performance of building and loading modules." Measure amount of high-level or fixed-cost operations performed during building/loading modules and during header search. High-level operations like building a module or processing a .pcm file are motivated by previous issues where clang was re-building modules or re-reading .pcm files unnecessarily. Fixed-cost operations like `stat` calls are tracked because clang cannot change how long each operation takes but it can perform fewer of such operations to improve the compile time. Also tracking such stats over time can help us detect compile-time regressions. Added stats are more stable than the actual measured compilation time, so expect the detected regressions to be less noisy. On relanding drop stats in MemoryBuffer.cpp as their value is pretty low but affects a lot of clients and many of those aren't interested in modules and header search. rdar://problem/55715134 Reviewed By: aprantl, bruno Differential Revision: https://reviews.llvm.org/D86895

view details

push time in 35 minutes

push eventapple/llvm-project

Sean Silva

commit sha f4abd3ed6d95e66470a0c8cc132e61782896527a

[mlir] Add std.dynamic_tensor_from_elements bufferization. It's unfortunate that this requires adding a dependency on scf dialect to std bufferization (and hence all of std transforms). This is a bit perilous. We might want a lib/Transforms/Bufferize/ with a separate bufferization library per dialect? Differential Revision: https://reviews.llvm.org/D89667

view details

git apple-llvm automerger

commit sha 9eab42ac1485d04c24ee95ebbece661506d2da6b

Merge commit 'f4abd3ed6d95' from llvm.org/master into apple/main

view details

Sean Silva

commit sha 7885bf8b78e21a29e27c598e0aed602de8f15260

[mlir][DialectConversion] Fix recursive `clone` calls. The framework was not tracking ops created in any regions of the cloned op. Differential Revision: https://reviews.llvm.org/D89668

view details

Sean Silva

commit sha 57211fd239a3a3efe89f0b7091f86a167f8301ff

[mlir] Use dynamic_tensor_from_elements in shape.broadcast conversion Now, convert-shape-to-std doesn't internally create memrefs, which was previously a bit of a layering violation. The conversion to memrefs should logically happen as part of bufferization. Differential Revision: https://reviews.llvm.org/D89669

view details

git apple-llvm automerger

commit sha c330fc8bbddf2f7b42ba5bc1fe97c8fc0c6e8b13

Merge commit '7885bf8b78e2' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 39fc79a04796b384ec81a3638f7c7fd0fd1d66ad

Merge commit '57211fd239a3' from llvm.org/master into apple/main

view details

push time in 36 minutes

push eventapple/llvm-project

Florian Hahn

commit sha 2e580102082293f9f80160bc86413e401c566d8f

[DSE] Do not scan users of memory terminators for further reads. isMemTerminator checks if the current def is a memory terminator that terminates the memory pointed to by DefLoc. We do not have to add any of their users to the worklist, because the follow-on users cannot read the memory in question. This leads to more stores eliminated in the presence of lifetime calls. Previously we added the users of those intrinsics to the worklist, limiting elimination. In terms of removed stores, this gives a nice boost on some benchmarks (MultiSource/SPEC2000/SPEC2006 on X86 with -flto -O3): Same hash: 205 (filtered out) Remaining: 32 Metric: dse.NumFastStores Program base patch diff test-suite...000/197.parser/197.parser.test 4.00 8.00 100.0% test-suite...rolangs-C++/family/family.test 4.00 7.00 75.0% test-suite...marks/7zip/7zip-benchmark.test 1722.00 2189.00 27.1% test-suite...CFP2000/177.mesa/177.mesa.test 30.00 38.00 26.7% test-suite :: External/Nurbs/nurbs.test 44.00 49.00 11.4% test-suite...lications/sqlite3/sqlite3.test 115.00 128.00 11.3% test-suite...006/447.dealII/447.dealII.test 2715.00 3013.00 11.0% test-suite...ProxyApps-C++/CLAMR/CLAMR.test 237.00 261.00 10.1% test-suite...tions/lambda-0.1.3/lambda.test 40.00 44.00 10.0% test-suite...3.xalancbmk/483.xalancbmk.test 1366.00 1475.00 8.0% test-suite...abench/jpeg/jpeg-6a/cjpeg.test 13.00 14.00 7.7% test-suite...oxyApps-C++/miniFE/miniFE.test 43.00 46.00 7.0% test-suite...lications/ClamAV/clamscan.test 230.00 246.00 7.0% test-suite...006/450.soplex/450.soplex.test 284.00 299.00 5.3% test-suite...nsumer-jpeg/consumer-jpeg.test 21.00 22.00 4.8%

view details

push time in 44 minutes

push eventapple/llvm-project

Yaxun (Sam) Liu

commit sha 7e561b62d2f2140fcacfcdf78c42f01181fe0df5

[NFC] Refactor DiagnosticBuilder and PartialDiagnostic PartialDiagnostic misses some functions compared to DiagnosticBuilder. This patch refactors DiagnosticBuilder and PartialDiagnostic, extracts the common functionality so that the streaming << operators are shared. Differential Revision: https://reviews.llvm.org/D84362

view details

Yaxun (Sam) Liu

commit sha 52bcd691cb1992187d022161e95977a9db371f51

Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" This recommits 7f1f89ec8d9944559042bb6d3b1132eabe3409de and 40df06cdafc010002fc9cfe1dda73d689b7d27a6 with bug fixes for memory sanitizer failure and Tensile build failure.

view details

git apple-llvm automerger

commit sha b211a67e16939d821c2858885db2541950cd1d9d

Merge commit '7e561b62d2f2' from llvm.org/master into apple/main

view details

Sergei Trofimovich

commit sha 1eb812e06d0f02382f4e91bbc9b74029a7635bd6

[VE] Fix initializer visibility Before the change attempt to link libLTO.so against shared LLVM library failed as: ``` [ 76%] Linking CXX shared library ../../lib/libLTO.so ... /usr/bin/cmake -E cmake_link_script CMakeFiles/LTO.dir/link.txt --verbose=1 c++ -o ...libLTO.so.12git ...ibLLVM-12git.so ld: CMakeFiles/LTO.dir/lto.cpp.o: in function `llvm::InitializeAllTargetInfos()': include/llvm/Config/Targets.def:31: undefined reference to `LLVMInitializeVETargetInfo' ``` It happens because on linux llvm build system sets default symbol visibility to "hidden". The fix is to set visibility back to "default" for exported APIs with LLVM_EXTERNAL_VISIBILITY. Bug: https://bugs.llvm.org/show_bug.cgi?id=47847 Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D89633

view details

Alex Lorenz

commit sha bc9ec17528a8d5b8af2e0db83bd245642297c8f7

Merge commit '52bcd691cb19' from llvm.org/master into apple/main Conflicts: clang/lib/Sema/SemaStmt.cpp

view details

git apple-llvm automerger

commit sha b4aac86c839569f6e83bc91937c3482594257873

Merge commit '52bcd691cb19' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha b1d2562124ab4c79f397593e496b5c657cd9bdfc

Merge commit '1eb812e06d0f' from llvm.org/master into apple/main

view details

Jordan Rupprecht

commit sha 8a377f1e3cf4c26f609b1204f9ce1a340f7fb8d4

[NFC] Inline assertion-only variable

view details

git apple-llvm automerger

commit sha f3ddea338a55c256d936b3aa968d4cb97369882b

Merge commit '8a377f1e3cf4' from llvm.org/master into apple/main

view details

Walter Erquinigo

commit sha 8a203bb22d161d23c6b1195f85ae025e87f03bae

[trace] rename ThreadIntelPT into TraceTrace Renamed ThreadIntelPT to TreaceThread, making it a top-level class. I noticed that this class can and shuld work for any trace plugin and there's nothing intel-pt specific in it. With that TraceThread change, I was able to move most of the json file parsing logic to the base class TraceSessionFileParser, which makes adding new plug-ins easier. This originally was part of https://reviews.llvm.org/D89283 Differential Revision: https://reviews.llvm.org/D89408

view details

git apple-llvm automerger

commit sha c46fe353ff87562238b0690f61be850f970b9445

Merge commit '8a203bb22d16' from llvm.org/master into apple/main

view details

Stanislav Mekhanoshin

commit sha 6ddadf99018bc5ef91dc57173eb0b8b42a7c6213

[AMDGPU] flat scratch ST addressing mode on gfx10 GFX10 enables third addressing mode for flat scratch instructions, an ST mode. In that mode both register operands are omitted and only swizzled offset is used in addition to flat_scratch base. Differential Revision: https://reviews.llvm.org/D89501

view details

git apple-llvm automerger

commit sha 6943d46cc07b90b69783341c9c844c4f701bf807

Merge commit '6ddadf99018b' from llvm.org/master into apple/main

view details

Volodymyr Sapsai

commit sha 4000c9ee18ecebe3ff0f197af8c1fb434ad986e5

Reland "[Modules] Add stats to measure performance of building and loading modules." Measure amount of high-level or fixed-cost operations performed during building/loading modules and during header search. High-level operations like building a module or processing a .pcm file are motivated by previous issues where clang was re-building modules or re-reading .pcm files unnecessarily. Fixed-cost operations like `stat` calls are tracked because clang cannot change how long each operation takes but it can perform fewer of such operations to improve the compile time. Also tracking such stats over time can help us detect compile-time regressions. Added stats are more stable than the actual measured compilation time, so expect the detected regressions to be less noisy. On relanding drop stats in MemoryBuffer.cpp as their value is pretty low but affects a lot of clients and many of those aren't interested in modules and header search. rdar://problem/55715134 Reviewed By: aprantl, bruno Differential Revision: https://reviews.llvm.org/D86895

view details

git apple-llvm automerger

commit sha 7142313e18c4c8ec6f6371d4fa5a3661a4b5e76c

Merge commit '4000c9ee18ec' from llvm.org/master into apple/main

view details

Sean Silva

commit sha e3f5073a961076475c286a39a2cba2bf803eb32c

[mlir] Add some more std bufferize patterns. Add bufferizations for extract_element and tensor_from_elements. Differential Revision: https://reviews.llvm.org/D89594

view details

git apple-llvm automerger

commit sha 8c4aa8db124af29c219f9b22f834fd19d2b18fc9

Merge commit 'e3f5073a9610' from llvm.org/master into apple/main

view details

push time in an hour

push eventapple/llvm-project

Simon Pilgrim

commit sha ec228fbfc0fc56b50bc2aa62b1bac0c1097deefd

[InstCombine] SimplifyDemandedUseBits - replace dyn_cast<ConstantInt> with m_ConstantInt. NFCI.

view details

push time in an hour

push eventapple/llvm-project

Simon Pilgrim

commit sha ce13549761b6a22263e051dda09ef5122435008b

[InstCombine] foldOrOfICmps - use m_Specific instead of explicit comparisons. NFCI.

view details

Jay Foad

commit sha 4913e3627ca2c6aa61299e4d29752471fdc2ccdc

[AMDGPU] Remove unused declaration. NFC. The implementation of this method was removed in D89706.

view details

push time in an hour

push eventapple/llvm-project

Mikhail Maltsev

commit sha 781941183700b52d11b27227e3341385447610fa

[clang] Use SourceLocation as key in hash maps, NFCI The patch adjusts the existing `llvm::DenseMap<unsigned, T>` and `llvm::DenseSet<unsigned>` objects that store source locations, so that they use `SourceLocation` directly instead of `unsigned`. This patch relies on the `DenseMapInfo` trait added in D89719. It also replaces the construction of `SourceLocation` objects from the constants -1 and -2 with calls to the trait's methods `getEmptyKey` and `getTombstoneKey` where appropriate. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D69840

view details

push time in an hour

push eventapple/llvm-project

Hans Wennborg

commit sha 03a5f7ce12e2111c8b7bc5a95cff4c51b516250f

Try to make GCC5 happy about the CfgTraits thing It was failing with: In file included from /work/llvm.monorepo/clang/lib/Analysis/Dominators.cpp:9:0: /work/llvm.monorepo/clang/include/clang/Analysis/Analyses/Dominators.h: At global scope: /work/llvm.monorepo/clang/include/clang/Analysis/Analyses/Dominators.h:111:26: error: specialization of ‘template<class CfgRelatedTypeT> struct llvm::CfgTraitsFor’ in different namespace [-fpermissive] template <> struct llvm::CfgTraitsFor<clang::CFGBlock> { ^ In file included from /work/llvm.monorepo/clang/include/clang/Analysis/Analyses/Dominators.h:21:0, from /work/llvm.monorepo/clang/lib/Analysis/Dominators.cpp:9: /work/llvm.monorepo/llvm/include/llvm/Support/CfgTraits.h:294:44: error: from definition of ‘template<class CfgRelatedTypeT> struct llvm::CfgTraitsFor’ [-fpermissive] template <typename CfgRelatedTypeT> struct CfgTraitsFor; ^

view details

Hans Wennborg

commit sha c76cdeac93380b434349738d96f83d3ffda9869c

Explicitly initialize StreamingDiagnostic in derived class copy ctors To pacify a GCC warning: [1/1] Building CXX object tools/clang/lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o In file included from /work/llvm.monorepo/clang/include/clang/AST/NestedNameSpecifier.h:18:0, from /work/llvm.monorepo/clang/include/clang/AST/Type.h:21, from /work/llvm.monorepo/clang/include/clang/AST/DeclarationName.h:16, from /work/llvm.monorepo/clang/include/clang/AST/DeclBase.h:18, from /work/llvm.monorepo/clang/include/clang/Analysis/AnalysisDeclContext.h:20, from /work/llvm.monorepo/clang/include/clang/Analysis/Analyses/Dominators.h:16, from /work/llvm.monorepo/clang/lib/Analysis/Dominators.cpp:9: /work/llvm.monorepo/clang/include/clang/Basic/Diagnostic.h: In copy constructor ‘clang::DiagnosticBuilder::DiagnosticBuilder(const clang::DiagnosticBuilder&)’: /work/llvm.monorepo/clang/include/clang/Basic/Diagnostic.h:1287:3: warning: base class ‘class clang::StreamingDiagnostic’ should be explicitly initialized in the copy constructor [-Wextra] DiagnosticBuilder(const DiagnosticBuilder &D) { ^ In file included from /work/llvm.monorepo/clang/include/clang/AST/Type.h:29:0, from /work/llvm.monorepo/clang/include/clang/AST/DeclarationName.h:16, from /work/llvm.monorepo/clang/include/clang/AST/DeclBase.h:18, from /work/llvm.monorepo/clang/include/clang/Analysis/AnalysisDeclContext.h:20, from /work/llvm.monorepo/clang/include/clang/Analysis/Analyses/Dominators.h:16, from /work/llvm.monorepo/clang/lib/Analysis/Dominators.cpp:9: /work/llvm.monorepo/clang/include/clang/Basic/PartialDiagnostic.h: In copy constructor ‘clang::PartialDiagnostic::PartialDiagnostic(const clang::PartialDiagnostic&)’: /work/llvm.monorepo/clang/include/clang/Basic/PartialDiagnostic.h:52:3: warning: base class ‘class clang::StreamingDiagnostic’ should be explicitly initialized in the copy constructor [-Wextra] PartialDiagnostic(const PartialDiagnostic &Other) : DiagID(Other.DiagID) { ^

view details

push time in an hour

push eventapple/llvm-project

Louis Dionne

commit sha eaa928b71a090905cb178c22054cdf6aa8eb80cb

[libc++] Explicitly request new/delete in libc++ for Win to ARM Linux builds Since 9b40ee8eb0c1, new/delete must be requested explicitly during the CMake configuration if one wants these definitions to appear in libc++. Differential Revision: https://reviews.llvm.org/D89793

view details

Mikhail Maltsev

commit sha 234c47ae2a8e1877de8c661d5bb862ba952eabf9

[clang][Basic] Make SourceLocation usable as key in hash maps, NFCI This change creates a `DenseMapInfo` trait specialization for the SourceLocation class. The empty key, the tombstone key, and the hash function are identical to `DenseMapInfo<unsigned>`, because we already have hash maps that use raw the representation of `SourceLocation` as a key. The update of existing `DenseMap`s containing raw representation of `SourceLocation`s will be done in a follow-up patch. As an example the patch makes use of the new trait in one instance: clang-tidy/google/UpgradeGoogletestCaseCheck.{h,cpp} Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D89719

view details

push time in 2 hours

push eventapple/llvm-project

Akira Hatanaka

commit sha b78045c2ce2dba9b43c0e48340c2a69e444386ec

Add a C++ test case for https://reviews.llvm.org/D86854 The test case was part of https://reviews.llvm.org/D82999, which was abandoned after https://reviews.llvm.org/D86854 fixed the bug.

view details

push time in 2 hours

push eventapple/swift

Erik Eckstein

commit sha ef73c398bbabd902ec314feaf7b57b36c35e3b2f

tests: fix APINotes/blocks.swift The requirement executable_test is not needed here. It was there for historical reasons. rdar://problem/70400635

view details

swift-ci

commit sha 6b1f6c1ca562f7d0d90b72eb09bb8ea2aa76369b

Merge pull request #34363 from eeckstein/fix-test

view details

push time in 2 hours

PR merged apple/swift

tests: fix APINotes/blocks.swift

The requirement executable_test is not needed here. It was there for historical reasons.

rdar://problem/70400635

+0 -1

1 comment

1 changed file

eeckstein

pr closed time in 2 hours

push eventapple/llvm-project

Nico Weber

commit sha 853553f81b0b5839f623fa0677f5fba8dd742bd1

[gn build] assert clang-format does not depend on AST, Frontend, Sema at gn time To catch things like https://reviews.llvm.org/D69854 and https://reviews.llvm.org/D89708 earlier next time they happen.

view details

Michael Liao

commit sha e7a69158635a30cb673e443a3b95ece359c72cc1

Revert "[clang] Fix warnings on the missing of explicitly copy constructor on the base class. NFC." This reverts commit 1ed506deaddb41870d22f5b48d52ba710e8d6c00.

view details

push time in 2 hours

push eventapple/llvm-project

Nico Weber

commit sha abef77c3ddac0d5745b794185d22bc014672ead7

[gn build] port a2214757e2ca more

view details

Nico Weber

commit sha f67edf56420132285392f7e99afae3cd406e5586

[gn build] belatedly port 3ddac7e56363

view details

push time in 2 hours

push eventapple/llvm-project

Simon Pilgrim

commit sha bf540a64f3fc81cf0f14b5a15765f1ba9909d93e

[InstCombine] Add (icmp ult (X + CA), C1) | (icmp eq X, C2) -> (icmp ule (X + CA), C1) test coverage Add both commuted variants and vector uniform/nonuniform examples

view details

push time in 2 hours

push eventapple/llvm-project

Michael Liao

commit sha 2a0e4d1c01c93bc326957c0ebf2a3203dfb145d9

[amdgpu] Enhance AMDGPU AA. - In general, a generic point may alias to pointers in all other address spaces. However, for certain cases enforced by the programming model, we may found a generic point won't alias to pointers to local objects. * When a generic pointer is loaded from the constant address space, it could only be a pointer to the GLOBAL or CONSTANT address space. Thus, it won't alias to pointers to the PRIVATE or LOCAL address space. * When a generic pointer is passed as a kernel argument, it also could only be a pointer to the GLOBAL or CONSTANT address space. Thus, it also won't alias to pointers to the PRIVATE or LOCAL address space. Differential Revision: https://reviews.llvm.org/D89525

view details

Michael Liao

commit sha 1ed506deaddb41870d22f5b48d52ba710e8d6c00

[clang] Fix warnings on the missing of explicitly copy constructor on the base class. NFC.

view details

push time in 3 hours

push eventapple/llvm-project

Jim Ingham

commit sha 75ccad1d4cada100ad6ab1246988d1c21877abc9

Add an SB API to get the SBTarget from an SBBreakpoint Differential Revision: https://reviews.llvm.org/D89358 (cherry picked from commit 6754caa9bf21a759c4080a797f23e2b7a77a71e1)

view details

jimingham

commit sha 0efe2f4d67028f92294e848d3287d9876f470dbe

Merge pull request #1987 from jimingham/sbbreak-get-target Add an SB API to get the SBTarget from an SBBreakpoint

view details

git apple-llvm automerger

commit sha 782fc261499354604914c7e9d692331f588c9f23

Merge commit '0efe2f4d6702' from apple/stable/20200714 into swift/main

view details

push time in 3 hours

push eventapple/llvm-project

Florian Hahn

commit sha 6439fde6d403d3e01e265fb84b0beffe67f745c5

[DSE] Bail out from getLocForWriteEx if call is not argmemonly/inacc_mem. This change should currently not have any impact, but guard against further inconsistencies between MemoryLocation and function attributes.

view details

push time in 3 hours

push eventapple/llvm-project

Sanjay Patel

commit sha 7c516504a161ad2eff1837fb9b816322455ca330

[InstSimplify] allow vector splats for icmp-of-neg folds

view details

Georgii Rymar

commit sha 6487ffafd1dd5ab81c440dde46163218a85d90b5

Reland "[yaml2obj][ELF] - Simplify the code that performs sections validation." This reverts commit 1b589f4d4db27e3fcd81fdc5abeb9407753ab790 and relands the D89463 with the fix: update `MappingTraits<FileFilter>::validate()` in ClangTidyOptions.cpp to match the new signature (change the return type to "std::string" from "StringRef"). Original commit message: This: Changes the return type of MappingTraits<T>>::validate to std::string instead of StringRef. It allows to create more complex error messages. It introduces std::vector<std::pair<StringRef, bool>> getEntries(): a new virtual method of Section, which is the base class for all sections. It returns names of special section specific keys (e.g. "Entries") and flags that says if them exist in a YAML. The code in validate() uses this list of entries descriptions to generalize validation. This approach was discussed in the D89039 thread. Differential revision: https://reviews.llvm.org/D89463

view details

push time in 3 hours

push eventapple/llvm-project

LLVM GN Syncbot

commit sha e572c9ce90fd8f49d08e8326b4b5dc989a19004e

[gn build] Port a2214757e2c

view details

LLVM GN Syncbot

commit sha 672652e8331f6103976549f6ea4caf535da62c26

[gn build] Port c0cdd22c72f

view details

Sanjay Patel

commit sha b11588b18e8e0844e035d1bf5656b7f7b7bfb959

[InstSimplify] add vector icmp tests; NFC

view details

push time in 3 hours

push eventapple/llvm-project

Simon Pilgrim

commit sha e372a5f86f6488bb0c2593a665d51fdd3a97c6e4

[InstCombine] Add or((icmp ult/ule (A + C1), C3), (icmp ult/ule (A + C2), C3)) uniform vector support Reapplied rGa704d8238c86 with a check for integer/integervector types to prevent matching with pointer types

view details

Florian Hahn

commit sha f558256939c47b8b5f59c19c71e04324df8ca26a

[DSE] Add test to make sure memccpy does not kill stores. It is not known how many bytes are written by memccpy, so it cannot kill any stores.

view details

push time in 3 hours

push eventapple/llvm-project

Nico Weber

commit sha db915f296f58cb28493356118e8f033c8daecc89

Revert "Revert "[gn build] (manually) port d09b08919ca"" This reverts commit 6ca3dd97352013375f907d92a7e1aed7ab80fbc3. d09b08919ca relanded in 53065c543fe3f1.

view details

push time in 4 hours

push eventapple/llvm-project

Eric Fiselier

commit sha 229db3647491ed2b2706a9b9ce13a97e38be6fa0

[libc++] Make __shared_weak_count vtable consistent across all build configurations This patch ensures that __shared_weak_count provides a consistent vtable regardless of if RTTI is enabled or if we are targeting a static or shared libc++ build. This patch is technically ABI breaking, but only for a very specific configuration that no vendor should be shipping. Note that _LIBCPP_BUILD_STATIC is not normally defined when building libc++.a, but instead it must be manually provided by the user or the __config_site. Differential Revision: https://reviews.llvm.org/D32838

view details

push time in 4 hours

push eventapple/llvm-project

Georgii Rymar

commit sha 1b589f4d4db27e3fcd81fdc5abeb9407753ab790

Revert "[yaml2obj][ELF] - Simplify the code that performs sections validation." This reverts commit b9e2b59680ad1bbfd2b9110b3ebf3d2b22cad51b.

view details

push time in 4 hours

push eventapple/llvm-project

Jean Perier

commit sha 29d1a494477d78f9c86564b851891702456ddffb

[flang] Document and use intrinsic subroutine argument intents Check INTENT(OUT)/INTENT(INOUT) constraints for actual argument of intrinsic procedure calls. - Adding a common::Intent field to the IntrinsicDummyArgument in the intrinsic table. - Propagating it to the DummyDataObject intent field so that it can later be used in CheckExplicitDataArg semantic checks. - Add related tests. - Fix regression (C846 false error), C846 INTENT(OUT) rule does not apply to intrinsic call. Propagate the information that we are in an intrinsic call up to CheckExplicitDataArg (that is doing this check). Still enforce C846 on intrinsics other than MOVE_ALLOC (for which allocatable coarrays are explicitly allowed) since it's not clear it is allowed in all intrinsics and allowing this would lead to runtime penalties in the intrinsic runtime. Differential Revision: https://reviews.llvm.org/D89473

view details

push time in 5 hours

push eventapple/llvm-project

Nicolai Hähnle

commit sha c0cdd22c72fab47a3c37b5a8401763995cadaa77

Introduce CfgTraits abstraction The CfgTraits abstraction simplfies writing algorithms that are generic over the type of CFG, and enables writing such algorithms as regular non-template code that operates on opaque references to CFG blocks and values. Implementations of CfgTraits provide operations on the concrete CFG types, e.g. `IrCfgTraits::BlockRef` is `BasicBlock *`. CfgInterface is an abstract base class which provides operations on opaque types CfgBlockRef and CfgValueRef. Those opaque types encapsulate a `void *`, but the meaning depends on the concrete CFG type. For example, MachineCfgTraits -- for use with MachineIR in SSA form -- encodes a Register inside CfgValueRef. Converting between concrete references and opaque/generic ones is done by CfgTraits::{fromGeneric,toGeneric}. Convenience methods CfgTraits::{un}wrap{Iterator,Range} are available as well. Writing algorithms in terms of CfgInterface adds some overhead (virtual method calls, plus in same cases it removes the opportunity to inline iterators), but can be much more convenient since generic algorithms can be written as non-templates. This patch adds implementations of CfgTraits for all CFGs on which dominator trees are calculated, so that the dominator tree can be ported to this machinery. Only IrCfgTraits (LLVM IR) and MachineCfgTraits (Machine IR in SSA form) are complete, the other implementations are limited to the absolute minimum required to make the upcoming dominator tree changes work. v5: - fix MachineCfgTraits::blockdef_iterator and allow it to iterate over the instructions in a bundle - use MachineBasicBlock::printName v6: - implement predecessors/successors for all CfgTraits implementations - fix error in unwrapRange - rename toGeneric/fromGeneric into wrapRef/unwrapRef to have naming that is consistent with {wrap,unwrap}{Iterator,Range} - use getVRegDef instead of getUniqueVRegDef v7: - std::forward fix in wrapping_iterator - fix typos v8: - cleanup operators on CfgOpaqueType - address other review comments Change-Id: Ia75f4f268fded33fca11218a7d578c9aec1f3f4d Differential Revision: https://reviews.llvm.org/D83088

view details

push time in 5 hours

push eventapple/llvm-project

Haojian Wu

commit sha 84048e234f8f0d81871caab842dbed84b84aa86f

[format] foo.<name>.h should be the main-header for foo.<name>.cc This fixes a regression introduced in https://reviews.llvm.org/D88640. Differential Revision: https://reviews.llvm.org/D89783

view details

push time in 5 hours

push eventapple/llvm-project

Simon Pilgrim

commit sha e346ea990528d93758ed216c53b2ef86ea82ff72

[InstCombine] SimplifyDemandedUseBits - pass APInt by const reference. NFCI.

view details

Roman Lebedev

commit sha d1946469d637f2e5245a02e908b630c3ca362717

[NFC][SCEV] Improve/rework test coverage for ptrtoint handling

view details

push time in 5 hours

pull request commentapple/swift

[Build System] Remove tvOS i386 slice from compiler-rt lib

macOS Toolchain Download Toolchain Git Sha - 73dc49fc3efb43690543c5cd501f8f6a82811653

Install command tar -zxf swift-PR-34361-731-osx.tar.gz --directory ~/

shahmishal

comment created time in 6 hours

push eventapple/llvm-project

Luís Marques

commit sha fc3f9dfad33dae63f1f2293e3733ac5a2798699c

[compiler-rt][builtins] Add tests for atomic builtins support functions Adds some simple sanity checks that the support functions for the atomic builtins do the right thing. This doesn't test concurrency and memory model issues. Differential Revision: https://reviews.llvm.org/D86278

view details

push time in 6 hours

push eventapple/llvm-project

Konrad Kleine

commit sha f0f76aea37e2fab3234c62a0927d9259ed962c16

[doc] Apply buildbot worker terminology change: slave->worker Recently [1], there was an upgrade to the version of buildbot being deployed. The new setup will still work with old buildslaves but I thought it might be a good idea to update the documentation to reflect, that you now can use a newer buildbot version to when setting up your worker (formely known as slave). The upgrade from buildbot 0.8.5 to 2.8.5 went a long with a transition to a new "worker" terminology [2] which is also reflected by this change. [1]: http://lists.llvm.org/pipermail/llvm-dev/2020-October/145629.html [2]: http://docs.buildbot.net/0.9.12/manual/worker-transition.html Reviewed By: gkistanova Differential Revision: https://reviews.llvm.org/D89230

view details

push time in 6 hours

push eventapple/llvm-project

Pushpinder Singh

commit sha aa616efbb34e6321c0f24f61e017efdcf398ba04

[libomptarget][AMDGPU][NFC] Split atmi_memcpy for h2d and d2h The calls to atmi_memcpy presently determine the direction of copy (host to device or device to host) by storing pointers in a map during malloc and looking up the pointers during memcpy. As each call site already knows the direction, this stash+lookup can be eliminated. This NFC will be followed by a functional one that deletes those map lookups. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D89776 Change-Id: I1d9089bc1e56b3a9a30e334735fa07dee1f84990

view details

push time in 6 hours

push eventapple/llvm-project

Carl Ritson

commit sha be2afbd019de37f1da1af9d6224972deac6f3792

[AMDGPU] Remove fix up operand from SI_ELSE Remove immediate operand from SI_ELSE which indicates if EXEC has been modified. Instead always emit code that handles EXEC and remove unnecessary instructions during pre-RA optimisation. This facilitates passes (i.e. SIWholeQuadMode) adding exec mask manipulation post control flow lowering, and pre control flow lower passes do not need to be aware of SI_ELSE handling. Reviewed By: nhaehnle Differential Revision: https://reviews.llvm.org/D89644

view details

push time in 6 hours

push eventapple/llvm-project

Aleksandr Platonov

commit sha d99b2a976a37f5a63117086d464df40c124f5777

[clangd][remote] Add Windows paths support Without this patch 6 marshalling tests fail on Windows. This patch contains the following changes: - Allow paths with Windows slashes (convert to the POSIX style instead of assertion) - Add support for URI with Windows path. - Change the value of the second parameter of several `llvm::sys::path::convert_to_slash()` calls: we should use `windows` instead of `posix` to ensure UNIX slashes in the path. - Port `RemoteMarshallingTest::IncludeHeaderURI` test to Windows. Reviewed By: kbobyrev Differential Revision: https://reviews.llvm.org/D89529

view details

push time in 7 hours

push eventapple/llvm-project

sstefan1

commit sha fbfb1c790982277eaa5134c2b6aa001e97fe828d

[IR] Make nosync, nofree and willreturn default for intrinsics. D70365 allows us to make attributes default. This is a follow up to actually make nosync, nofree and willreturn default. The approach we chose, for now, is to opt-in to default attributes to avoid introducing problems to target specific intrinsics. Intrinsics with default attributes can be created using `DefaultAttrsIntrinsic` class.

view details

push time in 7 hours

push eventapple/llvm-project

Tres Popp

commit sha 72d5ac90b9282cd17c8608a756ebb49c19ad4e04

[mlir] Use affine dim instead of symbol in SCFToGPU lowering. This still satisfies the constraints required by the affine dialect and gives more flexibility in what iteration bounds can be used when loewring to the GPU dialect. Differential Revision: https://reviews.llvm.org/D89782

view details

push time in 7 hours

push eventapple/llvm-project

Georgii Rymar

commit sha 3be2b0d1a1e0b94e8586f695e8174f139f7a84d8

[yaml2obj][NFCI] - Address post commit comments for "[yaml2obj][ELF] - Simplify the code that performs sections validation." This addresses post commit comments for D89463.

view details

push time in 7 hours

push eventapple/llvm-project

Kirill Bobyrev

commit sha 691eb814c1ae38d5015bf070dfed3fd54d542582

[clangd] NFC: Resolve Clang-Tidy warnings in Protocol.cpp Reviewed By: kadircet Differential Revision: https://reviews.llvm.org/D89771

view details

push time in 7 hours

push eventapple/llvm-project

David Carlier

commit sha 53065c543fe3f1e7913c9e8f2487d76034afa249

[Sanitizers] Remove OpenBSD support (new attempt) - Fixing VS compiler and other cases settings this time. Reviewers: dmajor, hans Reviewed By: hans Differential Revision: https://reviews.llvm.org/D89759

view details

push time in 7 hours

push eventapple/llvm-project

Alex Richardson

commit sha a2214757e2ca445112f19395493a78e820389655

Move clang/Tooling/Core/Lookup.h to clang/Tooling/Refactoring/Lookup.h This allows removing the clangAST dependency from libclangToolingCore and therefore allows clang-format to be built without depending on clangAST. Before 1166 files had to be compiled for clang-format, now only 796. Reviewed By: bkramer Differential Revision: https://reviews.llvm.org/D89708

view details

Alex Richardson

commit sha 66a3b9073ac116f0ee39baf625c733abe18140e5

[clang-format] Drop clangFrontend dependency for FormatTests This allows building the clang-format unit tests in only 657 ninja steps rather than 1257 which allows for much faster incremental builds after a git pull. Reviewed By: MyDeveloperDay Differential Revision: https://reviews.llvm.org/D89709

view details

push time in 8 hours

push eventapple/llvm-project

Benjamin Kramer

commit sha f2cca0b291491f25dc6d2c073d71a2799625ad3b

Silence unused variable warning in Release builds. NFCI.

view details

push time in 8 hours

push eventapple/llvm-project

Jason Molenda

commit sha c932266c8d0414672974eb777bbbb86f1d0f122d

Add a nul byte to packet str before logging, increase default size. Add a nul byte to the stream in CommunicationKDP::CheckForPacket before we send the GetData() to a Log::Printf as a c-str. Avoids a crash when logging kdp communications and memory layout isn't in your favor.

view details

push time in 8 hours

push eventapple/llvm-project

Georgii Rymar

commit sha b9e2b59680ad1bbfd2b9110b3ebf3d2b22cad51b

[yaml2obj][ELF] - Simplify the code that performs sections validation. This: 1) Changes the return type of `MappingTraits<T>>::validate` to `std::string` instead of `StringRef`. It allows to create more complex error messages. 2) It introduces std::vector<std::pair<StringRef, bool>> getEntries(): a new virtual method of Section, which is the base class for all sections. It returns names of special section specific keys (e.g. "Entries") and flags that says if them exist in a YAML. The code in validate() uses this list of entries descriptions to generalize validation. This approach was discussed in the D89039 thread. Differential revision: https://reviews.llvm.org/D89463

view details

push time in 8 hours

push eventapple/llvm-project

Ulrich Weigand

commit sha c299f3555d77aef598506b254dcf728928e616de

[SystemZ] Fix disassembler crashes The "Size" value returned by SystemZDisassembler::getInstruction is used by common code even in the case where the routine returns failure. If that Size value exceeds the number of bytes remaining in the section, that could cause disassembler crashes. Fixed by never returning more than the number of bytes remaining.

view details

Carl Ritson

commit sha 6aabbeadae2024f468990e256706148a2c05f644

[AMDGPU][NFC] Tidy SIOptimizeExecMaskingPreRA for extensibility Remove duplicate code and move things around to make it easier to add additional optimisations to the pass. Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D89619

view details

push time in 8 hours

push eventapple/llvm-project

Evgeny Leviant

commit sha 991e86156c88dfa64c908fe36da3a1945c3d2e50

[ARM][SchedModels] Convert IsCPSRDefinedPred to MCSchedPredicate Differential revision: https://reviews.llvm.org/D89460

view details

push time in 8 hours

push eventapple/llvm-project

David Green

commit sha 6dcbc323fd8778ba6db1c4e76c809f93fc82efc5

Revert "[ARM][LowOverheadLoops] Adjust Start insertion." This reverts commit 38f625d0d1360b035271422bab922d22ed04d79a. This commit contains some holes in its logic and has been causing issues since it was commited. The idea sounds OK but some cases were not handled correctly. Instead of trying to fix that up later it is probably simpler to revert it and work to reimplement it in a more reliable way.

view details

push time in 9 hours

push eventapple/llvm-project

Alex Zinenko

commit sha 39613c2cbc8f11ff6246211385134f0a548b5b57

[mlir] Expose Value hierarchy to C API The Value hierarchy consists of BlockArgument and OpResult, both of which derive Value. Introduce IsA functions and functions specific to each class, similarly to other class hierarchies. Also, introduce functions for pointer-comparison of Block and Operation that are necessary for testing and are generally useful. Reviewed By: stellaraccident, mehdi_amini Differential Revision: https://reviews.llvm.org/D89714

view details

push time in 9 hours

push eventapple/llvm-project

Atmn Patel

commit sha 595c6156068458481395d0f87da16e51a3121a4e

[IR] Adds mustprogress as a LLVM IR attribute This adds the LLVM IR attribute `mustprogress` as defined in LangRef through D86233. This attribute will be applied to functions with in languages like C++ where forward progress is guaranteed. Functions without this attribute are not required to make progress. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D85393

view details

push time in 10 hours

push eventapple/llvm-project

Richard Smith

commit sha 08c8d5bc51c512e605840b8003fcf38c86d0fc96

Properly track whether a variable is constant-initialized. This fixes miscomputation of __builtin_constant_evaluated in the initializer of a variable that's not usable in constant expressions, but is readable when constant-folding. If evaluation of a constant initializer fails, we throw away the evaluated result instead of keeping it as a non-constant-initializer value for the variable, because it might not be a correct value. To avoid regressions for initializers that are foldable but not formally constant initializers, we now try constant-evaluating some globals in C++ twice: once to check for a constant initializer (in an mode where is_constannt_evaluated returns true) and again to determine the runtime value if the initializer is not a constant initializer.

view details

push time in 10 hours

pull request commentapple/swift

[IRGen] Call objc_direct methods correctly

Build failed Swift Test OS X Platform Git Sha - cfc6ed49098b42529e880b2cd926dc6bcfa79941

ellishg

comment created time in 10 hours

push eventapple/llvm-project

Igor Kudrin

commit sha 1329944c221ce2187acd30920dde8d443f8dac19

[LTO][Legacy] Eliminate an unused member of llvm::LTOModule. NFC. This is a follow-up for D62935 where the corresponding API methods were removed. Differential Revision: https://reviews.llvm.org/D89472

view details

push time in 10 hours

pull request commentapple/swift

[IRGen] Call objc_direct methods correctly

Build failed Swift Test Linux Platform Git Sha - cfc6ed49098b42529e880b2cd926dc6bcfa79941

ellishg

comment created time in 10 hours

push eventapple/llvm-project

Fangrui Song

commit sha 2484e9159c54def19aac69c4a217a55329da54d2

[Driver] Clean up -gz & --compress-debug-sections * Make cc1 and cc1as --compress-debug-sections an alias for --compress-debug-sections=zlib * Make -gz an alias for -gz=zlib The new behavior is consistent with GCC when binutils>=2.26 is detected: -gz is translated to --compress-debug-sections=zlib instead of --compress-debug-sections.

view details

push time in 11 hours

push eventapple/llvm-project

Vitaly Buka

commit sha f97ca48b1cbbf5da065e94271cb3af4f1c907dd4

[sanitizer] Fix compilation on older systems Fixes https://bugs.llvm.org/show_bug.cgi?id=47896

view details

push time in 11 hours

push eventapple/llvm-project

Artur Pilipenko

commit sha 037ef7d70c49e76bddf36140cca1606a3023240b

Adding new Azul representative to security group Adding myself as a new Azul representative to security group. Differential Revision: https://reviews.llvm.org/D89287

view details

push time in 11 hours

push eventapple/llvm-project

Stella Laurenzo

commit sha 0e6beb29966abc6666e73ab5f151cb9754f04901

[mlir][Python] Add python binding to create DenseElementsAttribute. * Interops with Python buffers/numpy arrays to create. * Also cleans up 'get' factory methods on some types to be consistent. * Adds mlirAttributeGetType() to C-API to facilitate error handling and other uses. * Punts on a lot of features of the ElementsAttribute hierarchy for now. * Does not yet support bool or string attributes. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D89363

view details

push time in 11 hours

push eventapple/llvm-project

Luqman Aden

commit sha 51892a42dac55558f7dbec80ced570e72ff387c4

[COFF][ARM] Fix CodeView for Windows on 32bit ARM targets. Create the LLVM / CodeView register mappings for the 32-bit ARM Window targets. Reviewed By: compnerd Differential Revision: https://reviews.llvm.org/D89622

view details

Fangrui Song

commit sha 545c687c4b06b403915b92f422ddad737a6357b9

[gcov] Unify driver and CC1 option names for -ftest-coverage & -fprofile-arcs No need to use -femit-coverage-notes and -femit-coverage-data.

view details

push time in 11 hours

push eventapple/llvm-project

Arthur Eubanks

commit sha 7e9411efcf09e31d2db9e82dde378e40c908fc82

[NPM][PFOProfile] Fix some tests under NPM

view details

push time in 12 hours

push eventapple/llvm-project

Jonas Devlieghere

commit sha 024921a5e165cc2e0fa7c1b3732aff6f3f5df60b

Use LLVM_TOOLCHAIN_UTILITIES to allow utils to be installed in the toolchain Make it possible to specify a list of utilities that should be installed in the toolchain. Differential revision: https://reviews.llvm.org/D89762

view details

push time in 12 hours

push eventapple/llvm-project

Fangrui Song

commit sha 0ab222e7d730bb1f8b676e64b51615624e08614b

[gcov] Delete CC1 option -test-coverage The name is unfortunate because it is similar to the driver option -ftest-coverage. It turns out aside from one occurrence in a test, this option is not used.

view details

push time in 12 hours

push eventapple/llvm-project

Jonas Devlieghere

commit sha f44fb130253aa5486380604101ce50a62a8d668b

[FileCollector] Move interface into FileCollectorBase (NFC) For the reproducers in LLDB we want to switch to an "immediate mode" FileCollector that writes every file encountered straight to disk so we can generate the actual mapping out-of-process. This patch moves the interface into a separate base class. Differential revision: https://reviews.llvm.org/D89742

view details

push time in 12 hours

push eventapple/llvm-project

Richard Smith

commit sha 3692d20d2b994ce865ffb97096b05218279e1ebd

Refactor tracking of constant initializers for variables. Instead of framing the interface around whether the variable is an ICE (which is only interesting in C++98), primarily track whether the initializer is a constant initializer (which is interesting in all C++ language modes). No functionality change intended.

view details

Max Kazantsev

commit sha a10a64e7e334dc878d281aba9a46f751fe606567

[SCEV] Recommit "Use nw flag and symbolic iteration count to sharpen ranges of AddRecs", attempt 2 Fixed wrapping range case & proof methods reduced to constant range checks to save compile time. Differential Revision: https://reviews.llvm.org/D89381

view details

push time in 12 hours

push eventapple/llvm-project

Arthur Eubanks

commit sha 0f0ff33037aa11f0a67a3540529131abde52f038

[NPM][StackSafetyAnalysis] Pin uses of -analyze to legacy PM Tests already have corresponding NPM RUN lines.

view details

push time in 12 hours

push eventapple/llvm-project

Kai Luo

commit sha 638fee625d43f663bf61168b793a402ad8c509fc

[PowerPC] Add test case for missing `nsw` flag. NFC.

view details

push time in 13 hours

push eventapple/llvm-project

Serguei Katkov

commit sha 38799975ceb21da0e3d2ce70c3f23ba69adf0269

[IRCE] Do not transform if loop has small number of iterations IRCE has some overhead for runtime checks and in case number of iteration is small the overhead can kill the benefit from optimizations. This CL bases on BlockFrequencyInfo of pre-header and header to estimate the number of loop iterations. If it is less than irce-min-estimated-iters we do not transform the loop. Probably it is better to make more complex cost model but for simplicity it seems the be enough. The usage of BFI is added only for new pass manager and tries to use it efficiently. Reviewers: ebrevnov, dantrushin, asbirlea, mkazantsev Reviewed By: mkazantsev Subscribers: llvm-commits, fhahn Differential Revision: https://reviews.llvm.org/D89541

view details

push time in 13 hours

push eventapple/llvm-project

Geoffrey Martin-Noble

commit sha ad0b2d9d46a368248ed27bd27d3500cc8028456e

Add llvm_unreachable to avoid MSVC warning Without this I get a warning about not all paths returning. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D89760

view details

push time in 13 hours

push eventapple/llvm-project

Richard Smith

commit sha c7a7bba8c101f575ef10cb54737033d71f2b722c

Fixup clang-tidy after recent Clang change.

view details

push time in 14 hours

push eventapple/llvm-project

Lang Hames

commit sha 1044dfa7edb72041c20409207cda532d28cb60f4

[ORC] Remove commented out methods accidentally left in in 069919c9ba3. Thanks for spotting this Mehdi!

view details

push time in 14 hours

push eventapple/llvm-project

Qiu Chaofan

commit sha 1b2fe71ecf6bd647a244fc64c231e31dfe1faaa2

[DAGCombiner] Tighten reasscociation of visitFMA From LangRef, FMF contract should not enable reassociating to form arbitrary contractions. So it should not help rearrange nodes like (fma (fmul x, c1), c2, y) into (fma x, c1*c2, y). Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D89527

view details

push time in 14 hours

push eventapple/llvm-project

Richard Smith

commit sha 76c0092665867a6defcd328ba0d0d976eb65d991

Ensure that checkInitIsICE is called exactly once for every variable for which it matters. This is a step towards separating checking for a constant initializer (in which std::is_constant_evaluated returns true) and any other evaluation of a variable initializer (in which it returns false).

view details

push time in 15 hours

push eventapple/llvm-project

Douglas Yung

commit sha 774ab60125eeaeac8bf2470b7aaa6aa428d68453

Add option to use older clang ABI behavior when passing certain union types as function arguments Recently commit D78699 (commit 26cfb6e562f1), fixed clang's behavior with respect to passing a union type through a register to correctly follow the ABI. However, this is an ABI breaking change with earlier versions of the clang compiler, so we should add an -fclang-abi-compat option to address this. Additionally, the PS4 ABI requires the older behavior, so that is added as well. This change adds a Ver11 value to the ClangABI enum that when it is set (or the target is the PS4 triple), we skip the ABI fix introduced in D78699. Differential Revision: https://reviews.llvm.org/D89747

view details

Wang, Pengfei

commit sha 3a85472af2b6f758c43999e0c013142271f72e74

[X86] Fix assert fail when element type is i1. extract_vector_elt will turn type vxi1 into i8, which triggers the assertion fail. Since we don't really handle vxi1 cases in below code, we can just return from here. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D89096

view details

Volodymyr Sapsai

commit sha a28678e20a112f8851fda2550e415924420bdcd5

Revert "Reland "[Modules] Add stats to measure performance of building and loading modules."" This reverts commit 4000c9ee18ecebe3ff0f197af8c1fb434ad986e5. Test "LLVM :: Other/statistic.ll" is failing on Windows.

view details

push time in 15 hours

push eventapple/llvm-project

Kostya Kortchinsky

commit sha ae9d0400283229032fb3795b7b50920bf9be38dc

[GWP-ASan] Cleanup (NFC) Cleaning up some of the GWP-ASan code base: - lots of headers didn't have the correct file name - adding `#ifdef` guard to `utilities.h` - correcting an `#ifdef` guard based on actual file name - removing an extra `;` - clang-format'ing the code (`-style=llvm`) Differential Revision: https://reviews.llvm.org/D89721

view details

push time in 16 hours

push eventapple/llvm-project

Duncan P. N. Exon Smith

commit sha b03ae74319f19c3b86982638671d00205a91d263

clang/Lex: Stop using SourceManager::getBuffer Update clang/lib/Lex to stop relying on a `MemoryBuffer*`, using the `MemoryBufferRef` from `getBufferOrNone` since both locations had logic for checking validity of the buffer. There's potentially a functionality change, since the logic was wrong (it checked for `nullptr`, which was never returned by the old API), but if that was reachable the new behaviour should be better. Differential Revision: https://reviews.llvm.org/D89402

view details

push time in 16 hours

push eventapple/llvm-project

Casey Carter

commit sha 7f82352a2c766114bf1f2aa70f458da4e7304043

[libc++][test] Test nonconforming atomic_fetch_XXX overloads only on libc++ The Standard doesn't include the ```c++ template<class T> T* atomic_fetch_meow(atomic<T*>, ...); ``` templates these tests are testing. (See https://bugs.llvm.org/show_bug.cgi?id=47908)

view details

Casey Carter

commit sha a668ad92d5e2161e07e1a435a19ea5072f52a989

[libc++][test] MSVC has no __PRETTY_FUNCTION__ Use `__FUNCSIG__` instead when compiling with MSVC. While we're touching `makeTypeIDImp`, remove the warning suppression for C4640 "construction of local static object is not thread safe" since C1XX now correctly constant-initializes `id`.

view details

push time in 16 hours

push eventapple/llvm-project

Casey Carter

commit sha d5971a63ca3280525b99e1544c83f1b007ad0a34

[libc++][test] test allocator<const T> extension only on libc++

view details

Casey Carter

commit sha f92d874fe58555c1e6982cf78c257f3188d429f9

[libc++][test] Silence MSVC "comparison of signed and unsigned" warning

view details

push time in 16 hours

push eventapple/llvm-project

Casey Carter

commit sha 24ab5787b44435d0c7e805a8579753e48be9f5b9

[libc++][test] Spell "TEST_CONSTEXPR_CXX17" correctly These three algorithm tests are incorrectly using `_LIBCPP_CONSTEXPR_AFTER_CXX17` instead of `TEST_CONSTEXPR_CXX17`.

view details

Casey Carter

commit sha fce9ca3c1e3adf9f506cd0e195b7f27b4f8db0c4

[libc++][test] Pass correct ordering to std::merge The predicate passed to `merge` must induce a strict weak ordering on its arguments.

view details

Casey Carter

commit sha dccc742c2257159abec6b287223bb159bbf4b91c

[libc++][test] atomic<T> requires trivially copyable T The author of these tests apparently forgot that `atomic_{,un}signed_lock_free` are already specializations of `atomic`.

view details

Casey Carter

commit sha 877766573b21a72b04371b8790c0828dc7176f5d

[libc++][test] Don't violate precondition [atomics.flag]/6 ... which forbids passing `memory_order_release` or `memory_order_acq_rel` to either overload of `atomic_flag_test_explicit`.

view details

push time in 17 hours

push eventapple/llvm-project

Duncan P. N. Exon Smith

commit sha f96e16bc15a9a10857681b85b6c8824b9addd9b2

lldb: Update for change in `clang::Lexer`'s constructor b3eff6b7bb31e7ef059a3d238de138849839fbbd updated `Lexer::Lexer` to take `clang::MemoryBufferRef` instead of `clang::MemoryBuffer*`. Update LLDB to fix the bots.

view details

push time in 17 hours

push eventapple/llvm-project

Nico Weber

commit sha 6ca3dd97352013375f907d92a7e1aed7ab80fbc3

Revert "[gn build] (manually) port d09b08919ca" This reverts commit 4d2d287a030fe81a5bf9d982ed8ea26fe3bcee6b. d09b08919ca got reverted in 7ecd60bb702.

view details

push time in 17 hours

pull request commentapple/swift

[Dependency Scanner] Do not escape strings in the scanner output

Build failed Swift Test OS X Platform Git Sha - 94365bbf559b04b38db7fddf26fd24e9559007ed

artemcm

comment created time in 17 hours

push eventapple/llvm-project

Martin Storsjö

commit sha 81db3c31aafec72f1cfec2a9da4381ece7f97a29

[libcxx] [test] Fix all remaining issues with fs::path::string_type being wstring Use fs::path as variable type instead of std::string, when the input potentially is a path, as they can't be implicitly converted back to string. Differential Revision: https://reviews.llvm.org/D89674

view details

git apple-llvm automerger

commit sha 71403a9f6793fd38ef0726d10269e935340d749d

Merge commit '81db3c31aafe' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha b29a228a747388b9c3f92d2cd758df89112124d6

Merge commit '71403a9f6793' from apple/main into swift/next

view details

Martin Storsjö

commit sha 93671fffb5ef37060da54199cb9e009188f63a0e

[libcxx] [test] Use _putenv instead of setenv/unsetenv on windows Move the functions to the helper header and keep the arch specific logic there. Differential Revision: https://reviews.llvm.org/D89681

view details

git apple-llvm automerger

commit sha c7c32c02f0c18aca1e66472761f969389d95465c

Merge commit '93671fffb5ef' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 7c1b21ccf719b6ad8c99399f9bb0f1fecd727705

Merge commit 'c7c32c02f0c1' from apple/main into swift/next

view details

Dávid Bolvanský

commit sha d605a119939a91477c0eb223d3a5d7d912825daa

[Intrinsics] Added writeonly attribute to the first arg of llvm.memmove D18714 introduced writeonly attribute: "Also start using the attribute for memset, memcpy, and memmove intrinsics, and remove their special-casing in BasicAliasAnalysis." But actually, writeonly was not attached to memmove - oversight, it seems. So let's add it. As we can see, this helps DSE to eliminate redundant stores. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D89724

view details

git apple-llvm automerger

commit sha d3f3564054f60452d428ee6604c8bc49728421b8

Merge commit 'd605a119939a' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 19ae31c67c298f28b06b8eefe4b0f5e7b8c4606b

Merge commit 'd3f3564054f6' from apple/main into swift/next

view details

Roman Lebedev

commit sha 3355284b2d7652cd2f7ae01aa0323ea3f963641b

[NFC][SCEVExpander] isHighCostExpansionHelper(): rewrite as a switch If we switch over an enum, compiler can easily issue a diagnostic if some case is not handled. However with an if cascade that isn't so. Experimental evidence suggests new behavior to be superior.

view details

git apple-llvm automerger

commit sha 2d3d21b00d77943fa9a2bd8e97b8331508ab6e2e

Merge commit '3355284b2d76' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 7cfc4c5f4edbe770e52a52e53e250a0d7aec97d8

Merge commit '2d3d21b00d77' from apple/main into swift/next

view details

Roman Lebedev

commit sha d4b0aa9773a98f5072384bda414e70f6df335237

[NFC][SCEV] BuildConstantFromSCEV(): reformat, NFC Makes diff in next commit more readable

view details

git apple-llvm automerger

commit sha 924336d03f944c999bf9aa906f5d85b1898e1dfe

Merge commit 'd4b0aa9773a9' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha b1bd1ffbdef29769e07791560ff8cc03d6742fe5

Merge commit '924336d03f94' from apple/main into swift/next

view details

Roman Lebedev

commit sha e0567582b8b1def8656f4a5addce0909fa51c86e

[NFCI][SCEV] Always refer to enum SCEVTypes as enum, not integer The main tricky thing here is forward-declaring the enum: we have to specify it's underlying data type. In particular, this avoids the danger of switching over the SCEVTypes, but actually switching over an integer, and not being notified when some case is not handled. I have updated most of such switches to be exaustive and not have a default case, where it's pretty obvious to be the intent, however not all of them.

view details

git apple-llvm automerger

commit sha c9a070938519657387a49a7e9afaeb5ba790b8c1

Merge commit 'e0567582b8b1' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha f25ad1fc784d353dd3d4a8e23cd154d6e2095e29

Merge commit 'c9a070938519' from apple/main into swift/next

view details

Amy Huang

commit sha ea693a162786d933863ab079648d4261ac0ead47

[NPM] Port module-debuginfo pass to the new pass manager Port pass to NPM and update tests in DebugInfo/Generic. Differential Revision: https://reviews.llvm.org/D89730

view details

git apple-llvm automerger

commit sha c7d21a029a3a2d0950306e664f280f7a5ce98744

Merge commit 'ea693a162786' from llvm.org/master into apple/main

view details

push time in 17 hours

pull request commentapple/swift

[Dependency Scanner] Do not escape strings in the scanner output

Build failed Swift Test Linux Platform Git Sha - 94365bbf559b04b38db7fddf26fd24e9559007ed

artemcm

comment created time in 17 hours

push eventapple/llvm-project

Martin Storsjö

commit sha afe40b305d2292bce5b2694220697c6e6bdeed65

[libcxx] [test] Mark tests that require specific allocation behaviours as libcpp only This fixes/silences a few failures on libstdc++ on linux. Differential Revision: https://reviews.llvm.org/D89676

view details

git apple-llvm automerger

commit sha 9a0692fbe08f349e8ed78de482fe36a5d67f7db2

Merge commit 'afe40b305d22' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha b33d3e19f2376453b25bb02a2b38ba47d54f2e69

Merge commit '9a0692fbe08f' from apple/main into swift/next

view details

Martin Storsjö

commit sha 5c39eebc126dca73c086562bbd9598d4d4c7c197

[libcxx] [test] Fix filesystem_test_helper.h to compile for windows Use .string() instead of .native() in places where we want to combine paths with std::string. Convert some methods to take a fs::path as parameter instead of std::string, for cases where they are called with paths as parameters (which can't be implicitly converted to std::string if the path's string_type is wstring). Differential Revision: https://reviews.llvm.org/D89530

view details

git apple-llvm automerger

commit sha a0a887f0c733896aa481eefa0ec94090cd09716b

Merge commit '5c39eebc126d' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha be66ff5fd988eea7eeb62b9d8627f1b1f7e919dd

Merge commit 'a0a887f0c733' from apple/main into swift/next

view details

push time in 17 hours

push eventapple/llvm-project

Martin Storsjö

commit sha 81db3c31aafec72f1cfec2a9da4381ece7f97a29

[libcxx] [test] Fix all remaining issues with fs::path::string_type being wstring Use fs::path as variable type instead of std::string, when the input potentially is a path, as they can't be implicitly converted back to string. Differential Revision: https://reviews.llvm.org/D89674

view details

git apple-llvm automerger

commit sha 71403a9f6793fd38ef0726d10269e935340d749d

Merge commit '81db3c31aafe' from llvm.org/master into apple/main

view details

Martin Storsjö

commit sha 93671fffb5ef37060da54199cb9e009188f63a0e

[libcxx] [test] Use _putenv instead of setenv/unsetenv on windows Move the functions to the helper header and keep the arch specific logic there. Differential Revision: https://reviews.llvm.org/D89681

view details

git apple-llvm automerger

commit sha c7c32c02f0c18aca1e66472761f969389d95465c

Merge commit '93671fffb5ef' from llvm.org/master into apple/main

view details

Dávid Bolvanský

commit sha d605a119939a91477c0eb223d3a5d7d912825daa

[Intrinsics] Added writeonly attribute to the first arg of llvm.memmove D18714 introduced writeonly attribute: "Also start using the attribute for memset, memcpy, and memmove intrinsics, and remove their special-casing in BasicAliasAnalysis." But actually, writeonly was not attached to memmove - oversight, it seems. So let's add it. As we can see, this helps DSE to eliminate redundant stores. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D89724

view details

git apple-llvm automerger

commit sha d3f3564054f60452d428ee6604c8bc49728421b8

Merge commit 'd605a119939a' from llvm.org/master into apple/main

view details

Roman Lebedev

commit sha 3355284b2d7652cd2f7ae01aa0323ea3f963641b

[NFC][SCEVExpander] isHighCostExpansionHelper(): rewrite as a switch If we switch over an enum, compiler can easily issue a diagnostic if some case is not handled. However with an if cascade that isn't so. Experimental evidence suggests new behavior to be superior.

view details

git apple-llvm automerger

commit sha 2d3d21b00d77943fa9a2bd8e97b8331508ab6e2e

Merge commit '3355284b2d76' from llvm.org/master into apple/main

view details

Roman Lebedev

commit sha d4b0aa9773a98f5072384bda414e70f6df335237

[NFC][SCEV] BuildConstantFromSCEV(): reformat, NFC Makes diff in next commit more readable

view details

git apple-llvm automerger

commit sha 924336d03f944c999bf9aa906f5d85b1898e1dfe

Merge commit 'd4b0aa9773a9' from llvm.org/master into apple/main

view details

Roman Lebedev

commit sha e0567582b8b1def8656f4a5addce0909fa51c86e

[NFCI][SCEV] Always refer to enum SCEVTypes as enum, not integer The main tricky thing here is forward-declaring the enum: we have to specify it's underlying data type. In particular, this avoids the danger of switching over the SCEVTypes, but actually switching over an integer, and not being notified when some case is not handled. I have updated most of such switches to be exaustive and not have a default case, where it's pretty obvious to be the intent, however not all of them.

view details

git apple-llvm automerger

commit sha c9a070938519657387a49a7e9afaeb5ba790b8c1

Merge commit 'e0567582b8b1' from llvm.org/master into apple/main

view details

Amy Huang

commit sha ea693a162786d933863ab079648d4261ac0ead47

[NPM] Port module-debuginfo pass to the new pass manager Port pass to NPM and update tests in DebugInfo/Generic. Differential Revision: https://reviews.llvm.org/D89730

view details

git apple-llvm automerger

commit sha c7d21a029a3a2d0950306e664f280f7a5ce98744

Merge commit 'ea693a162786' from llvm.org/master into apple/main

view details

push time in 17 hours

push eventapple/llvm-project

Martin Storsjö

commit sha 41c5070888947aeebd90db484d4c6a7b34889a13

[libcxx] [test] Don't require fs::path::operator(string_type&&) to be noexcept Mark this as a libcpp specific test; the standard doesn't say that this method should be noexcept. Differential Revision: https://reviews.llvm.org/D89677

view details

Martin Storsjö

commit sha cf9831b843b44baaf5dc01954ca381e2449e4670

[libcxx] [test] Add LIBCPP_ONLY() around another test for an implementation detail Differential Revision: https://reviews.llvm.org/D89675

view details

git apple-llvm automerger

commit sha 5de4f0f41c9f3ad083384400650c39e4228ee89f

Merge commit '41c507088894' from llvm.org/master into apple/main

view details

Martin Storsjö

commit sha fa88f61ef52fb91b50e2b87aa199c62ebfc2ff3c

[libcxx] [test] Exclude domain socket tests on windows, like bsd/darwin Differential Revision: https://reviews.llvm.org/D89673

view details

git apple-llvm automerger

commit sha 63ff6bce9953c0769f50b1c08ec483b4e633ee4d

Merge commit 'cf9831b843b4' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 374650c6dfa65d4d593db17f3c8fdf15cd938d18

Merge commit '5de4f0f41c9f' from apple/main into swift/next

view details

git apple-llvm automerger

commit sha 94ff0fd253d48db1f632cca5a0df4e2cbd4d6990

Merge commit 'fa88f61ef52f' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 1fb278c469c10d70388447d94633502754012643

Merge commit '63ff6bce9953' from apple/main into swift/next

view details

git apple-llvm automerger

commit sha 2bcd55df52b74e5e7c219cb5c874bf3db54ba714

Merge commit '94ff0fd253d4' from apple/main into swift/next

view details

push time in 17 hours

push eventapple/llvm-project

Martin Storsjö

commit sha afe40b305d2292bce5b2694220697c6e6bdeed65

[libcxx] [test] Mark tests that require specific allocation behaviours as libcpp only This fixes/silences a few failures on libstdc++ on linux. Differential Revision: https://reviews.llvm.org/D89676

view details

git apple-llvm automerger

commit sha 9a0692fbe08f349e8ed78de482fe36a5d67f7db2

Merge commit 'afe40b305d22' from llvm.org/master into apple/main

view details

Martin Storsjö

commit sha 5c39eebc126dca73c086562bbd9598d4d4c7c197

[libcxx] [test] Fix filesystem_test_helper.h to compile for windows Use .string() instead of .native() in places where we want to combine paths with std::string. Convert some methods to take a fs::path as parameter instead of std::string, for cases where they are called with paths as parameters (which can't be implicitly converted to std::string if the path's string_type is wstring). Differential Revision: https://reviews.llvm.org/D89530

view details

git apple-llvm automerger

commit sha a0a887f0c733896aa481eefa0ec94090cd09716b

Merge commit '5c39eebc126d' from llvm.org/master into apple/main

view details

push time in 17 hours

push eventapple/llvm-project

Martin Storsjö

commit sha 41c5070888947aeebd90db484d4c6a7b34889a13

[libcxx] [test] Don't require fs::path::operator(string_type&&) to be noexcept Mark this as a libcpp specific test; the standard doesn't say that this method should be noexcept. Differential Revision: https://reviews.llvm.org/D89677

view details

Martin Storsjö

commit sha cf9831b843b44baaf5dc01954ca381e2449e4670

[libcxx] [test] Add LIBCPP_ONLY() around another test for an implementation detail Differential Revision: https://reviews.llvm.org/D89675

view details

git apple-llvm automerger

commit sha 5de4f0f41c9f3ad083384400650c39e4228ee89f

Merge commit '41c507088894' from llvm.org/master into apple/main

view details

Martin Storsjö

commit sha fa88f61ef52fb91b50e2b87aa199c62ebfc2ff3c

[libcxx] [test] Exclude domain socket tests on windows, like bsd/darwin Differential Revision: https://reviews.llvm.org/D89673

view details

git apple-llvm automerger

commit sha 63ff6bce9953c0769f50b1c08ec483b4e633ee4d

Merge commit 'cf9831b843b4' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 94ff0fd253d48db1f632cca5a0df4e2cbd4d6990

Merge commit 'fa88f61ef52f' from llvm.org/master into apple/main

view details

push time in 17 hours

push eventapple/llvm-project

Volodymyr Sapsai

commit sha 34ccc3e13bccde6f5cf993c744efe4bcb1fd439a

[hmaptool] Fix `NameError: global name 'num_buckets' is not defined` in `action_dump`.

view details

push time in 17 hours

push eventapple/llvm-project

Jon Chesterfield

commit sha d27b39ce11629f8742a487f9d1d2a343756d0da7

[libomptarget][amdgcn] Implement missing symbols in deviceRTL [libomptarget][amdgcn] Implement missing symbols in deviceRTL Malloc, wtime are stubs. Malloc needs a hostrpc implementation which is a work in progress, wtime needs some experimentation to find out the multiplier to get a time in seconds as documentation is scarce. Reviewed By: ronlieb Differential Revision: https://reviews.llvm.org/D89725

view details

push time in 17 hours

push eventapple/llvm-project

Duncan P. N. Exon Smith

commit sha 0ddf4bd47c18a4608b67fdda537f575c4c7a0a52

clang/{Format,Rewrite}: Stop using SourceManager::getBuffer, NFC Update clang/lib/Format and clang/lib/Rewrite to use a `MemoryBufferRef` from `getBufferOrFake` instead of `MemoryBuffer*` from `getBuffer`. No functionality change here, since the call sites weren't checking if the buffer was valid. Differential Revision: https://reviews.llvm.org/D89406

view details

git apple-llvm automerger

commit sha a520242a0f2d1d471de6b49189cd21440edd23cc

Merge commit '0ddf4bd47c18' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 52a6e396fa2a29b4531f98c0f4c2de1540bd491b

Merge commit 'a520242a0f2d' from apple/main into swift/next

view details

Martin Storsjö

commit sha 5eece137bc76f349cefc8922447694bea29ae101

[clang] Automatically link against oldnames just as linking against libcmt Differential Revision: https://reviews.llvm.org/D89702

view details

git apple-llvm automerger

commit sha dda7464a83906f566dc14e30ac383b41c3f8b87c

Merge commit '5eece137bc76' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha a9c73a5ee5ff78638e691542c9eed31097887433

Merge commit 'dda7464a8390' from apple/main into swift/next

view details

Martin Storsjö

commit sha c61c7ba595d39f22a2f5a900e165ae464015c2e7

[libcxx] [test] Do error printfs to stderr in filesystems tests This makes them more readable in llvm-lit's output on failures. This only applies the change on the filesystem test subdir. Differential Revision: https://reviews.llvm.org/D89680

view details

Martin Storsjö

commit sha e2ddd515abd1735a3a8c075f2e6e487872cb8a4f

[libcxx] [test] Allow fs::permissions(path, perms, perm_options, error_code) to be noexcept The standard doesn't declare this overload as noexcept, but doesn't either say that it strictly cannot be noexcept either. The function doesn't throw on errors that are signaled via error_code, but the standard says that it may throw a bad_alloc. This fixes an error with libstdc++ on linux. Differential Revision: https://reviews.llvm.org/D89678

view details

git apple-llvm automerger

commit sha b6387a823ada604d7425b3961d923da15e481133

Merge commit 'c61c7ba595d3' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 2a864645290602f8bbda2ae6caff2a7c3fd7e6a9

Merge commit 'e2ddd515abd1' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 8006853fa8e430af286e6cbce57f4a644d9eed3a

Merge commit 'b6387a823ada' from apple/main into swift/next

view details

git apple-llvm automerger

commit sha 5159c840bf0be05ece767cb4db5927669febf501

Merge commit '2a8646452906' from apple/main into swift/next

view details

push time in 17 hours

push eventapple/llvm-project

Duncan P. N. Exon Smith

commit sha b3eff6b7bb31e7ef059a3d238de138849839fbbd

Lexer: Update the Lexer to use MemoryBufferRef, NFC Update `Lexer` / `Lexer::Lexer` to use `MemoryBufferRef` instead of `MemoryBuffer*`. Callers that were acquiring a `MemoryBuffer*` via `SourceManager::getBuffer` were updated, such that if they checked `Invalid` they use `getBufferOrNone` and otherwise `getBufferOrFake`. Differential Revision: https://reviews.llvm.org/D89398

view details

Evgenii Stepanov

commit sha 7ecd60bb7022bb681b9dc01a9c232fd93b4b169c

Revert "[Sanitizers] Remove OpenBSD support" + 1 Revert "Fix compiler-rt build on Windows after D89640" This reverts commit a7acee89d68473183cc5021d952a56cdf0ae27d3. This reverts commit d09b08919ca6e206cd981fdea8b19b1d1188e325. Reason: breaks Linux / x86_64 build.

view details

push time in 18 hours

push eventapple/llvm-project

Nikita Popov

commit sha ddd0f083184feb489684f87cf28d5eb10e0a244e

[BatchAA] Add test for incorrect phi cycle result (NFC) AA computes the correct result for phi/a1 aliasing, while BatchAA produces an incorrect result depening on which queries have been performed beforehand.

view details

git apple-llvm automerger

commit sha 10f9ae8a263d1515a5dc18913967cd195818b51a

Merge commit 'ddd0f083184f' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 699f323f5e46d88e8e3a9b226204e851d22639ef

Merge commit '10f9ae8a263d' from apple/main into swift/next

view details

Arthur Eubanks

commit sha fce64578bc1855f4d3e57a3718e39e37b089a7fe

[NPM][test] Fix some LoopVectorize tests under NPM

view details

git apple-llvm automerger

commit sha c7897a070fc6ea2561574e1e36150cb84807c326

Merge commit 'fce64578bc18' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 6cd25983096800d92f999ed3dcaf10fd41c1fe69

Merge commit 'c7897a070fc6' from apple/main into swift/next

view details

Lang Hames

commit sha 9898d9d885c7e3fed287894162e0e9982be3dccf

[ORC] Fix a missing include.

view details

git apple-llvm automerger

commit sha 4d950d77319319f9c15c40ce46a700f88a8e56ba

Merge commit '9898d9d885c7' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha af541f38be78b3484de3faf36a4b29977cc7a647

Merge commit '4d950d773193' from apple/main into swift/next

view details

Matt Arsenault

commit sha ae3625d7526f50c39784ca6b0532a74c059516c2

Fix typo

view details

git apple-llvm automerger

commit sha 7c6f7d451ccdd68d512972f88fee326d261a0e68

Merge commit 'ae3625d7526f' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha fed5b0cb9cdc0a75a32b7e8d84e34c37b735820f

Merge commit '7c6f7d451ccd' from apple/main into swift/next

view details

Craig Topper

commit sha e28376ec28b9034a35e01c95ccb4de9ccc6c4954

[X86] Add i32->float and i64->double bitcast pseudo instructions to store folding table. We have pseudo instructions we use for bitcasts between these types. We have them in the load folding table, but not the store folding table. This adds them there so they can be used for stack spills. I added an exact size check so that we don't fold when the stack slot is larger than the GPR. Otherwise the upper bits in the stack slot would be garbage. That would be fine for Eli's test case in PR47874, but I'm not sure its safe in general. A step towards fixing PR47874. Next steps are to change the ADDSSrr_Int pseudo instructions to use FR32 as the second source register class instead of VR128. That will keep the coalescer from promoting the register class of the bitcast instruction which will make the stack slot 4 bytes instead of 16 bytes. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D89656

view details

git apple-llvm automerger

commit sha d06abeee7eb18d8492c392e3c84514ec3a6a13f0

Merge commit 'e28376ec28b9' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 2d5375b43e520e5cdb96789dc4c89b3fcd94219b

Merge commit 'd06abeee7eb1' from apple/main into swift/next

view details

Craig Topper

commit sha edd0cb11bd182de8d70b7bbeba73f88d7a3714db

[SelectionDAG][X86] Enable SimplifySetCC CTPOP transforms for vector splats This enables these transforms for vectors: (ctpop x) u< 2 -> (x & x-1) == 0 (ctpop x) u> 1 -> (x & x-1) != 0 (ctpop x) == 1 --> (x != 0) && ((x & x-1) == 0) (ctpop x) != 1 --> (x == 0) || ((x & x-1) != 0) All enabled if CTPOP isn't Legal. This differs from the scalar behavior where the first two are done unconditionally and the last two are done if CTPOP isn't Legal or Custom. The Legal check produced better results for vectors based on X86's custom handling. Might be worth re-visiting scalars here. I disabled the looking through truncate for vectors. The code that creates new setcc can use the same result VT as the original setcc even if we truncated the input. That may work work for most scalars, but definitely wouldn't work for vectors unless it was a vector of i1. Fixes or at least improves PR47825 Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D89346

view details

git apple-llvm automerger

commit sha 2ec159f16866d4e2c2381d5997810db012a17c01

Merge commit 'edd0cb11bd18' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 21c5fce6510ff75d1f8c009190de41f844b7fe51

Merge commit '2ec159f16866' from apple/main into swift/next

view details

Arthur Eubanks

commit sha c76968d8b60e5ac75d3630eeff685a44d8450f74

[test][NPM] Fix already-vectorized.ll under NPM The NPM runs SpeculateAroundPHIs which breaks critical edges, causing a branch we check for to not directly jump back to the same block.

view details

git apple-llvm automerger

commit sha 01e471a0a4d9e621e4aff62eb82aacd32eff8a2f

Merge commit 'c76968d8b60e' from llvm.org/master into apple/main

view details

push time in 18 hours

push eventapple/llvm-project

Duncan P. N. Exon Smith

commit sha 0ddf4bd47c18a4608b67fdda537f575c4c7a0a52

clang/{Format,Rewrite}: Stop using SourceManager::getBuffer, NFC Update clang/lib/Format and clang/lib/Rewrite to use a `MemoryBufferRef` from `getBufferOrFake` instead of `MemoryBuffer*` from `getBuffer`. No functionality change here, since the call sites weren't checking if the buffer was valid. Differential Revision: https://reviews.llvm.org/D89406

view details

git apple-llvm automerger

commit sha a520242a0f2d1d471de6b49189cd21440edd23cc

Merge commit '0ddf4bd47c18' from llvm.org/master into apple/main

view details

Martin Storsjö

commit sha 5eece137bc76f349cefc8922447694bea29ae101

[clang] Automatically link against oldnames just as linking against libcmt Differential Revision: https://reviews.llvm.org/D89702

view details

git apple-llvm automerger

commit sha dda7464a83906f566dc14e30ac383b41c3f8b87c

Merge commit '5eece137bc76' from llvm.org/master into apple/main

view details

Martin Storsjö

commit sha c61c7ba595d39f22a2f5a900e165ae464015c2e7

[libcxx] [test] Do error printfs to stderr in filesystems tests This makes them more readable in llvm-lit's output on failures. This only applies the change on the filesystem test subdir. Differential Revision: https://reviews.llvm.org/D89680

view details

Martin Storsjö

commit sha e2ddd515abd1735a3a8c075f2e6e487872cb8a4f

[libcxx] [test] Allow fs::permissions(path, perms, perm_options, error_code) to be noexcept The standard doesn't declare this overload as noexcept, but doesn't either say that it strictly cannot be noexcept either. The function doesn't throw on errors that are signaled via error_code, but the standard says that it may throw a bad_alloc. This fixes an error with libstdc++ on linux. Differential Revision: https://reviews.llvm.org/D89678

view details

git apple-llvm automerger

commit sha b6387a823ada604d7425b3961d923da15e481133

Merge commit 'c61c7ba595d3' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 2a864645290602f8bbda2ae6caff2a7c3fd7e6a9

Merge commit 'e2ddd515abd1' from llvm.org/master into apple/main

view details

push time in 18 hours

push eventapple/llvm-project

Jay Foad

commit sha 56f6bf1a8d6c9288d54737479ba0bbe792528625

[AMDGPU] Remove MUL_LOHI_U24/MUL_LOHI_I24 These were introduced in r279902 on the grounds that using separate MUL_U24/MUL_I24 and MULHI_U24/MULHI_I24 nodes would introduce multiple uses of the operands, which would prevent SimplifyDemandedBits from simplifying the operands. This has since been fixed by D24672 "AMDGPU/SI: Use new SimplifyDemandedBits helper for multi-use operations" No functional change intended. At least it has no effect on lit tests. Differential Revision: https://reviews.llvm.org/D89706

view details

git apple-llvm automerger

commit sha 80228033063851a6856de54092afef8737da1daf

Merge commit '56f6bf1a8d6c' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha f9d7fab36e8d71769f7069ffa47acf381731921a

Merge commit '802280330638' from apple/main into swift/next

view details

Michael Jones

commit sha ba24ba7e9c727793bdd760ed4e48d15e8b2712a2

[libc] Add LLVM libc specific functions to llvm_libc_ext.td. Also moved most of the common type definitions from libc/spec/stdc.td to libc/spec/spec.td so that they can be used to list functions in llvm_libc_ext.td. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D89436

view details

git apple-llvm automerger

commit sha cd3653b0c72594aef601b21b1c486c8e0670f439

Merge commit 'ba24ba7e9c72' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha b16b3919f20278ea76cffdcc0e7e79fcaeaea1e2

Merge commit 'cd3653b0c725' from apple/main into swift/next

view details

Cameron McInally

commit sha 629d1d117ae038601e6d7bfc046c597c05fe127b

[SVE] Update vector reduction intrinsics in new tests. Remove `experimental` from the intrinsic names.

view details

git apple-llvm automerger

commit sha 609e7ba717474108333c9e7a23ee590e5386cf20

Merge commit '629d1d117ae0' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 8aa139256570227909d96cb348d1dd4bbd15172f

Merge commit '609e7ba71747' from apple/main into swift/next

view details

Alexandre Ganea

commit sha 89b72209ad9baf585f6765df7c668da112dea230

[LLDB][TestSuite] Improve skipIfWindowsAndNonEnglish in decorators.py Differential Revision: https://reviews.llvm.org/D89716

view details

git apple-llvm automerger

commit sha d2f9fa29ef06efb89112ca3dd9710383a1764e96

Merge commit '89b72209ad9b' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 85e4ede0ab1c518c95088b0f8829b398eaa1cd9b

Merge commit 'd2f9fa29ef06' from apple/main into swift/next

view details

Valentin Clement

commit sha 340181f29afece5abdf98aa61855b9826726d4df

[flang][openacc] Switch to use TODO from D88909 Use the Todo.h header file introduce in D88909 to marke part of the lowering that are not done yet. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D88915

view details

git apple-llvm automerger

commit sha 91ac5862492cdc5f7a5d715efd9431c00d591567

Merge commit '340181f29afe' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha 634ef6f07a1eb07521cb01b3bd3466bb08832a96

Merge commit '91ac5862492c' from apple/main into swift/next

view details

Arthur Eubanks

commit sha 65e5006962bd49d0236a18d6772ea9f165b8c41a

[NPM][opt] Run -O# after other passes in legacy PM compatibility mode Generally tests run -O# before other passes, not after.

view details

git apple-llvm automerger

commit sha 2c0354c90e5296aee17fd9c3fa5d084a9c9f65b1

Merge commit '65e5006962bd' from llvm.org/master into apple/main

view details

git apple-llvm automerger

commit sha d9980ccc161fc9d63863d7ef55f3e03f2cd4b2af

Merge commit '2c0354c90e52' from apple/main into swift/next

view details

Tony

commit sha 6be9c7d2dc155d218a82d6422462f46913457d2c

[AMDGPU] Correct comment typo in SIMemoryLegaliizer.cpp

view details

git apple-llvm automerger

commit sha e78c1d4908a340dc6b40264cbf127e623fcdd868

Merge commit '6be9c7d2dc15' from llvm.org/master into apple/main

view details

push time in 18 hours

push eventapple/llvm-project

Nikita Popov

commit sha ddd0f083184feb489684f87cf28d5eb10e0a244e

[BatchAA] Add test for incorrect phi cycle result (NFC) AA computes the correct result for phi/a1 aliasing, while BatchAA produces an incorrect result depening on which queries have been performed beforehand.

view details

git apple-llvm automerger

commit sha 10f9ae8a263d1515a5dc18913967cd195818b51a

Merge commit 'ddd0f083184f' from llvm.org/master into apple/main

view details

Arthur Eubanks

commit sha fce64578bc1855f4d3e57a3718e39e37b089a7fe

[NPM][test] Fix some LoopVectorize tests under NPM

view details

git apple-llvm automerger

commit sha c7897a070fc6ea2561574e1e36150cb84807c326

Merge commit 'fce64578bc18' from llvm.org/master into apple/main

view details

Lang Hames

commit sha 9898d9d885c7e3fed287894162e0e9982be3dccf

[ORC] Fix a missing include.

view details

git apple-llvm automerger

commit sha 4d950d77319319f9c15c40ce46a700f88a8e56ba

Merge commit '9898d9d885c7' from llvm.org/master into apple/main

view details

Matt Arsenault

commit sha ae3625d7526f50c39784ca6b0532a74c059516c2

Fix typo

view details

git apple-llvm automerger

commit sha 7c6f7d451ccdd68d512972f88fee326d261a0e68

Merge commit 'ae3625d7526f' from llvm.org/master into apple/main

view details

Craig Topper

commit sha e28376ec28b9034a35e01c95ccb4de9ccc6c4954

[X86] Add i32->float and i64->double bitcast pseudo instructions to store folding table. We have pseudo instructions we use for bitcasts between these types. We have them in the load folding table, but not the store folding table. This adds them there so they can be used for stack spills. I added an exact size check so that we don't fold when the stack slot is larger than the GPR. Otherwise the upper bits in the stack slot would be garbage. That would be fine for Eli's test case in PR47874, but I'm not sure its safe in general. A step towards fixing PR47874. Next steps are to change the ADDSSrr_Int pseudo instructions to use FR32 as the second source register class instead of VR128. That will keep the coalescer from promoting the register class of the bitcast instruction which will make the stack slot 4 bytes instead of 16 bytes. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D89656

view details

git apple-llvm automerger

commit sha d06abeee7eb18d8492c392e3c84514ec3a6a13f0

Merge commit 'e28376ec28b9' from llvm.org/master into apple/main

view details

Craig Topper

commit sha edd0cb11bd182de8d70b7bbeba73f88d7a3714db

[SelectionDAG][X86] Enable SimplifySetCC CTPOP transforms for vector splats This enables these transforms for vectors: (ctpop x) u< 2 -> (x & x-1) == 0 (ctpop x) u> 1 -> (x & x-1) != 0 (ctpop x) == 1 --> (x != 0) && ((x & x-1) == 0) (ctpop x) != 1 --> (x == 0) || ((x & x-1) != 0) All enabled if CTPOP isn't Legal. This differs from the scalar behavior where the first two are done unconditionally and the last two are done if CTPOP isn't Legal or Custom. The Legal check produced better results for vectors based on X86's custom handling. Might be worth re-visiting scalars here. I disabled the looking through truncate for vectors. The code that creates new setcc can use the same result VT as the original setcc even if we truncated the input. That may work work for most scalars, but definitely wouldn't work for vectors unless it was a vector of i1. Fixes or at least improves PR47825 Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D89346

view details

git apple-llvm automerger

commit sha 2ec159f16866d4e2c2381d5997810db012a17c01

Merge commit 'edd0cb11bd18' from llvm.org/master into apple/main

view details

Arthur Eubanks

commit sha c76968d8b60e5ac75d3630eeff685a44d8450f74

[test][NPM] Fix already-vectorized.ll under NPM The NPM runs SpeculateAroundPHIs which breaks critical edges, causing a branch we check for to not directly jump back to the same block.

view details

git apple-llvm automerger

commit sha 01e471a0a4d9e621e4aff62eb82aacd32eff8a2f

Merge commit 'c76968d8b60e' from llvm.org/master into apple/main

view details

Evgenii Stepanov

commit sha 188a7d671019247932b7242c7794960ca1986b5a

Add alloca size threshold for StackTagging initializer merging. Summary: Initializer merging generates pretty inefficient code for large allocas that also happens to trigger an exponential algorithm somewhere in Machine Instruction Scheduler. See https://bugs.llvm.org/show_bug.cgi?id=47867. This change adds an upper limit for the alloca size. The default limit is selected such that worst case size of memtag-generated code is similar to non-memtag (but because of the ISA quirks, this case is realized at the different value of alloca size, ex. memset inlining triggers at sizes below 512, but stack tagging instructions are 2x shorter, so limit is approx. 256). We could try harder to emit more compact code with initializer merging, but that would only affect large, sparsely initialized allocas, and those are doing fine already. Reviewers: vitalybuka, pcc Subscribers: llvm-commits

view details

git apple-llvm automerger

commit sha a6318c4a55a1c516b62f053d6209739627dd358b

Merge commit '188a7d671019' from llvm.org/master into apple/main

view details

push time in 18 hours

push eventapple/llvm-project

Sean Silva

commit sha e3f5073a961076475c286a39a2cba2bf803eb32c

[mlir] Add some more std bufferize patterns. Add bufferizations for extract_element and tensor_from_elements. Differential Revision: https://reviews.llvm.org/D89594

view details

Sean Silva

commit sha f4abd3ed6d95e66470a0c8cc132e61782896527a

[mlir] Add std.dynamic_tensor_from_elements bufferization. It's unfortunate that this requires adding a dependency on scf dialect to std bufferization (and hence all of std transforms). This is a bit perilous. We might want a lib/Transforms/Bufferize/ with a separate bufferization library per dialect? Differential Revision: https://reviews.llvm.org/D89667

view details

Sean Silva

commit sha 7885bf8b78e21a29e27c598e0aed602de8f15260

[mlir][DialectConversion] Fix recursive `clone` calls. The framework was not tracking ops created in any regions of the cloned op. Differential Revision: https://reviews.llvm.org/D89668

view details

Sean Silva

commit sha 57211fd239a3a3efe89f0b7091f86a167f8301ff

[mlir] Use dynamic_tensor_from_elements in shape.broadcast conversion Now, convert-shape-to-std doesn't internally create memrefs, which was previously a bit of a layering violation. The conversion to memrefs should logically happen as part of bufferization. Differential Revision: https://reviews.llvm.org/D89669

view details

push time in 18 hours

push eventapple/llvm-project

Joseph Huber

commit sha 24df30efda6169915bc75bbf78d4c7f65d5f57e2

[OpenMP] Fixing OpenMP/driver.c failing on 32-bit hosts The changes made in D88594 caused the test OpenMP/driver.c to fail on a 32-bit host becuase it was offloading to a 64-bit architecture by default. The offloading test was moved to a new file and a feature was added to the lit config to check for a 64-bit host. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D89696

view details

Alex Lorenz

commit sha 3fde03e81a04b119c9b12d42b2435909d8b83b7e

Merge commit '24df30efda61' from llvm.org/master into apple/main Conflicts: clang/test/lit.cfg.py

view details

git apple-llvm automerger

commit sha d69b396fb805a38184948ea78e38ce632e0c267d

Merge commit '3fde03e81a04' from apple/main into swift/next

view details

push time in 18 hours

more