- Jul 15, 2021
-
-
Nathan Ridge authored
Differential Revision: https://reviews.llvm.org/D105457
-
Thomas Lively authored
Replace the experimental clang builtins and LLVM intrinsics for these instructions with normal codegen patterns. Resolves PR50435. Differential Revision: https://reviews.llvm.org/D106019
-
Jon Roelofs authored
The bug was that evaluateBitcastFromPtr attempts a narrowing to a struct's 0th element of a store that covers other elements. While this is okay on the load side, applying it to stores causes us to miss the writes to the additionally covered elements. rdar://79503568 Differential revision: https://reviews.llvm.org/D105838
-
Steven Wu authored
Follow up for D106012, turn on unittest for Host on Apple Silicon. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D106020
-
George Rokos authored
D105812 introduced a regression where if a PTR_AND_OBJ entry was mapped on the device, then the OBJ was deallocated and then reallocated at a different address, the Shadow Pointer Map would still contain an entry for the PTR but pointing to the old address. This caused test `env/base_ptr_ref_count.c` to fail. Differential Revision: https://reviews.llvm.org/D105947
-
owenca authored
This fixes PR50999. Differential Revision: https://reviews.llvm.org/D105964
-
Arthur Eubanks authored
-
Wolfgang Pieb authored
RELA relocations for 32 bit ARM ignored the addend. Some tools generate them instead of REL type relocations. This fixes PR50473. Reviewed By: MaskRay, peter.smith Differential Revision: https://reviews.llvm.org/D105214 -
Michael Kruse authored
The number of parameters can be the reason for aliasing checks not being generated, but most of the time it for other reasons.
-
Derek Schuff authored
Summary: Add support for the basic section stripping (and keeping) flags for wasm: strip with no flags, --strip-all, --strip-debug, --only-section, --keep-section, and --only-keep-debug. Factor section removal into a function and use a predicate chain like the ELF implementation. Reviewers: jhenderson, sbc100 Differential Revision: https://reviews.llvm.org/D73820
-
Arthur Eubanks authored
-
Arthur Eubanks authored
SplitBlock() can't handle catchswitch. Fixes PR50973. Reviewed By: aheejin Differential Revision: https://reviews.llvm.org/D105672
-
Jon Roelofs authored
Differential revision: https://reviews.llvm.org/D106007
-
Nicolas Vasilache authored
Differential Revision: https://reviews.llvm.org/D106014
-
Philip Reames authored
This is conceptually part of e75a2dfe. This file contains both tests whose results don't change (with the right attributes added), and tests which fundementally regress with the current proposal. Doing the update took some care, thus the seperate change. Here's the e75a2dfe context repeated: There's a potential change in dereferenceability attribute semantics in the nearish future. See llvm-dev thread "RFC: Decomposing deref(N) into deref(N) + nofree" and D99100 for context. This change simply adds appropriate attributes to tests to keep transform logic exercised under both old and new/proposed semantics. Note that for many of these cases, O3 would infer exactly these attributes on the test IR. This change handles the idiomatic pattern of a dereferenceable object being passed to a call which can not free that memory. There's a couple other tests which need more one-off attention, they'll be handled in another change.
-
Kirill Stoimenov authored
Summary This option can be used to reduce the size of the binary. The trade-off in this case would be the run-time performance. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D105726
-
Jonas Devlieghere authored
Make it possible to iterate over the TargetList. Differential revision: https://reviews.llvm.org/D105914
-
Jonas Devlieghere authored
Always destroy the process, regardless of its private state. This will call the virtual function DoDestroy under the hood, giving our derived class a chance to do the necessary tear down, including what to do when the private state is eStateExited. Differential revision: https://reviews.llvm.org/D106004
-
Steven Wu authored
Fix a bug that `computeHostNumPhysicalCores` is fallback to default unknown when building for Apple Silicon macs. rdar://80533675 Reviewed By: arphaman Differential Revision: https://reviews.llvm.org/D106012
-
Nicolas Vasilache authored
-
Philip Reames authored
With the current deref semantics, this is redundant - since we assume that anything which is dereferenceable (ever) can't be freed - but it becomes neccessary for the deref-at-point semantics. Testing wise, this is covered by test/CodeGen/X86/hoist-invariant-load.ll when -use-dereferenceable-at-point-semantics is active. I didn't bother duplicating the command line since a) it's an in-development mode, and b) the change is pretty obvious.
-
Martin Storsjö authored
This is the same thing that was clarified in D105906 for weak_ptr_ret. Differential Revision: https://reviews.llvm.org/D105965
-
Philip Reames authored
There's a potential change in dereferenceability attribute semantics in the nearish future. See llvm-dev thread "RFC: Decomposing deref(N) into deref(N) + nofree" and D99100 for context. This change simply adds appropriate attributes to tests to keep transform logic exercised under both old and new/proposed semantics. Note that for many of these cases, O3 would infer exactly these attributes on the test IR. This change handles the idiomatic pattern of a dereferenceable object being passed to a call which can not free that memory. There's a couple other tests which need more one-off attention, they'll be handled in another change.
-
Stanislav Mekhanoshin authored
Any def of EXEC prevents rematerialization of any VOP instruction because of the physreg use. Create a callback to check if the physreg use can be ingored to allow rematerialization. Differential Revision: https://reviews.llvm.org/D105836
-
Alexey Bataev authored
-
Fangrui Song authored
-
Simon Pilgrim authored
-
Geoffrey Martin-Noble authored
CMake would have no restrictions on this and the custom list is a pain to maintain. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D106003
-
Louis Dionne authored
This commit reverts 5099e015 and 77396bbc, which broke the build in various ways. I'm reverting until I can investigate, since that change appears to be way more subtle than it seemed.
-
Roman Lebedev authored
-
Nikita Popov authored
While it is nice to have separate methods in the public AttributeSet API, we can fetch the type from the internal AttributeSetNode using a generic API for all type attribute kinds.
-
Roman Lebedev authored
-
David Green authored
For i64 reductions we currently try and convert add(VMLALV(X, Y), B) to VMLALVA(B, X, Y), incorporating the addition into the VMLALVA. If we have an add of an existing VMLALVA, this patch pushes the add up above the VMLALVA so that it may potentially be simplified further, for example being folded into another VMLALV. Differential Revision: https://reviews.llvm.org/D105686
-
Vitaly Buka authored
Differential Revision: https://reviews.llvm.org/D105954
-
Mehdi Amini authored
It was an alias for a long time.
-
Nikita Popov authored
A couple of attributes had explicit checks for incompatibility with pointer types. However, this is already handled generically by the typeIncompatible() check. We can drop these after adding SwiftError to typeIncompatible(). However, the previous implementation of the check prints out all attributes that are incompatible with a given type, even though those attributes aren't actually used. This has the annoying result that the error message changes every time a new attribute is added to the list. Improve this by explicitly finding which attribute isn't compatible and printing just that.
-
Saleem Abdulrasool authored
The emission was corrected for the swift_async calling convention but the demangling support was not. This repairs the demangling support as well.
-
Eli Friedman authored
This is mostly a minor convenience, but the pattern seems frequent enough to be worthwhile (and we'll probably add more uses in the future). Differential Revision: https://reviews.llvm.org/D105850
-
Thomas Lively authored
Replace the experimental clang builtin and LLVM intrinsics for these instructions with normal codegen patterns. Resolves PR50433. Differential Revision: https://reviews.llvm.org/D105950
-
Louis Dionne authored
-