- Mar 11, 2020
-
-
Christian Sigg authored
Reviewers: herhut, mravishankar Reviewed By: herhut Subscribers: merge_guards_bot, jholewinski, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, Joonsoo, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73794
-
Christian Sigg authored
Summary: Follow-up from D72589. Reviewers: dblaikie Reviewed By: dblaikie Subscribers: merge_guards_bot, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73609
-
Hubert Tong authored
Speculative fix for buildbot breakage: http://lab.llvm.org:8011/builders/clang-ppc64le-rhel/builds/1899/steps/ninja%20check%201/logs/stdio D75742 introduces checks that cause bots to complain about comparing values where the integer types mismatch on signedness. This patch makes the expected value unsigned in various cases (since the value being tested is unsigned).
-
Artem Dergachev authored
error: default initialization of an object of const type 'const clang::QualType' without a user-provided default constructor Irrelevant; // A placeholder, whenever we do not care about the type. ^ {} -
Joachim Protze authored
This patch will allow dynamic libraries to call into the fiber support functions introduced in https://reviews.llvm.org/D54889 Differential Revision: https://reviews.llvm.org/D74487
-
Alexey Bataev authored
Summary: Explicitly initialize data members of RTLsTy class upon construction. Reviewers: grokos Subscribers: guansong, openmp-commits, caomhin, kkwli0 Tags: #openmp Differential Revision: https://reviews.llvm.org/D75946
-
Valentin Clement authored
Summary: This patch add some builtin operation for the gpu.all_reduce ops. - for Integer only: `and`, `or`, `xor` - for Float and Integer: `min`, `max` This is useful for higher level dialect like OpenACC or OpenMP that can lower to the GPU dialect. Differential Revision: https://reviews.llvm.org/D75766
-
Stephan Herhut authored
Attribution to original author got lost.
-
Jonathan Coe authored
Summary: Allow `?` inside C# generics. Do not mistake casts like `(Type?)` as conditional operators. Reviewers: krasimir Subscribers: cfe-commits, MyDeveloperDay Tags: #clang-format, #clang Differential Revision: https://reviews.llvm.org/D75983
-
Jonathan Coe authored
Reviewers: krasimir Reviewed By: krasimir Subscribers: cfe-commits, MyDeveloperDay Tags: #clang-format, #clang Differential Revision: https://reviews.llvm.org/D75984
-
Sam Parker authored
Precommit test for LowOverheadLoops.
-
Sam Parker authored
Move some logic around in LowOverheadLoop::ValidateLiveOut
-
Simon Pilgrim authored
For i32 and i64 cases, X86ISD::SHLD/SHRD are close enough to ISD::FSHL/FSHR that we can use them directly, we just need to account for the operand commutation for SHRD. The i16 SHLD/SHRD case is annoying as the shift amount is modulo-32 (vs funnel shift modulo-16), so I've added X86ISD::FSHL/FSHR equivalents, which matches the generic implementation in all other terms. Something I'm slightly concerned with is that ISD::FSHL/FSHR legality is controlled by the Subtarget.isSHLDSlow() feature flag - we don't normally use non-ISA features for this but it allows the DAG combines to continue to operate after legalization in a lot more cases. The X86 *bits.ll changes are all affected by the same issue - we now have a "FSHR(-1,-1,amt) -> ROTR(-1,amt) -> (-1)" simplification that reduces the dependencies enough for the branch fall through code to mess up. Differential Revision: https://reviews.llvm.org/D75748
-
Peter Smith authored
LLD implements Linker Scripts as they are described in the GNU ld manual. This description is far from a specification, with the only true reference the GNU ld implementation, which has undocumented behaviour that can vary from release to release. To make it easy for people to switch between linkers we try to follow GNU ld implementation details wherever possible. We reserve the right to make our own decisions where the undocumented GNU ld behaviour is not appropriate for LLD. We don't have a place to document these decisions and it can be difficult for users to find out this information. This file is a statement of the LLD implementation policy and will contain intentional deviations from GNU ld. The first patch that will add concrete details to this file is D75724 Differential Revision: https://reviews.llvm.org/D75921
-
LLVM GN Syncbot authored
-
James Henderson authored
The archive library truncated the size of archive members whose size was greater than max uint32_t. This patch fixes the issue and adds some unit tests to verify. Reviewed by: ruiu, MaskRay, grimar, rupprecht Differential Revision: https://reviews.llvm.org/D75742
-
Anna Welker authored
Refines the gather/scatter cost model, but also changes the TTI function getIntrinsicInstrCost to accept an additional parameter which is needed for the gather/scatter cost evaluation. This did require trivial changes in some non-ARM backends to adopt the new parameter. Extending gathers and truncating scatters are now priced cheaper. Differential Revision: https://reviews.llvm.org/D75525
-
Victor Campos authored
Summary: Instead of generating two i32 instructions for each load or store of a volatile i64 value (two LDRs or STRs), now emit LDRD/STRD. These improvements cover architectures implementing ARMv5TE or Thumb-2. The code generation explicitly deviates from using the register-offset variant of LDRD/STRD. In this variant, the register allocated to the register-offset cannot be reused in any of the remaining operands. Such restriction seems to be non-trivial to implement in LLVM, thus it is left as a to-do. Reviewers: dmgreen, efriedma, john.brawn, nickdesaulniers Reviewed By: efriedma, nickdesaulniers Subscribers: danielkiss, alanphipps, hans, nathanchance, nickdesaulniers, vvereschaka, kristof.beyls, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70072
-
QingShan Zhang authored
-
Sebastian Neubauer authored
This is a preparation for introducing a llvm.amdgcn.ballot intrinsic in D65088.
-
QingShan Zhang authored
-
Jonas Devlieghere authored
Check that the multi loader isn't null and print an error otherwise. This patch also extends the test to cover these error paths.
-
Akira Hatanaka authored
to __builtin_os_log_format if ARC isn't enabled Fixes a bug introduced in this commit: https://github.com/llvm/llvm-project/commit/f4d791f8332c2bb7e89849d0fe4ef48cb0a23229 rdar://problem/60301219
-
Serge Pavlov authored
Behavior of IEEEFloat::roundToIntegral is aligned with IEEE-754 operation roundToIntegralExact. In partucular this function now: - returns opInvalid for signaling NaNs, - returns opInexact if the result of rounding differs from argument. Differential Revision: https://reviews.llvm.org/D75246
-
Matt Arsenault authored
If the loaded memory size was smaller than the result size, this would produce out of bounds memory accesses. I'm wondering if we need a distinct narrow memory legalize action type, since a case I care about is decomposing a 4-byte unaligned access into 4 extending loads, which would leave the original result register type. I'm currently awkwardly using narrowScalar to handle unaligned accesses that need to be split.
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Leonard Chan authored
We were seeing non-deterministic binary size differences depending on which toolchain was used to build fuchsia. This is because libunwind embeded the FILE path into a logging macro, even for release builds, which makes the code dependent on the build directory. This removes the file and line number from the error message. This is consistent with how other runtimes report error, e.g. https://github.com/llvm/llvm-project/blob/master/libcxxabi/src/abort_message.cpp#L30. Differential Revision: https://reviews.llvm.org/D75890
-
Hubert Tong authored
Speculative fix for buildbot failure in http://lab.llvm.org:8011/builders/clang-ppc64le-rhel/builds/1881/steps/build%20stage%201/logs/stdio Cause appears to be D75716.
-
Paula Toth authored
[clang-tidy] Use more widely available headers for protability-restrict-system-includes-check's test
-
Richard Smith authored
being deleted on its second or subsequent declaration.
-
Carl Ritson authored
Summary: In the same manner as struct.buffer.load / struct.buffer.store, allow struct.buffer.load.format / struct.buffer.store.format to return / accept any type. This simplifies front-end code gen. Reviewers: tpr, arsenm, nhaehnle Reviewed By: arsenm Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, t-tye, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D75789
-
Lang Hames authored
Summary: Enables JIT-linking by RuntimeDyld of COFF objects that contain references to dllimport symbols. This is done by recognizing symbols that start with the reserved "__imp_" prefix and building a pointer entry to the target symbol in the stubs area of the section. References to the "__imp_" symbol are updated to point to this pointer. Work in progress: The generic code is in place, but only RuntimeDyldCOFFX86_64 and RuntimeDyldCOFFI386 have been updated to look for and update references to dllimport symbols. Reviewers: compnerd Subscribers: hiraditya, ributzka, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D75884
-
Lang Hames authored
This patch allows rtdyld-check / jitlink-check expressions to be extended over multiple lines by terminating each line with a '\'. E.g. # llvm-rtdyld: *{8}X = \ # llvm-rtdyld: Y X: .quad Y This will be used to break up some long lines in upcoming test cases. -
Matt Arsenault authored
Scalarize most truncates. Avoid touching cases that could end up in unresolvable infinite loops.
-
Bill Wendling authored
-
Matt Arsenault authored
Extend fewerElementsVectorBasic to handle operands with different element types.
-
Louis Dionne authored
This reverts commit fde9d33f, which was not properly reviewed by a libc++ or libc++abi code owner.
-
Hanhan Wang authored
Summary: 1-bit integer is tricky in different dialects sometimes. E.g., there is no arithmetic instructions on 1-bit integer in SPIR-V, i.e., `spv.IMul %0, %1 : i1` is not valid. Instead, `spv.LogicalAnd %0, %1 : i1` is valid. Creating the op directly makes lowering easier because we don't need to match a complicated pattern like `!(!lhs && !rhs)`. Also, this matches the semantic better. Also add assertions on inputs. Differential Revision: https://reviews.llvm.org/D75764
-
Ryan Prichard authored
Summary: The return type of __cxa_finalize is documented as void in the Itanium C++ ABI, and it is void in various C libraries. Reviewers: EricWF, ldionne, compnerd, mclow.lists, MaskRay Reviewed By: MaskRay Subscribers: MaskRay, dexonsmith, ldionne, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D75795
-