- May 07, 2021
-
-
Matthew Voss authored
Differential Revision: https://reviews.llvm.org/D101110
-
peter klausler authored
What the Fortran standard calls "preconnected" external I/O units might not be known to be connected to unformatted or formatted files until the first I/O data transfer statement is executed. Support this deferred determination by representing the flag as a tri-state Boolean and adapting its points of use. Differential Revision: https://reviews.llvm.org/D101929
-
Arthur Eubanks authored
Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D101961
-
thomasraoux authored
-
thomasraoux authored
This expose a lambda control instead of just a boolean to control unit dimension folding. This however gives more control to user to pick a good heuristic. Folding reshapes helps fusion opportunities but may generate sub-optimal generic ops. Differential Revision: https://reviews.llvm.org/D101917
-
Thomas Lively authored
The builtins were updated to take signed parameters in 627a5269, but the intrinsics that use those builtins were not updated as well. The intrinsic test did not catch this sign mismatch because it is only reported as an error under -fno-lax-vector-conversions. This commit fixes the type mismatch and adds -fno-lax-vector-conversions to the test to catch similar problems in the future. Differential Revision: https://reviews.llvm.org/D101979
-
Stefan Pintilie authored
This fixes an issue where mixed TOC / NOTOC calls can call the incorrect thunks if a previous thunk already exists. The issue appears when a TOC funciton calls a NOTOC callee and then a different NOTOC function calls the same NOTOC callee. In this case the linker would sometimes incorrectly call the same thunk for both cases. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D101837
-
Craig Topper authored
Looks like these got left behind when vleff isel was moved to X86ISelDAGToDAG.cpp
-
Hubert Tong authored
As mentioned before in D78813, currently the XCOFF backend does not support writing 64-bit object files, which the ORC JIT tests will try to exercise if we are on AIX. This patch disables the tests on AIX for now. This is consistent with what's been done, for example, regarding `armv7`. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D101971
-
Denys Shabalin authored
Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D101998
-
Jonas Paulsson authored
Expand 128 bit shifts instead of using a libcall. This patch removes the 128 bit shift libcalls and thereby causes ExpandShiftWithUnknownAmountBit() to be called. Review: Ulrich Weigand Differential Revision: https://reviews.llvm.org/D101993
-
- May 06, 2021
-
-
Craig Topper authored
Rename RVInstR4 as used by F/D/Zfh extensions to RVInstR4Frm. Introduce new RVInstR4 that takes funct3 as a parameter. Add new format classes for FSRI and FSRIW instead of trying to bend RVInstR4 to use a shamt overlayed on rs2 and funct2. Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D100427
-
Fraser Cormack authored
-
David Goldman authored
Treat them just like we do for properties - as a `property` semantic token although ideally we could differentiate the two. Differential Revision: https://reviews.llvm.org/D101785
-
Stanislav Mekhanoshin authored
AMDGPUAsmParser::isSupportedDPPCtrl() was failing to correctly find a DPP register operand, regadless of the position it is always src0. Moved this check into a new validateDPP() method where we have full instruction already. In particular it was failing to reject this case: v_cvt_u32_f64 v5, v[0:1] quad_perm:[0,2,1,1] row_mask:0xf bank_mask:0xf Essentially it was broken for any case where size of dst and src0 differ. It also improves the diagnostics with a proper error message. The check in the InstPrinter also drops verification of the dst register as it does not have anything to do with the dpp operand. Differential Revision: https://reviews.llvm.org/D101930
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Jez Ng authored
ld64 can emit dylibs that support more than one platform (typically macOS and macCatalyst). This diff allows LLD to read in those dylibs. Note that this is a super bare-bones implementation -- in particular, I haven't added support for LLD to emit those multi-platform dylibs, nor have I added a variety of validation checks that ld64 does. Until we have a use-case for emitting zippered dylibs, I think this is good enough. Fixes PR49597. Reviewed By: #lld-macho, oontvoo Differential Revision: https://reviews.llvm.org/D101954
-
Jez Ng authored
It doesn't seem like TBDv3 allows for specifying multiple platforms, so I'm upgrading us to TBDv4. (We need to support multiple platforms in order to test that we can handle zippered dylibs; that functionality will be added in an upcoming diff.) Differential Revision: https://reviews.llvm.org/D101953
-
thomasraoux authored
-
thomasraoux authored
Differential Revision: https://reviews.llvm.org/D101955
-
Nemanja Ivanovic authored
This was reverted in 3761b9a2 just as I was about to commit the fix. This patch inlcudes the necessary fix.
-
Austin Kerbow authored
NFC.
-
David Spickett authored
Since https://reviews.llvm.org/D101849 this test has been failing on bots that only enable either Arm or AArch64 targets. See: https://lab.llvm.org/buildbot/#/builders/107/builds/7601 Temporarily requires X86 for this test while the difference is figured out.
-
Louis Dionne authored
This is a rough reapplication of the change that fixed std::to_address to avoid relying on element_type (da456167). It is somewhat different because the fix to avoid breaking Clang (which caused it to be reverted in 347f69c5) was a bit more involved. Differential Revision: https://reviews.llvm.org/D101638
-
Victor Huang authored
- Add branch absolute reloction R_RBA, R_TLS relocation for the variable offset for the tlsgd model and R_TLSM for the region handle for the tlsgd model - Properly set the relocation fixed values for R_TLS and R_TLSM - Emit the TCEntry with the variant kind in the XCOFFStreamer Reviewed by: sfertile, nemanjai, DiggerLin Differential Revision: https://reviews.llvm.org/D100214
-
Nico Weber authored
This reverts commit ed87f512. Breaks check-clang, see e.g. https://lab.llvm.org/buildbot/#/builders/139/builds/3818
-
Raphael Isemann authored
-
Jay Foad authored
-
Nemanja Ivanovic authored
This adds additional support for XL compatibility. There are a number of functions in altivec.h that produce a single instruction (or a very short sequence) for Power8 but can be done on Power7 without scalarization. XL provides these implementations. This patch adds the following overloads for doubleword vectors: vec_add vec_cmpeq vec_cmpgt vec_cmpge vec_cmplt vec_cmple vec_sl vec_sr vec_sra
-
Paul C. Anagnostopoulos authored
Differential Revision: https://reviews.llvm.org/D101766
-
Anastasia Stulova authored
This patch simplifies the parser and makes the language semantics consistent. There is no extension pragma requirement in the spec for the subgroup functions in enqueue kernel or pipes and all other builtin functions are available without the pragama. Differential Revision: https://reviews.llvm.org/D100984
-
Jon Chesterfield authored
[amdgpu-arch] Fix rpath to run from build dir Prior to this, amdgpu-arch has RUNPATH set to $ORIGIN/../lib which works for some installs, but not from the build directory where clang executes the tool from when running tests. This cmake option adds the location of the rocr runtime to the RUNPATH (note, it amends RUNPATH here, despite the cmake option referring to RPATH) to create a binary that runs from build or install location. Before: RUNPATH [$ORIGIN/../lib] After: RUNPATH [$ORIGIN/../lib:$HOME/llvm-install/lib] Credit to Greg for knowing this trick and pointing to examples of it in use for the aomp build scripts. Reviewed By: pdhaliwal Differential Revision: https://reviews.llvm.org/D101926
-
Carl Ritson authored
Instruction test for inactive kill/demote needs to be based on actual opcode not whether instruction would be lowered to demote. Reviewed By: piotr Differential Revision: https://reviews.llvm.org/D101966
-
Malhar Jajoo authored
Reverting commit since it causes failure (10462). This reverts commit b856f4a2.
-
Benjamin Kramer authored
-
David Green authored
The loop vectorizer will currently assume a large trip count when calculating which of several vectorization factors are more profitable. That is often not a terrible assumption to make as small trip count loops will usually have been fully unrolled. There are cases however where we will try to vectorize them, and especially when folding the tail by masking can incorrectly choose to vectorize loops that are not beneficial, due to the folded tail rounding the iteration count up for the vectorized loop. The motivating example here has a trip count of 5, so either performs 5 scalar iterations or 2 vector iterations (with VF=4). At a high enough trip count the vectorization becomes profitable, but the rounding up to 2 vector iterations vs only 5 scalar makes it unprofitable. This adds an alternative cost calculation when we know the max trip count and are folding tail by masking, rounding the iteration count up to the correct number for the vector width. We still do not account for anything like setup cost or the mixture of vector and scalar loops, but this is at least an improvement in a few cases that we have had reported. Differential Revision: https://reviews.llvm.org/D101726
-
Ben Dunbobbin authored
This is a slight improvement to the help text, as I was slightly surprised when strip-all did more than remove the symbol table. Currently, we match gold's help text for strip-all and strip-debug. I think that the GNU documentation for these options is not particularly clear. However, I have opted to make only a minor change here and keep the help text similar to gold's as these are mature options that are well understood. ld.bfd (https://sourceware.org/binutils/docs/ld/Options.html) has a similar implication although it defines strip-debug as a subset of strip-all. However, felt that noting that strip-all implies strip-debug is better; because, with the ld.bfd approach you have to read both the --strip-debug and the --strip-all help text to understand the behaviour of --strip-all (and the --strip-all help text doesn't indicate that he --strip-debug help text is related). Differential Revision: https://reviews.llvm.org/D101890
-
Christian Sigg authored
Reviewed By: herhut Differential Revision: https://reviews.llvm.org/D101757
-