- Dec 12, 2022
-
-
Haojian Wu authored
-
Sylvain Audi authored
Those 2 pragmas are ignored by MSVC when not compiling with /CLR, which clang doesn't support. Ignore them in clang -fms-extensions, to avoid -Wunknown-pragma warnings Differential Revision: https://reviews.llvm.org/D139632
-
Guillaume Chatelet authored
Differential Revision: https://reviews.llvm.org/D139836
-
Carlos Galvez authored
-
Zain Jaffal authored
This is a recommit of f9e03907 The previous commit failed to handle cases where the zero extended operand is an extended `BUILD_VECTOR`. We don't replace zext with a sext operand to select smull if any operand is `BUILD_VECTOR` Original commit message: we can safely replace a `zext` instruction with `sext` if the top bit is zero. This is useful because we can select `smull` when both operands are sign extended. Reviewed By: fhahn, dmgreen Differential Revision: https://reviews.llvm.org/D134711
-
Zain Jaffal authored
This reverts commit c07a01c2.
-
Guillaume Chatelet authored
-
David Green authored
-
Nikita Popov authored
-
Haojian Wu authored
-
Guillaume Chatelet authored
-
Felipe de Azevedo Piovezan authored
This utility will be useful in subsequent patches, as such we expose it in the DebugInfoMetadata header. Depends on D139669 Differential Revision: https://reviews.llvm.org/D139670
-
Guillaume Chatelet authored
This one goes hand in hand with D139819 Reviewed By: courbet Differential Revision: https://reviews.llvm.org/D139826
-
Carlos Galvez authored
No need for the templated function "processMatch", since we can infer the type with llvm:isa.
-
Haojian Wu authored
This information is useful when printing the reference for debugging purposes. Differential Revision: https://reviews.llvm.org/D139835
-
Nikita Popov authored
-
Nikita Popov authored
This reverts commit bb48aa20. Using placeholders inside CHECK-LABEL is not legal.
-
Tom Eccles authored
The fastmath test checks that crtfastmath.o is added between crtbeginS.o and crtendS.o. On some systems, crtend is called crtend.o - match these too. Related to https://reviews.llvm.org/D138675
-
Matthias Springer authored
The structure of the code has changed a while ago and the code was not updated properly. There is no test case for this because we do currently not have an op that could trigger this bug. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D139838
-
Matthias Springer authored
The op is not bufferizable but should be analyzable (for `EliminateEmptyTensors`, which uses the bufferization infrastructure). Also improve debugging functionality and error messages. Also adds a missing pass to the sparse pipeline. (tensor.empty should be replaced with bufferization.alloc_tensor, but it sometimes used to work without depending on how the tensor.empty is used. Now we always fail explicitly.)
-
Guillaume Chatelet authored
This patch supersedes D138705. Differential Revision: https://reviews.llvm.org/D139819
-
Valentin Clement authored
pointer association to a polymorphic pointer needs to potentially update the element size in the descriptor. Update the pointer association to polymoprhic pointer with a runtime call to PointerAssociate. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D139825
-
Chen Zheng authored
-
Chen Zheng authored
Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D135535
-
Alex Zinenko authored
Now we have more convenient functions to construct silenceable errors while emitting diagnostics, and the constructor is ambiguous as it doesn't tell whether the logical error is silencebale or definite. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D137257
-
Haojian Wu authored
-
Chen Zheng authored
Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D134792
-
Max Kazantsev authored
Due to changes in update script, it now has 'define' prefix in every check, which is distracting.
-
Haojian Wu authored
gmock-more-matchers.h is a private header, we should use gmock.h which is already included in the test.
-
Simon Pilgrim authored
There might not be any exposed alu pipe counters for us to measure - but the sum of load/store uop counters seems to give a really good approximation to memory controller usage - even for more complex instructions like cmpxchg
-
Max Kazantsev authored
Just to make sure our transforms work correctly with them.
-
Tom Eccles authored
These warnings prevent compilation using clang and -DLLVM_ENABLE_WERROR=On. Differential revision: https://reviews.llvm.org/D139322
-
Nicholas Guy authored
The tests in question are not particularly useful for testing complex deinterleaving, especially due to i64 complex adds not being supported in mve. The tests are being removed as they are hitting an unrelated pre-existing condition regarding register spilling.
-
Nicholas Guy authored
Differential Revision: https://reviews.llvm.org/D139628
-
Peter Waller authored
The prior code worked before SVE DIV was enabled 128 bit vectors. With 128 bit vectors, when run on a 256 bit machine, it would split and do a signed unpack, but this resulted in one full vector and one empty vector with a half-sized predicate. The effect was that only half the elements were treated correctly. The fix is to bisect the vector, sign extend, do the division, truncate and then concat. Fixes #59357. Differential Revision: https://reviews.llvm.org/D139618
-
Sebastian Neubauer authored
Previously, the label also matched function calls with the function name, which caused tests to fail because the label matched on the wrong line. Add the `define` prefix, so only function defines are matched. Differential Revision: https://reviews.llvm.org/D139006
-
Tom Eccles authored
The fastmath test checks that crtfastmath.o is added between crtbeginS.o and crtend.o. On some systems the first file is instead called crtbegin.o - match these too. Related to https://reviews.llvm.org/D138675
-
Sameer Sahasrabuddhe authored
-
Max Kazantsev authored
It is a preparatory step for further improvements.
-
Markus Böck authored
To reproduce: Download and run the latest Firefox ASAN build (https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.mozilla-central.latest.firefox.win64-asan-opt/artifacts/public/build/target.zip) on Windows 11 (version 10.0.22621 Build 22621); it will crash on launch. Note that this doesn't seem to crash on another Windows 11 VM I've tried, so I'm not sure how reproducible it is across machines, but it reproduces on my machine every time. The problem seems to be that when overriding the memset function in OverrideFunctionWithRedirectJump(), the relative_offset is stored as a uptr. Per the Intel x64 instruction set reference (https://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-instruction-set-reference-manual-325383.pdf - warning: large PDF), on page 646 the jmp instruction (specifically the near jump flavors that start with E9, which are the ones the OverrideFunctionWithRedirectJump() considers) treats the offset as a signed displacement. This causes an incorrect value to be stored for REAL(memset) which points to uninitialized memory, and a crash the next time that gets called. The fix is to simply treat that offset as signed. I have also added a test case. Fixes https://github.com/llvm/llvm-project/issues/58846 Differential Revision: https://reviews.llvm.org/D137788
-