| #
c9220039 |
| 30-Jul-2017 |
NAKAMURA Takumi <[email protected]> |
CodeGenModule.cpp: [PR33810][Modules] Make sure actual memory corruption before random crash with -fmodules.
llvm-svn: 309499
|
|
Revision tags: llvmorg-5.0.0-rc1 |
|
| #
1a116db1 |
| 20-Jul-2017 |
Simon Atanasyan <[email protected]> |
[CodeGen][mips] Support `long_call/far/near` attributes
This patch adds support for the `long_call`, `far`, and `near` attributes for MIPS targets. The `long_call` and `far` attributes are synonyms.
[CodeGen][mips] Support `long_call/far/near` attributes
This patch adds support for the `long_call`, `far`, and `near` attributes for MIPS targets. The `long_call` and `far` attributes are synonyms. All these attributes override `-mlong-calls` / `-mno-long-calls` command line options for particular function.
Differential revision: https://reviews.llvm.org/D35479
llvm-svn: 308667
show more ...
|
| #
b0d4423b |
| 18-Jul-2017 |
Erich Keane <[email protected]> |
Convert attribute 'target' parsing from a 'pair' to a 'struct' to make further improvements easier
Convert attribute 'target' parsing from a 'pair' to a 'struct' to make further improvements easie
Convert attribute 'target' parsing from a 'pair' to a 'struct' to make further improvements easier
Convert attribute 'target' parsing from a 'pair' to a 'struct' to make further improvements easier
The attribute 'target' parse function previously returned a pair. Convert this to a 'pair' in order to add more functionality, and improve usability.
Differential Revision: https://reviews.llvm.org/D35574
llvm-svn: 308357
show more ...
|
| #
7bce6424 |
| 08-Jul-2017 |
Yaxun Liu <[email protected]> |
Fix build failure with gcc about mixing enum and non-enum
llvm-svn: 307483
|
| #
6fbfdec5 |
| 08-Jul-2017 |
Benjamin Kramer <[email protected]> |
[CodeGen] Fold variable into assert.
Avoids warnings in Release builds.
llvm-svn: 307472
|
| #
cbf647cc |
| 08-Jul-2017 |
Yaxun Liu <[email protected]> |
CodeGen: Fix address space of global variable
Certain targets (e.g. amdgcn) require global variable to stay in global or constant address space. In C or C++ global variables are emitted in the defau
CodeGen: Fix address space of global variable
Certain targets (e.g. amdgcn) require global variable to stay in global or constant address space. In C or C++ global variables are emitted in the default (generic) address space. This patch introduces virtual functions TargetCodeGenInfo::getGlobalVarAddressSpace and TargetInfo::getConstantAddressSpace to handle this in a general approach.
It only affects IR generated for amdgcn target.
Differential Revision: https://reviews.llvm.org/D33842
llvm-svn: 307470
show more ...
|
| #
1283e986 |
| 07-Jul-2017 |
Richard Smith <[email protected]> |
[modules ts] Basic for module linkage.
In addition to the formal linkage rules, the Modules TS includes cases where internal-linkage symbols within a module interface unit can be referenced from out
[modules ts] Basic for module linkage.
In addition to the formal linkage rules, the Modules TS includes cases where internal-linkage symbols within a module interface unit can be referenced from outside the module via exported inline functions / templates. We give such declarations "module-internal linkage", which is formally internal linkage, but results in an externally-visible symbol.
llvm-svn: 307434
show more ...
|
| #
98ee7857 |
| 06-Jul-2017 |
Sjoerd Meijer <[email protected]> |
This reverts r305820 (ARMv.2-A FP16 vector intrinsics) because it shows problems in testing, see comments in D34161 for some more details. A fix is in progres in D35011, but a revert seems better now
This reverts r305820 (ARMv.2-A FP16 vector intrinsics) because it shows problems in testing, see comments in D34161 for some more details. A fix is in progres in D35011, but a revert seems better now as the fix will probably take some more time to land.
llvm-svn: 307277
show more ...
|
| #
f10ca93f |
| 20-Jun-2017 |
Abderrazek Zaafrani <[email protected]> |
[AArch64] ADD ARMv.2-A FP16 vector intrinsics
Differential Revision: https://reviews.llvm.org/D34161
llvm-svn: 305820
|
| #
364a1165 |
| 20-Jun-2017 |
Alexey Bader <[email protected]> |
[OpenCL] Fix OpenCL and SPIR version metadata generation.
Summary: OpenCL and SPIR version metadata must be generated once per module instead of once per mangled global value.
Reviewers: Anastasia,
[OpenCL] Fix OpenCL and SPIR version metadata generation.
Summary: OpenCL and SPIR version metadata must be generated once per module instead of once per mangled global value.
Reviewers: Anastasia, yaxunl
Reviewed By: Anastasia
Subscribers: ahatanak, cfe-commits
Differential Revision: https://reviews.llvm.org/D34235
llvm-svn: 305796
show more ...
|
|
Revision tags: llvmorg-4.0.1, llvmorg-4.0.1-rc3 |
|
| #
89061b22 |
| 12-Jun-2017 |
Peter Collingbourne <[email protected]> |
IR: Replace the "Linker Options" module flag with "llvm.linker.options" named metadata.
The new metadata is easier to manipulate than module flags.
Differential Revision: https://reviews.llvm.org/D
IR: Replace the "Linker Options" module flag with "llvm.linker.options" named metadata.
The new metadata is easier to manipulate than module flags.
Differential Revision: https://reviews.llvm.org/D31349
llvm-svn: 305227
show more ...
|
| #
2a67c9ee |
| 05-Jun-2017 |
Javed Absar <[email protected]> |
Add support for #pragma clang section
This patch provides a means to specify section-names for global variables, functions and static variables, using #pragma directives. This feature is only defi
Add support for #pragma clang section
This patch provides a means to specify section-names for global variables, functions and static variables, using #pragma directives. This feature is only defined to work sensibly for ELF targets. One can specify section names as: #pragma clang section bss="myBSS" data="myData" rodata="myRodata" text="myText" One can "unspecify" a section name with empty string e.g. #pragma clang section bss="" data="" text="" rodata=""
Reviewers: Roger Ferrer, Jonathan Roelofs, Reid Kleckner Differential Revision: https://reviews.llvm.org/D33412
llvm-svn: 304705
show more ...
|
| #
0872d6c2 |
| 03-Jun-2017 |
Galina Kistanova <[email protected]> |
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304649
|
| #
a44a6ac8 |
| 02-Jun-2017 |
Vedant Kumar <[email protected]> |
Revert "[AArch64] Add ARMv8.2-A FP16 vefctor intrinsics"
This reverts commit r304493. It breaks all the Darwin bots: http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental_check/37168
Revert "[AArch64] Add ARMv8.2-A FP16 vefctor intrinsics"
This reverts commit r304493. It breaks all the Darwin bots: http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental_check/37168
Failure: Failing Tests (2): Clang :: CodeGen/aarch64-v8.2a-neon-intrinsics.c Clang :: CodeGen/arm_neon_intrinsics.c
llvm-svn: 304509
show more ...
|
| #
a44e5f60 |
| 01-Jun-2017 |
Abderrazek Zaafrani <[email protected]> |
[AArch64] Add ARMv8.2-A FP16 vefctor intrinsics
llvm-svn: 304493
|
| #
05547749 |
| 01-Jun-2017 |
Piotr Padlewski <[email protected]> |
Fixed warnings
llvm-svn: 304397
|
| #
d3b1cbd1 |
| 01-Jun-2017 |
Piotr Padlewski <[email protected]> |
Emit available_externally vtables opportunistically
Summary: We can emit vtable definition having inline function if they are all emitted.
Reviewers: rjmccall, rsmith
Subscribers: cfe-commits
Dif
Emit available_externally vtables opportunistically
Summary: We can emit vtable definition having inline function if they are all emitted.
Reviewers: rjmccall, rsmith
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D33437
llvm-svn: 304394
show more ...
|
| #
5e458adf |
| 31-May-2017 |
Davide Italiano <[email protected]> |
[CodeGen] Surround assertion with parens and format.
This should placate GCC7 with -Werror.
llvm-svn: 304322
|
|
Revision tags: llvmorg-4.0.1-rc2 |
|
| #
6aa9e9b4 |
| 29-May-2017 |
Mehdi Amini <[email protected]> |
IRGen: Add optnone attribute on function during O0
Amongst other, this will help LTO to correctly handle/honor files compiled with O0, helping debugging failures. It also seems in line with how we h
IRGen: Add optnone attribute on function during O0
Amongst other, this will help LTO to correctly handle/honor files compiled with O0, helping debugging failures. It also seems in line with how we handle other options, like how -fnoinline adds the appropriate attribute as well.
Differential Revision: https://reviews.llvm.org/D28404
llvm-svn: 304127
show more ...
|
| #
29d0f003 |
| 27-May-2017 |
George Rokos <[email protected]> |
[OpenMP] Create COMDAT group for OpenMP offload registration code to avoid multiple copies
Thanks to Sergey Dmitriev for submitting the patch.
Differential Revision: https://reviews.llvm.org/D33509
[OpenMP] Create COMDAT group for OpenMP offload registration code to avoid multiple copies
Thanks to Sergey Dmitriev for submitting the patch.
Differential Revision: https://reviews.llvm.org/D33509
llvm-svn: 304056
show more ...
|
| #
170429e2 |
| 24-May-2017 |
Dean Michael Berris <[email protected]> |
[XRay][clang] Allow imbuing arg1 logging attribute via -fxray-always-instrument=
Summary: This change allows us to add arg1 logging support to functions through the special case list provided throug
[XRay][clang] Allow imbuing arg1 logging attribute via -fxray-always-instrument=
Summary: This change allows us to add arg1 logging support to functions through the special case list provided through -fxray-always-instrument=. This is useful for adding arg1 logging to functions that are either in headers that users don't have control over (i.e. cannot change the source) or would rather not do.
It only takes effect when the pattern is matched through the "fun:" special case, as a category. As in:
fun:*pattern=arg1
Reviewers: pelikan, rnk
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D33392
llvm-svn: 303719
show more ...
|
| #
a4519532 |
| 20-May-2017 |
Matthias Braun <[email protected]> |
CodeGenModule: Always output wchar_size, check LLVM assumptions.
Re-commit r303463 now that LLVM is fixed and adjust some lit tests.
llvm::TargetLibraryInfo needs to know the size of wchar_t to wor
CodeGenModule: Always output wchar_size, check LLVM assumptions.
Re-commit r303463 now that LLVM is fixed and adjust some lit tests.
llvm::TargetLibraryInfo needs to know the size of wchar_t to work on functions like `wcslen`. This patch changes clang to always emit the wchar_size module flag (it would only do so for ARM previously). This also adds an `assert()` to ensure the LLVM defaults based on the target triple are in sync with clang.
Differential Revision: https://reviews.llvm.org/D32982
llvm-svn: 303478
show more ...
|
| #
421b63dd |
| 20-May-2017 |
Matthias Braun <[email protected]> |
Revert "CodeGenModule: Always output wchar_size, check LLVM assumptions."
Let's revert this for now (and with it the assert()) to get the bots back to green until I have LLVM synced up properly.
Th
Revert "CodeGenModule: Always output wchar_size, check LLVM assumptions."
Let's revert this for now (and with it the assert()) to get the bots back to green until I have LLVM synced up properly.
This reverts commit r303463.
llvm-svn: 303474
show more ...
|
| #
bf4a869d |
| 19-May-2017 |
Matthias Braun <[email protected]> |
CodeGenModule: Always output wchar_size, check LLVM assumptions.
llvm::TargetLibraryInfo needs to know the size of wchar_t to work on functions like `wcslen`. This patch changes clang to always emit
CodeGenModule: Always output wchar_size, check LLVM assumptions.
llvm::TargetLibraryInfo needs to know the size of wchar_t to work on functions like `wcslen`. This patch changes clang to always emit the wchar_size module flag (it would only do so for ARM previously). This also adds an `assert()` to ensure the LLVM defaults based on the target triple are in sync with clang.
Differential Revision: https://reviews.llvm.org/D32982
llvm-svn: 303463
show more ...
|
| #
6d96f163 |
| 18-May-2017 |
Yaxun Liu <[email protected]> |
CodeGen: Cast alloca to expected address space
Alloca always returns a pointer in alloca address space, which may be different from the type defined by the language. For example, in C++ the auto var
CodeGen: Cast alloca to expected address space
Alloca always returns a pointer in alloca address space, which may be different from the type defined by the language. For example, in C++ the auto variables are in the default address space. Therefore cast alloca to the expected address space when necessary.
Differential Revision: https://reviews.llvm.org/D32248
llvm-svn: 303370
show more ...
|