Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CGDecl::emitStoresForConstant fix synthesized constant's name | JF Bastien | 2018-11-15 | 1 | -2/+2 |
| | | | | | | | | | | | | Summary: The name of the synthesized constants for constant initialization was using mangling for statics, which isn't generally correct and (in a yet-uncommitted patch) causes the mangler to assert out because the static ends up trying to mangle function parameters and this makes no sense. Instead, mangle to `"__const." + FunctionName + "." + DeclName`. Reviewers: rjmccall Subscribers: dexonsmith, cfe-commits Differential Revision: https://reviews.llvm.org/D54055 llvm-svn: 346915 | ||||
* | [AMDGPU] Change constant addr space to 4 | Yaxun Liu | 2018-02-13 | 1 | -1/+1 |
| | | | | | | Differential Revision: https://reviews.llvm.org/D43171 llvm-svn: 325031 | ||||
* | Fix crash on array initializer with non-0 alloca addrspace | Matt Arsenault | 2018-02-08 | 1 | -3/+27 |
| | | | | llvm-svn: 324641 | ||||
* | Change memcpy/memove/memset to have dest and source alignment attributes ↵ | Daniel Neilson | 2018-01-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (Step 1). Summary: Upstream LLVM is changing the the prototypes of the @llvm.memcpy/memmove/memset intrinsics. This change updates the Clang tests for this change. The @llvm.memcpy/memmove/memset intrinsics currently have an explicit argument which is required to be a constant integer. It represents the alignment of the dest (and source), and so must be the minimum of the actual alignment of the two. This change removes the alignment argument in favour of placing the alignment attribute on the source and destination pointers of the memory intrinsic call. For example, code which used to read: call void @llvm.memcpy.p0i8.p0i8.i32(i8* %dest, i8* %src, i32 100, i32 4, i1 false) will now read call void @llvm.memcpy.p0i8.p0i8.i32(i8* align 4 %dest, i8* align 4 %src, i32 100, i1 false) At this time the source and destination alignments must be the same (Step 1). Step 2 of the change, to be landed shortly, will relax that contraint and allow the source and destination to have different alignments. llvm-svn: 322964 | ||||
* | [OpenCL] Setting constant address space for array initializers | Alexey Bader | 2016-10-31 | 1 | -0/+9 |
Summary: Setting constant address space for global constants used for memcpy-initialization of arrays. Patch by Alexey Sotkin. Reviewers: bader, yaxunl, Anastasia Subscribers: cfe-commits, AlexeySotkin Differential Revision: https://reviews.llvm.org/D25305 llvm-svn: 285557 |