- Dec 16, 2022
-
-
Kai Luo authored
The archive is generated via ``` touch foo.c ar crus libfoo.a foo.c ar d libfoo.a foo.c ``` Thus it contains free list. Differential Revision: https://reviews.llvm.org/D138985
-
Matt Arsenault authored
We should probably handle any 32-bit type here, but the intrinsic definition and selection pattern currently do not. Avoids a few lit tests failures when switched on by default.
-
Peter Klausler authored
When a function has an implicit interface its result type may not have a deferred type parameter. Differential Revision: https://reviews.llvm.org/D140132
-
Shubham Sandeep Rastogi authored
Differential Revision: https://reviews.llvm.org/D134817
-
wren romano authored
Reviewed By: aartbik, Peiming Differential Revision: https://reviews.llvm.org/D140171
-
Jordan Rupprecht authored
-
Peter Klausler authored
Semantic checking for DEALLOCATE statements omitted checks for polymorphic objects and ultimate allocatable components in a pure procedure, which if not caught would allow execution of an impure FINAL subroutine defined on a type extension. Differential Revision: https://reviews.llvm.org/D140129
-
Rob Suderman authored
When using a tosa resize for ?x1x1x? to ?x1x?x? we should avoid doing a 2D interpolation as only two unique values are loaded. As the extract operation performance numerical computation on its values the superfluous extracts may fail to be coalesced. Instead we only interpolate between the values if there are multiple values to interpolate between. For the integer case we also perform scaling by the scaling-factor to apply the same integer scaling behavior as interpolation. Reviewed By: jpienaar, NatashaKnk Differential Revision: https://reviews.llvm.org/D139979
-
Igor Zhukov authored
Reviewed By: Mordante, philnik, #libc Differential Revision: https://reviews.llvm.org/D139791
-
Aart Bik authored
Reviewed By: wrengr, bixia Differential Revision: https://reviews.llvm.org/D140165
-
Jan Svoboda authored
-
Peiming Liu authored
Reviewed By: aartbik, wrengr Differential Revision: https://reviews.llvm.org/D140172
-
Craig Topper authored
Previously we had a shared ID in SelectionDAGISel. AMDGPU has an initializePass function for its subclass of SelectionDAGISel. No other target does. This causes all target specific SelectionDAGISel passes to be known as "amdgpu-isel". I'm not sure what would happen if another target tried to implement an initializePass function too since the ID is already claimed. This patch gives all targets their own ID and passes it down to SelectionDAGISel constructor to MachineFunctionPass's constructor. Unfortunately, I think this causes most targets to lose print-before/after-all support for their SelectionDAGISel pass. And they probably no longer support start/stop-before/after. We can add initializePass functions to fix this as a follow up. NOTE: This was probably also broken if the AMDGPU target isn't compiled in. Step 1 to fixing PR59538. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D140161
-
Jez Ng authored
This reverts commit 6736bce6. It's causing Swift-related crashes in e.g. https://bugs.chromium.org/p/chromium/issues/detail?id=1400716 and elsewhere.
-
Alexander Timofeev authored
Sometimes we have a constant value loaded to VGPR. In case we further need to rematrerialize it in the physical scalar register we may avoid VGPR to SGPR copy replacing it with S_MOV_B32. Reviewed By: JonChesterfield, arsenm Differential Revision: https://reviews.llvm.org/D139874
-
Mitch Phillips authored
This reverts commit 78f786d0. Internal use cases have been migrated. This has been on life support for a long time. Now that -fsanitize=scudo is scudo_standalone, this can be removed. Tests are sticking around for now to be reused for scudo_standalone later on.
-
Kevin Sala authored
This commit adds the AMDGPU NextGen plugin inheriting from PluginInterface's classes. It also implements the asynchronous behavior in the plugin operations: kernel launches and memory transfers. To this end, it implements the concept of streams of asynchronous operations. The streams are implemented using the HSA signals to define input and output dependencies between asynchronous operations. Missing features: - Retrieve the maximum number of threads per group that a kernel can run. This requires reading the image. - Implement __tgt_rtl_sync_event, not used on the libomptarget side. Differential Revision: https://reviews.llvm.org/D138389 -
Hanhan Wang authored
The pattern generalizes a tensor::PackOp into a sequence of tensor + Linalg ops, when the outer dims are all 1s. It uses the trick of rank-reduced tensor.extract_slice to get the tile; transpose the tile; use tensor.insert_slice to insert it to the destination of inner tile. Reviewed By: pifon2a, tyb0807 Differential Revision: https://reviews.llvm.org/D140060
-
Peter Klausler authored
In type-bound generic resolution, when the actual argument is monomorphic, resolve the call to the target of the most recent (i.e., least deeply inherited) override of the binding, if any. Differential Revision: https://reviews.llvm.org/D140127
-
Paul Robinson authored
Part of the project to eliminate special handling for triples in lit expressions.
-
Michael Buch authored
Before: ``` wrote too much data somewhere, section offsets don't line up ``` After: ``` wrote too much data somewhere, section offsets in section __debug_str for segment __DWARF don't line up: [cursor=0x581], [fileStart=0x0], [sectionOffset=0x579] ``` Differential Revision: https://reviews.llvm.org/D140116
-
Michael Buch authored
Currently the test-suite would swallow the error message on `llvm::yaml::convertYAML` failures. This patch simply propagates the error string up to the caller. Before patch: ``` [ RUN ] DWARFASTParserClangTests.TestDefaultTemplateParamParsing /Users/michaelbuch/Git/llvm-worktrees/playground/lldb/unittests/TestingSupport/Symbol/YAMLModuleTester.cpp:19: Failure Value of: llvm::detail::TakeExpected(File) Expected: succeeded Actual: failed (convertYAML() failed: ) Assertion failed: (!HasError && "Cannot get value when an error exists!"), function getStorage, file Error.h, line 671. ``` After patch: ``` [ RUN ] DWARFASTParserClangTests.TestDefaultTemplateParamParsing /Users/michaelbuch/Git/llvm-worktrees/playground/lldb/unittests/TestingSupport/Symbol/YAMLModuleTester.cpp:19: Failure Value of: llvm::detail::TakeExpected(File) Expected: succeeded Actual: failed (convertYAML() failed: wrote too much data somewhere, section offsets don't line up) Assertion failed: (!HasError && "Cannot get value when an error exists!"), function getStorage, file Error.h, line 671. ``` Differential Revision: https://reviews.llvm.org/D140112
-
Paul Robinson authored
Part of the project to eliminate special handling for triples in lit expressions.
-
Kazu Hirata authored
I've eliminated all uses of LLVM_HAVE_TF_API except a couple of them being removed in llvm/lib/CodeGen/CMakeLists.txt. This patch removes remaining definitions and uses of LLVM_HAVE_TF_API. Differential Revision: https://reviews.llvm.org/D140169
-
Florian Hahn authored
Merging blocks in LoopRotate may remove blocks reference in the block disposition cache. Clear the cache. Fixes #59534.
-
Paul Robinson authored
Part of the project to eliminate special handling for triples in lit expressions.
-
Paul Robinson authored
Part of the project to eliminate special handling for triples in lit expressions.
-
Kazu Hirata authored
We are in the process of retiring LLVM_HAVE_TF_API in favor of LLVM_HAVE_TFLITE. This patch takes care of the transition in llvm/test. Differential Revision: https://reviews.llvm.org/D140133
-
Peter Klausler authored
The result can't be known to be true at compilation time when either operand is polymorphic. Differential Revision: https://reviews.llvm.org/D140126
-
Saleem Abdulrasool authored
MSVC requires that C++23 be available (_HAS_CXX23) else the entire content is elided. Conditionalise the inclusion properly so that C/C++ code using stdatomic.h for memory_order_* constants are able to do so without changing the C++ standard. This repairs builds of Swift and libdispatch after ba49d39b. Differential Revision: https://reviews.llvm.org/D139266 Reviewed By: aaron.ballman, Mordante, fsb4000
-
Tommy Chiang authored
-
Kai Nacke authored
Adds support for i64 constant. It uses the same pattern-based approach as in SDAG (see PPCISelDAGToDAG::selectI64ImmDirect(), PPCISelDAGToDAG::selectI64Imm()). It does not support the prefixed instructions. Reviewed By: arsenm, tschuett Differential Revision: https://reviews.llvm.org/D140119
-
Vasileios Porpodas authored
This is part of a series of patches that aim at making Function::getBasicBlockList() private. Differential Revision: https://reviews.llvm.org/D140121
-
Siva Chandra Reddy authored
Along the way, setting of errno has been moved out of the internal code. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D140078
-
Michael Jones authored
The internal uint class had a bug introduced recently when optimizing the shift routines. When calculating the value of a block, it would shift an adjacent block by 64 - the shift amount. If the shift amount was 0, this would be a shift of 64, which is undefined for a 64 bit integer. This patch fixes this by adding a conditional to catch this case. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D140070
-
Dimitry Andric authored
This avoids potential memory allocation failures, if VSInstallPath is not empty, but also does not contain the string "\Common7\IDE". Fixes: https://github.com/llvm/llvm-project/issues/59434 Reviewed By: mstorsjo Differential Revision: https://reviews.llvm.org/D140019
-
Dimitry Andric authored
This reverts commit cc40dacb.
-
Dimitry Andric authored
This avoids potential memory allocation failures, if VSInstallPath is not empty, but also does not contain the string "\Common7\IDE". Fixes: https://github.com/llvm/llvm-project/issues/59434 Reviewed By: mstorsjo Differential Revision: https://reviews.llvm.org/D140019
-
Vasileios Porpodas authored
[NFC] Rename Instruction::insertAt() to Instruction::insertInto(), to be consistent with BasicBlock::insertInto() Differential Revision: https://reviews.llvm.org/D140085
-
Paul Robinson authored
Part of the project to eliminate special handling for triples in lit expressions.
-