Commit
e0807b0d7ef9178b6b5d32b87b70e793017e5c1e
by benny.kra[bazel] Add missing dependency after 713f85d5952ab27d474aba2a960a893b7e7e438d
|
 | utils/bazel/llvm-project-overlay/mlir/BUILD.bazel |
Commit
51a91d6c5d87fb85945f8c99b1e678e05d0723c0
by thakis[gn build] port b1356504e63ae (c++17)
|
 | llvm/utils/gn/build/BUILD.gn |
Commit
c59c8a515f54e262ececfd1056d402212117f22c
by thakis[gn build] port b1356504e63ae better (c++17)
|
 | llvm/utils/gn/build/BUILD.gn |
Commit
1c5a50e32815a49a41d79ff529ca8611ee49c5c8
by markus.boeck02[mlir][tblgen] Refact mlir-tblgen main into its own library
This has previously been done for `mlir-opt` and `mlir-reduce` and roughly the same approach has been done here.
The use case for having a separate library is that it is easier for downstream to make custom TableGen backends/executable that work on top of the utilities that are defined in `mlir/TableGen`. The customization point here is the same one as for any upstream TableGen backends: One can add a new generator by simply creating a global instance of `mlir::GenRegistration`.
Differential Revision: https://reviews.llvm.org/D131112
|
 | mlir/lib/TableGen/CMakeLists.txt |
 | mlir/include/mlir/Tools/mlir-tblgen/MlirTblgenMain.h |
 | mlir/tools/mlir-tblgen/CMakeLists.txt |
 | mlir/lib/Tools/CMakeLists.txt |
 | mlir/lib/Tools/mlir-tblgen/CMakeLists.txt |
 | mlir/lib/TableGen/GenInfo.cpp |
 | mlir/lib/Tools/mlir-tblgen/MlirTblgenMain.cpp |
 | mlir/tools/mlir-tblgen/mlir-tblgen.cpp |
Commit
f7b73b7e8e6799d566abeb9954a0617e648b833e
by markus.boeck02[llvm] Remove uses of deprecated `std::iterator`
std::iterator has been deprecated in C++17 and some standard library implementations such as MS STL or libc++ emit deperecation messages when using the class. Since LLVM has now switched to C++17 these will emit warnings on these implementations, or worse, errors in build configurations using -Werror.
This patch fixes these issues by replacing them with LLVMs own llvm::iterator_facade_base which offers a superset of functionality of std::iterator.
Differential Revision: https://reviews.llvm.org/D131320
|
 | llvm/include/llvm/Transforms/IPO/SampleContextTracker.h |
 | llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h |
 | llvm/unittests/ADT/IteratorTest.cpp |
