- Jul 29, 2020
-
-
Matt Arsenault authored
Remove the custom node boilerplate. Not sure why this tried to handle the LDS atomic stuff.
-
Chris Gyurgyik authored
-
David Sherwood authored
Previous patches fixed up all the warnings in this test: llvm/test/CodeGen/AArch64/sve-sext-zext.ll and this change simply checks that no new warnings are added in future. Differential revision: https://reviews.llvm.org/D83205
-
David Sherwood authored
In DAGTypeLegalizer::SplitVecOp_EXTRACT_SUBVECTOR I have replaced calls to getVectorNumElements with getVectorMinNumElements, since this code path works for both fixed and scalable vector types. For scalable vectors the index will be multiplied by VSCALE. Fixes warnings in this test: sve-sext-zext.ll Differential revision: https://reviews.llvm.org/D83198
-
Alex Zinenko authored
The current modeling of LLVM IR types in MLIR is based on the LLVMType class that wraps a raw `llvm::Type *` and delegates uniquing, printing and parsing to LLVM itself. This is model makes thread-safe type manipulation hard and is being progressively replaced with a cleaner MLIR model that replicates the type system. In the new model, LLVMType will no longer have an underlying LLVM IR type. Restrict access to this type in the current model in preparation for the change. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D84389
-
Florian Hahn authored
Without asserts, it might take a long time for the tests to crash. Only run them with assert builds.
-
Yevgeny Rouban authored
In addition to removing phi nodes this patch removes any landing pad that the dead exit block might have. Without this fix Verifier complains about a new switch instruction jumps to a block with a landing pad. Differential Revision: https://reviews.llvm.org/D84320
-
Pushpinder Singh authored
cmake was still considering the empty value of ${fake_version_inc} even if it was not defined. Reviewed By: vsapsai Differential Revision: https://reviews.llvm.org/D82847 -
Simon Pilgrim authored
-
Georgii Rymar authored
This introduces the printRelocationsHelper() which now contains the common code used by both GNU and LLVM output styles. Differential revision: https://reviews.llvm.org/D83935
-
Hafiz Abid Qadeer authored
Libunwind uses _LIBUNWIND_IS_BAREMETAL in a lot of places but there is no cmake variable to set it. This patch adds such a variable. It is quite like what LIBCXXABI_BAREMETAL does in libcxxabi. Reviewed By: compnerd, #libunwind Differential Revision: https://reviews.llvm.org/D84759
-
Frederik Gossen authored
Operating on indices and extent tensors directly, the type conversion is no longer needed for the supported cases. Differential Revision: https://reviews.llvm.org/D84442
-
Stephan Herhut authored
This adds conversions for const_size and to_extent_tensor. Also, cast-like operations are now folded away if the source and target types are the same. Differential Revision: https://reviews.llvm.org/D84745
-
Simon Pilgrim authored
If the mask input to getV4X86ShuffleImm8 only refers to a single source element (+ undefs) then canonicalize to a full broadcast. getV4X86ShuffleImm8 defaults to inline values for undefs, which can be useful for shuffle widening/narrowing but does leave SimplifyDemanded* calls thinking the shuffle depends on unnecessary elements. I'm still investigating what we should do more generally to avoid these undemanded elements, but broadcast cases was a simpler win.
-
Frederik Gossen authored
Differential Revision: https://reviews.llvm.org/D84441
-
Xing GUO authored
This patch makes the check lines stricter.
-
Xing GUO authored
Normally, we use yaml::Hex* to describe the length, offsets, address/segment size. NFC.
-
Kirill Bobyrev authored
Some buildbots require explicit clangdSupport dependency: http://lab.llvm.org:8011/builders/llvm-avr-linux/builds/3996/steps/build%20stage%201/logs/stdio
-
George Mitenkov authored
Conversion of `spv.BranchConditional` now supports branch weights that are mapped to weights vector in `llvm.cond_br`. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D84657
-
Nathan Ridge authored
Summary: It returned an invalid location in case of a constrained-parameter with no explicit arguments. Reviewers: hokein Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D84613
-
Juneyoung Lee authored
-
Stephan Bergmann authored
...which is set based on HAVE_RPC_XDR_H. At least Fedora 32 does not have a /usr/include/rpc/xdr.h, so failed this test introduced with <https://reviews.llvm.org/D83358> "[Sanitizers] Add interceptor for xdrrec_create". Differential Revision: https://reviews.llvm.org/D84740
-
George Mitenkov authored
Added a check for 'Function' storage class in `spv.globalVariable` verifier since it only can be used with `spv.Variable`. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D84731
-
George Mitenkov authored
This patch adds support of Volatile and Nontemporal memory accesses to `spv.Load` and `spv.Store`. These attributes are modelled with a `volatile` and `nontemporal` flags. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D84739
-
Anh Tuyen Tran authored
Function void run() on line 286 overrides a virtual function on line 92 of clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp. Not marking it override will cause a build failure when we use -Werror (every warning is treated as an error). Reviewed By: kbobyrev (Kirill Bobyrev) Differential Revision: https://reviews.llvm.org/D84794
-
Azharuddin Mohammed authored
The test output files whose atime is altered in the test were getting accessed by Spotlight indexing on macOS, causing them to get an updated atime and leading to the test not behaving as expected. Reviewed By: jhenderson, steven_wu Differential Revision: https://reviews.llvm.org/D84700
-
Ikhlas Ajbar authored
This patch corrects the order of operands in the pattern that lowers fshl in Hexagon.
-
Chuanqi Xu authored
-
Chuanqi Xu authored
-
Xing GUO authored
This patch addresses comments in D84640 (https://reviews.llvm.org/D84640#2178475).
-
Artem Dergachev authored
Noticed by Jon Roelofs in https://reviews.llvm.org/D73151#2180499
-
Stefanos Baziotis authored
We can implement find_first_unset_in() in the same function if every BitWord we use is first flipped. Differential Revision: https://reviews.llvm.org/D84717
-
Kang Zhang authored
-
Matt Arsenault authored
It's possible to have terminator instructions after a write to exec, so skip over them to find it.
-
Matt Arsenault authored
This introduces the same bug llvm.amdgcn.s.setreg has where if the user specified an immediate outside of the valid 16-bit range, it will select into a verifier error.
-
Rahul Joshi authored
- Add getArgumentTypes() to Region (missed from before) - Adopt Region argument API in `hasMultiplyAddBody` - Fix 2 typos in comments Differential Revision: https://reviews.llvm.org/D84807
-
Thomas Lively authored
Instead, pattern match extends of extract_subvectors to generate widening operations. Since extract_subvector is not a legal node, this is implemented via a custom combine that recognizes extract_subvector nodes before they are legalized. The combine produces custom ISD nodes that are later pattern matched directly, just like the intrinsic was. Also removes the clang builtins for these operations since the instructions can now be generated from portable code sequences. Differential Revision: https://reviews.llvm.org/D84556
-
Craig Topper authored
We already had CMPXCH8B feature on this CPU for the frontend so this doesn't have much effect. The FeatureSlowUAMem16 only matters if someone compiles with -march=lakemont -msse which doesn't make sense, but is consistent with all our pre-sse4.2 CPUs. Maybe the feature flag should be FeatureFastUAMem16 and set on the newer CPUs instead.
-
Matt Arsenault authored
Currently GlobalISel doesn't force all VGPR phi operands to VGPRs, so this hit a case where it was queried with a VGPR and SGPR. This could arguably be a verifier error, but it's currently not.
-
Valentin Clement authored
Add wrapper classes to to access record's fields. This makes it easier to pass record information to the diverse functions for code generation. Reviewed By: jdenny Differential Revision: https://reviews.llvm.org/D84612
-