- Jun 03, 2022
-
-
Timm Bäder authored
The ZeroWidth paramter is unused in every call site of VerifyBitField.
-
Martin Boehme authored
Previously, we were treating a move in the lambda capture as if it happened within the body of the lambda, not within the function that defines the lambda. This fixes the same bug as https://reviews.llvm.org/D119165 (which it appears may have been abandoned by the author?) but does so more simply. Reviewed By: njames93 Differential Revision: https://reviews.llvm.org/D126780
-
Fangrui Song authored
This reverts commit 9980c997. Caused assertion failures: https://reviews.llvm.org/D115462#3555350
-
Nicolas Vasilache authored
`scf.foreach_thread` results alias with the underlying `scf.foreach_thread.parallel_insert_slice` destination operands and they bufferize to equivalent buffers in the absence of other conflicts. `scf.foreach_thread.parallel_insert_slice` conflict detection is similar to `tensor.insert_slice` conflict detection. Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D126769
-
Jonas Hahnfeld authored
This is required to find headers on the Debian port for RISC-V. Differential Revision: https://reviews.llvm.org/D126672
-
Martin Storsjö authored
The backend now can generate working unwind information for this target. Improve the existing windows-exceptions.cpp testcase to check for the state of unwind tables on all MSVC architectures. Differential Revision: https://reviews.llvm.org/D126862
-
Martin Storsjö authored
Previously, the "add sp, #12" ended up inserted after "bx lr". Differential Revision: https://reviews.llvm.org/D126872
-
Timm Bäder authored
Instead of adding all devtoolset and gcc-toolset prefixes to the list of prefixes, just scan the /opt/rh/ directory for the one with the highest version number and only add that one. Differential Revision: https://reviews.llvm.org/D125862
-
Alexander Batashev authored
Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D126594
-
bzcheeseman authored
This patch updates the document with some advanced use cases and examples on how to set up and use LLVM-style RTTI. It includes a few motivating examples to get readers comfortable with the concepts. Reviewed By: lattner Differential Revision: https://reviews.llvm.org/D126943
-
Max Kazantsev authored
This execution path leads to return 'false' where the Worklist will be deallocated anyways. No need to clear it separately.
-
Serguei Katkov authored
If all available vals to basic block are the same - do not build new phi node and just use this value. Reviewed By: sameerds Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D126525
-
Tue Ly authored
Detect if the architecture supports FMA instructions and if the targets depend on fma. Reviewed By: gchatelet Differential Revision: https://reviews.llvm.org/D123615
-
Douglas Chen authored
This patch is trying to fix issue 48588(https://github.com/llvm/llvm-project/issues/48588) I found the results of Instruction Selection between SelectionDAG and FastISEL for the `%mul = mul i32 %A, 4294967295`: (seldag-isel) mul --> sub --> SUB32dp (fast-isel) mul --> sub --> NEG32d My patch to fix this issue is by overriding a virtual function M68kDAGToDAGISel::IsProfitableToFold(). Return `false` when it was trying to match with SUB, then it will match with NEG. Reviewed By: myhsu Differential Revision: https://reviews.llvm.org/D116886
-
Thomas Raoux authored
ldmatrix transpose can only be used with types that are 16bits wide. Differential Revision: https://reviews.llvm.org/D126846
-
Serguei Katkov authored
-
Thomas Raoux authored
Add an option to predicate the epilogue within the kernel instead of peeling the epilogue. This is a useful option to prevent generating large amount of code for deep pipeline. This currently require a user lamdba to implement operation predication. Differential Revision: https://reviews.llvm.org/D126753
-
Craig Topper authored
The immediate range check for CSImm12MulBy8 included some values covered by CSImm12MulBy4. I assume CSImm12MulBy4 had priority due to pattern order in the td file, but this makes the priority explicit in the predicate.
-
Fangrui Song authored
-
Fangrui Song authored
echo.ll is unchanged to test typed pointers.
-
River Riddle authored
These effectively all share the same implementation, i.e. forward to the non-templated overload and then construct the container op.
-
Amir Ayupov authored
Follow LLVM style guide suggestion to avoid function definitions in anonymous namespaces: https://llvm.org/docs/CodingStandards.html#anonymous-namespaces Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D124896
-
Shilei Tian authored
-
Shilei Tian authored
This patch adds the codegen support for `atomic compare capture` in clang. Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D120290
-
Amir Ayupov authored
Clang's doxygen documentation specifies LLVM revision. Do the same for BOLT. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D126912
-
Daniil Suchkov authored
Reverting the commit due to numerous buildbot failures. This reverts commit 00633447.
-
Mike Rice authored
-
Akira Hatanaka authored
brace-init-list containing a single element of a different scoped enumeration type It is rejected because it doesn't satisfy the condition that the element has to be implicitly convertible to the underlying type of the enumeration. http://eel.is/c++draft/dcl.init.list#3.8 Differential Revision: https://reviews.llvm.org/D126084
-
Aart Bik authored
Similar to complex128/complex64, float16 has no direct support in the ctypes implementation. This fixes the issue by using a custom F16 type to change the view in and out of MLIR code Reviewed By: wrengr Differential Revision: https://reviews.llvm.org/D126928
-
-
River Riddle authored
Since version 0.7 we've added: * Initial language support for TableGen * Tweaked syntax highlighting for PDLL * Added a new command to view intermediate PDLL output
-
River Riddle authored
This commit enables providing long-form documentation more seamlessly to the LSP by revamping decl documentation. For ODS imported constructs, we now also import descriptions and attach them to decls when possible. For PDLL constructs, the LSP will now try to provide documentation by parsing the comments directly above the decls location within the source file. This commit also adds a new parser flag `enableDocumentation` that gates the import and attachment of ODS documentation, which is unnecessary in the normal build process (i.e. it should only be used/consumed by tools). Differential Revision: https://reviews.llvm.org/D124881
-
Arjun P authored
Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D126790
-
Chia-hung Duan authored
The assertion should come after null check
-
Nicolas van Kempen authored
modernize-use-emplace only recommends going from a push_back to an emplace_back, but does not provide a recommendation when emplace_back is improperly used. This adds the functionality of warning the user when an unecessary temporary is created while calling emplace_back or other "emplacy" functions from the STL containers. Reviewed By: kuhar, ivanmurashko Differential Revision: https://reviews.llvm.org/D101471
-
Congzhe Cao authored
This patch proposed to use a new cost model for loop interchange, which is obtained from loop cache analysis. Given a loopnest, what loop cache analysis returns is a vector of loops [loop0, loop1, loop2, ...] where loop0 should be replaced as the outermost loop, loop1 should be placed one more level inside, and loop2 one more level inside, etc. What loop cache analysis does is not only more comprehensive than the current cost model, it is also a "one-shot" query which means that we only need to query it once during the entire loop interchange pass, which is better than the current cost model where we query it every time we check whether it is profitable to interchange two loops. Thus complexity is reduced, especially after D120386 where we do more interchanges to get the globally optimal loop access pattern. Updates made to test cases are mostly minor changes and some corrections. Test coverage for loop interchange is not reduced. Currently we did not completely remove the legacy cost model, but keep it as fall-back in case the new cost model did not run successfully. This is because currently we have some limitations in delinearization, which sometimes makes loop cache analysis bail out. The longer term goal is to enhance delinearization and eventually remove the legacy cost model compeletely. Reviewed By: bmahjour, #loopoptwg Differential Revision: https://reviews.llvm.org/D124926
-
Paul Pluzhnikov authored
This is alternative to https://reviews.llvm.org/D121733 and helps with Clang header modules in which FILE may expand to "./foo.h" or "foo.h" depending on whether the file was included directly or not. Only do this when UseTargetPathSeparator is true, as we are already changing the path in that case. Reviewed By: ayzhao Differential Revision: https://reviews.llvm.org/D126396
-
Shilei Tian authored
This patch removes all `IgnoreImpCasts` in Sema, and only uses it if necessary. If the expression is not of the same type as the pointer value, a cast is inserted. Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D126602
-
Paul Robinson authored
-
Mehdi Amini authored
This reverts commit 1350c988. Shared library build is broken with undefined references.
-