Commit
547c551925c8f4dd979ba5cf16c857091a80254b
by thakis[gn build] Try to fix build on linux after std=c++17 switch
glibc annotates `process_vm_readv` with `__THROW`. lldb/include/lldb/Host/linux/Uio.h and lldb/source/Host/linux/LibcGlue.cpp don't.
Having a mismatch causes an error with c++17:
../../lldb/source/Host/linux/LibcGlue.cpp:18:9: error: 'process_vm_readv' is missing exception specification 'throw()' ssize_t process_vm_readv(::pid_t pid, const struct iovec *local_iov, ^ ../../lldb/include/lldb/Host/linux/Uio.h:18:9: note: previous declaration is here ssize_t process_vm_readv(::pid_t pid, const struct iovec *local_iov, ^
The diagnostic is a bit misleading, since the previous declaration in the sysroot (in usr/include/x76_64-linux-gnu/bits/uio-ext.h) is what has the `__THROW`.
In the cmake build, cmake sets `HAVE_PROCESS_VM_READV` correctly based on header probing.
In the GN build, just set it to 1 unconditionally on linux. If that turns out to not be good enough everywhere, we'll have to add a GN arg for this.
(I'm also setting it to 1 on Android. I'm not sure if that's correct -- but we don't build lldb for Android anyways.)
|
 | llvm/utils/gn/secondary/lldb/include/lldb/Host/BUILD.gn |
Commit
f4892975014a03fa4f8ec723b9e38bc29073b6e5
by thakis[gn build] fix 547c551925c8f4dd
|
 | llvm/utils/gn/secondary/lldb/include/lldb/Host/BUILD.gn |
Commit
ef60e44fe874e28a6cfff57533b63c752a36e7dd
by czhengsz[PowerPC] fix stack size allocated for float point argument
This is for https://github.com/llvm/llvm-project/issues/56469
Allocate 4 bytes for float point arguments on PPC32.
Reviewed By: nemanjai
Differential Revision: https://reviews.llvm.org/D129558
|
 | llvm/test/CodeGen/PowerPC/fminnum.ll |
 | llvm/test/CodeGen/PowerPC/pr56469.ll |
 | llvm/lib/Target/PowerPC/PPCCallingConv.td |
Commit
13016f1f1be5864dacdc8e15b920465dcec2b49a
by czhengsz[NFC] add test cases for D123366
|
 | llvm/test/CodeGen/PowerPC/ctrloops-pseudo.ll |
Commit
735240b38fd7a249474a66f96cb98587658010af
by koraq[libc++] Implement `operator<=>` for `unique_ptr`
Implements part of:
- P1614R2 The Mothership has Landed
Fixes LWG3426
Reviewed By: #libc, Mordante
Differential Revision: https://reviews.llvm.org/D130838
|
 | libcxx/include/memory |
 | libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/rel.pass.cpp |
 | libcxx/docs/Status/Cxx20Papers.csv |
 | libcxx/docs/Status/Cxx2bIssues.csv |
 | libcxx/include/__memory/unique_ptr.h |
 | libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/cmp.pass.cpp |
 | libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/eq.pass.cpp |
 | libcxx/docs/Status/SpaceshipProjects.csv |
 | libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/cmp_nullptr.pass.cpp |
Commit
619e8f46f3c77cb97464cf64e01872e6246f8875
by koraq[libc++] Remove `operator!=` from `type_info` in C++20
Implements part of:
* P1614R2 The Mothership has Landed
Reviewed By: #libc, Mordante
Differential Revision: https://reviews.llvm.org/D130853
|
 | libcxx/include/typeinfo |
 | libcxx/docs/Status/SpaceshipProjects.csv |
Commit
d6eea96b8e0401786bf7fa47ff97b52981cc4a24
by benny.kra[bazel] Port 1c5a50e32815a49a41d79ff529ca8611ee49c5c8
|
 | utils/bazel/llvm-project-overlay/mlir/BUILD.bazel |
Commit
486a3c4662cb052329b96537da18893d73138b64
by aaronUpdate the status of some more C DRs
Update some of the C99-era DRs starting in the 300s.
|
 | clang/test/C/drs/abc_123.h |
 | clang/www/c_dr_status.html |
 | clang/test/C/drs/dr3xx.c |
Commit
9750648cb44e3b201bce5878ce785228d1c005c7
by kazu[mlir, flang] Use has_value instead of hasValue (NFC)
|
 | mlir/lib/Dialect/Quant/IR/TypeParser.cpp |
 | mlir/lib/Dialect/DLTI/DLTI.cpp |
 | mlir/lib/Dialect/SPIRV/IR/SPIRVAttributes.cpp |
 | mlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp |
 | mlir/lib/AsmParser/AttributeParser.cpp |
 | mlir/lib/Dialect/EmitC/IR/EmitC.cpp |
 | mlir/lib/Dialect/PDL/IR/PDLTypes.cpp |
 | mlir/lib/Dialect/SPIRV/IR/SPIRVDialect.cpp |
 | mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp |
 | mlir/test/mlir-tblgen/default-type-attr-print-parser.td |
 | mlir/lib/Interfaces/ViewLikeInterface.cpp |
 | mlir/lib/IR/FunctionImplementation.cpp |
 | mlir/include/mlir/IR/OpImplementation.h |
 | mlir/test/lib/Dialect/Test/TestTypes.cpp |
 | mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp |
 | mlir/test/lib/Dialect/Test/TestTypes.h |
 | mlir/lib/Dialect/SCF/IR/SCF.cpp |
 | flang/lib/Optimizer/Dialect/FIROps.cpp |
 | mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp |
 | mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp |
 | flang/lib/Optimizer/Dialect/FIRType.cpp |
 | mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp |
 | mlir/tools/mlir-tblgen/OpFormatGen.cpp |
 | mlir/unittests/IR/AttributeTest.cpp |
 | mlir/test/lib/Dialect/Test/TestTypeDefs.td |
 | mlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp |
Commit
c8e6ebd74e548bd79662166906de53554773265e
by kazuUse value instead of getValue (NFC)
|
 | llvm/lib/Analysis/InstructionSimplify.cpp |
 | mlir/lib/IR/FunctionImplementation.cpp |
 | mlir/lib/Interfaces/ViewLikeInterface.cpp |
 | mlir/test/lib/Dialect/Test/TestTypes.cpp |
 | mlir/include/mlir/IR/OpImplementation.h |
 | bolt/unittests/Core/MCPlusBuilder.cpp |
 | mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp |
 | mlir/lib/Dialect/DLTI/DLTI.cpp |
 | clang/utils/TableGen/RISCVVEmitter.cpp |
 | mlir/lib/Dialect/SCF/IR/SCF.cpp |
 | mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp |
 | mlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp |
 | mlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp |
Commit
ede96de751224487aea122af8bfb4e82bc54840b
by kparzysz[RDF] Remove explicit template arguments from Print
CTAD takes care of it.
|
 | llvm/lib/CodeGen/RDFGraph.cpp |
 | llvm/lib/CodeGen/RDFLiveness.cpp |
Commit
0c9258612b67153e6760a330eb4cba1233e665b1
by schuett[bolt] silence unused variables warnings
|
 | bolt/lib/Core/BinaryContext.cpp |
 | bolt/lib/Core/Exceptions.cpp |
Commit
2bc390bdd66c9e0bc888f3bbe3eba473a54ff431
by kparzysz[RDF] Use default TargetOperandInfo if not given in constructor
All current in-tree users use the default implementation.
|
 | llvm/lib/CodeGen/RDFGraph.cpp |
 | llvm/lib/Target/Hexagon/HexagonOptAddrMode.cpp |
 | llvm/include/llvm/CodeGen/RDFGraph.h |
 | llvm/lib/Target/Hexagon/HexagonRDFOpt.cpp |
 | llvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp |
Commit
a6cb8419b1757380e3c577477fdc2501484a7245
by meclang: fix typo availbility
- Fixes [[ https://github.com/llvm/llvm-project/issues/56787 | #56787 ]].
I am fixing the spelling of availability.
I am unsure if this change will have any side effects. If someone can help on how to check if it has any side effects, I can test those out as well.
Reviewed By: inclyc
Differential Revision: https://reviews.llvm.org/D131277
|
 | clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp |
Commit
2d2ad02f43bda3629b1063945ac235e67dea79d4
by benny.kra[bazel] Switch to C++17
LLVM switched to C++17 in b1356504e63ae821cccf1e051a0d2526bdfef2b0
|
 | utils/bazel/.bazelrc |
Commit
d2b158e29eedf4a29bf8d2142f2ed21a52fc80a7
by John.Ericsonclang/cmake: Drop use of llvm-config for LLVM install discovery
This has been deprecated for a while, since D51714 in 2018.
Remove it in favor of using CMake's find_package() function.
Reviewed By: phosek, mgorny
Differential Revision: https://reviews.llvm.org/D128777
|
 | clang/CMakeLists.txt |
Commit
91f3f0bf31d6fdcbbd750670840e22f9b2b36625
by John.Ericsonlld/cmake: Drop use of llvm-config for LLVM install discovery
This has been deprecated since D116492 earlier in 2022.
That seems recent, but with the recent cut of LLVM 15 that is still two releases (14 and 15). Meanwhile Clang has deprecated `llvm-config` for a lot longer, and since it is likely that LLD users are also Clang users, this serves as an extra "heads up" that `llvm-config` is on its way out.
Remove it in favor of using CMake's find_package() function.
Reviewed By: MaskRay, mgorny
Differential Revision: https://reviews.llvm.org/D131144
|
 | lld/CMakeLists.txt |
Commit
e21202dac18ed7f718d26a0e131f96b399b4891c
by i[Clang][OpenMP] Fix the issue that `llvm.lifetime.end` is emitted too early for variables captured in linear clause
Currently if an OpenMP program uses `linear` clause, and is compiled with optimization, `llvm.lifetime.end` for variables listed in `linear` clause are emitted too early such that there could still be uses after that. Let's take the following code as example: ``` // loop.c int j; int *u;
void loop(int n) { int i; for (i = 0; i < n; ++i) { ++j; u = &j; } } ``` We compile using the command: ``` clang -cc1 -fopenmp-simd -O3 -x c -triple x86_64-apple-darwin10 -emit-llvm loop.c -o loop.ll ``` The following IR (simplified) will be generated: ``` @j = local_unnamed_addr global i32 0, align 4 @u = local_unnamed_addr global ptr null, align 8
define void @loop(i32 noundef %n) local_unnamed_addr { entry: %j = alloca i32, align 4 %cmp = icmp sgt i32 %n, 0 br i1 %cmp, label %simd.if.then, label %simd.if.end
simd.if.then: ; preds = %entry call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %j) store ptr %j, ptr @u, align 8 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %j) %0 = load i32, ptr %j, align 4 store i32 %0, ptr @j, align 4 br label %simd.if.end
simd.if.end: ; preds = %simd.if.then, %entry ret void } ``` The most important part is: ``` call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %j) %0 = load i32, ptr %j, align 4 store i32 %0, ptr @j, align 4 ``` `%j` is still loaded after `@llvm.lifetime.end.p0(i64 4, ptr nonnull %j)`. This could cause the backend incorrectly optimizes the code and further generates incorrect code. The root cause is, when we emit a construct that could have `linear` clause, it usually has the following pattern: ``` EmitOMPLinearClauseInit(S) { OMPPrivateScope LoopScope(*this); ... EmitOMPLinearClause(S, LoopScope); ... (void)LoopScope.Privatize(); ... } EmitOMPLinearClauseFinal(S, [](CodeGenFunction &) { return nullptr; }); ``` Variables that need to be privatized are added into `LoopScope`, which also serves as a RAII object. When `LoopScope` is destructed and if optimization is enabled, a `@llvm.lifetime.end` is also emitted for each privatized variable. However, the writing back to original variables in `linear` clause happens after the scope in `EmitOMPLinearClauseFinal`, causing the issue we see above.
A quick "fix" seems to be, moving `EmitOMPLinearClauseFinal` inside the scope. However, it doesn't work. That's because the local variable map has been updated by `LoopScope` such that a variable declaration is mapped to the privatized variable, instead of the actual one. In that way, the following code will be generated: ``` %0 = load i32, ptr %j, align 4 store i32 %0, ptr %j, align 4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %j) ``` Well, now the life time is correct, but apparently the writing back is broken.
In this patch, a new function `OMPPrivateScope::restoreMap` is added and called before calling `EmitOMPLinearClauseFinal`. This can make sure that `EmitOMPLinearClauseFinal` can find the orignal varaibls to write back.
Fixes #56913.
Reviewed By: ABataev
Differential Revision: https://reviews.llvm.org/D131272
|
 | clang/test/OpenMP/for_linear_codegen.cpp |
 | clang/lib/CodeGen/CodeGenFunction.h |
 | clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp |
 | clang/lib/CodeGen/CGStmtOpenMP.cpp |
 | clang/test/OpenMP/bug56913.c |
Commit
bf5550b6790b5873f75db010db158cdae84deecc
by i[ADT] Fix signature of StringSet::insert
to match StringMap and unordered_set.
|
 | llvm/include/llvm/ADT/StringSet.h |
Commit
c7ec86b13c461f6a8ce11f8443c1b6242013d26f
by i[clang-tidy] Fix g++ -DCMAKE_CXX_STANDARD=17 build
`constexpr std::initializer_list<llvm::StringRef>` leads to ``` error: modification of '<temporary>' is not a constant expression ``` Related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102921
|
 | clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h |
 | clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.cpp |
Commit
bccdf9197b6d647ccf5bbc86b25e29278aebc4e5
by iRevert "[lld-macho] Work around odr-use of const non-inline static data member to fix -O0 build after D128298"
This reverts commit 20b2d3260d4a1878ca2a37cee6ee335a21a12d0f. The workaround is no longer needed for C++17.
|
 | lld/MachO/SyntheticSections.cpp |
Commit
5deb678289df4a11d5c0786d702ad2730cd7e391
by iRevert "[SampleProfileInference] Work around odr-use of const non-inline static data member to fix -O0 builds after D120508"
This reverts commit 48c74bb2e2a72830f1068823bfc2f6fd4b53d427. With C++17 the workaround is no longer needed.
|
 | llvm/lib/Transforms/Utils/SampleProfileInference.cpp |
Commit
ec04e45c0358aa47c4696e474c350b9d56e42923
by i[lld] LLVM_FALLTHROUGH => [[fallthrough]]. NFC
With C++17 there is no Clang pedantic warning or MSVC C5051.
|
 | lld/ELF/Arch/Mips.cpp |
 | lld/ELF/Arch/AArch64.cpp |
 | lld/ELF/Arch/ARM.cpp |
 | lld/ELF/Arch/PPC64.cpp |
 | lld/ELF/SyntheticSections.cpp |
 | lld/COFF/Driver.cpp |
 | lld/ELF/InputFiles.cpp |
Commit
fa66789d06be2937b15e02a286b67c5f5274df31
by i[llvm] LLVM_NODISCARD => [[nodiscard]]. NFC
With C++17 there is no Clang pedantic warning.
|
 | llvm/include/llvm/ADT/TypeSwitch.h |
 | llvm/include/llvm/ADT/ImmutableMap.h |
 | llvm/include/llvm/Analysis/AliasAnalysis.h |
 | llvm/include/llvm/ADT/StringSwitch.h |
 | llvm/include/llvm/ADT/APSInt.h |
 | llvm/include/llvm/ADT/ImmutableList.h |
 | llvm/lib/CodeGen/RegisterCoalescer.cpp |
 | llvm/unittests/ProfileData/CoverageMappingTest.cpp |
 | llvm/include/llvm/ADT/SmallSet.h |
 | llvm/include/llvm/ADT/SmallVector.h |
 | llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp |
 | llvm/include/llvm/ADT/SetVector.h |
 | llvm/lib/Transforms/InstCombine/InstCombineInternal.h |
 | llvm/include/llvm/ADT/ArrayRef.h |
 | llvm/include/llvm/IR/Attributes.h |
 | llvm/include/llvm/ADT/SmallPtrSet.h |
 | llvm/include/llvm/IR/ConstantRange.h |
 | llvm/include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h |
 | llvm/include/llvm/ADT/ScopeExit.h |
 | llvm/lib/CodeGen/MachineFunction.cpp |
 | llvm/include/llvm/ADT/StringRef.h |
 | llvm/include/llvm/CodeGen/MachineFunction.h |
 | llvm/include/llvm/Support/raw_ostream.h |
 | llvm/include/llvm/ADT/ImmutableSet.h |
 | llvm/include/llvm/ADT/DenseMap.h |
 | llvm/include/llvm/Support/Casting.h |
 | llvm/include/llvm/Support/Error.h |
 | llvm/include/llvm/Analysis/ScalarEvolution.h |
 | llvm/lib/Transforms/Coroutines/CoroFrame.cpp |
 | llvm/unittests/ProfileData/InstrProfTest.cpp |
 | llvm/include/llvm/ADT/APInt.h |
 | llvm/include/llvm/ADT/PriorityWorklist.h |
 | llvm/include/llvm/ADT/simple_ilist.h |
Commit
4401bde317555759a39136f4a232b3311c600655
by jpienaar[mlir][tosa] Flip to prefixed form.
Flipped to _Both 2 weeks ago, flipping to _Prefixed now.
|
 | mlir/include/mlir/Dialect/Tosa/IR/TosaOpBase.td |
Commit
1f54006bcacf3967b03f9851edf7f9cd773d53e8
by me[clang][docs] use `Fixes` instead of `This fixes` in ReleaseNotes [NFC]
|
 | clang/docs/ReleaseNotes.rst |
Commit
5e9b6a2243199d19fb7f23f8a3dce5ac813a2151
by john.demme[MLIR] Add MlirValue to PybindAdapters
Allows out-of-tree users to automatically cast to/from MlirValue.
|
 | mlir/include/mlir/Bindings/Python/PybindAdaptors.h |
Commit
aa4977f2e1354bb5e1937235dd12199839ab0801
by sgurevich[LLDB][NFC] Reliability fixes to TCPSocket code
Patch the following issues found by static code inspection: - Unchecked return values from lib calls - Passing potentially negative arg into a function that requires non-negative input - Possible socket double-close
Differential Revision: https://reviews.llvm.org/D131294
|
 | lldb/source/Host/common/TCPSocket.cpp |
Commit
3b114087c34bc1428b157eff8ca8599f7d2380f9
by kazu[llvm] Drop unnecessary const from return types (NFC)
Identified with readability-const-return-type.
|
 | llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h |
 | llvm/include/llvm/Analysis/LoopAccessAnalysis.h |
Commit
af2d2d775908734f2a71a70a24ad540760f2d88b
by kazu[mlir] Remove redundaunt return statements (NFC)
Identified with readability-redundant-control-flow.
|
 | mlir/lib/Transforms/Utils/CommutativityUtils.cpp |
Commit
a2d45017182a5b98a6a3c75de49e599d67c92fbb
by kazu[llvm] Fix comment typos (NFC)
|
 | llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp |
 | llvm/lib/Target/X86/X86TargetTransformInfo.cpp |
 | llvm/lib/Target/X86/X86ISelDAGToDAG.cpp |
 | llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp |
 | llvm/lib/Transforms/Scalar/LoopFuse.cpp |
 | llvm/utils/UnicodeData/UnicodeNameMappingGenerator.cpp |
 | llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp |
 | llvm/lib/Transforms/Scalar/LoopFlatten.cpp |
 | llvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp |
 | llvm/lib/Transforms/Utils/SimplifyCFG.cpp |
 | llvm/include/llvm/CodeGen/TargetLowering.h |
 | llvm/lib/Bitcode/Reader/BitcodeReader.cpp |
 | llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp |
 | llvm/lib/Target/PowerPC/PPCMIPeephole.cpp |
 | llvm/tools/llvm-profgen/PerfReader.h |
 | llvm/utils/TableGen/DecoderEmitter.cpp |
 | llvm/tools/verify-uselistorder/verify-uselistorder.cpp |
 | llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp |
 | llvm/utils/git/github-automation.py |
 | llvm/lib/CodeGen/InlineSpiller.cpp |
 | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp |
 | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp |
 | llvm/lib/Transforms/Utils/CodeLayout.cpp |
 | llvm/lib/Transforms/Utils/CanonicalizeAliases.cpp |
 | llvm/lib/ExecutionEngine/Orc/Core.cpp |
 | llvm/lib/Target/X86/X86MCInstLower.cpp |
 | llvm/lib/CodeGen/VLIWMachineScheduler.cpp |
 | llvm/lib/Target/ARM/ARMISelLowering.cpp |
 | llvm/lib/Target/RISCV/RISCVISelLowering.cpp |
 | llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp |
 | llvm/lib/Transforms/IPO/AttributorAttributes.cpp |
 | llvm/lib/IR/BuiltinGCs.cpp |
 | llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp |
 | llvm/lib/Analysis/InstructionSimplify.cpp |
 | llvm/lib/MC/MCParser/AsmLexer.cpp |
 | llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp |
 | llvm/lib/Target/AArch64/AArch64InstrInfo.cpp |
 | llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp |
 | llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp |
Commit
d0ec61c9ffb32891ed02e57fd2327aa4d641ecde
by kazu[Target] Remove unused forward declarations (NFC)
|
 | llvm/lib/Target/AMDGPU/MCTargetDesc/R600MCTargetDesc.h |
 | llvm/lib/Target/AMDGPU/SIInstrInfo.cpp |
 | llvm/lib/Target/AArch64/AArch64FrameLowering.h |
 | llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h |
 | llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h |
Commit
7542e72188cb05b22523cc58ea4223951399520d
by kazuUse llvm::is_contained (NFC)
|
 | clang/lib/Sema/SemaOpenMP.cpp |
 | clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp |
 | clang/lib/AST/ASTContext.cpp |
 | lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.cpp |
 | clang-tools-extra/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp |
 | lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp |
 | clang-tools-extra/clang-tidy/misc/NoRecursionCheck.cpp |
 | lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp |
 | clang-tools-extra/clang-tidy/readability/DuplicateIncludeCheck.cpp |
 | lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp |
Commit
54199d805a5431df292d412dbbae9286b3690ad3
by kazu[x86] Remove unused declaration processWaitCnt (NFC)
The declaration was introduced without a corresponding definition on Jan 2, 2022 in commit 85e6e748d426f8992016914b07bc67c4da22e278.
|
 | llvm/lib/Target/X86/MCA/X86CustomBehaviour.h |
Commit
ba0407ba86d0a87f01e1a676f9dc23bae3e9c169
by kazu[llvm] Use range-based for loops (NFC)
|
 | llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp |
 | llvm/lib/Target/AMDGPU/SIInstrInfo.cpp |
 | llvm/include/llvm/IR/ModuleSummaryIndexYAML.h |
 | llvm/lib/Transforms/IPO/GlobalOpt.cpp |
 | llvm/include/llvm/Analysis/LoopInfoImpl.h |
 | llvm/lib/Target/X86/X86CmovConversion.cpp |
 | llvm/include/llvm/Analysis/TargetTransformInfoImpl.h |
 | llvm/include/llvm/Bitstream/BitstreamWriter.h |
 | llvm/lib/Target/X86/X86VZeroUpper.cpp |
 | llvm/lib/Target/X86/X86FrameLowering.cpp |
 | llvm/lib/Target/X86/X86InstrInfo.cpp |
 | llvm/include/llvm/Bitstream/BitstreamReader.h |
Commit
fdc950958ed0970159071cc4367a66149971586f
by shivam98.tkgAdded warning about outdated feature into Kaleidoscope tutorial text
**Motivation: ** I have been studying LLVM with LLVM Kaleidoscope tutorial. In the 4th part I faced an error which said that I can't redefine a function as shown in the tutorial. After hours of searching, I finally found the reason that produced the error is that the feature of symbols redefinition has been disabled since LLVM-9. There was no information about that in the tutorial's text, so I've decided to add a warning.
**Changes**: The only file I fixed is "`llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst`", I added text warning which says that described feature is outdated and the described functionality will not work properly on LLVM versions older 8 one.
Patch by : DKay7
Differential Revision: https://reviews.llvm.org/D130613
|
 | llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst |
Commit
f0f1bcadc74fa5cd11a118673340ca3e9a8c0037
by alexey.bader[demangler] Add getters for Qual/Vector/Pointer types
These are useful for downstream tool aligning the mangling of data types which differ between different languages/targets.
Patch by Steffen Larsen <steffen.larsen@intel.com>
Differential Revision: https://reviews.llvm.org/D130909
|
 | llvm/include/llvm/Demangle/ItaniumDemangle.h |
Commit
26d811b3ecd2fa1ca3d9b41e17fb42b8c7ad03d6
by markus.boeck02[mlir] Make use of C++17 language features
Now that C++17 is enabled in LLVM, a lot of the TODOs and patterns to emulate C++17 features can be eliminated. The steps I have taken were essentially: ``` git grep C++17 git grep c++17 git grep "initializer_list<int>" ``` and address given comments and patterns. Most of the changes boiled down to just using fold expressions rather than initializer_list.
While doing this I also discovered that Clang by default restricts the depth of fold expressions to 256 elements. I specifically hit this with `TestDialect` in `addOperations`. I opted to not replace it with fold expressions because of that but instead adding a comment documenting the issue. If any other functions may be called with more than 256 elements in the future we might have to revert other parts as well. I don't think this is a common occurence besides the `TestDialect` however. If need be, this could potentially be fixed via `mlir-tblgen` in the future.
Differential Revision: https://reviews.llvm.org/D131323
|
 | mlir/lib/IR/BuiltinTypes.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp |
 | mlir/include/mlir/IR/OpDefinition.h |
 | mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp |
 | mlir/include/mlir/IR/Matchers.h |
 | mlir/lib/Dialect/Linalg/IR/LinalgDialect.cpp |
 | mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h |
 | mlir/include/mlir/IR/BuiltinTypes.td |
 | mlir/include/mlir/IR/Dialect.h |
 | mlir/include/mlir/IR/PatternMatch.h |
 | mlir/include/mlir/IR/DialectRegistry.h |
 | mlir/include/mlir/IR/StorageUniquerSupport.h |
 | mlir/lib/Dialect/Tosa/Transforms/TosaLayerwiseConstantFoldPass.cpp |
 | mlir/include/mlir/IR/BuiltinAttributes.h |
 | mlir/examples/standalone/CMakeLists.txt |
 | mlir/include/mlir/Dialect/Transform/IR/TransformDialect.td |
 | mlir/include/mlir/ExecutionEngine/ExecutionEngine.h |
 | mlir/include/mlir/Support/InterfaceSupport.h |
 | mlir/lib/Dialect/Linalg/Transforms/BufferizableOpInterfaceImpl.cpp |
Commit
6bb51bf06214af3690af7034f4edeb265732c481
by fsb4000[libc++][test] Fix MSVC warnings C6054, C6001, C4242 in format_tests.h
Reviewed By: Mordante
Differential Revision: https://reviews.llvm.org/D131336
|
 | libcxx/test/std/utilities/format/format.functions/format_tests.h |
Commit
b02c7e2b630a04701d12efd2376f25eff2767279
by gareevroman[Polly] Generalize the pattern matching to the case of tensor contractions
The pattern matching optimization of Polly detects and optimizes dense general matrix-matrix multiplication. The generated code is close to high performance implementations of matrix-matrix multiplications, which are contained in manually tuned libraries. The described pattern matching optimization is a particular case of tensor contraction optimization, which was introduced in [1].
This patch generalizes the pattern matching to the case of tensor contractions using the form of data dependencies and memory accesses produced by tensor contractions [1].
Optimization of tensor contractions will be added in the next patch. Following the ideas introduced in [2], it will logically represent tensor contraction operands as matrix multiplication operands and use an approach for optimization of matrix-matrix multiplications.
[1] - Gareev R., Grosser T., Kruse M. High-Performance Generalized Tensor Operations: A Compiler-Oriented Approach // ACM Transactions on Architecture and Code Optimization (TACO). 2018. Vol. 15, no. 3. P. 34:1–34:27. DOI: 10.1145/3235029.
[2] - Matthews D. High-Performance Tensor Contraction without BLAS // SIAM Journal on Scientific Computing. 2018. Vol. 40, no. 1. P. C 1—C 24. DOI: 110.1137/16m108968x.
Reviewed By: Meinersbur
Differential Revision: https://reviews.llvm.org/D114336
|
 | polly/lib/Support/ISLTools.cpp |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_22.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_16.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_19.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_18.ll |
 | polly/lib/Transform/MatmulOptimizer.cpp |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_23.ll |
 | polly/lib/Transform/ScheduleOptimizer.cpp |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_2.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm_2.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_21.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_4.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_20.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts.ll |
 | polly/include/polly/Support/ISLTools.h |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_17.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_24.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_15.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_25.ll |
Commit
f8d976171f2a1b7bf9268929f77904973edb0378
by david.green[ARM] Regenerate vector_store.ll tests. NFC
|
 | llvm/test/CodeGen/ARM/vector-store.ll |
Commit
d3b3f7653dd4d1013117429c2fb40b6f7273157a
by jpienaar[mlir] Flip to prefixed accessors (NFC)
|
 | mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/Loops.cpp |
 | mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/InlineScalarOperands.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/NamedOpConversions.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/Detensorize.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/DecomposeLinalgOps.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp |
 | mlir/lib/Dialect/Linalg/Utils/Utils.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/SplitReduction.cpp |
 | mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp |
 | mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/Interchange.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/Generalization.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/InitTensorToAllocTensor.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp |
 | mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp |
Commit
e8c9eb49ead08dfd7e469a6574b2e8c10c2dd5f3
by gareevroman[Polly] Suppress the LLVM-IR output for pattern matching tests, if there is no FileCheck-ing for it.
|
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_2.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts.ll |
 | polly/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll |
Commit
32fd0b7fd5ab26a70be1a16846232055e92cb597
by aaronRevert "[RDF] Remove explicit template arguments from Print"
This reverts commit ede96de751224487aea122af8bfb4e82bc54840b.
This breaks the build on Windows with Visual Studio: https://lab.llvm.org/buildbot/#/builders/123/builds/12134
|
 | llvm/lib/CodeGen/RDFLiveness.cpp |
 | llvm/lib/CodeGen/RDFGraph.cpp |
Commit
82439b201a01707fd18f0d34a4b625132b9c7304
by hokein.wu[clang-tidy] Fix a forwarding-reference-overload crash after the ElaboratedType change.
After 15f3cd6bfc670ba6106184a903eb04be059e5977, the nss of ElaboratedType can be null.
|
 | clang-tools-extra/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp |
 | clang-tools-extra/test/clang-tidy/checkers/bugprone/forwarding-reference-overload.cpp |
Commit
ea540bc21078ffc28435ad5802d2e821036744bd
by me[polly] Fixed a number of typos. NFC
I went over the output of the following mess of a command:
`(ulimit -m 2000000; ulimit -v 2000000; git ls-files -z | parallel --xargs -0 cat | aspell list --mode=none --ignore-case | grep -E '^[A-Za-z][a-z]*$' | sort | uniq -c | sort -n | grep -vE '.{25}' | aspell pipe -W3 | grep : | cut -d' ' -f2 | less)`
and proceeded to spend a few days looking at it to find probable typos and fixed a few hundred of them in all of the llvm project (note, the ones I found are not anywhere near all of them, but it seems like a good start).
Reviewed By: inclyc
Differential Revision: https://reviews.llvm.org/D131167
|
 | polly/test/ScopInfo/invariant_load_canonicalize_array_baseptrs_3.ll |
 | polly/test/ScopInfo/invariant_load_canonicalize_array_baseptrs_4.ll |
 | polly/lib/Transform/ScheduleTreeTransform.cpp |
 | polly/test/ScopInfo/aliasing_many_parameters_not_all_involved.ll |
 | polly/test/ScopInfo/multidim_fold_constant_dim_zero.ll |
 | polly/docs/HowToManuallyUseTheIndividualPiecesOfPolly.rst |
 | polly/lib/CodeGen/ManagedMemoryRewrite.cpp |
 | polly/test/ScopInfo/extract_constant_factor_introduces_new_parameter.ll |
 | polly/test/ScopInfo/redundant_parameter_constraint.ll |
 | polly/include/polly/Support/VirtualInstruction.h |
 | polly/www/index.html |
 | polly/test/ScopInfo/multidim_many_references.ll |
 | polly/test/ScopInfo/ranged_parameter.ll |
 | polly/test/ScopInfo/invalid_add_rec_after_invariant_load_remapping.ll |
 | polly/test/ForwardOpTree/changed-kind.ll |
 | polly/test/ScopDetect/non-affine-loop.ll |
 | polly/www/todo.html |
 | polly/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll |
 | polly/www/documentation/gpgpucodegen.html |
 | polly/test/Simplify/out-of-scop-use-in-region-entry-phi-node.ll |
 | polly/tools/GPURuntime/GPUJIT.h |
 | polly/test/CodeGen/non-affine-update.ll |
 | polly/test/ScopInfo/aliasing_conditional_alias_groups_2.ll |
 | polly/lib/Transform/ManualOptimizer.cpp |
 | polly/www/projects.html |
 | polly/www/performance.html |
 | polly/test/ScopInfo/scalar_to_array.ll |
Commit
7602e285f69c4e3af60629100c151067c27b9eca
by jpienaar[mlir] Flip to prefixed accessors (NFC)
Missed these in td files.
|
 | mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td |
 | mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td |
 | mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td |
Commit
3f10091c04e1478e0e5b2deb7dd782ebca0d529c
by pklausler[flang] Allow pure function references in expandable scalar
F18 disallows function references and coarray references from appearing in scalar expressions that are to be expanded into arrays to conform with other operands or actual arguments in an elemental expression. This is too strong, as pure procedures can be safely used.
Differential Revision: https://reviews.llvm.org/D131096
|
 | flang/include/flang/Evaluate/tools.h |
 | flang/include/flang/Evaluate/call.h |
 | flang/lib/Semantics/expression.cpp |
 | flang/lib/Evaluate/call.cpp |
Commit
dbff03b85840592fcfc97d1a10d4fad5f70e6aee
by deadalnix[X86] Add test case to recombine LEA from OR.
|
 | llvm/test/CodeGen/X86/or-lea.ll |
Commit
87dc7d4b619d9823b4d5d33bbc3ff3a193b9da2f
by me[clang][CodeGen] Factor out Swift ABI hooks (NFCI)
Swift calling conventions stands out in the way that they are lowered in mostly target-independent manner, with very few customization points. As such, swift-related methods of ABIInfo do not reference the rest of ABIInfo and vice versa. This change follows interface segregation principle; it removes dependency of SwiftABIInfo on ABIInfo. Targets must now implement SwiftABIInfo separately if they support Swift calling conventions.
Almost all targets implemented `shouldPassIndirectly` the same way. This de-facto default implementation has been moved into the base class.
`isSwiftErrorInRegister` used to be virtual, now it is not. It didn't accept any arguments which could have an effect on the returned value. This is now a static property of the target ABI.
Reviewed By: rusyaev-roman, inclyc
Differential Revision: https://reviews.llvm.org/D130394
|
 | clang/lib/CodeGen/SwiftCallingConv.cpp |
 | clang/lib/CodeGen/TargetInfo.cpp |
 | clang/lib/CodeGen/ABIInfo.h |
 | clang/lib/CodeGen/TargetInfo.h |
Commit
1dcff823db9f4dd5c300507f679cdb2494287442
by Lang Hames[ORC-RT] Drop __orc_rt::string_view now that we have c++17.
b1356504e63 enabled the use of c++17 features in LLVM, which means that we can drop the ORC runtime's placeholder string_view implemention in favor of std::string_view.
|
 | compiler-rt/lib/orc/unittests/simple_packed_serialization_test.cpp |
 | compiler-rt/lib/orc/adt.h |
 | compiler-rt/lib/orc/elfnix_platform.cpp |
 | compiler-rt/lib/orc/simple_packed_serialization.h |
 | compiler-rt/lib/orc/macho_platform.cpp |
 | compiler-rt/lib/orc/run_program_wrapper.cpp |
 | compiler-rt/lib/orc/unittests/adt_test.cpp |
Commit
6ea5bf436a983ea9e16a5fe7534c87beca0a61b7
by Lang Hames[JITLink] Fix some C++17 related fixmes.
|
 | llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp |
Commit
2843a1d87d95f09d2960b17f33b9ce57c6f878a3
by spatel[InstCombine] add tests for bitwise logic; NFC
|
 | llvm/test/Transforms/InstCombine/and-or-not.ll |
Commit
8148c28fad4956b6fc785a5cf1d082eda56e1c6a
by spatel[ConstFolding] fix overzealous assert when converting FP half
Fixes #56981
|
 | llvm/test/Transforms/InstSimplify/ConstProp/convert-from-fp16.ll |
 | llvm/lib/Analysis/ConstantFolding.cpp |
Commit
5b14c7aee82e67c31e7badae2f5323355cf5dd6d
by kazu[mlir] Fix a warning
This patch fixes:
llvm-project/mlir/include/mlir/IR/OpDefinition.h:1544:19: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
|
 | mlir/include/mlir/IR/OpDefinition.h |
Commit
fc40804a5a1d30d336576956d2a84600872092a1
by avogelsgesang[libc++][NFC] Fix `the the` in comment in `__format/buffer.h`
I made this commit primarily to test my commit access to the LLVM repo
Differential Revision: https://reviews.llvm.org/D131365
|
 | libcxx/include/__format/buffer.h |
Commit
e49c1568b6160f9a02da3295ac0d5c684fb64201
by davelee.com[lldb] Dynamically generate enum names in lldbutil
Change the `<enum>_to_str` functions in lldbutil to be dynamic.
Instead of a manually maintained if/elif switch, the functions now perform lookup in a dynamically generated dict. The names are determined by stripping the enum's prefix, and then lowercasing the remaining suffix, ex:
eStateRunning -> "running"
Differential Revision: https://reviews.llvm.org/D131138
|
 | lldb/packages/Python/lldbsuite/test/lldbutil.py |
Commit
87990fd8f4ba0e87ae21c69ae0cff4921c0e2cdf
by davelee.com[lldb] Fix formatting in python-reference.rst
|
 | lldb/docs/use/python-reference.rst |
Commit
c615e467dbaf5240e4f48f3536d4857ff58c7531
by davelee.com[lldb] Hoist TraceOn check out of loop (NFC)
|
 | lldb/test/API/lang/cpp/class_types/TestClassTypesDisassembly.py |
Commit
aa2a3196e28425c6bcf74bbf913efeda1f7fa1c7
by Lang Hames[ORC-RT] Remove a stray __orc_rt::string_view helper.
This function was accidentally left in after 1dcff823db9.
|
 | compiler-rt/lib/orc/adt.h |
Commit
b5f8d42efe3e246d582d4a1a328fac915e4ce8dc
by kazu[ADT] Deprecate Optional::{hasValue,getValue} (NFC)
Differential Revision: https://reviews.llvm.org/D131349
|
 | llvm/include/llvm/ADT/Optional.h |
Commit
f616a63db25579d51bc11763535aaf371b075827
by kazu[mlir] Use value instead of getValue
|
 | mlir/include/mlir/IR/OpDefinition.h |
Commit
41c41fcbc036d75e6b6ea0756857099befbb3313
by Lang HamesRevert "[JITLink] Fix some C++17 related fixmes."
This reverts commit 6ea5bf436a983ea9e16a5fe7534c87beca0a61b7.
6ea5bf436a983ea9e16a5fe7534c87beca0a61b7 made use of new c++17 rules regarding order of evaluation (specifically: in function calls the expression naming the function should be sequenced before the evalution of any operands) to simplify some continuation-passing calls. Unfortunately this appears to break at least one MSVC bot: https://lab.llvm.org/buildbot/#/builders/123/builds/12149 .
Includes an update to the comments to note that the workaround is now based on MSVC limitations, not on LLVM adopting c++17.
|
 | llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp |
Commit
921316af6e6b34d57d5e8f26f86f2bce8d034c7f
by pklausler[flang][runtime] Catch & report attempts at recursive I/O
When an I/O statement contains a function call that attempts to perform I/O on the same unit, detect the recursive I/O and terminate with a useful message rather than deadlocking in the threading library.
Differential Revision: https://reviews.llvm.org/D131097
|
 | flang/runtime/unit.h |
 | flang/runtime/unit.cpp |
 | flang/runtime/io-api.cpp |
Commit
34a785fee747f45607ec2882f1accebf2cff9006
by spatel[InstSimplify] add test for over-shift of scalable vector; NFC
|
 | llvm/test/Transforms/InstSimplify/shift.ll |
Commit
74b5e797d5c9364bfc733f07ed9d27a33853f57b
by spatel[InstSimplify] fold scalable vectors with over-shift splat constant to poison
Fixes #56968
|
 | llvm/test/Transforms/InstSimplify/shift.ll |
 | llvm/lib/Analysis/InstructionSimplify.cpp |
Commit
d446d91aa39da6b616aacb3e036d4ff0d8905337
by Jonas Devlieghere[lldb] Use single-argument static_assert where applicable (NFC)
Since C++17 the message string for static_assert is optional. Replaces static asserts with an empty string literal with the single-argument variant.
|
 | lldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp |
 | lldb/source/Plugins/SymbolFile/DWARF/DIERef.h |
 | lldb/include/lldb/Utility/Scalar.h |
 | lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.cpp |
 | lldb/include/lldb/Utility/Log.h |
 | lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp |
 | lldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp |
 | lldb/tools/debugserver/source/MacOSX/MachVMRegion.cpp |
Commit
608131b1f94d895e848405215f29c30822f93603
by Lang Hames[ORC-RT] Fix missing #include <string_view>s.
1dcff823db9 updated the ORC runtime to use std::string_view, rather than its own placeholder class (__orc_rt::string_view), but failed to add these includes.
|
 | compiler-rt/lib/orc/simple_packed_serialization.h |
 | compiler-rt/lib/orc/elfnix_platform.cpp |
 | compiler-rt/lib/orc/macho_platform.cpp |
Commit
e6373de53d35ebc0e9b0d62e664b7718f589b28e
by pklausler[flang] Allow assignment to host association in BLOCK in PURE subprogram
We need to distinguish BLOCK host association from subprogram host association when checking assignments in PURE subprograms. The specific case that is not allowed is an assignment to a variable from the scope around the PURE subprogram.
Differential Revision: https://reviews.llvm.org/D131098
|
 | flang/include/flang/Semantics/tools.h |
 | flang/lib/Semantics/assignment.cpp |
 | flang/lib/Semantics/tools.cpp |
Commit
10de5512971014cb98d41feefcf4206ca442c743
by jpienaar[mlir][python] Address deprecation warning for hasValue
|
 | mlir/lib/Bindings/Python/IRModule.h |
Commit
d1bb3016ddc8331a96048eda37ab13bf412c7749
by ashay[mlir] fix `add_tablegen()` macro to allow installing mlir-pdll
Prior to this patch, the `add_tablegen()` macro in llvm/cmake/modules/TableGen.cmake added the install rule only if `project` matched `LLVM` or `MLIR`. This patch adds an optional `DESTINATION` argument, which, if non-empty, decides whether (and where) to install the tablegen tool, thus eliminating the need for project-specific overrides. This patch also updates all other invocations of the `add_tablegen()` macro.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D131282
|
 | llvm/utils/TableGen/CMakeLists.txt |
 | mlir/tools/mlir-pdll/CMakeLists.txt |
 | clang/utils/TableGen/CMakeLists.txt |
 | mlir/tools/mlir-tblgen/CMakeLists.txt |
 | llvm/cmake/modules/TableGen.cmake |
Commit
1d1f5a5251f7570615f0669a56af0ac5b8b302bc
by pklausler[flang] Handle subnormals while folding SCALE, SET_EXPONENT, & FRACTION
The implementations of folding for the intrinsic functions SCALE and SET_EXPONENT do not cope correctly with numbers in the subnormal range. Fix SCALE, then modify SET_EXPONENT to be a special case of SCALE.
Differential Revision: https://reviews.llvm.org/D131099
|
 | flang/include/flang/Evaluate/real.h |
 | flang/test/Evaluate/folding07.f90 |
 | flang/lib/Evaluate/real.cpp |
Commit
98339ac7af30b95f42f50e27bb6f6b7e2857ddc9
by jun[Support] move llvm::llvm_is_multithread to header, NFC
This allow optimization without LTO. Also remove some useless else-ifs. Signed-off-by: Jun Zhang <jun@junz.org>
Differential Revision: https://reviews.llvm.org/D131313
|
 | llvm/lib/Support/Threading.cpp |
 | llvm/include/llvm/Support/Threading.h |
 | llvm/include/llvm/Support/Mutex.h |
Commit
ace6e172bd2c86a3b035b90c7e4adedb6ab7a291
by luxufan[RISCV] Support fe_getround and fe_raise_inexact in builtins
Reviewed By: luismarques
Differential Revision: https://reviews.llvm.org/D128240
|
 | compiler-rt/lib/builtins/riscv/fp_mode.c |
 | compiler-rt/lib/builtins/CMakeLists.txt |
Commit
cf7c8bd74ecc6b60f42b78b1829aaf87b5e077a9
by thakis[gn build] (manually) port ace6e172bd2c
|
 | llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn |
Commit
64d326c33c6d3f008f04d850b4b9e62c6d4d99b0
by sheng[M68k] Add MC support for link/unlk
Reviewers: myhsu
Differential Revision: https://reviews.llvm.org/D125444
|
 | llvm/test/CodeGen/M68k/link-unlnk.ll |
 | llvm/test/CodeGen/M68k/Alloc/dyn_alloca_aligned.ll |
 | llvm/test/MC/Disassembler/M68k/data.txt |
 | llvm/test/MC/M68k/Data/Classes/MxLink.s |
 | llvm/lib/Target/M68k/M68kInstrData.td |
 | llvm/lib/Target/M68k/M68kFrameLowering.cpp |
Commit
350f17ab52ec9df60095f7b7bccd49c429885ef7
by i[llvm-ar] Remove unused parameter. NFC
|
 | llvm/tools/llvm-ar/llvm-ar.cpp |
Commit
0c2b738f8f1d252d31f1075f040af664802b9bac
by luweining[LoongArch] Support for varargs
This patch ensures the `$fp` always points to the bottom of the vararg spill region. Includes support for expand `ISD::DYNAMIC_STACKALLOC`.
Differential Revision: https://reviews.llvm.org/D130250
|
 | llvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp |
 | llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp |
 | llvm/lib/Target/LoongArch/LoongArchISelLowering.h |
 | llvm/test/CodeGen/LoongArch/vararg.ll |
 | llvm/lib/Target/LoongArch/LoongArchFrameLowering.h |
Commit
d3651aa697c6a099768ffdde3f3c26a42f113268
by kazu[BOLT] Upgrade to C++17
Without this patch, I am getting errors like:
llvm-project/llvm/include/llvm/ADT/StringRef.h:233:7: error: use of the 'nodiscard' attribute is a C++17 extension [-Werror,-Wc++17-extensions]
Differential Revision: https://reviews.llvm.org/D131348
|
 | bolt/CMakeLists.txt |
Commit
0e37ef0186acf071994ea80dde788c397822ed72
by kazu[Transforms] Fix comment typos (NFC)
|
 | llvm/lib/Transforms/Scalar/LICM.cpp |
 | llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp |
 | llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp |
 | llvm/lib/Transforms/Coroutines/CoroFrame.cpp |
 | llvm/lib/Transforms/IPO/IROutliner.cpp |
 | llvm/lib/Transforms/Scalar/LoopFlatten.cpp |
 | llvm/lib/Transforms/IPO/Attributor.cpp |
 | llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp |
 | llvm/lib/Transforms/Scalar/LoopSink.cpp |
 | llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp |
 | llvm/lib/Transforms/Utils/LoopPeel.cpp |
 | llvm/lib/Transforms/IPO/AttributorAttributes.cpp |
 | llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp |
 | llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp |
 | llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp |
 | llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp |
 | llvm/lib/Transforms/Scalar/LoopFuse.cpp |
 | llvm/lib/Transforms/Instrumentation/MemProfiler.cpp |
 | llvm/lib/Transforms/Scalar/GVN.cpp |
 | llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp |
 | llvm/lib/Transforms/IPO/PartialInlining.cpp |
 | llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp |
 | llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp |
Commit
1dd8a318544bdf4d06b337340d678df06e4f2f0a
by kazu[clang-tidy] Use is_contained (NFC)
|
 | clang-tools-extra/clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp |
 | clang-tools-extra/clang-tidy/objc/NSDateFormatterCheck.cpp |
Commit
e20d210eef92f3952de0e89ef2f01a146480a13b
by kazu[llvm] Qualify auto (NFC)
Identified with readability-qualified-auto.
|
 | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h |
 | llvm/lib/Transforms/Scalar/EarlyCSE.cpp |
 | llvm/lib/Transforms/Scalar/Reassociate.cpp |
 | llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp |
 | llvm/lib/Transforms/Utils/FixIrreducible.cpp |
 | llvm/lib/Transforms/IPO/PruneEH.cpp |
 | llvm/lib/Transforms/Scalar/StructurizeCFG.cpp |
 | llvm/lib/Transforms/Scalar/ConstantHoisting.cpp |
 | llvm/lib/Transforms/Utils/PredicateInfo.cpp |
 | llvm/include/llvm/IR/ModuleSummaryIndex.h |
 | llvm/tools/llvm-tli-checker/llvm-tli-checker.cpp |
 | llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h |
 | llvm/include/llvm/Transforms/Utils/Evaluator.h |
 | llvm/include/llvm/ProfileData/InstrProf.h |
 | llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp |
 | llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp |
 | llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp |
 | llvm/lib/DebugInfo/CodeView/TypeDumpVisitor.cpp |
 | llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp |
 | llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp |
 | llvm/lib/Transforms/Coroutines/CoroElide.cpp |
 | llvm/lib/Analysis/MemoryProfileInfo.cpp |
 | llvm/include/llvm/Object/ELFObjectFile.h |
 | llvm/lib/Transforms/Utils/FunctionComparator.cpp |
 | llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h |
 | llvm/lib/MC/SubtargetFeature.cpp |
 | llvm/lib/Transforms/Utils/LoopUtils.cpp |
 | llvm/tools/llvm-pdbutil/PrettyClassLayoutGraphicalDumper.cpp |
 | llvm/include/llvm/Support/GenericIteratedDominanceFrontier.h |
 | llvm/lib/MC/MCWin64EH.cpp |
 | llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp |
 | llvm/lib/Transforms/IPO/GlobalDCE.cpp |
 | llvm/include/llvm/IR/IRBuilder.h |
 | llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h |
 | llvm/lib/Transforms/Utils/CloneFunction.cpp |
 | llvm/lib/Transforms/IPO/SampleContextTracker.cpp |
 | llvm/include/llvm/ExecutionEngine/Orc/Core.h |
 | llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h |
 | llvm/lib/Transforms/Scalar/JumpThreading.cpp |
 | llvm/lib/Transforms/Scalar/SCCP.cpp |
 | llvm/lib/Transforms/Utils/BasicBlockUtils.cpp |
 | llvm/include/llvm/IR/PassManager.h |
 | llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h |
 | llvm/lib/Transforms/IPO/ConstantMerge.cpp |
 | llvm/tools/llvm-cxxdump/llvm-cxxdump.cpp |
 | llvm/lib/Transforms/IPO/FunctionImport.cpp |
 | llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp |
 | llvm/include/llvm/IR/InstrTypes.h |
 | llvm/lib/DebugInfo/PDB/Native/PDBStringTableBuilder.cpp |
Commit
7042417ef11ce34300908c53ee9659bf8f2ab9ec
by n.james93[NFC][clang] Bring `and_present` and `if_present` casting functions to clang namespace
This should enable simpler migration when the `and_nonnull` and `or_null` functions are deprecated.
|
 | clang/include/clang/Basic/LLVM.h |
Commit
a3f7a2c183455f390f017effc99bcd1b37328521
by carlos.alberto.enciso[CodeView] Add function to get size in bytes for TypeIndex/CVType.
Given a TypeIndex or CVType return its size in bytes. Basically it is the inverse to 'CodeViewDebug::lowerTypeBasic', that returns a TypeIndex based in a size.
Reviewed By: rnk, djtodoro
Differential Revision: https://reviews.llvm.org/D129846
|
 | llvm/include/llvm/DebugInfo/CodeView/TypeRecordHelpers.h |
 | llvm/lib/DebugInfo/CodeView/TypeRecordHelpers.cpp |
Commit
8342ea6eac85bd20c56be0ab71b4ebbccd134c67
by diana.picus[scudo] Try to fix standalone build on armv7
When linking scudo standalone on armv7, it can't find symbols related to unwinding (e.g. __aeabi_unwind_cpp_pr0). This is because it is passing --unwindlib=none. This patch hacks around the issue by adding COMPILER_RT_UNWINDER_LINK_LIBS to the link line.
I don't know anything about scudo, so I'm not sure what the original intention was.
See also https://github.com/llvm/llvm-project/issues/56900
Differential Revision: https://reviews.llvm.org/D131250
|
 | compiler-rt/lib/scudo/standalone/CMakeLists.txt |
Commit
e3ef7295ed5d7468dbe810499b4055b68a76cf34
by luweining[mailmap] Add entry for myself
Differential Revision: https://reviews.llvm.org/D131353
|
 | .mailmap |
Commit
17ac26a78eaa1cbc8543c97f18d37c2e0c8bfad3
by cullen.rhodes[AArch64][SVE] NFC: Add tests for masked FP arith patterns (D130564)
|
 | llvm/test/CodeGen/AArch64/sve-fp-combine.ll |
Commit
a6dec9f5b2840b77dcf3c1731a68428893501ade
by cullen.rhodes[AArch64][SVE] Add patterns to select masked FP arith
Add patterns to select predicated instructions when lowering:
fadd(a, select(mask, b, splat(0))) fsub(a, select(mask, b, splat(0)))
'fadd' is unsafe unless no-signed zeros fast-math flag is set, since
-0.0 + 0.0 = 0.0
changes the sign. Alive2: https://alive2.llvm.org/ce/z/wbhJh_
Also adds FMA patterns for:
fadd(a, select(mask, mul(b, c), splat(0))) -> fmla(a, mask, b, c) fsub(a, select(mask, mul(b, c), splat(0))) -> fmla(a, mask, b, c)
These patterns require the 'contract' fast-math flag to be set, and the fadd 'nsz' as above.
Reviewed By: paulwalker-arm
Differential Revision: https://reviews.llvm.org/D130564
|
 | llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td |
 | llvm/test/CodeGen/AArch64/sve-fp-combine.ll |
Commit
061e0189a3dab6b1831a80d489ff1b15ad93aafb
by david.green[DAG] Ensure Legal BUILD_VECTOR elements types in shuffle->And combine
D129150 added a combine from shuffles to And that creates a BUILD_VECTOR of constant elements. We need to ensure that the elements are of a legal type, to prevent asserts during lowering.
Fixes #56970.
Differential Revision: https://reviews.llvm.org/D131350
|
 | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp |
 | llvm/test/CodeGen/ARM/vector-store.ll |
Commit
5512f398a039e3ed7df502a0c263a8f366a84a4c
by n.james93[ADT] Update Optional Deprecation with fix-it
When Optional accessors were deprecated, in D131349, the standard c++14 style attribute was used. Clang has a slightly better deprecated attribute that enables simpler migration by embedding fix-its.
Reviewed By: kazu
Differential Revision: https://reviews.llvm.org/D131381
|
 | llvm/include/llvm/ADT/Optional.h |
 | llvm/include/llvm/Support/Compiler.h |
Commit
1eee6de873974f55538df976bf7802f019eac70a
by anubhabghosh.me[Orc][JITLink] Slab based memory allocator to reduce RPC calls
Calling reserve() used to require an RPC call. This commit allows large ranges of executor address space to be reserved. Subsequent calls to reserve() will return subranges of already reserved address space while there is still space available.
Differential Revision: https://reviews.llvm.org/D130392
|
 | llvm/unittests/ExecutionEngine/Orc/MapperJITLinkMemoryManagerTest.cpp |
 | llvm/lib/ExecutionEngine/Orc/MapperJITLinkMemoryManager.cpp |
 | llvm/include/llvm/ExecutionEngine/Orc/MapperJITLinkMemoryManager.h |
Commit
72017e9b16b737c5bd7c1dd33abff36f368fa724
by simon.tatham[llvm-objdump,ARM] Fix big-endian AArch32 disassembly.
The ABI for big-endian AArch32, as specified by AAELF32, is above- averagely complicated. Relocatable object files are expected to store instruction encodings in byte order matching the ELF file's endianness (so, big-endian for a BE ELF file). But executable images can //either// do that //or// store instructions little-endian regardless of data and ELF endianness (to support BE32 and BE8 platforms respectively). They signal the latter by setting the EF_ARM_BE8 flag in the ELF header.
(In the case of the Thumb instruction set, this all means that each 16-bit halfword of a Thumb instruction is stored in one or other endianness. The two halfwords of a 32-bit Thumb instruction must appear in the same order no matter what, because the first halfword is the one that must avoid overlapping the encoding of any 16-bit Thumb instruction.)
llvm-objdump was unconditionally expecting Arm instructions to be stored little-endian. So it would correctly disassemble a BE8 image, but if you gave it a BE32 image or a BE object file, it would retrieve every instruction in byte-swapped form and disassemble it to nonsense. (Even an object file output by LLVM itself, because ARMMCCodeEmitter outputs instructions big-endian in big-endian mode, which is correct for writing an object file.)
This patch allows llvm-objdump to correctly disassemble all three of those classes of Arm ELF file. It does it by introducing a new SubtargetFeature for big-endian instructions, setting it from the ELF image type and flags during llvm-objdump setup, and teaching both ARMDisassembler and llvm-objdump itself to pay attention to it when retrieving instruction data from a section being disassembled.
Differential Revision: https://reviews.llvm.org/D130902
|
 | llvm/include/llvm/BinaryFormat/ELF.h |
 | llvm/lib/Target/ARM/ARM.td |
 | llvm/lib/ObjectYAML/ELFYAML.cpp |
 | llvm/tools/llvm-objdump/llvm-objdump.cpp |
 | llvm/test/tools/llvm-objdump/ELF/ARM/be-disasm.test |
 | llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp |
Commit
fb10bb0d2c50d1ec2f3cf827d09f18bc54a8097a
by llvm-devProcessTest.cpp - replace Optional::hasValue() with Optional::has_value()
Fixes windows-only build warnings
|
 | llvm/unittests/Support/ProcessTest.cpp |
Commit
e5e93b6130bde96d7e14851e218c5bf055f8a834
by llvm-dev[DAG] FoldConstantArithmetic - add initial support for undef elements in bitcasted binop constant folding
FoldConstantArithmetic can fold constant vectors hidden behind bitcasts (e.g. vXi64 -> v2Xi32 on 32-bit platforms), but currently bails if either vector contains undef elements. These undefs can often occur due to SimplifyDemandedBits/VectorElts calls recognising that the upper bits are often unnecessary (e.g. funnel-shift/rotate implicit-modulo and AND masks).
This patch adds a basic 'FoldValueWithUndef' handler that will attempt to constant fold if one or both of the ops are undef - so far this just handles the AND and MUL cases where we always fold to zero.
The RISCV codegen increase is interesting - it looks like the BUILD_VECTOR lowering was loading a constant pool entry but now (with all elements defined constant) it can materialize the constant instead?
Differential Revision: https://reviews.llvm.org/D130839
|
 | llvm/test/CodeGen/RISCV/srem-seteq-illegal-types.ll |
 | llvm/test/CodeGen/X86/fshl-splat-undef.ll |
 | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp |
 | llvm/test/CodeGen/ARM/srem-seteq-illegal-types.ll |
 | llvm/test/CodeGen/Thumb2/srem-seteq-illegal-types.ll |
Commit
b4e9977fc18405d4a11cbaf1975bcadbf75920b8
by benny.kraRemove C++17 #ifdefs around the implicit conversion between StringRef and string_view
This is no longer needed as LLVM is built with C++17 now. Also drop the explicit conversion to std::string as the implicit conversion to std::string_view gets picked first anyways.
|
 | llvm/include/llvm/ADT/StringRef.h |
Commit
ab4fc87a9d96d759df3c287fd63892165e60e526
by david.green[DAG] Emit table lookup from TargetLowering::expandCTTZ()
This patch emits table lookup in expandCTTZ.
Context - https://reviews.llvm.org/D113291 transforms set of IR instructions to cttz intrinsic but there are some targets which does not support CTTZ or CTLZ. Hence, I generate a table lookup in TargetLowering::expandCTTZ().
Differential Revision: https://reviews.llvm.org/D128911
|
 | llvm/include/llvm/CodeGen/TargetLowering.h |
 | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp |
 | llvm/test/CodeGen/RISCV/rv32zbb.ll |
 | llvm/test/CodeGen/ARM/cttz.ll |
 | llvm/test/CodeGen/RISCV/rv64zbb.ll |
 | llvm/test/CodeGen/SPARC/cttz.ll |
 | llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll |
Commit
bf20d43f8263b1df43c26a2ac9fec7220bcb735e
by thakis[lld/mac] Use C++17 nested namespace syntax in most places
Some header files used
namespace lld { namespace macho { // ... } // namespace macho std::string toString(const Type &t); } // namespace lld
In those files, I didn't use a nested namespace since it's not a big win there.
No behavior change.
Differential Revision: https://reviews.llvm.org/D131354
|
 | lld/MachO/MarkLive.h |
 | lld/MachO/ObjC.h |
 | lld/MachO/OutputSection.h |
 | lld/MachO/OutputSegment.h |
 | lld/MachO/Dwarf.h |
 | lld/MachO/ExportTrie.h |
 | lld/MachO/SymbolTable.h |
 | lld/MachO/Arch/ARM64Common.h |
 | lld/MachO/SyntheticSections.h |
 | lld/MachO/LTO.h |
 | lld/MachO/MachOStructs.h |
 | lld/MachO/Relocations.h |
 | lld/MachO/Driver.h |
 | lld/MachO/EhFrame.h |
 | lld/MachO/MapFile.h |
 | lld/MachO/SectionPriorities.h |
 | lld/MachO/Target.h |
 | lld/MachO/ConcatOutputSection.h |
 | lld/MachO/UnwindInfoSection.h |
 | lld/MachO/MarkLive.cpp |
 | lld/MachO/Writer.h |
 | lld/MachO/ICF.h |
Commit
b334709467bf5783c27309ecebda6e75578fc14c
by llvm-devRemove superfluous ; outside of a function
|
 | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp |
Commit
7a66fe1075cfc7568554aeea9c40997dfb581979
by Stefan GränitzWrap `llvm_unreachable` macro in do-while loop
Macros that expand into multiple terms can cause interesting preprocessor hickups depending on the context they are used in. https://github.com/llvm/llvm-project/issues/56867 reported a miscompilation of `llvm_unreachable(msg)` inside a `LLVM_DEBUG({ ... })` block. We were able to fix it by wrapping the expansion in a `do {} while(false)`.
Differential Revision: https://reviews.llvm.org/D131337
|
 | llvm/include/llvm/Support/ErrorHandling.h |
Commit
8805cf2660d2add2dfc57869c63a6f3231cdf16b
by markus.boeck02[mlir] Remove redundant `inline` from D131323
|
 | mlir/include/mlir/IR/BuiltinTypes.td |
 | mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp |
Commit
b99da9d255e9182fcf477b32b2cea221f2b54c85
by thakis[lld/mac] Use C++17 structured bindings
No behavior change.
Differential Revision: https://reviews.llvm.org/D131355
|
 | lld/MachO/MapFile.cpp |
 | lld/MachO/SymbolTable.cpp |
Commit
090bdaad34867a4aafa750cbe5bdb0d24864a121
by benny.kra[Support] Use std::shared_mutex when we're not on old MacOS
In C++17 mode this is always available.
|
 | llvm/include/llvm/Support/RWMutex.h |
Commit
99a5a029e66643364c87d3945fb6990e943915dc
by benny.kra[ASTMatchers] Replace hand-coded copy of std::apply with the real C++17 function. NFCI
|
 | clang/include/clang/ASTMatchers/ASTMatchersInternal.h |
Commit
bce3da9b8996541dbfc42c27387ff0f34cbb5353
by llvm-dev[X86] Add 32-bit test coverage to or-lea.ll
Noticed while triaging D131358
|
 | llvm/test/CodeGen/X86/or-lea.ll |
Commit
7dc410cbff28270fcfcf7f2dd80f57ead7ab7d18
by hokein.wu[clang-tidy] Fix a regression of readability-container-size-empty after the AST ElaboratedType change.
With 15f3cd6bfc670ba6106184a903eb04be059e5977, we no longer emit a diagnostic on a real std::vector case where the size method returns a sugar `size_type`. This patch fixes it.
``` std::vector<int> v; if (v.size() == 0) // => no check diagnostics ; ```
Differential Revision: https://reviews.llvm.org/D131390
|
 | clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp |
 | clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp |
Commit
e36f9e13bca41223bd6af7e49bf020e58a676e9d
by Louis Dionne[libc++] Allow enabling assertions when back-deploying
When back-deploying to older platforms, we can still provide assertions, but we might not be able to provide a great implementation for the verbose handler. Instead, we can just call ::abort().
Differential Revision: https://reviews.llvm.org/D131199
|
 | libcxx/include/__availability |
 | libcxx/utils/ci/run-buildbot |
 | libcxx/docs/UsingLibcxx.rst |
 | libcxx/test/libcxx/assertions/default_verbose_abort.pass.cpp |
 | libcxx/include/__verbose_abort |
 | libcxx/test/libcxx/assertions/default_verbose_abort.availability.verify.cpp |
 | libcxx/test/libcxx/assertions/headers_declare_verbose_abort.sh.cpp |
 | libcxx/test/libcxx/assertions/single_expression.sh.cpp |
 | libcxx/utils/ci/buildkite-pipeline.yml |
Commit
0a5c344a84a452452185f3a6bd7d7679a42abb42
by Louis Dionne[libc++] Add missing <stdbool.h> to the modulemap
It used to be defined by the compiler, but libc++ now provides it.
Differential Revision: https://reviews.llvm.org/D131201
|
 | libcxx/include/module.modulemap.in |
Commit
d4abdd2e3dda8f94219879501d22361e0549592b
by tobias[CMake] Check CMAKE_CXX_STANDARD and error if it's to old
Also nuke the old value out of the cache if it's there, otherwise it could lead to problems when the project increases the standard and the developer just runs the "make/ninja" program.
Reviewed By: royjacobson
Differential Revision: https://reviews.llvm.org/D131367
|
 | llvm/CMakeLists.txt |
