- Mar 11, 2020
-
-
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
-
Louis Dionne authored
Due to Clang bug http://llvm.org/PR45151, deprecated attributes are not picked up on partial specializations. This patch instead applies it to the first declaration of std::function itself.
-
Richard Smith authored
a dependent context. This matches the GCC behavior. We track the enclosing template depth when determining whether a statement expression is within a dependent context; there doesn't appear to be any other reliable way to determine this. We previously assumed they were neither value- nor instantiation-dependent under any circumstances, which would lead to crashes and other misbehavior.
-
Matt Arsenault authored
This avoids regressions in a future patch. I'm confused by the use of the gfx9 usage legacy_mad. Was this a pointless instruction rename, or uses fmul_legacy handling? Why is regular mac avilable in that case?
-
Erik Pilkington authored
This allows the property name to deduplicate with the accessor method name. rdar://58927964
-
Saar Raz authored
We would assign the incorrect DeclContext when transforming the RequiresExprBodyDecl, causing incorrect handling of 'this' inside RequiresExprBodyDecls (bug #45162). Assign the current context as the DeclContext of the transformed decl.
-
Akira Hatanaka authored
Fix a bug in IRGen where it wasn't destructing compound literals in C that are ObjC pointer arrays or non-trivial structs. Also diagnose jumps that enter or exit the lifetime of the compound literals. rdar://problem/51867864 Differential Revision: https://reviews.llvm.org/D64464
-
Paula Toth authored
-
Bill Wendling authored
Summary: Outputs from an asm goto block cannot be used on the indirect branch. It's not supported and may result in invalid code generation. Reviewers: jyknight, nickdesaulniers, hfinkel Reviewed By: nickdesaulniers Subscribers: martong, cfe-commits, rnk, craig.topper, hiraditya, rsmith Tags: #clang Differential Revision: https://reviews.llvm.org/D71314
-
Nathan Ridge authored
[clangd] Have visibleNamespaces() and getEligiblePoints() take a LangOptions rather than a FormatStyle Summary: These functions only use the FormatStyle to obtain a LangOptions via format::getFormattingLangOpts(), and some callers can more easily obtain a LangOptions more directly. Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D75716
-
Nathan Ridge authored
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D75959
-
LLVM GN Syncbot authored
-
Paula Toth authored
Summary: Created a general check for restrict-system-includes under portability as recommend in the comments under D75332. I also fleshed out the user facing documentation to show examples for common use-cases such as allow-list, block-list, and wild carding. Removed fuchsia's check as per phosek sugguestion. Reviewers: aaron.ballman, phosek, alexfh, hokein, njames93 Reviewed By: phosek Subscribers: Eugene.Zelenko, mgorny, xazax.hun, phosek, cfe-commits, MaskRay Tags: #clang-tools-extra, #clang Differential Revision: https://reviews.llvm.org/D75786
-
Lei Zhang authored
-
Stephan Herhut 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
-
Saar Raz authored
isSameEntity was missing constraints checking, causing constrained overloads to not travel well accross serialization. (bug #45115) Add constraints checking to isSameEntity.
-
Saar Raz authored
FoundDecl was missing from ConceptSpecializationExpr serialization - add it.
-
Denis Khalikov authored
* Adds GpuLaunchFuncToVulkanLaunchFunc conversion pass. * Moves a serialization of the `spirv::Module` from LaunchFuncToVulkanCalls pass to newly created pass. * Updates LaunchFuncToVulkanCalls instrumentation pass, adds `initVulkan` and `deinitVulkan` runtime calls. * Adds `bindResource` call to bind specifc resource by the given descriptor set and descriptor binding. * Eliminates static construction and desctruction of `VulkanRuntimeManager`. Differential Revision: https://reviews.llvm.org/D75192
-
River Riddle authored
Summary: Interfaces/ is the designated directory for these types of interfaces, and also removes the need for including them directly in IR/. Differential Revision: https://reviews.llvm.org/D75886
-
River Riddle authored
The interfaces themselves aren't really analyses, they may be used by analyses though. Having them in Analysis can also create cyclic dependencies if an analysis depends on a specific dialect, that also provides one of the interfaces. Differential Revision: https://reviews.llvm.org/D75867
-
Jay Foad authored
Summary: As far as I can tell on gfx10 conversions to/from f32 (that are not converting f32 to/from f64) are full rate instructions, but they were marked as quarter rate instructions. I have fixed this for gfx10 only. I assume the scheduling model was correct for older architectures, though I don't have any documentation handy to confirm that. Reviewers: rampitec, arsenm Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D75392
-
Nicolas Vasilache authored
This revision takes advantage of the empty AffineMap to specify the 0-D edge case. This allows removing a bunch of annoying corner cases that ended up impacting users of Linalg. Differential Revision: https://reviews.llvm.org/D75831
-
Aaron Ballman authored
-