Commit
36cc533471cb87ff6e9f44d9a3cd87f21369a87e
by dantrushin[EarlyCSE][OpaquePointers]Replace assert with return for mask type check.
When EarlyCSE tries to common vector masked loads/stores, it first checks that they have same base operand and then assumes that this is enough for mask types to be equal. This is true for typed pointers but false for opaque ones - two loads of different vector sizes from same base pointer '%b' are the same, `ptr %b`. (For typed pointers, `%b` was cast to vector pointer type so bases were different). Change assert to return from lambda `isSubmask` so this transformation properly works with opaque pointers.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D131251
|
 | llvm/lib/Transforms/Scalar/EarlyCSE.cpp |
 | llvm/test/Transforms/EarlyCSE/opaque-ptr.ll |
Commit
b53d44fe47413c87f619baf9e057f2a2e49d3998
by spatel[EarlyCSE][ConstantFolding] add tests for atan/atan2; NFC
Baseline coverage for D127964.
|
 | llvm/test/Transforms/EarlyCSE/atan.ll |
Commit
27442728cd2e28bfaf0f2d89ad6378b4377e9c66
by Louis Dionne[libc++][NFC] Fix signature of main in test
|
 | libcxx/test/support/test.support/test_proxy.pass.cpp |
Commit
9ea54ac9cea6c43f3b37dd00f360e6a2ec5f9fb6
by llvm-dev[X86] X86ISelDAGToDAG.cpp - use auto for all values derived from cast/dyn_cast (style). NFC.
|
 | llvm/lib/Target/X86/X86ISelDAGToDAG.cpp |
Commit
3354644aad90c805aaf6ec04e05fb9d8c8e6e443
by avogelsgesang[libc++][doc] Update `SpaceshipProjects` status to reflect in-flight reviews
|
 | libcxx/docs/Status/SpaceshipProjects.csv |
Commit
dc07d2c91dfd7f14991d07ef1df5f1f0b19b306d
by arjunpitchanathan[MLIR][Presburger] make sample test with integer lexmin use containsPointNoLocal
IntegerPolyhedron::findIntegerLexmin currently does not return values of the local ids, so when a test for sampling includes a set with locals, the result of findIntegerLexmin should be checked using containsPointNoLocal, not containsPoint.
|
 | mlir/include/mlir/Analysis/Presburger/IntegerRelation.h |
 | mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp |
Commit
576375a2d670a7b1bd84b53b0187605a5f4ea0c8
by tobias[LLD][COFF] Ignore DEBUG_S_XFGHASH_TYPE/VIRTUAL
These are new debug types that ships with the latest Windows SDK and would warn and finally fail lld-link.
The symbols seems to be related to Microsoft's XFG which is their version of CFG. We can't handle any of this yet, so for now we can just ignore these types so that lld doesn't fail with a new version of Windows SDK.
Fixes: #56285
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D129378
|
 | lld/test/COFF/pdb-unknown-subsection.s |
 | lld/COFF/PDB.cpp |
 | lld/test/COFF/pdb-xfg-section.s |
 | llvm/include/llvm/DebugInfo/CodeView/CodeView.h |
 | llvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp |
Commit
af8205d0eb47b416b6865488056797f4162321e4
by wyehiaRevert "XFAIL some PGO tests on AIX until the new linker becomes publicly available."
AIX 7.2 TL5 SP4 and AIX 7.3 TL0 SP2 have been released as of now. The linker in these OS versions recognizes and properly supports __start_SECNAME and __stop_SECNAME symbols which are needed for PGO.
This reverts commit 93bb2f16e85d2d4c8d3ddadebd99fc0fe26d974b.
|
 | compiler-rt/test/profile/Posix/gcov-destructor.c |
 | compiler-rt/test/profile/Posix/gcov-fork.c |
 | compiler-rt/test/profile/instrprof-gcov-switch.test |
 | compiler-rt/test/profile/instrprof-merge-entry-cover.c |
 | compiler-rt/test/profile/gcov-__gcov_flush-terminate.c |
 | compiler-rt/test/profile/instrprof-coverage.c |
 | compiler-rt/test/profile/gcov-basic.c |
 | compiler-rt/test/profile/infinite_loop.c |
 | compiler-rt/test/profile/instrprof-gcov-exceptions.test |
 | compiler-rt/test/profile/instrprof-set-dir-mode.c |
 | compiler-rt/test/profile/instrprof-gcov-multithread_fork.test |
 | compiler-rt/test/profile/instrprof-gcov-two-objects.test |
 | compiler-rt/test/profile/instrprof-icall-promo.test |
 | compiler-rt/test/profile/Posix/instrprof-gcov-parallel.test |
 | compiler-rt/test/profile/instrprof-path.c |
 | compiler-rt/test/profile/runtime_infinite.c |
 | compiler-rt/test/profile/gcov-complex-line.c |
 | compiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c |
 | compiler-rt/test/profile/instrprof-gcov-multiple-bbs-single-line.test |
 | compiler-rt/test/profile/Posix/gcov-execlp.c |
 | compiler-rt/test/profile/gcov-dump-and-remove.c |
 | compiler-rt/test/profile/instrprof-get-filename.c |
 | compiler-rt/test/profile/instrprof-gcov-one-line-function.test |
Commit
fc470013d13f2b996731c865b921df5a87a40e3f
by chris.bieneman[Docs] Add HLSL ResourceType documentation
Along with the new documentation this also re-organizes the HLSL docs to a subdirectory. The hope is to continue to expand this documentation as the HLSL implementation advances.
Differential Revision: https://reviews.llvm.org/D130794
|
 | clang/docs/HLSLSupport.rst |
 | clang/docs/HLSL/HLSLSupport.rst |
 | clang/docs/HLSL/HLSLDocs.rst |
 | clang/docs/index.rst |
 | clang/docs/HLSL/ResourceTypes.rst |
Commit
59f3b3d7963b933451dcd7516dc3c7135d3c1258
by spatel[EarlyCSE][ConstantFolding] move test files to dir of pass in RUN line; NFC
|
 | llvm/test/Transforms/EarlyCSE/math-1.ll |
 | llvm/test/Transforms/InstSimplify/ConstProp/math-1.ll |
 | llvm/test/Transforms/InstSimplify/ConstProp/math-2.ll |
 | llvm/test/Transforms/EarlyCSE/math-2.ll |
Commit
59bb9e37c66bfbec6b2f0f7a07516adb6859acc3
by a.v.lapshin[llvm-dwarfutil] Remove unnecessarily dependency.
llvm-dwarutil.cpp redundantly calls to InitializeAllAsmParsers. That call might be removed as well as dependency on ${LLVM_TARGETS_TO_BUILD}
Reviewed By: thakis
Differential Revision: https://reviews.llvm.org/D131157
|
 | llvm/tools/llvm-dwarfutil/CMakeLists.txt |
 | llvm/tools/llvm-dwarfutil/llvm-dwarfutil.cpp |
Commit
9641a201a565346bfddfc02b13b2b583c056e61d
by llvm-dev[DAG] Add initial SelectionDAG::canCreateUndefOrPoison support
This patch adds basic support for a DAG variant of the canCreateUndefOrPoison call and updates DAGCombiner::visitFREEZE to use it, further Opcodes (including target specific Opcodes) can be handled when we have test coverage.
So far, I've left visitFREEZE to just use this for unary nodes (which currently means the existing BITCAST/FREEZE cases) - later patches will add other unary opcodes (with test coverage) and we can also refactor visitFREEZE to support a general number of operands like we do in InstCombinerImpl::pushFreezeToPreventPoisonFromPropagating.
I'm not aware of any vector test freeze coverage so the DemandedElts (and the Depth) args are not being used yet - but they are in place. Similarly we will be able to handle poison generating SDNodeFlags as and when it becomes an issue.
Part of the work for D106675 / PR50468
Differential Revision: https://reviews.llvm.org/D130646
|
 | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp |
 | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp |
 | llvm/include/llvm/CodeGen/SelectionDAG.h |
 | llvm/include/llvm/CodeGen/TargetLowering.h |
 | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp |
Commit
ba9dc5f577389db2cc706c0c66615f430a55d153
by kubak[ADT] Add is_splat overload accepting initializer_list
Allow for `is_splat` to be used inline, similar to `is_contained`, e.g., ``` if (is_splat({type1, type2, type3, type4})) ... ```
which is much more concise and less typo-prone than an equivalent chain of equality comparisons.
My immediate motivation is to clean up some code in the SPIR-V dialect that currently needs to either construct a temporary container or use `makeArrayRef` before calling `is_splat`.
Reviewed By: dblaikie
Differential Revision: https://reviews.llvm.org/D131289
|
 | llvm/unittests/ADT/STLExtrasTest.cpp |
 | llvm/include/llvm/ADT/STLExtras.h |
Commit
5784199dd1c12be098d3ac8ca7b91dc719539bfd
by Dylan.Fleming[NFC][Flang][OpenMP] Refactor OpenMP.cpp::genOpenMPReduction
This patch serves two main purposes: Firstly, to split some of the logic into a seperate method to try and improve readability
On top of this, it aims to make creating the reductions more generic. That way, subsequent patches adding reductions shouldn't need to add a significant amount of extra logic checks, such as checking for specific operators.
Reviewed By: awarzynski
Differential Revision: https://reviews.llvm.org/D131161
|
 | flang/lib/Lower/OpenMP.cpp |
 | flang/include/flang/Lower/OpenMP.h |
Commit
0f5385b70eddfbcb26fed973a4d6e4cc01260930
by kparzyszRecommit [RDF] Remove explicit template arguments from Print
The build breakages should be addressed by d4abdd2e3d: [CMake] Check CMAKE_CXX_STANDARD and error if it's to old
Thanks to Tobias and Roy for addressing these issues.
|
 | llvm/lib/CodeGen/RDFLiveness.cpp |
 | llvm/lib/CodeGen/RDFGraph.cpp |
Commit
81c4e58e2adae7f9711253c07bc0c96dbc6d1b0b
by aeubanks[StandardInstrumentations] Handle case where block order changes
Previously we'd go off the end of the BI iterator because we expected that the relative positions of common blocks before and after were consistent. That's not always true though, for example with jump-threading.
Reviewed By: jamieschmeiser
Differential Revision: https://reviews.llvm.org/D130596
|
 | llvm/test/Other/ChangePrinters/print-changed-diff-block-ordering-changed.ll |
 | llvm/lib/Passes/StandardInstrumentations.cpp |
Commit
2d20fb00b3c7e455c7ba668ff55efc6515bce383
by llvm-dev[X86] Add test coverage for sext/zext/bswap/bitreverse with freeze
All of these are safe to fold from freeze(unaryop(x)) -> unaryop(freeze(x))
|
 | llvm/test/CodeGen/X86/freeze-unary.ll |
Commit
00f7096d31cc7896ffd490e65104d264923f0df5
by jeff[mlir][math] Rename math.abs -> math.absf
To make room for introducing `math.absi`.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D131325
|
 | mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp |
 | flang/lib/Lower/IntrinsicCall.cpp |
 | mlir/lib/Dialect/Math/IR/MathOps.cpp |
 | mlir/docs/Bindings/Python.md |
 | flang/test/Lower/math-lowering.f90 |
 | mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp |
 | mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp |
 | mlir/test/Conversion/MathToSPIRV/math-to-opencl-spirv.mlir |
 | mlir/test/Dialect/Math/polynomial-approximation.mlir |
 | mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir |
 | mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp |
 | mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp |
 | mlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir |
 | mlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir |
 | mlir/test/Dialect/Linalg/generalize-named-polymorphic-ops.mlir |
 | flang/test/Intrinsics/math-codegen.fir |
 | mlir/include/mlir/Dialect/Math/IR/MathBase.td |
 | mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp |
 | flang/test/Lower/Intrinsics/abs.f90 |
 | mlir/include/mlir/Dialect/Math/IR/MathOps.td |
 | mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp |
 | mlir/test/Conversion/MathToSPIRV/math-to-gl-spirv.mlir |
 | flang/test/Lower/array-expression.f90 |
 | mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp |
 | mlir/test/Dialect/SparseTensor/sparse_fp_ops.mlir |
 | mlir/test/IR/core-ops.mlir |
 | mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir |
 | mlir/test/python/dialects/linalg/opdsl/emit_misc.py |
 | mlir/test/Dialect/Math/canonicalize.mlir |
 | mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp |
 | mlir/test/Target/Cpp/invalid.mlir |
Commit
7d9fc95b85c4ee421aa0c245f9ba5ed851db4154
by jeff[mlir][math] Add `math.absi` op
Adds an integer absolute value op to the math dialect.
When converting to LLVM, this op is lowered to the LLVM `abs` intrinsic. When converting to SPIRV, this op is lowered to `spv.GL.SAbs`.
Depends on D131325
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D131327
|
 | mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp |
 | mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td |
 | mlir/lib/Dialect/Math/IR/MathOps.cpp |
 | mlir/test/Conversion/MathToSPIRV/math-to-gl-spirv.mlir |
 | mlir/include/mlir/Dialect/Math/IR/MathOps.td |
 | mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp |
 | mlir/test/Conversion/MathToLLVM/math-to-llvm.mlir |
Commit
2f3256a02ec330efd492e2d5a1cf8162cd78983a
by thakis[lld/mac] Use C++17 structured bindings in two more places
No behavior change.
|
 | lld/MachO/SymbolTable.cpp |
 | lld/MachO/Driver.cpp |
Commit
104f11630ae878232a3368605290be185d14d9bc
by jonathanchesterfield[nfc][openmp] clang-format system.cpp prior to D131401
|
 | openmp/libomptarget/plugins/amdgpu/impl/system.cpp |
Commit
e64025045457b7f52201fbd48b24739f64074b59
by aaronUpdate the C status page from the latest working draft
WG14 N3047 is the last C working draft before the document goes out for committee ballot, so this should be the last of the C2x compiler features to be added.
|
 | clang/www/c_status.html |
Commit
9b031d5e3a7b455308257a71116a603e76c8c679
by mgorny[lldb] Make Process and subclass constructors protected
Make constructors of the Process and its subclasses class protected, to prevent accidentally constructing Process on stack when it could be afterwards accessed via a shared_ptr (since it uses std::enable_shared_from_this<>).
The only place where a stack allocation was used were unittests, and fixing them via declaring an explicit public constructor in the respective mock classes is trivial.
Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D131275
|
 | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h |
 | lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h |
 | lldb/source/Plugins/Process/scripted/ScriptedProcess.h |
 | lldb/unittests/Thread/ThreadTest.cpp |
 | lldb/include/lldb/Target/Process.h |
 | lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp |
 | lldb/unittests/Expression/DWARFExpressionTest.cpp |
 | lldb/include/lldb/Target/PostMortemProcess.h |
 | lldb/unittests/Process/ProcessEventDataTest.cpp |
 | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp |
 | lldb/unittests/Target/ExecutionContextTest.cpp |
Commit
e4b2c52420011b32a61a9ea0872f233726231bf1
by llvm-dev[DAG] canCreateUndefOrPoison - add freeze(sext(x)) -> sext(freeze(x)) and freeze(zext(x)) -> zext(freeze(x)) support
Both are guaranteed not to create undef/poison
|
 | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp |
 | llvm/test/CodeGen/X86/freeze-unary.ll |
Commit
7c26641d9dcea70a75ca48d2e3a5bf6ca7a925bb
by thakis[lld/win] Use C++17 nested namespace syntax in most places
Like D131354, but for COFF.
No behavior change.
Differential Revision: https://reviews.llvm.org/D131405
|
 | lld/COFF/DLL.h |
 | lld/COFF/Driver.cpp |
 | lld/COFF/DebugTypes.cpp |
 | lld/COFF/SymbolTable.h |
 | lld/COFF/DebugTypes.h |
 | lld/COFF/ICF.h |
 | lld/COFF/DLL.cpp |
 | lld/COFF/LTO.h |
 | lld/COFF/CallGraphSort.h |
 | lld/COFF/PDB.h |
 | lld/COFF/ICF.cpp |
 | lld/COFF/SymbolTable.cpp |
 | lld/COFF/TypeMerger.h |
 | lld/COFF/Writer.h |
 | lld/COFF/Chunks.h |
 | lld/COFF/COFFLinkerContext.h |
 | lld/COFF/MarkLive.h |
 | lld/COFF/MapFile.h |
 | lld/COFF/Config.h |
 | lld/COFF/LLDMapFile.h |
 | lld/COFF/MarkLive.cpp |
 | lld/COFF/MinGW.h |
 | lld/COFF/Driver.h |
 | lld/COFF/COFFLinkerContext.cpp |
 | lld/COFF/Chunks.cpp |
Commit
aa1abd7684b6187fa17d2d761bb1a4c747967ea5
by thakis[lld/win] Use C++17 structured bindings
No behavior change.
Differential Revision: https://reviews.llvm.org/D131403
|
 | lld/COFF/Writer.cpp |
 | lld/COFF/SymbolTable.cpp |
 | lld/COFF/DriverUtils.cpp |
Commit
06ff46d2d77feba285e672e2da42039c88dc965a
by sgurevich[LLDB][NFC] Fix suspicious bitwise expression in PrintBTEntry()
Current application of bitwise-OR to a binary mask always results in True, which seems inconsistent with the intent of the statement, a likely typo.
Differential Revision: https://reviews.llvm.org/D131312
|
 | lldb/tools/intel-features/intel-mpx/cli-wrapper-mpxtable.cpp |
Commit
af28b27d31a5c13c31769c8551ffdcdc469fd5f4
by ron.liebermanMove openmp from -std=c++14 to -std=c++17
|
 | openmp/tools/archer/tests/lit.cfg |
 | openmp/cmake/config-ix.cmake |
 | openmp/runtime/test/lit.cfg |
 | openmp/cmake/HandleOpenMPOptions.cmake |
Commit
521a5c11acb45fe4672ed63e3f6aa1f22b0e9fbe
by jonathanchesterfieldRename OPENMP_HAVE_STD_CPP14_FLAG to match c++17
|
 | openmp/cmake/config-ix.cmake |
 | openmp/CMakeLists.txt |
 | openmp/cmake/HandleOpenMPOptions.cmake |
Commit
3f18f7c0072b642f5fe88d2fb7bb8ccf69a6c6f5
by i[clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC
With C++17 there is no Clang pedantic warning or MSVC C5051.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D131346
|
 | clang/lib/AST/NestedNameSpecifier.cpp |
 | clang/utils/TableGen/SveEmitter.cpp |
 | clang/lib/Parse/ParseDeclCXX.cpp |
 | clang/lib/Sema/SemaTemplate.cpp |
 | clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp |
 | clang/lib/Edit/RewriteObjCFoundationAPI.cpp |
 | clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp |
 | clang/lib/AST/Expr.cpp |
 | clang/lib/Sema/SemaChecking.cpp |
 | clang/lib/CodeGen/CGException.cpp |
 | clang/lib/AST/APValue.cpp |
 | clang/lib/Sema/SemaTemplateDeduction.cpp |
 | clang/lib/Lex/InitHeaderSearch.cpp |
 | clang/lib/Parse/ParseOpenMP.cpp |
 | clang/lib/Sema/SemaStmt.cpp |
 | clang/lib/Sema/CodeCompleteConsumer.cpp |
 | clang/lib/Basic/Targets/WebAssembly.cpp |
 | clang/lib/CodeGen/CGExprAgg.cpp |
 | clang/lib/CodeGen/CGExprCXX.cpp |
 | clang/lib/AST/TypeLoc.cpp |
 | clang/lib/CodeGen/CGAtomic.cpp |
 | clang/lib/Parse/ParseExpr.cpp |
 | clang/lib/Driver/ToolChains/Gnu.cpp |
 | clang/lib/Parse/ParseCXXInlineMethods.cpp |
 | clang/lib/AST/ASTDumper.cpp |
 | clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp |
 | clang/lib/AST/ASTStructuralEquivalence.cpp |
 | clang/lib/AST/ExprConstant.cpp |
 | clang/lib/CodeGen/MacroPPCallbacks.cpp |
 | clang/lib/Lex/Preprocessor.cpp |
 | clang/lib/Basic/Targets/PPC.h |
 | clang/lib/Format/TokenAnnotator.cpp |
 | clang/lib/Sema/SemaType.cpp |
 | clang/lib/Frontend/SerializedDiagnosticReader.cpp |
 | clang/lib/CodeGen/CGCall.cpp |
 | clang/lib/Sema/SemaStmtAsm.cpp |
 | clang/lib/Sema/SemaInit.cpp |
 | clang/lib/Sema/JumpDiagnostics.cpp |
 | clang/lib/Sema/SemaTemplateInstantiateDecl.cpp |
 | clang/lib/AST/TypePrinter.cpp |
 | clang/lib/Basic/Targets/AMDGPU.cpp |
 | clang/lib/AST/Comment.cpp |
 | clang/lib/StaticAnalyzer/Core/RegionStore.cpp |
 | clang/utils/TableGen/NeonEmitter.cpp |
 | clang/lib/Index/USRGeneration.cpp |
 | clang/lib/Parse/ParseTentative.cpp |
 | clang/lib/Parse/Parser.cpp |
 | clang/lib/Sema/SemaTemplateInstantiate.cpp |
 | clang/lib/Sema/SemaCodeComplete.cpp |
 | clang/lib/CodeGen/CodeGenModule.cpp |
 | clang/lib/Basic/TargetInfo.cpp |
 | clang/lib/CodeGen/CGObjCRuntime.cpp |
 | clang/lib/CodeGen/CGCoroutine.cpp |
 | clang/lib/Basic/Targets/SystemZ.cpp |
 | clang/lib/Lex/Lexer.cpp |
 | clang/lib/Parse/ParseStmt.cpp |
 | clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp |
 | clang/lib/CodeGen/ItaniumCXXABI.cpp |
 | clang/lib/Driver/ToolChains/Clang.cpp |
 | clang/lib/Frontend/CompilerInstance.cpp |
 | clang/lib/Sema/SemaExpr.cpp |
 | clang/lib/Sema/SemaDeclCXX.cpp |
 | clang/lib/StaticAnalyzer/Core/ExprEngine.cpp |
 | clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp |
 | clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp |
 | clang/lib/ARCMigrate/TransformActions.cpp |
 | clang/lib/AST/ASTContext.cpp |
 | clang/lib/Sema/SemaLambda.cpp |
 | clang/lib/Analysis/CalledOnceCheck.cpp |
 | clang/lib/Sema/SemaExprMember.cpp |
 | clang/lib/Sema/SemaOverload.cpp |
 | clang/lib/Parse/ParseDecl.cpp |
 | clang/lib/CodeGen/CGClass.cpp |
 | clang/lib/Basic/Targets/X86.cpp |
 | clang/lib/Rewrite/HTMLRewrite.cpp |
 | clang/include/clang/AST/JSONNodeDumper.h |
 | clang/lib/Lex/ModuleMap.cpp |
 | clang/lib/Sema/SemaOpenMP.cpp |
 | clang/lib/Driver/ToolChains/Myriad.cpp |
 | clang/lib/Analysis/ReachableCode.cpp |
 | clang/lib/Basic/Targets/OSTargets.h |
 | clang/lib/CodeGen/CGDebugInfo.cpp |
 | clang/lib/Lex/TokenConcatenation.cpp |
 | clang/lib/CodeGen/VarBypassDetector.cpp |
 | clang/lib/AST/FormatString.cpp |
 | clang/lib/Interpreter/IncrementalParser.cpp |
 | clang/lib/Basic/BuiltinTargetFeatures.h |
 | clang/lib/Format/UnwrappedLineParser.cpp |
 | clang/lib/Format/FormatTokenLexer.cpp |
 | clang/lib/Sema/SemaLookup.cpp |
 | clang/lib/Serialization/ASTReader.cpp |
 | clang/lib/AST/PrintfFormatString.cpp |
 | clang/lib/Parse/ParseInit.cpp |
 | clang/lib/Sema/SemaExprCXX.cpp |
 | clang/lib/Sema/SemaDecl.cpp |
 | clang/lib/StaticAnalyzer/Core/SValBuilder.cpp |
 | clang/lib/CodeGen/CGDecl.cpp |
 | clang/lib/ExtractAPI/DeclarationFragments.cpp |
 | clang/lib/AST/ExprCXX.cpp |
 | clang/lib/Lex/LiteralSupport.cpp |
 | clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp |
 | clang/lib/AST/ItaniumMangle.cpp |
 | clang/lib/CodeGen/CGBuiltin.cpp |
 | clang/lib/AST/ScanfFormatString.cpp |
 | clang/lib/AST/ASTDiagnostic.cpp |
 | clang/lib/Analysis/ThreadSafety.cpp |
 | clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp |
 | clang/lib/CodeGen/CGExprScalar.cpp |
Commit
4bd25d0b81d1687d7f4be4c170e748277856f33c
by antiagainst[mlir][spirv] Refresh base definitions to latest spec (v1.6)
This commit updates all SPIR-V enum definitions to match the latest specification (v1.6 revision 2). Along the way, fixed some issues in `gen_spirv_dialect.py` and added a new script for refreshing all op definitions for such cases.
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D131293
|
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVNonUniformOps.td |
 | mlir/lib/Target/SPIRV/SPIRVBinaryUtils.cpp |
 | mlir/utils/spirv/gen_spirv_dialect.py |
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVStructureOps.td |
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVGroupOps.td |
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBitOps.td |
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVAtomicOps.td |
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVMatrixOps.td |
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td |
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVMemoryOps.td |
 | mlir/test/Dialect/SPIRV/IR/availability.mlir |
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVImageOps.td |
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVMiscOps.td |
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCooperativeMatrixOps.td |
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVLogicalOps.td |
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVControlFlowOps.td |
 | mlir/utils/spirv/refresh_inst.sh |
Commit
2960299986980d6070bca6c3e9d8e925e2d8e260
by benny.kra[ADT] Retire llvm::apply_tuple in favor of C++17 std::apply
|
 | mlir/include/mlir/IR/DialectRegistry.h |
 | mlir/include/mlir/IR/PatternMatch.h |
 | llvm/include/llvm/Support/FormatVariadic.h |
 | llvm/unittests/Support/FormatVariadicTest.cpp |
 | mlir/include/mlir/TableGen/Format.h |
 | llvm/include/llvm/ADT/STLExtras.h |
 | llvm/unittests/ADT/STLExtrasTest.cpp |
Commit
fb33b406df909c90891bf2c50da3d38f82d7d2cd
by l.chelini[MLIR][Linalg] Remove `TiledLoops` from tiling options
TiledLoopOp has been removed in: https://github.com/llvm/llvm-project/commit/1a829d2d06958abf09bb6aff81120959206887f6
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D131383
|
 | mlir/include/mlir/Dialect/Linalg/Utils/Utils.h |
Commit
6f2bee667ad9244be65193892961d5d1eed24551
by llvm-dev[DAG] canCreateUndefOrPoison - add freeze(bswap(x)) -> bswap(freeze(x)) and freeze(bitreverse(x)) -> bitreverse(freeze(x)) support
Both are guaranteed not to create undef/poison
|
 | llvm/test/CodeGen/X86/freeze-unary.ll |
 | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp |
Commit
e2bfbed2bb647dc95d3f7e66d07dad0db1cb36b9
by craig.topper[RISCV] Add ReadFStoreData as a SchedRead.
The floating point stores use a different register class, it probably makes sense to have a different SchedRead.
Reviewed By: monkchiang
Differential Revision: https://reviews.llvm.org/D131379
|
 | llvm/lib/Target/RISCV/RISCVSchedSiFive7.td |
 | llvm/lib/Target/RISCV/RISCVSchedule.td |
 | llvm/lib/Target/RISCV/RISCVInstrInfoF.td |
 | llvm/lib/Target/RISCV/RISCVSchedRocket.td |
Commit
c1f65df19c0f7324db8a7ec235308aee55fe22ef
by tarun[flang] Add an explicit condition for the BITS=0 case in the MASKL and MASKR intrinsics.
This fixes issue #56706.
Differential Revision: https://reviews.llvm.org/D130590
|
 | flang/test/Lower/Intrinsics/maskl.f90 |
 | flang/test/Lower/Intrinsics/maskr.f90 |
 | flang/lib/Lower/IntrinsicCall.cpp |
Commit
333f98b4b68872fd7436d987f2e3dfb4f3e9efba
by vmrajas[mlir][sparse][nfc] Use tensor.generate in sparse integration tests
Currently, dense tensors are initialized in Sparse Integration tests using "buffer.tensor_alloc and scf.for" . This makes code harder to read and maintain. This diff uses tensor.generate instead to initialize dense tensors.
Testing: Ran integration tests after building with -DLLVM_USE_SANITIZER=Address flag.
Reviewed By: springerm
Differential Revision: https://reviews.llvm.org/D131404
|
 | mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir |
 | mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_spmm.mlir |
 | mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_mttkrp.mlir |
 | mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir |
Commit
1f30ebc898b744688615550dca80ce1f05b57aec
by llvm-dev[llvm-tblgen] Fix copy+paste typo in CodeGenSchedModels::collectLoadStoreQueueInfo
Confirmed with @andreadb - repeated PM.LoadQueue->getLoc() should have been PM.StoreQueue->getLoc()
Found by coverity
|
 | llvm/utils/TableGen/CodeGenSchedule.cpp |
Commit
95b3ff08f5de487e928ddd8b26c15984adb59b11
by joker.eph[mlir][doc] Cross link the dependent dialect section to the tablegen field definition
|
 | mlir/docs/PassManagement.md |
Commit
706b3951b38961ffa6581d446fee6664038caced
by avogelsgesang[libc++] Implement `operator==` for `filesystem::space_info`
Implements part of P1614R2 "The Mothership has Landed"
Differential Revision: https://reviews.llvm.org/D130861
|
 | libcxx/include/__filesystem/space_info.h |
 | libcxx/include/filesystem |
 | libcxx/docs/Status/SpaceshipProjects.csv |
 | libcxx/test/std/input.output/filesystems/fs.filesystem.synopsis/space_info.pass.cpp |
Commit
2cbfa93f429343af3e8acb7ca69270b306e58139
by benny.kra[mlir][math] Fix pythong bindings after 00f7096d31cc7896ffd490e65104d264923f0df5
|
 | mlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py |
Commit
aa173573198e024b065c5f6523ce26bb865781b7
by i[llvm-ranlib] Support more than one input file
BSD and GNU ranlib support more than one input file. Implement this.
While here, update OVERVIEW (Ranlib => ranlib) since "ranlib" is more common. Remove "speed access" since the index has nothing to do with performance: it is mandatory for GNU ld and gold but ignored for ld.lld (D119074).
Close https://github.com/llvm/llvm-project/issues/54565
Differential Revision: https://reviews.llvm.org/D131375
|
 | llvm/test/tools/llvm-ranlib/D-flag.test |
 | llvm/test/tools/llvm-ranlib/error-opening-permission.test |
 | llvm/tools/llvm-ar/llvm-ar.cpp |
 | llvm/docs/CommandGuide/llvm-ranlib.rst |
Commit
de907138ec96de063660b91a8adc7f28aa1bea98
by peiming[mlir][sparse] Add new concatente operator to sparse tensor
See https://www.tensorflow.org/xla/operation_semantics#concatenate for the operator semantics
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D131111
|
 | mlir/test/Dialect/SparseTensor/roundtrip.mlir |
 | mlir/test/Dialect/SparseTensor/invalid.mlir |
 | mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td |
 | mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp |
Commit
1b349bdaaa540e97d90318c3706527f6ca084987
by llvm-dev[X86] Add test coverage for ctpop/parity with freeze
These are safe to fold from freeze(unaryop(x)) -> unaryop(freeze(x))
|
 | llvm/test/CodeGen/X86/freeze-unary.ll |
Commit
be8bacfd93ec6a51692aafb3478ce975fb9812d2
by szakharin[flang] Replace more pgmath with libm.
With this change all supported pgmath functions for non-complex data types are replaced with either libm calls or MLIR operations, except for MOD and some flavors of POW, which are going to be addressed by other commits.
At the current stage a few math intrinsics are lowered into libm calls always. When appropriate MLIR operation are available, the table can be updated to generate them.
|
 | flang/test/Lower/Intrinsics/bessel_j0.f90 |
 | flang/test/Lower/Intrinsics/bessel_j1.f90 |
 | flang/test/Lower/Intrinsics/acosh.f90 |
 | flang/test/Lower/Intrinsics/bessel_y0.f90 |
 | flang/test/Lower/Intrinsics/log_gamma.f90 |
 | flang/test/Lower/Intrinsics/acos.f90 |
 | flang/test/Lower/dummy-procedure.f90 |
 | flang/test/Lower/Intrinsics/atanh.f90 |
 | flang/test/Lower/Intrinsics/gamma.f90 |
 | flang/test/Lower/Intrinsics/bessel_jn.f90 |
 | flang/lib/Lower/IntrinsicCall.cpp |
 | flang/test/Lower/Intrinsics/erfc.f90 |
 | flang/test/Lower/Intrinsics/asinh.f90 |
 | flang/test/Lower/Intrinsics/bessel_y1.f90 |
 | flang/test/Lower/Intrinsics/asin.f90 |
 | flang/test/Lower/Intrinsics/bessel_yn.f90 |
Commit
5fff4b75ca0d72759f7ded4c96fc5493d917a3a9
by Alex Langford[lldb] Pass TestExternCSymbols.py on Windows
This test previously was expected to fail on windows. As of my previous patch (1d2a62afaf7561e331e2f3daf3937d14225b21bf) this test now passes on windows consistently. This patch adjusts the expectations of the test accordingly.
|
 | lldb/test/API/lang/cpp/extern_c/TestExternCSymbols.py |
Commit
257251247a267c3fa30fdeef17ffa4987d8a52e5
by Vang.Thao[SROA] Try harder to find a vector promotion viable type when rewriting
We are seeing significant performance loss when an alloca fails to get promoted to register. I have observed that this is due to the common type found when attempting to rewrite partition users being unviable for promotion. While if we would have continue looking for a type, we would have found a subtype in the original allocated type that would have enabled promotion. Thus first check if the initial common type found is promotion viable and if not then continue looking instead of stopping with the initial common type found.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D128073
|
 | llvm/lib/Transforms/Scalar/SROA.cpp |
 | llvm/test/Transforms/SROA/sroa-common-type-fail-promotion.ll |
Commit
bf48b128b02813e53e0c8f6585db837d14c9358f
by dthorn[Symbolizer] Implement pc element in symbolizing filter.
Implements the pc element for the symbolizing filter, including it's "ra" and "pc" modes. Return addresses ("ra") are adjusted by decrementing one. By default, {{{pc}}} elements are assumed to point to precise code ("pc") locations. Backtrace elements will adopt the opposite convention.
Along the way, some minor refactors of value printing and colorization.
Reviewed By: peter.smith
Differential Revision: https://reviews.llvm.org/D131115
|
 | llvm/test/DebugInfo/symbolize-filter-markup-pc.test |
 | llvm/docs/CommandGuide/llvm-symbolizer.rst |
 | llvm/docs/SymbolizerMarkupFormat.rst |
 | llvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h |
 | llvm/test/DebugInfo/symbolize-filter-markup-data.test |
 | llvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp |
Commit
6c52f82d77a1b8d9d9f8b585c73f94e58191b5a9
by filipp.zhinkin[X86][ARM] Add tests for bitwise logic trees of shifts; NFC
Baseline tests for D131189.
|
 | llvm/test/CodeGen/ARM/shift-combine.ll |
 | llvm/test/CodeGen/X86/shift-combine.ll |
Commit
f756f06cc471b91d81d7f7f15d9df76ed24de730
by hanruobing[SimpleLoopUnswitch] Skip non-trivial unswitching of cold loops
With profile data, non-trivial LoopUnswitch will only apply on non-cold loops, as unswitching cold loops may not gain much benefit but significantly increase the code size.
Reviewed By: aeubanks, asbirlea
Differential Revision: https://reviews.llvm.org/D129599
|
 | llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll |
 | llvm/test/Transforms/LoopPredication/preserve-bpi.ll |
 | llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll |
 | llvm/test/Other/new-pm-defaults.ll |
 | llvm/test/Transforms/SimpleLoopUnswitch/PGO-nontrivial-unswitch.ll |
 | llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll |
 | llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll |
 | llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll |
 | llvm/test/Other/new-pm-thinlto-defaults.ll |
 | llvm/lib/Passes/PassBuilder.cpp |
 | llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp |
Commit
e4161e88f3164f5922fff3ff565e18149a39aa14
by thakis[gn build] port 59bb9e37c6
|
 | llvm/utils/gn/secondary/llvm/tools/llvm-dwarfutil/BUILD.gn |
Commit
09db7f533174cdda4655d0114cd88bd22d336e31
by thakis[lld/mac] Remove unusual "Fallthrough" comments
Normally we'd use LLVM_FALLTHROUGH, or now, [[fallthrough]]. But for case labels followed directly by other case labels, we use neither.
No behavior change.
|
 | lld/MachO/InputFiles.cpp |
Commit
de9d80c1c579e39cc658a508f1d4ba1cd792e4d5
by i[llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC
With C++17 there is no Clang pedantic warning or MSVC C5051.
|
 | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp |
 | llvm/lib/Transforms/Utils/BuildLibCalls.cpp |
 | llvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp |
 | llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp |
 | llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp |
 | llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp |
 | llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp |
 | llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp |
 | llvm/lib/Target/X86/X86AsmPrinter.cpp |
 | llvm/lib/IR/Value.cpp |
 | llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp |
 | llvm/lib/Target/ARM/ARMFastISel.cpp |
 | llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp |
 | llvm/lib/Target/PowerPC/PPCInstrInfo.cpp |
 | llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h |
 | llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp |
 | llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp |
 | llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp |
 | llvm/lib/Analysis/MemoryDependenceAnalysis.cpp |
 | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp |
 | llvm/lib/Target/RISCV/RISCVSExtWRemoval.cpp |
 | llvm/lib/Target/AArch64/AArch64FastISel.cpp |
 | llvm/lib/CodeGen/MIRPrinter.cpp |
 | llvm/lib/Support/APFloat.cpp |
 | llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp |
 | llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp |
 | llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp |
 | llvm/lib/TextAPI/TextStubCommon.cpp |
 | llvm/lib/Support/Host.cpp |
 | llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp |
 | llvm/lib/Target/X86/X86InstrInfo.cpp |
 | llvm/lib/CodeGen/GlobalISel/Utils.cpp |
 | llvm/tools/llvm-remark-size-diff/RemarkSizeDiff.cpp |
 | llvm/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp |
 | llvm/lib/Target/X86/X86ISelLowering.cpp |
 | llvm/include/llvm/Support/VirtualFileSystem.h |
 | llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp |
 | llvm/lib/Target/AArch64/AArch64ISelLowering.cpp |
 | llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp |
 | llvm/lib/Option/OptTable.cpp |
 | llvm/lib/BinaryFormat/Magic.cpp |
 | llvm/lib/Target/AMDGPU/R600ISelLowering.cpp |
 | llvm/lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp |
 | llvm/lib/Transforms/InstCombine/InstructionCombining.cpp |
 | llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp |
 | llvm/lib/Target/X86/X86DynAllocaExpander.cpp |
 | llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp |
 | llvm/lib/MC/MCStreamer.cpp |
 | llvm/lib/Target/Hexagon/HexagonSplitDouble.cpp |
 | llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp |
 | llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp |
 | llvm/lib/Target/XCore/XCoreAsmPrinter.cpp |
 | llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp |
 | llvm/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp |
 | llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp |
 | llvm/lib/CodeGen/ExpandVectorPredication.cpp |
 | llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp |
 | llvm/lib/Analysis/ConstantFolding.cpp |
 | llvm/lib/Target/Sparc/SparcInstrInfo.cpp |
 | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp |
 | llvm/lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp |
 | llvm/lib/Target/Mips/MipsISelLowering.cpp |
 | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp |
 | llvm/include/llvm/CodeGen/BasicTTIImpl.h |
 | llvm/lib/Analysis/BasicAliasAnalysis.cpp |
 | llvm/lib/Target/AArch64/AArch64InstrInfo.cpp |
 | llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp |
 | llvm/lib/Target/ARM/ARMInstructionSelector.cpp |
 | llvm/lib/TableGen/TGLexer.cpp |
 | llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp |
 | llvm/lib/Target/ARM/ARMAsmPrinter.cpp |
 | llvm/lib/Support/GraphWriter.cpp |
 | llvm/lib/Target/ARM/Thumb1FrameLowering.cpp |
 | llvm/lib/DebugInfo/PDB/Native/InfoStream.cpp |
 | llvm/lib/Target/X86/X86ISelDAGToDAG.cpp |
 | llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp |
 | llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp |
 | llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp |
 | llvm/lib/Target/X86/X86IndirectBranchTracking.cpp |
 | llvm/include/llvm/Analysis/TargetTransformInfoImpl.h |
 | llvm/lib/Target/VE/VEISelLowering.cpp |
 | llvm/tools/llvm-exegesis/lib/SerialSnippetGenerator.cpp |
 | llvm/lib/ObjectYAML/ELFYAML.cpp |
 | llvm/include/llvm/CodeGen/CodeGenPassBuilder.h |
 | llvm/lib/Target/X86/X86FastISel.cpp |
 | llvm/tools/llvm-readobj/ELFDumper.cpp |
 | llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.cpp |
 | llvm/lib/Target/MSP430/MSP430ISelLowering.cpp |
 | llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp |
 | llvm/lib/CodeGen/TargetLoweringBase.cpp |
 | llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp |
 | llvm/lib/CodeGen/GlobalISel/LegacyLegalizerInfo.cpp |
 | llvm/lib/Target/ARM/MVELaneInterleavingPass.cpp |
 | llvm/lib/MC/MCParser/MasmParser.cpp |
 | llvm/lib/Target/ARM/Thumb2SizeReduction.cpp |
 | llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp |
 | llvm/lib/DWARFLinker/DWARFLinkerDeclContext.cpp |
 | llvm/lib/Target/X86/X86TargetTransformInfo.cpp |
 | llvm/lib/Support/YAMLParser.cpp |
 | llvm/lib/Target/AArch64/AArch64CondBrTuning.cpp |
 | llvm/lib/Support/VirtualFileSystem.cpp |
 | llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp |
 | llvm/lib/Target/AArch64/GISel/AArch64GlobalISelUtils.cpp |
 | llvm/lib/Support/CommandLine.cpp |
 | llvm/include/llvm/Target/CodeGenCWrappers.h |
 | llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp |
 | llvm/lib/Target/AArch64/AArch64FrameLowering.cpp |
 | llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp |
 | llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp |
 | llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp |
 | llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp |
 | llvm/lib/Analysis/ScalarEvolution.cpp |
 | llvm/utils/TableGen/IntrinsicEmitter.cpp |
 | llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp |
 | llvm/lib/Target/AVR/AsmParser/AVRAsmParser.cpp |
 | llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp |
 | llvm/tools/llvm-config/llvm-config.cpp |
 | llvm/lib/Support/raw_ostream.cpp |
 | llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp |
 | llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp |
 | llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp |
 | llvm/lib/Target/X86/X86FrameLowering.cpp |
 | llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp |
 | llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp |
 | llvm/lib/Target/Hexagon/HexagonGenPredicate.cpp |
 | llvm/lib/Target/Mips/MipsExpandPseudo.cpp |
 | llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp |
 | llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp |
 | llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp |
 | llvm/lib/Target/SystemZ/SystemZISelLowering.cpp |
 | llvm/examples/BrainF/BrainF.cpp |
 | llvm/tools/obj2yaml/macho2yaml.cpp |
 | llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp |
 | llvm/lib/Target/ARC/ARCOptAddrMode.cpp |
 | llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp |
 | llvm/lib/Target/AVR/AVRRegisterInfo.cpp |
 | llvm/lib/Transforms/IPO/FunctionAttrs.cpp |
 | llvm/lib/Transforms/Scalar/IndVarSimplify.cpp |
 | llvm/lib/Analysis/InstructionSimplify.cpp |
 | llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp |
 | llvm/lib/Transforms/IPO/AttributorAttributes.cpp |
 | llvm/lib/Analysis/IVDescriptors.cpp |
 | llvm/lib/Support/FormattedStream.cpp |
 | llvm/lib/Analysis/TargetLibraryInfo.cpp |
 | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp |
 | llvm/lib/Bitcode/Reader/MetadataLoader.cpp |
 | llvm/lib/Target/M68k/M68kISelLowering.cpp |
 | llvm/lib/Target/ARM/ARMConstantIslandPass.cpp |
 | llvm/lib/Transforms/Utils/LoopRotationUtils.cpp |
 | llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp |
 | llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp |
 | llvm/lib/Target/ARM/ARMFrameLowering.cpp |
 | llvm/lib/Bitcode/Reader/BitcodeReader.cpp |
 | llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp |
 | llvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp |
 | llvm/lib/Support/FoldingSet.cpp |
 | llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp |
 | llvm/tools/llvm-ml/Disassembler.cpp |
 | llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp |
 | llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp |
 | llvm/lib/CodeGen/MIRParser/MIParser.cpp |
 | llvm/lib/Transforms/IPO/Attributor.cpp |
 | llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp |
 | llvm/lib/Object/ELFObjectFile.cpp |
 | llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp |
 | llvm/lib/Target/Hexagon/HexagonBitTracker.cpp |
 | llvm/lib/Target/RISCV/RISCVISelLowering.cpp |
 | llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp |
 | llvm/lib/Support/Triple.cpp |
 | llvm/lib/Target/PowerPC/PPCFastISel.cpp |
 | llvm/lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp |
 | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp |
 | llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp |
 | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp |
 | llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp |
 | llvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp |
 | llvm/lib/IR/ConstantFold.cpp |
 | llvm/lib/Target/ARM/ARMISelLowering.cpp |
 | llvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp |
 | llvm/lib/Target/AMDGPU/R600AsmPrinter.cpp |
 | llvm/lib/Target/Hexagon/HexagonBitSimplify.cpp |
 | llvm/lib/MC/MCWin64EH.cpp |
 | llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp |
 | llvm/lib/Target/X86/X86MCInstLower.cpp |
 | llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp |
 | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp |
 | llvm/lib/Target/AMDGPU/SIInstrInfo.cpp |
 | llvm/lib/ProfileData/InstrProf.cpp |
 | llvm/lib/Analysis/ValueTracking.cpp |
 | llvm/lib/Transforms/ObjCARC/PtrState.cpp |
 | llvm/tools/llvm-ar/llvm-ar.cpp |
 | llvm/lib/Target/ARC/ARCRegisterInfo.cpp |
 | llvm/lib/Target/PowerPC/PPCISelLowering.cpp |
 | llvm/lib/Target/AArch64/AArch64MachineScheduler.cpp |
 | llvm/lib/Target/BPF/AsmParser/BPFAsmParser.cpp |
 | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp |
 | llvm/lib/CodeGen/TargetPassConfig.cpp |
 | llvm/lib/Support/GlobPattern.cpp |
 | llvm/lib/IR/InlineAsm.cpp |
 | llvm/lib/IR/Verifier.cpp |
 | llvm/lib/Target/Hexagon/HexagonRDFOpt.cpp |
 | llvm/lib/MC/MCParser/AsmLexer.cpp |
 | llvm/lib/CodeGen/RegisterCoalescer.cpp |
 | llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp |
 | llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp |
 | llvm/tools/llvm-mc/Disassembler.cpp |
 | llvm/lib/Target/AMDGPU/SIISelLowering.cpp |
 | llvm/lib/IR/Function.cpp |
Commit
d9728a9baa49e6ddfa6c91af9fd7bf6a760f9a62
by antiagainst[mlir][spirv] Unify mixed scalar/vector primitive type resources
This further relaxes the requirement to allow aliased resources to have different primitive types and some are scalars while the other are vectors.
Reviewed By: ThomasRaoux
Differential Revision: https://reviews.llvm.org/D131207
|
 | mlir/lib/Dialect/SPIRV/Transforms/UnifyAliasedResourcePass.cpp |
 | mlir/test/Dialect/SPIRV/Transforms/unify-aliased-resource.mlir |
Commit
59d2495fe2c1254f84ad4d2bd61a41e79ff0d44d
by i[lldb] LLVM_FALLTHROUGH => [[fallthrough]]. NFC
|
 | lldb/source/Target/Process.cpp |
 | lldb/unittests/Expression/DWARFExpressionTest.cpp |
 | lldb/source/Target/StackFrameList.cpp |
 | lldb/source/Target/StackFrame.cpp |
 | lldb/source/Core/Address.cpp |
 | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp |
 | lldb/source/Core/Communication.cpp |
 | lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.cpp |
 | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp |
 | lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp |
 | lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp |
 | lldb/tools/lldb-test/lldb-test.cpp |
 | lldb/source/Core/AddressRange.cpp |
 | lldb/source/Interpreter/Options.cpp |
 | lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp |
 | lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp |
 | lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp |
 | lldb/source/Expression/REPL.cpp |
 | lldb/source/Interpreter/OptionValuePathMappings.cpp |
 | lldb/source/Plugins/Language/ObjC/Cocoa.cpp |
 | lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.cpp |
 | lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp |
 | lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp |
 | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp |
 | lldb/source/Core/ValueObject.cpp |
 | lldb/source/Expression/DWARFExpression.cpp |
 | lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp |
 | lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp |
 | lldb/source/Interpreter/OptionValueArray.cpp |
 | lldb/source/Core/FormatEntity.cpp |
 | lldb/source/Interpreter/OptionValueFileSpecList.cpp |
 | lldb/source/Utility/ArchSpec.cpp |
 | lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp |
 | lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp |
 | lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp |
 | lldb/source/Commands/CommandObjectMemory.cpp |
Commit
7889c41938d2e9d30030aec85fbe703c1fe91238
by jeffbailey[libc] Website fixes (sidebar and mobile)
Add "using" and "status" sections to the sidebar to make getting these easier.
Fixed mobile formatting not overflow left and right.
Tested: Chrome on Desktop, using mobile restrictions in devtools.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D131369
|
 | libc/docs/_static/custom.css |
 | libc/docs/index.rst |
Commit
0d6cf1e8b5fa8590f816d5330cb7c2dcc449ec24
by dthorn[Symbolizer] Fix symbolizer-filter-markup-pc.test on Windows
|
 | llvm/test/DebugInfo/symbolize-filter-markup-pc.test |
Commit
cdeb50c3215593bffe9e5a46bdc9a9e34fd93dcc
by i[lldb] Remove include/lldb/lldb-private.h
The header from 62e0681afb478a4005efb6ba3598c24dc24866ee does something with LLVM_FALLTHROUGH. Now that llvm-project has switched to C++17 and LLVM_FALLTHROUGH uses have been migrated to [[fallthrough]], the header is unneeded.
Reviewed By: JDevlieghere
Differential Revision: https://reviews.llvm.org/D131422
|
 | lldb/include/lldb/lldb-private-defines.h |
 | clang/docs/tools/clang-formatted-files.txt |
 | lldb/include/lldb/module.modulemap |
 | lldb/include/lldb/lldb-private.h |
Commit
a12c076f60a726ebe4605ea7d2784f531adfec76
by i[compiler-rt] Use -std=c++17 for standalone build
Follow-up to D130689.
Reviewed By: thieta
Differential Revision: https://reviews.llvm.org/D131382
|
 | compiler-rt/CMakeLists.txt |
 | compiler-rt/cmake/config-ix.cmake |
Commit
b71b22e48ddcf98ada78dc1e98c2fbdb562e0bd2
by jhuber6[LinkerWrapper] Use C++17 structured bindings
Summary: This patch updates the linker wrapper to use C++17 structured bindings now that they are availible.
|
 | clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp |
Commit
33af4b22f8ea5dc8340002833802be95ae9f83a1
by blangmuir[clang][deps] Stop sharing FileManager across module builds in scanner
Sharing the FileManager across implicit module builds currently leaks paths looked up in an importer into the built module itself. This can cause non-deterministic results across scans. It is especially bad for modules since the path can be saved into the pcm file itself, leading to stateful behaviour if the cache is shared.
This should not impact the number of real filesystem accesses in the scanner, since it is already caching in the DependencyScanningWorkerFilesystem.
Note: this change does not affect whether or not the FileManager is shared across TUs in the scanner, which is a separate issue.
Differential Revision: https://reviews.llvm.org/D131412
|
 | clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp |
 | clang/test/ClangScanDeps/modules-file-path-isolation.c |
Commit
ddd576ab87a16eb7fb06531da8040ac2ece0c9a3
by walter erquinigo[lldb] Prevent race condition when fetching /proc/cpuinfo
@clayborg found a potential race condition when setting a static variable. The fix seems simply to use call_once.
All relevant tests pass.
Differential Revision: https://reviews.llvm.org/D131081
|
 | lldb/source/Plugins/Process/Linux/Procfs.cpp |
Commit
f181dff0846c2236f72e3f13a819bb0c968ccfb8
by aeubanksAdd -misc-const-correctness to .clang-tidy
I keep getting suggestions from clangd to add 'const' to a bunch of local variables, which is not LLVM's style. This suppresses those.
Reviewed By: kadircet, aaron.ballman
Differential Revision: https://reviews.llvm.org/D131414
|
 | .clang-tidy |
Commit
0c52ab39688e8e107487b8cee00f509fe092f40a
by martin[MC] [Win64EH] Fix the calculation of the end of epilogs
Exclude the terminating end opcode from the epilog - it doesn't correspond to an actual instruction that is included in the epilog itself (within the .seh_startepilogue/.seh_endepilogue range).
In most (all?) cases, an epilog is followed by a matching terminating instruction though (a ret or a branch to a tail call), but it's not strictly within the .seh_startepilogue/.seh_endepilogue range.
This fixes a number of failed asserts in cases where the codegen has incorrectly reoredered SEH opcodes so they don't match up exactly with their instructions.
However this still just avoids failing the assertion; the root cause of generating unexpected epilogs is still present (and fixing that is a less obvious issue).
Differential Revision: https://reviews.llvm.org/D131393
|
 | llvm/test/MC/AArch64/seh-multi-epilog.s |
 | llvm/lib/MC/MCWin64EH.cpp |
Commit
6b3bc7cd3c6f56a63f97e71dc236b2281d98d9d1
by ajcbik[mlir][sparse] improve sparse attribute documentation
Moved some parts from comments (not user facing) to the actual description (user facing). Rephrased a bit as well.
Reviewed By: Peiming
Differential Revision: https://reviews.llvm.org/D131418
|
 | mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td |
Commit
d6bd3d373e89e2025821a83071a41310f74d658d
by froese[DAGCombiner] Add some BE store forwarding tests; NFC
Add tests before D130115. NFC.
|
 | llvm/test/CodeGen/PowerPC/store-forward-be64.ll |
 | llvm/test/CodeGen/PowerPC/store-forward-be32.ll |
Commit
8d7c1c55a43fc0eec3410fab0d4cbe6626522a56
by thomasraoux[mlir][vector] Fix warp distribution test
The test was using a missing prefix. Add the prefix and fix the naming.
Found by @csigg
Reviewed By: csigg
Differential Revision: https://reviews.llvm.org/D131428
|
 | mlir/test/Dialect/Vector/vector-warp-distribute.mlir |
Commit
cc8edbea7a5f26906ae3d1f7ba0dc5da8fc5afb5
by xingxue[libunwind][AIX] Save/restore errno before/after system calls dlopen/dlsym/dlclose
Summary: libunwind on AIX calls dlopen()/dlsym()/dlclose() to dynamically load libc++abi and get the personality for state table EH when it is running against the legacy xlcang++ compiler genereated applications. dlopen() sets errno to 0 when it is successful, which clobbers the value in errno from the user code. This seems to be an AIX bug that it should not set errno to 0 according to POSIX. We will open a bug report to AIX but in the mean time there won't be time line when AIX will have a fix and even AIX does fix it, it won't help earlier AIX releases in the field. This patch saves and restores errno before and after these calls so that user code can work as expected.
Reviewed by: compnerd, libunwind
Differential Revision: https://reviews.llvm.org/D131292
|
 | libunwind/src/UnwindCursor.hpp |
Commit
dbd04b853b680b0a383e5f58edf3643364f67bdf
by abrachet[ELF] Support --package-metadata
This was recently introduced in GNU linkers and it makes sense for ld.lld to have the same support. This implementation omits checking if the input string is valid json to reduce size bloat.
Differential Revision: https://reviews.llvm.org/D131439
|
 | lld/ELF/Config.h |
 | llvm/include/llvm/BinaryFormat/ELF.h |
 | lld/docs/ReleaseNotes.rst |
 | lld/ELF/Driver.cpp |
 | lld/ELF/SyntheticSections.h |
 | lld/test/ELF/package-metadata.s |
 | lld/ELF/Writer.cpp |
 | lld/ELF/Options.td |
 | lld/ELF/SyntheticSections.cpp |
Commit
eec05bfeafe9389e190932e0efbfbed11198311e
by craig.topper[RISCV] Add {{$}} to some CHECK lines in MC tests.
This adds {{$}} to most of the CHECK lines for errors about what extension an instruction requires. This ensures we check all the extensions when there is a list.
Differential Revision: https://reviews.llvm.org/D131436
|
 | llvm/test/MC/RISCV/rvv/fadd.s |
 | llvm/test/MC/RISCV/rvv/div.s |
 | llvm/test/MC/RISCV/rv32zicbom-invalid.s |
 | llvm/test/MC/RISCV/rvv/shift.s |
 | llvm/test/MC/RISCV/rvv/vsetvl.s |
 | llvm/test/MC/RISCV/rv32zbt-invalid.s |
 | llvm/test/MC/RISCV/rv32zfinx-invalid.s |
 | llvm/test/MC/RISCV/rv32c-invalid.s |
 | llvm/test/MC/RISCV/rv64zhinx-invalid.s |
 | llvm/test/MC/RISCV/rv32zmmul-invaild.s |
 | llvm/test/MC/RISCV/rv32dc-valid.s |
 | llvm/test/MC/RISCV/rv32zicboz-invalid.s |
 | llvm/test/MC/RISCV/rvv/invalid-eew.s |
 | llvm/test/MC/RISCV/rvv/mul.s |
 | llvm/test/MC/RISCV/rv32zbkc-invalid.s |
 | llvm/test/MC/RISCV/rvv/xor.s |
 | llvm/test/MC/RISCV/rvv/ext.s |
 | llvm/test/MC/RISCV/rv32fc-valid.s |
 | llvm/test/MC/RISCV/rv64dc-valid.s |
 | llvm/test/MC/RISCV/rv64zfinx-valid.s |
 | llvm/test/MC/RISCV/rv32zicbop-invalid.s |
 | llvm/test/MC/RISCV/rv64zfinx-invalid.s |
 | llvm/test/MC/RISCV/rvv/freduction.s |
 | llvm/test/MC/RISCV/rvv/mask.s |
 | llvm/test/MC/RISCV/rv64d-valid.s |
 | llvm/test/MC/RISCV/rv64zhinxmin-invalid.s |
 | llvm/test/MC/RISCV/rvv/mv.s |
 | llvm/test/MC/RISCV/rvv/reduction.s |
 | llvm/test/MC/RISCV/rv32zbe-invalid.s |
 | llvm/test/MC/RISCV/rvv/convert.s |
 | llvm/test/MC/RISCV/rv32zhinx-invalid.s |
 | llvm/test/MC/RISCV/rvv/fcompare.s |
 | llvm/test/MC/RISCV/rvv/add.s |
 | llvm/test/MC/RISCV/rvv/fmacc.s |
 | llvm/test/MC/RISCV/rvv/fmv.s |
 | llvm/test/MC/RISCV/rvv/minmax.s |
 | llvm/test/MC/RISCV/rvv/and.s |
 | llvm/test/MC/RISCV/rv32c-only-valid.s |
 | llvm/test/MC/RISCV/rv64zhinx-valid.s |
 | llvm/test/MC/RISCV/rv32zbb-invalid.s |
 | llvm/test/MC/RISCV/rv64zdinx-invalid.s |
 | llvm/test/MC/RISCV/rvv/store.s |
 | llvm/test/MC/RISCV/priv-rv64-valid.s |
 | llvm/test/MC/RISCV/rv32m-invalid.s |
 | llvm/test/MC/RISCV/rv32zbbp-invalid.s |
 | llvm/test/MC/RISCV/rv32zdinx-invalid.s |
 | llvm/test/MC/RISCV/rv32zbf-invalid.s |
 | llvm/test/MC/RISCV/rvv/fsub.s |
 | llvm/test/MC/RISCV/rvv/load.s |
 | llvm/test/MC/RISCV/rv32f-invalid.s |
 | llvm/test/MC/RISCV/rv32c-valid.s |
 | llvm/test/MC/RISCV/rv32i-aliases-invalid.s |
 | llvm/test/MC/RISCV/rv64i-aliases-invalid.s |
 | llvm/test/MC/RISCV/rv64f-valid.s |
 | llvm/test/MC/RISCV/rv64zfh-valid.s |
 | llvm/test/MC/RISCV/rv32zbr-invalid.s |
 | llvm/test/MC/RISCV/rv64c-valid.s |
 | llvm/test/MC/RISCV/rvv/or.s |
 | llvm/test/MC/RISCV/rvv/sub.s |
 | llvm/test/MC/RISCV/rvv/others.s |
 | llvm/test/MC/RISCV/rvv/fothers.s |
 | llvm/test/MC/RISCV/rv32zba-invalid.s |
 | llvm/test/MC/RISCV/rvv/clip.s |
 | llvm/test/MC/RISCV/rv32zbp-invalid.s |
 | llvm/test/MC/RISCV/rv64a-valid.s |
 | llvm/test/MC/RISCV/rvv/macc.s |
 | llvm/test/MC/RISCV/rv32zfhmin-invalid.s |
 | llvm/test/MC/RISCV/rvv/sign-injection.s |
 | llvm/test/MC/RISCV/rvv/fdiv.s |
 | llvm/test/MC/RISCV/rvv/fmul.s |
 | llvm/test/MC/RISCV/rv32i-invalid.s |
 | llvm/test/MC/RISCV/rvv/zvlsseg.s |
 | llvm/test/MC/RISCV/rv32zbkx-invalid.s |
 | llvm/test/MC/RISCV/rv32zhinxmin-invalid.s |
 | llvm/test/MC/RISCV/rvv/fminmax.s |
 | llvm/test/MC/RISCV/rvv/compare.s |
 | llvm/test/MC/RISCV/rv64zmmul-invalid.s |
Commit
8c0979c8f7723306862b33583c6bdb1f4566a969
by llvm-project[flang][test] Don't require .exe suffix.
The suffix is only added then the path the (lld-)link.exe is fully resolved. Otherwise it may stay "link" or "lld-link".
On non-Windows platforms, lld-link also exists as a symbolic link to lld, such that the full the path to lld-link might also be resolved without .exe suffix in this case.
Note that CLANG_DEFAULT_LINKER could be set to other linkers such as mold, in which case the test may still fail. This also applies to the non-Windows tests that require "ld" in the linker name.
Fixes issue #56955
|
 | flang/test/Driver/linker-flags.f90 |
Commit
db008af501534d4590542253ae3acf783986f5f7
by Jonas Devlieghere[llvm] Repair the modules build with C++17
I'm honestly not sure if this is a legitimate issue or not, but after switching from C++14 to C++17, the modules build started confusing arrays and initializer lists. Work around the issue by being explicit.
|
 | llvm/include/llvm/ADT/STLExtras.h |
 | llvm/include/llvm/Support/FormatProviders.h |
Commit
c0124084537bad33180d2e675475baf1a4b79afe
by gclaytonImplement better path matching in FileSpecList::FindCompatibleIndex(...).
Currently a FileSpecList::FindFileIndex(...) will only match the specified FileSpec if: - it has filename and directory and both match exactly - if has a filename only and any filename in the list matches
Because of this, we modify our breakpoint resolving so it can handle relative paths by doing some extra code that removes the directory from the FileSpec when searching if the path is relative.
This patch is intended to fix breakpoints so they work as users expect them to by adding the following features: - allow matches to relative paths in the file list to match as long as the relative path is at the end of the specified path at valid directory delimiters - allow matches to paths to match if the specified path is relative and shorter than the file paths in the list
This allows us to remove the extra logic from BreakpointResolverFileLine.cpp that added support for setting breakpoints with relative paths.
This means we can still set breakpoints with relative paths when the debug info contains full paths. We add the ability to set breakpoints with full paths when the debug info contains relative paths.
Debug info contains "./a/b/c/main.cpp", the following will set breakpoints successfully: - /build/a/b/c/main.cpp - a/b/c/main.cpp - b/c/main.cpp - c/main.cpp - main.cpp - ./c/main.cpp - ./a/b/c/main.cpp - ./b/c/main.cpp - ./main.cpp
This also ensures that we won't match partial directory names, if a relative path is in the list or is used for the match, things must match at the directory level.
The breakpoint resolving code will now use the new FileSpecList::FindCompatibleIndex(...) function to allow this fuzzy matching to work for breakpoints.
Differential Revision: https://reviews.llvm.org/D130401
|
 | lldb/test/API/functionalities/breakpoint/breakpoint_command/relative.yaml |
 | lldb/unittests/Core/FileSpecListTest.cpp |
 | lldb/unittests/Core/CMakeLists.txt |
 | lldb/include/lldb/Core/FileSpecList.h |
 | lldb/source/Breakpoint/BreakpointResolverFileLine.cpp |
 | lldb/source/Symbol/CompileUnit.cpp |
 | lldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h |
 | lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py |
 | lldb/source/Core/FileSpecList.cpp |
Commit
860efb10b42e71ac96d07ea3f45c1baf10ee3f09
by Jonas DevliegherePartially revert "[llvm] Repair the modules build with C++17"
This reverts commit db008af501534d4590542253ae3acf783986f5f7 because this now breaks the non-module build...
|
 | llvm/include/llvm/ADT/STLExtras.h |
Commit
1b212d1098d264f2d5ccc17cde5492f9f2338df6
by wlei[llvm-profgen] Fix perf script parsing issues
Fix two perf script parsing issues:
1) Redirect the error message to a new file. (the error message mixed in the perfscript could screw up the MMAP event line and cause a parsing failure)
2) Changed the MMap parsing error message to warning since the perfscript can still be parsed using the preferred address as base address.
Reviewed By: hoy, wenlei
Differential Revision: https://reviews.llvm.org/D131449
|
 | llvm/tools/llvm-profgen/PerfReader.cpp |
Commit
b8641bfc4c2d488c7a09a556728f10340d5c8819
by pklausler[flang] Don't compute pointer component procedure characteristics when not needed
When a procedure pointer component has an interface that is a forward reference to a procedure, syntax errors can be emitted if there is a structure constructor that tries to initialize that component, since its characteristics are not yet known; however, when the initializer is a bare NULL(with no mold), those characteristics don't matter. Make the characterization of the procedure pointer component take place only when needed.
Differential Revision: https://reviews.llvm.org/D131100
|
 | flang/lib/Semantics/pointer-assignment.cpp |
Commit
b73e8325fb25b27f898190d81a0d62e92c06694c
by jpienaar[mlir][tosa] Updates tosa.equal to use the InferTensorType interface
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D130373
|
 | mlir/lib/Dialect/Tosa/IR/TosaOps.cpp |
 | mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td |
Commit
2264f7ef27a5dcc89e41fef4a7c734471011f6fd
by deadalnix[X86] Add 64bits test cases for D131358
|
 | llvm/test/CodeGen/X86/or-lea.ll |
Commit
67c06c4731bd50f77395144fde3865bf36f5a469
by Vitaly Buka[NFC][asan] Clang-format a file
|
 | compiler-rt/lib/asan/asan_interceptors_memintrinsics.h |
Commit
cc104113ddecbdcec2cca848adbb6afa1214e9de
by Shafik Yaghmour[Clang] Allow downgrading to a warning the diagnostic for setting a non fixed enum to a value outside the range of the enumeration values
In D130058 we diagnose the undefined behavior of setting the value outside the range of the enumerations values for an enum without a fixed underlying type.
Based on feedback we will provide users to the ability to downgrade this diagnostic to a waring to allow for a transition period. We expect to turn this diagnostic to an error in the next release.
Differential Revision: https://reviews.llvm.org/D131307
|
 | clang/include/clang/Basic/DiagnosticASTKinds.td |
 | clang/docs/ReleaseNotes.rst |
 | clang/test/SemaCXX/compare.cpp |
 | clang/lib/AST/ExprConstant.cpp |
 | clang/test/SemaCXX/constant-expression-cxx11.cpp |
 | clang/test/SemaCXX/MicrosoftCompatibility.cpp |
Commit
30bbb73bb448910f791088bfc3154e752d42241a
by Vitaly Buka[NFC][asan] Add LIKELY/UNLIKELY on hot memcpy paths
|
 | compiler-rt/lib/asan/asan_interceptors_memintrinsics.h |
Commit
474145c0b2420cb316bb8a9dcc031d613679d496
by i[CMake] Build lib/gwp_asan/tests with -std=c++17
With the recent llvm-project C++17 switch (D130689), gwp_asan/tests may fail to link with some versions of GCC (https://github.com/llvm/llvm-project/issues/56994):
> backtrace.cpp:(.text+0xca6): undefined reference to `gwp_asan::AllocationMetadata::kMaxTraceLengthToCollect'
I cannot reproduce this issue by myself, but notice that currently lib/gwp_asan/*.cpp get -std=c++17 while lib/gwp_asan/tests/*.cpp don't (therefore may use -std=g++14 default from Clang and older GCC). Using -std=c++17 for lib/gwp_asan/tests will ensure that backtrace.cpp uses inline variable and will assuredly avoid the possible GCC issue.
In the long-term, we should add -std=c++17 to a central place like generate_compiler_rt_tests.
Reviewed By: dyung
Differential Revision: https://reviews.llvm.org/D131440
|
 | compiler-rt/lib/gwp_asan/tests/CMakeLists.txt |
Commit
2eb50cee11ccbfac71eeb7687b9f136d95fc7f52
by thomasraoux[mlir][tosa] Use arith::maxf/arith::minf in lowering from tosa
now that `arith` dialect has maxf/minf use it instead of cmp/select. Also refactor clamp helpers to make them simlper.
Reviewed By: rsuderman
Differential Revision: https://reviews.llvm.org/D131426
|
 | mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp |
 | mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir |
 | mlir/include/mlir/Dialect/Tosa/Utils/CoversionUtils.h |
 | mlir/lib/Dialect/Tosa/Utils/ConversionUtils.cpp |
 | mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp |
Commit
d9004dfbabc62887f09775297436792077ce4496
by czhengsz[PowerPC] mapping hardward loop intrinsics to powerpc pseudo
Map hardware loop intrinsics loop_decrement and set_loop_iteration to the new PowerPC pseudo instructions, so that the hardware loop intrinsics will be expanded to normal cmp+branch form or ctrloop form based on the CTR register usage on MIR level.
Reviewed By: lkail
Differential Revision: https://reviews.llvm.org/D123366
|
 | llvm/test/CodeGen/PowerPC/ctrloops64.mir |
 | llvm/test/CodeGen/PowerPC/ctrloops32.mir |
 | llvm/lib/Target/PowerPC/PPCCTRLoops.cpp |
 | llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp |
 | llvm/test/CodeGen/PowerPC/sms-phi.ll |
 | llvm/lib/Target/PowerPC/PPCInstr64Bit.td |
 | llvm/lib/Target/PowerPC/PPCInstrInfo.td |
 | llvm/lib/Target/PowerPC/PPCISelLowering.cpp |
 | llvm/test/CodeGen/PowerPC/ctrloops-pseudo.ll |
Commit
3f561996bf7193091bc6670a2e7804b0cb0bb936
by t-kawashima[AArch64] Fix and add A64FX scheduling resource/latency info
1. Missing instruction information (FTSSEL, FMSB, PFIRST and RDFFR) is added and CompleteModel is set to one.
2. Information for pseudo SVE instructions is added. Those instructions are present at the time of scheduling.
3. Resource and latency information for SVE instructions is modified to be more accurate. For example, the description for CMPEQ, which consumes one cycle each of unit FLA and PPR, is as follows. ``` Previous: def A64FXGI01 : ProcResGroup<[A64FXIPFLA, A64FXIPPR]>; def A64FXWrite_4Cyc_GI01 : SchedWriteRes<[A64FXGI01]> {... Modified: def A64FXGI0 : ProcResGroup<[A64FXIPFLA]>; def A64FXGI1 : ProcResGroup<[A64FXIPPR]>; def A64FXWrite_CMP : SchedWriteRes<[A64FXGI0, A64FXGI1]> {... ```
Reference: A64FX Microarchitecture Manual (Table 16-3) https://github.com/fujitsu/A64FX/blob/master/doc/A64FX_Microarchitecture_Manual_en_1.7.pdf
Reviewed By: dmgreen, kawashima-fj
Differential Revision: https://reviews.llvm.org/D131165
|
 | llvm/lib/Target/AArch64/AArch64SchedA64FX.td |
 | llvm/test/tools/llvm-mca/AArch64/A64FX/A64-basic-instructions.s |
 | llvm/test/tools/llvm-mca/AArch64/A64FX/A64FX-neon-instructions.s |
 | llvm/test/tools/llvm-mca/AArch64/A64FX/A64FX-sve-instructions.s |
Commit
8d9d27db475943954fce00db47f8c9daf4dae600
by i[Driver] Add -Xclang= as an alias for -Xclang
Driver options taking a value typically use `=` as the separator, instead of a space. Unfortunately many older driver options do not stick with the rule, but I find -Xclang used a lot and will be convenient if -Xclang= exists.
For build systems using a string array instead of a string to indicate compiler options, `["-Xclang=-foo"]` is more convenient than `["-Xclang", "-foo"]`. If a tool wants to filter out -Xclang=-foo, it is trivial for the `=` form, but complex for the space separated form.
Reviewed By: jhuber6
Differential Revision: https://reviews.llvm.org/D131455
|
 | clang/test/Driver/disable-llvm.c |
 | clang/include/clang/Driver/Options.td |
Commit
341ee9c0294f368aba83712651d34f6a4bbe92f3
by Vitaly Buka[NFC][asan] Fix Condition annotation after 30bbb73bb448
|
 | compiler-rt/lib/asan/asan_interceptors_memintrinsics.h |
Commit
03e345b5198d22ac7a4fd9798010fd1da16a25ca
by Vitaly Buka[asan] Avoid few branches on memcpy hot path
|
 | compiler-rt/lib/asan/asan_rtl.cpp |
 | compiler-rt/lib/asan/asan_internal.h |
 | compiler-rt/lib/asan/asan_interceptors_memintrinsics.h |
Commit
1438639a2f7eb9e9cba01454d3a9b1b16d179c9a
by Shafik Yaghmour[LLDB] Remove undefined behavior in TestConstStaticIntegralMember.py
Setting an enum without a fixed underlying type to a value which is outside the value range is undefined behavior.
The initializer needs to be a constant expression and therefore this was always ill-formed we just were not diagnosing it before.
See D130058 and D131307 for more details.
Differential Revision: https://reviews.llvm.org/D131460
|
 | lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py |
 | lldb/test/API/lang/cpp/const_static_integral_member/main.cpp |
Commit
bd3976fed470343be8df9caf0e35d290455b700c
by Jonas Devlieghere[lldb] Refactor Symbols::DownloadObjectAndSymbolFile
- Reduce indentation - Extract caching of the DbgShellCommand and the dsymForUUID executable (or equivalent) - Check the DBGShellCommands before falling back to /usr/local/bin/dsymForUUID - Don't check ~rc/bin/dsymForUUID - Improve error reporting - Don't cache the value of LLDB_APPLE_DSYMFORUUID_EXECUTABLE
Differential revision: https://reviews.llvm.org/D131303
|
 | lldb/source/Symbol/LocateSymbolFileMacOSX.cpp |
Commit
fc63c0542c8d6e5be07e059d03a73ae77f5155aa
by i[mlir] LLVM_FALLTHROUGH => [[fallthrough]]. NFC
|
 | mlir/lib/Transforms/Utils/DialectConversion.cpp |
 | mlir/lib/AsmParser/Parser.cpp |
 | mlir/lib/Tools/PDLL/Parser/Lexer.cpp |
 | mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp |
 | mlir/lib/AsmParser/Lexer.cpp |
 | mlir/lib/IR/AffineExpr.cpp |
Commit
0972a390b9c74cd994ad0250cf392aecb67502a3
by iLLVM_FALLTHROUGH => [[fallthrough]]. NFC
|
 | bolt/lib/Passes/RegReAssign.cpp |
 | openmp/libomptarget/plugins/cuda/src/rtl.cpp |
 | clang-tools-extra/clang-include-fixer/FuzzySymbolIndex.cpp |
 | bolt/lib/Target/X86/X86MCPlusBuilder.cpp |
 | bolt/lib/Passes/ShrinkWrapping.cpp |
 | clang-tools-extra/clangd/CodeComplete.cpp |
 | clang-tools-extra/clangd/SourceCode.cpp |
 | bolt/lib/Passes/FrameAnalysis.cpp |
 | polly/lib/Transform/ForwardOpTree.cpp |
 | clang-tools-extra/clang-tidy/modernize/AvoidBindCheck.cpp |
 | polly/lib/Support/VirtualInstruction.cpp |
 | clang-tools-extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp |
 | polly/lib/Analysis/ScopDetection.cpp |
 | polly/lib/Analysis/ScopBuilder.cpp |
 | clang-tools-extra/clang-tidy/readability/FunctionSizeCheck.cpp |
Commit
5357dd2f43a5aab28f34b69e7d3742dd50cbad98
by t-kawashima[MachinePipeliner] Fix Phi generation failure for large stages
The previous code overwrites VRMap for prologue stages during Phi generation if a register spans many stages. As a result, the wrong register is used as the one coming from the prologue in Phis at later stages. (A process exists to correct this, but it does not work in all cases.) In addition, VRMap for prologue must be preserved until addBranches().
This patch fixes them by separating the map for Phis into a different variable (VRMapPhi).
Reviewed By: bcahoon
Differential Revision: https://reviews.llvm.org/D127840
|
 | llvm/lib/CodeGen/ModuloSchedule.cpp |
 | llvm/include/llvm/CodeGen/ModuloSchedule.h |
 | llvm/test/CodeGen/PowerPC/sms-large-stages.mir |
Commit
22e475f5ac237dfebbb3cd2b3306a17d3b2a53ce
by czhengsz[NFC] fix warning
|
 | llvm/lib/Target/PowerPC/PPCCTRLoops.cpp |
Commit
8e207e4c096e89fa5410b519715aba8c20701061
by kazu[Basic] Deprecate MapEntryOptionalStorage::{hasValue,getValue}
MapEntryOptionalStorage is an underlying storage class for OptionalStorage<clang::DirectoryEntryRef>.
This patch deprecates:
OptionalStorage<clang::DirectoryEntryRef>::hasValue OptionalStorage<clang::DirectoryEntryRef>::getValue
as there is no known users of these two methods.
Differential Revision: https://reviews.llvm.org/D131368
|
 | clang/include/clang/Basic/DirectoryEntry.h |
Commit
2db6b34ea8136b02ef533268f0324541c7f93d95
by Jonas Devlieghere[llvm] Alternative attempt at fixing the modules build with C++17
My initial attempt in db008af50153 resulted in "error: no viable constructor or deduction guide for deduction of template arguments of 'array'". Let's see if we can work around that by using an ArrayRef with an explicit template argument.
|
 | llvm/include/llvm/ADT/STLExtras.h |
Commit
ea42515dadfa3ca0020bc7107787761f026ad2dc
by Vitaly Buka[asan] Faster version of QuickCheckForUnpoisonedRegion
Slightly helps with performance regression after D128146.
|
 | compiler-rt/lib/asan/asan_interceptors_memintrinsics.h |
Commit
aaf6c7b05c9d155c8d34ec06a2f76ebdef8d21b9
by yuanke.luo[globalisel] Select register bank for DBG_VALUE
The register operand of DBG_VALUE is not selected to a proper register bank in both AArch64 and X86. This would cause getRegClass crash after global ISel. After discussion, we think the MIR should assume all vritual register should be set proper register class after global ISel, so this patch is to fix the gap of DBG_VALUE for AArch64 and X86.
Differential Revision: https://reviews.llvm.org/D129037
|
 | llvm/test/DebugInfo/AArch64/debug-reg-bank.ll |
 | llvm/lib/Target/X86/X86InstructionSelector.cpp |
 | llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp |
 | llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp |
 | llvm/test/CodeGen/AArch64/GlobalISel/select-dbg-value.mir |
 | llvm/lib/Target/X86/X86RegisterBankInfo.cpp |
 | llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp |
 | llvm/lib/CodeGen/RegisterBankInfo.cpp |
 | llvm/test/DebugInfo/X86/debug-reg-bank.ll |
 | llvm/test/CodeGen/AArch64/GlobalISel/select-hint.mir |
Commit
e8c807fade5ff75ffe7f1395c20cfda0bc9480e3
by Jonas Devlieghere[llvm] Don't rely on C++17 deduction guide for array creation
Seems like at least one bot (clang-ppc64-aix) is having trouble with the C++17 deduction guide for array creation. Specify the template arguments explicitly.
|
 | llvm/include/llvm/Support/FormatProviders.h |
Commit
f35cb7ba344b4de654c78f8a8d63a455e52588aa
by luweining[LoongArch] Add codegen support for bswap
Differential Revision: https://reviews.llvm.org/D131352
|
 | llvm/lib/Target/LoongArch/LoongArchISelLowering.h |
 | llvm/lib/Target/LoongArch/LoongArchInstrInfo.td |
 | llvm/test/CodeGen/LoongArch/bswap.ll |
 | llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp |
Commit
8716513e65c4e8eb0530579e3a15e44de88c3b9a
by luweining[LoongArch] Implement branch analysis
This allows a number of optimisation passes to work. E.g. BranchFolding and MachineBlockPlacement.
Differential Revision: https://reviews.llvm.org/D131316
|
 | llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/loongarch_generated_funcs.ll.generated.expected |
 | llvm/lib/Target/LoongArch/LoongArchInstrInfo.h |
 | llvm/test/CodeGen/LoongArch/ir-instruction/br.ll |
 | llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp |
 | llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/loongarch_generated_funcs.ll.nogenerated.expected |
 | llvm/test/CodeGen/LoongArch/analyze-branch.ll |
Commit
d3580c2eb6ec95256a65ce7f66346351e9852eab
by luweining[LoongArch] Add codegen support for not
Differential Revision: https://reviews.llvm.org/D131384
|
 | llvm/lib/Target/LoongArch/LoongArchInstrInfo.td |
 | llvm/test/CodeGen/LoongArch/calling-conv-lp64d.ll |
 | llvm/test/CodeGen/LoongArch/not.ll |
Commit
32197830ef5990d31b5582c9d497b2a96a1a381f
by i[clang][clang-tools-extra] LLVM_NODISCARD => [[nodiscard]]. NFC
|
 | clang-tools-extra/clangd/index/Serialization.cpp |
 | clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp |
 | clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h |
 | clang/include/clang/StaticAnalyzer/Checkers/Taint.h |
 | clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h |
 | clang/lib/AST/ExprConstant.cpp |
 | clang/lib/CodeGen/CGCall.cpp |
 | clang-tools-extra/clangd/index/Background.h |
 | clang-tools-extra/clangd/support/Threading.h |
 | clang/include/clang/Tooling/Syntax/Tokens.h |
 | clang/include/clang/AST/ASTContext.h |
 | clang-tools-extra/clangd/support/Context.h |
 | clang/lib/AST/ASTImporter.cpp |
 | clang/include/clang/Tooling/Core/Replacement.h |
 | clang-tools-extra/clangd/ClangdServer.cpp |
 | clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h |
 | clang/lib/StaticAnalyzer/Core/ProgramState.cpp |
 | clang-tools-extra/clangd/support/Function.h |
 | clang-tools-extra/clangd/ClangdServer.h |
 | clang-tools-extra/clang-tidy/ClangTidyOptions.h |
 | clang/lib/Format/FormatToken.h |
 | clang/include/clang/AST/ASTImporter.h |
 | clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp |
 | clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h |
 | clang/lib/Lex/DependencyDirectivesScanner.cpp |
Commit
5146f84fd616084fb63025a3e8a172179137b1ce
by iLLVM_NODISCARD => [[nodiscard]]. NFC
|
 | mlir/include/mlir/IR/OpImplementation.h |
 | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp |
 | lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.h |
 | mlir/include/mlir/Support/LogicalResult.h |
 | mlir/include/mlir/Analysis/AliasAnalysis.h |
 | mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h |
 | lldb/include/lldb/Interpreter/CommandInterpreter.h |
Commit
d4ff9eff767c24716b5654780bc2e48c2017b4c5
by 1.int32[clang][ASTImporter] Improve import of functions with auto return type.
ASTImporter used to crash in some cases when a function is imported with `auto` return type and the return type has references into the function. The handling of such cases is improved and crash should not occur any more but it is not fully verified, there are very many different types of cases to care for.
Reviewed By: martong
Differential Revision: https://reviews.llvm.org/D130705
|
 | clang/lib/AST/ASTImporter.cpp |
 | clang/unittests/AST/ASTImporterTest.cpp |
Commit
4ac00789e1b30145ec3cacc4b2a66cb755ff9e4a
by npopov[RelLookupTableConverter] Bail on invalid pointer size (x32)
The RelLookupTableConverter pass currently only supports 64-bit pointers. This is currently enforced using an isArch64Bit() check on the target triple. However, we consider x32 to be a 64-bit target, even though the pointers are 32-bit. (And independently of that specific example, there may be address spaces with different pointer sizes.)
As such, add an additional guard for the size of the pointers that are actually part of the lookup table.
Differential Revision: https://reviews.llvm.org/D131399
|
 | llvm/lib/Transforms/Utils/RelLookupTableConverter.cpp |
 | llvm/test/Transforms/RelLookupTableConverter/X86/gnux32.ll |
Commit
dd14d471a549c8b9bbcba49e3bb2bc64f4cf7e89
by shraiysh[mlir][OpenMP] omp.parallel side effects
Add `NoSideEffects` trait to omp.parallel operation.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D130657
|
 | mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td |
 | mlir/test/Dialect/OpenMP/canonicalize.mlir |
Commit
af0052ef741f9bcfa3c7f0038d49f0cb1eaa59a4
by llvm-devFix MSVC "not all control paths return a value" warning. NFC.
|
 | clang/lib/AST/ASTImporter.cpp |
Commit
27241435515554bc21105713c9d34cf886c5bced
by llvm-dev[DAG] canCreateUndefOrPoison - add freeze(ctpop(x)) -> ctpop(freeze(x)) and freeze(parity(x)) -> parity(freeze(x)) support
Both are guaranteed not to create undef/poison
|
 | llvm/test/CodeGen/X86/freeze-unary.ll |
 | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp |
Commit
15eaefa5fe3608b03f1abefc31129efaf9eab88e
by github[cmake] Fix ms-compat version in WinMsvc.cmake
As pointed out by @glandium here https://reviews.llvm.org/D130689#3709088 we updated the requirement of MSVC compatibility but not the flag passed when using WinMsvc.cmake as a toolchain.
|
 | llvm/cmake/platforms/WinMsvc.cmake |
Commit
d9e5462da61c3e2137a21a868a36f7022a39b59e
by llvm-dev[clang-pseudo] Forest.h - don't inherit from std::iterator
Now that we've updated to C++17 MSVC gives very verbose warnings about not creating classes that inherit from std::iterator - use llvm::iterator_facade_base instead
Fixes #57005
|
 | clang-tools-extra/pseudo/include/clang-pseudo/Forest.h |
Commit
adb0cd62a98cca26c740364bca308d089bb07cc1
by llvm-dev[Support] TaskQueue.h - replace std::result_of_t with std::invoke_result_t
std::result_of_t is deprecated in C++17
Fixes #57023
|
 | llvm/include/llvm/Support/TaskQueue.h |
Commit
67b075319b17450705483628c87631e3336e110d
by alexrichardson[ARM] Add a baseline elf-preemption test
This is based on the RISC-V elf-preemption.ll (converted to opaque pointers) and is useful for test coverage for the patch series starting with D131392.
|
 | llvm/test/CodeGen/ARM/elf-preemption.ll |
Commit
7925341d9332118c8f3469013b08cdcd9016749c
by alexrichardson[ARM] Add a baseline test for D131392
We should be emitting .Lfoo$local aliases for dso_local functions.
|
 | llvm/test/CodeGen/ARM/dso-local-func.ll |
Commit
9a2b14afa02e46acbc7838bafa8d9e59b7cc86b8
by alexrichardson[ARM] Emit local aliases (.Lfoo$local) for functions
ARMAsmPrinter::emitFunctionEntryLabel() was not calling the base class function so the $local alias was not being emitted. This should not have any function effect right now since ARM does not generate different code for the $local symbols, but it could be improved in the future.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D131392
|
 | llvm/test/CodeGen/ARM/dso-local-func.ll |
 | llvm/utils/UpdateTestChecks/asm.py |
 | llvm/lib/Target/ARM/ARMAsmPrinter.cpp |
Commit
fa210dd67b458f7a11631c7fb2eebb05f4849ce5
by alexrichardson[Thumb] Baseline test for incorrect relocation with -ffunction-sections
When calling a dso_local function, we end up creating a call against the .Lfoo$local label. This might be converted to a relocation against a section if there is such a matching one (which is a lot more likely with -ffunction-sections) and then the LSB (Thumb flag) will be lost.
I originally noticed this with Morello LLVM (which uses the LSB to indicate a C64 encoding mode function). The missing LSB meant that ld.lld would insert a thunk that switches encoding mode which then resulted in errors at runtime since functions were being entered with the wrong encoding mode. Since the Morello backend is not upstream, I looked if any in-tree backends could also be affected by the missing STT_FUNC flag and noticed that Thumb is also affected (although the bug is rather difficult to trigger - it currently requires inline assembly).
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D131432
|
 | llvm/test/CodeGen/ARM/thumb-function-section-reloc.ll |
Commit
6db15a82cc0966458c2b7d84b39f42ef09d2ac20
by alexrichardson[ARM] Use getSymbolPreferLocal() in GetARMGVSymbol
This allows relaxing some relocations to STT_SECTION symbol+offset instead of emitting a relocation against a symbol.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D131433
|
 | llvm/lib/Target/ARM/ARMAsmPrinter.cpp |
 | llvm/test/CodeGen/ARM/dso-local-func.ll |
 | llvm/test/CodeGen/ARM/elf-preemption.ll |
 | llvm/test/CodeGen/ARM/thumb-function-section-reloc.ll |
Commit
07529996d92b9fc0cc760f4e98d88b607f66e747
by ibiryukov[Sema] Merge variable template specializations
Clang used to produce redefinition errors, see tests for examples.
Reviewed By: ChuanqiXu
Differential Revision: https://reviews.llvm.org/D131258
|
 | clang/lib/Sema/SemaDecl.cpp |
 | clang/test/Modules/merge-var-template-spec-cxx-modules.cppm |
 | clang/test/Modules/merge-var-template-spec.cpp |
Commit
fc4c1a86f35f3900f67a6af16b416464369793ba
by d-pre[AMDGPU][MC][GFX11][NFC] Split large tests
Differential Revision: https://reviews.llvm.org/D131397
|
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop2.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop2_dpp16.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_ldsdir.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_all.txt |
 | llvm/test/MC/AMDGPU/gfx11_asm_vop1.s |
 | llvm/test/MC/AMDGPU/gfx11_asm_vop3.s |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop1.txt |
 | llvm/test/MC/AMDGPU/gfx11_asm_vop2.s |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sop1.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop1_dpp8.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopd.txt |
 | llvm/test/MC/Disassembler/AMDGPU/decode-err.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3p_dpp8.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc_dpp8.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_smem.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sopk.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3p.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sopp.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sop2.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3p_dpp16.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop2_dpp8.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc_dpp16.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop1_dpp16.txt |
 | llvm/test/MC/AMDGPU/gfx11_vop123.s |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sopc.txt |
Commit
9ff0cc7e0fa7e99163610d2fcb58e96f3315e343
by ron.lieberman[openmp] Fix enumeration build issue for openmp library
integer value 40962 is outside the valid range of values [0, 31] for this enumeration type [-Wenum-constexpr-conversion]` (Issue #57022)
turn on -Wno-enum-constexpr-conversion to buy some time to fix the more egregious issue in hsa_agent_into_t and hsa_amd_agent_info_t interfaces.
relates to https://reviews.llvm.org/D131307/new/
Differential Revision: https://reviews.llvm.org/D131477
|
 | openmp/cmake/HandleOpenMPOptions.cmake |
 | openmp/cmake/config-ix.cmake |
Commit
9d1eeefbfe04d3355c062253e659117d6ba4b735
by d-pre[AMDGPU][MC][GFX11][NFC] Rename tests
Make test names more uniform.
Differential Revision: https://reviews.llvm.org/D131398
|
 | llvm/test/MC/AMDGPU/gfx11_ds.s |
 | llvm/test/MC/AMDGPU/gfx11_mubuf_alias.s |
 | llvm/test/MC/AMDGPU/gfx11_mtbuf.s |
 | llvm/test/MC/AMDGPU/gfx11_asm_vinterp.s |
 | llvm/test/MC/AMDGPU/gfx11_asm_err.s |
 | llvm/test/MC/AMDGPU/gfx11_asm_sopp.s |
 | llvm/test/MC/AMDGPU/gfx11_asm_wmma.s |
 | llvm/test/MC/Disassembler/AMDGPU/flat-gfx11.txt |
 | llvm/test/MC/AMDGPU/gfx11_asm_flat_mnemonic.s |
 | llvm/test/MC/Disassembler/AMDGPU/mubuf_dasm_gfx11.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_mubuf.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_wmma.txt |
 | llvm/test/MC/Disassembler/AMDGPU/mtbuf_dasm_gfx11.txt |
 | llvm/test/MC/AMDGPU/gfx11_asm_ds.s |
 | llvm/test/MC/AMDGPU/gfx11_mubuf.s |
 | llvm/test/MC/AMDGPU/gfx11_asm_mtbuf_alias.s |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_wmma.txt |
 | llvm/test/MC/AMDGPU/gfx11_asm_flat.s |
 | llvm/test/MC/AMDGPU/gfx11_vop3p.s |
 | llvm/test/MC/AMDGPU/vinterp.s |
 | llvm/test/MC/AMDGPU/exp-gfx11.s |
 | llvm/test/MC/AMDGPU/ldsdir.s |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_mimg.txt |
 | llvm/test/MC/Disassembler/AMDGPU/vinterp.txt |
 | llvm/test/MC/AMDGPU/gfx11_asm_ldsdir.s |
 | llvm/test/MC/AMDGPU/gfx11_asm_vopd.s |
 | llvm/test/MC/Disassembler/AMDGPU/exp_gfx11.txt |
 | llvm/test/MC/AMDGPU/gfx11_flat.s |
 | llvm/test/MC/AMDGPU/gfx11_asm_mubuf_alias.s |
 | llvm/test/MC/Disassembler/AMDGPU/ds_gfx11.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_mtbuf.txt |
 | llvm/test/MC/AMDGPU/gfx11-flat-errs.s |
 | llvm/test/MC/AMDGPU/flat-gfx11-mnemonic.s |
 | llvm/test/MC/AMDGPU/gfx11_asm_vop3p.s |
 | llvm/test/MC/AMDGPU/gfx11_asm_flat_errs.s |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_exp.txt |
 | llvm/test/MC/AMDGPU/gfx11_asm_mtbuf.s |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_ds.txt |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_flat.txt |
 | llvm/test/MC/AMDGPU/gfx11_asm_mubuf.s |
 | llvm/test/MC/AMDGPU/vopd.s |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vinterp.txt |
 | llvm/test/MC/AMDGPU/gfx11_err.s |
 | llvm/test/MC/AMDGPU/gfx11_asm_exp.s |
 | llvm/test/MC/AMDGPU/gfx11_wmma.s |
 | llvm/test/MC/AMDGPU/gfx11_mtbuf_alias.s |
 | llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_mimg.txt |
 | llvm/test/MC/AMDGPU/sopp-gfx11.s |
Commit
7d48a9e1ae53ecdbb9a21c5cc0443aecb64479b4
by luweining[LoongArch] Support register-register-addressed GPR loads/stores
Differential Revision: https://reviews.llvm.org/D131380
|
 | llvm/test/CodeGen/LoongArch/ir-instruction/load-store.ll |
 | llvm/lib/Target/LoongArch/LoongArchInstrInfo.td |
Commit
9fa59e7643d63bbc95c1e011c7403bbe1555c861
by benny.kra[mlir] Use C++17 structured bindings instead of std::tie where applicable. NFCI
|
 | mlir/lib/Analysis/DataFlowFramework.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp |
 | mlir/lib/Tools/PDLL/Parser/Parser.cpp |
 | mlir/lib/Conversion/MemRefToLLVM/AllocLikeConversion.cpp |
 | mlir/lib/Dialect/SCF/IR/SCF.cpp |
 | mlir/include/mlir/ExecutionEngine/MemRefUtils.h |
 | mlir/lib/Analysis/Presburger/IntegerRelation.cpp |
 | mlir/lib/Transforms/OpStats.cpp |
 | mlir/lib/AsmParser/DialectSymbolParser.cpp |
 | mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp |
 | mlir/lib/Support/DebugCounter.cpp |
 | mlir/lib/Transforms/Utils/DialectConversion.cpp |
 | mlir/lib/Dialect/Arithmetic/IR/InferIntRangeInterfaceImpls.cpp |
 | mlir/lib/Dialect/GPU/IR/GPUDialect.cpp |
 | mlir/lib/Analysis/Presburger/Simplex.cpp |
 | mlir/lib/Dialect/SCF/Transforms/ParallelLoopTiling.cpp |
 | mlir/lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp |
 | mlir/lib/TableGen/Pattern.cpp |
 | mlir/lib/Dialect/Shape/IR/Shape.cpp |
 | mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp |
Commit
cf75ef460c92304b3122a7734cc54de7ff398d2b
by luweining[LoongArch] Add codegen support for ISD::ROTL and ISD::ROTR
Differential Revision: https://reviews.llvm.org/D131231
|
 | llvm/lib/Target/LoongArch/LoongArchInstrInfo.td |
 | llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp |
 | llvm/lib/Target/LoongArch/LoongArchISelLowering.h |
 | llvm/test/CodeGen/LoongArch/rotl-rotr.ll |
Commit
1d1a56929b725f9a79d98877f12d0a14f8418b38
by mizvekovClang: fix AST representation of expanded template arguments.
Extend clang's SubstTemplateTypeParm to represent the pack substitution index.
Fixes PR56099.
Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
Differential Revision: https://reviews.llvm.org/D128113
|
 | clang/lib/AST/ASTStructuralEquivalence.cpp |
 | clang/lib/AST/TextNodeDumper.cpp |
 | clang/include/clang/AST/Type.h |
 | clang/lib/AST/ASTImporter.cpp |
 | clang/lib/Sema/TreeTransform.h |
 | clang/include/clang/AST/TypeProperties.td |
 | clang/include/clang/AST/JSONNodeDumper.h |
 | clang/include/clang/AST/TextNodeDumper.h |
 | clang/test/AST/ast-dump-template-decls.cpp |
 | clang/include/clang/AST/ASTContext.h |
 | clang/lib/Sema/SemaTemplateInstantiate.cpp |
 | clang/unittests/AST/ASTImporterTest.cpp |
 | clang/lib/AST/Type.cpp |
 | clang/lib/AST/ASTContext.cpp |
 | clang/lib/AST/JSONNodeDumper.cpp |
Commit
9d084982a38526fb8ba15867ecceec3e9b82a6f8
by pklausler[flang] Clarify CheckReductionDIM()
This utility routine in constant folding should return false when a DIM= actual argument to a reduction intrinsic function has a value that prevents folding, and true when folding can proceed. The implementation was returning true in cases where a DIM= argument was present but not constant.
Clarify the code and add commentary: a true result means that there is no DIM= actual argument present, or that a DIM= argument exists, is constant, and has a value that is in range.
Differential Revision: https://reviews.llvm.org/D131101
|
 | flang/lib/Evaluate/fold-reduction.cpp |
 | flang/lib/Evaluate/fold-reduction.h |
Commit
1eaa4de843f6e4fa187b0e0e5bdae1c5f62a4fe8
by llvm-dev[X86] Regenerate statepoint-vreg.ll
Noticed on D131260
|
 | llvm/test/CodeGen/X86/statepoint-vreg.ll |
Commit
6da3f90195e32d9fd36a5794b6b397360fc0e1e4
by Jake.Egan[AIX][tests] XFAIL atan.ll test on AIX
XFAIL this newly added test for now to get the AIX bot back to green.
|
 | llvm/test/Transforms/EarlyCSE/atan.ll |
Commit
f5ed0cb217a9988f97b55f2ccb053bca7b41cc0c
by npopov[RISCV] Add target feature to force-enable atomics
This adds a +forced-atomics target feature with the same semantics as +atomics-32 on ARM (D130480). For RISCV targets without the +a extension, this forces LLVM to assume that lock-free atomics (up to 32/64 bits for riscv32/64 respectively) are available.
This means that atomic load/store are lowered to a simple load/store (and fence as necessary), as these are guaranteed to be atomic (as long as they're aligned). Atomic RMW/CAS are lowered to __sync (rather than __atomic) libcalls. Responsibility for providing the __sync libcalls lies with the user (for privileged single-core code they can be implemented by disabling interrupts). Code using +forced-atomics and -forced-atomics are not ABI compatible if atomic variables cross the ABI boundary.
For context, the difference between __sync and __atomic is that the former are required to be lock-free, while the latter requires a shared global lock provided by a shared object library. See https://llvm.org/docs/Atomics.html#libcalls-atomic for a detailed discussion on the topic.
This target feature will be used by Rust's riscv32i target family to support the use of atomic load/store without atomic RMW/CAS.
Differential Revision: https://reviews.llvm.org/D130621
|
 | llvm/lib/Target/RISCV/RISCVSubtarget.h |
 | llvm/lib/Target/RISCV/RISCV.td |
 | llvm/lib/Target/RISCV/RISCVInstrInfoA.td |
 | llvm/lib/Target/RISCV/RISCVISelLowering.cpp |
 | llvm/test/CodeGen/RISCV/forced-atomics.ll |
 | llvm/docs/Atomics.rst |
Commit
4dece4007cc2fb261f29d14287836e28a355810a
by clementval[flang] Pass the pipeline config to the pass
The newly added AlgebraicSimplification pass is triggering the greedy pattern rewriter. Since we define a specific config in the flang pipeline, this patch adds the ability to pass the config to the pass directly.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D131474
|
 | flang/include/flang/Tools/CLOptions.inc |
 | flang/lib/Optimizer/Transforms/AlgebraicSimplification.cpp |
 | flang/include/flang/Optimizer/Transforms/Passes.h |
Commit
e780648a15e67df92d6aee1fe68393f1edddf06d
by Yaxun.Liu[AMDGPU] Unify unreachable intrinsics
si-annotate-control-flow does depth first traversal of BB's of a function to insert amdgcn if intrinsics for conditional branches so that isel can generate correct instructions later.
si-annotate-control-flow checks whether the successor BB for the 'else' branch of a conditional branch has been visited. If it has been visited, si-annotate-control-flow assumes the conditional branch has been handled and will not try to insert if intrinsic for it.
This assumption is not correct when the IR contains multiple unreachable BB's. Then 'if' intrinscs are not inserted and incorrect ISA are generated.
This patch fixes the issue by let amdgpu-unify-divergent-exit-nodes unify unreachables even if they are uniformly reached. In this way the IR will not contain multiple exits, and structurizer is able to structurize the IR containing one unified exit.
Reviewed by: Ruiling Song, Matt Arsenault
Differential Revision: https://reviews.llvm.org/D131181
Fixes: SWDEV-343244
|
 | llvm/test/CodeGen/AMDGPU/skip-if-dead.ll |
 | llvm/test/CodeGen/AMDGPU/switch-default-block-unreachable.ll |
 | llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp |
 | llvm/test/CodeGen/AMDGPU/GlobalISel/bool-legalization.ll |
 | llvm/test/CodeGen/AMDGPU/si-unify-exit-multiple-unreachables.ll |
Commit
08cc03befd44c1157fa5b5586c1a9861a5869203
by kubak[mlir][spirv] Clean up SPIRVOps.cpp. NFC.
Resolve almost all clang tidy warnings in this file: 1. Clean up string constants. 2. Use consistent argument names across function declarations and definitions. Rename `state` - > `result`, which is consistent with the other dialects. 3. Remove misleading function parameter name comments (`argTypes`). This did not match the actual function argument (`bool enableNameShadowing`). 4. Simplify calls to `is_splat`.
Reviewed By: antiagainst
Differential Revision: https://reviews.llvm.org/D131297
|
 | mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp |
Commit
e1ee20d574df8ba6efb01eec3d2fa3c9cd82984d
by pklausler[flang] Ignore inaccessible components when extending types or constructing structures
Inaccessible components -- those declared PRIVATE in another module -- should be allowed to be redeclared in extended types, and should be ignored if they appear as keywords in structure constructors.
Differential Revision: https://reviews.llvm.org/D131102
|
 | flang/lib/Semantics/resolve-names.cpp |
 | flang/lib/Semantics/expression.cpp |
 | flang/test/Semantics/symbol22.f90 |
Commit
37a0022aaa5a2ab15d7933e1c84e30b53a895bca
by pklausler[flang] Don't lose homonymous specific when copying generic
Defined generic procedure interfaces are allowed to shadow non-generic procedures of the same name in the same scope (whether or not that non-generic procedure is a specific procedure of the generic). When making a copy of a generic interface symbol so that it can be locally modified or be merged with another generic, don't forget about the homonymous non-generic procedure that it might shadow.
Differential Revision: https://reviews.llvm.org/D131103
|
 | flang/lib/Semantics/mod-file.cpp |
 | flang/test/Semantics/resolve17.f90 |
 | flang/lib/Semantics/resolve-names.cpp |
Commit
f53f2f232f794a257c270f4c273b9c9000421c81
by muiezExtend ptr32 support to be applied on typedef
Earlier, if the QualType was sugared, then we would error out as it was not a pointer type, for example,
typedef int *int_star;
int_star __ptr32 p;
Now, if ptr32 is given we apply it if the raw Canonical Type (i.e., the desugared type) is a PointerType, instead of only checking whether the sugared type is a pointer type.
As before, we still disallow ptr32 usage if the pointer is used as a pointer to a member.
Differential Revision: https://reviews.llvm.org/D130123
|
 | clang/test/CodeGen/address-space-ptr32.c |
 | clang/lib/Sema/SemaType.cpp |
 | clang/test/Sema/MicrosoftExtensions.c |
 | clang/test/Sema/MicrosoftExtensions.cpp |
Commit
5e8094bae50b1dd533ca0a20693d28a58b9c0d59
by pklausler[flang] Don't inherit ELEMENTAL attribute from intrinsics for TBP bindings
Type-bound procedure bindings that specify intrinsic procedures as their interfaces should not acquire the ELEMENTAL attribute from the purposes of compatibility checking between inherited bindings and their overrides in extended derived types.
Differential Revision: https://reviews.llvm.org/D131104
|
 | flang/lib/Evaluate/characteristics.cpp |
 | flang/lib/Evaluate/tools.cpp |
 | flang/lib/Semantics/check-declarations.cpp |
Commit
195287d90afb1b97a0fb869da501370e7c3e67c6
by koraq[libc++][ranges] Sets ranges feature-test macro.
D131234 marked the ranges papers as complete, but it didn't set the feature-test macro.
Reviewed By: ldionne, var-const, #libc
Differential Revision: https://reviews.llvm.org/D131326
|
 | libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.compile.pass.cpp |
 | libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.compile.pass.cpp |
 | libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.compile.pass.cpp |
 | libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp |
 | libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.compile.pass.cpp |
 | libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.compile.pass.cpp |
 | libcxx/utils/generate_feature_test_macro_components.py |
 | libcxx/docs/FeatureTestMacroTable.rst |
 | libcxx/include/version |
Commit
d79e7dc939a3e9c422ecb4f7de17ca7a6d827ba7
by llvm-dev[DAG] SimplifyDemandedVectorElts - and/mul(x,y) - if a demanded element of y is known zero then we don't need to demand it in x
This fixes most of the remaining regressions from the fixes in rG293899c64b75
|
 | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp |
 | llvm/test/CodeGen/X86/vector-rotate-512.ll |
 | llvm/test/CodeGen/X86/vector-fshr-rot-512.ll |
 | llvm/test/CodeGen/X86/vector-fshl-rot-512.ll |
 | llvm/test/CodeGen/X86/vector-fshl-512.ll |
 | llvm/test/CodeGen/X86/vector-fshr-512.ll |
Commit
4c02ab8c9742f6c32b17f49a306b3b072486f5c5
by aaronChange prototype merging error into a warning for builtins
As was observed in https://reviews.llvm.org/D123627#3707635, it's confusing that a user can write: ``` float rintf(void) {} ``` and get a warning, but writing: ``` float rintf() {} ``` gives an error. This patch changes the behavior so that both are warnings, so that users who have functions which conflict with a builtin identifier can still use that identifier as they wish.
Differential Revision: https://reviews.llvm.org/D131499
|
 | clang/lib/Sema/SemaDecl.cpp |
 | clang/test/Sema/prototype-redecls.c |
Commit
ee27bca2e2c75593e0d794ba23e054af319d04c7
by keithbsmiley[lld-macho][test] Rename dtrace test (NFC)
This matches the convention used elsewhere
Differential Revision: https://reviews.llvm.org/D131456
|
 | lld/test/MachO/x86-64-dtrace.s |
 | lld/test/MachO/x86_64-dtrace.s |
Commit
ed162d455a6585a75290c60c934b2a514ac55747
by llvm-dev[DAG] Avoid hasOneUse() calls if the cheaper !AssumeSingleUse test has already failed. NFC.
Very minor optimization, but every little helps..
|
 | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp |
Commit
e486e48c3d9e99e4c17d365bbc4b429c8e5b5999
by schuett[clang] fix deprecation
|
 | clang/lib/DirectoryWatcher/mac/DirectoryWatcher-mac.cpp |
Commit
82afc9b169a67e8b8a1862fb9c41a2cd974d6691
by aaronFix -Wbitfield-constant-conversion on 1-bit signed bitfield
A one-bit signed bit-field can only hold the values 0 and -1; this corrects the diagnostic behavior accordingly.
Fixes #53253 Differential Revision: https://reviews.llvm.org/D131255
|
 | clang/test/Rewriter/rewrite-modern-struct-ivar.mm |
 | clang/test/SemaCXX/cxx1z-decomposition.cpp |
 | clang/test/Rewriter/rewrite-modern-struct-ivar-1.mm |
 | clang/test/CXX/class/class.bit/p1.cpp |
 | clang/test/CodeGenCXX/bitfield-layout.cpp |
 | clang/test/SemaCXX/constant-expression-cxx11.cpp |
 | clang/test/CodeGen/bitfield.c |
 | clang/lib/Sema/SemaChecking.cpp |
 | clang/docs/ReleaseNotes.rst |
 | clang/test/CXX/drs/dr6xx.cpp |
 | clang/test/Sema/constant-conversion.c |
 | clang/test/SemaCXX/decomposition-blocks.cpp |
Commit
310962f25ec1c1497d91aeacf707c9f6f65c660e
by peter.waller[DAGCombine][NFC] Precommit extract-subvec-combine sext tests
|
 | llvm/test/CodeGen/AArch64/extract-subvec-combine.ll |
Commit
525ff9bd206d7fcd3fee01f31985cd0c9990bfbb
by pklausler[flang] Don't check procedure pointer interface function result specification expressions
When a procedure pointer references a function as its interface, don't apply semantic checks to the specification expressions that appear in the declaration of the function's result -- this can lead to bogus error messages as those specification expressions are being examined out of their proper context.
Differential Revision: https://reviews.llvm.org/D131106
|
 | flang/lib/Semantics/check-declarations.cpp |
Commit
bad52055954e05a6b4cc86e9e950cac0b42f44a9
by pklausler[flang][runtime] Support internal I/O to CHARACTER(KIND/=1)
Allow internal I/O to support non-default kinds of CHARACTER.
The I/O runtime design anticipated this standard feature, but this patch is somewhat larger than I thought it would be because many code sites had to have assumptions about units (characters vs. bytes) brought into harmony, and some encoding utilities had to be pulled out of IoStatementState and templatized into their own new header file so that they are available to formatted output code without having to "thread" an IoStatementState reference through many call chains.
Differential Revision: https://reviews.llvm.org/D131107
|
 | flang/test/Semantics/io03.f90 |
 | flang/runtime/edit-input.cpp |
 | flang/runtime/edit-output.cpp |
 | flang/runtime/io-stmt.h |
 | flang/runtime/emit-encoded.h |
 | flang/runtime/io-stmt.cpp |
 | flang/unittests/Runtime/Format.cpp |
 | flang/runtime/connection.h |
 | flang/runtime/format-implementation.h |
 | flang/lib/Semantics/check-io.cpp |
 | flang/runtime/format.h |
 | flang/runtime/namelist.cpp |
 | flang/runtime/internal-unit.cpp |
 | flang/runtime/internal-unit.h |
Commit
f329cf97f25e7c3a3bc735c226605deac806bd5e
by pklausler[flang] Change names of specific procedures of generic interfaces in intrinsic modules
Intrinsic procedures in intrinsic modules that have (or better, *are*) generic interfaces must not have specific procedures with the same name according to the Fortran standard (17.11.1); i.e., a user program is allowed to define a procedure of the same name as one of these generic interfaces, even when the generic is in scope.
Differential Revision: https://reviews.llvm.org/D131108
|
 | flang/module/__fortran_ieee_exceptions.f90 |
 | flang/module/iso_fortran_env.f90 |
 | flang/module/ieee_arithmetic.f90 |
Commit
20e6239a44d61bc9a7f287c1b02baa1e5c395278
by david.green[AArch64] Regenerate arm64-fmax.ll test. NFC
|
 | llvm/test/CodeGen/AArch64/arm64-fmax.ll |
Commit
c2ab65ddaf4b2ab936ede3cc673de7f8f0440a48
by zhongyunde[IndVars] Eliminate redundant type cast with different sizes
Deal with different sizes between the itofp and fptoi with trunc or sext/zext, depend on D129756. Fixes https://github.com/llvm/llvm-project/issues/55505.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D129958
|
 | llvm/test/Transforms/IndVarSimplify/floating-point-small-iv.ll |
 | llvm/lib/Transforms/Utils/SimplifyIndVar.cpp |
 | llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll |
Commit
0981975ad0df31e3d57ee246607e23be75572eba
by jun[LLVM] Use range based for loop, NFC
Signed-off-by: Jun Zhang <jun@junz.org>
|
 | llvm/include/llvm/IR/PassManager.h |
Commit
cc71e69459474c19ae7c0ce019abd7a5e12430d6
by vdonaldson[flang] Intrinsic RANDOM_SEED calls with dynamically absent/present arguments
|
 | flang/lib/Lower/CustomIntrinsicCall.cpp |
 | flang/include/flang/Lower/Runtime.h |
 | flang/lib/Lower/Runtime.cpp |
 | flang/runtime/random.cpp |
 | flang/test/Lower/Intrinsics/random.f90 |
 | flang/include/flang/Runtime/random.h |
 | flang/lib/Lower/IntrinsicCall.cpp |
 | flang/unittests/Runtime/Random.cpp |
 | flang/lib/Evaluate/intrinsics.cpp |
Commit
205701fd47535a7525789f3291bd686cef1a9773
by markus.boeck02[llvm][ADT] Allow using structured bindings with `llvm::enumerate`
This patch adds the ability to deconstruct the `value_type` returned by `llvm::enumarate` into index and value of the wrapping range. Main use case is the common occurence of using it during loop iteration. After this patch it'd then be possible to write code such as: ``` for (auto [index, value] : enumerate(container)) { ... } ``` where `index` is the current index and `value` a reference to elements in the given container.
Differential Revision: https://reviews.llvm.org/D131486
|
 | llvm/include/llvm/ADT/STLExtras.h |
 | llvm/unittests/ADT/STLExtrasTest.cpp |
Commit
56a1c61ad1549a4a7d5bbdf6d3a8431267695ddc
by spatel[PhaseOrdering][AArch64] add test for mul-with-overflow; NFC
Reduced from issue #56403
|
 | llvm/test/Transforms/PhaseOrdering/AArch64/mul-ov.ll |
Commit
6bfe5361b7d92a316544f69e6f01ddd3840344b9
by spatel[InstCombine] add helper function for extract of with-overflow-intrinsic; NFC
We can do more with these patterns, so this block is going to grow.
|
 | llvm/lib/Transforms/InstCombine/InstructionCombining.cpp |
 | llvm/lib/Transforms/InstCombine/InstCombineInternal.h |
Commit
79d9918df616296522147efea8357e01464e036f
by pklausler[flang] Fix build warning from newer compilers
Remove a lambda capture of "[this]" in two cases where it is no longer required. Will be pushed without waiting for review if CI is successful in order to resolve a sad build bot.
Differential Revision: https://reviews.llvm.org/D131506
|
 | flang/runtime/io-stmt.cpp |
Commit
8c2668032cb1b4029261c224dda4f4a9b2f44190
by llvm-dev[X86] Remove unnecessary _mm_undefined_pd() test from avx-intrinsics-fast-isel.ll
This is already in sse2-intrinsics-fast-isel.ll
Noticed in D104790
|
 | llvm/test/CodeGen/X86/avx-intrinsics-fast-isel.ll |
Commit
8800b1103a4f5ac5e5a21c96a39cd382aa1ceccd
by listmail[RISCV] Pin a test to scalar lowering to preserve test intent [nfc]
In an upcoming change to enable fixed length vector lowering via vector registers, the codepath exercised would change. Pin this to the old lowering.
|
 | llvm/test/CodeGen/RISCV/vec3-setcc-crash.ll |
Commit
926e7312b2f20f2f7b0a3d5ddbd29da5625507f3
by spatel[InstCombine] fold usub.with.overflow to icmp when there's no use of the math value
https://alive2.llvm.org/ce/z/UE48FH
This is part of solving issue #56926.
|
 | llvm/test/Transforms/InstCombine/usubo.ll |
 | llvm/lib/Transforms/InstCombine/InstructionCombining.cpp |
Commit
68f97d2f787507eba56c667585fc31db3c27c469
by Adrian PrantlLiveDebugValues: Fix another crash related to unreachable blocks
This is a follow-up patch to D130999. In the test, the MIR contains an unreachable MBB but the code attempts to look it up in MLocs. This patch fixes this issue by checking for the default-constructed value.
rdar://97226240
Differential Revision: https://reviews.llvm.org/D131453
|
 | llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp |
 | llvm/test/DebugInfo/MIR/X86/ldv_unreachable_blocks2.mir |
Commit
b20fe2c25b17ffad30f8f286d4ef94e01a8b3c8d
by archibald.elliott[docs][AArch64] Label Features with Arm ARM Names
This patch adds the names of the Arm Architecture Reference Manual (ARM) features to the corresponding Subtarget Features in the AArch64 backend and target parser.
The aim of this is to make it clearer what architectural features a subtarget feature might enable (so, which features a CPU must provide to support that subtarget feature), and so make it easier to add new CPUs in the future.
Differential Revision: https://reviews.llvm.org/D131257
|
 | llvm/lib/Target/AArch64/AArch64.td |
 | llvm/include/llvm/Support/AArch64TargetParser.h |
Commit
fe01292457fc04532c5d2eccc9d0674df4582fa6
by jgorbeMove FormattersMatchCandidate flags to a struct.
This removes some error-prone repetition in FormatManager::GetPossibleMatches, where the same three boolean flags are passed in a row multiple times as arguments to recursive calls to GetPossibleMatches.
Instead of: ``` // same flags, but with did_strip_typedef set to true. GetPossibleMatches(..., did_strip_ptr, did_strip_ref, true); ``` we can now say ``` GetPossibleMatches(..., current_flags.WithStrippedTypedef()); ``` which hopefully makes the intent clearer, and more readable in case we add another flag.
Reviewed by: DavidSpickett, labath
Differential Revision: https://reviews.llvm.org/D131459
|
 | lldb/source/DataFormatters/FormatManager.cpp |
 | lldb/include/lldb/DataFormatters/FormatClasses.h |
 | lldb/include/lldb/DataFormatters/FormatManager.h |
Commit
ea323a4bd5147ef8e8a6e4f144444e1e07664ec5
by filipp.zhinkin[X86][ARM] Update tests for bitwise logic trees of shifts; NFC
Baseline tests for D131189.
|
 | llvm/test/CodeGen/X86/shift-combine.ll |
 | llvm/test/CodeGen/ARM/shift-combine.ll |
Commit
b09f6b471fd251d1827e9478b944ef15927e5526
by ajcbik[mlir][sparse] improve semi-ring doc
Spell out SparseVector instead of just using SparseVec
Reviewed By: jim22k, bixia
Differential Revision: https://reviews.llvm.org/D131511
|
 | mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td |
Commit
a29fffc4752a10494a74bb9f8db9b885c8aa5af1
by antiagainst[mlir][spirv] Migrate to use specalized enum attributes
Previously we are using IntegerAttr to back all SPIR-V enum attributes. Therefore we all such attributes are showed like IntegerAttr in IRs, which is barely readable and breaks roundtripability of the IR. This commit changes to use `EnumAttr` as the base directly so that we can have separate attribute definitions and better IR printing.
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D131311
|
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVAvailability.td |
 | mlir/test/Dialect/SPIRV/IR/memory-ops.mlir |
 | mlir/test/Dialect/SPIRV/IR/target-env.mlir |
 | mlir/test/Dialect/SPIRV/IR/atomic-ops.mlir |
 | mlir/test/Dialect/SPIRV/IR/group-ops.mlir |
 | mlir/test/Dialect/SPIRV/IR/target-and-abi.mlir |
 | mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp |
 | mlir/utils/spirv/gen_spirv_dialect.py |
 | mlir/lib/Target/SPIRV/Serialization/Serializer.cpp |
 | mlir/test/Conversion/LinalgToSPIRV/linalg-to-spirv.mlir |
 | mlir/test/Dialect/SPIRV/IR/availability.mlir |
 | mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp |
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td |
 | mlir/test/Dialect/SPIRV/Transforms/vce-deduction.mlir |
 | mlir/test/Target/SPIRV/non-uniform-ops.mlir |
 | mlir/lib/TableGen/Attribute.cpp |
 | mlir/test/Dialect/SPIRV/IR/non-uniform-ops.mlir |
 | mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBarrierOps.td |
 | mlir/test/Conversion/GPUToSPIRV/simple.mlir |
 | mlir/test/Conversion/MemRefToSPIRV/map-storage-class.mlir |
 | mlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp |
 | mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp |
 | mlir/test/Target/SPIRV/barrier-ops.mlir |
 | mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp |
 | mlir/unittests/Dialect/SPIRV/SerializationTest.cpp |
 | mlir/lib/Target/SPIRV/Deserialization/DeserializeOps.cpp |
 | mlir/test/Dialect/SPIRV/IR/structure-ops.mlir |
 | mlir/test/Target/SPIRV/group-ops.mlir |
 | mlir/lib/Target/SPIRV/Serialization/SerializeOps.cpp |
 | mlir/include/mlir/TableGen/Attribute.h |
 | mlir/test/Dialect/SPIRV/IR/barrier-ops.mlir |
Commit
3597727fa7ff104bb0f6e39a71900960b87144df
by hanchung[MLIR] Support lowering n-D arith.index_cast to LLVM
Previously we can only lower arith.index_cast with 1-D vectors to LLVM. This change added the support for n-D vectors.
Reviewed By: ftynse, hanchung
Differential Revision: https://reviews.llvm.org/D129907
|
 | mlir/test/Conversion/ArithmeticToLLVM/convert-nd-vector-to-llvmir.mlir |
 | mlir/lib/Conversion/ArithmeticToLLVM/ArithmeticToLLVM.cpp |
Commit
66c2b76846246fcd1df31e1928b0df44a8fe43e1
by hanchung[MLIR] Extend vector.gather to accept tensor as base
In addition to memref, accept ranked tensor as the base operand of vector.gather, similar to vector.trasnfer_read.
This will allow us to vectorize noncontiguous tensor.extract into vector.gather. Full discussion can be found here: https://github.com/iree-org/iree/issues/9198
Reviewed By: hanchung, dcaballe
Differential Revision: https://reviews.llvm.org/D130097
|
 | mlir/test/Dialect/Vector/bufferize.mlir |
 | mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp |
 | mlir/lib/Dialect/Vector/Transforms/BufferizableOpInterfaceImpl.cpp |
 | mlir/include/mlir/Dialect/Vector/IR/VectorOps.td |
 | mlir/test/Dialect/Vector/ops.mlir |
 | mlir/lib/Dialect/Vector/IR/VectorOps.cpp |
Commit
b83d0d46c0b197c36c671493a3339d8d7a8bcd6a
by antiagainst[mlir][spirv] Make MemRef memory space mapping pass more flexible
* Avoid restricting the pass to to builtin module ops. The pass should be able to run on any region ops. * Avoid hardcoding func FuncOp when handling functions. Instead, use the function op interface. * Assigns the default mapping in the constructor. So for cases where we are using the pass in a pipeline, we still have a meaningful default.
Along the way, dropped uncessary unrealized conversion casts and use full conversion. The pass should be able to convert all sorts of ops; there is really no need to have such bridages.
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D131409
|
 | mlir/include/mlir/Conversion/MemRefToSPIRV/MemRefToSPIRVPass.h |
 | mlir/test/Conversion/MemRefToSPIRV/map-storage-class.mlir |
 | mlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp |
 | mlir/include/mlir/Conversion/Passes.td |
Commit
d3f83caeb409b6030ee50c7a82e2fedb1c53fc05
by listmail[RISCV] Refresh two autogened tests to avoid future whitespace diffs [nfc]
|
 | llvm/test/Analysis/CostModel/RISCV/cast.ll |
 | llvm/test/Analysis/CostModel/RISCV/reduce-fadd.ll |
Commit
89b595e1418b22cd7c982276aa32872863c5e186
by antiagainst[mlir][spirv] Detach memory space mapping from type conversion
This commit moves MemRef memory space to SPIR-V storage class conversion out of the main SPIR-V type converter. Now the mapping should happen as a prelimiary step before performing the final conversion to SPIR-V. Flows are expect to write their own memory space mappings like the `MapMemRefStorageClassPass` to handle memory space mappings according to their needs.
This is needed because SPIR-V is serving multiple client APIs, including Vulkan and OpenCL. Different client APIs might want to use different storage classes for buffers in a particular memory space, e.g., `StorageBuffer` for Vulkan vs. `CrossWorkgroup` for OpenCL when converting the default 0 memory space. Hardcoding a specific mapping makes that hard. While it's possible to embed selection logic further inside the main type converter, it will make the main type converter even complicated. So it's better to separate the concerns, as mapping the memory space is really concretizing the meaning of those numeric memory spaces in the particular context of SPIR-V lowering.
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D131410
|
 | mlir/test/Conversion/SCFToSPIRV/for.mlir |
 | mlir/test/Conversion/GPUToSPIRV/load-store.mlir |
 | mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp |
 | mlir/test/Conversion/MemRefToSPIRV/memref-to-spirv.mlir |
 | mlir/tools/mlir-spirv-cpu-runner/mlir-spirv-cpu-runner.cpp |
 | mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp |
 | mlir/test/Conversion/MemRefToSPIRV/alloc.mlir |
 | mlir/test/Conversion/GPUToSPIRV/gpu-to-spirv.mlir |
 | mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp |
 | mlir/test/Conversion/GPUToSPIRV/module-opencl.mlir |
 | mlir/include/mlir/Dialect/SPIRV/Transforms/SPIRVConversion.h |
 | mlir/test/Conversion/GPUToSPIRV/module-structure-opencl.mlir |
 | mlir/test/Conversion/LinalgToSPIRV/linalg-to-spirv.mlir |
 | mlir/test/Conversion/SCFToSPIRV/if.mlir |
 | mlir/include/mlir/Conversion/GPUToSPIRV/GPUToSPIRVPass.h |
 | mlir/test/Conversion/MemRefToSPIRV/alloca.mlir |
 | mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp |
 | mlir/test/Conversion/GPUToSPIRV/simple.mlir |
 | mlir/test/Conversion/FuncToSPIRV/types-to-spirv.mlir |
 | mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp |
Commit
15135553c4cf34d3915e45b55e915154b33ab67b
by antiagainst[mlir][spirv] Use functors for default memory space mappings
This makes it easier to use as a utility function to query the mappings, including the reverse.
This commit also drops some storage classes that aren't needed for now.
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D131411
|
 | mlir/include/mlir/Conversion/MemRefToSPIRV/MemRefToSPIRV.h |
 | mlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp |
 | mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp |
Commit
0cc6aac9fae2d3e9145a1b1829419acde687067b
by ajcbik[mlir][sparse] update bibliography of sparse tensor dialect
Reviewed By: Peiming
Differential Revision: https://reviews.llvm.org/D131513
|
 | mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td |
Commit
60076a9eaf5e1c0d66a5238aff3a776078911e4e
by ajcbik[mlir][sparse] fix switch statement bug on two binary ops
They appeared at the wrong place in the switch, treating them as unary op rather than binary op.
Reviewed By: bixia
Differential Revision: https://reviews.llvm.org/D131509
|
 | mlir/unittests/Dialect/SparseTensor/MergerTest.cpp |
Commit
46c49e66d8b2173b8b0467b907fb6d6b65e5e615
by pklausler[flang] Extend characterization & checking for procedure bindings
Procedure bindings with explicit interfaces don't work when the interface is shadowed by a generic interface of the same name, and can produce spurious semantic error messages. Extend the characterization and checking code for such things, and the utility functionns on which they depend, to dig through generics when they occlude interface-defining subprograms. This is done on demand in checking code, not once during name resolution, because the procedures in question may also be forward-referenced.
Differential Revision: https://reviews.llvm.org/D131105
diff --git a/flang/include/flang/Semantics/symbol.h b/flang/include/flang/Semantics/symbol.h index e79f8ab6503e..0b03bf06eb73 100644 --- a/flang/include/flang/Semantics/symbol.h
|
 | flang/test/Semantics/resolve20.f90 |
 | flang/lib/Evaluate/characteristics.cpp |
 | flang/lib/Semantics/check-declarations.cpp |
 | flang/lib/Semantics/resolve-names.cpp |
 | flang/include/flang/Semantics/symbol.h |
 | flang/lib/Semantics/tools.cpp |
Commit
9893b26dfa75545404ab9d079a7b2de696f8cd4c
by Dylan.Fleming[Flang][OpenMP] Add support for integer multiplication reduction in worksharing-loop
Adds support for reduction of multiplcation by extending OpenMP.cpp::genOpenMPReduction() and altering the identity constant emitted in OpenMP.cpp::createReductionDelc()
This patch builds D130077 and as such, only supports reductions for interger types in worksharping loops.
Reviewed By: awarzynski
Differential Revision: https://reviews.llvm.org/D130767
|
 | flang/test/Lower/OpenMP/wsloop-reduction-int.f90 |
 | flang/test/Lower/OpenMP/Todo/reduction-multiply.f90 |
 | flang/test/Lower/OpenMP/wsloop-reduction-int-add.f90 |
 | flang/test/Lower/OpenMP/wsloop-reduction-int-mul.f90 |
 | flang/lib/Lower/OpenMP.cpp |
Commit
c951edb7b22e709e50b8ae2ea6bce46f1d7d2741
by pzheng[LLD][COFF] Identify /GL object files which are inside libraries
With D26647, we can already identify input object files compiled by cl.exe with /GL. It seems to be helpful to do the same and print an error message for those object files compiled with /GL but are inside libraries/archives too.
Reviewed By: rnk, thieta
Differential Revision: https://reviews.llvm.org/D131458
|
 | lld/COFF/Driver.cpp |
 | lld/test/COFF/Inputs/cl-gl.lib |
 | lld/test/COFF/cl-gl.test |
Commit
0af643f3ceff6d164fcbdb00bcae0a566be29b80
by jeff[mlir][LLVMIR] (NFC) Add convenience builders for ConstantOp
And clean up some of the user code
|
 | mlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp |
 | mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp |
 | flang/lib/Optimizer/CodeGen/CodeGen.cpp |
 | mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp |
 | mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp |
 | mlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp |
 | mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp |
 | mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp |
 | mlir/examples/toy/Ch6/mlir/LowerToLLVM.cpp |
 | mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td |
 | mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp |
 | mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp |
 | mlir/lib/Conversion/LLVMCommon/MemRefBuilder.cpp |
 | mlir/lib/Conversion/GPUToNVVM/WmmaOpsToNvvm.cpp |
 | mlir/lib/Conversion/LLVMCommon/Pattern.cpp |
 | mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp |
Commit
3edd8978c3129d15e364abb3632a0db478891415
by mtrofinfix mlgo regalloc test model generation for tflite
To move from TF C API to TFLite, we found that the argmax op in TFLite does not work for int64 inputs, so cast the int64 inputs to int32 inputs to make TFLite argmax op work
Differential Revision: https://reviews.llvm.org/D131462
|
 | llvm/lib/Analysis/models/gen-regalloc-eviction-test-model.py |
Commit
f20147651822b7e41d6b07e17a4b160452bdd044
by jeff[mlir] Cleanup DenseArrayAttrBase definition and expose raw API
This patch cleans up the definition of `DenseArrayAttrBase` by relying more on ODS-generated methods. It also exposes an API for using the raw data of a dense array, similar to `DenseIntOrFPElementsAttr::getRaw`.
Reviewed By: lattner, mehdi_amini
Differential Revision: https://reviews.llvm.org/D131450
|
 | mlir/lib/IR/BuiltinAttributes.cpp |
 | mlir/include/mlir/IR/BuiltinAttributes.td |
Commit
c2c5c39c401b39d2057ebb19b843f53deb950f6e
by hokein.wu[pseudo] Fix a suspicious usage of `sizeof(this)`.
It should be `sizeof(*this)`.
|
 | clang-tools-extra/pseudo/include/clang-pseudo/Forest.h |
Commit
0c86fbb557a63d2e9cc2e1a82feb38fe11ecbcdd
by jinghamThe memory region tests have been consistently timing on the ASAN bot. This happens because they are building a long result into a Python string, and the asan checker is making that very slow.
The last two tests here are both slow, but the 'test_command' is the really slow one. I'm going to start disabling just that one and see if that gets the ASAN bots clean.
|
 | lldb/test/API/functionalities/memory-region/TestMemoryRegion.py |
Commit
2f0e50c69b52790eb8ac7d0c275702076d1f7408
by jeff[mlir] Fix build of toyc-ch6 (NFC)
|
 | mlir/examples/toy/Ch7/mlir/LowerToLLVM.cpp |
Commit
65923012b3d15890876458e5448ebaf3157d34d0
by jeff[flang] Revert changes (NFC)
|
 | flang/lib/Optimizer/CodeGen/CodeGen.cpp |
Commit
cab6cd68340255be241b7cf169c67a1899ced115
by dinar.temirbulatov[AArch64][LoopVectorize] Introduce trip count minimal value threshold to ignore tail-folding.
After D121595 was commited, I noticed regressions assosicated with small trip count numbersvectorisation by tail folding with scalable vectors. As a solution for those issues I propose to introduce the minimal trip count threshold value.
Differential Revision: https://reviews.llvm.org/D130755
|
 | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp |
 | llvm/lib/Analysis/TargetTransformInfo.cpp |
 | llvm/include/llvm/Analysis/TargetTransformInfo.h |
 | llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h |
 | llvm/include/llvm/Analysis/TargetTransformInfoImpl.h |
 | llvm/test/Transforms/LoopVectorize/AArch64/sve-low-trip-count.ll |
Commit
daa44a2309857e616667215fff418aaa191f1c76
by sivachandra[libc] Add a utility data structure named FixedVector.
This data structure uses a backing cpp::array object and supports a vector like push_back API. In comparison with a traditional vector data structure, it is of a fixed capacity and cannot be resized.
Differential Revision: https://reviews.llvm.org/D131377
|
 | libc/src/__support/fixedvector.h |
 | libc/test/src/__support/fixedvector_test.cpp |
 | libc/test/src/__support/CMakeLists.txt |
 | libc/src/__support/CMakeLists.txt |
Commit
c6dcc359acb937995e75268dc11622740eb05e5f
by sivachandra[libc] Add __cxa_atexit support to the atexit function.
Reviewed By: abrachet
Differential Revision: https://reviews.llvm.org/D131219
|
 | libc/loader/linux/x86_64/start.cpp |
 | libc/src/stdlib/CMakeLists.txt |
 | libc/src/stdlib/atexit.cpp |
 | libc/loader/linux/x86_64/CMakeLists.txt |
 | libc/cmake/modules/LLVMLibCTestRules.cmake |
 | libc/loader/linux/aarch64/CMakeLists.txt |
 | libc/src/stdlib/atexit.h |
 | libc/loader/linux/aarch64/start.cpp |
 | libc/test/integration/loader/linux/init_fini_array_test.cpp |
Commit
36a461b8c2a2df47a59789e92908a1275aa5fc30
by jingham@skipIfAsan for the other long test in TestMemoryRegion.py
These two tests were each of them too long when running under ASAN, so we have to skip both to get a clean ASAN bot run.
|
 | lldb/test/API/functionalities/memory-region/TestMemoryRegion.py |
Commit
9bb66224239eb2bd4f91e40b9a56da24a8dd533d
by pzheng[ARM] Do not use LOAD_STACK_GUARD with ROPI/RWPI
ROPI/RWPI are not supported with LOAD_STACK_GUARD currently.
Reviewed By: nickdesaulniers, rengolin
Differential Revision: https://reviews.llvm.org/D131427
|
 | llvm/test/CodeGen/ARM/stack-guard-rwpi.ll |
 | llvm/lib/Target/ARM/ARMISelLowering.cpp |
Commit
46fe24e2fb19658e64a804961b7a3be91fc8b8e7
by listmail[RISCV] Split check lines for fpclamptosat_vec test
This is currently exercising scalarization code path; with vectors enabled, we hit a different code path. Explicitly exercise both so that both configurations have testing.
|
 | llvm/test/CodeGen/RISCV/fpclamptosat_vec.ll |
Commit
80652d270aa56bd1072c9967d1e01cbbcb02df70
by sivachandra[libc][NFC] Fix a few compiler warnings.
|
 | libc/src/string/memory_utils/elements_aarch64.h |
 | libc/utils/LibcTableGenUtil/APIIndexer.cpp |
Commit
cf1d9a1fdca258ab56f3060dfa4a303b8127350e
by eugenis[sanitizer] Use C++17 to build the symbolizer.
|
 | compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh |
Commit
3f8ae7efa866e581a16e9ccc8e29744722f13fff
by Alexander Timofeev[AMDGPU] SIFixSGPRCopies refactoring
This change finalizes the series of patches aiming to replace old strategy of VGPR to SGPR copies loweriong. Following the https://reviews.llvm.org/D128252 and https://reviews.llvm.org/D130367 code parts that are no longer used were removed. Pass main loop is no longer used for the MIR changes but collect information for further analysis. Actual MIR lowering happens further according the analysys result in the set of separate functions. Another important change concerns the order of lowering: VGPR to SGPR copies lowering is done first to have priority on the rest of the MIR changes.
Reviewed By: rampitec
Differential Revision: https://reviews.llvm.org/D131246
|
 | llvm/test/CodeGen/AMDGPU/wwm-reserved-spill.ll |
 | llvm/test/CodeGen/AMDGPU/mubuf-legalize-operands.mir |
 | llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp |
Commit
df9a23e2feda18f0308b6d4dbd591ebe6b605aa4
by avogelsgesang[libunwind] Use `_dl_find_object` if available
As shown in P2544R0 [1] and the accompanying benchmark [2], the current unwinding logic does not scale for multi-threaded programs. This is because `dl_iterate_phdr` takes a global lock.
glibc 2.35 added `_dl_find_object` which directly returns the unwind info for a given target address. `_dl_find_object` is fully lock-free and hence allows parallel exception unwinding on multiple threads.
With this commit, libunwind now takes advantage of `_dl_find_object`. Thereby, this commit improves libunwind's performance on benchmark [2] for unwinding exception on 20 threads from 1103ms to 78ms. (measured on Intel Xeon Silver 4114 with 20 physical cores)
[1] https://isocpp.org/files/papers/P2544R0.html [2] https://github.com/neumannt/exceptionperformance
Detailed performance numbers from the benchmark:
Before: > Testing unwinding performance: sqrt computation with occasional errors > > testing baseline using 1 2 4 8 16 20 threads > failure rate 0%: 34 35 34 35 35 36 > testing exceptions using 1 2 4 8 16 20 threads > failure rate 0%: 16 32 33 34 35 36 > failure rate 0.1%: 16 32 34 36 35 36 > failure rate 1%: 20 40 40 43 90 113 > failure rate 10%: 59 92 140 304 880 1103 > [...] > > Testing invocation overhead: recursive fib with occasional errors > > testing exceptions using 1 2 4 8 16 20 threads > failure rate 0%: 19 32 37 38 39 36 > failure rate 0.1%: 22 32 40 40 39 34 > failure rate 1%: 20 28 38 39 48 40 > failure rate 10%: 25 39 44 50 92 113
After: > Testing unwinding performance: sqrt computation with occasional errors > > testing baseline using 1 2 4 8 16 20 threads > failure rate 0%: 19 30 35 38 39 35 > testing baseline using 1 2 4 8 16 20 threads > failure rate 0%: 32 35 33 34 34 36 > testing exceptions using 1 2 4 8 16 20 threads > failure rate 0%: 16 35 33 37 35 35 > failure rate 0.1%: 16 32 36 33 34 37 > failure rate 1%: 21 37 39 40 40 41 > failure rate 10%: 72 75 76 80 80 78 > [...] > > Testing invocation overhead: recursive fib with occasional errors > > testing baseline using 1 2 4 8 16 20 threads > failure rate 0%: 18 35 37 34 38 37 > testing exceptions using 1 2 4 8 16 20 threads > failure rate 0%: 19 33 40 40 41 39 > failure rate 0.1%: 21 33 39 38 39 38 > failure rate 1%: 20 36 39 40 41 40 > failure rate 10%: 25 45 41 42 44 43
Differential Revision: https://reviews.llvm.org/D130668
|
 | libunwind/src/AddressSpace.hpp |
Commit
a044d0491efeb821f1f23a935515692984b21ad5
by kazu[llvm-profdata] Support JSON as as an output-only format
This patch teaches llvm-profdata to output the sample profile in the JSON format. The new option is intended to be used for research and development purposes. For example, one can write a Python script to take a JSON file and analyze how similar different inline instances of a given function are to each other.
I've chosen JSON because Python can parse it reasonably fast, and it just takes a couple of lines to read the whole data:
import json with open ('profile.json') as f: profile = json.load(f)
Differential Revision: https://reviews.llvm.org/D130944
|
 | llvm/test/tools/llvm-profdata/sample-profile-json.test |
 | llvm/tools/llvm-profdata/llvm-profdata.cpp |
 | llvm/include/llvm/ProfileData/SampleProfReader.h |
 | llvm/lib/ProfileData/SampleProfReader.cpp |
Commit
cfefee87c28e68b41147c00dff331e086bc15531
by avogelsgesang[libc++][NFC] Remove TEST_HAS_NO_SPACESHIP_OPERATOR
The corresponding _LIBCPP_HAS_NO_SPACESHIP_OPERATOR macro was already removed in commit c0f87e8382
Differential Revision: https://reviews.llvm.org/D131215
|
 | libcxx/test/std/language.support/cmp/cmp.strongord/strongord.pass.cpp |
 | libcxx/test/support/test_macros.h |
 | libcxx/test/std/language.support/cmp/cmp.partialord/partialord.pass.cpp |
 | libcxx/test/std/language.support/cmp/cmp.weakord/weakord.pass.cpp |
Commit
4c2fb2e551e0b60e536c364da87bc0a67c81e79a
by medismail.bennani[lldb/crashlog] Fix interactive crashlog test
This patch should fix the interactive crashlog test by checking in the binary as a yaml to regeneate the binary with the addresses and offsets when running the test.
rdar://93655633
Differential Revision: https://reviews.llvm.org/D129603
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
|
 | lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/interactive_crashlog/multithread-test.yaml |
 | lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/multithread-test.cc |
 | lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/scripted_crashlog.ips |
 | lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/interactive_crashlog/multithread-test.cpp |
 | lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/interactive_crashlog/multithread-test.ips |
 | lldb/test/Shell/ScriptInterpreter/Python/Crashlog/scripted_crashlog_json.test |
Commit
9df58928045f2370caa201ba14d4ec62cba00e46
by avogelsgesang[libc++] Implement `operator<=>` for `type_index`
Implements part of P1614R2 "The Mothership has Landed"
Differential Revision: https://reviews.llvm.org/D131357
|
 | libcxx/docs/Status/SpaceshipProjects.csv |
 | libcxx/include/typeindex |
 | libcxx/test/std/utilities/type.index/type.index.members/cmp.pass.cpp |
 | libcxx/test/std/utilities/type.index/type.index.members/eq.pass.cpp |
 | libcxx/test/std/utilities/type.index/type.index.members/lt.pass.cpp |
Commit
af4a39f8005e7d5fdf43fb2bc52a9bdfe6eec1d6
by Adrian PrantlFix modeline
|
 | llvm/include/llvm/BinaryFormat/MachO.h |
Commit
5110eb8b677a779927c5ad8dc00c28eb0a41a0ae
by ajcbik[mlir][sparse] fix doc
Reviewed By: Peiming
Differential Revision: https://reviews.llvm.org/D131527
|
 | mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td |
 | mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td |
Commit
c74a204826da331cb18023c626b0717d5b8a927d
by malavika.samak[analyzer] Fix false positive in use-after-move checker
Differential Revision: https://reviews.llvm.org/D131525
|
 | clang/test/Analysis/use-after-move.cpp |
 | clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp |
Commit
55d3b79d159bab53b140860279486db8a1c0e4f3
by me[clang] add APValue type check in `TryPrintAsStringLiteral`
Fixes https://github.com/llvm/llvm-project/issues/57013
https://reviews.llvm.org/D115031 improved printing of non-type template parameter args. But checking if the end of Inits is 0 without checking if APValue is an integer, causes clang to segfault. This patch adds the code to check the type. (May not be a proper bugfix.)
Reviewed By: aaron.ballman, lichray
Differential Revision: https://reviews.llvm.org/D131466
|
 | clang/test/SemaCXX/try-print-as-string-literal-type-check.cpp |
 | clang/lib/AST/APValue.cpp |
Commit
dfe2a3f3eb92b6a94453a74f3f0a4552f6965fcc
by i[COFF] Change a llvm::StringSet<> to llvm::DenseSet<StringRef>. NFC
The former stores strings and is therefore more expensive.
|
 | lld/COFF/Driver.h |
Commit
c7ec6e19d5446a448f888b33f66316cf2ec6ecae
by phoebe.wang[X86][BF16] Make backend type bf16 to follow the psABI
X86 psABI has updated to support __bf16 type, the ABI of which is the same as FP16. See https://discourse.llvm.org/t/patch-add-optional-bfloat16-support/63149
This is an alternative of D129858, which has less code modification and supports the vector type as well.
Reviewed By: LuoYuanke
Differential Revision: https://reviews.llvm.org/D130832
|
 | llvm/lib/Target/X86/X86ISelLowering.cpp |
 | llvm/lib/Target/X86/X86ISelLowering.h |
 | llvm/test/CodeGen/X86/bfloat.ll |
Commit
e4888a37d36780872d685c68ef8b26b2e14d6d39
by phoebe.wang[X86][BF16] Enable __bf16 for x86 targets.
X86 psABI has updated to support __bf16 type, the ABI of which is the same as FP16. See https://discourse.llvm.org/t/patch-add-optional-bfloat16-support/63149
Reviewed By: pengfei
Differential Revision: https://reviews.llvm.org/D130964
|
 | clang/docs/LanguageExtensions.rst |
 | clang/lib/Basic/Targets/X86.h |
 | clang/test/Sema/vector-decl-crash.c |
 | clang/test/CodeGen/X86/bfloat-half-abi.c |
 | clang/lib/Basic/Targets/X86.cpp |
 | clang/test/CodeGen/X86/bfloat-abi.c |
 | clang/test/CodeGen/X86/bfloat-mangle.cpp |
 | clang/lib/CodeGen/TargetInfo.cpp |
 | llvm/include/llvm/IR/Type.h |
Commit
0ae2a41d803d715975d710ec289a4bd90ca534e2
by phoebe.wang[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available
#56854 shows a backwards compatibility problem when builtins of compiler-rt don't follow ABI. We need to prevent to fall into the trap again for BF16.
Reviewed By: bkramer
Differential Revision: https://reviews.llvm.org/D131147
|
 | compiler-rt/cmake/builtin-config-ix.cmake |
 | compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake |
 | compiler-rt/lib/builtins/CMakeLists.txt |
 | compiler-rt/lib/builtins/fp_trunc.h |
 | compiler-rt/lib/builtins/truncsfbf2.c |
Commit
4a87afe25fc718999e40cf2dc7f8d5ef1498b19a
by github[sanitizer] Let internal symbolizer to use posix_memalign
|
 | compiler-rt/lib/sanitizer_common/symbolizer/scripts/global_symbols.txt |
Commit
00c0a34f6c42f5233e863241fbe78c3f7bab3541
by phoebe.wangRevert "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available"
This reverts commit 0ae2a41d803d715975d710ec289a4bd90ca534e2.
Revert due to buildbot fail.
|
 | compiler-rt/cmake/builtin-config-ix.cmake |
 | compiler-rt/lib/builtins/CMakeLists.txt |
 | compiler-rt/lib/builtins/truncsfbf2.c |
 | compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake |
 | compiler-rt/lib/builtins/fp_trunc.h |
Commit
ab4e5ed441d475ead43bc4ce1cdef842688292f4
by phoebe.wangReland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available"
Fix the mising change for truncdfbf2.c
Reviewed By: bkramer
Differential Revision: https://reviews.llvm.org/D131147
|
 | compiler-rt/cmake/builtin-config-ix.cmake |
 | compiler-rt/lib/builtins/fp_trunc.h |
 | compiler-rt/lib/builtins/truncsfbf2.c |
 | compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake |
 | compiler-rt/lib/builtins/truncdfbf2.c |
 | compiler-rt/lib/builtins/CMakeLists.txt |
Commit
d747a170a47dce64aefb906211e8aaed0c6bd6f6
by john.demme[MLIR] [Python] Fix `Value.owner` to handle BlockArgs
Previously, calling `Value.owner()` would C++ assert in debug builds if `Value` was a block argument. Additionally, the behavior was just wrong in release builds. This patch adds support for BlockArg Values.
|
 | mlir/lib/Bindings/Python/IRCore.cpp |
 | mlir/test/python/ir/value.py |
Commit
d44f8a50d50909e67f28f91511045404261dbcbf
by john.demme[MLIR] [Python] Fix the Windows build broken by d747a17
Windows builds require all control paths return. Since we don't have `llvm_unreachable` in the Python bindings, just return `None`.
|
 | mlir/lib/Bindings/Python/IRCore.cpp |
Commit
a633c5e11b4443000aa199a2df41eda4e2c6851b
by medismail.bennani[lldb/crashlog] Add '-t|--target' option to interactive mode
This patch introduces a new flag for the interactive crashlog mode, that allow the user to specify, which target to use to create the scripted process.
This can be very useful when lldb already have few targets created: Instead of taking the first one (zeroth index), we will use that flag to create a new target. If the user didn't provide a target path, we will rely on the symbolicator to create a targer.If that fails and there are already some targets loaded in lldb, we use the first one.
rdar://94682869
Differential Revision: https://reviews.llvm.org/D129611
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
|
 | lldb/examples/python/scripted_process/crashlog_scripted_process.py |
 | lldb/examples/python/crashlog.py |
 | lldb/test/Shell/ScriptInterpreter/Python/Crashlog/scripted_crashlog_json.test |
Commit
a07a75180c01a3f262b02f69ee5722080da74b84
by medismail.bennani[lldb/crashlog] Surface error using SBCommandReturnObject argument
This patch allows the crashlog script to surface its errors to lldb by using the provided SBCommandReturnObject argument.
rdar://95048193
Differential Revision: https://reviews.llvm.org/D129614
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
|
 | lldb/examples/python/crashlog.py |
 | lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp |
 | lldb/test/Shell/ScriptInterpreter/Python/Crashlog/interactive_crashlog_invalid_target.test |
Commit
81cbc294571fbcc609666ee4aeb86fbb68a7ec23
by medismail.bennani[lldb/crashlog] Update frame regex matcher
This patch updates the regular expression matching stackframes in crashlog to allow addresses that are 7 characters long and more (vs. 8 characters previously).
It changes the `0x[0-9a-fA-F]{7}[0-9a-fA-F]+` by `0x[0-9a-fA-F]{7,}`.
rdar://97684839
Differential Revision: https://reviews.llvm.org/D131032
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
|
 | lldb/examples/python/crashlog.py |
 | lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/a.out.crash |
 | lldb/test/Shell/ScriptInterpreter/Python/Crashlog/text.test |
Commit
13aa780f37e193d8c23a6c5ff98cc4c7febc1f95
by medismail.bennani[lldb/crashlog] Remove 'process_path' parsing logic
In can happen when creating stackshot crash report that that key is missing.
Moreover, we try to parse that key but don't use it, or need it, since we fetch images and symbolicate the stackframes using the binaries UUIDs.
This is why this patch removes everything that is related to the `process_path`/`procPath` parsing.
rdar://95054188
Differential Revision: https://reviews.llvm.org/D131033
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
|
 | lldb/examples/python/crashlog.py |
 | lldb/test/Shell/ScriptInterpreter/Python/Crashlog/parser_json.test |
Commit
41c1a5f9bdc4cb6914e7971f50e4f45aeb11e087
by medismail.bennani[lldb/crashlog] Add `-s|--skip-status` option to interactive mode
This patch introduces a new option for the interactive crashlog mode, that will prevent it from dumping the `process status` & `thread backtrace` output to the debugger console.
This is necessary when lldb in running from an IDE, to prevent flooding the console with information that should be already present in the UI.
rdar://96813296
Differential Revision: https://reviews.llvm.org/D131036
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
|
 | lldb/examples/python/crashlog.py |
 | lldb/test/Shell/ScriptInterpreter/Python/Crashlog/skipped_status_interactive_crashlog.test |
Commit
355be8cf801603756520cf5d9b4b5eaf9d1b2e77
by medismail.bennani[lldb/crashlog] Skip null image dsym fetching on interactive mode
Sometimes, it can happen that a crash report has null images in its list of used binaries. This manifests like such:
``` 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ??? ```
When fetching debug symbols to symbolicate the crashlog stackframe, having null images causes `dsymForUUID` to hang for few seconds.
This patch addresses that by skipping null images from being load by the scripted process.
rdar://97419487
Differential Revision: https://reviews.llvm.org/D131038
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
|
 | lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/interactive_crashlog/multithread-test.ips |
 | lldb/examples/python/scripted_process/crashlog_scripted_process.py |
Commit
66f8819c5087198a62ba15da4477d59b9e4a1a1d
by medismail.bennani[lldb/crashlog] Refactor the CrashLogParser logic
This patch changes the CrashLogParser class to be both the base class and a Factory for the JSONCrashLogParser & TextCrashLogParser.
That should help remove some code duplication and ensure both class have a parse method.
Differential Revision: https://reviews.llvm.org/D131085
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
|
 | lldb/examples/python/scripted_process/crashlog_scripted_process.py |
 | lldb/examples/python/crashlog.py |
Commit
dc55ab3840fbcb39c2120e06510aa47ff1d7f13c
by i[ELF] De-template createBitcodeSymbol. NFC
|
 | lld/ELF/InputFiles.cpp |
Commit
5990cf380644704ef5b41ef8e32c561d5f64baf7
by medismail.bennaniRevert "Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available""
This reverts commit ab4e5ed441d475ead43bc4ce1cdef842688292f4 since it causes a build failure on macOS:
https://green.lab.llvm.org/green/job/lldb-cmake/45984/
|
 | compiler-rt/lib/builtins/truncdfbf2.c |
 | compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake |
 | compiler-rt/lib/builtins/fp_trunc.h |
 | compiler-rt/lib/builtins/truncsfbf2.c |
 | compiler-rt/lib/builtins/CMakeLists.txt |
 | compiler-rt/cmake/builtin-config-ix.cmake |
Commit
596f490ab940b6dfeddd72975fa8c5f322e94c9a
by i[ELF] De-template BitcodeFile::parse. NFC
|
 | lld/ELF/InputFiles.h |
 | lld/ELF/InputFiles.cpp |
Commit
e3fcf2e06fbf8273f68a6985f1309136dae59eb1
by i[ELF] Simplify llvm::enumerate with structured binding. NFC
|
 | lld/ELF/InputFiles.cpp |
 | lld/ELF/Arch/RISCV.cpp |
 | lld/ELF/SyntheticSections.cpp |
 | lld/ELF/DWARF.cpp |
 | lld/ELF/Relocations.cpp |
Commit
0729d00135ccbe1514a49168bbf26986823235c2
by phoebe.wangReland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available"
Disable the build on macOS due to the bot fail.
Reviewed By: bkramer
Differential Revision: https://reviews.llvm.org/D131147
|
 | compiler-rt/lib/builtins/fp_trunc.h |
 | compiler-rt/lib/builtins/truncsfbf2.c |
 | compiler-rt/lib/builtins/CMakeLists.txt |
 | compiler-rt/cmake/builtin-config-ix.cmake |
 | compiler-rt/lib/builtins/truncdfbf2.c |
Commit
0071a79532e8d664b734956a431d8c8c942cc25e
by sivachandra[libc] Add implementation of pthread_exit and thrd_exit.
Reviewed By: michaelrj
Differential Revision: https://reviews.llvm.org/D131451
|
 | libc/spec/posix.td |
 | libc/src/pthread/CMakeLists.txt |
 | libc/config/linux/x86_64/entrypoints.txt |
 | libc/src/pthread/pthread_exit.h |
 | libc/loader/linux/x86_64/start.cpp |
 | libc/src/__support/threads/thread.cpp |
 | libc/test/integration/src/threads/thrd_exit_test.cpp |
 | libc/src/__support/threads/thread.h |
 | libc/test/integration/src/pthread/pthread_exit_test.cpp |
 | libc/spec/stdc.td |
 | libc/src/__support/threads/linux/thread.cpp |
 | libc/src/threads/thrd_exit.cpp |
 | libc/test/integration/src/threads/CMakeLists.txt |
 | libc/test/integration/src/pthread/CMakeLists.txt |
 | libc/src/threads/thrd_exit.h |
 | libc/src/pthread/pthread_exit.cpp |
 | libc/src/__support/threads/CMakeLists.txt |
 | libc/src/threads/CMakeLists.txt |
Commit
5331e1229aa6d0d33b5ec9fab7c05310187746d9
by courbet[clang][transformer] Fix crash on replacement-less ASTEdit.
Given that we provide an EditGenerator edit(ASTEdit), we can't ever be sure that the user won't give us an empty replacement.
Differential Revision: https://reviews.llvm.org/D128887
|
 | clang/lib/Tooling/Transformer/RewriteRule.cpp |
 | clang-tools-extra/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp |
Commit
0e08061229aad4ffc6dc2e1790dca2e84964334c
by itsan: update Go rules to use -std=c++17
llvm-project has switched to require C++17.
Reviewed By: dvyukov
Differential Revision: https://reviews.llvm.org/D131536
|
 | compiler-rt/lib/tsan/go/buildgo.sh |
 | compiler-rt/lib/tsan/go/build.bat |
Commit
70165c55dc8cbb412d396897c2a588879b78ad1a
by tobias[release] Use threaded compression with xz
Use xz -T0 to use your threads
Reviewed By: tstellar
Differential Revision: https://reviews.llvm.org/D131470
|
 | llvm/utils/release/export.sh |
Commit
46a315a3310d7dac88659f6d468437782f651bfe
by tobias[workflow] Run release tasks for me (tru) as well.
Reviewed By: tstellar
Differential Revision: https://reviews.llvm.org/D131493
|
 | .github/workflows/release-tasks.yml |
Commit
3bba12a81e242359580fa322cf1a9a0a43b461e6
by npopov[Flang] Use find_program() to find clang-tblgen
Use find_program() to find the clang-tblgen executable. The current code ends up using docs/clang-tblgen for me...
This is the same way that mlir-tblgen is obtained in: https://github.com/llvm/llvm-project/blob/27241435515554bc21105713c9d34cf886c5bced/flang/CMakeLists.txt#L95-L96.
Differential Revision: https://reviews.llvm.org/D131475
|
 | flang/docs/CMakeLists.txt |
Commit
32017d5efec598478a75c2c0027f64b71bd2ea4e
by npopov[Attributor] Check for noalias call in AAInstanceInfo
The relevant property of allocation functions of interest here is their uniqueness (in the sense of disjoint provenance), which is encoded by the noalias return attribute.
Differential Revision: https://reviews.llvm.org/D130225
|
 | llvm/lib/Transforms/IPO/AttributorAttributes.cpp |
Commit
5e538c669c76d26642f64cd03a6c09e5eee436b0
by david.spickett[LLDB] Add multi value test for const static enum
1438639a2f7eb9e9cba01454d3a9b1b16d179c9a removed a test that was using undefined behaviour setting a non-typed enum to a value outside its known range.
That test also checked if we formatted the value properly when it could contain >1 valid enum value.
I don't think there's anything special about how we format typed vs non-typed enums so I'm adding a test for ScopedEnum that will expect to see 2 enum values plus extra.
Reviewed By: labath, Michael137, shafik
Differential Revision: https://reviews.llvm.org/D131472
|
 | lldb/test/API/lang/cpp/const_static_integral_member/main.cpp |
 | lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py |
Commit
98ed6e106972a7bf38857efb2344e2802cfada33
by dominik.adamski[Flang][OpenMP] Fix conversion of nested loops for SIMD directive
Flang was not able to convert simd directive which contains nested Fortran loops. The nested Fortran loops inside SIMD directive are modelled as FIR loops and they need to be translated into LLVM MLIR dialect.
Differential Revision: https://reviews.llvm.org/D131402
Reviewed by: peixin
Signed-off-by: Dominik Adamski <dominik.adamski@amd.com>
|
 | mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp |
 | flang/test/Fir/convert-to-llvm-openmp-and-fir.fir |
Commit
b6b1c0d1c4ca5fede720a1a8a1b70230376e2b3b
by jacquesguan[RISCV] Add cost model for fp-mask cast op.
The cost of convert from or to mask vector is different from other cases. We could not use PowDiff to calculate it. This patch set it to 3 as we use 3 instruction to make it.
Differential Revision: https://reviews.llvm.org/D131149
|
 | llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp |
 | llvm/test/Analysis/CostModel/RISCV/cast.ll |
Commit
df3ea7365eeac7b45044404e432dd33cca45d9fd
by llvm-dev[DAG] Use DAG.getFreeze() to create freeze node. NFC.
|
 | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp |
Commit
800d5e178f2b36123f93d6d7733aa737da03b009
by phoebe.wangRevert "Reland "[compiler-rt][BF16] Provide __truncsfbf2 only when __bf16 is available""
This reverts commit 0729d00135ccbe1514a49168bbf26986823235c2.
Buildbot https://lab.llvm.org/buildbot/#/builders/19/builds/11989 failed with "error: ISO C requires a translation unit to contain at least one declaration [-Werror,-Wempty-translation-unit]"
|
 | compiler-rt/lib/builtins/CMakeLists.txt |
 | compiler-rt/cmake/builtin-config-ix.cmake |
 | compiler-rt/lib/builtins/fp_trunc.h |
 | compiler-rt/lib/builtins/truncsfbf2.c |
 | compiler-rt/lib/builtins/truncdfbf2.c |
Commit
104a24ec8bd4bc0e0acbb81c03b916c0c64e85b2
by asb[WebAssembly] Produce error when encountering unlowerable Wasm global accesses
WebAssembly globals are represented as IR globals with the wasm_var address space (AS1). Prior to this patch, a wasm global load that isn't lowerable will produce a failure to select, while a wasm global store will produced incorrect code. This patch ensures we consistently produce a clear error.
As noted in the test cases, it's conceivable that a frontend or an optimisation pass could produce similar IR even in the presence of the semantic restrictions on pointers to Wasm globals in the frontend, which is a separate problem to address.
Differential Revision: https://reviews.llvm.org/D131387
|
 | llvm/test/CodeGen/WebAssembly/global-get-unlowerable.ll |
 | llvm/test/CodeGen/WebAssembly/global-set-unlowerable.ll |
 | llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp |
Commit
7e7860c5d70d9da5d648e48daa4c2c2c2e3bd3b8
by asb[X86][NFCI] Remove target-specific branch optimisation that's handled in BranchFolding
This specific optimisation is handled in OptimizeBlock in BranchFolding so is redundant. As discussed on the review thread, I've verified that we have test coverage for that optimisation within test/CodeGen/X86 by disabling the BranchFolding version of this transform after applying this patch and rerunning the test suite.
Differential Revision: https://reviews.llvm.org/D129204
|
 | llvm/lib/Target/X86/X86InstrInfo.cpp |
Commit
8d6f61b6ad71290ad5e99a78843e237486cd2488
by npopovRevert "[Flang] Use find_program() to find clang-tblgen"
This reverts commit 3bba12a81e242359580fa322cf1a9a0a43b461e6.
While this fixes doc generation in standalone flang builds, it breaks them for combined builds of clang and flang.
|
 | flang/docs/CMakeLists.txt |
Commit
47b1f8362aa409b591b5e9c8a9ff0e3e1d76ed9c
by asb[RISCV] Implement isUsedByReturnOnly TargetLowering hook in order to tailcall more libcalls
Prior to this patch, libcalls inserted by the SelectionDAG legalizer could never be tailcalled. The eligibility of libcalls for tail calling is is partly determined by checking TargetLowering::isInTailCallPosition and comparing the return type of the libcall and the calleer. isInTailCallPosition in turn calls TargetLowering::isUsedByReturnOnly (which always returns false if not implemented by the target).
This patch provides a minimal implementation of TargetLowering::isUsedByReturnOnly - enough to support tail calling libcalls on hard float ABIs. Soft-float ABIs are left for a follow on patch. libcall-tail-calls.ll also shows missed opportunities to tail call integer libcalls, but this is due to issues outside of the isUsedByReturnOnly hook.
Differential Revision: https://reviews.llvm.org/D131087
|
 | llvm/test/CodeGen/RISCV/libcall-tail-calls.ll |
 | llvm/test/CodeGen/RISCV/srem-lkk.ll |
 | llvm/test/CodeGen/RISCV/double-intrinsics.ll |
 | llvm/test/CodeGen/RISCV/float-round-conv.ll |
 | llvm/test/CodeGen/RISCV/urem-lkk.ll |
 | llvm/test/CodeGen/RISCV/double-frem.ll |
 | llvm/test/CodeGen/RISCV/div.ll |
 | llvm/test/CodeGen/RISCV/float-intrinsics.ll |
 | llvm/lib/Target/RISCV/RISCVISelLowering.cpp |
 | llvm/lib/Target/RISCV/RISCVISelLowering.h |
 | llvm/test/CodeGen/RISCV/mul.ll |
 | llvm/test/CodeGen/RISCV/fp16-promote.ll |
 | llvm/test/CodeGen/RISCV/double-round-conv.ll |
 | llvm/test/CodeGen/RISCV/rem.ll |
Commit
a772f775a2ba401e95a0bbe73deb6300f1dc12c0
by 1.int32[clang-tidy] Support C++14 in bugprone-signal-handler.
Check `bugprone-signal-handler` is improved to check for C++-specific constructs in signal handlers. This check is valid until C++17.
Reviewed By: whisperity
Differential Revision: https://reviews.llvm.org/D118996
|
 | clang-tools-extra/docs/clang-tidy/checks/bugprone/signal-handler.rst |
 | clang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/signal-handler/stdcpp.h |
 | clang-tools-extra/test/clang-tidy/checkers/bugprone/signal-handler.cpp |
 | clang-tools-extra/docs/clang-tidy/checks/cert/msc54-cpp.rst |
 | clang-tools-extra/docs/clang-tidy/checks/list.rst |
 | clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h |
 | clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/signal.h |
 | clang-tools-extra/docs/ReleaseNotes.rst |
 | clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp |
 | clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.cpp |
 | clang-tools-extra/test/clang-tidy/checkers/bugprone/signal-handler.c |
Commit
b1b9c39629b5af002cc265d9464e3085b17b91cb
by david.truby[AArch64][SVE] Use SVE for VLS fcopysign for wide vectors
Currently fcopysign for VLS vectors lowers through NEON even when the vector width is wider than a NEON vector, causing bad codegen as the vectors are split. This patch causes SVE to be used for these vectors instead, giving much better codegen on wide VLS vectors.
Reviewed By: paulwalker-arm
Differential Revision: https://reviews.llvm.org/D128642
|
 | llvm/test/CodeGen/AArch64/sve-fcopysign.ll |
 | llvm/lib/Target/AArch64/AArch64ISelLowering.cpp |
 | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp |
 | llvm/test/CodeGen/AArch64/sve2-fcopysign.ll |
 | llvm/test/CodeGen/AArch64/sve2-fixed-length-fcopysign.ll |
 | llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp |
 | llvm/test/CodeGen/AArch64/sve-fixed-length-fcopysign.ll |
Commit
552dccf311c6134c6c895328602172821e3efaed
by david.spickett[LLDB][AArch64][NFC] Fix some clang-format annotations
We don't want the DEFINE_ macros or the array registers being clang formatted.
RegisterInfos_arm64.h was missing the off annotation and RegisterInfos_arm64_sve.h needed the off moving to before the macro definitions.
|
 | lldb/source/Plugins/Process/Utility/RegisterInfos_arm64.h |
 | lldb/source/Plugins/Process/Utility/RegisterInfos_arm64_sve.h |
Commit
bbc27d01484e9613a13aa0f6e6099e758467d7fb
by llvm-dev[DAG] canCreateUndefOrPoison - add freeze(truncate(x)) -> truncate(freeze(x)) support
|
 | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp |
 | llvm/test/CodeGen/X86/bitcast-int-to-vector-bool.ll |
 | llvm/test/CodeGen/X86/unfold-masked-merge-vector-variablemask.ll |
Commit
286d59ef6f7118c8a0600f3d281593700528a5d3
by david.truby[clang][AArch64][SVE] Add unary +/- operators for SVE types
This patch enables the unary promotion and negation operators on SVE types.
Differential Revision: https://reviews.llvm.org/D130984
|
 | clang/lib/Sema/SemaExpr.cpp |
 | clang/test/SemaCXX/sizeless-1.cpp |
 | clang/test/Sema/sizeless-1.c |
 | clang/test/CodeGen/aarch64-sve-vector-arith-ops.c |
Commit
8a4c40bfe8e6605ffc9d866f8620618dfdde2875
by wyt[clang][dataflow] Store DeclContext of block being analysed in Environment if available.
Differential Revision: https://reviews.llvm.org/D131065
|
 | clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h |
 | clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp |
Commit
1f02ad71310b9e86d183abdedc75ca99ff1106f5
by jpienaar[mlir][shape] Update meet to handle all size & shape types
Also tighten up return type inference & compatibility functions.
Differential Revision: https://reviews.llvm.org/D130866
|
 | mlir/include/mlir/Dialect/Shape/IR/ShapeBase.td |
 | mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td |
 | mlir/test/Dialect/Shape/ops.mlir |
 | mlir/test/Dialect/Shape/invalid.mlir |
 | mlir/lib/Dialect/Shape/IR/Shape.cpp |
Commit
8623da5f748bc36fc78fa148fd34332d386533ea
by llvm-dev[DAG] visitFREEZE - generalize freeze(op()) -> op(freeze()) to any number of operands
canCreateUndefOrPoison currently only handles unary ops, but we intend to change that soon - this more closely matches the pushFreezeToPreventPoisonFromPropagating behaviour where the freeze is pushed up to a single operand value, as long as all others are guaranteed not to be poison/undef.
However, pushFreezeToPreventPoisonFromPropagating would freeze all uses of the value - whilst this variant requires the frozen value to be only used in the op - we can look at generalize multiple uses later if the need arises.
|
 | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp |
Commit
fa250250b2966613fba7b88575029eb7cf0da66c
by vext01Migrate llvm.experimental.patchpoint() to ptr.
This intrinsic used a typed pointer for a call target operand. This change updates the operand to be an opaque pointer and updates all pointers in all test files that use the intrinsic.
Differential revision: https://reviews.llvm.org/D131261
|
 | llvm/test/CodeGen/AArch64/stackmap.ll |
 | llvm/test/CodeGen/SystemZ/anyregcc-novec.ll |
 | llvm/test/CodeGen/SystemZ/stackmap.ll |
 | llvm/test/CodeGen/AArch64/arm64-patchpoint.ll |
 | llvm/test/CodeGen/SystemZ/anyregcc.ll |
 | llvm/test/CodeGen/PowerPC/ppc64-anyregcc-crash.ll |
 | llvm/test/CodeGen/AArch64/arm64-patchpoint-webkit_jscc.ll |
 | llvm/test/CodeGen/PowerPC/ppc64-stackmap.ll |
 | llvm/test/CodeGen/AArch64/arm64-anyregcc.ll |
 | llvm/test/Analysis/CallGraph/non-leaf-intrinsics.ll |
 | llvm/test/CodeGen/SystemZ/patchpoint-invoke.ll |
 | llvm/test/CodeGen/X86/patchpoint-verifiable.mir |
 | llvm/test/CodeGen/PowerPC/ppc64-patchpoint.ll |
 | llvm/docs/StackMaps.rst |
 | llvm/test/CodeGen/SystemZ/anyregcc-vec.ll |
 | llvm/test/CodeGen/AArch64/stackmap-liveness.ll |
 | llvm/test/CodeGen/PowerPC/ppc64-anyregcc.ll |
 | llvm/test/CodeGen/AArch64/arm64-anyregcc-crash.ll |
 | llvm/test/Analysis/LazyCallGraph/non-leaf-intrinsics.ll |
 | llvm/test/CodeGen/MIR/X86/liveout-register-mask.mir |
 | llvm/test/CodeGen/SystemZ/patchpoint.ll |
 | llvm/test/CodeGen/AArch64/arm64-stackmap.ll |
 | llvm/test/CodeGen/AArch64/arm64-patchpoint-scratch-regs.ll |
 | llvm/test/CodeGen/X86/selectiondag-patchpoint-legalize.ll |
Commit
2e2ad53979045cb18d1c5924af8cb7cc75de5c77
by zinenko[mlir] Generate C++ doc comments for interfaces
When emitting the declarations for interface methods defined in ODS, also emit their descriptions as C++ comments. This makes the documentation accessible to C++ tooling such as IDEs that offers better usability than reading it form the .td or the website.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D130478
|
 | mlir/tools/mlir-tblgen/OpDocGen.cpp |
 | mlir/lib/Support/IndentedOstream.cpp |
 | mlir/tools/mlir-tblgen/DocGenUtilities.h |
 | mlir/tools/mlir-tblgen/OpInterfacesGen.cpp |
 | mlir/test/mlir-tblgen/op-interface.td |
 | mlir/include/mlir/Support/IndentedOstream.h |
Commit
c1226585b36eacca3a6076e035a9883230597777
by Jake.Egan[AIX][tests] XFAIL for system-aix instead
The Clang folding for floating-point sometimes calls out to the host.
|
 | llvm/test/Transforms/EarlyCSE/atan.ll |
Commit
f63e2cfb7f5235d4d5148988e8a0ef86004da66e
by kosov.pavel[LLDB] Add basic floating point ops to IR interpreter
Patch adds support for fadd, fsub, fdiv, fmul and fcmp to IR interpreter.
~~~
OS Laboratory. Huawei RRI. Saint-Petersburg
Reviewed By: clayborg
Differential Revision: https://reviews.llvm.org/D126359
|
 | lldb/test/API/lang/c/fpeval/TestFPEval.py |
 | lldb/test/API/lang/c/fpeval/main.c |
 | lldb/test/API/lang/c/fpeval/Makefile |
 | lldb/source/Expression/IRInterpreter.cpp |
Commit
42f32f69ade78fe443c911cdbacc1d77fbb3d843
by pifon[mlir] Extract offsets-sizes-strides computation from `makeTiledShape(s)`.
This change separates computation of the actual parameters of the subset and the materialization of subview/extract_slice. That way the users can still use Linalg tiling logic even if they use different operations to materialize the subsets.
Differential Revision: https://reviews.llvm.org/D131053
|
 | mlir/test/Dialect/Linalg/tile.mlir |
 | mlir/test/Dialect/Linalg/transform-op-split.mlir |
 | mlir/include/mlir/Dialect/Linalg/Utils/Utils.h |
 | mlir/lib/Dialect/Linalg/Utils/Utils.cpp |
 | mlir/test/Dialect/Linalg/tile-and-fuse-tensors.mlir |
 | mlir/test/Dialect/Linalg/tile-to-foreach-thread.mlir |
 | mlir/test/Dialect/Linalg/tile-and-distribute.mlir |
 | mlir/test/Dialect/Linalg/tile-conv.mlir |
Commit
000c8fef86abb7f056cbea2de99f21dca4b81bf8
by sam[clang][dataflow] Analyze constructor bodies
This patch adds the ability to context-sensitively analyze constructor bodies, by changing `pushCall` to allow both `CallExpr` and `CXXConstructExpr`, and extracting the main context-sensitive logic out of `VisitCallExpr` into a new `transferInlineCall` method which is now also called at the end of `VisitCXXConstructExpr`.
Reviewed By: ymandel, sgatev, xazax.hun
Differential Revision: https://reviews.llvm.org/D131438
|
 | clang/unittests/Analysis/FlowSensitive/TransferTest.cpp |
 | clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp |
 | clang/lib/Analysis/FlowSensitive/Transfer.cpp |
 | clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h |
Commit
b92c7dc211c2ae055f3aea999470133281f5646e
by llvm-dev[X86] Use DAG.getFreeze() to create freeze node. NFC.
|
 | llvm/lib/Target/X86/X86ISelLowering.cpp |
Commit
e4642d78a89930720bc84a4775614c45327bc0dc
by david.truby[clang] Correct documentation for NEON and SVE operator support
Previously the language extension documentation didn't mention SVE and was incomplete in listing the C/C++ operators supported on NEON. This corrects the documentation to be in line with the implementation.
|
 | clang/docs/LanguageExtensions.rst |
Commit
25340410c9a574d438b8868630fc8a9297d03dd7
by llvm-devRevert rGa772f775a2ba401e95a0bbe73deb6300f1dc12c0 "[clang-tidy] Support C++14 in bugprone-signal-handler."
This was breaking a number of buildbots: https://lab.llvm.org/buildbot/#/builders/139/builds/26335
|
 | clang-tools-extra/docs/clang-tidy/checks/bugprone/signal-handler.rst |
 | clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.cpp |
 | clang-tools-extra/test/clang-tidy/checkers/bugprone/signal-handler.cpp |
 | clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h |
 | clang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/signal-handler/stdcpp.h |
 | clang-tools-extra/docs/ReleaseNotes.rst |
 | clang-tools-extra/docs/clang-tidy/checks/list.rst |
 | clang-tools-extra/test/clang-tidy/checkers/bugprone/signal-handler.c |
 | clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/signal.h |
 | clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp |
 | clang-tools-extra/docs/clang-tidy/checks/cert/msc54-cpp.rst |
Commit
f5738c51452f90d7f33963d1c0c6f8e7f3d801e3
by Louis Dionne[libc++] Make __libcpp_verbose_abort [[noreturn]]
This will allow using it in functions that are [[noreturn]] themselves.
Differential Revision: https://reviews.llvm.org/D131408
|
 | libcxx/test/libcxx/assertions/debug_mode_compatibility.pass.cpp |
 | libcxx/include/__verbose_abort |
 | libcxx/test/libcxx/assertions/customize_verbose_abort.backdeployment.pass.cpp |
 | libcxx/test/libcxx/assertions/customize_verbose_abort.pass.cpp |
Commit
30abc1a6a18e843fd0470157d4d2ec285aaac8cd
by spatel[ConstantFolding] Eliminate atan and atan2 calls
From the opengroup specifications, atan2 may fail if the result underflows and atan may fail if the argument is subnormal, but we assume that does not happen and eliminate the calls if we can constant fold the result at compile-time.
Differential Revision: https://reviews.llvm.org/D127964
|
 | llvm/test/Transforms/EarlyCSE/math-2.ll |
 | llvm/test/Transforms/EarlyCSE/math-1.ll |
 | llvm/test/Transforms/EarlyCSE/atan.ll |
 | llvm/lib/Analysis/ConstantFolding.cpp |
Commit
f43b2285815961da057af1a772bc31d0152d286b
by jrh29PowerPC: Don't hoist float multiply + add to fused operation on SPE
SPE doesn't have a fmadd instruction, so don't bother hoisting a multiply and add sequence to this, as it'd become just a library call. Hoisting happens too late for the CTR usability test to veto using the CTR in a loop, and results in an assert "Invalid PPC CTR loop!".
|
 | llvm/lib/Target/PowerPC/PPCISelLowering.cpp |
 | llvm/test/CodeGen/PowerPC/pr55463.ll |
 | llvm/test/CodeGen/PowerPC/fma-assoc.ll |
Commit
9bceb8981d32fe9465257c31413395f445ab05d8
by deadalnix[X86] (0 - SetCC) | C -> (zext (not SetCC)) * (C + 1) - 1 if we can get a LEA out of it.
This adresses various regression in D131260 , as well as is a useful optimization in itself.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D131358
|
 | llvm/test/CodeGen/X86/or-lea.ll |
 | llvm/lib/Target/X86/X86ISelLowering.cpp |
Commit
fdbb15355e7977b914cbd7e753b5e909d735ad83
by jhuber6[Libomptarget][CUDA] Check CUDA compatibilty correctly
We recently added support for multi-architecture binaries in libomptarget. This is done by extracting the architecture from the embedded image and comparing it with the major and minor version supported by the current CUDA installation. Previously we just compared these directly, which was not correct for binary compatibility. The CUDA documentation states that we can consider any image with an equivalent major or a greater or equal to minor compatible with the current image. Change the check to use this new logic in the CUDA plugin.
Fixes #57049
Reviewed By: jdoerfert, ye-luo
Differential Revision: https://reviews.llvm.org/D131567
|
 | openmp/libomptarget/plugins/cuda/src/rtl.cpp |
Commit
9757f4f2ddb76ae3ab0cc6c8768e3179ff141ee5
by nemanja.i.ibm[PowerPC] Don't use the S30 and S31 regs for the pic code
These changes to address issue https://github.com/llvm/llvm-project/issues/55857.
Since R30/S30 is used as pointer (32 bits) for GOT Table in the ppc32 ABI, remove it from the SPE callee save register when PIC is enabled.
This prevents emitting the SPE load and store for S30 and S31 regs.
Differential revision: https://reviews.llvm.org/D127495
|
 | llvm/test/CodeGen/PowerPC/spe.ll |
 | llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp |
 | llvm/lib/Target/PowerPC/PPCCallingConv.td |
 | llvm/test/CodeGen/PowerPC/pr55857.ll |
Commit
b1009bbd9e3d5acd85e92cb7f9a1109d2e72967c
by Louis Dionne[libc++] Add missing includes of <cstddef>
|
 | libcxx/include/__iterator/incrementable_traits.h |
 | libcxx/include/__memory/pointer_traits.h |
 | libcxx/include/__ranges/size.h |
 | libcxx/include/__iterator/iterator_traits.h |
Commit
e78c80e3d622d455934102dabd765a60ac917739
by ivan.murashko[clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of invalid SLockEntry
There is a fix for the search procedure at `SourceManager::getFileIDLoaded`. It might return an invalid (not loaded) entry. That might cause clang/clangd crashes. At my case the scenario was the following: - `SourceManager::getFileIDLoaded` returned an invalid file id for a non loaded entry and incorrectly set `SourceManager::LastFileIDLookup` to the value - `getSLocEntry` returned `SourceManager::FakeSLocEntryForRecovery` introduced at [D89748](https://reviews.llvm.org/D89748). - The result entry is not tested at `SourceManager::isOffsetInFileID`and as result the call `return SLocOffset < getSLocEntryByID(FID.ID+1).getOffset();` returned `true` value because `FID.ID+1` pointed to a non-fake entry - The tested offset was marked as one that belonged to the fake `SLockEntry`
Such behaviour might cause a weird clangd crash when preamble contains some header files that were removed just after the preamble created. Unfortunately it's not so easy to reproduce the crash in the form of a LIT test thus I provided the fix only.
Test Plan: ``` ninja check-clang ```
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D130847
|
 | clang/lib/Basic/SourceManager.cpp |
Commit
47cf00407669b0d67f6ffd74c3b39433934752d8
by pifon[mlir] Fix win build by using has_value() instead of hasValue() for Optional.
|
 | mlir/lib/Dialect/Linalg/Utils/Utils.cpp |
Commit
4b566933cf7b76fb437d671d2b64e971baeba5c8
by epastor[ms] [llvm-ml] Add support for the (many) optional SEGMENT parameters
Add support for many parameters to the SEGMENT directive
Reviewed By: thakis
Differential Revision: https://reviews.llvm.org/D131523
|
 | llvm/lib/MC/MCParser/COFFMasmParser.cpp |
 | llvm/test/tools/llvm-ml/segment.asm |
Commit
d7a47a9bb5bd9f9b292e4f11184942936e2b1fc0
by kdaDesist from passing function location to __msan_set_alloca_origin4.
This is done by calling __msan_set_alloca_origin and providing the location of the variable by using the call stack. This is prepatory work for dropping variable names when track-origins is enabled.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D131205
|
 | llvm/test/Instrumentation/MemorySanitizer/alloca.ll |
 | compiler-rt/test/msan/msan_print_shadow.cpp |
 | compiler-rt/test/msan/unaligned_read_origin.cpp |
 | compiler-rt/lib/msan/msan.cpp |
 | llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp |
 | compiler-rt/test/msan/stack-origin2.cpp |
 | compiler-rt/test/msan/chained_origin_memmove.cpp |
 | compiler-rt/test/msan/stack-origin.cpp |
 | compiler-rt/test/msan/report-demangling.cpp |
 | compiler-rt/test/msan/chained_origin_memcpy.cpp |
 | compiler-rt/test/msan/chained_origin.cpp |
Commit
06fc5a7714621324b121fb3ee03ac15eb018cf99
by manojguptaDriver: Refactor and support per target dirs in baremetal
Refactor baremetal driver code to reduce the bespoke additions and base class overrides. This lets us use the per target runtimes like other clang targets. E.g. clang -target armv7m-cros-none-eabi will now be able to use the runtimes installed at <resource_dir>/lib/armv7m-cros-none-eabi instead of the hardcoded path <resource_dir>/lib/baremetal. The older code paths should still continue to work as before if <resource_dir>/lib/<tuple> does not exist.
Reviewed By: MaskRay, barannikov88
Differential Revision: https://reviews.llvm.org/D131225
|
 | clang/lib/Driver/ToolChains/BareMetal.h |
 | clang/lib/Driver/ToolChain.cpp |
 | clang/lib/Driver/ToolChains/BareMetal.cpp |
 | clang/test/Driver/Inputs/resource_dir_with_per_target_subdir/lib/armv7m-vendor-none-eabi/libclang_rt.builtins.a |
 | clang/include/clang/Driver/ToolChain.h |
 | clang/test/Driver/print-libgcc-file-name-clangrt.c |
 | clang/test/Driver/baremetal.cpp |
Commit
77d33f4c1b1be45a3473895e31e34065f11b3888
by llvm-dev[Analysis] Remove unused CostModelAnalysis::getInstructionCost helper. NFCI.
Everything now uses TTI costs calls directly
|
 | llvm/lib/Analysis/CostModel.cpp |
Commit
80dcc907a8a2de9c0e24d1d40625c54c828d508a
by szakharin[NFC] Restructured SimplifyIntrinsicsPass::getOrCreateFunction.
I would like to add DOT_PRODUCT support in this pass, so this restructuring is the first step to allow some code reuse inside getOrCreateFunction().
Differential Revision: https://reviews.llvm.org/D131530
|
 | flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp |
Commit
5c5af910fefbea943a11452b63e2424e5f823470
by jeff[mlir][LLVMIR] "Modernize" Insert/ExtractValueOp
This patch "modernizes" the LLVM `insertvalue` and `extractvalue` operations to use DenseI64ArrayAttr, since they only require an array of indices and previously there was confusion about whether to use i32 or i64 arrays, and to use assembly format.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D131537
|
 | mlir/test/Target/LLVMIR/llvmir.mlir |
 | flang/test/Fir/convert-to-llvm-target.fir |
 | flang/lib/Optimizer/CodeGen/CodeGen.cpp |
 | mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp |
 | mlir/include/mlir/Conversion/LLVMCommon/VectorPattern.h |
 | mlir/docs/SPIRVToLLVMDialectConversion.md |
 | mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp |
 | mlir/docs/Tutorials/Toy/Ch-6.md |
 | mlir/lib/Conversion/LLVMCommon/Pattern.cpp |
 | mlir/test/Target/LLVMIR/Import/constant-aggregate.ll |
 | mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp |
 | mlir/test/Conversion/SPIRVToLLVM/misc-ops-to-llvm.mlir |
 | mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp |
 | mlir/lib/Conversion/LLVMCommon/StructBuilder.cpp |
 | mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp |
 | mlir/lib/Conversion/GPUToNVVM/WmmaOpsToNvvm.cpp |
 | mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td |
 | mlir/test/Conversion/FuncToLLVM/calling-convention.mlir |
 | mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h |
 | mlir/test/Target/LLVMIR/Import/basic.ll |
 | mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp |
 | mlir/lib/Conversion/LLVMCommon/MemRefBuilder.cpp |
 | flang/test/Fir/convert-to-llvm.fir |
 | flang/test/Fir/global-initialization.fir |
 | mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp |
 | mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir |
 | mlir/test/Target/LLVMIR/Import/zeroinitializer.ll |
 | mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp |
 | mlir/lib/Conversion/LLVMCommon/VectorPattern.cpp |
 | mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp |
 | mlir/test/Conversion/GPUToNVVM/wmma-ops-to-nvvm.mlir |
 | mlir/test/Dialect/LLVMIR/invalid.mlir |
Commit
7e2b995e0cced8a292c3de9e4ec6a503223de38a
by dpetrov[analyzer] [NFC] Add more test cases for equality tracking
Summary: Cover `ConstraintAssignor::assign(EquivalenceClass, RangeSet)` function with more regression tests.
Differential Revision: https://reviews.llvm.org/D131514
|
 | clang/test/Analysis/equality_tracking.c |
Commit
4178e33470763b406f614b646c8b01d24309e20b
by llvm-dev[CostModel] Update RUN -passes=* to double quotes to appease update scripts on windows
DOS really doesn't like `` quotes to be used in command lines
Some prep work as I'm intending to resurrect D79483 soon
|
 | llvm/test/Analysis/CostModel/AArch64/sve-trunc.ll |
 | llvm/test/Analysis/CostModel/SystemZ/numvectorregs.ll |
 | llvm/test/Analysis/CostModel/ARM/load-to-trunc.ll |
 | llvm/test/Analysis/CostModel/AArch64/kryo-inseltpoison.ll |
 | llvm/test/Analysis/CostModel/AArch64/shuffle-reverse.ll |
 | llvm/test/Analysis/CostModel/AArch64/arith-usat.ll |
 | llvm/test/Analysis/CostModel/SystemZ/load_store.ll |
 | llvm/test/Analysis/CostModel/SystemZ/logic-miscext3.ll |
 | llvm/test/Analysis/CostModel/AArch64/load-to-trunc.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-stepvector.ll |
 | llvm/test/Analysis/CostModel/PowerPC/load-to-trunc.ll |
 | llvm/test/Analysis/CostModel/PowerPC/insert_extract.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/div.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-fixed-length.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/bit-ops.ll |
 | llvm/test/Analysis/CostModel/RISCV/reduce-min.ll |
 | llvm/test/Analysis/CostModel/RISCV/scalable-scatter.ll |
 | llvm/test/Analysis/CostModel/ARM/select.ll |
 | llvm/test/Analysis/CostModel/ARM/sub-cast-vect.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/addrspacecast.ll |
 | llvm/test/Analysis/CostModel/SystemZ/divrem-const.ll |
 | llvm/test/Analysis/CostModel/AArch64/shuffle-other.ll |
 | llvm/test/Analysis/CostModel/PowerPC/reduce-or.ll |
 | llvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll |
 | llvm/test/Analysis/CostModel/RISCV/fround.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/reduce-and.ll |
 | llvm/test/Analysis/CostModel/PowerPC/popcnt.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/aggregates.ll |
 | llvm/test/Analysis/CostModel/ARM/shl-cast-vect.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/rem.ll |
 | llvm/test/Analysis/CostModel/SystemZ/shuffle.ll |
 | llvm/test/Analysis/CostModel/AArch64/cttz.ll |
 | llvm/test/Analysis/CostModel/SystemZ/fp-cast.ll |
 | llvm/test/Analysis/CostModel/ARM/cmps.ll |
 | llvm/test/Analysis/CostModel/SystemZ/ext-of-icmp-cost.ll |
 | llvm/test/Analysis/CostModel/RISCV/splice.ll |
 | llvm/test/Analysis/CostModel/AArch64/mem-op-cost-model.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-fptrunc.ll |
 | llvm/test/Analysis/CostModel/ARM/immediates.ll |
 | llvm/test/Analysis/CostModel/SystemZ/load-and-test.ll |
 | llvm/test/Analysis/CostModel/ARM/shuffle.ll |
 | llvm/test/Analysis/CostModel/RISCV/reduce-add.ll |
 | llvm/test/Analysis/CostModel/ARM/reduce-umax.ll |
 | llvm/test/Analysis/CostModel/SystemZ/cmp-ext-01.ll |
 | llvm/test/Analysis/CostModel/no_info.ll |
 | llvm/test/Analysis/CostModel/RISCV/reduce-fadd.ll |
 | llvm/test/Analysis/CostModel/AArch64/arith.ll |
 | llvm/test/Analysis/CostModel/RISCV/masked_ldst.ll |
 | llvm/test/Analysis/CostModel/AArch64/bswap.ll |
 | llvm/test/Analysis/CostModel/RISCV/reduce-scalable-int.ll |
 | llvm/test/Analysis/CostModel/SystemZ/cmp-ext-02.ll |
 | llvm/test/Analysis/CostModel/ARM/cast.ll |
 | llvm/test/Analysis/CostModel/AArch64/arith-overflow.ll |
 | llvm/test/Analysis/CostModel/PowerPC/insert_extract-inseltpoison.ll |
 | llvm/test/Analysis/CostModel/AArch64/select.ll |
 | llvm/test/Analysis/CostModel/ARM/arith-usat.ll |
 | llvm/test/Analysis/CostModel/AArch64/shuffle-transpose.ll |
 | llvm/test/Analysis/CostModel/SystemZ/cmp-mem.ll |
 | llvm/test/Analysis/CostModel/ARM/logicalop.ll |
 | llvm/test/Analysis/CostModel/ARM/mve-vecreduce-add.ll |
 | llvm/test/Analysis/CostModel/AArch64/aggregates.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/arith-uminmax.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/cast.ll |
 | llvm/test/Analysis/CostModel/AArch64/reduce-and.ll |
 | llvm/test/Analysis/CostModel/RISCV/rvv-intrinsics.ll |
 | llvm/test/Analysis/CostModel/AArch64/cost-scalable-vector-gep.ll |
 | llvm/test/Analysis/CostModel/RISCV/gep.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/fmul.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-vscale.ll |
 | llvm/test/Analysis/CostModel/ARM/gep.ll |
 | llvm/test/Analysis/CostModel/AArch64/neon-stepvector.ll |
 | llvm/test/Analysis/CostModel/ARM/arith-ssat.ll |
 | llvm/test/Analysis/CostModel/ARM/mve-abs.ll |
 | llvm/test/Analysis/CostModel/AArch64/div_cte.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/fround.ll |
 | llvm/test/Analysis/CostModel/RISCV/shuffle-broadcast.ll |
 | llvm/test/Analysis/CostModel/SystemZ/ext-load.ll |
 | llvm/test/Analysis/CostModel/SystemZ/vectorinstrs-inseltpoison.ll |
 | llvm/test/Analysis/CostModel/AArch64/arith-ssat.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/extractelement.ll |
 | llvm/test/Analysis/CostModel/ARM/fptoi_sat.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/arith-ssat.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-cmpsel.ll |
 | llvm/test/Analysis/CostModel/AArch64/reduce-fadd.ll |
 | llvm/test/Analysis/CostModel/SystemZ/int-operands-extcost.ll |
 | llvm/test/Analysis/CostModel/AArch64/min-max.ll |
 | llvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-shuffle-broadcast.ll |
 | llvm/test/Analysis/CostModel/ARM/cast_ldst.ll |
 | llvm/test/Analysis/CostModel/SystemZ/divrem-pow2.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-fpext.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-illegal-types.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/mul.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-intrinsics.ll |
 | llvm/test/Analysis/CostModel/ARM/load_store.ll |
 | llvm/test/Analysis/CostModel/SystemZ/reduce-or.ll |
 | llvm/test/Analysis/CostModel/ARM/mve-cmp.ll |
 | llvm/test/Analysis/CostModel/SystemZ/load-to-trunc.ll |
 | llvm/test/Analysis/CostModel/SystemZ/logical.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-ldst.ll |
 | llvm/test/Analysis/CostModel/SystemZ/scalar-cmp-cmp-log-sel.ll |
 | llvm/test/Analysis/CostModel/SystemZ/cmpsel.ll |
 | llvm/test/Analysis/CostModel/SystemZ/oldarch-vectors.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-widening-instruction.ll |
 | llvm/test/Analysis/CostModel/PowerPC/vsr_load_32_64.ll |
 | llvm/test/Analysis/CostModel/ARM/active_lane_mask.ll |
 | llvm/test/Analysis/CostModel/SystemZ/intrinsics.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/fabs.ll |
 | llvm/test/Analysis/CostModel/ARM/mve-minmax.ll |
 | llvm/test/Analysis/CostModel/RISCV/cast.ll |
 | llvm/test/Analysis/CostModel/AArch64/ctlz.ll |
 | llvm/test/Analysis/CostModel/ARM/target-intrinsics.ll |
 | llvm/test/Analysis/CostModel/free-intrinsics-datalayout.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/logicalop.ll |
 | llvm/test/Analysis/CostModel/AArch64/arith-fp-sve.ll |
 | llvm/test/Analysis/CostModel/RISCV/scalable-gather.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/arith-usat.ll |
 | llvm/test/Analysis/CostModel/AArch64/vector-reduce.ll |
 | llvm/test/Analysis/CostModel/RISCV/reduce-xor.ll |
 | llvm/test/Analysis/CostModel/free-intrinsics-no_info.ll |
 | llvm/test/Analysis/CostModel/AArch64/arith-fp.ll |
 | llvm/test/Analysis/CostModel/AArch64/shuffle-select.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/insertelement.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/add-sub.ll |
 | llvm/test/Analysis/CostModel/AArch64/logicalop.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-gather.ll |
 | llvm/test/Analysis/CostModel/AArch64/ctpop.ll |
 | llvm/test/Analysis/CostModel/AArch64/reduce-or.ll |
 | llvm/test/Analysis/CostModel/SystemZ/logicalop.ll |
 | llvm/test/Analysis/CostModel/AArch64/getIntrinsicInstrCost-vector-reverse.ll |
 | llvm/test/Analysis/CostModel/AArch64/splice.ll |
 | llvm/test/Analysis/CostModel/SystemZ/int-arith.ll |
 | llvm/test/Analysis/CostModel/ARM/reduce-umin.ll |
 | llvm/test/Analysis/CostModel/AArch64/cmp.ll |
 | llvm/test/Analysis/CostModel/AArch64/masked_ldst.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-fptoi.ll |
 | llvm/test/Analysis/CostModel/SystemZ/load-ptr-cmp-fold.ll |
 | llvm/test/Analysis/CostModel/ARM/reduce-smax.ll |
 | llvm/test/Analysis/CostModel/RISCV/active_lane_mask.ll |
 | llvm/test/Analysis/CostModel/PowerPC/vector_unit.ll |
 | llvm/test/Analysis/CostModel/SystemZ/int-cast.ll |
 | llvm/test/Analysis/CostModel/RISCV/fixed-vector-scatter.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/reduce-or.ll |
 | llvm/test/Analysis/CostModel/ARM/reduce-add.ll |
 | llvm/test/Analysis/CostModel/RISCV/load-to-trunc.ll |
 | llvm/test/Analysis/CostModel/PowerPC/ext.ll |
 | llvm/test/Analysis/CostModel/RISCV/reduce-and.ll |
 | llvm/test/Analysis/CostModel/AArch64/reduce-minmax.ll |
 | llvm/test/Analysis/CostModel/ARM/reduce-or.ll |
 | llvm/test/Analysis/CostModel/PowerPC/unal-vec-ldst.ll |
 | llvm/test/Analysis/CostModel/PowerPC/load_store.ll |
 | llvm/test/Analysis/CostModel/RISCV/reduce-max.ll |
 | llvm/test/Analysis/CostModel/ARM/freeshift.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-remainder.ll |
 | llvm/test/Analysis/CostModel/AArch64/arith-widening.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/fadd.ll |
 | llvm/test/Analysis/CostModel/ARM/memcpy.ll |
 | llvm/test/Analysis/CostModel/RISCV/stepvector.ll |
 | llvm/test/Analysis/CostModel/SystemZ/fp-arith.ll |
 | llvm/test/Analysis/CostModel/SystemZ/vectorinstrs.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-bitcast.ll |
 | llvm/test/Analysis/CostModel/AArch64/shuffle-broadcast.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/shifts.ll |
 | llvm/test/Analysis/CostModel/AArch64/masked_ldst_vls.ll |
 | llvm/test/Analysis/CostModel/PowerPC/future-cost-model.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-insert-extract.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/fneg.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/fsub.ll |
 | llvm/test/Analysis/CostModel/SystemZ/divrem-reg.ll |
 | llvm/test/Analysis/CostModel/RISCV/reduce-or.ll |
 | llvm/test/Analysis/CostModel/AArch64/reduce-add.ll |
 | llvm/test/Analysis/CostModel/AArch64/mul.ll |
 | llvm/test/Analysis/CostModel/RISCV/reduce-scalable-fp.ll |
 | llvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll |
 | llvm/test/Analysis/CostModel/ARM/divrem.ll |
 | llvm/test/Analysis/CostModel/AArch64/div.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/fptoui.ll |
 | llvm/test/Analysis/CostModel/ARM/add-cast-vect.ll |
 | llvm/test/Analysis/CostModel/ARM/arith-overflow.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/control-flow.ll |
 | llvm/test/Analysis/CostModel/PowerPC/unaligned_ld_st.ll |
 | llvm/test/Analysis/CostModel/SystemZ/reduce-and.ll |
 | llvm/test/Analysis/CostModel/ARM/arith.ll |
 | llvm/test/Analysis/CostModel/AArch64/vector-select.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-math.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/fma.ll |
 | llvm/test/Analysis/CostModel/PowerPC/cmp-expanded.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/fused_costs.ll |
 | llvm/test/Analysis/CostModel/SystemZ/memop-folding-int-arith.ll |
 | llvm/test/Analysis/CostModel/PowerPC/reduce-and.ll |
 | llvm/test/Analysis/CostModel/ARM/insertelement.ll |
 | llvm/test/Analysis/CostModel/AArch64/abs.ll |
 | llvm/test/Analysis/CostModel/AArch64/rem.ll |
 | llvm/test/Analysis/CostModel/SystemZ/cmp-tofp-scalar.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/gep.ll |
 | llvm/test/Analysis/CostModel/SystemZ/huge-immediates.ll |
 | llvm/test/Analysis/CostModel/ARM/mul-cast-vect.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/arith-sminmax.ll |
 | llvm/test/Analysis/CostModel/AArch64/bitreverse.ll |
 | llvm/test/Analysis/CostModel/RISCV/rvv-select.ll |
 | llvm/test/Analysis/CostModel/ARM/reduce-smin.ll |
 | llvm/test/Analysis/CostModel/RISCV/fixed-vector-gather.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/fptosi.ll |
 | llvm/test/Analysis/CostModel/AArch64/gep.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/fdiv.ll |
 | llvm/test/Analysis/CostModel/RISCV/logicalop.ll |
 | llvm/test/Analysis/CostModel/ARM/reduce-and.ll |
 | llvm/test/Analysis/CostModel/PowerPC/matrix.ll |
 | llvm/test/Analysis/CostModel/AArch64/cast.ll |
 | llvm/test/Analysis/CostModel/AArch64/free-widening-casts.ll |
 | llvm/test/Analysis/CostModel/ARM/mve-active_lane_mask.ll |
 | llvm/test/Analysis/CostModel/AArch64/sve-scatter.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/load-to-trunc.ll |
 | llvm/test/Analysis/CostModel/AArch64/fptoi_sat.ll |
 | llvm/test/Analysis/CostModel/SystemZ/cmp-tofp.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/arith-fp.ll |
 | llvm/test/Analysis/CostModel/ARM/control-flow.ll |
 | llvm/test/Analysis/CostModel/AMDGPU/shufflevector.ll |
 | llvm/test/Analysis/CostModel/RISCV/rvv-shuffle.ll |
 | llvm/test/Analysis/CostModel/AArch64/kryo.ll |
 | llvm/test/Analysis/CostModel/AArch64/reduce-xor.ll |
 | llvm/test/Analysis/CostModel/ARM/fparith.ll |
 | llvm/test/Analysis/CostModel/PowerPC/logicalop.ll |
 | llvm/test/Analysis/CostModel/AArch64/store.ll |
 | llvm/test/Analysis/CostModel/AArch64/shuffle-load.ll |
Commit
558caf6d2bab08c83c372a56124fee9c813186fa
by kazu[MCParser] Fix a warning
This patch fixes:
llvm/lib/MC/MCParser/COFFMasmParser.cpp:333:28: error: comparison of integers of different signs: 'unsigned int' and 'int' [-Werror,-Wsign-compare]
|
 | llvm/lib/MC/MCParser/COFFMasmParser.cpp |
Commit
35bb1f5f340b1242d39646466bc2b9fafa1c60e7
by koraq[NFC][libc++][test] Removes unneeded code.
In D130295 @mumbleskates wondered why `std::strong_ordering::equal` had special code since it's the same as `std::strong_ordering::equivalent`.
This is indeed the case so the special case can be removed.
Reviewed By: mumbleskates, #libc, avogelsgesang, ldionne
Differential Revision: https://reviews.llvm.org/D131419
|
 | libcxx/test/support/test_comparisons.h |
Commit
08b4cf362059bba7a38a22b571395c9801137dad
by szakharin[mlir][math] Added basic support for IPowI operation.
The operation computes pow(b, p), where 'b' and 'p' are signed integers of the same width. The result's type matches the operands' type.
Differential Revision: https://reviews.llvm.org/D129809
|
 | mlir/test/Dialect/Math/ops.mlir |
 | mlir/include/mlir/Dialect/Math/IR/MathOps.td |
Commit
e3b5254d7160abde7e6302548edca2cad8a6b63f
by ibiryukov[MC] Avoid calling vector<FieldInfo> members before FieldInfo is defined
The C++ Standard requires a complete type T when using any members of `vector<T>`, see https://eel.is/c++draft/vector#overview-4.
This only breaks with latest libc++ in C++20 mode and does not show up in common configurations. We have an internal experimental configuration that discovered this.
Reviewed By: alexfh
Differential Revision: https://reviews.llvm.org/D131595
|
 | llvm/lib/MC/MCParser/MasmParser.cpp |
Commit
486594119ddb76eb30af5179f31a158a6b0f79dc
by VenkataRamanaiah.Nalamothu[AMDGPU] Fix prologue/epilogue markers in .debug_line table for trivial functions
All the prologue instruc |